From bd173594c8e99b1cc51f447929ed780b9bd22370 Mon Sep 17 00:00:00 2001 From: Yuanle Song Date: Tue, 14 Jan 2020 00:02:33 +0800 Subject: [PATCH] update build instruction in README added more details --- README | 27 --------------------------- README.org | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 27 deletions(-) delete mode 100644 README create mode 100644 README.org diff --git a/README b/README deleted file mode 100644 index 08b0b52..0000000 --- a/README +++ /dev/null @@ -1,27 +0,0 @@ -* COMMENT -*- mode: org -*- -#+Date: 2019-09-02 -Time-stamp: <2019-09-02> - -* zero-panel -zero-panel is a dbus service to provides a gtk3 based panel for showing -candidates for zero-el input methods. - -You can check zero-el document at https://blog.emacsos.com/zero-el.html - -* To build zero-panel from source -Get [[https://mesonbuild.com][meson build tool]]. - -#+BEGIN_SRC sh -apt install libgtk-3-dev libglib2.0-dev meson -# in zero-panel source dir -meson setup --buildtype release release/ -ninja -C release/ -#+END_SRC - -* To create zero-panel deb package from source -rsync and [[https://github.com/jordansissel/fpm][fpm]] is required. - -#+BEGIN_SRC sh -# in zero-panel source dir -./create-deb.sh -#+END_SRC diff --git a/README.org b/README.org new file mode 100644 index 0000000..1aa3d01 --- /dev/null +++ b/README.org @@ -0,0 +1,43 @@ +* COMMENT -*- mode: org -*- +#+Date: 2019-09-02 +Time-stamp: <2020-01-14> + +* zero-panel +zero-panel is a dbus service to provides a gtk3 based panel for showing +candidates for zero-el input methods. + +You can check zero-el document at https://blog.emacsos.com/zero-el.html + +* binary release +zero-panel have binary release for debian and ubuntu. See the above zero-el +document for how to add the apt repo. + +* To build zero-panel from source +- Get [[https://mesonbuild.com][meson build tool]]. + + #+BEGIN_SRC sh + sudo apt install -y meson ninja + # or + python3 -m pip install --user meson ninja + #+END_SRC + +- Install zero-panel dependencies + #+BEGIN_SRC sh + sudo apt install -y libgtk-3-dev libglib2.0-dev + #+END_SRC + +- Get zero-panel source code and build it + #+BEGIN_SRC sh + git clone https://gitlab.emacsos.com/sylecn/zero-panel.git + cd zero-panel + meson setup --buildtype release release/ + ninja -C release/ + #+END_SRC + +* To create zero-panel deb package from source +rsync and [[https://github.com/jordansissel/fpm][fpm]] is required. + +#+BEGIN_SRC sh +# in zero-panel source dir +./create-deb.sh +#+END_SRC -- GitLab