Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 181800 Details for
Bug 230471
app-laptop/laptop-mode-tools-1.47 - version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
laptop-mode-tools-1.47.ebuild.diff
laptop-mode-tools-1.47.ebuild.diff (text/plain), 2.62 KB, created by
Alon Bar-Lev
on 2009-02-12 17:17:07 UTC
(
hide
)
Description:
laptop-mode-tools-1.47.ebuild.diff
Filename:
MIME Type:
Creator:
Alon Bar-Lev
Created:
2009-02-12 17:17:07 UTC
Size:
2.62 KB
patch
obsolete
>--- laptop-mode-tools-1.34.ebuild 2008-06-04 02:05:34.000000000 +0300 >+++ laptop-mode-tools-1.47.ebuild 2009-02-12 17:25:06.000000000 +0200 >@@ -2,7 +2,7 @@ > # 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.34.ebuild,v 1.2 2008/06/03 22:45:17 darkside Exp $ > >-inherit fixheadtails linux-info >+inherit eutils > > MY_P="${PN}_${PV}" > >@@ -14,68 +14,44 @@ LICENSE="GPL-2" > SLOT="0" > KEYWORDS="~amd64 ~ppc ~x86" > >-IUSE="acpi apm" >+IUSE="acpi apm pmu bluetooth hal scsi" > >-DEPEND="acpi? ( sys-power/acpid ) >- apm? ( sys-apps/apmd )" >+DEPEND="sys-apps/ethtool >+ acpi? ( sys-power/acpid ) >+ apm? ( sys-apps/apmd ) >+ pmu? ( sys-power/pm-utils ) >+ bluetooth? ( >+ || ( >+ net-wireless/bluez >+ net-wireless/bluez-utils >+ ) >+ ) >+ hal? ( sys-apps/hal ) >+ scsi? ( sys-apps/sdparm )" > >-pkg_setup() { >- linux-info_pkg_setup >- >- if kernel_is 2 6 && kernel_is lt 2 6 6; then >- eerror >- eerror "${P} requires kernel version 2.6.6 or newer." >- eerror >- die "${P} requires kernel version 2.6.6 or newer" >- elif kernel_is 2 4 && kernel_is lt 2 4 23; then >- eerror >- eerror "${P} requires kernel version 2.4.23 or newer." >- eerror/eti >- die "${P} requires kernel version 2.4.23 or newer" >- fi >-} >+S="${WORKDIR}/${MY_P}" > > src_unpack() { > unpack ${A} >+ cd "${S}" >+ epatch "${FILESDIR}/${P}-install.patch" >+} > >- ht_fix_file "${S}"/usr/sbin/lm-profiler >+src_compile() { >+ : > } > > src_install() { >- dosbin usr/sbin/laptop_mode >- dosbin usr/sbin/lm-profiler >- dosbin usr/sbin/lm-syslog-setup >- >- insinto /etc/laptop-mode >- doins etc/laptop-mode/laptop-mode.conf >- doins etc/laptop-mode/lm-profiler.conf >- >- newinitd "${FILESDIR}"/laptop_mode.init laptop_mode >- >- keepdir /etc/laptop-mode/batt-start >- keepdir /etc/laptop-mode/batt-stop >- keepdir /etc/laptop-mode/lm-ac-start >- keepdir /etc/laptop-mode/lm-ac-stop >- keepdir /etc/laptop-mode/nolm-ac-start >- keepdir /etc/laptop-mode/nolm-ac-stop >- keepdir /etc/laptop-mode/scripts >- >- doman man/* >- >- dodoc Documentation/*.txt README >- >- if use acpi; then >- insinto /etc/acpi/events/ >- doins etc/acpi/events/* >+ DESTDIR="${D}" \ >+ MAN_D="/usr/share/man" \ >+ INIT_D="none" \ >+ APM="$(use apm && echo force || echo disabled)" \ >+ ACPI="$(use acpi && echo force || echo disabled)" \ >+ PMU="$(false && echo force || echo disabled)" \ >+ ./install.sh > >- exeinto /etc/acpi/actions/ >- doexe etc/acpi/actions/* >- fi >- >- if use apm; then >- exeinto /etc/apm/event.d/ >- doexe etc/apm/event.d/* >- fi >+ dodoc Documentation/laptop-mode.txt README >+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode > } > > pkg_postinst() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230471
:
159237
|
159239
|
159569
|
159578
|
160464
|
165312
|
181355
|
181357
|
181359
| 181800