1 |
josejx 07/09/09 01:58:39 |
2 |
|
3 |
Modified: ChangeLog pbbuttonsd-0.8.1-r1.ebuild |
4 |
Added: pbbuttonsd-0.8.1-r2.ebuild |
5 |
Removed: pbbuttonsd-0.7.9.ebuild pbbuttonsd-0.6.6.ebuild |
6 |
pbbuttonsd-0.7.4.ebuild pbbuttonsd-0.7.8.ebuild |
7 |
pbbuttonsd-0.8.0.ebuild |
8 |
Log: |
9 |
Added wireless resume script and cleaned up old ebuilds. |
10 |
(Portage version: 2.1.3.7) |
11 |
|
12 |
Revision Changes Path |
13 |
1.70 app-laptop/pbbuttonsd/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog?rev=1.70&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog?rev=1.70&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog?r1=1.69&r2=1.70 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v |
22 |
retrieving revision 1.69 |
23 |
retrieving revision 1.70 |
24 |
diff -u -r1.69 -r1.70 |
25 |
--- ChangeLog 19 Jul 2007 01:39:04 -0000 1.69 |
26 |
+++ ChangeLog 9 Sep 2007 01:58:39 -0000 1.70 |
27 |
@@ -1,6 +1,17 @@ |
28 |
# ChangeLog for app-laptop/pbbuttonsd |
29 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.69 2007/07/19 01:39:04 josejx Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.70 2007/09/09 01:58:39 josejx Exp $ |
32 |
+ |
33 |
+*pbbuttonsd-0.8.1-r2 (09 Sep 2007) |
34 |
+ |
35 |
+ 09 Sep 2007; Joseph Jezak <josejx@g.o> -files/lm-fix.patch, |
36 |
+ -files/pbbuttonsd-ibam-g++.patch, |
37 |
+ -files/pbbuttonsd-laptopmode-noatime.patch, +files/wireless, |
38 |
+ -files/x86-fix.patch, -pbbuttonsd-0.6.6.ebuild, -pbbuttonsd-0.7.4.ebuild, |
39 |
+ -pbbuttonsd-0.7.8.ebuild, -pbbuttonsd-0.7.9.ebuild, |
40 |
+ -pbbuttonsd-0.8.0.ebuild, pbbuttonsd-0.8.1-r1.ebuild, |
41 |
+ +pbbuttonsd-0.8.1-r2.ebuild: |
42 |
+ Added wireless resume script and cleaned up old ebuilds. |
43 |
|
44 |
*pbbuttonsd-0.8.1-r1 (19 Jul 2007) |
45 |
|
46 |
|
47 |
|
48 |
|
49 |
1.2 app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild?rev=1.2&view=markup |
52 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild?rev=1.2&content-type=text/plain |
53 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild?r1=1.1&r2=1.2 |
54 |
|
55 |
Index: pbbuttonsd-0.8.1-r1.ebuild |
56 |
=================================================================== |
57 |
RCS file: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild,v |
58 |
retrieving revision 1.1 |
59 |
retrieving revision 1.2 |
60 |
diff -u -r1.1 -r1.2 |
61 |
--- pbbuttonsd-0.8.1-r1.ebuild 19 Jul 2007 01:39:04 -0000 1.1 |
62 |
+++ pbbuttonsd-0.8.1-r1.ebuild 9 Sep 2007 01:58:39 -0000 1.2 |
63 |
@@ -1,6 +1,6 @@ |
64 |
# Copyright 1999-2007 Gentoo Foundation |
65 |
# Distributed under the terms of the GNU General Public License v2 |
66 |
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild,v 1.1 2007/07/19 01:39:04 josejx Exp $ |
67 |
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild,v 1.2 2007/09/09 01:58:39 josejx Exp $ |
68 |
|
69 |
inherit autotools flag-o-matic eutils |
70 |
|
71 |
@@ -10,7 +10,7 @@ |
72 |
|
73 |
LICENSE="GPL-2" |
74 |
SLOT="0" |
75 |
-KEYWORDS="~ppc ~x86" |
76 |
+KEYWORDS="ppc ~x86" |
77 |
IUSE="acpi alsa debug doc ibam macbook oss" |
78 |
|
79 |
DEPEND="macbook? ( sys-libs/libsmbios ) |
80 |
|
81 |
|
82 |
|
83 |
1.1 app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r2.ebuild |
84 |
|
85 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r2.ebuild?rev=1.1&view=markup |
86 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r2.ebuild?rev=1.1&content-type=text/plain |
87 |
|
88 |
Index: pbbuttonsd-0.8.1-r2.ebuild |
89 |
=================================================================== |
90 |
# Copyright 1999-2007 Gentoo Foundation |
91 |
# Distributed under the terms of the GNU General Public License v2 |
92 |
# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r2.ebuild,v 1.1 2007/09/09 01:58:39 josejx Exp $ |
93 |
|
94 |
inherit autotools flag-o-matic eutils |
95 |
|
96 |
DESCRIPTION="Handles power management and special keys on laptops." |
97 |
HOMEPAGE="http://pbbuttons.berlios.de" |
98 |
SRC_URI="mirror://sourceforge/pbbuttons/${P}.tar.gz" |
99 |
|
100 |
LICENSE="GPL-2" |
101 |
SLOT="0" |
102 |
KEYWORDS="~ppc ~x86" |
103 |
IUSE="acpi alsa debug doc ibam macbook oss" |
104 |
|
105 |
DEPEND="macbook? ( sys-libs/libsmbios ) |
106 |
>=dev-libs/glib-2.6 |
107 |
doc? ( app-doc/doxygen )" |
108 |
RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0 ) |
109 |
>=dev-libs/glib-2.6" |
110 |
|
111 |
src_unpack() { |
112 |
unpack ${A} |
113 |
cd ${S} |
114 |
|
115 |
epatch ${FILESDIR}/pmcs.patch |
116 |
eautoconf |
117 |
} |
118 |
|
119 |
src_compile() { |
120 |
# Fix crash bug on some systems |
121 |
replace-flags -O? -O1 |
122 |
|
123 |
if use macbook; then |
124 |
laptop=macbook |
125 |
elif use x86 || use amd64; then |
126 |
if use acpi; then |
127 |
laptop=acpi |
128 |
else |
129 |
laptop=i386 |
130 |
fi |
131 |
# Default to PowerBook |
132 |
else |
133 |
laptop=powerbook |
134 |
fi |
135 |
|
136 |
econf laptop=$laptop \ |
137 |
$(use_enable debug) \ |
138 |
$(use_with doc doxygen_docs) \ |
139 |
$(use_with alsa) \ |
140 |
$(use_with oss) \ |
141 |
$(use_with ibam) \ |
142 |
|| die "Sorry, failed to configure pbbuttonsd" |
143 |
|
144 |
# Thanks to Stefan Bruda for this workaround |
145 |
# Using -j1 fixes a parallel build issue with the docs |
146 |
if use doc; then |
147 |
emake -j1 || die "Sorry, failed to compile pbbuttonsd" |
148 |
else |
149 |
emake || die "Sorry, failed to compile pbbuttonsd" |
150 |
fi |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
dodir /etc/power |
155 |
use ibam && dodir /var/lib/ibam |
156 |
make DESTDIR=${D} install || die "failed to install" |
157 |
newinitd ${FILESDIR}/pbbuttonsd.rc6 pbbuttonsd |
158 |
dodoc README |
159 |
use doc && dohtml -r doc/* |
160 |
|
161 |
dodir /etc/power/resume.d |
162 |
dodir /etc/power/suspend.d |
163 |
dodir /etc/power/scripts.d |
164 |
exeinto "/etc/power/scripts.d" |
165 |
doexe ${FILESDIR}/wireless |
166 |
ln -s ${D}/etc/power/scripts.d/wireless ${D}/etc/power/resume.d/wireless |
167 |
} |
168 |
|
169 |
pkg_postinst() { |
170 |
if [ -e /etc/pbbuttonsd.conf ]; then |
171 |
ewarn "The pbbuttonsd.cnf file replaces /etc/pbuttonsd.conf with a new" |
172 |
ewarn "file (/etc/pbbuttonsd.conf) and a new format. Please check the" |
173 |
ewarn "manual page with 'man pbbuttonsd.cnf' for details." |
174 |
ewarn |
175 |
fi |
176 |
|
177 |
if use macbook; then |
178 |
ewarn "Macbook and Macbook Pro users should make sure to have applesmc" |
179 |
ewarn "loaded before starting pbbuttonsdm otherwise auto-adjustments" |
180 |
ewarn "will not work and pbbuttonsd may segfault." |
181 |
fi |
182 |
|
183 |
ewarn "Ensure that the evdev kernel module is loaded otherwise" |
184 |
ewarn "pbbuttonsd won't work. SysV IPC is also required." |
185 |
ewarn |
186 |
ewarn "If you need extra security, you can tell pbbuttonsd to only accept" |
187 |
ewarn "input from one user. You can set the userallowed option in" |
188 |
ewarn "/etc/pbbuttonsd.cnf to limit access." |
189 |
ewarn |
190 |
|
191 |
if use ibam; then |
192 |
elog "To properly initialize the IBaM battery database, you will" |
193 |
elog "need to perform a full discharge/charge cycle. For more" |
194 |
elog "details, please see the pbbuttonsd man page." |
195 |
elog |
196 |
fi |
197 |
|
198 |
elog "A script is now available to reset your wirless connection on resume." |
199 |
elog "Simply uncomment the commented command and set the correct device to" |
200 |
elog "use it. You can find the script in /etc/power/resume.d/wireless" |
201 |
|
202 |
} |
203 |
|
204 |
|
205 |
|
206 |
-- |
207 |
gentoo-commits@g.o mailing list |