Giter Club home page Giter Club logo

fcitx5-bamboo's Introduction

Bamboo (Vietnamese Input Method) engine support for Fcitx

Based on https://github.com/BambooEngine/bamboo-core

Released under LGPLv2.1+

Requires:
Fcitx 5, go.

Install:
$ mkdir build && cd build
$ cmake -DCMAKE_INSTALL_PREFIX=[prefix to fcitx5] ..
$ make
# make install

fcitx5-bamboo's People

Contributors

wengxt avatar

Stargazers

Luu Manh Hung(リュー) avatar The Little Waltz avatar Le Dang Nhat Tien avatar Aoi avatar RyuuyaS avatar Kevin Nitro avatar stdpi avatar 0x00646f616e6e63 avatar Binh Tran avatar Cuong Ha avatar hydrogen avatar  avatar Danh Manh Nguyen avatar Đỗ Sinh avatar  avatar Luz The Dev avatar  avatar Stanislav Vasilev avatar  avatar  avatar  avatar  avatar Khiem Doan avatar Lâm avatar Huy Minh avatar

Watchers

Sutra Zhou avatar  avatar Yichao Yu avatar James Cloos avatar Lâm avatar  avatar Huy Minh avatar  avatar

fcitx5-bamboo's Issues

Latest commit broken to compile

Is there something new that I need to install to make it compile ? I pulled latest commits today and this is the result

In file included from /home/hmtheboy154/fcitx5-bamboo/src/bamboo.h:11,
                 from /home/hmtheboy154/fcitx5-bamboo/src/bamboo.cpp:8:
/home/hmtheboy154/fcitx5-bamboo/src/bambooconfig.h: In member function 'void fcitx::InputMethodAnnotation::dumpDescription(fcitx::RawConfig&) const':
/home/hmtheboy154/fcitx5-bamboo/src/bambooconfig.h:42:17: error: 'stringutils' has not been declared
   42 |                 stringutils::concat("fcitx://config/addon/bamboo/macro/",
      |                 ^~~~~~~~~~~
make[2]: *** [src/CMakeFiles/bamboo.dir/build.make:76: src/CMakeFiles/bamboo.dir/bamboo.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:319: src/CMakeFiles/bamboo.dir/all] Error 2

Em khong build duoc!!!

  • Em da tai Fcitx bang apt, va go bang snap, sau do clone repo nay, roi chay cac command theo huong dan gom:
  1. $ mkdir build && cd build
  2. $ cmake -DCMAKE_INSTALL_PREFIX=[prefix to fcitx5] ..
  • roi em nhan duoc loi nay:

image

Some issue with custom keymap and macro

  1. Macro:
    a. "Macro editor" should display in Gui config (1), current is empty.
    Screenshot_20221207_105646
    b. Captial character declare not work (Ibus-bamboo ok)
    Ex: VN:Việt Nam
  2. Custom Keymap should have example, new people don't have how to declare it, in ibus-bamboo, it open ibus-bamboo.config.json file have some example, help user can create their own method.

ibus-bamboo.config.json

{
"InputMethod": "Telex",
"InputMethodDefinitions": {
"Microsoft layout": {
"!": "_Ă",
"#": "_Ê",
"$": "_Ô",
")": "_Đ",
"0": "__đ",
"1": "__ă",
"2": "__â",
"3": "__ê",
"4": "__ô",
"5": "DauHuyen",
"6": "DauHoi",
"7": "DauNga",
"8": "DauSac",
"9": "DauNang",
"@": "_Â",
"[": "__ư",
"]": "__ơ",
"{": "_Ư",
"}": "Ơ"
},
"Telex": {
"a": "A_Â",
"d": "D_Đ",
"e": "E_Ê",
"f": "DauHuyen",
"j": "DauNang",
"o": "O_Ô",
"r": "DauHoi",
"s": "DauSac",
"w": "UOA_ƯƠĂ",
"x": "DauNga",
"z": "XoaDauThanh"
},
"Telex + VNI": {
"0": "XoaDauThanh",
"1": "DauSac",
"2": "DauHuyen",
"3": "DauHoi",
"4": "DauNga",
"5": "DauNang",
"6": "AEO_ÂÊÔ",
"7": "UO_ƯƠ",
"8": "A_Ă",
"9": "D_Đ",
"a": "A_Â",
"d": "D_Đ",
"e": "E_Ê",
"f": "DauHuyen",
"j": "DauNang",
"o": "O_Ô",
"r": "DauHoi",
"s": "DauSac",
"w": "UOA_ƯƠĂ",
"x": "DauNga",
"z": "XoaDauThanh"
},
"Telex + VNI + VIQR": {
"'": "DauSac",
"(": "A_Ă",
"*": "UO_ƯƠ",
"+": "UO_ƯƠ",
".": "DauNang",
"0": "XoaDauThanh",
"1": "DauSac",
"2": "DauHuyen",
"3": "DauHoi",
"4": "DauNga",
"5": "DauNang",
"6": "AEO_ÂÊÔ",
"7": "UO_ƯƠ",
"8": "A_Ă",
"9": "D_Đ",
"?": "DauHoi",
"\": "D_Đ",
"^": "AEO_ÂÊÔ",
"": "DauHuyen", "a": "A_Â", "d": "D_Đ", "e": "E_Ê", "f": "DauHuyen", "j": "DauNang", "o": "O_Ô", "r": "DauHoi", "s": "DauSac", "w": "UOA_ƯƠĂ", "x": "DauNga", "z": "XoaDauThanh", "~": "DauNga" }, "Telex 2": { "[": "__ơ", "]": "__ư", "a": "A_Â", "d": "D_Đ", "e": "E_Ê", "f": "DauHuyen", "j": "DauNang", "o": "O_Ô", "r": "DauHoi", "s": "DauSac", "w": "UOA_ƯƠĂ__Ư", "x": "DauNga", "z": "XoaDauThanh", "{": "_Ơ", "}": "_Ư" }, "Telex W": { "a": "A_Â", "d": "D_Đ", "e": "E_Ê", "f": "DauHuyen", "j": "DauNang", "o": "O_Ô", "r": "DauHoi", "s": "DauSac", "w": "UOA_ƯƠĂ__Ư", "x": "DauNga", "z": "XoaDauThanh" }, "VIQR": { "'": "DauSac", "(": "A_Ă", "*": "UO_ƯƠ", "+": "UO_ƯƠ", ".": "DauNang", "0": "XoaDauThanh", "?": "DauHoi", "^": "AEO_ÂÊÔ", "": "DauHuyen",
"d": "D_Đ",
"~": "DauNga"
},
"VNI": {
"0": "XoaDauThanh",
"1": "DauSac",
"2": "DauHuyen",
"3": "DauHoi",
"4": "DauNga",
"5": "DauNang",
"6": "AEO_ÂÊÔ",
"7": "UO_ƯƠ",
"8": "A_Ă",
"9": "D_Đ"
},
"VNI Bàn phím tiếng Pháp": {
""": "DauHuyen",
"\u0026": "XoaDauThanh",
"'": "DauHoi",
"(": "DauNga",
"-": "DauNang",
"
": "UO_ƯƠ",
"à": "D_Đ",
"ç": "A_Ă",
"è": "AEO_ÂÊÔ",
"é": "DauSac"
}
},
"OutputCharset": "Unicode",
"Flags": 7,
"IBflags": 295410,
"Shortcuts": [
1,
126,
0,
0,
0,
0,
0,
0,
5,
117
],
"DefaultInputMode": 2,
"InputModeMapping": {
"kate:kate": 1
}
}

Build failed

fcitx5/fcitx5-bamboo/build  main ✗                

▶ make
[ 12%] Built target org.fcitx.Fcitx5.Addon.Bamboo.metainfo.xml.in-fmt
[ 37%] Built target fcitx5-unikey-translation
[ 50%] Generating bamboo-core.a, bamboo-core.h
bamboo-c.go:26:2: "/home/trmdi/tmp/fcitx5/fcitx5-bamboo/bamboo/bamboo-core" is not a package path; see 'go help packages'
fcitxbambooengine.go:11:2: package bamboo-core is not in GOROOT (/usr/lib64/go/1.18/src/bamboo-core)
make[2]: *** [bamboo/CMakeFiles/bamboo-core.dir/build.make:76: bamboo/bamboo-core.a] Error 1
make[1]: *** [CMakeFiles/Makefile2:293: bamboo/CMakeFiles/bamboo-core.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.