summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2008-02-21 16:56:26 +0000
committerTony Vroon <chainsaw@gentoo.org>2008-02-21 16:56:26 +0000
commit521054b058f533b5df173a62b110509770859c55 (patch)
tree34f63d3c7542c56ea6baddc5bf4e903c4e7fb7f2 /app-misc/g15daemon
parentStable for HPPA (bug #209960). (diff)
downloadhistorical-521054b058f533b5df173a62b110509770859c55.tar.gz
historical-521054b058f533b5df173a62b110509770859c55.tar.bz2
historical-521054b058f533b5df173a62b110509770859c55.zip
Version bump as requested by Efimov Vadim <evadim@evadim.ru>, closes bug #208771.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-misc/g15daemon')
-rw-r--r--app-misc/g15daemon/ChangeLog10
-rw-r--r--app-misc/g15daemon/Manifest14
-rw-r--r--app-misc/g15daemon/g15daemon-1.9.5.3.ebuild132
3 files changed, 153 insertions, 3 deletions
diff --git a/app-misc/g15daemon/ChangeLog b/app-misc/g15daemon/ChangeLog
index f3dfd6b276e1..7421dae19632 100644
--- a/app-misc/g15daemon/ChangeLog
+++ b/app-misc/g15daemon/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/g15daemon
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/g15daemon/ChangeLog,v 1.19 2007/12/28 13:50:42 jokey Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/g15daemon/ChangeLog,v 1.20 2008/02/21 16:56:26 chainsaw Exp $
+
+*g15daemon-1.9.5.3 (21 Feb 2008)
+
+ 21 Feb 2008; Tony Vroon <chainsaw@gentoo.org> +g15daemon-1.9.5.3.ebuild:
+ Version bump as requested by Efimov Vadim <evadim@evadim.ru>, closes bug
+ #208771.
*g15daemon-1.9.3 (28 Dec 2007)
diff --git a/app-misc/g15daemon/Manifest b/app-misc/g15daemon/Manifest
index e501e8254865..f2c29185a0e8 100644
--- a/app-misc/g15daemon/Manifest
+++ b/app-misc/g15daemon/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX g15daemon-1.2.6a.confd 236 RMD160 8bd008853963292dcb63c3685ba39a8265fb8255 SHA1 3b315e7a12eb7375724f48f943862acc69963e57 SHA256 b5353ac723b8fc3184eaca3db84ced1904e89b43b448ee9713e2b1b9cffd7d01
AUX g15daemon-1.2.6a.initd 1002 RMD160 5b30c2a2976fb42ae2d7b57caa89f86dbf52ca3f SHA1 1796fc22d68cd9c99a4ca9c4623403dc33e8762e SHA256 99270b912a1c0de2e707cd304216bf0388b2d7a8f3838a38e5491c9919883380
AUX g15daemon-1.2.7-r1.initd 1159 RMD160 5116a84063c793310850cc62a6658bab0bc8cbf2 SHA1 37227d55924ce139c21aeb74139710562caef922 SHA256 17d6d4c3db13c45e9ee71cf8dda763acabe67fe3e02731c0aa33dbb48506b34a
@@ -10,6 +13,7 @@ DIST g15daemon-1.9.0.tar.bz2 288639 RMD160 8695fadf63e84fb1e55067f32d2736f96665b
DIST g15daemon-1.9.1.tar.bz2 301481 RMD160 2dab5ced813edb598b5b680f1fceee57164d7967 SHA1 21cdeed3542802fa87547e766c349e7c0cbc9c7b SHA256 a0928871e4f597278397e7f9a90247d4e4586870b58932b213fb1d1a30e0e7d3
DIST g15daemon-1.9.2.tar.gz 399349 RMD160 2be18efbcfefac09de33387f1736ab3000e0511c SHA1 8e402491da5ecc3b3945cef55fee0594317b5e91 SHA256 c400a4a7fbe4cc5a4dd7adc29c60ca1e52c3649af382f0f32239f2320a0ff603
DIST g15daemon-1.9.3.tar.gz 399817 RMD160 7c60cbafa5b33008b5d13ca9d171b2a5dafb8980 SHA1 e9b6bdd4602474f6c97437ff48c2d20c7ed93343 SHA256 d7828a80acde9cb4b5187f39d66a033cbe8147a4b34e574b0e0ba4961fe695a9
+DIST g15daemon-1.9.5.3.tar.gz 414603 RMD160 937362cd75d578e1b992868aeacefa928390ab4d SHA1 bc10775494ff38e78ecb62074869332d96c5cb55 SHA256 40ff07a4186c1fd01ea23d1753a2cb3bef25f92cc496ddddc6abde6a574cd60a
EBUILD g15daemon-1.2.6a-r1.ebuild 3504 RMD160 ce1d65c18c764cf7a195762d79a9bac1a788c14f SHA1 dd99d993dfbc9686ccf1e360af6ec1a6eea9af1f SHA256 559fbb561e519fb256b468406899a77ca978b4334d57cb935892055ac3d03b6a
EBUILD g15daemon-1.2.7-r1.ebuild 3424 RMD160 e16610105cc8dcf590ec266a963e680f3d4f8a33 SHA1 90df0420f6f437c741710e8a5fa3734615d2e99d SHA256 908484005803dad2f992f4719291530a787ba564ee603ed76d3565fcba965e7e
EBUILD g15daemon-1.2.7.ebuild 3421 RMD160 269d08b57541281744ba7ddde564727f9290e3a4 SHA1 9337b9d2a33ca8633f74fa98f3969cb553f580f5 SHA256 c7d6bb6e4b63ca68fe4f81322d3d8f0205268faa3d5e5e434ce1329c55d55231
@@ -17,5 +21,13 @@ EBUILD g15daemon-1.9.0-r1.ebuild 3450 RMD160 cc132d245c8dff94d8b22092eba7f27f224
EBUILD g15daemon-1.9.1.ebuild 3452 RMD160 63e7bf78d4db9f9f54dc48e017c9141ca43a3be5 SHA1 1c3069a6c54650c75d9c268832f06f4059911940 SHA256 d3109b1b41f3eb22ca09b4db7087db76f9720771c2977df9c1ddf7af14725734
EBUILD g15daemon-1.9.2.ebuild 3448 RMD160 c9f1577ccc7683be6e8708042223fffa73929da7 SHA1 dc59a56825f8378bdc343eaaf356826e55a0f130 SHA256 4ea67082b4ef807149fe8e36c35d18da8a0f01b5e9abe43576bd8f92a98fef56
EBUILD g15daemon-1.9.3.ebuild 3448 RMD160 b0901bad661f4a9a8add3bcb1de4208831e8bf00 SHA1 34c3223fbced34aba3dffebf1b54402180658a71 SHA256 bc67715fd4a837580fa28c7280e4dc5ef361ca644ab8a217447189f5ab024c1c
-MISC ChangeLog 4027 RMD160 f7b033b56a2895024254ab6027e5ee897c5f6444 SHA1 6c098fe1aa9fcf6d0721ec2e7975b934c1153b95 SHA256 a0e423f7e424a65d6a8f030e962e8553af968c55dd41f2b6b03b15a5a86a26cc
+EBUILD g15daemon-1.9.5.3.ebuild 3453 RMD160 b5d0ee27c34f2a89c80902b220990987ae62d4d2 SHA1 350b0da1be5f27804bfd0c6baa9e3a1120737744 SHA256 6b9aee665f391131b2eaf2d750a446d0455c94b399b53bcb7f48a99e45b16804
+MISC ChangeLog 4226 RMD160 c6cf4cb85a2ec47cbf85fc47aa7e30f3111d5f54 SHA1 7c5eb42fc68b5c1d23881b5195cc7ec04808244a SHA256 a6cf5cc94dc3848599d0f1f6d225b57994733ddb99abab8c5911cdc373de660a
MISC metadata.xml 249 RMD160 3a959d6b2d70ee342ccdf4abcaa3107d6f2897ed SHA1 942405176c914e1682a8a0daa6c5b9d7b6a2a94d SHA256 5a7fbdf3050c5c4c8f1dc154e8c715162b71ef329ec3e59facb4965dea2c9a81
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHva0Np5vW4rUFj5oRAq/iAJ0Z3denlNsJi8O55IDL/OGh2X5LRACeLm0e
+1bNMkwhl3hkTs8g2sYyCAVg=
+=3hto
+-----END PGP SIGNATURE-----
diff --git a/app-misc/g15daemon/g15daemon-1.9.5.3.ebuild b/app-misc/g15daemon/g15daemon-1.9.5.3.ebuild
new file mode 100644
index 000000000000..d69900d2eb38
--- /dev/null
+++ b/app-misc/g15daemon/g15daemon-1.9.5.3.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/g15daemon/g15daemon-1.9.5.3.ebuild,v 1.1 2008/02/21 16:56:26 chainsaw 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/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="perl python"
+
+DEPEND="dev-libs/libusb
+ >=dev-libs/libg15-1.2.4
+ >=dev-libs/libg15render-1.2
+ 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}" \
+ docdir=/usr/share/doc/${PF} install || die "make install failed"
+
+ # remove odd docs installed my make
+ rm "${D}/usr/share/doc/${PF}/"{LICENSE,README.usage}
+
+ 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.2.7-r2.initd" ${PN}
+
+ if use perl; then
+ ebegin "Installing Perl Bindings (G15Daemon.pm)"
+ cd "${WORKDIR}/G15Daemon-0.2"
+ docinto perl
+ perl-module_src_install
+ fi
+
+ if use python; then
+ ebegin "Installing Python Bindings (g15daemon.py)"
+ cd "${WORKDIR}/pyg15daemon"
+ python_version
+
+ insinto /usr/$(get_libdir)/python${PYVER}/site-packages/g15daemon
+ doins g15daemon.py
+
+ docinto python
+ dodoc AUTHORS
+ fi
+
+ prepalldocs
+}
+
+pkg_postinst() {
+ if use python; then
+ python_mod_optimize "${ROOT}/usr/$(get_libdir)/python*/site-packages/g15daemon"
+ echo ""
+ fi
+
+ 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"
+}
+
+pkg_postrm() {
+ if use python; then
+ python_mod_cleanup "/usr/$(get_libdir)/python*/site-packages/g15daemon"
+ fi
+}