Skip to content

Minimal changes to compile under the VM without (most?) X11 calls

Luciana requested to merge LuciCodes/eekboard:minX11rm into master

Packages required to compile inside the QEMU VM:

sudo apt-get install libcroco3-dev
sudo apt-get install libxklavier-dev
sudo apt-get install gtk-doc-tools
sudo apt-get install gawk
sudo apt-get install gnome-common
sudo apt-get install gobject-introspection

copy the schema by hand, then recompile:

cp /mnt/host-dir/data/org.fedorahosted.eekboard.gschema.xml /usr/share/glib-2.0/schemas/
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/

create these directories by hand inside the VM:

mkdir /usr/share/eekboard/keyboards
mkdir /usr/share/eekboard/keyboards/geometry
mkdir /usr/share/eekboard/keyboards/symbols
mkdir /usr/share/eekboard/themes

then copy these files:

cp /mnt/host-dir/data/keyboards/keyboards.xml /usr/share/eekboard/keyboards
cp /mnt/host-dir/data/keyboards/geometry/compact.xml /usr/share/eekboard/keyboards/geometry
cp /mnt/host-dir/data/keyboards/symbols/* /usr/share/eekboard/keyboards/symbols
cp /mnt/host-dir/data/themes/default.css /usr/share/eekboard/themes

after all that, inside the shared folder that has the eekboard source code, this should work:

./autogen.sh --prefix=/home/eekboard
make
sudo make install

then go to /home/eekboard/bin, run eekboard-server

and in another terminal window, run eekboard

Merge request reports