summaryrefslogtreecommitdiff
path: root/app-misc/g15daemon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-01 06:30:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-01 06:30:58 +0000
commitc4d4d544a37efc45bd5482e62e1fcdbe7d5993d3 (patch)
treee97ec8b6356535412a838039bf7874aef3129f50 /app-misc/g15daemon
parent2e36bcecf24a3f583ae8f27b71ba13b3cfd39778 (diff)
gentoo auto-resync : 01:01:2025 - 06:30:57
Diffstat (limited to 'app-misc/g15daemon')
-rw-r--r--app-misc/g15daemon/Manifest17
-rw-r--r--app-misc/g15daemon/files/20g15daemon15
-rw-r--r--app-misc/g15daemon/files/99-g15daemon.rules1
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.2.7.confd9
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.9.5.3-avoid_bashisms.patch20
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.9.5.3-docdir.patch11
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch11
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.9.5.3-overflow-fix.patch11
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.9.5.3.initd45
-rw-r--r--app-misc/g15daemon/files/g15daemon-hotplug15
-rw-r--r--app-misc/g15daemon/files/g15daemon.conf27
-rw-r--r--app-misc/g15daemon/files/g15daemon.service11
-rw-r--r--app-misc/g15daemon/g15daemon-1.9.5.3-r15.ebuild154
-rw-r--r--app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild163
-rw-r--r--app-misc/g15daemon/g15daemon-9999.ebuild163
-rw-r--r--app-misc/g15daemon/metadata.xml8
16 files changed, 0 insertions, 681 deletions
diff --git a/app-misc/g15daemon/Manifest b/app-misc/g15daemon/Manifest
deleted file mode 100644
index a56a02a2d219..000000000000
--- a/app-misc/g15daemon/Manifest
+++ /dev/null
@@ -1,17 +0,0 @@
-AUX 20g15daemon 173 BLAKE2B 70c9a7e6769d98f2f8195a8d8e120fc514e956125c5d887412a165c2c038006060169f8fddc31a0334c543dde083136682cdec34b27418fd99cb4776a0cdac2c SHA512 daee2c432860dd3147209724417cbf04ec1ed0c8e882900900722420cbe67d88f32efc81422e04221e54796b66d69e050135b72a96baf40137da58023202d3ca
-AUX 99-g15daemon.rules 90 BLAKE2B ffcee5b3039d9aa1d63ff6d58fb29d84a2c9988dc4815407ec8c529e874d3af1d8f05f0623588a3264e3ece6cf23168b4c6a102316c249ae26b68f4311dd2359 SHA512 f3ff958bb4e0344b600328fcab86674ce14d852287ec2e083751d0eb855a0591aa17fdae767de4517bcd8a1fa542ab9b559ee79fe284207d2872b8901f2c77f7
-AUX g15daemon-1.2.7.confd 330 BLAKE2B e25cf425e9d26946d617759cc07d3a9a73591539a7d6c7e1e09c5803032841b7c343d83156034ef01276454acb6853b291888346438a59908320a549378743d9 SHA512 0274394bc9442686b89e94bad80b4df352a772ca0b51a8b0d05a8de0551f747e8eceb9c10d290f22e9e8a433a2e2c94b061866d32db45bd3ef0d050facc484bf
-AUX g15daemon-1.9.5.3-avoid_bashisms.patch 839 BLAKE2B 49269760a077a39924c39bd8182365ea767f4f57d3bd2ddefa3c6aadc1a84ec8ee773a802a483d859e693d0051b1dd256abd373d4558c95db88713a442844abc SHA512 5eac0f9bb87bbdab08ffb05dc17122f0090cb78ce068e6acdaac16dfc3bba0d1bc150445c02f48fb155af255368b89e3d90b6d109243185c7a5abbd01004cd05
-AUX g15daemon-1.9.5.3-docdir.patch 473 BLAKE2B 5370c2e89d45b7cd1255dd987210b37b5019b636643f68399a05bbbabccf867e6bd219e7f89f0ee2d1f2408e6a9d6f3da38853d19a486028bcee1a726b45daae SHA512 e1ef8f9f290b37a3a5648109e1340ec984684fff50ec7e9c5d7baa9b1ab4209432ecac5da64b917dd13de0141662b0ebc958bd04cc4b7789d626a3fc4fbe11d2
-AUX g15daemon-1.9.5.3-forgotten-open-mode.patch 563 BLAKE2B 33d2b9ff82d9fbdd490f31d539c0432c9ef65fb14f23bedadc497d76732c32aaafac1ac64ff3c59c7b5098ddcbbfa44f8087e61a57147cf9293c39c0f34cce2b SHA512 8eced9d04c4880c5883d536bc3c4d8cdd452e182e434b2314abd8c8bb0e036c377424c0f757a0c2596972da2b87befc6442f6880e1e580597a1cb3b1357beea4
-AUX g15daemon-1.9.5.3-overflow-fix.patch 543 BLAKE2B fafc620e8f8338208a8fbb093308d1bd36e09d1fc136442eaac05b467871aac7fbac1daba8a354ee0798cef48bf316e5b32a8001a48d65a1f7daee091c970499 SHA512 6aa9c56ebfb6735ceeee982c4d9ee71a3e5cfb3b35d5806203cfeec2630f4dd3f349aeec644540bf665dd163f39be75a545644b69c7373f9a805a0e30bc8ebf2
-AUX g15daemon-1.9.5.3.initd 955 BLAKE2B fe4c71358d206768dde9d0361ab926f8e36d2fce1d46a15992ec4880c0df37ec2ae26808902d7593c5c1783f679c1c12d163d8a6f409f2d6931f432b08f8a7c4 SHA512 a2e21fe65f730e0a3f0062da07a9896884329e3d3b2cb89ce41b96f33851868c0c27281fc87a13eb7bb7ba934175df19dddfd78b695339b4a89512c42951fd1a
-AUX g15daemon-hotplug 224 BLAKE2B 6348dfec6c942d28c2db287b82765f194ffd7d1e9c58faaf03670ff6222f0a32fb70428873452d8229a967849f49b3042ef20352d677b0e5d4dc05b7f769caee SHA512 6384aa8267a665b0b26f45f7339856647374ad5b1860f299b2e19afb0209b8637919f00b3638affbe4fb86adaf115eb93e814b70c17d52f1c878d840e1e464e8
-AUX g15daemon.conf 516 BLAKE2B 9a003040306ddfeccccb5b12730c6c1c478ab39cf44abbacfaed37b7154f2485cbc0979f900523457e14a5ca14041b41bf2da0c3b4d7519f2e798b0cb291f4c4 SHA512 e575fd8a91c87f226481ae406a1b66de6d8eb66f061b0ce7f2b89ce63f7bda88470eac50adcc9de97ef866970ee835af8a1bb0402a2e4b4d214251d0b8ebe25c
-AUX g15daemon.service 209 BLAKE2B 0b909fd73dc8d0961f35257d430e4c8b321bf12671a77838eb1bbc0044ed6d98a5d90421367a77c0117dee66cbb7a6f54a71ce066905ec550ebfbd0709dbf2e5 SHA512 3b4d7e22665e360271807e2de356af79038a6474aeb8c862665714b717f62d105ce57f5acd8078520ab92b9b7963a956617998074b8752ce99ce97ce860b4c25
-DIST g15daemon-1.9.5.3.tar.gz 414603 BLAKE2B 4f683bab47f6cbde3a028b306c1999ea4fcb84c0c05160a17374be93f953d21588f332e8fbf040c607545c31ee09e30b56b1068db95a801472c9d72ee9fe8e43 SHA512 7a1770d08d1d4155866bba3b676d33bf943363f4519af41a13ab6ec73cc5d6c536b173977b3e3583b594b149b7f01ffbc51123a4678c2a249a51ff0b42c8b69a
-DIST g15daemon-3.0.4.tar.bz2 372553 BLAKE2B 008cf2eda9e8cbc45a2fd2eef938438be73236f2bffbbc47bdce66f04d6860705572270994df09bc1d7c2c02dc75ca347199e02dc7aa9f71134985cff284c7c8 SHA512 4adbb11ca8128bbaff5ad1dee17ddcfcdfca589f7e8a1a264127dd9d5aec39e07e4986a4b78f4199fb7f3e12979fd8d50a851b047b6cb8cfa13410aa59df062a
-EBUILD g15daemon-1.9.5.3-r15.ebuild 3708 BLAKE2B 691960adf84a399b5c001e539c6047e4bc569e916c202f35f838373040d70cd20df45febc00f1d755e6e2a37565f0ef1beeff49e890ff394992f806d2c867a72 SHA512 858dad4d3e59f1fd7977bb5c67f1cee11d54ebe74be5a7f91f0fe632eea9420089434da3c0b5b7dc473c07e69e1c7927fec5aada3e2ab467b3defcd031ff74d0
-EBUILD g15daemon-3.0.4-r1.ebuild 3917 BLAKE2B 1dc80d3c06a2f9ff02be9d9caaf0060b57ccedeb2a13a933c0257687cfb9963769e2d077d73dff804378ec1dad4d3f1eb681a42d152dcd3d76d9517c1cfe2372 SHA512 8268d7ed8e5c48578ca89decea8d03efe658a151aac8671faa38402bb80c5493947dfe5a74f0adeca9f25d5d1beba45664b4ff090ccf0a5e222029ab6623b6ab
-EBUILD g15daemon-9999.ebuild 3915 BLAKE2B 56dd91c12e13afa09605f9f228e64bc37d8ff514e57a2be4d55b437c08cc32be555e23681970a0b9aab8d3bca7544ddb3f524cbd8289f6980f0ee06e672b8289 SHA512 33cdc0f28e2ecc7f8a5edbf8d0729bf1b45df4a6eea5ae488d4d207589769897f69c455b6f1166181a7be2889c996eca588806bdf22bfb0b65d2e8c8358d4075
-MISC metadata.xml 247 BLAKE2B 13654033ac33926fd4f82d2fc68a7179f92bfd39764394c2bf09e77e1186309cd8ccd53fcd88a91c5daad9de4936fae0d3e25e5f9174322feee17337b15df93d SHA512 59e1d9ab5ed152665c9fa4e021ebbf8ea83e2db60c2728baa729ca547da53452d436ba3ea9408738b4a845ef7a707e4a25dfbd04de0c7aa4e573f55f8ab42182
diff --git a/app-misc/g15daemon/files/20g15daemon b/app-misc/g15daemon/files/20g15daemon
deleted file mode 100644
index ee1422537f25..000000000000
--- a/app-misc/g15daemon/files/20g15daemon
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-. "${PM_FUNCTIONS}"
-
-case "$1" in
- hibernate|suspend)
- /etc/init.d/g15daemon stop
- ;;
- thaw|resume)
- /etc/init.d/g15daemon start
- ;;
- *)
- exit $NA
- ;;
-esac
diff --git a/app-misc/g15daemon/files/99-g15daemon.rules b/app-misc/g15daemon/files/99-g15daemon.rules
deleted file mode 100644
index d491d683684f..000000000000
--- a/app-misc/g15daemon/files/99-g15daemon.rules
+++ /dev/null
@@ -1 +0,0 @@
-SUBSYSTEM=="usb", ATTR{product}=="G15 Gaming Keyboard", RUN+="/usr/bin/g15daemon-hotplug"
diff --git a/app-misc/g15daemon/files/g15daemon-1.2.7.confd b/app-misc/g15daemon/files/g15daemon-1.2.7.confd
deleted file mode 100644
index 5ce5392b93b1..000000000000
--- a/app-misc/g15daemon/files/g15daemon-1.2.7.confd
+++ /dev/null
@@ -1,9 +0,0 @@
-# /etc/conf.d/g15daemon: Configuration for the g15daemon
-
-# 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="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
deleted file mode 100644
index 194d68eefeea..000000000000
--- a/app-misc/g15daemon/files/g15daemon-1.9.5.3-avoid_bashisms.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- 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
deleted file mode 100644
index 9c76e4cbc6aa..000000000000
--- a/app-misc/g15daemon/files/g15daemon-1.9.5.3-docdir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
deleted file mode 100644
index d4a5381992e1..000000000000
--- a/app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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];
-
-- config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC);
-+ config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC,0664);
- if(config_fd){
- snprintf(line,1024,"# G15Daemon Configuration File\n# any items entered before a [section] header\n# will be in the Global config space\n# comments you wish to keep should start with a semicolon';'\n");
- write(config_fd,line,strlen(line));
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
deleted file mode 100644
index 07bb68601d76..000000000000
--- a/app-misc/g15daemon/files/g15daemon-1.9.5.3-overflow-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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)) {
- memset(packet,0,sizeof(packet));
-- msgret = recv(sock, packet, 10 , MSG_OOB);
-+ msgret = recv(sock, packet, sizeof(packet), MSG_OOB);
- if (msgret < 1) {
- return -1;
- }
diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3.initd b/app-misc/g15daemon/files/g15daemon-1.9.5.3.initd
deleted file mode 100644
index aa4d82c9d6b6..000000000000
--- a/app-misc/g15daemon/files/g15daemon-1.9.5.3.initd
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Init script for g15daemon
-
-pidfile="/var/run/g15daemon.pid"
-command="/usr/sbin/g15daemon"
-start_stop_daemon_args="--wait 30"
-command_args=""
-
-depend() {
- after hotplug
- after usb
- after modules
-}
-
-start_pre() {
- # Does the input device already exist?
- if [ -e "/proc/modules" ] ; then
- if [ ! -e "/dev/input/uinput" ] && [ ! -e "/dev/uinput" ] ; then
- # We can load modules, but uinput device does not exist
- einfo "Loading uinput module"
- /sbin/modprobe uinput > /dev/null 2> /dev/null \
- || return 1
- fi
- fi
-
- if [ "${CLIENT_SWITCH_L1}" = "yes" ] ; then
- command_args="--switch"
- fi
-}
-
-stop() {
- ebegin "Stopping g15daemon"
- local KILLOPT="-k"
- if [ $BACKLIGHT_OFF = "yes" ]; then
- KILLOPT="-K"
- fi
- while [ -f "${pidfile}" ] && kill -0 $(cat ${pidfile}) ; do
- ${command} ${KILLOPT}
- sleep 1
- done
- eend $?
-}
diff --git a/app-misc/g15daemon/files/g15daemon-hotplug b/app-misc/g15daemon/files/g15daemon-hotplug
deleted file mode 100644
index 2ae8be0bde01..000000000000
--- a/app-misc/g15daemon/files/g15daemon-hotplug
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-export IN_HOTPLUG=1
-
-case "$ACTION" in
- "add")
- /etc/init.d/g15daemon --quiet restart
- ;;
- "remove")
- /etc/init.d/g15daemon --quiet stop
- ;;
- *)
- exit 0
- ;;
-esac
diff --git a/app-misc/g15daemon/files/g15daemon.conf b/app-misc/g15daemon/files/g15daemon.conf
deleted file mode 100644
index 2d2bfc3cabde..000000000000
--- a/app-misc/g15daemon/files/g15daemon.conf
+++ /dev/null
@@ -1,27 +0,0 @@
-# G15Daemon Configuration File
-# any items entered before a [section] header
-# will be in the Global config space
-# comments you wish to keep should start with a semicolon';'
-
-[Global]
-Use MR as Cycle Key: Off
-
-[PLUGIN_LOAD_ORDER]
-0: g15plugin_uinput.so
-1: g15plugin_clock.so
-2: g15plugin_tcpserver.so
-TotalPlugins: 3
-
-[PLUGINS]
-Linux UINPUT Keyboard Output: Load
-Clock: Load
-LCDServer: Load
-
-[Keyboard OS Mapping (uinput)]
-device: /dev/input/uinput
-Lkeys.mapped: 0
-
-[Clock]
-24hrFormat: On
-ShowDate: Off
-Digital: On
diff --git a/app-misc/g15daemon/files/g15daemon.service b/app-misc/g15daemon/files/g15daemon.service
deleted file mode 100644
index 668b8ba13a86..000000000000
--- a/app-misc/g15daemon/files/g15daemon.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[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
diff --git a/app-misc/g15daemon/g15daemon-1.9.5.3-r15.ebuild b/app-misc/g15daemon/g15daemon-1.9.5.3-r15.ebuild
deleted file mode 100644
index e08af5000fe3..000000000000
--- a/app-misc/g15daemon/g15daemon-1.9.5.3-r15.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-GENTOO_DEPEND_ON_PERL="no"
-
-inherit autotools flag-o-matic linux-info perl-module systemd toolchain-funcs udev
-
-DESCRIPTION="Takes control of the G15 keyboard, through the linux kernel uinput device driver"
-HOMEPAGE="https://sourceforge.net/projects/g15daemon/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="perl static-libs"
-
-DEPEND="virtual/libusb:0
- >=dev-libs/libg15-1.2.4
- >=dev-libs/libg15render-1.2
- perl? (
- dev-lang/perl
- dev-perl/GDGraph
- >=dev-perl/Inline-0.4
- )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${P}-forgotten-open-mode.patch"
- "${FILESDIR}/${P}-overflow-fix.patch"
- "${FILESDIR}/${P}-docdir.patch"
- "${FILESDIR}/${P}-avoid_bashisms.patch"
-)
-
-uinput_check() {
- ebegin "Checking for uinput support"
- local rc=1
- linux_config_exists && linux_chkconfig_present INPUT_UINPUT
- rc=$?
- eend ${rc}
-
- if [[ ${rc} -ne 0 ]] ; then
- eerror "To use g15daemon, you need to compile your kernel with uinput support."
- eerror "Please enable uinput support in your kernel config, found at:"
- eerror
- eerror "Device Drivers -> Input Device ... -> Miscellaneous devices -> User level driver support."
- eerror
- eerror "Once enabled, you should have the /dev/input/uinput device."
- eerror "g15daemon will not work without the uinput device."
- fi
-}
-
-pkg_setup() {
- export CC="$(tc-getCC)" #729294
-
- linux-info_pkg_setup
- uinput_check
-}
-
-src_unpack() {
- unpack ${A}
- if use perl ; then
- unpack "./${P}/lang-bindings/perl-G15Daemon-0.2.tar.gz"
- fi
-}
-
-src_prepare() {
- if use perl ; then
- perl-module_src_prepare
- sed -i \
- -e '1i#!/usr/bin/perl' \
- "${S}"/contrib/testbindings.pl || die
- else
- # perl-module_src_prepare always calls base_src_prepare
- default
- fi
- mv configure.{in,ac} || die
- eautoreconf
-}
-
-src_configure() {
- append-cflags -fcommon #706712
-
- econf $(use_enable static-libs static)
-
- if use perl ; then
- cd "${WORKDIR}/G15Daemon-0.2" || die
- perl-module_src_configure
- fi
-}
-
-src_compile() {
- default
-
- if use perl ; then
- cd "${WORKDIR}/G15Daemon-0.2" || die
- perl-module_src_compile
- fi
-}
-
-src_install() {
- default
-
- find "${ED}" -type f -name '*.la' -delete || die
-
- # remove odd docs installed my make
- rm "${ED}"/usr/share/doc/${PF}/README.usage || die
-
- insinto /usr/share/${PN}/contrib
- doins contrib/xmodmaprc
- doins contrib/xmodmap.sh
- if use perl ; then
- doins contrib/testbindings.pl
- fi
-
- newconfd "${FILESDIR}/${PN}-1.2.7.confd" ${PN}
- newinitd "${FILESDIR}/${PN}-1.9.5.3.initd" ${PN}
- systemd_dounit "${FILESDIR}/${PN}.service"
- dobin "${FILESDIR}/g15daemon-hotplug"
- udev_dorules "${FILESDIR}/99-g15daemon.rules"
-
- insinto /etc
- doins "${FILESDIR}"/g15daemon.conf
-
- # Gentoo bug #301340, debian bug #611649
- exeinto /usr/lib/pm-utils/sleep.d
- doexe "${FILESDIR}"/20g15daemon
-
- if use perl ; then
- einfo "Installing Perl Bindings (G15Daemon.pm)"
- cd "${WORKDIR}/G15Daemon-0.2" || die
- docinto perl
- perl-module_src_install
- fi
-}
-
-pkg_postinst() {
- udev_reload
-
- elog "To use g15daemon, you need to add g15daemon to the default runlevel."
- elog "This can be done with:"
- elog "# /sbin/rc-update add g15daemon default"
- elog "You can edit some g15daemon options at /etc/conf.d/g15daemon"
- elog ""
- elog "To have all new keys working in X11, you'll need create a "
- elog "specific xmodmap in your home directory or edit the existent one."
- elog ""
- elog "Create the xmodmap:"
- elog "cp /usr/share/g15daemon/contrib/xmodmaprc ~/.Xmodmap"
- elog ""
- elog "Adding keycodes to an existing xmodmap:"
- elog "cat /usr/share/g15daemon/contrib/xmodmaprc >> ~/.Xmodmap"
-}
diff --git a/app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild b/app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild
deleted file mode 100644
index 0ac72f2e795e..000000000000
--- a/app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic linux-info perl-module systemd toolchain-funcs udev
-
-DESCRIPTION="Takes control of the G15 keyboard, through the linux kernel uinput device driver"
-HOMEPAGE="https://gitlab.com/menelkir/g15daemon"
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/menelkir/g15daemon.git"
-else
- SRC_URI="https://gitlab.com/menelkir/${PN}/-/archive/${PV}/${P}.tar.bz2"
- KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-fi
-
-LICENSE="GPL-2"
-# Subslot = libg15daemon_client.so major version
-SLOT="0/3"
-IUSE="perl static-libs"
-
-# Has no "test" target in Makefile
-RESTRICT="test"
-
-DEPEND="virtual/libusb:0
- >=dev-libs/libg15-3.0
- >=dev-libs/libg15render-3.0
- perl? (
- dev-lang/perl
- dev-perl/GDGraph
- >=dev-perl/Inline-0.4
- )"
-RDEPEND="${DEPEND}"
-
-uinput_check() {
- ebegin "Checking for uinput support"
- local rc=1
- linux_config_exists && linux_chkconfig_present INPUT_UINPUT
- rc=$?
- eend ${rc}
-
- if [[ ${rc} -ne 0 ]] ; then
- eerror "To use g15daemon, you need to compile your kernel with uinput support."
- eerror "Please enable uinput support in your kernel config, found at:"
- eerror
- eerror "Device Drivers -> Input Device ... -> Miscellaneous devices -> User level driver support."
- eerror
- eerror "Once enabled, you should have the /dev/input/uinput device."
- eerror "g15daemon will not work without the uinput device."
- fi
-}
-
-pkg_setup() {
- export CC="$(tc-getCC)" #729294
-
- linux-info_pkg_setup
- uinput_check
-}
-
-src_unpack() {
- if [[ ${PV} == *9999* ]] ; then
- git-r3_src_unpack
- else
- default
- fi
-
- if use perl ; then
- unpack "${S}"/contrib/lang-bindings/perl-G15Daemon-0.2.tar.gz
- fi
-}
-
-src_prepare() {
- if use perl ; then
- perl-module_src_prepare
- sed -i \
- -e '1i#!/usr/bin/perl' \
- "${S}"/contrib/testbindings.pl || die
- else
- # perl-module_src_prepare always calls base_src_prepare
- default
- fi
- eautoreconf
-}
-
-src_configure() {
- # -Werror=lto-type-mismatch
- # https://bugs.gentoo.org/854732
- # https://gitlab.com/menelkir/g15daemon/-/issues/10
- filter-lto
-
- append-cflags -fcommon #706712
-
- econf $(use_enable static-libs static)
-
- if use perl ; then
- cd "${WORKDIR}/G15Daemon-0.2" || die
- perl-module_src_configure
- fi
-}
-
-src_compile() {
- default
-
- if use perl ; then
- cd "${WORKDIR}/G15Daemon-0.2" || die
- perl-module_src_compile
- fi
-}
-
-src_install() {
- default
-
- find "${ED}" -type f -name '*.la' -delete || die
-
- # remove odd docs installed my make
- rm "${ED}"/usr/share/doc/${PF}/README.usage || die
-
- insinto /usr/share/${PN}/contrib
- doins contrib/xmodmaprc{,-alternative}
- doins contrib/xmodmap.sh
- if use perl ; then
- doins contrib/testbindings.pl
- fi
-
- newconfd "${FILESDIR}/${PN}-1.2.7.confd" ${PN}
- newinitd "${FILESDIR}/${PN}-1.9.5.3.initd" ${PN}
- systemd_dounit "${FILESDIR}/${PN}.service"
- dobin "${FILESDIR}/g15daemon-hotplug"
- udev_dorules "${FILESDIR}/99-g15daemon.rules"
-
- insinto /etc
- doins "${FILESDIR}"/g15daemon.conf
-
- # Gentoo bug #301340, debian bug #611649
- exeinto /usr/lib/pm-utils/sleep.d
- doexe "${FILESDIR}"/20g15daemon
-
- if use perl ; then
- einfo "Installing Perl Bindings (G15Daemon.pm)"
- cd "${WORKDIR}/G15Daemon-0.2" || die
- docinto perl
- perl-module_src_install
- fi
-}
-
-pkg_postinst() {
- udev_reload
-
- elog "To use g15daemon, you need to add g15daemon to the default runlevel."
- elog "This can be done with:"
- elog "# /sbin/rc-update add g15daemon default"
- elog "You can edit some g15daemon options at /etc/conf.d/g15daemon"
- elog ""
- elog "To have all new keys working in X11, you'll need create a "
- elog "specific xmodmap in your home directory or edit the existent one."
- elog ""
- elog "Create the xmodmap:"
- elog "cp /usr/share/g15daemon/contrib/xmodmaprc ~/.Xmodmap"
- elog ""
- elog "Adding keycodes to an existing xmodmap:"
- elog "cat /usr/share/g15daemon/contrib/xmodmaprc >> ~/.Xmodmap"
-}
diff --git a/app-misc/g15daemon/g15daemon-9999.ebuild b/app-misc/g15daemon/g15daemon-9999.ebuild
deleted file mode 100644
index 51f07ad23047..000000000000
--- a/app-misc/g15daemon/g15daemon-9999.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic linux-info perl-module systemd toolchain-funcs udev
-
-DESCRIPTION="Takes control of the G15 keyboard, through the linux kernel uinput device driver"
-HOMEPAGE="https://gitlab.com/menelkir/g15daemon"
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/menelkir/g15daemon.git"
-else
- SRC_URI="https://gitlab.com/menelkir/${PN}/-/archive/${PV}/${P}.tar.bz2"
- KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-fi
-
-LICENSE="GPL-2"
-# Subslot = libg15daemon_client.so major version
-SLOT="0/3"
-IUSE="perl static-libs"
-
-# Has no "test" target in Makefile
-RESTRICT="test"
-
-DEPEND="virtual/libusb:0
- >=dev-libs/libg15-3.0
- >=dev-libs/libg15render-3.0
- perl? (
- dev-lang/perl
- dev-perl/GDGraph
- >=dev-perl/Inline-0.4
- )"
-RDEPEND="${DEPEND}"
-
-uinput_check() {
- ebegin "Checking for uinput support"
- local rc=1
- linux_config_exists && linux_chkconfig_present INPUT_UINPUT
- rc=$?
- eend ${rc}
-
- if [[ ${rc} -ne 0 ]] ; then
- eerror "To use g15daemon, you need to compile your kernel with uinput support."
- eerror "Please enable uinput support in your kernel config, found at:"
- eerror
- eerror "Device Drivers -> Input Device ... -> Miscellaneous devices -> User level driver support."
- eerror
- eerror "Once enabled, you should have the /dev/input/uinput device."
- eerror "g15daemon will not work without the uinput device."
- fi
-}
-
-pkg_setup() {
- export CC="$(tc-getCC)" #729294
-
- linux-info_pkg_setup
- uinput_check
-}
-
-src_unpack() {
- if [[ ${PV} == *9999* ]] ; then
- git-r3_src_unpack
- else
- default
- fi
-
- if use perl ; then
- unpack "${S}"/contrib/lang-bindings/perl-G15Daemon-0.2.tar.gz
- fi
-}
-
-src_prepare() {
- if use perl ; then
- perl-module_src_prepare
- sed -i \
- -e '1i#!/usr/bin/perl' \
- "${S}"/contrib/testbindings.pl || die
- else
- # perl-module_src_prepare always calls base_src_prepare
- default
- fi
- eautoreconf
-}
-
-src_configure() {
- # -Werror=lto-type-mismatch
- # https://bugs.gentoo.org/854732
- # https://gitlab.com/menelkir/g15daemon/-/issues/10
- filter-lto
-
- append-cflags -fcommon #706712
-
- econf $(use_enable static-libs static)
-
- if use perl ; then
- cd "${WORKDIR}/G15Daemon-0.2" || die
- perl-module_src_configure
- fi
-}
-
-src_compile() {
- default
-
- if use perl ; then
- cd "${WORKDIR}/G15Daemon-0.2" || die
- perl-module_src_compile
- fi
-}
-
-src_install() {
- default
-
- find "${ED}" -type f -name '*.la' -delete || die
-
- # remove odd docs installed my make
- rm "${ED}"/usr/share/doc/${PF}/README.usage || die
-
- insinto /usr/share/${PN}/contrib
- doins contrib/Xmodmap{,-alternative}
- doins contrib/xmodmap.sh
- if use perl ; then
- doins contrib/testbindings.pl
- fi
-
- newconfd "${FILESDIR}/${PN}-1.2.7.confd" ${PN}
- newinitd "${FILESDIR}/${PN}-1.9.5.3.initd" ${PN}
- systemd_dounit "${FILESDIR}/${PN}.service"
- dobin "${FILESDIR}/g15daemon-hotplug"
- udev_dorules "${FILESDIR}/99-g15daemon.rules"
-
- insinto /etc
- doins "${FILESDIR}"/g15daemon.conf
-
- # Gentoo bug #301340, debian bug #611649
- exeinto /usr/lib/pm-utils/sleep.d
- doexe "${FILESDIR}"/20g15daemon
-
- if use perl ; then
- einfo "Installing Perl Bindings (G15Daemon.pm)"
- cd "${WORKDIR}/G15Daemon-0.2" || die
- docinto perl
- perl-module_src_install
- fi
-}
-
-pkg_postinst() {
- udev_reload
-
- elog "To use g15daemon, you need to add g15daemon to the default runlevel."
- elog "This can be done with:"
- elog "# /sbin/rc-update add g15daemon default"
- elog "You can edit some g15daemon options at /etc/conf.d/g15daemon"
- elog ""
- elog "To have all new keys working in X11, you'll need create a "
- elog "specific xmodmap in your home directory or edit the existent one."
- elog ""
- elog "Create the xmodmap:"
- elog "cp /usr/share/g15daemon/contrib/xmodmaprc ~/.Xmodmap"
- elog ""
- elog "Adding keycodes to an existing xmodmap:"
- elog "cat /usr/share/g15daemon/contrib/xmodmaprc >> ~/.Xmodmap"
-}
diff --git a/app-misc/g15daemon/metadata.xml b/app-misc/g15daemon/metadata.xml
deleted file mode 100644
index ef5d2548d49c..000000000000
--- a/app-misc/g15daemon/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">g15daemon</remote-id>
- </upstream>
-</pkgmetadata>