From 4a6f245bf4306e37d7adc071b369d211b0131111 Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Mon, 8 Mar 2004 05:30:10 +0000 Subject: Moved to app-laptop --- app-laptop/i8kutils/ChangeLog | 23 +++++++++++ app-laptop/i8kutils/files/digest-i8kutils-1.17 | 1 + app-laptop/i8kutils/files/digest-i8kutils-1.17-r1 | 1 + app-laptop/i8kutils/files/i8k.conf | 31 +++++++++++++++ app-laptop/i8kutils/files/i8k.init | 47 +++++++++++++++++++++++ app-laptop/i8kutils/i8kutils-1.17-r1.ebuild | 41 ++++++++++++++++++++ app-laptop/i8kutils/i8kutils-1.17.ebuild | 35 +++++++++++++++++ app-laptop/i8kutils/metadata.xml | 5 +++ sys-apps/i8kutils/ChangeLog | 17 -------- sys-apps/i8kutils/Manifest | 8 ---- sys-apps/i8kutils/files/digest-i8kutils-1.17 | 1 - sys-apps/i8kutils/files/digest-i8kutils-1.17-r1 | 1 - sys-apps/i8kutils/files/i8k.conf | 31 --------------- sys-apps/i8kutils/files/i8k.init | 47 ----------------------- sys-apps/i8kutils/i8kutils-1.17-r1.ebuild | 41 -------------------- sys-apps/i8kutils/i8kutils-1.17.ebuild | 35 ----------------- sys-apps/i8kutils/metadata.xml | 5 --- 17 files changed, 184 insertions(+), 186 deletions(-) create mode 100644 app-laptop/i8kutils/ChangeLog create mode 100644 app-laptop/i8kutils/files/digest-i8kutils-1.17 create mode 100644 app-laptop/i8kutils/files/digest-i8kutils-1.17-r1 create mode 100644 app-laptop/i8kutils/files/i8k.conf create mode 100644 app-laptop/i8kutils/files/i8k.init create mode 100644 app-laptop/i8kutils/i8kutils-1.17-r1.ebuild create mode 100644 app-laptop/i8kutils/i8kutils-1.17.ebuild create mode 100644 app-laptop/i8kutils/metadata.xml delete mode 100644 sys-apps/i8kutils/ChangeLog delete mode 100644 sys-apps/i8kutils/Manifest delete mode 100644 sys-apps/i8kutils/files/digest-i8kutils-1.17 delete mode 100644 sys-apps/i8kutils/files/digest-i8kutils-1.17-r1 delete mode 100644 sys-apps/i8kutils/files/i8k.conf delete mode 100644 sys-apps/i8kutils/files/i8k.init delete mode 100644 sys-apps/i8kutils/i8kutils-1.17-r1.ebuild delete mode 100644 sys-apps/i8kutils/i8kutils-1.17.ebuild delete mode 100644 sys-apps/i8kutils/metadata.xml diff --git a/app-laptop/i8kutils/ChangeLog b/app-laptop/i8kutils/ChangeLog new file mode 100644 index 000000000000..ef8c236b9fe6 --- /dev/null +++ b/app-laptop/i8kutils/ChangeLog @@ -0,0 +1,23 @@ +# ChangeLog for sys-apps/i8kutils +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/ChangeLog,v 1.1 2004/03/08 05:28:47 latexer Exp $ + +*i8kutils-1.17 (08 Mar 2004) + + 08 Mar 2004; Peter Johanson i8kutils-1.17-r1.ebuild, + i8kutils-1.17.ebuild, metadata.xml, files/i8k.conf, files/i8k.init: + Moved to app-laptop from sys-apps + +*i8kutils-1.17-r1 (04 Dec 2003) + + 04 Dec 2003; Hanno Boeck i8kutils-1.17-r1.ebuild, + files/i8k.conf, files/i8k.init: + init-script added (thanks to Frank Szczerba in bug #17022). + +*i8kutils-1.17 (08 Nov 2002) + + 24 Feb 2003; Nicholas Wourms i8kutils-1.17.ebuild : + This is definitely not for mips. + + 08 Nov 2002; Hanno Boeck i8kutils-1.17.ebuild : + Added i8kutils-ebuild. Resolves bug #4628. diff --git a/app-laptop/i8kutils/files/digest-i8kutils-1.17 b/app-laptop/i8kutils/files/digest-i8kutils-1.17 new file mode 100644 index 000000000000..9fbe24332c88 --- /dev/null +++ b/app-laptop/i8kutils/files/digest-i8kutils-1.17 @@ -0,0 +1 @@ +MD5 c76e42d645f359eb898495a5e72dd1ac i8kutils-1.17.tar.bz2 37782 diff --git a/app-laptop/i8kutils/files/digest-i8kutils-1.17-r1 b/app-laptop/i8kutils/files/digest-i8kutils-1.17-r1 new file mode 100644 index 000000000000..9fbe24332c88 --- /dev/null +++ b/app-laptop/i8kutils/files/digest-i8kutils-1.17-r1 @@ -0,0 +1 @@ +MD5 c76e42d645f359eb898495a5e72dd1ac i8kutils-1.17.tar.bz2 37782 diff --git a/app-laptop/i8kutils/files/i8k.conf b/app-laptop/i8kutils/files/i8k.conf new file mode 100644 index 000000000000..c5bd389b294a --- /dev/null +++ b/app-laptop/i8kutils/files/i8k.conf @@ -0,0 +1,31 @@ +# Config file for /etc/init.d/i8k + +# Parameters: +# +# i8kbuttons Parameters +# ===================== +# VOLUME_UP : command for i8kbuttons to run on volume up key +# VOLUME_DOWN : command for i8kbuttons to run on volume down key +# VOLUME_MUTE : command for i8kbuttons to run on mute key +# BUTTON_REPEAT : repeat rate, in milliseconds, for i8kbuttons keypresses +# +# If VOLUME_* commands are not defined, i8kbuttons will not be started +# +# i8kmon Parameters +# ================= +# NOMON : if set, i8kmon will not be started +# NOAUTO : if set, i8kmon will not control the fans +# TIMEOUT : timeout, in seconds, at which i8kmon will check/update status +# (default is 2) + +# for ALSA +MIXER="/usr/bin/amixer -q set Master" +VOLUME_UP="$MIXER 1+" +VOLUME_DOWN="$MIXER 1-" +VOLUME_MUTE="$MIXER toggle" + +# for aumix (no mute support) +#VOLUME_UP="aumix -v +4" +#VOLUME_DOWN="aumix -v -4" + +BUTTON_REPEAT=100 diff --git a/app-laptop/i8kutils/files/i8k.init b/app-laptop/i8kutils/files/i8k.init new file mode 100644 index 000000000000..92b2d991589b --- /dev/null +++ b/app-laptop/i8kutils/files/i8k.init @@ -0,0 +1,47 @@ +#!/sbin/runscript + +depend() { + after alsasound + after modules +} + +checkconfig() { + if [ ! -e /proc/i8k ] ; then + eerror "The i8k driver is not installed" + return 1 + fi +} + +start() { + checkconfig || return 1 + if [ -n "$VOLUME_UP$VOLUME_DOWN$VOLUME_MUTE" ] ; then + ebegin "Starting i8kbuttons" + start-stop-daemon --start --quiet --pidfile /var/run/i8kbuttons.pid \ + --make-pidfile --exec /usr/bin/i8kbuttons --background \ + -- ${VOLUME_UP:+-u "${VOLUME_UP}"} \ + ${VOLUME_DOWN:+-d "$VOLUME_DOWN"} \ + ${VOLUME_MUTE:+-m "$VOLUME_MUTE"} \ + ${BUTTON_REPEAT:+-r "$BUTTON_REPEAT"} + eend $? + fi + if [ ! -n "$NOMON" ]; then + ebegin "Starting i8kmon" + start-stop-daemon --start --quiet --pidfile /var/run/i8kmon.pid \ + --make-pidfile --exec /usr/bin/i8kmon --background \ + -- -d ${NOAUTO:+-na} ${TIMEOUT:+-t $TIMEOUT} + eend $? + fi +} + +stop() { + if [ -n "$VOLUME_UP$VOLUME_DOWN$VOLUME_MUTE" ] ; then + ebegin "Stopping i8kbuttons" + start-stop-daemon --stop --quiet --pidfile /var/run/i8kbuttons.pid + eend $? + fi + if [ ! -n "$NOMON" ]; then + ebegin "Stopping i8kmon" + start-stop-daemon --stop --quiet --pidfile /var/run/i8kmon.pid + eend $? + fi +} diff --git a/app-laptop/i8kutils/i8kutils-1.17-r1.ebuild b/app-laptop/i8kutils/i8kutils-1.17-r1.ebuild new file mode 100644 index 000000000000..e9ef5b985756 --- /dev/null +++ b/app-laptop/i8kutils/i8kutils-1.17-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.17-r1.ebuild,v 1.1 2004/03/08 05:28:47 latexer Exp $ + +S=${WORKDIR}/${P}/ +DESCRIPTION="Dell Inspiron and Latitude utilities" +SRC_URI="http://people.debian.org/~dz/i8k/${P}.tar.bz2" +HOMEPAGE="http://people.debian.org/~dz/i8k/" +DEPEND="virtual/glibc + virtual/x11 + >=dev-lang/tk-8.3.3" +LICENSE="GPL-2" +SLOT="0" +IUSE="tcltk" +KEYWORDS="~x86 ~amd64 -mips" + + +src_compile() { + local target="all" + make ${target} || die +} + +src_install() { + dobin i8kbuttons i8kctl i8kfan i8kmon + use tcltk && dobin i8kmon + doman i8kbuttons.1 i8kctl.1 + use tcltk && doman i8kmon.1 + use tcltk && dosym /usr/bin/i8kctl /usr/bin/i8kfan + dodoc README.i8kutils + dodoc COPYING + dodoc i8kmon.conf + dodoc Configure.help.i8k + docinto examples/ + dodoc examples/* + + insinto /etc/init.d + newins ${FILESDIR}/i8k.init i8k + fperms 755 /etc/init.d/i8k + insinto /etc/conf.d + newins ${FILESDIR}/i8k.conf i8k +} diff --git a/app-laptop/i8kutils/i8kutils-1.17.ebuild b/app-laptop/i8kutils/i8kutils-1.17.ebuild new file mode 100644 index 000000000000..b6e5f8835f32 --- /dev/null +++ b/app-laptop/i8kutils/i8kutils-1.17.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.17.ebuild,v 1.1 2004/03/08 05:28:47 latexer Exp $ + +S=${WORKDIR}/${P}/ +DESCRIPTION="Dell Inspiron and Latitude utilities" +SRC_URI="http://people.debian.org/~dz/i8k/${P}.tar.bz2" +HOMEPAGE="http://people.debian.org/~dz/i8k/" +DEPEND="virtual/glibc + virtual/x11 + >=dev-lang/tk-8.3.3" +LICENSE="GPL-2" +SLOT="0" +IUSE="tcltk" +KEYWORDS="x86 amd64 -mips" + + +src_compile() { + local target="all" + make ${target} || die +} + +src_install() { + dobin i8kbuttons i8kctl i8kfan i8kmon + use tcltk && dobin i8kmon + doman i8kbuttons.1 i8kctl.1 + use tcltk && doman i8kmon.1 + use tcltk && dosym /usr/bin/i8kctl /usr/bin/i8kfan + dodoc README.i8kutils + dodoc COPYING + dodoc i8kmon.conf + dodoc Configure.help.i8k + docinto examples/ + dodoc examples/* +} diff --git a/app-laptop/i8kutils/metadata.xml b/app-laptop/i8kutils/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/app-laptop/i8kutils/metadata.xml @@ -0,0 +1,5 @@ + + + +base-system + diff --git a/sys-apps/i8kutils/ChangeLog b/sys-apps/i8kutils/ChangeLog deleted file mode 100644 index cced1f49e054..000000000000 --- a/sys-apps/i8kutils/ChangeLog +++ /dev/null @@ -1,17 +0,0 @@ -# ChangeLog for sys-apps/i8kutils -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/i8kutils/ChangeLog,v 1.5 2003/12/04 19:16:30 hanno Exp $ - -*i8kutils-1.17-r1 (04 Dec 2003) - - 04 Dec 2003; Hanno Boeck i8kutils-1.17-r1.ebuild, - files/i8k.conf, files/i8k.init: - init-script added (thanks to Frank Szczerba in bug #17022). - -*i8kutils-1.17 (08 Nov 2002) - - 24 Feb 2003; Nicholas Wourms i8kutils-1.17.ebuild : - This is definitely not for mips. - - 08 Nov 2002; Hanno Boeck i8kutils-1.17.ebuild : - Added i8kutils-ebuild. Resolves bug #4628. diff --git a/sys-apps/i8kutils/Manifest b/sys-apps/i8kutils/Manifest deleted file mode 100644 index 5a3d84fdda46..000000000000 --- a/sys-apps/i8kutils/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -MD5 9a4a09b810ac3f172162563629713971 ChangeLog 670 -MD5 18e4919324d1652b640394604b5b6a71 i8kutils-1.17-r1.ebuild 1042 -MD5 4a79ceb37e5053da36ea93d7bc8b2d91 i8kutils-1.17.ebuild 903 -MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 fd4b4c0776410a45903481f5694df4f7 files/digest-i8kutils-1.17 65 -MD5 fd4b4c0776410a45903481f5694df4f7 files/digest-i8kutils-1.17-r1 65 -MD5 d4d358aea65a5d6fd19f4abb17c043d4 files/i8k.conf 891 -MD5 1dae8e3aae85f468d86aaddf072bb559 files/i8k.init 1165 diff --git a/sys-apps/i8kutils/files/digest-i8kutils-1.17 b/sys-apps/i8kutils/files/digest-i8kutils-1.17 deleted file mode 100644 index 9fbe24332c88..000000000000 --- a/sys-apps/i8kutils/files/digest-i8kutils-1.17 +++ /dev/null @@ -1 +0,0 @@ -MD5 c76e42d645f359eb898495a5e72dd1ac i8kutils-1.17.tar.bz2 37782 diff --git a/sys-apps/i8kutils/files/digest-i8kutils-1.17-r1 b/sys-apps/i8kutils/files/digest-i8kutils-1.17-r1 deleted file mode 100644 index 9fbe24332c88..000000000000 --- a/sys-apps/i8kutils/files/digest-i8kutils-1.17-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 c76e42d645f359eb898495a5e72dd1ac i8kutils-1.17.tar.bz2 37782 diff --git a/sys-apps/i8kutils/files/i8k.conf b/sys-apps/i8kutils/files/i8k.conf deleted file mode 100644 index c5bd389b294a..000000000000 --- a/sys-apps/i8kutils/files/i8k.conf +++ /dev/null @@ -1,31 +0,0 @@ -# Config file for /etc/init.d/i8k - -# Parameters: -# -# i8kbuttons Parameters -# ===================== -# VOLUME_UP : command for i8kbuttons to run on volume up key -# VOLUME_DOWN : command for i8kbuttons to run on volume down key -# VOLUME_MUTE : command for i8kbuttons to run on mute key -# BUTTON_REPEAT : repeat rate, in milliseconds, for i8kbuttons keypresses -# -# If VOLUME_* commands are not defined, i8kbuttons will not be started -# -# i8kmon Parameters -# ================= -# NOMON : if set, i8kmon will not be started -# NOAUTO : if set, i8kmon will not control the fans -# TIMEOUT : timeout, in seconds, at which i8kmon will check/update status -# (default is 2) - -# for ALSA -MIXER="/usr/bin/amixer -q set Master" -VOLUME_UP="$MIXER 1+" -VOLUME_DOWN="$MIXER 1-" -VOLUME_MUTE="$MIXER toggle" - -# for aumix (no mute support) -#VOLUME_UP="aumix -v +4" -#VOLUME_DOWN="aumix -v -4" - -BUTTON_REPEAT=100 diff --git a/sys-apps/i8kutils/files/i8k.init b/sys-apps/i8kutils/files/i8k.init deleted file mode 100644 index 92b2d991589b..000000000000 --- a/sys-apps/i8kutils/files/i8k.init +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/runscript - -depend() { - after alsasound - after modules -} - -checkconfig() { - if [ ! -e /proc/i8k ] ; then - eerror "The i8k driver is not installed" - return 1 - fi -} - -start() { - checkconfig || return 1 - if [ -n "$VOLUME_UP$VOLUME_DOWN$VOLUME_MUTE" ] ; then - ebegin "Starting i8kbuttons" - start-stop-daemon --start --quiet --pidfile /var/run/i8kbuttons.pid \ - --make-pidfile --exec /usr/bin/i8kbuttons --background \ - -- ${VOLUME_UP:+-u "${VOLUME_UP}"} \ - ${VOLUME_DOWN:+-d "$VOLUME_DOWN"} \ - ${VOLUME_MUTE:+-m "$VOLUME_MUTE"} \ - ${BUTTON_REPEAT:+-r "$BUTTON_REPEAT"} - eend $? - fi - if [ ! -n "$NOMON" ]; then - ebegin "Starting i8kmon" - start-stop-daemon --start --quiet --pidfile /var/run/i8kmon.pid \ - --make-pidfile --exec /usr/bin/i8kmon --background \ - -- -d ${NOAUTO:+-na} ${TIMEOUT:+-t $TIMEOUT} - eend $? - fi -} - -stop() { - if [ -n "$VOLUME_UP$VOLUME_DOWN$VOLUME_MUTE" ] ; then - ebegin "Stopping i8kbuttons" - start-stop-daemon --stop --quiet --pidfile /var/run/i8kbuttons.pid - eend $? - fi - if [ ! -n "$NOMON" ]; then - ebegin "Stopping i8kmon" - start-stop-daemon --stop --quiet --pidfile /var/run/i8kmon.pid - eend $? - fi -} diff --git a/sys-apps/i8kutils/i8kutils-1.17-r1.ebuild b/sys-apps/i8kutils/i8kutils-1.17-r1.ebuild deleted file mode 100644 index 93aadb3a87cd..000000000000 --- a/sys-apps/i8kutils/i8kutils-1.17-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/i8kutils/i8kutils-1.17-r1.ebuild,v 1.1 2003/12/04 19:16:30 hanno Exp $ - -S=${WORKDIR}/${P}/ -DESCRIPTION="Dell Inspiron and Latitude utilities" -SRC_URI="http://people.debian.org/~dz/i8k/${P}.tar.bz2" -HOMEPAGE="http://people.debian.org/~dz/i8k/" -DEPEND="virtual/glibc - virtual/x11 - >=dev-lang/tk-8.3.3" -LICENSE="GPL-2" -SLOT="0" -IUSE="tcltk" -KEYWORDS="~x86 ~amd64 -mips" - - -src_compile() { - local target="all" - make ${target} || die -} - -src_install() { - dobin i8kbuttons i8kctl i8kfan i8kmon - use tcltk && dobin i8kmon - doman i8kbuttons.1 i8kctl.1 - use tcltk && doman i8kmon.1 - use tcltk && dosym /usr/bin/i8kctl /usr/bin/i8kfan - dodoc README.i8kutils - dodoc COPYING - dodoc i8kmon.conf - dodoc Configure.help.i8k - docinto examples/ - dodoc examples/* - - insinto /etc/init.d - newins ${FILESDIR}/i8k.init i8k - fperms 755 /etc/init.d/i8k - insinto /etc/conf.d - newins ${FILESDIR}/i8k.conf i8k -} diff --git a/sys-apps/i8kutils/i8kutils-1.17.ebuild b/sys-apps/i8kutils/i8kutils-1.17.ebuild deleted file mode 100644 index 7f46f8e16dfc..000000000000 --- a/sys-apps/i8kutils/i8kutils-1.17.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/i8kutils/i8kutils-1.17.ebuild,v 1.6 2003/06/21 21:19:40 drobbins Exp $ - -S=${WORKDIR}/${P}/ -DESCRIPTION="Dell Inspiron and Latitude utilities" -SRC_URI="http://people.debian.org/~dz/i8k/${P}.tar.bz2" -HOMEPAGE="http://people.debian.org/~dz/i8k/" -DEPEND="virtual/glibc - virtual/x11 - >=dev-lang/tk-8.3.3" -LICENSE="GPL-2" -SLOT="0" -IUSE="tcltk" -KEYWORDS="x86 amd64 -mips" - - -src_compile() { - local target="all" - make ${target} || die -} - -src_install() { - dobin i8kbuttons i8kctl i8kfan i8kmon - use tcltk && dobin i8kmon - doman i8kbuttons.1 i8kctl.1 - use tcltk && doman i8kmon.1 - use tcltk && dosym /usr/bin/i8kctl /usr/bin/i8kfan - dodoc README.i8kutils - dodoc COPYING - dodoc i8kmon.conf - dodoc Configure.help.i8k - docinto examples/ - dodoc examples/* -} diff --git a/sys-apps/i8kutils/metadata.xml b/sys-apps/i8kutils/metadata.xml deleted file mode 100644 index 96a2d586367d..000000000000 --- a/sys-apps/i8kutils/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - -base-system - -- cgit v1.2.3-65-gdbad