diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /app-misc/g15daemon/files | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'app-misc/g15daemon/files')
7 files changed, 49 insertions, 8 deletions
diff --git a/app-misc/g15daemon/files/g15daemon-1.2.7.confd b/app-misc/g15daemon/files/g15daemon-1.2.7.confd index 08ea97f49763..5ce5392b93b1 100644 --- a/app-misc/g15daemon/files/g15daemon-1.2.7.confd +++ b/app-misc/g15daemon/files/g15daemon-1.2.7.confd @@ -2,7 +2,7 @@ # Key to switch the client-screens. Default is the MR key, # Set to "yes" to use L1 key instead (black round key below the LCD, above the multimedia keys). -CLIENT_SWITCH_L1="no" +CLIENT_SWITCH_L1="yes" # Set to "yes" to switch off the lcd backlight when stopping g15daemon. BACKLIGHT_OFF="no" diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3-avoid_bashisms.patch b/app-misc/g15daemon/files/g15daemon-1.9.5.3-avoid_bashisms.patch new file mode 100644 index 000000000000..194d68eefeea --- /dev/null +++ b/app-misc/g15daemon/files/g15daemon-1.9.5.3-avoid_bashisms.patch @@ -0,0 +1,20 @@ +--- g15daemon-1.9.5.3/configure.in ++++ g15daemon-1.9.5.3/configure.in +@@ -53,7 +53,7 @@ + AC_ARG_ENABLE([--disable-uinput],[ --disable-uinput do not build linux uinput plugin (default: autodetect)]) + + if test "x$enable_uinput" != "xno"; then +- if test "x$have_linux_uinput_h" == "xyes"; then ++ if test "x$have_linux_uinput_h" = "xyes"; then + #if HAVE_LINUX_UINPUT_H + dnl check for uinput.h version 2.4 or 2.6 ? + AC_CHECK_MEMBER([struct uinput_user_dev.id], +@@ -110,7 +110,7 @@ + AM_CONDITIONAL(UINPUT_INTERFACE_PLUGIN, [test x$uinput = xtrue]) + + dnl Some versions of libusb do not honour timeout and block. Suns' version is one of them. +-if test "x$libusb_blocks" == "xtrue"; then ++if test "x$libusb_blocks" = "xtrue"; then + AC_DEFINE([LIBUSB_BLOCKS], [1],[Define if libusb implementation blocks on read or write]) + fi + diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3-docdir.patch b/app-misc/g15daemon/files/g15daemon-1.9.5.3-docdir.patch new file mode 100644 index 000000000000..9c76e4cbc6aa --- /dev/null +++ b/app-misc/g15daemon/files/g15daemon-1.9.5.3-docdir.patch @@ -0,0 +1,11 @@ +--- g15daemon-1.9.5.3/Makefile.am ++++ g15daemon-1.9.5.3/Makefile.am +@@ -5,7 +5,7 @@ + + EXTRA_DIST = debian contrib Documentation lang-bindings patches rpm README.usage FAQ LICENSE images README.Linux README.FreeBSD README.Solaris + +-docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) ++docdir = @docdir@ + doc_DATA = FAQ README.usage README ChangeLog TODO AUTHORS NEWS LICENSE README.Linux README.FreeBSD README.Solaris + + man1_MANS = $(top_srcdir)/Documentation/g15daemon.1 diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch b/app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch index b475f1d58d69..d4a5381992e1 100644 --- a/app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch +++ b/app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch @@ -1,5 +1,5 @@ ---- ./g15daemon-1.9.5.3/g15daemon/utility_funcs.c 2008-01-26 06:02:07.000000000 +0100 -+++ ./g15daemon-1.9.5.3/g15daemon/utility_funcs.c 2009-02-01 17:00:55.203009264 +0100 +--- g15daemon-1.9.5.3/g15daemon/utility_funcs.c ++++ g15daemon-1.9.5.3/g15daemon/utility_funcs.c @@ -356,7 +356,7 @@ config_items_t * item=NULL; char line[1024]; diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3-g510-keys.patch b/app-misc/g15daemon/files/g15daemon-1.9.5.3-g510-keys.patch index e00836766795..a53001f1932d 100644 --- a/app-misc/g15daemon/files/g15daemon-1.9.5.3-g510-keys.patch +++ b/app-misc/g15daemon/files/g15daemon-1.9.5.3-g510-keys.patch @@ -1,8 +1,7 @@ From https://sourceforge.net/tracker/?func=detail&aid=3152167&group_id=167869&atid=844658 -diff -aNru trunk/g15daemon-wip/plugins/g15_plugin_uinput.c mod/g15daemon-wip/plugins/g15_plugin_uinput.c ---- trunk/g15daemon-wip/plugins/g15_plugin_uinput.c 2011-06-26 06:50:50.000000000 +0000 -+++ mod/g15daemon-wip/plugins/g15_plugin_uinput.c 2011-06-26 06:51:42.000000000 +0000 +--- g15daemon-wip/plugins/g15_plugin_uinput.c ++++ g15daemon-wip/plugins/g15_plugin_uinput.c @@ -164,146 +164,195 @@ static void g15_process_keys(g15daemon_t *masterlist, unsigned int currentkeys, unsigned int lastkeys) diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3-overflow-fix.patch b/app-misc/g15daemon/files/g15daemon-1.9.5.3-overflow-fix.patch index 71cbf914d839..07bb68601d76 100644 --- a/app-misc/g15daemon/files/g15daemon-1.9.5.3-overflow-fix.patch +++ b/app-misc/g15daemon/files/g15daemon-1.9.5.3-overflow-fix.patch @@ -1,5 +1,5 @@ ---- ./g15daemon-1.9.5.3/libg15daemon_client/g15daemon_net.c 2008-01-25 05:45:05.000000000 +0100 -+++ ./g15daemon-1.9.5.3/libg15daemon_client/g15daemon_net.c 2011-02-14 22:51:55.203009264 +0100 +--- g15daemon-1.9.5.3/libg15daemon_client/g15daemon_net.c ++++ g15daemon-1.9.5.3/libg15daemon_client/g15daemon_net.c @@ -217,7 +217,7 @@ if(poll(pfd,1,100)>0){ if(pfd[0].revents & POLLPRI && !(pfd[0].revents & POLLERR || pfd[0].revents & POLLHUP || pfd[0].revents & POLLNVAL)) { diff --git a/app-misc/g15daemon/files/g15daemon.service b/app-misc/g15daemon/files/g15daemon.service new file mode 100644 index 000000000000..668b8ba13a86 --- /dev/null +++ b/app-misc/g15daemon/files/g15daemon.service @@ -0,0 +1,11 @@ +[Unit] +Description=Logitech G15 extra-key and LCD manager + +[Service] +Type=forking +PIDFile=/run/g15daemon.pid +ExecStart=/usr/sbin/g15daemon +ExecStop=/usr/sbin/g15daemon -k + +[Install] +WantedBy=multi-user.target |