1 |
pacho 12/01/31 08:36:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnome-power-manager-2.32.0-r3.ebuild |
5 |
Removed: gnome-power-manager-2.32.0.ebuild |
6 |
gnome-power-manager-2.32.0-r1.ebuild |
7 |
Log: |
8 |
Apply ubuntu patch to fix duplicated batteries (bug #385529 by Charles G Waldman and Jacek) as I neither suffer any regression with kernel 3.0.x. Drop old. |
9 |
|
10 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.168 gnome-extra/gnome-power-manager/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog?rev=1.168&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog?rev=1.168&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog?r1=1.167&r2=1.168 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v |
22 |
retrieving revision 1.167 |
23 |
retrieving revision 1.168 |
24 |
diff -u -r1.167 -r1.168 |
25 |
--- ChangeLog 2 Jan 2012 00:51:49 -0000 1.167 |
26 |
+++ ChangeLog 31 Jan 2012 08:36:14 -0000 1.168 |
27 |
@@ -1,6 +1,16 @@ |
28 |
# ChangeLog for gnome-extra/gnome-power-manager |
29 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.167 2012/01/02 00:51:49 tetromino Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.168 2012/01/31 08:36:14 pacho Exp $ |
32 |
+ |
33 |
+*gnome-power-manager-2.32.0-r3 (31 Jan 2012) |
34 |
+ |
35 |
+ 31 Jan 2012; Pacho Ramos <pacho@g.o> |
36 |
+ +files/gnome-power-manager-2.32.0-duplicated-battery.patch, |
37 |
+ +gnome-power-manager-2.32.0-r3.ebuild, -gnome-power-manager-2.32.0-r1.ebuild, |
38 |
+ -gnome-power-manager-2.32.0.ebuild: |
39 |
+ Apply ubuntu patch to fix duplicated batteries (bug #385529 by Charles G |
40 |
+ Waldman and Jacek) as I neither suffer any regression with kernel 3.0.x. Drop |
41 |
+ old. |
42 |
|
43 |
02 Jan 2012; Alexandre Rostovtsev <tetromino@g.o> |
44 |
gnome-power-manager-2.32.0-r2.ebuild: |
45 |
|
46 |
|
47 |
|
48 |
1.1 gnome-extra/gnome-power-manager/gnome-power-manager-2.32.0-r3.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.32.0-r3.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.32.0-r3.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: gnome-power-manager-2.32.0-r3.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2012 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.32.0-r3.ebuild,v 1.1 2012/01/31 08:36:14 pacho Exp $ |
58 |
|
59 |
EAPI="4" |
60 |
GNOME_TARBALL_SUFFIX="bz2" |
61 |
GCONF_DEBUG="no" |
62 |
|
63 |
inherit autotools eutils gnome2 virtualx |
64 |
|
65 |
DESCRIPTION="A session daemon for GNOME that makes it easy to manage your laptop or desktop system" |
66 |
HOMEPAGE="http://projects.gnome.org/gnome-power-manager/" |
67 |
SRC_URI="${SRC_URI} http://dev.gentoo.org/~pacho/gnome/${PN}-2.32.0-keyboard-backlight.patch.xz" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
72 |
IUSE="+applet doc policykit test" |
73 |
|
74 |
# FIXME: Interactive testsuite (upstream ? I'm so...pessimistic) |
75 |
RESTRICT="test" |
76 |
|
77 |
COMMON_DEPEND=">=dev-libs/glib-2.13.0:2 |
78 |
>=x11-libs/gtk+-2.17.7:2 |
79 |
>=gnome-base/gnome-keyring-0.6.0 |
80 |
>=dev-libs/dbus-glib-0.71 |
81 |
>=x11-libs/libnotify-0.4.3 |
82 |
>=x11-libs/libwnck-2.10.0:1 |
83 |
>=x11-libs/cairo-1 |
84 |
>=gnome-base/gconf-2.10:2[policykit?] |
85 |
>=media-libs/libcanberra-0.10[gtk] |
86 |
>=sys-power/upower-0.9.1 |
87 |
>=dev-libs/libunique-1.1:1 |
88 |
>=x11-apps/xrandr-1.3 |
89 |
>=x11-proto/xproto-7.0.15 |
90 |
x11-libs/libX11 |
91 |
x11-libs/libXext |
92 |
applet? ( |
93 |
|| ( gnome-base/gnome-panel[bonobo] <gnome-base/gnome-panel-2.32 ) |
94 |
) |
95 |
" |
96 |
RDEPEND="${COMMON_DEPEND} |
97 |
>=sys-auth/consolekit-0.4[policykit?] |
98 |
policykit? ( gnome-extra/polkit-gnome )" |
99 |
DEPEND="${COMMON_DEPEND} |
100 |
x11-proto/randrproto |
101 |
|
102 |
sys-devel/gettext |
103 |
app-text/scrollkeeper |
104 |
app-text/docbook-xml-dtd:4.3 |
105 |
>=dev-util/pkgconfig-0.9 |
106 |
>=dev-util/intltool-0.35 |
107 |
>=app-text/gnome-doc-utils-0.3.2 |
108 |
doc? ( |
109 |
app-text/xmlto |
110 |
app-text/docbook-sgml-utils |
111 |
app-text/docbook-xml-dtd:4.4 |
112 |
app-text/docbook-sgml-dtd:4.1 |
113 |
app-text/docbook-xml-dtd:4.1.2 )" |
114 |
|
115 |
# docbook-sgml-utils and docbook-sgml-dtd-4.1 used for creating man pages |
116 |
# (files under ${S}/man). |
117 |
# docbook-xml-dtd-4.4 and -4.1.2 are used by the xml files under ${S}/docs. |
118 |
|
119 |
pkg_setup() { |
120 |
G2CONF="${G2CONF} |
121 |
$(use_enable applet applets) |
122 |
$(use_enable doc docbook-docs) |
123 |
$(use_enable policykit gconf-defaults) |
124 |
$(use_enable test tests) |
125 |
--enable-compile-warnings=minimum" |
126 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
127 |
} |
128 |
|
129 |
src_prepare() { |
130 |
epatch "${FILESDIR}"/${P}-libnotify-0.7.patch |
131 |
|
132 |
# Fix intltoolize broken file, see upstream #577133 |
133 |
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \ |
134 |
|| die "sed libtoolize failed" |
135 |
|
136 |
# Drop debugger CFLAGS from configure |
137 |
sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' \ |
138 |
-i configure.ac configure || die "debugger sed failed" |
139 |
|
140 |
# glibc splits this out, whereas other libc's do not tend to |
141 |
if use elibc_glibc; then |
142 |
sed -e 's/-lresolv//' \ |
143 |
-i configure.ac configure || die "resolv sed failed" |
144 |
fi |
145 |
|
146 |
# Fixed bgo#644143, how to convert from percentage to discrete and vice-versa. |
147 |
epatch "${FILESDIR}/${P}-convert-percentage.patch" |
148 |
|
149 |
# Don't try to close a non-opened fd |
150 |
epatch "${FILESDIR}/${P}-close-fd.patch" |
151 |
|
152 |
# Do not use g-p-m in XFCE |
153 |
epatch "${FILESDIR}/${PN}-2.32.0-no-xfce.patch" |
154 |
|
155 |
# Don't crash on systems which don't have XBACKLIGHT |
156 |
epatch "${FILESDIR}/${PN}-2.32.0-xbacklight-crash.patch" |
157 |
|
158 |
# Add keyboard backlight support including dimming on idle and keyboard control |
159 |
epatch "${WORKDIR}/${PN}-2.32.0-keyboard-backlight.patch" |
160 |
|
161 |
# Fix duplicated battery, upstream bug #636915 |
162 |
epatch "${FILESDIR}/${PN}-2.32.0-duplicated-battery.patch" |
163 |
|
164 |
# FIXME: This is required to prevent maintainer mode after "debugger sed" |
165 |
intltoolize --force --copy --automake || die "intltoolize failed" |
166 |
eautoreconf |
167 |
|
168 |
gnome2_src_prepare |
169 |
|
170 |
# This needs to be after eautoreconf to prevent problems like bug #356277 |
171 |
if ! use doc; then |
172 |
# Remove the docbook2man rules here since it's not handled by a proper |
173 |
# parameter in configure.in. |
174 |
sed -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' -i man/Makefile.in \ |
175 |
|| die "docbook sed failed" |
176 |
fi |
177 |
} |
178 |
|
179 |
src_test() { |
180 |
unset DBUS_SESSION_BUS_ADDRESS |
181 |
dbus-launch Xemake check || die "Test phase failed" |
182 |
} |