diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-12-06 12:34:50 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-12-06 12:34:50 +0000 |
commit | 3668f62c3b1ca180949ce7d92984eac8e87ae5bf (patch) | |
tree | 3630a69841891d82c859898229d3c67e799ada97 /app-laptop/acerhk | |
parent | For sparc. Added hypersparc DMA fix, bigkernel smp boot fix, and nanosleep re... (diff) | |
download | gentoo-2-3668f62c3b1ca180949ce7d92984eac8e87ae5bf.tar.gz gentoo-2-3668f62c3b1ca180949ce7d92984eac8e87ae5bf.tar.bz2 gentoo-2-3668f62c3b1ca180949ce7d92984eac8e87ae5bf.zip |
Added patch, which redefines the key_wireless and key_wireless2 keys, bug #73398
Diffstat (limited to 'app-laptop/acerhk')
-rw-r--r-- | app-laptop/acerhk/ChangeLog | 9 | ||||
-rw-r--r-- | app-laptop/acerhk/acerhk-0.5.18-r1.ebuild | 65 | ||||
-rw-r--r-- | app-laptop/acerhk/files/acerhk-0.5.18-redef-wireless.patch | 21 | ||||
-rw-r--r-- | app-laptop/acerhk/files/digest-acerhk-0.5.18-r1 | 1 |
4 files changed, 95 insertions, 1 deletions
diff --git a/app-laptop/acerhk/ChangeLog b/app-laptop/acerhk/ChangeLog index 4c6a069ddaaa..2def5181f0e7 100644 --- a/app-laptop/acerhk/ChangeLog +++ b/app-laptop/acerhk/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-laptop/acerhk # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/ChangeLog,v 1.2 2004/11/25 23:16:23 sekretarz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/ChangeLog,v 1.3 2004/12/06 12:34:50 sekretarz Exp $ + +*acerhk-0.5.18-r1 (06 Dec 2004) + + 06 Dec 2004; Karol Wojtaszek <sekretarz@gentoo.org> + +files/acerhk-0.5.18-redef-wireless.patch, +acerhk-0.5.18-r1.ebuild: + Added patch, which redefines the key_wireless and key_wireless2 keys, bug + #73398 *acerhk-0.5.18 (26 Nov 2004) diff --git a/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild b/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild new file mode 100644 index 000000000000..e2e6e33eaf2b --- /dev/null +++ b/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/acerhk-0.5.18-r1.ebuild,v 1.1 2004/12/06 12:34:50 sekretarz Exp $ + +inherit kernel-mod eutils + +DESCRIPTION="Hotkey driver for some Acer and Acer-like laptops" +HOMEPAGE="http://www.informatik.hu-berlin.de/~tauber/acerhk/" +SRC_URI="http://www.informatik.hu-berlin.de/~tauber/acerhk/archives/acerhk-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND="virtual/kernel" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd ${WORKDIR} + epatch ${FILESDIR}/${P}-redef-wireless.patch + +} + +src_compile() { + unset ARCH + emake || die +} + +src_install() { + + kernel-mod_getversion + if [ ${KV_MINOR} -gt 4 ] + then + KV_OBJ="ko" + else + KV_OBJ="o" + fi + + insinto /lib/modules/${KV}/extra + doins acerhk.${KV_OBJ} + + dodoc README COPYING NEWS doc/* +} +pkg_postinst() { + kernel-mod_getversion + if [ ${KV_MINOR} -gt 4 ] + then + KV_OBJ="ko" + else + KV_OBJ="o" + fi + + echo + einfo "Checking kernel module dependancies" + test -r "${ROOT}/usr/src/linux/System.map" && \ + depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV} + + einfo "You can load the module:" + einfo "% modprobe acerhk poll=1" + echo + einfo "If you need more info about this driver you can read the README file" + einfo "% zmore /usr/share/doc/${PN}-${PV}/README.gz" +} diff --git a/app-laptop/acerhk/files/acerhk-0.5.18-redef-wireless.patch b/app-laptop/acerhk/files/acerhk-0.5.18-redef-wireless.patch new file mode 100644 index 000000000000..b230f1e07064 --- /dev/null +++ b/app-laptop/acerhk/files/acerhk-0.5.18-redef-wireless.patch @@ -0,0 +1,21 @@ +--- acerhk-0.5.18/acerhk.c 2004-11-09 22:27:07.000000000 +0100 ++++ acerhk-0.5.18/acerhk.c 2004-12-05 01:49:03.594000664 +0100 +@@ -1676,7 +1676,7 @@ + set_keymap_name(k_p3, KEY_PROG3); + set_keymap_name(k_www, KEY_WWW); + set_keymap_name(k_mail, KEY_MAIL); +- set_keymap_name(k_wireless, KEY_XFER); ++ set_keymap_name(k_wireless, KEY_KPLEFTPAREN); + set_keymap_name(k_power, KEY_POWER); + set_keymap_name(k_mute, KEY_MUTE); + set_keymap_name(k_volup, KEY_VOLUMEUP); +@@ -1684,8 +1684,7 @@ + set_keymap_name(k_res, KEY_CONFIG); + set_keymap_name(k_close, KEY_CLOSE); + set_keymap_name(k_open, KEY_OPEN); +- /* I am not really happy with the selections for wireless and wireless2 */ +- set_keymap_name(k_wireless2, KEY_XFER); ++ set_keymap_name(k_wireless2, KEY_KPRIGHTPAREN); + set_keymap_name(k_play, KEY_PLAYPAUSE); + set_keymap_name(k_stop, KEY_STOPCD); + set_keymap_name(k_prev, KEY_PREVIOUSSONG); diff --git a/app-laptop/acerhk/files/digest-acerhk-0.5.18-r1 b/app-laptop/acerhk/files/digest-acerhk-0.5.18-r1 new file mode 100644 index 000000000000..d93ee62645dd --- /dev/null +++ b/app-laptop/acerhk/files/digest-acerhk-0.5.18-r1 @@ -0,0 +1 @@ +MD5 16f838f257748ea133dcff74e4502755 acerhk-0.5.18.tar.bz2 27583 |