commit:     774a9fbdc5318222a80acf63fbbace995eb0ebc8
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 31 10:12:08 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Dec 31 10:26:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=774a9fbd

app-misc/g15daemon: treeclean

Closes: https://bugs.gentoo.org/741780 (pkgremoved)
Closes: https://bugs.gentoo.org/854753 (pkgremoved)
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-misc/g15daemon/Manifest                        |   2 -
 app-misc/g15daemon/files/20g15daemon               |  15 --
 app-misc/g15daemon/files/99-g15daemon.rules        |   1 -
 app-misc/g15daemon/files/g15daemon-1.2.7.confd     |   9 --
 .../files/g15daemon-1.9.5.3-avoid_bashisms.patch   |  20 ---
 .../g15daemon/files/g15daemon-1.9.5.3-docdir.patch |  11 --
 .../g15daemon-1.9.5.3-forgotten-open-mode.patch    |  11 --
 .../files/g15daemon-1.9.5.3-overflow-fix.patch     |  11 --
 app-misc/g15daemon/files/g15daemon-1.9.5.3.initd   |  45 ------
 app-misc/g15daemon/files/g15daemon-hotplug         |  15 --
 app-misc/g15daemon/files/g15daemon.conf            |  27 ----
 app-misc/g15daemon/files/g15daemon.service         |  11 --
 app-misc/g15daemon/g15daemon-1.9.5.3-r15.ebuild    | 154 -------------------
 app-misc/g15daemon/g15daemon-3.0.4-r1.ebuild       | 163 ---------------------
 app-misc/g15daemon/g15daemon-9999.ebuild           | 163 ---------------------
 app-misc/g15daemon/metadata.xml                    |   8 -
 profiles/package.mask                              |   1 -
 17 files changed, 667 deletions(-)

diff --git a/app-misc/g15daemon/Manifest b/app-misc/g15daemon/Manifest
deleted file mode 100644
index 876c54484337..000000000000
--- a/app-misc/g15daemon/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-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

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>

diff --git a/profiles/package.mask b/profiles/package.mask
index 7756b50a742b..8ef0fa44795d 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -179,7 +179,6 @@ x11-drivers/nvidia-drivers:0/470
 # Poor upstream code quality, unmaintained upstream;
 # no hardware for testing # anymore.
 # 
https://public-inbox.gentoo.org/gentoo-dev/[email protected]/
-app-misc/g15daemon
 app-misc/g15macro
 app-misc/g15message
 app-misc/g15mpd

Reply via email to