From 22df08c29f6e4566d418e2a80a8279303406a733 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Fri, 29 Jun 2018 00:58:19 +0200 Subject: build: switch to meson buildsystem We build the project with 'meson' now instead of using custom configure script + GNU Makefiles. To build the project, go to the project root directory and use the following commands: Building: meson build cd build ninja Update Language Files: ninja shopsystem-pot ninja shopsystem-update-po Install: DESTDIR=./tmp ninja install --- data/systemd/shopsystem-ui.service.in | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 data/systemd/shopsystem-ui.service.in (limited to 'data/systemd/shopsystem-ui.service.in') diff --git a/data/systemd/shopsystem-ui.service.in b/data/systemd/shopsystem-ui.service.in new file mode 100644 index 0000000..c4bd3a7 --- /dev/null +++ b/data/systemd/shopsystem-ui.service.in @@ -0,0 +1,17 @@ +[Unit] +Description=Shop System UI + +[Service] +User=shop +Group=shop +Type=simple +ExecStart=@PATH@/shop-curses-ui +StandardInput=tty +StandardOutput=tty +TTYPath=/dev/tty3 +TTYReset=yes +TTYVHangup=yes +TTYVTDisallocate=yes + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3 From 013729dafb19579ec14848cd6c2752dc3afcb2f2 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Tue, 17 Jul 2018 00:02:06 +0200 Subject: shopsystem-ui.service: setup console font --- data/systemd/shopsystem-ui.service.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'data/systemd/shopsystem-ui.service.in') diff --git a/data/systemd/shopsystem-ui.service.in b/data/systemd/shopsystem-ui.service.in index c4bd3a7..4d2bfe7 100644 --- a/data/systemd/shopsystem-ui.service.in +++ b/data/systemd/shopsystem-ui.service.in @@ -6,9 +6,11 @@ User=shop Group=shop Type=simple ExecStart=@PATH@/shop-curses-ui +ExecStartPre=/bin/chvt 7 +ExecStartPre=/bin/setupcon --current-tty --font-only StandardInput=tty StandardOutput=tty -TTYPath=/dev/tty3 +TTYPath=/dev/tty7 TTYReset=yes TTYVHangup=yes TTYVTDisallocate=yes -- cgit v1.2.3