summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-10-27 15:56:36 +0000
committerSven Wegener <swegener@gentoo.org>2006-10-27 15:56:36 +0000
commit3fb00325ba49d1a6c3bd24eb11ba74653b698f5d (patch)
tree409ee77b2ffa6b0f21d1d62fc717b5f9d3454e5d /app-misc
parentVersion bump, addition of support for eselect-whois. (diff)
downloadgentoo-2-3fb00325ba49d1a6c3bd24eb11ba74653b698f5d.tar.gz
gentoo-2-3fb00325ba49d1a6c3bd24eb11ba74653b698f5d.tar.bz2
gentoo-2-3fb00325ba49d1a6c3bd24eb11ba74653b698f5d.zip
Version bump. Thanks to Joe Pelkey!
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/actkbd/ChangeLog9
-rw-r--r--app-misc/actkbd/actkbd-0.2.2.ebuild4
-rw-r--r--app-misc/actkbd/actkbd-0.2.7.ebuild47
-rw-r--r--app-misc/actkbd/files/actkbd-0.2.7-amd64.patch38
-rw-r--r--app-misc/actkbd/files/digest-actkbd-0.2.73
5 files changed, 98 insertions, 3 deletions
diff --git a/app-misc/actkbd/ChangeLog b/app-misc/actkbd/ChangeLog
index b429aa26efb9..542f96ad564c 100644
--- a/app-misc/actkbd/ChangeLog
+++ b/app-misc/actkbd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-misc/actkbd
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/actkbd/ChangeLog,v 1.1 2006/03/07 19:45:29 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/actkbd/ChangeLog,v 1.2 2006/10/27 15:56:36 swegener Exp $
+
+*actkbd-0.2.7 (27 Oct 2006)
+
+ 27 Oct 2006; Sven Wegener <swegener@gentoo.org>
+ +files/actkbd-0.2.7-amd64.patch, actkbd-0.2.2.ebuild,
+ +actkbd-0.2.7.ebuild:
+ Version bump. Thanks to Joe Pelkey!
*actkbd-0.2.2 (07 Mar 2006)
diff --git a/app-misc/actkbd/actkbd-0.2.2.ebuild b/app-misc/actkbd/actkbd-0.2.2.ebuild
index 1d2a159b0cbb..097e497651d9 100644
--- a/app-misc/actkbd/actkbd-0.2.2.ebuild
+++ b/app-misc/actkbd/actkbd-0.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/actkbd/actkbd-0.2.2.ebuild,v 1.1 2006/03/07 19:45:29 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/actkbd/actkbd-0.2.2.ebuild,v 1.2 2006/10/27 15:56:36 swegener Exp $
inherit linux-info
@@ -24,7 +24,7 @@ src_compile() {
src_install() {
dobin actkbd || die "dobin failed"
- dodoc AUTHORS ChangeLog FAQ README TOTO actkbd.conf
+ dodoc AUTHORS ChangeLog FAQ README TODO actkbd.conf
}
pkg_postinst() {
diff --git a/app-misc/actkbd/actkbd-0.2.7.ebuild b/app-misc/actkbd/actkbd-0.2.7.ebuild
new file mode 100644
index 000000000000..7e49e4ea6208
--- /dev/null
+++ b/app-misc/actkbd/actkbd-0.2.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/actkbd/actkbd-0.2.7.ebuild,v 1.1 2006/10/27 15:56:36 swegener Exp $
+
+inherit linux-info eutils
+
+DESCRIPTION="A keyboard shortcut daemon"
+HOMEPAGE="http://www.softlab.ece.ntua.gr/~thkala/projects/actkbd/"
+SRC_URI="http://www.softlab.ece.ntua.gr/~thkala/projects/actkbd/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+CONFIG_CHECK="~INPUT_EVDEV"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-amd64.patch
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin actkbd || die "dobin failed"
+ dodoc AUTHORS ChangeLog FAQ README TODO actkbd.conf
+}
+
+pkg_postinst() {
+ einfo
+ einfo "actkbd currently needs the event interface from 2.6 kernels to work. Add"
+ einfo "evdev to /etc/modules.autoload.d/kernel-2.6 to have it loaded during boot."
+ einfo "System-wide configuration file is /etc/actkbd.conf, but you can use the -c"
+ einfo "option to specify a custom configuration file. Use actkbd.conf from"
+ einfo "/usr/share/doc/${PF} as a template. We don't install it by default,"
+ einfo "because it contains some dangerous examples. You may also need to supply"
+ einfo "the -d option to use the right /dev/input/event* device."
+ einfo
+}
diff --git a/app-misc/actkbd/files/actkbd-0.2.7-amd64.patch b/app-misc/actkbd/files/actkbd-0.2.7-amd64.patch
new file mode 100644
index 000000000000..b962d7e861a7
--- /dev/null
+++ b/app-misc/actkbd/files/actkbd-0.2.7-amd64.patch
@@ -0,0 +1,38 @@
+# Try to fix pointer assigned to int and vice-versa problems. Written by Joe Pelkey.
+
+diff -ru actkbd-0.2.7.orig/actkbd.h actkbd-0.2.7/actkbd.h
+--- actkbd-0.2.7.orig/actkbd.h 2006-05-02 13:24:01.000000000 -0400
++++ actkbd-0.2.7/actkbd.h 2006-10-27 03:37:37.000000000 -0400
+@@ -122,7 +122,7 @@
+ typedef struct _attr_t attr_t;
+ struct _attr_t {
+ int type; /* Attribute type */
+- void *opt; /* Options for this attribute */
++ int opt; /* Options for this attribute */
+ attr_t *next; /* The next node */
+ };
+
+diff -ru actkbd-0.2.7.orig/config.c actkbd-0.2.7/config.c
+--- actkbd-0.2.7.orig/config.c 2006-08-20 07:05:36.000000000 -0400
++++ actkbd-0.2.7/config.c 2006-10-27 03:55:21.000000000 -0400
+@@ -107,7 +107,7 @@
+ strtolower(attrs);
+ while ((tmp = strsep(&attrs, ", \t")) != NULL) {
+ int type = -1;
+- void *opt = NULL;
++ int opt = 0;
+ char *num = NULL;
+
+ if (strlen(tmp) == 0)
+@@ -174,9 +174,9 @@
+
+ errno = 0;
+ if (strlen(num) > 0) {
+- opt = (void *)((int)strtol(num, (char **)NULL, 10));
++ opt = ((int)strtol(num, (char **)NULL, 10));
+ } else {
+- opt = (void *)((int)(-1));
++ opt = ((int)(-1));
+ }
+
+ if (((int)opt < 0) &&
diff --git a/app-misc/actkbd/files/digest-actkbd-0.2.7 b/app-misc/actkbd/files/digest-actkbd-0.2.7
new file mode 100644
index 000000000000..4e6e14434371
--- /dev/null
+++ b/app-misc/actkbd/files/digest-actkbd-0.2.7
@@ -0,0 +1,3 @@
+MD5 28aa80d710116dce22ed9833bfbcf8ba actkbd-0.2.7.tar.bz2 22426
+RMD160 54feba10da8c678c6042b5ab8e0efbe7b9df267c actkbd-0.2.7.tar.bz2 22426
+SHA256 8785cee6111c106d7acd3c1f211a979ad6f37ee433755eef1a6cdd49c93c49b3 actkbd-0.2.7.tar.bz2 22426