diff options
author | Joshua Charles Campbell <warpzero@gentoo.org> | 2004-03-16 04:45:54 +0000 |
---|---|---|
committer | Joshua Charles Campbell <warpzero@gentoo.org> | 2004-03-16 04:45:54 +0000 |
commit | e2ccdbf6ed56a9e441ee2e1f85ca8e51c385b2e9 (patch) | |
tree | 8e55c510ac7736629baba4ea32f3f9b877a22f7d /app-laptop | |
parent | Added ~mips keyword. (Manifest recommit) (diff) | |
download | gentoo-2-e2ccdbf6ed56a9e441ee2e1f85ca8e51c385b2e9.tar.gz gentoo-2-e2ccdbf6ed56a9e441ee2e1f85ca8e51c385b2e9.tar.bz2 gentoo-2-e2ccdbf6ed56a9e441ee2e1f85ca8e51c385b2e9.zip |
app-laptop moves for ppc
Diffstat (limited to 'app-laptop')
21 files changed, 504 insertions, 0 deletions
diff --git a/app-laptop/pbbuttonsd/ChangeLog b/app-laptop/pbbuttonsd/ChangeLog new file mode 100644 index 000000000000..126b893bb5bb --- /dev/null +++ b/app-laptop/pbbuttonsd/ChangeLog @@ -0,0 +1,127 @@ +# ChangeLog for sys-apps/pbbuttonsd +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.1 2004/03/16 04:43:28 warpzero Exp $ + + 15 Mar 2004; Luca Barbato <lu_zero@gentoo.org> pbbuttonsd-0.5.9-r1.ebuild: + Typo in the CONFIG_PROTECT mask fixed + +*pbbuttonsd-0.5.9-r1 (14 Mar 2004) + + 14 Mar 2004; Luca Barbato <lu_zero@gentoo.org> pbbuttonsd-0.5.9-r1.ebuild, + files/pbbuttonsd-compat.patch: + Made sure the library includes are compatible with kmilo + +*pbbuttonsd-0.5.9 (07 Mar 2004) + + 07 Mar 2004; Lars Weiler <pylon@gentoo.org> pbbuttonsd-0.5.9.ebuild: + Version bump. + +*pbbuttonsd-0.5.8 (07 Feb 2004) + + 10 Feb 2004; Mike Frysinger <vapier@gentoo.org> pbbuttonsd.rc6 : + Clean up init.d script. Using start-stop-daemon is a kludge when + the app itself supports daemonizing. + + 07 Feb 2004; Lars Weiler <pylon@gentoo.org> pbbuttonsd-0.5.8.ebuild: + Version bump. + +*pbbuttonsd-0.5.7 (10 Jan 2004) + + 10 Jan 2004; Luca Barbato <lu_zero@gentoo.org> pbbuttonsd-0.5.7.ebuild: + New version, should fix bug #37729 + +*pbbuttonsd-0.5.6-r1 (12 Dec 2003) + + 12 Dec 2003; Luca Barbato <lu_zero@gentoo.org> pbbuttonsd-0.5.6-r1.ebuild, + files/pbbuttonsd.rc5: + Minor changes + + 30 Nov 2003; Luca Barbato <lu_zero@gentoo.org> pbbuttonsd-0.5.6.ebuild: + minor fix + +*pbbuttonsd-0.5.6 (26 Nov 2003) + + 26 Nov 2003; Luca Barbato <lu_zero@gentoo.org> pbbuttonsd-0.5.6.ebuild: + New version + +*pbbuttonsd-0.5.3a (08 May 2003) + + 08 May 2003; Todd Heim <heim@gentoo.org> pbbuttonsd-0.5.3a.ebuild: + version bumped, removed keywords for !ppc archs + +*pbbuttonsd-0.5.2-r1 (17 Dec 2002) + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> pbbuttonsd-0.5.2-r1.ebuild : + This is definitely not for mips. Fixed changelog to work with echangelog. + + 17 Dec 2002; Jon Nall <nall@gentoo.org> pbbuttonsd-0.5.2-r1.ebuild, + files/pbbuttons-0.5.2-replace_pmud.patch : + patched to actually use the pmud replacement code. + +*pbbuttonsd-0.5.2 (17 0ct 2002) + + 14 Mar 2003; Mark Guertin <gerk@gentoo.org> pbbuttonsd-0.5.2-r1.ebuild, + pbbuttonsd-0.5.2.ebuild: + set ppc in keywords + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> pbbuttonsd-0.5.2.ebuild : + This is definitely not for mips. + + 17 Oct 2002; Kain <kain@kain.org> pbbuttonsd-0.5.2.ebuild : + + New ebuild for upstream enhancements and fixes. Pbbuttonsd is no longer + PowerMac only, but I haven't tested this on non-ppc yet. + This is an important update to pbbuttonsd, as its functionality is enhanced + on PPC platforms, and is made more predictable. + +*pbbuttonsd-0.4.10a (28 Jul 2002) + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> pbbuttonsd-0.4.10a.ebuild : + This is definitely not for mips. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + 28 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> pbbuttonsd-0.4.10a.ebuild : + + New ebuild due to bugfixes upstream. + +*pbbuttonsd-0.4.9-r2 (14 July 2002) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> pbbuttonsd-0.4.9-r2.ebuild : + Added KEYWORDS. + +*pbbuttonsd-0.4.9-r1 (14 July 2002) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> pbbuttonsd-0.4.9-r1.ebuild : + Added LICENSE, KEYWORDS, SLOT. + +*pbbuttonsd-0.4.10 (14 July 2002) + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> pbbuttonsd-0.4.10.ebuild : + This is definitely not for mips. + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> pbbuttonsd-0.4.10.ebuild : + Added KEYWORDS. + +*pbbuttons-0.4.10 (Sat Jun 8 11:38:34 EST 2002); gerk <gerk@gentoo.org>: + +June 21 2002 Gerk (gerk@gentoo.org): + + added ARCH checks, no revision bump + +Sat Jun 8 11:38:34 EST 2002; gerk <gerk@gentoo.org>: + Upated for new release + +*pbbuttons-0.4.9-r2 (Mon Jun 3 21:39:42 EST 2002); gerk <gerk@gentoo.org>: + +Mon Jun 3 21:39:42 EST 2002; gerk <gerk@gentoo.org>: + Added init scripts to add to runlevel and set SLOT, LICENSE and + RDEPEND in ebuild. + +*pbbuttons-0.4.9-r1 (Wed May 8 23:28:00 2002 EST); daybird <daybird@gentoo.org>: + +Wed May 8 23:28:00 2002 EST; daybird <daybird@gentoo.org>: + + OK, so this is the second ebuild (forgot the changelog the first time). + It now installs sandbox-safe, and config file goes into /etc, not + /usr/etc (so it willbe protected by config_protect). diff --git a/app-laptop/pbbuttonsd/Manifest b/app-laptop/pbbuttonsd/Manifest new file mode 100644 index 000000000000..b1a80e0a1c51 --- /dev/null +++ b/app-laptop/pbbuttonsd/Manifest @@ -0,0 +1,16 @@ +MD5 18cc8be009eb478b2e9ba0ae4a47b920 pbbuttonsd-0.4.10a.ebuild 1098 +MD5 825949f2a0c96f88f873dd3b065ba120 ChangeLog 4237 +MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 26307dcbb45dee77a19abdf118251c70 pbbuttonsd-0.5.2-r1.ebuild 1416 +MD5 51172d528f194e1a5122954a8c2bb0aa pbbuttonsd-0.5.9.ebuild 1549 +MD5 401f33be04468f38c28460c64aaf2c92 pbbuttonsd-0.5.8.ebuild 1550 +MD5 92847ffddc4a889aa1721136b7767087 pbbuttonsd-0.5.9-r1.ebuild 1643 +MD5 888adb1c866daaa6c22e23d07c2367b0 files/digest-pbbuttonsd-0.5.9-r1 68 +MD5 56622898666491660d75995555e987fa files/pbbuttons-0.5.2-replace_pmud.patch 715 +MD5 888adb1c866daaa6c22e23d07c2367b0 files/digest-pbbuttonsd-0.5.9 68 +MD5 68d74820f8f82d459c92e4d79eb21e65 files/digest-pbbuttonsd-0.5.8 68 +MD5 7caad5c674bdcca49ab7f2b2dc28a5d7 files/pbbuttonsd.rc6 448 +MD5 459c829a59fb5afde8ec96244abbcd68 files/digest-pbbuttonsd-0.5.2-r1 68 +MD5 831fe80c3eeb273f204b8a41f7ac2810 files/pbbuttonsd-compat.patch 1070 +MD5 41eb0b6f43d411c7cd1572ea07b471b2 files/pbbuttonsd.rc5 507 +MD5 c6901eb0354ffab93115cf7eb49935c8 files/digest-pbbuttonsd-0.4.10a 70 diff --git a/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.4.10a b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.4.10a new file mode 100644 index 000000000000..cd4700362d4b --- /dev/null +++ b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.4.10a @@ -0,0 +1 @@ +MD5 97c5d5888346fcfd865fe517e065f3e7 pbbuttonsd-0.4.10a.tar.gz 178197 diff --git a/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.2-r1 b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.2-r1 new file mode 100644 index 000000000000..d9607b0e05a1 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.2-r1 @@ -0,0 +1 @@ +MD5 b7b5bd0ad2a6ba51f1b8d02ea3d23883 pbbuttonsd-0.5.2.tar.gz 192245 diff --git a/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.8 b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.8 new file mode 100644 index 000000000000..1b6f88e1fc75 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.8 @@ -0,0 +1 @@ +MD5 21d6345a25f09d2b4fe971b8e37e3d8c pbbuttonsd-0.5.8.tar.gz 325214 diff --git a/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.9 b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.9 new file mode 100644 index 000000000000..ad9b715c26f4 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.9 @@ -0,0 +1 @@ +MD5 86bef472e7130012cbde8efdcfb4204e pbbuttonsd-0.5.9.tar.gz 338464 diff --git a/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.9-r1 b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.9-r1 new file mode 100644 index 000000000000..ad9b715c26f4 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.5.9-r1 @@ -0,0 +1 @@ +MD5 86bef472e7130012cbde8efdcfb4204e pbbuttonsd-0.5.9.tar.gz 338464 diff --git a/app-laptop/pbbuttonsd/files/pbbuttons-0.5.2-replace_pmud.patch b/app-laptop/pbbuttonsd/files/pbbuttons-0.5.2-replace_pmud.patch new file mode 100644 index 000000000000..ec3f92919851 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/pbbuttons-0.5.2-replace_pmud.patch @@ -0,0 +1,12 @@ +--- src/configfile.c.orig 2002-12-17 21:07:53.000000000 -0600 ++++ src/configfile.c 2002-12-17 21:07:56.000000000 -0600 +@@ -93,7 +93,8 @@ + { "TPModeUpKey", TAG_TPMODEUPKEY, TAG_TPMODEUPMOD, cft_read_key }, + { "TPModeDownKey", TAG_TPMODEDOWNKEY, TAG_TPMODEDOWNMOD, cft_read_key }, + { "TPMode", TAG_TPMODE, 0, cft_read_tpmode }, +- { "KBDMode", TAG_KBDMODE, 0, cft_read_kbdmode }}; ++ { "KBDMode", TAG_KBDMODE, 0, cft_read_kbdmode }, ++ { "replace_pmud", TAG_REPLACEPMUD, 0, cft_read_bool}}; + + if ((stat(configfile, &stat_buf)) == -1) { + print_error (_("WARNING: Couldn't read configfile [%s, %s], using defaults.\n"), configfile, strerror(errno)); diff --git a/app-laptop/pbbuttonsd/files/pbbuttonsd-compat.patch b/app-laptop/pbbuttonsd/files/pbbuttonsd-compat.patch new file mode 100644 index 000000000000..bdb30420a8cb --- /dev/null +++ b/app-laptop/pbbuttonsd/files/pbbuttonsd-compat.patch @@ -0,0 +1,24 @@ +diff -ruN pbbuttonsd-0.5.9.orig/libpbbipc/pbbtags.h pbbuttonsd-0.5.9/libpbbipc/pbbtags.h +--- pbbuttonsd-0.5.9.orig/libpbbipc/pbbtags.h 2004-03-14 01:24:23.000000000 +0100 ++++ pbbuttonsd-0.5.9/libpbbipc/pbbtags.h 2004-03-14 02:55:42.533286776 +0100 +@@ -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/files/pbbuttonsd.rc5 b/app-laptop/pbbuttonsd/files/pbbuttonsd.rc5 new file mode 100644 index 000000000000..eeb7d981e8a9 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/pbbuttonsd.rc5 @@ -0,0 +1,17 @@ +#!/sbin/runscript +# 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/files/pbbuttonsd.rc5,v 1.1 2004/03/16 04:43:28 warpzero Exp $ + +start() { + ebegin "Starting pbbuttonsd" + start-stop-daemon --start --quiet --exec /usr/bin/pbbuttonsd -- -d \ + /var/run/pbbuttonsd.pid + eend $? +} + +stop() { + ebegin "Stopping pbbuttonsd" + start-stop-daemon --stop --quiet --exec /usr/bin/pbbuttonsd + eend $? +} diff --git a/app-laptop/pbbuttonsd/files/pbbuttonsd.rc6 b/app-laptop/pbbuttonsd/files/pbbuttonsd.rc6 new file mode 100644 index 000000000000..0223ad8482c6 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/pbbuttonsd.rc6 @@ -0,0 +1,16 @@ +#!/sbin/runscript +# 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/files/pbbuttonsd.rc6,v 1.1 2004/03/16 04:43:29 warpzero Exp $ + +start() { + ebegin "Starting pbbuttonsd" + /usr/bin/pbbuttonsd -d > /dev/null + eend $? +} + +stop() { + ebegin "Stopping pbbuttonsd" + start-stop-daemon --stop --quiet --exec /usr/bin/pbbuttonsd + eend $? +} diff --git a/app-laptop/pbbuttonsd/metadata.xml b/app-laptop/pbbuttonsd/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/app-laptop/pbbuttonsd/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.4.10a.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.4.10a.ebuild new file mode 100644 index 000000000000..ecf4b9c7693f --- /dev/null +++ b/app-laptop/pbbuttonsd/pbbuttonsd-0.4.10a.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.4.10a.ebuild,v 1.1 2004/03/16 04:43:28 warpzero Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="PBButtons is a PPC-only program to map special Powerbook/iBook keys in Linux" +SRC_URI="http://www.cymes.de/members/joker/projects/pbbuttons/tar/${P}.tar.gz" +HOMEPAGE="http://www.cymes.de/members/joker/projects/pbbuttons/pbbuttons.html" +KEYWORDS="ppc -x86 -amd64 -alpha -hppa -mips -sparc" +DEPEND="virtual/glibc" +RDEPEND="" +SLOT=0 +LICENSE="GPL-2" + +pkg_setup() { + if [ ${ARCH} != "ppc" ] ; then + eerror "Sorry, this is a PPC only package." + die "Sorry, this as a PPC only pacakge." + fi +} + +src_compile() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc || die "sorry, ppc-only package" + make || die "sorry, failed to compile pbbuttons" +} + +src_install() { + + make sysconfdir=${D}/etc DESTDIR=${D} install || die "failed to install" + exeinto /etc/init.d ; newexe ${FILESDIR}/pbbuttonsd.rc5 pbbuttonsd + dodoc README COPYING + +} diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.5.2-r1.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.5.2-r1.ebuild new file mode 100644 index 000000000000..f29f60896e2a --- /dev/null +++ b/app-laptop/pbbuttonsd/pbbuttonsd-0.5.2-r1.ebuild @@ -0,0 +1,48 @@ +# 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.2-r1.ebuild,v 1.1 2004/03/16 04:43:28 warpzero Exp $ + +inherit eutils + +S=${WORKDIR}/${P} +DESCRIPTION="PBButtons is a program to map special Powerbook/iBook keys in Linux" +SRC_URI="http://www.cymes.de/members/joker/projects/pbbuttons/tar/${P}.tar.gz" +HOMEPAGE="http://www.cymes.de/members/joker/projects/pbbuttons/pbbuttons.html" +KEYWORDS="ppc" +DEPEND="virtual/glibc" +RDEPEND="" +SLOT=0 +LICENSE="GPL-2" + +src_unpack() { + unpack ${A} + cd ${S} + + einfo "Patching in fix to enable replace_pmud support" + epatch ${FILESDIR}/pbbuttons-0.5.2-replace_pmud.patch + +} + +src_compile() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc || die "sorry, pbbuttons configure failed" + make || die "sorry, failed to compile pbbuttons" +} + +src_install() { + + dodir /etc/power + make sysconfdir=${D}/etc DESTDIR=${D} install || die "failed to install" + exeinto /etc/init.d ; newexe ${FILESDIR}/pbbuttonsd.rc5 pbbuttonsd + dodoc README COPYING + +} + +src_postinstall(){ + 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" +} diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.5.8.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.5.8.ebuild new file mode 100644 index 000000000000..feb62385ecb1 --- /dev/null +++ b/app-laptop/pbbuttonsd/pbbuttonsd-0.5.8.ebuild @@ -0,0 +1,49 @@ +# 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.8.ebuild,v 1.1 2004/03/16 04:43:28 warpzero Exp $ + +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_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" +} diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.5.9-r1.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.5.9-r1.ebuild new file mode 100644 index 000000000000..cf484f74e49c --- /dev/null +++ b/app-laptop/pbbuttonsd/pbbuttonsd-0.5.9-r1.ebuild @@ -0,0 +1,55 @@ +# 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.9-r1.ebuild,v 1.1 2004/03/16 04:43:28 warpzero 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}/pbbuttonsd-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" +} diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.5.9.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.5.9.ebuild new file mode 100644 index 000000000000..4e87d9970d95 --- /dev/null +++ b/app-laptop/pbbuttonsd/pbbuttonsd-0.5.9.ebuild @@ -0,0 +1,49 @@ +# 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.9.ebuild,v 1.1 2004/03/16 04:43:28 warpzero Exp $ + +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_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}/pbbuttonsd" > ${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" +} diff --git a/app-laptop/wmbatppc/ChangeLog b/app-laptop/wmbatppc/ChangeLog new file mode 100644 index 000000000000..1c566832e43d --- /dev/null +++ b/app-laptop/wmbatppc/ChangeLog @@ -0,0 +1,17 @@ +# ChangeLog for x11-plugins/wmbatppc +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/wmbatppc/ChangeLog,v 1.1 2004/03/16 04:45:54 warpzero Exp $ + + 04 Jan 2004; Daniel Ahlberg <aliz@gentoo.org> wmbatppc-1.0-r1.ebuild: + This seems to be ppc only, not for amd64 + +*wmbatppc-1.0-r1 (04 Jun 2002) + + 29 Aug 2002; Seemant Kulleen <seemant@gentoo.org> * : + + Relocated to x11-plugins + + 04 Jun 2002; Olivier Reisch <doctomoe@gentoo.org> wmbatppc-1.0-r1.ebuild: + + Initial release of the wmbatppc ebuild. Thanks to theim@umd.umich.edu + (Todd Heim) who contributed this ebuild. diff --git a/app-laptop/wmbatppc/Manifest b/app-laptop/wmbatppc/Manifest new file mode 100644 index 000000000000..6f93fbb614b6 --- /dev/null +++ b/app-laptop/wmbatppc/Manifest @@ -0,0 +1,3 @@ +MD5 728008018b30c05af58fb107acf883dd wmbatppc-1.0-r1.ebuild 644 +MD5 43a37c2717e582b9dbc8c4c2d252df41 ChangeLog 645 +MD5 1c36fba32a1054874bc4086e7445478e files/digest-wmbatppc-1.0-r1 63 diff --git a/app-laptop/wmbatppc/files/digest-wmbatppc-1.0-r1 b/app-laptop/wmbatppc/files/digest-wmbatppc-1.0-r1 new file mode 100644 index 000000000000..6195afc82742 --- /dev/null +++ b/app-laptop/wmbatppc/files/digest-wmbatppc-1.0-r1 @@ -0,0 +1 @@ +MD5 2c0bdeed382993fc1d6f66814dc322ba wmbatppc-1.0.tar.gz 32645 diff --git a/app-laptop/wmbatppc/wmbatppc-1.0-r1.ebuild b/app-laptop/wmbatppc/wmbatppc-1.0-r1.ebuild new file mode 100644 index 000000000000..8ce051ffacee --- /dev/null +++ b/app-laptop/wmbatppc/wmbatppc-1.0-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/wmbatppc/wmbatppc-1.0-r1.ebuild,v 1.1 2004/03/16 04:45:54 warpzero Exp $ + +S=${WORKDIR}/wmbatppc +DESCRIPTION="wmbatppc is a small battery-monitoring dockapp. It works on G3/G4 Powerbooks and iBooks." +SRC_URI="http://titelou.free.fr/wmbatppc/${P}.tar.gz" +HOMEPAGE="http://titelou.free.fr/wmbatppc/" + +DEPEND="virtual/x11 + app-laptop/pmud" + +SLOT="1" +LICENSE="GPL-2" +KEYWORDS="ppc -amd64" + +src_compile() { + make || die +} + +src_install () { + dodir /usr/bin/ + dobin wmbatppc + doman wmbatppc.1 +} |