Version bump
authorMarkus Ullmann <jokey@gentoo.org>
Wed, 6 Dec 2006 11:37:23 +0000 (11:37 +0000)
committerMarkus Ullmann <jokey@gentoo.org>
Wed, 6 Dec 2006 11:37:23 +0000 (11:37 +0000)
Package-Manager: portage-2.1.2_rc2-r5

app-misc/g15daemon/ChangeLog
app-misc/g15daemon/Manifest
app-misc/g15daemon/files/digest-g15daemon-1.2.6a [new file with mode: 0644]
app-misc/g15daemon/g15daemon-1.2.6a.ebuild [new file with mode: 0644]

index f3890767c3cb4d84626357b0888128fdf4a841b6..cf7572241434f74d4a218b10aeff42d6940303ee 100644 (file)
@@ -1,6 +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.6 2006/11/13 23:18:01 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/g15daemon/ChangeLog,v 1.7 2006/12/06 11:37:23 jokey Exp $
+
+*g15daemon-1.2.6a (06 Dec 2006)
+
+  06 Dec 2006; Markus Ullmann <jokey@gentoo.org> +g15daemon-1.2.6a.ebuild:
+  Version bump
 
 *g15daemon-1.2.5 (13 Nov 2006)
 
index b6f51366c2aecf3aa92458bc8038fdf405cab397..643abf72c875f6a48e642663895f4192f27d52ad 100644 (file)
@@ -15,6 +15,7 @@ RMD160 133757a1c21a3481a2de8bc37326f5ef64cc45f1 files/g15daemon-1.2.5.initd 958
 SHA256 0a0f0e3f5ec00264c7a6e18d46518cfd5cf7144ff710ee1eeeffe2bcfe11233c files/g15daemon-1.2.5.initd 958
 DIST g15daemon-1.2.3.tar.bz2 304548 RMD160 897d80b4cea3aa98163b168638992f4daea4ccdd SHA1 d36043bf84062c62306952b86f595438b026301c SHA256 9bc3cecf17277825b8084d08e1ed6550c6e4a338cfee3604262908afac45bc9e
 DIST g15daemon-1.2.5.tar.bz2 281845 RMD160 fefe5c802469e67553e483626b28369a525fdd05 SHA1 4c28fca380f9ce43b1d7f6e867e1e89fd0a9d7da SHA256 64b5046566d6116847826ecef6adcf9a87e279ea68bf1270d0ff314a3489b4e9
+DIST g15daemon-1.2.6a.tar.bz2 273767 RMD160 947441a1c89d1f45f02094a59735f488a76ce285 SHA1 473f3e0aee0122597c1e91cf54b18d3d6e28e8e9 SHA256 583c4bece816b712959aba51f49d78bb587e215fbb6a322efe832477c74f2564
 EBUILD g15daemon-1.2.3.ebuild 3401 RMD160 8594de1fc275bf4f7d31419f730d253029620397 SHA1 942649423a2672e0b0061e785cf1b12c0a62c6ce SHA256 9629e65e60dc2c368f1f8d6cd13e3b92a628d77ca9ed43060ff43e5266d51785
 MD5 eadd656825aa9b3434114097b5406c42 g15daemon-1.2.3.ebuild 3401
 RMD160 8594de1fc275bf4f7d31419f730d253029620397 g15daemon-1.2.3.ebuild 3401
@@ -23,10 +24,14 @@ EBUILD g15daemon-1.2.5.ebuild 3479 RMD160 7b7263a942a68f3f63e90166b078fa13a3f4cb
 MD5 118da971f4b92019cc3972759474855d g15daemon-1.2.5.ebuild 3479
 RMD160 7b7263a942a68f3f63e90166b078fa13a3f4cb00 g15daemon-1.2.5.ebuild 3479
 SHA256 00fe95de634b0a00bb4399e84545109d1ee339ed491d33109942da20e74565b8 g15daemon-1.2.5.ebuild 3479
-MISC ChangeLog 1464 RMD160 25701a29a8c46d782316a5d8718d8d2806437c46 SHA1 75922b10c9d9015523919d31f49aed5641b3863e SHA256 8a32bc0f092467c1c528a3553290d497120d3569ad27a998b580ffd9fa61b0db
-MD5 e3ca0dd3ff46a0a132d09038cac7676b ChangeLog 1464
-RMD160 25701a29a8c46d782316a5d8718d8d2806437c46 ChangeLog 1464
-SHA256 8a32bc0f092467c1c528a3553290d497120d3569ad27a998b580ffd9fa61b0db ChangeLog 1464
+EBUILD g15daemon-1.2.6a.ebuild 3502 RMD160 ffefbd07f28c073443f8b7c41c279e93eb6b59af SHA1 6dbab1731fde213d4e13a65a054b6bbef272744e SHA256 5c867151d380521bb7240d36c9bd610b3cbf3b5e1cf5fec93ad754c475be6f72
+MD5 c359367b90a918eaea2c6a3cd19cc731 g15daemon-1.2.6a.ebuild 3502
+RMD160 ffefbd07f28c073443f8b7c41c279e93eb6b59af g15daemon-1.2.6a.ebuild 3502
+SHA256 5c867151d380521bb7240d36c9bd610b3cbf3b5e1cf5fec93ad754c475be6f72 g15daemon-1.2.6a.ebuild 3502
+MISC ChangeLog 1588 RMD160 c7bc55560819d18e5f03ba3fbbb55c15458a8636 SHA1 925c40bc96c66685c9d153b086b3358eb64fe979 SHA256 e6754df9a50effe7172374353ce9afab2f11a64023b7413e391d005cf1a9c700
+MD5 f76864a7ee7130e915d25604aa182bc8 ChangeLog 1588
+RMD160 c7bc55560819d18e5f03ba3fbbb55c15458a8636 ChangeLog 1588
+SHA256 e6754df9a50effe7172374353ce9afab2f11a64023b7413e391d005cf1a9c700 ChangeLog 1588
 MISC metadata.xml 250 RMD160 4c12d132d61ab54f92cda9251bf9b6ea4b8e1b01 SHA1 c212d5a20354a60471162a82c403f1a5235d1d9d SHA256 9eb89a60b8762b32ed579ff3fb70443aba71cdc7ebd597e8714f6fafdf1b256a
 MD5 be4a34ac317e81ea820c84bc04b9c0d8 metadata.xml 250
 RMD160 4c12d132d61ab54f92cda9251bf9b6ea4b8e1b01 metadata.xml 250
@@ -37,10 +42,13 @@ SHA256 988167ef01938019a1c995632c4a640ec76ea7cff3eff6f678303a5e9ec1d450 files/di
 MD5 a65d716449ee7b08744319167e0acfb5 files/digest-g15daemon-1.2.5 250
 RMD160 2f6511909661793a57a3e61126d85735c8061b90 files/digest-g15daemon-1.2.5 250
 SHA256 3d7355675ab2d75b223e7b3950393d44494f9f42fe6871d5903f74aae04661af files/digest-g15daemon-1.2.5 250
+MD5 a66a56850306aca8b19eb71548a7b330 files/digest-g15daemon-1.2.6a 253
+RMD160 c1d37efd5d8effd1340c2535196ddeda64db4547 files/digest-g15daemon-1.2.6a 253
+SHA256 57cb072b57547b3c4ac8ee0a30a0126ebe172891c88eb9ce55db453a84319b57 files/digest-g15daemon-1.2.6a 253
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFFWP04z974XjDVpbkRAhDJAJ42m6qxSefm5t1TlaiaX5ywfwqiOgCeMGHU
-piLF/T3yTOLiwaqSrfQ5al0=
-=Sw6x
+iD8DBQFFdqt7z974XjDVpbkRAr8DAKC6SGAwNj5hZdY09lo1stPG7BLyQwCeOy6D
+f4FSDnC14PqakcAhujDyNLM=
+=XeE1
 -----END PGP SIGNATURE-----
diff --git a/app-misc/g15daemon/files/digest-g15daemon-1.2.6a b/app-misc/g15daemon/files/digest-g15daemon-1.2.6a
new file mode 100644 (file)
index 0000000..d5d09ba
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 ba220f1fda33283af307c109cc520f61 g15daemon-1.2.6a.tar.bz2 273767
+RMD160 947441a1c89d1f45f02094a59735f488a76ce285 g15daemon-1.2.6a.tar.bz2 273767
+SHA256 583c4bece816b712959aba51f49d78bb587e215fbb6a322efe832477c74f2564 g15daemon-1.2.6a.tar.bz2 273767
diff --git a/app-misc/g15daemon/g15daemon-1.2.6a.ebuild b/app-misc/g15daemon/g15daemon-1.2.6a.ebuild
new file mode 100644 (file)
index 0000000..8a835de
--- /dev/null
@@ -0,0 +1,130 @@
+# 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.6a.ebuild,v 1.1 2006/12/06 11:37:23 jokey Exp $
+
+inherit eutils linux-info perl-module python multilib
+
+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 ~ppc64 ~x86"
+IUSE="perl python"
+
+DEPEND="dev-libs/libusb
+       dev-libs/libdaemon
+       >=dev-libs/libg15-1.1.0
+       perl? ( >=dev-perl/Inline-0.4 )
+       python? ( dev-lang/python )"
+
+RDEPEND="${DEPEND}
+       perl? ( dev-perl/GDGraph )"
+
+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_unpack() {
+       unpack ${A}
+       if use perl; then
+               unpack "./${P}/lang-bindings/perl-G15Daemon-0.2.tar.gz"
+       fi
+       if use python; then
+               unpack "./${P}/lang-bindings/pyg15daemon-0.0.tar.bz2"
+       fi
+}
+
+src_compile() {
+       econf || die "configure failed"
+
+       emake || die "make failed"
+
+       if use perl; then
+               cd "${WORKDIR}/G15Daemon-0.2"
+               perl-module_src_compile
+       fi
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "make install failed"
+
+       # remove odd docs installed my make
+       rm "${D}/usr/share/doc/${P}/"{LICENSE,README.usage}
+       gzip "${D}/usr/share/doc/${P}/"*
+
+       insinto /usr/share/g15daemon/contrib
+       doins contrib/xmodmaprc
+       doins contrib/xmodmap.sh
+       if use perl; then
+               doins contrib/testbindings.pl
+       fi
+
+       newconfd "${FILESDIR}/${PN}-1.2.5.confd" g15daemon
+       newinitd "${FILESDIR}/${PN}-1.2.5.initd" g15daemon
+
+       if use perl; then
+               einfo "Installing Perl Bindings (G15Daemon.pm)"
+               cd "${WORKDIR}/G15Daemon-0.2"
+               perl-module_src_install
+       fi
+
+       if use python; then
+               einfo "Installing Python Bindings (g15daemon.py)"
+               cd "${WORKDIR}/pyg15daemon"
+               python_version
+
+               insinto /usr/$(get_libdir)/python${PYVER}/site-packages/g15daemon
+               doins g15daemon.py
+               newdoc AUTHORS pyg15daemon_AUTHORS
+       fi
+}
+
+pkg_postinst() {
+       if use python; then
+               python_mod_optimize "${ROOT}/usr/lib/python*/site-packages/g15daemon"
+               einfo ""
+       fi
+
+       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 ""
+       einfo "NOTE: the daemon now supports to use the small round key"
+       einfo "instead of MR for switching LCD clients. see /etc/conf.d"
+}
+
+pkg_postrm() {
+       if use python; then
+               python_mod_cleanup "${ROOT}/usr/lib/python*/site-packages/g15daemon"
+       fi
+}
\ No newline at end of file