inputd bump with small patch from upstream
authorRené Nussbaumer <killerfox@gentoo.org>
Mon, 9 Oct 2006 06:49:09 +0000 (06:49 +0000)
committerRené Nussbaumer <killerfox@gentoo.org>
Mon, 9 Oct 2006 06:49:09 +0000 (06:49 +0000)
Package-Manager: portage-2.1.1

sys-apps/inputd/ChangeLog
sys-apps/inputd/Manifest
sys-apps/inputd/files/digest-inputd-0.0.4-r1 [new file with mode: 0644]
sys-apps/inputd/files/inputd-0.0.4-r1.diff [new file with mode: 0644]
sys-apps/inputd/inputd-0.0.4-r1.ebuild [new file with mode: 0644]

index e1bf371e3069a8a2f429a17eb22c036de8870b01..dee57198e3bda462bdfdbd63f6a6c1655bbf1532 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sys-apps/inputd
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/inputd/ChangeLog,v 1.7 2006/09/09 13:05:20 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/inputd/ChangeLog,v 1.8 2006/10/09 06:49:09 killerfox Exp $
+
+*inputd-0.0.4-r1 (09 Oct 2006)
+
+  09 Oct 2006; René Nussbaumer <killerfox@gentoo.org>
+  +files/inputd-0.0.4-r1.diff, +inputd-0.0.4-r1.ebuild:
+  inputd bump with small patch from upstream
 
   09 Sep 2006; Michael Hanselmann <hansmi@gentoo.org>
   -inputd-0.0.3-r1.ebuild:
index 324b75788704c3151ea665b649ec3f93b6439546..396810d7336c099641b8c49f5ec339c0fdac8848 100644 (file)
@@ -1,16 +1,24 @@
+AUX inputd-0.0.4-r1.diff 1216 RMD160 d91fb7380726e8ab5e01c5f4500bab0b571b51a9 SHA1 643b7d9e3e4d792ffb38f804473e410adc8aa8d4 SHA256 1ad54ef9399c9e569cfeddc8d304ad73f6f3c39c6490b9dc82ac392457b4a027
+MD5 55a350ea8b5e594f2bb057bd5bf0d9d6 files/inputd-0.0.4-r1.diff 1216
+RMD160 d91fb7380726e8ab5e01c5f4500bab0b571b51a9 files/inputd-0.0.4-r1.diff 1216
+SHA256 1ad54ef9399c9e569cfeddc8d304ad73f6f3c39c6490b9dc82ac392457b4a027 files/inputd-0.0.4-r1.diff 1216
 AUX inputd.init 480 RMD160 f6e4789bc0440ccc7aba0eebf014e8dc872be938 SHA1 74272c0fc33e19c28fb91e9b093fc9a74e2b9376 SHA256 c03ae959b1c7ea3ccb6abebb303fcb578b954cf6bd15a007010bc866e9ecd2b5
 MD5 1bb120516a9f0898f0f60455bcb2bf5f files/inputd.init 480
 RMD160 f6e4789bc0440ccc7aba0eebf014e8dc872be938 files/inputd.init 480
 SHA256 c03ae959b1c7ea3ccb6abebb303fcb578b954cf6bd15a007010bc866e9ecd2b5 files/inputd.init 480
 DIST inputd-0.0.4.tar.bz2 98437 RMD160 ea043514abe01643b70372196fd5f80da0bad417 SHA1 3afb309fb684f8616272ff25e69410c35eed5821 SHA256 2d989dbf81c83c0bc3e94689e71fa58c6491238cc0124b251f9eb76a11385a57
+EBUILD inputd-0.0.4-r1.ebuild 832 RMD160 7ff3b2c37179fcce2244b300f4f9fa7c493f3d4f SHA1 559f7f62264b946acb728aac5442978169d78901 SHA256 6c5582c49162c78f8aa75d02290098fe494d1f01c8ed36aebcfe84c4d199ae85
+MD5 d8dbe90ce2a6d44cffb28856e3782618 inputd-0.0.4-r1.ebuild 832
+RMD160 7ff3b2c37179fcce2244b300f4f9fa7c493f3d4f inputd-0.0.4-r1.ebuild 832
+SHA256 6c5582c49162c78f8aa75d02290098fe494d1f01c8ed36aebcfe84c4d199ae85 inputd-0.0.4-r1.ebuild 832
 EBUILD inputd-0.0.4.ebuild 724 RMD160 1db4f9fb1e30e9470bb53adbceae54d727cc042e SHA1 d0c7742e180fc3489b1619788a861b6c40db00d7 SHA256 a7b5824a63c9c557ba0a7ebe4210c22a3835d603223bc52bb9ea2fd7772f0df2
 MD5 47dfaa384fc9cfcc8f1867837715f06f inputd-0.0.4.ebuild 724
 RMD160 1db4f9fb1e30e9470bb53adbceae54d727cc042e inputd-0.0.4.ebuild 724
 SHA256 a7b5824a63c9c557ba0a7ebe4210c22a3835d603223bc52bb9ea2fd7772f0df2 inputd-0.0.4.ebuild 724
-MISC ChangeLog 1280 RMD160 0fe8b7da0900fe9435fc29016d78e3183bb3ad36 SHA1 6b09c8b44aff5b880c909961049134ca70a85fe8 SHA256 934b275c079a3a3492b4a9d2148922355a821c22aac9f89bab235c3942423e35
-MD5 fa4be6ffa89ad0be0a06663275309f24 ChangeLog 1280
-RMD160 0fe8b7da0900fe9435fc29016d78e3183bb3ad36 ChangeLog 1280
-SHA256 934b275c079a3a3492b4a9d2148922355a821c22aac9f89bab235c3942423e35 ChangeLog 1280
+MISC ChangeLog 1472 RMD160 66a4a486602be05edf105ab7adf911f3f3791b3b SHA1 84419f25f2cd00e10f693797d3a0908f863f2afd SHA256 117af3bdd6cd2919c590ff22f21586f11e2c155057679061bbfb641f63444f37
+MD5 392df7796e6dcb54c9a7120824f37f6f ChangeLog 1472
+RMD160 66a4a486602be05edf105ab7adf911f3f3791b3b ChangeLog 1472
+SHA256 117af3bdd6cd2919c590ff22f21586f11e2c155057679061bbfb641f63444f37 ChangeLog 1472
 MISC metadata.xml 228 RMD160 54de8b3a999495c3c325756cf08dd58e392ee5e2 SHA1 679289a1115725583875615f040ff25aaf8f957e SHA256 014b5d064cc9b44c1214fc244c91f4b496892f9a6234b594213c694566679fdb
 MD5 5077063eae81c684da297a9025ab9a42 metadata.xml 228
 RMD160 54de8b3a999495c3c325756cf08dd58e392ee5e2 metadata.xml 228
@@ -18,3 +26,6 @@ SHA256 014b5d064cc9b44c1214fc244c91f4b496892f9a6234b594213c694566679fdb metadata
 MD5 4a5e9643d061990d0079a153c1a0ac67 files/digest-inputd-0.0.4 238
 RMD160 2265c9672610563bfe7235655d49a413e1f0ab77 files/digest-inputd-0.0.4 238
 SHA256 c5d1e324f52d412adf0dfa1a4c15c52110b6c4b737ff90026af4f3cd96b14577 files/digest-inputd-0.0.4 238
+MD5 4a5e9643d061990d0079a153c1a0ac67 files/digest-inputd-0.0.4-r1 238
+RMD160 2265c9672610563bfe7235655d49a413e1f0ab77 files/digest-inputd-0.0.4-r1 238
+SHA256 c5d1e324f52d412adf0dfa1a4c15c52110b6c4b737ff90026af4f3cd96b14577 files/digest-inputd-0.0.4-r1 238
diff --git a/sys-apps/inputd/files/digest-inputd-0.0.4-r1 b/sys-apps/inputd/files/digest-inputd-0.0.4-r1
new file mode 100644 (file)
index 0000000..4e21a14
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 c2002b1fd2c6d4f074a3367cf5d33fd7 inputd-0.0.4.tar.bz2 98437
+RMD160 ea043514abe01643b70372196fd5f80da0bad417 inputd-0.0.4.tar.bz2 98437
+SHA256 2d989dbf81c83c0bc3e94689e71fa58c6491238cc0124b251f9eb76a11385a57 inputd-0.0.4.tar.bz2 98437
diff --git a/sys-apps/inputd/files/inputd-0.0.4-r1.diff b/sys-apps/inputd/files/inputd-0.0.4-r1.diff
new file mode 100644 (file)
index 0000000..edcb17f
--- /dev/null
@@ -0,0 +1,32 @@
+Index: trunk/src/uinput.c
+===================================================================
+--- trunk/src/uinput.c (revision 62)
++++ trunk/src/uinput.c (working copy)
+@@ -130,6 +130,7 @@
+     g_io_channel_set_close_on_unref(inputdev->uinput, TRUE);
+     g_io_channel_set_encoding(inputdev->uinput, NULL, NULL);
++    g_io_channel_set_buffered(inputdev->uinput, FALSE);
+     fd = g_io_channel_unix_get_fd(inputdev->uinput);
+Index: trunk/src/brain.c
+===================================================================
+--- trunk/src/brain.c  (revision 62)
++++ trunk/src/brain.c  (working copy)
+@@ -167,10 +167,13 @@
+     wdata.activate = TRUE;
+     devmanager_foreach_dev(work, &wdata);
+-    /* FIXME: If we don't sleep here for a very short time, X.org gets the
++    /* FIXME: If we don't sleep here for a short time, X.org might get the
+      * events in the wrong order. Who knows a better solution?
++     *
++     * Update 2006-10-04: The problem lies in the X.org code. I don't know
++     * where exactly and how to fix it. Maybe it's some polling issue.
+      */
+-    usleep(1);
++    usleep(10 * 1000);
+     /* Press simulated key */
+     uinput_write_event(inputdev, EV_KEY, cfgtr->target.def->code, 1);
diff --git a/sys-apps/inputd/inputd-0.0.4-r1.ebuild b/sys-apps/inputd/inputd-0.0.4-r1.ebuild
new file mode 100644 (file)
index 0000000..4b9cd54
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/inputd/inputd-0.0.4-r1.ebuild,v 1.1 2006/10/09 06:49:09 killerfox Exp $
+
+inherit eutils
+
+DESCRIPTION="inputd is a user-space daemon to emulate key presses trough other
+key combinations"
+HOMEPAGE="http://hansmi.ch/software/inputd"
+SRC_URI="http://hansmi.ch/download/inputd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc"
+IUSE=""
+
+DEPEND=">=dev-libs/glib-2.8
+       >=sys-kernel/linux-headers-2.6.16"
+RDEPEND="sys-fs/udev"
+
+src_unpack() {
+       unpack "${P}.tar.bz2"
+       cd "${S}"
+
+       epatch "${FILESDIR}/${PF}.diff"
+}
+
+src_install() {
+       emake DESTDIR=${D} install || die 'installation failed.'
+
+       newinitd ${FILESDIR}/inputd.init inputd
+       dodoc README
+
+       insinto /etc
+       doins doc/inputd.conf
+}
+