1 |
eva 09/10/29 23:46:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnome-power-manager-2.28.1.ebuild |
5 |
Log: |
6 |
New version for GNOME 2.28. |
7 |
(Portage version: 2.2_rc46/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.111 gnome-extra/gnome-power-manager/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog?rev=1.111&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog?rev=1.111&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog?r1=1.110&r2=1.111 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v |
19 |
retrieving revision 1.110 |
20 |
retrieving revision 1.111 |
21 |
diff -u -r1.110 -r1.111 |
22 |
--- ChangeLog 26 Oct 2009 16:06:59 -0000 1.110 |
23 |
+++ ChangeLog 29 Oct 2009 23:46:49 -0000 1.111 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for gnome-extra/gnome-power-manager |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.110 2009/10/26 16:06:59 remi Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.111 2009/10/29 23:46:49 eva Exp $ |
29 |
+ |
30 |
+*gnome-power-manager-2.28.1 (29 Oct 2009) |
31 |
+ |
32 |
+ 29 Oct 2009; Gilles Dartiguelongue <eva@g.o> |
33 |
+ +gnome-power-manager-2.28.1.ebuild: |
34 |
+ New version for GNOME 2.28. |
35 |
|
36 |
*gnome-power-manager-2.26.4-r1 (26 Oct 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 gnome-extra/gnome-power-manager/gnome-power-manager-2.28.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.28.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.28.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: gnome-power-manager-2.28.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.28.1.ebuild,v 1.1 2009/10/29 23:46:49 eva Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit autotools eutils gnome2 virtualx |
55 |
|
56 |
DESCRIPTION="Gnome Power Manager" |
57 |
HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/" |
58 |
# FIXME: Finish the patchset including translations updates for feature forward port |
59 |
SRC_URI="${SRC_URI} |
60 |
http://dev.gentoo.org/~mrpouet/pub/patches/${P}-cpufreq-patches.tar.lzma" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="doc +hal policykit test" |
66 |
|
67 |
# FIXME: Interactive testsuite (upstream ? I'm so...pessimistic) |
68 |
RESTRICT="test" |
69 |
|
70 |
# HAL is used purely as a fallback for setting brightness if xrandr fail |
71 |
COMMON_DEPEND=">=dev-libs/glib-2.6.0 |
72 |
>=x11-libs/gtk+-2.17.7 |
73 |
>=gnome-base/gconf-2.10.0 |
74 |
>=gnome-base/gnome-keyring-0.6.0 |
75 |
>=dev-libs/dbus-glib-0.71 |
76 |
>=x11-libs/libnotify-0.4.3 |
77 |
>=x11-libs/libwnck-2.10.0 |
78 |
>=x11-libs/cairo-1.0.0 |
79 |
>=gnome-base/gnome-panel-2 |
80 |
>=gnome-base/gconf-2.10 |
81 |
>=media-libs/libcanberra-0.10[gtk] |
82 |
>=sys-apps/devicekit-power-008 |
83 |
>=dev-libs/libunique-1 |
84 |
>=x11-apps/xrandr-1.2 |
85 |
x11-libs/libX11 |
86 |
x11-libs/libXext |
87 |
|
88 |
hal? ( >=sys-apps/hal-0.5.9 ) |
89 |
" |
90 |
RDEPEND="${COMMON_DEPEND} |
91 |
>=sys-auth/consolekit-0.4[policykit?] |
92 |
policykit? ( gnome-extra/polkit-gnome ) |
93 |
" |
94 |
DEPEND="${COMMON_DEPEND} |
95 |
sys-devel/gettext |
96 |
app-text/scrollkeeper |
97 |
app-text/docbook-xml-dtd:4.3 |
98 |
>=dev-util/pkgconfig-0.9 |
99 |
>=dev-util/intltool-0.35 |
100 |
>=app-text/gnome-doc-utils-0.3.2 |
101 |
doc? ( |
102 |
app-text/xmlto |
103 |
app-text/docbook-sgml-utils |
104 |
app-text/docbook-xml-dtd:4.4 |
105 |
app-text/docbook-sgml-dtd:4.1 |
106 |
app-text/docbook-xml-dtd:4.1.2 )" |
107 |
|
108 |
# docbook-sgml-utils and docbook-sgml-dtd-4.1 used for creating man pages |
109 |
# (files under ${S}/man). |
110 |
# docbook-xml-dtd-4.4 and -4.1.2 are used by the xml files under ${S}/docs. |
111 |
|
112 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
113 |
|
114 |
pkg_setup() { |
115 |
G2CONF="${G2CONF} |
116 |
$(use_enable hal) |
117 |
$(use_enable test tests) |
118 |
$(use_enable doc docbook-docs) |
119 |
$(use_enable policykit gconf-defaults) |
120 |
--enable-compile-warnings=minimum |
121 |
--with-dpms-ext |
122 |
--enable-applets" |
123 |
|
124 |
if ! use hal; then |
125 |
ewarn "hal support disabled, cpufreq applet will not be built" |
126 |
fi |
127 |
} |
128 |
|
129 |
src_prepare() { |
130 |
gnome2_src_prepare |
131 |
|
132 |
# Fix crazy cflags |
133 |
sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.ac configure \ |
134 |
|| die "sed 1 failed" |
135 |
|
136 |
# Drop debugger CFLAGS |
137 |
sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' -i configure.ac \ |
138 |
|| die "sed 2 failed" |
139 |
|
140 |
# Drop test that needs a running daemon |
141 |
sed 's:^\(.*gpm_inhibit_test (test);\)://\1:' -i src/gpm-self-test.c \ |
142 |
|| die "sed 3 failed" |
143 |
|
144 |
# Skip crazy compilation warnings, bug #263078 |
145 |
epatch "${FILESDIR}/${PN}-2.26.0-gcc44-options.patch" |
146 |
|
147 |
# Resurrect cpufreq in capplet, bug #263891 |
148 |
epatch "${WORKDIR}/${P}-cpufreq-libhal-glib.patch" |
149 |
epatch "${WORKDIR}/${P}-cpufreq-support.patch" |
150 |
epatch "${WORKDIR}/${P}-cpufreq-ui.patch" |
151 |
# epatch "${WORKDIR}/${PN}-2.26.3-cpufreq-po.patch" |
152 |
|
153 |
# Fix uninstalled cpufreq schemas, bug #266995 |
154 |
epatch "${WORKDIR}/${P}-cpufreq-schemas.patch" |
155 |
|
156 |
# Make it libtool-1 compatible |
157 |
rm -v m4/lt* m4/libtool.m4 || die "removing libtool macros failed" |
158 |
|
159 |
intltoolize --force --copy --automake || die "intltoolize failed" |
160 |
eautoreconf |
161 |
|
162 |
if ! use doc; then |
163 |
# Remove the docbook2man rules here since it's not handled by a proper |
164 |
# parameter in configure.in. |
165 |
sed -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' \ |
166 |
-i "${S}/man/Makefile.in" || die "sed 4 failed" |
167 |
fi |
168 |
|
169 |
# glibc splits this out, whereas other libc's do not tend to |
170 |
use elibc_glibc || sed -e 's/-lresolv//' -i configure || die "sed 5 failed" |
171 |
} |
172 |
|
173 |
src_test() { |
174 |
unset DBUS_SESSION_BUS_ADDRESS |
175 |
Xemake check || die "Test phase failed" |
176 |
} |
177 |
|
178 |
pkg_postinst() { |
179 |
gnome2_pkg_postinst |
180 |
|
181 |
elog "cpufreq capplet is a feature maintained by Gentoo GNOME team." |
182 |
elog "Please DO NOT REPORT bugs on upstream bugzilla if you have a problem with it" |
183 |
elog "Please report on http://bugs.gentoo.org instead." |
184 |
|
185 |
if use hal; then |
186 |
elog |
187 |
elog "To enable frequency scaling interface, use the following command:" |
188 |
elog " gconftool-2 /apps/gnome-power-manager/ui/cpufreq_show" |
189 |
elog "Note that this will conflict with other power managment utility" |
190 |
elog "like app-laptop/laptop-mode-tools." |
191 |
fi |
192 |
} |