summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2006-10-04 18:50:38 +0000
committerMarkus Ullmann <jokey@gentoo.org>2006-10-04 18:50:38 +0000
commite5b2fea00bf626dc97d1035e3fee773bacfdbbbb (patch)
treeeed1eb77262bbdf1d8b59e07d92357bf0cf14fe3 /app-misc
parentNeeded dep for upcoming lcdproc-0.5.1 (diff)
downloadhistorical-e5b2fea00bf626dc97d1035e3fee773bacfdbbbb.tar.gz
historical-e5b2fea00bf626dc97d1035e3fee773bacfdbbbb.tar.bz2
historical-e5b2fea00bf626dc97d1035e3fee773bacfdbbbb.zip
Initial import, thanks to Alessio Cassibba in bug #148769 for providing an ebuild
Package-Manager: portage-2.1.2_pre1-r3
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/g15daemon/ChangeLog11
-rw-r--r--app-misc/g15daemon/Manifest30
-rw-r--r--app-misc/g15daemon/files/digest-g15daemon-1.2.13
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.2.1.rc24
-rw-r--r--app-misc/g15daemon/g15daemon-1.2.1.ebuild70
-rw-r--r--app-misc/g15daemon/metadata.xml13
6 files changed, 151 insertions, 0 deletions
diff --git a/app-misc/g15daemon/ChangeLog b/app-misc/g15daemon/ChangeLog
new file mode 100644
index 000000000000..479977cb8613
--- /dev/null
+++ b/app-misc/g15daemon/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-misc/g15daemon
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/g15daemon/ChangeLog,v 1.1 2006/10/04 18:50:38 jokey Exp $
+
+*g15daemon-1.2.1 (04 Oct 2006)
+
+ 04 Oct 2006; Markus Ullmann <jokey@gentoo.org> +files/g15daemon-1.2.1.rc,
+ +metadata.xml, +g15daemon-1.2.1.ebuild:
+ Initial import, thanks to Alessio Cassibba in bug #148769 for providing an
+ ebuild
+
diff --git a/app-misc/g15daemon/Manifest b/app-misc/g15daemon/Manifest
new file mode 100644
index 000000000000..9fc7c66f27db
--- /dev/null
+++ b/app-misc/g15daemon/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX g15daemon-1.2.1.rc 638 RMD160 da49ffbbb514f45db265999339f053df646dc0d0 SHA1 c97e900bf33a91d9a3ed5147484f5b882e26ff59 SHA256 1ad36453f703445b5420541d989e71ca5fbcd99cd048fc124d3ac4a664fac97f
+MD5 d3930830eeab197a0f500ada2f5f122c files/g15daemon-1.2.1.rc 638
+RMD160 da49ffbbb514f45db265999339f053df646dc0d0 files/g15daemon-1.2.1.rc 638
+SHA256 1ad36453f703445b5420541d989e71ca5fbcd99cd048fc124d3ac4a664fac97f files/g15daemon-1.2.1.rc 638
+DIST g15daemon-1.2.1.tar.bz2 267042 RMD160 0b94f4541603448efbf6b4bdbb1bcadc254a614e SHA1 ba03cd08601b965f5afd84353dcd8eafefa2afe5 SHA256 207efaa4180e3ab6069213f042e149650cd9af54e4976fc0d36b48f6192fa8e9
+EBUILD g15daemon-1.2.1.ebuild 2079 RMD160 271aee5ae1420bde1c325db61d75dfb6cd742024 SHA1 3ff81e155191082cf4cd504734baff665b7482bc SHA256 bf26d0037cbbc22cfedd4ed1f626869af8620e966f32403835002cfd91489ee9
+MD5 f074ee97876d03267efb429d10c6fc8b g15daemon-1.2.1.ebuild 2079
+RMD160 271aee5ae1420bde1c325db61d75dfb6cd742024 g15daemon-1.2.1.ebuild 2079
+SHA256 bf26d0037cbbc22cfedd4ed1f626869af8620e966f32403835002cfd91489ee9 g15daemon-1.2.1.ebuild 2079
+MISC ChangeLog 445 RMD160 4b578d4c9f0b87b823774e510ff300e58021b852 SHA1 4bfeacee8bd29413694aa965d7ee1fb85802a632 SHA256 7cbd5b5c09f194057552d06245038d9db1a11aaefb20172c2221ecccbdbdd8cd
+MD5 0da829acf6084a65cc2e5a63dd1a3d3d ChangeLog 445
+RMD160 4b578d4c9f0b87b823774e510ff300e58021b852 ChangeLog 445
+SHA256 7cbd5b5c09f194057552d06245038d9db1a11aaefb20172c2221ecccbdbdd8cd ChangeLog 445
+MISC metadata.xml 347 RMD160 57d9115a67602540437d61e4bf94f2f5e164e061 SHA1 2fc61586cd884fab52bf7db6056aee450d2bfa22 SHA256 1f8d5bf798f8c8fbdd3c05d5a65edfb149dd36dacd054f237078a748816d6b61
+MD5 c64d0b3bf93b0d9a555d4faaaa5fa9f3 metadata.xml 347
+RMD160 57d9115a67602540437d61e4bf94f2f5e164e061 metadata.xml 347
+SHA256 1f8d5bf798f8c8fbdd3c05d5a65edfb149dd36dacd054f237078a748816d6b61 metadata.xml 347
+MD5 0e100b3a225a3f129a2fa9aae5c107dd files/digest-g15daemon-1.2.1 250
+RMD160 f73238860af79ab6ff880d2349f27c1d1dd428e5 files/digest-g15daemon-1.2.1 250
+SHA256 243c86e7442d399f7ab45e8ac7bcbea8e3896097442a147890314a59b528deaa files/digest-g15daemon-1.2.1 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFJAKJz974XjDVpbkRAkDmAJ4wfjbVdizPPIusBfI2oerq/jnZxACeM+9V
+mSK/2IbyMUjZZdhSX8yLVO4=
+=d3lE
+-----END PGP SIGNATURE-----
diff --git a/app-misc/g15daemon/files/digest-g15daemon-1.2.1 b/app-misc/g15daemon/files/digest-g15daemon-1.2.1
new file mode 100644
index 000000000000..d9d2f2d1293c
--- /dev/null
+++ b/app-misc/g15daemon/files/digest-g15daemon-1.2.1
@@ -0,0 +1,3 @@
+MD5 4df6f47457fa054f37e7e44a9c7c36c4 g15daemon-1.2.1.tar.bz2 267042
+RMD160 0b94f4541603448efbf6b4bdbb1bcadc254a614e g15daemon-1.2.1.tar.bz2 267042
+SHA256 207efaa4180e3ab6069213f042e149650cd9af54e4976fc0d36b48f6192fa8e9 g15daemon-1.2.1.tar.bz2 267042
diff --git a/app-misc/g15daemon/files/g15daemon-1.2.1.rc b/app-misc/g15daemon/files/g15daemon-1.2.1.rc
new file mode 100644
index 000000000000..39a7f1d43904
--- /dev/null
+++ b/app-misc/g15daemon/files/g15daemon-1.2.1.rc
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/g15daemon/files/g15daemon-1.2.1.rc,v 1.1 2006/10/04 18:50:38 jokey Exp $
+
+# Init script for g15daemon
+
+depend() {
+ after hotplug
+ after usb
+}
+
+start() {
+ ebegin "Starting g15daemon"
+ start-stop-daemon --start --background --pidfile /var/run/g15daemon.pid --exec /usr/sbin/g15daemon \
+ || ( eerror "Failed to start g15daemon." && return 1 )
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping g15daemon"
+ start-stop-daemon --stop --quiet --pidfile /var/run/g15daemon.pid
+ eend $?
+}
diff --git a/app-misc/g15daemon/g15daemon-1.2.1.ebuild b/app-misc/g15daemon/g15daemon-1.2.1.ebuild
new file mode 100644
index 000000000000..d378baa3f832
--- /dev/null
+++ b/app-misc/g15daemon/g15daemon-1.2.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/g15daemon/g15daemon-1.2.1.ebuild,v 1.1 2006/10/04 18:50:38 jokey Exp $
+
+inherit linux-info eutils
+
+DESCRIPTION="G15daemon takes control of the G15 keyboard, through the linux kernel uinput device driver"
+HOMEPAGE="http://g15daemon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/libusb
+ dev-libs/libdaemon
+ dev-libs/libg15"
+
+uinput_check() {
+ ebegin "Checking for uinput support"
+ linux_chkconfig_present INPUT_UINPUT
+ eend $?
+
+ if [[ $? -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."
+ die "INPUT_UINPUT support not detected!"
+ fi
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ uinput_check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS NEWS README TODO ChangeLog
+
+ insinto /usr/share/${PN}/contrib
+ doins contrib/xmodmaprc
+ doins contrib/xmodmap.sh
+ doins contrib/testbindings.pl
+
+ newinitd ${FILESDIR}/g15daemon-${PV}.rc g15daemon
+}
+
+pkg_postinst() {
+ einfo "To use g15daemon, you need to add g15daemon to the default runlevel."
+ einfo "This can be done with:"
+ einfo "# /sbin/rc-update add g15daemon default"
+ einfo ""
+ einfo "To have all new keys working in X11,"
+ einfo "you'll need create a specific xmodmap in your home directory"
+ einfo "or edit the existant one."
+ einfo ""
+ einfo "create the xmodmap:"
+ einfo "cp /usr/share/g15daemon/contrib/xmodmaprc ~/.Xmodmap"
+ einfo ""
+ einfo "adding keycodes to an existing xmodmap:"
+ einfo "cat /usr/share/g15daemon/contrib/xmodmaprc >> ~/.Xmodmap"
+ einfo ""
+}
diff --git a/app-misc/g15daemon/metadata.xml b/app-misc/g15daemon/metadata.xml
new file mode 100644
index 000000000000..c818f42807b8
--- /dev/null
+++ b/app-misc/g15daemon/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>jokey@gentoo.org</email>
+ <name>Markus Ullmann</name>
+ </maintainer>
+ <maintainer>
+ <email>rob@thetruth.de</email>
+ <name>Robert Buchholz</name>
+ </maintainer>
+</pkgmetadata>