Giter Club home page Giter Club logo

fcitx5-bamboo's Issues

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

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

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
}
}

Cmake shows error after running make

`➜ git submodule update --init

Submodule 'bamboo/bamboo-core' (https://github.com/BambooEngine/bamboo-core) registered for path 'bamboo/bamboo-core'

Cloning into '/home/user/workspace/fcitx5-bamboo/bamboo/bamboo-core'...

Submodule path 'bamboo/bamboo-core': checked out 'f0ca534819fa84ee37df9277ff2449d82ed1ec3e'

fcitx5-bamboo on  main via △ v3.29.5

➜ mkdir -p build

fcitx5-bamboo on  main via △ v3.29.5

➜ cd build

fcitx5-bamboo/build on  main

➜ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr

-- The C compiler identification is GNU 11.4.0

-- The CXX compiler identification is GNU 11.4.0

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: /usr/bin/cc - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/c++ - skipped

-- Detecting CXX compile features

-- Detecting CXX compile features - done

CMake Error at CMakeLists.txt:11 (find_package):

By not providing "FindFcitx5Core.cmake" in CMAKE_MODULE_PATH this project

has asked CMake to find a package configuration file provided by

"Fcitx5Core", but CMake did not find one.

Could not find a package configuration file provided by "Fcitx5Core"

(requested version 5.0.22) with any of the following names:

Fcitx5CoreConfig.cmake

fcitx5core-config.cmake

Add the installation prefix of "Fcitx5Core" to CMAKE_PREFIX_PATH or set

"Fcitx5Core_DIR" to a directory containing one of the above files. If

"Fcitx5Core" provides a separate development package or SDK, be sure it has

been installed.

-- Configuring incomplete, errors occurred!`

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

Unable to switch layout

It seems like fcitx5-bamboo can't adapt the system keyboard layout and uses qwerty layout as default, no matter how I made changes to all kinds of settings. fcitx5-unikey is able to do that out-of-the-box.

KDE Plasma 6(Wayland)
Arch Linux
Fcitx5 with KDE input method frontend

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.