Commit 65255018 authored by Yuanle Song's avatar Yuanle Song
Browse files

add doc. renamed executable to be zero-pinyin-service

parent 9f826108
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
[D-BUS Service]
Name=com.emacsos.zero.ZeroPinyinService
Exec=/home/sylecn/projects/libpyzy/src/zero-pinyin-service/build/main
Exec=/home/sylecn/projects/libpyzy/src/zero-pinyin-service/build/zero-pinyin-service
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ src = [
  'parse-pinyin.cpp',
  'zero-pinyin-service.c',
  'main.c']
executable('main', src, dependencies: shared_dep)
executable('zero-pinyin-service', src, dependencies: shared_dep)

test('parse-pinyin',
  executable('parse-pinyin',

operational

0 → 100644
+46 −0
Original line number Diff line number Diff line
* COMMENT -*- mode: org -*-
#+Date: 2019-04-05
Time-stamp: <2019-04-05>
#+STARTUP: content
* notes                                                               :entry:
** 2019-04-05 zero-pinyin-service file structure			:doc:
- zero-pinyin-service
  - main.c
    a console application based on glib and gio.
    provides dbus service. see the zero-pinyin-service spec at
    ~/c/gtk-im-module/operational :id001:
  - zero-pinyin-service.h
    zero-pinyin-service.c
    zero-pinyin-service-test.c

    contains the zero-pinyin-service dbus method C based implementation.
  - parse-pinyin.h
    parse-pinyin.cpp
    parse-pinyin-test.cpp

    contains utility functions based on code from libpyzyz. This should be
    replaced eventually. I don't want to depend on libpyzy source code.

- utilities
  - test-sql.sh
    a shell script to experiment SQL commands

- data files
  - meson.build

    build script. used to create executable.

  - com.emacsos.zero.ZeroPinyinService.service

    dbus service definition file.

    Should be copied to dbus service file dir /usr/share/dbus-1/services/

    When dbus client try to talk to service, dbus session bus will start the
    service app automatically.

* later                                                               :entry:
* current                                                             :entry:
** 
* done                                                                :entry:
* wontfix                                                             :entry: