diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2004-04-22 10:13:15 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2004-04-22 10:13:15 +0000 |
commit | 23ce7c192491479af53bff7840aeeb743420d135 (patch) | |
tree | 49bf1c3b527cc856855361fa1877403b4a260d91 /app-laptop/pbbuttonsd | |
parent | directory fix (Manifest recommit) (diff) | |
download | gentoo-2-23ce7c192491479af53bff7840aeeb743420d135.tar.gz gentoo-2-23ce7c192491479af53bff7840aeeb743420d135.tar.bz2 gentoo-2-23ce7c192491479af53bff7840aeeb743420d135.zip |
New version
Diffstat (limited to 'app-laptop/pbbuttonsd')
-rw-r--r-- | app-laptop/pbbuttonsd/ChangeLog | 8 | ||||
-rw-r--r-- | app-laptop/pbbuttonsd/Manifest | 35 | ||||
-rw-r--r-- | app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.11 | 1 | ||||
-rw-r--r-- | app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.11-compat.patch | 24 | ||||
-rw-r--r-- | app-laptop/pbbuttonsd/pbbuttonsd-0.5.11.ebuild | 56 |
5 files changed, 107 insertions, 17 deletions
diff --git a/app-laptop/pbbuttonsd/ChangeLog b/app-laptop/pbbuttonsd/ChangeLog index f298d074aaac..3f1dee278941 100644 --- a/app-laptop/pbbuttonsd/ChangeLog +++ b/app-laptop/pbbuttonsd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-laptop/pbbuttonsd # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.4 2004/04/21 11:52:42 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.5 2004/04/22 10:13:15 lu_zero Exp $ + +*pbbuttonsd-0.5.11 (22 Apr 2004) + + 22 Apr 2004; Luca Barbato <lu_zero@gentoo.org> + +files/pbbuttonsd-0.5.11-compat.patch, +pbbuttonsd-0.5.11.ebuild: + New version, new compatibility patch *pbbuttonsd-0.5.10-r1 (21 Apr 2004) diff --git a/app-laptop/pbbuttonsd/Manifest b/app-laptop/pbbuttonsd/Manifest index d53a10ce184d..48ef4712f766 100644 --- a/app-laptop/pbbuttonsd/Manifest +++ b/app-laptop/pbbuttonsd/Manifest @@ -1,21 +1,24 @@ -MD5 e2a5822b1da735ba10c4c7a8c0ee5468 ChangeLog 4566 +MD5 aec525c89de838e1dcee36022b1ba35c pbbuttonsd-0.4.10a.ebuild 1098 +MD5 a2cd8133036966422430cb191ceab68b ChangeLog 4756 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 d6b0f75522f22eacf38240c3f7447150 pbbuttonsd-0.4.10a.ebuild 1099 -MD5 e48eb761ecbb95285971e6476b3ada28 pbbuttonsd-0.5.2-r1.ebuild 1421 -MD5 d535f3a88cfe51adf06a34979759c149 pbbuttonsd-0.5.8.ebuild 1554 -MD5 5b042dc4cea8e6bd67de01112e7d4521 pbbuttonsd-0.5.9-r1.ebuild 1647 -MD5 2a7c605a245f2ad40fcf13e3e85f78fe pbbuttonsd-0.5.9.ebuild 1555 -MD5 1d47f7f69692ab5aa7508c5cd7ebae51 pbbuttonsd-0.5.10.ebuild 1598 -MD5 543d101521ca6eb379c10c873e2693d9 pbbuttonsd-0.5.10-r1.ebuild 1644 -MD5 c6901eb0354ffab93115cf7eb49935c8 files/digest-pbbuttonsd-0.4.10a 70 -MD5 459c829a59fb5afde8ec96244abbcd68 files/digest-pbbuttonsd-0.5.2-r1 68 -MD5 68d74820f8f82d459c92e4d79eb21e65 files/digest-pbbuttonsd-0.5.8 68 -MD5 888adb1c866daaa6c22e23d07c2367b0 files/digest-pbbuttonsd-0.5.9 68 +MD5 31e0374f2a1bead544cd6982a22e9651 pbbuttonsd-0.5.2-r1.ebuild 1420 +MD5 43b7987c2ca5dfbed006461837d416aa pbbuttonsd-0.5.10-r1.ebuild 1643 +MD5 d1747f39d2aa92249cef31335b7cbe43 pbbuttonsd-0.5.9.ebuild 1554 +MD5 543d101521ca6eb379c10c873e2693d9 pbbuttonsd-0.5.11.ebuild 1644 +MD5 00f2995dfd50b749e0d585b2b704b7cb pbbuttonsd-0.5.8.ebuild 1553 +MD5 19935fb5d708d4ead4256ca2074c7534 pbbuttonsd-0.5.10.ebuild 1597 +MD5 1808e6f826d3af9b6909e10810706366 pbbuttonsd-0.5.9-r1.ebuild 1646 MD5 888adb1c866daaa6c22e23d07c2367b0 files/digest-pbbuttonsd-0.5.9-r1 68 +MD5 a25484ee7150c343f693fb3b570f3403 files/digest-pbbuttonsd-0.5.10 69 +MD5 e3ce7dc625651b0249b338997267d288 files/digest-pbbuttonsd-0.5.11 69 MD5 56622898666491660d75995555e987fa files/pbbuttons-0.5.2-replace_pmud.patch 715 +MD5 888adb1c866daaa6c22e23d07c2367b0 files/digest-pbbuttonsd-0.5.9 68 +MD5 b5980a206e08839a9e1303c95353a223 files/pbbuttonsd-0.5.10-compat.patch 1121 +MD5 68d74820f8f82d459c92e4d79eb21e65 files/digest-pbbuttonsd-0.5.8 68 +MD5 6fa4a67917c2f9b0051243b6868f3c42 files/pbbuttonsd.rc6 452 +MD5 459c829a59fb5afde8ec96244abbcd68 files/digest-pbbuttonsd-0.5.2-r1 68 MD5 831fe80c3eeb273f204b8a41f7ac2810 files/pbbuttonsd-compat.patch 1070 -MD5 4eb84bf95682f026d1ad6c72e6b7d7fd files/pbbuttonsd.rc5 512 -MD5 db10b2619b7554160d4fbdd6f990ea1c files/pbbuttonsd.rc6 453 -MD5 a25484ee7150c343f693fb3b570f3403 files/digest-pbbuttonsd-0.5.10 69 MD5 a25484ee7150c343f693fb3b570f3403 files/digest-pbbuttonsd-0.5.10-r1 69 -MD5 b5980a206e08839a9e1303c95353a223 files/pbbuttonsd-0.5.10-compat.patch 1121 +MD5 f96e1a83c3d9764a16f9efaa9c9bcb46 files/pbbuttonsd.rc5 511 +MD5 c6901eb0354ffab93115cf7eb49935c8 files/digest-pbbuttonsd-0.4.10a 70 +MD5 1f7eb1378520b49ca348255b4c449224 files/pbbuttonsd-0.5.11-compat.patch 1123 diff --git a/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.11 b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.11 new file mode 100644 index 000000000000..5f3950fe3edd --- /dev/null +++ b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.11 @@ -0,0 +1 @@ +MD5 3aa9d096212f36304274e7d2e3e30457 pbbuttonsd-0.5.11.tar.gz 343929 diff --git a/app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.11-compat.patch b/app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.11-compat.patch new file mode 100644 index 000000000000..baf1e3b3b844 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/pbbuttonsd-0.5.11-compat.patch @@ -0,0 +1,24 @@ +diff -ruN pbbuttonsd-0.5.11.orig/libpbbipc/pbbtags.h pbbuttonsd-0.5.11/libpbbipc/pbbtags.h +--- pbbuttonsd-0.5.11.orig/libpbbipc/pbbtags.h 2004-04-22 11:51:28.864160008 +0200 ++++ pbbuttonsd-0.5.11/libpbbipc/pbbtags.h 2004-04-22 11:53:31.577504744 +0200 +@@ -92,6 +92,20 @@ + #define TAG_BLANKFRAMEBUFFER MOD_DISPLAY | 9 + #define TAG_DIMFULLYDARK MOD_DISPLAY | 11 + ++/* Compatibility tags, needed by kmilo and possibly other programs */ ++#define TAG_BRIGHTNESSUPKEY MOD_DISPLAY | 1 ++#define TAG_BRIGHTNESSUPMOD MOD_DISPLAY | 2 ++#define TAG_BRIGHTNESSDOWNKEY MOD_DISPLAY | 3 ++#define TAG_BRIGHTNESSDOWNMOD MOD_DISPLAY | 4 ++#define TAG_BRIGHTNESS MOD_DISPLAY | 5 ++#define TAG_BRIGHTNESSOP MOD_DISPLAY | FLG_PRIVATE | 6 ++#define TAG_BRIGHTNESSMAX MOD_DISPLAY | 7 ++#define TAG_FRAMEBUFFERDEVICE MOD_DISPLAY | FLG_STRING | 8 ++#define TAG_BLANKFRAMEBUFFER MOD_DISPLAY | 9 ++#define TAG_FADINGSPEED MOD_DISPLAY | 10 ++#define TAG_DIMFULLYDARK MOD_DISPLAY | 11 ++ ++ + #define MOD_MIXER 5 << 16 + #define TAG_MIXERDEVICE MOD_MIXER | FLG_STRING | 1 + #define TAG_VOLUMEUPKEY MOD_MIXER | 2 diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.5.11.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.5.11.ebuild new file mode 100644 index 000000000000..19f9b0eace9e --- /dev/null +++ b/app-laptop/pbbuttonsd/pbbuttonsd-0.5.11.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.5.11.ebuild,v 1.1 2004/04/22 10:13:15 lu_zero Exp $ + +inherit eutils + +DESCRIPTION="program to map special Powerbook/iBook keys in Linux" +HOMEPAGE="http://www.cymes.de/members/joker/projects/pbbuttons/pbbuttons.html" +SRC_URI="http://www.cymes.de/members/joker/projects/pbbuttons/tar/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~ppc" + +DEPEND="virtual/glibc + >=sys-apps/baselayout-1.8.6.12-r1" +RDEPEND="" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-compat.patch +} + +src_compile() { + econf || die + make || die "compile failed" +} + +src_install() { + local mydir=/var/lib + dodir /etc/power + make \ + sysconfdir=${D}/etc \ + localstatedir=${D}/${mydir} \ + DESTDIR=${D} \ + install \ + || die "failed to install" + exeinto /etc/init.d + newexe ${FILESDIR}/pbbuttonsd.rc6 pbbuttonsd + dodoc README COPYING + #fix the symlink + rm ${D}/etc/pbbuttonsd.conf +# mv ${D}/var/lib/pbbuttons/pbbuttonsd.conf ${D}/etc/pbbuttonsd.conf +# dosym /etc/pbbuttonsd.conf /var/lib/pbbuttons/pbbuttonsd.conf + dosym ${mydir}/pbbuttons/pbbuttonsd.conf /etc/pbbuttonsd.conf + dodir /etc/env.d + echo "CONFIG_PROTECT=${mydir}/pbbuttons" > ${D}/etc/env.d/10pbbuttonsd +} + +pkg_postinst(){ + einfo "This version of pbbuttonsd can replace PMUD functionality." + einfo "If you want PMUD installed and running, you should set" + einfo "replace_pmud=no in /etc/pbbuttonsd.conf. Otherwise you can" + einfo "try setting replace_pmud=yes in /etc/pbbuttonsd.conf and" + einfo "disabling PMUD" +} |