Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 73eda39
Showing
13 changed files
with
221 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
DIST laptop-mode-tools_1.59.tar.gz 102751 RMD160 7fa811d425e817166088c6fb14771282944de5d9 SHA1 332399aace420733ccfa9557fd8d316570153a7c SHA256 d1cd3c1889bb651a9c057a95f5000d8d917070e39d4090b671f421ac2c1a253d |
25 changes: 25 additions & 0 deletions
25
app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.59-pm-utils-1.4.0.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,25 @@ | |||
diff --git install.sh install.sh | |||
index 981221b..2487ccc 100755 | |||
--- install.sh | |||
+++ install.sh | |||
@@ -179,20 +179,6 @@ if ( ! $INSTALL -m 744 man/* "$DESTDIR/$MAN_D/man8" ) ; then | |||
exit 23 | |||
fi | |||
|
|||
- | |||
-# Install pm-utils hook only if pm-utils config dir is present, or force the | |||
-# install if we have a DESTDIR. | |||
-if [ -n "$DESTDIR" -o -d "$DESTDIR/usr/lib/pm-utils/sleep.d" ] ; then | |||
- if ( ! $INSTALL -D -m 755 usr/lib/pm-utils/sleep.d/01laptop-mode "$DESTDIR/usr/lib/pm-utils/sleep.d/01laptop-mode" ) ; then | |||
- echo "$0: Failed to install 01-laptop-mode into /usr/lib/pm-utils/sleep.d. Installation failed." | |||
- exit 36 | |||
- fi | |||
-fi | |||
- | |||
-if [ -f "$DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode" ]; then | |||
- rm -f $DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode; | |||
-fi | |||
- | |||
# udev rule | |||
if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/etc/udev/rules.d/99-laptop-mode.rules" ) ; then | |||
echo "$0: Failed to install udev rule into /etc/udev/rules.d/ Installation failed." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,50 @@ | |||
#!/sbin/runscript | |||
# Copyright 1999-2006 Gentoo Foundation | |||
# Distributed under the terms of the GNU General Public License v2 | |||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/files/laptop_mode.init-1.4,v 1.2 2009/03/17 02:16:16 dirtyepic Exp $ | |||
|
|||
opts="${opts} reload" | |||
|
|||
depend() { | |||
need localmount | |||
use acpid hald | |||
after bootmisc | |||
} | |||
|
|||
checkconfig() { | |||
if [ ! -f /proc/sys/vm/laptop_mode ] ; then | |||
eerror "Kernel does not support laptop_mode" | |||
return 1 | |||
fi | |||
} | |||
|
|||
start() { | |||
checkconfig || return 1 | |||
|
|||
ebegin "Starting laptop_mode" | |||
touch /var/run/laptop-mode-tools/enabled | |||
/usr/sbin/laptop_mode auto >/dev/null | |||
eend $? | |||
} | |||
|
|||
stop() { | |||
ebegin "Stopping laptop_mode" | |||
rm -f /var/run/laptop-mode-tools/enabled | |||
/usr/sbin/laptop_mode stop >/dev/null | |||
eend $? | |||
} | |||
|
|||
reload() { | |||
if ! service_started "${SVCNAME}" ; then | |||
eerror "${SVCNAME} has not yet been started" | |||
return 1 | |||
fi | |||
|
|||
ebegin "Reloading laptop_mode" | |||
/usr/sbin/laptop_mode stop >/dev/null | |||
rm -f /var/run/laptop-mode-tools/* | |||
/usr/sbin/laptop_mode auto force >/dev/null | |||
eend $? | |||
} | |||
|
|||
# vim: set ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
#!/bin/sh | |||
|
|||
/usr/sbin/laptop_mode auto |
68 changes: 68 additions & 0 deletions
68
app-laptop/laptop-mode-tools/laptop-mode-tools-1.59.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,68 @@ | |||
# Copyright 1999-2011 Gentoo Foundation | |||
# Distributed under the terms of the GNU General Public License v2 | |||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.55-r2.ebuild,v 1.1 2011/07/12 20:41:51 robbat2 Exp $ | |||
|
|||
EAPI=2 | |||
inherit eutils | |||
|
|||
MY_P=${PN}_${PV} | |||
|
|||
DESCRIPTION="Linux kernel laptop_mode user-space utilities" | |||
HOMEPAGE="http://www.samwel.tk/laptop_mode/" | |||
SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz" | |||
|
|||
LICENSE="GPL-2" | |||
SLOT="0" | |||
KEYWORDS="~amd64 ~ppc ~x86" | |||
IUSE="acpi apm bluetooth scsi" | |||
|
|||
RDEPEND="sys-apps/ethtool | |||
acpi? ( sys-power/acpid ) | |||
apm? ( sys-apps/apmd ) | |||
bluetooth? ( net-wireless/bluez ) | |||
scsi? ( sys-apps/sdparm ) | |||
sys-apps/hdparm" | |||
DEPEND="" | |||
|
|||
S=${WORKDIR}/${MY_P} | |||
|
|||
#src_prepare() { | |||
# # Patching to avoid !sys-power/pm-utils depend wrt #327443 | |||
# epatch "${FILESDIR}"/${P}-pm-utils-1.4.0.patch | |||
#} | |||
|
|||
src_compile() { :; } | |||
|
|||
src_install() { | |||
DESTDIR="${D}" \ | |||
INIT_D="none" \ | |||
MAN_D="/usr/share/man" \ | |||
ACPI="$(use acpi && echo force || echo disabled)" \ | |||
PMU="$(false && echo force || echo disabled)" \ | |||
APM="$(use apm && echo force || echo disabled)" \ | |||
./install.sh || die | |||
|
|||
dodoc Documentation/*.txt README || die | |||
newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode | |||
|
|||
# Commented out to avoid !sys-power/pm-utils depend wrt #327443 | |||
# exeinto /etc/pm/power.d | |||
# newexe "${FILESDIR}"/laptop_mode_tools.pmutils laptop_mode_tools | |||
|
|||
keepdir /var/run/laptop-mode-tools | |||
} | |||
|
|||
pkg_postinst() { | |||
if ! use acpi && ! use apm; then | |||
ewarn | |||
ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not" | |||
ewarn "automatically disable laptop_mode on low battery." | |||
ewarn | |||
ewarn "This means you can lose up to 10 minutes of work if running" | |||
ewarn "out of battery while laptop_mode is enabled." | |||
ewarn | |||
ewarn "Please see /usr/share/doc/${PF}/laptop-mode.txt.gz for further" | |||
ewarn "information." | |||
ewarn | |||
fi | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
# ChangeLog for gnome-extra/gsmartcontrol | |||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 | |||
# $Header: $ | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
DIST gsmartcontrol-0.8.6.tar.bz2 673712 RMD160 2387a3b078f6e94dcb7122c5f72b94f14d8da30f SHA1 e05dda2815921aa0d2aa18850e2e715c1a5e00e0 SHA256 b0806c0a6b2c3d33755e78b67bd8a2ce895b07aee2a5a75767132694e0f41eda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,30 @@ | |||
# Copyright 1999-2010 Gentoo Foundation | |||
# Distributed under the terms of the GNU General Public License v2 | |||
# $Header: $ | |||
|
|||
EAPI="2" | |||
|
|||
inherit autotools eutils gnome2 | |||
|
|||
DESCRIPTION="Graphical user interface for smartctl" | |||
HOMEPAGE="http://gsmartcontrol.berlios.de" | |||
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" | |||
|
|||
LICENSE="GPL-3" | |||
SLOT="0" | |||
KEYWORDS="~amd64 ~x86" | |||
IUSE="" | |||
|
|||
RDEPEND=" | |||
dev-cpp/gtkmm:2.4 | |||
dev-libs/libpcre | |||
sys-apps/smartmontools" | |||
DEPEND="${RDEPEND} | |||
dev-util/pkgconfig" | |||
|
|||
G2CONF="--docdir=/usr/share/doc/${P}" | |||
|
|||
src_prepare() { | |||
gnome2_src_prepare | |||
eautoreconf | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,6 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | |||
<pkgmetadata> | |||
<herd>no-herd</herd> | |||
<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer> | |||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
DIST xvidcap-1.1.7.tar.gz 4789924 RMD160 782f0f8b4693bb3e96fdf06de71b2f6832b246e0 SHA1 ccdf8ac85c76b202dbf46074df6b3844faf127d1 SHA256 154622801e8d5e91b834e7707e9e1cc65cf20d0161f6e0323bc3bf0efd85195d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,31 @@ | |||
# Copyright 1999-2011 Gentoo Foundation | |||
# Distributed under the terms of the GNU General Public License v2 | |||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.55-r2.ebuild,v 1.1 2011/07/12 20:41:51 robbat2 Exp $ | |||
|
|||
EAPI=2 | |||
inherit eutils | |||
|
|||
MY_P=${PN}-${PV} | |||
|
|||
DESCRIPTION="xvidcap is a screen capture enabling you to capture videos off | |||
yourX-Window desktop for illustration or documentation purposes.It is intended | |||
to be a standards-based alternative to tools like Lotus ScreenCam." | |||
HOMEPAGE="http://sourceforge.net/projects/xvidcap/" | |||
SRC_URI="http://sourceforge.net/projects/xvidcap/files/xvidcap/${PV}/${MY_P}.tar.gz" | |||
|
|||
LICENSE="GPL-2" | |||
SLOT="0" | |||
KEYWORDS="~amd64 ~ppc ~x86" | |||
IUSE="acpi apm bluetooth scsi" | |||
|
|||
RDEPEND="media-video/ffmpeg | |||
x11-base/xorg-server" | |||
DEPEND="" | |||
|
|||
S=${WORKDIR}/${MY_P} | |||
|
|||
src_compile() { :; } | |||
|
|||
src_install() { | |||
dodoc NEWS README || die | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
anderse |