forked from chewing/ibus-chewing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
35 lines (23 loc) · 798 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Installation Instructions
*************************
0. Required:
cmake >= 3.21.0
ibus >= 1.3
glib >= 2
gob >= 2.0.16
gtk >= 3
libchewing >= 0.5.1
1. Remove the old build cache:
If you have previous ibus-chewing, or change between ibus 1.1 and ibus 1.2,
You may need to remove CMakeCache.txt
2. Extract source and enter the extracted directory, then:
cmake -B build . --install-prefix /usr
cmake --build build
3. Install and register schemas:
sudo cmake --build build -t install
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
4. Use iBus UI or run ibus-setup to add ibus-chewing.
5. Restart iBus and Enjoy!
ibus restart
To see other available build targets, use
cmake --build build -t help