build, readme: Update build and run instructions
This commit is contained in:
@ -5,7 +5,7 @@ stages:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get -y update
|
- apt-get -y update
|
||||||
- apt-get -y install gnome-common gtk-doc-tools libglib2.0-dev-bin gobject-introspection libglib2.0-dev libpango1.0-dev libgtk-3-dev libxklavier-dev libcroco3-dev meson
|
- apt-get -y install gnome-common gtk-doc-tools libglib2.0-dev-bin gobject-introspection libglib2.0-dev libpango1.0-dev libgtk-3-dev libcroco3-dev meson
|
||||||
|
|
||||||
build_automake:
|
build_automake:
|
||||||
stage: build
|
stage: build
|
||||||
@ -13,7 +13,7 @@ build_automake:
|
|||||||
- librem5
|
- librem5
|
||||||
script:
|
script:
|
||||||
- mkdir -p ../build
|
- mkdir -p ../build
|
||||||
- PKG_CONFIG_PATH=`pwd`/../eekboard-install/lib/pkgconfig/ meson ../build/ --prefix=`pwd`/../squeekboard-install/
|
- meson ../build/
|
||||||
- cd ../build
|
- cd ../build
|
||||||
- PKG_CONFIG_PATH=`pwd`/../eekboard-install/lib/pkgconfig/ ninja install
|
- ninja install
|
||||||
|
|
||||||
|
|||||||
36
README.md
36
README.md
@ -1,35 +1,24 @@
|
|||||||
eekboard - an easy to use virtual keyboard toolkit
|
*squeekboard* - a Wayland virtual keyboard
|
||||||
==================================================
|
========================================
|
||||||
|
|
||||||
eekboard is a virtual keyboard software package, including a set of
|
*Squeekboard* is a virtual keyboard supporting Wayland, built primarily for the *Librem 5* phone.
|
||||||
tools to implement desktop virtual keyboards.
|
|
||||||
|
|
||||||
*squeekboard* is the Wayland support branch.
|
|
||||||
|
|
||||||
Building
|
Building
|
||||||
--------
|
--------
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
REQUIRED: GLib2, GTK-3.0, PangoCairo, libxklavier, libcroco
|
See `.gitlab-ci.yml`.
|
||||||
OPTIONAL: libXtst, at-spi2-core, IBus, Clutter, Clutter-Gtk, Python, Vala, gobject-introspection, libcanberra
|
|
||||||
|
|
||||||
### Build from git repo
|
### Build from git repo
|
||||||
|
|
||||||
```
|
```
|
||||||
$ git clone git://github.com/ueno/eekboard.git
|
$ git clone https://source.puri.sm/Librem5/eekboard.git
|
||||||
$ cd eekboard
|
$ cd eekboard
|
||||||
$ ./autogen.sh --prefix=/usr --enable-gtk-doc
|
$ mkdir ../build
|
||||||
$ make
|
$ meson ../build/
|
||||||
$ sudo make install
|
$ cd ../build
|
||||||
```
|
$ ninja install
|
||||||
|
|
||||||
### Build from tarball
|
|
||||||
|
|
||||||
```
|
|
||||||
$ ./configure --prefix=/usr
|
|
||||||
$ make
|
|
||||||
$ sudo make install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Running
|
Running
|
||||||
@ -37,7 +26,10 @@ Running
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ rootston
|
$ rootston
|
||||||
|
# if you used --prefix in your meson command, include the following command
|
||||||
$ export GSETTINGS_SCHEMA_DIR=$YOUR_PREFIX/share/glib-2.0/schemas
|
$ export GSETTINGS_SCHEMA_DIR=$YOUR_PREFIX/share/glib-2.0/schemas
|
||||||
$ eekboard-server &
|
$ cd ../build/
|
||||||
$ eekboard
|
$ src/squeekboard
|
||||||
|
$ busctl call --user org.fedorahosted.Eekboard /org/fedorahosted/Eekboard org.fedorahosted.Eekboard ShowKeyboard
|
||||||
|
$ busctl call --user org.fedorahosted.Eekboard /org/fedorahosted/Eekboard org.fedorahosted.Eekboard HideKeyboard
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user