1 |
jer 10/09/08 05:37:38 |
2 |
|
3 |
Added: nvclock-9999.ebuild nvclock-0.8_beta4-r4.ebuild |
4 |
ChangeLog metadata.xml |
5 |
Log: |
6 |
Move from media-video/nvclock to sys-power/nvclock. |
7 |
|
8 |
(Portage version: 2.2_rc77/cvs/Linux i686, RepoMan options: --force) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 sys-power/nvclock/nvclock-9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/nvclock/nvclock-9999.ebuild?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/nvclock/nvclock-9999.ebuild?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: nvclock-9999.ebuild |
17 |
=================================================================== |
18 |
# Copyright 1999-2010 Gentoo Foundation |
19 |
# Distributed under the terms of the GNU General Public License v2 |
20 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/nvclock-9999.ebuild,v 1.1 2010/09/08 05:37:38 jer Exp $ |
21 |
|
22 |
EAPI="2" |
23 |
|
24 |
inherit autotools cvs eutils toolchain-funcs |
25 |
|
26 |
ECVS_SERVER="nvclock.cvs.sourceforge.net:/cvsroot/nvclock" |
27 |
ECVS_MODULE="nvclock" |
28 |
ECVS_USER="anonymous" |
29 |
ECVS_PASS="" |
30 |
|
31 |
DESCRIPTION="NVIDIA Overclocking Utility" |
32 |
HOMEPAGE="http://www.linuxhardware.org/nvclock/" |
33 |
|
34 |
LICENSE="GPL-2" |
35 |
SLOT="0" |
36 |
KEYWORDS="" |
37 |
IUSE="gtk" |
38 |
|
39 |
RDEPEND=" |
40 |
gtk? ( x11-libs/gtk+:2 ) |
41 |
" |
42 |
DEPEND="${RDEPEND}" |
43 |
|
44 |
S="${WORKDIR}/${PN}" |
45 |
|
46 |
src_prepare() { |
47 |
eautoreconf |
48 |
sed -i \ |
49 |
-e 's|^CC=|CC?=|g' \ |
50 |
-e 's|^CFLAGS=|CFLAGS+=|g' \ |
51 |
-e '/-o .* /s|-o |$(LDFLAGS) -o |g' \ |
52 |
$( find . -name Makefile.in ) \ |
53 |
|| die "Fixing compiler flags" |
54 |
sed -i src/Makefile.in \ |
55 |
-e '/LIBS=@X11_LIBS@/{s|@X11_LIBS@||g;s|-lnvcontrol|& @X11_LIBS@|g}' \ |
56 |
|| die "Fixing Makefile.in" |
57 |
} |
58 |
|
59 |
src_configure() { |
60 |
tc-export CC |
61 |
econf --disable-qt $(use_enable gtk) || die "econf failed" |
62 |
} |
63 |
|
64 |
src_compile() { |
65 |
# The build fails with -j[N>1] |
66 |
emake -j1 || die "emake failed" |
67 |
} |
68 |
|
69 |
src_install() { |
70 |
dodir /usr/bin |
71 |
einstall || die "einstall failed" |
72 |
dodoc AUTHORS README |
73 |
|
74 |
newinitd "${FILESDIR}"/nvclock_initd nvclock |
75 |
newconfd "${FILESDIR}"/nvclock_confd nvclock |
76 |
} |
77 |
|
78 |
pkg_postinst() { |
79 |
elog "To enable card overclocking at startup, edit your /etc/conf.d/nvclock" |
80 |
elog "accordingly and then run: rc-update add nvclock default" |
81 |
} |
82 |
|
83 |
|
84 |
|
85 |
1.1 sys-power/nvclock/nvclock-0.8_beta4-r4.ebuild |
86 |
|
87 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/nvclock/nvclock-0.8_beta4-r4.ebuild?rev=1.1&view=markup |
88 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/nvclock/nvclock-0.8_beta4-r4.ebuild?rev=1.1&content-type=text/plain |
89 |
|
90 |
Index: nvclock-0.8_beta4-r4.ebuild |
91 |
=================================================================== |
92 |
# Copyright 1999-2010 Gentoo Foundation |
93 |
# Distributed under the terms of the GNU General Public License v2 |
94 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/nvclock-0.8_beta4-r4.ebuild,v 1.1 2010/09/08 05:37:38 jer Exp $ |
95 |
|
96 |
EAPI="2" |
97 |
|
98 |
inherit eutils autotools toolchain-funcs |
99 |
|
100 |
MY_P="${PN}${PV/_beta/b}" |
101 |
S=${WORKDIR}/${MY_P} |
102 |
DESCRIPTION="NVIDIA Overclocking Utility" |
103 |
HOMEPAGE="http://www.linuxhardware.org/nvclock/" |
104 |
SRC_URI="http://www.linuxhardware.org/nvclock/${MY_P}.tar.gz" |
105 |
|
106 |
LICENSE="GPL-2" |
107 |
SLOT="0" |
108 |
KEYWORDS="amd64 ppc x86" |
109 |
IUSE="gtk" |
110 |
|
111 |
RDEPEND="gtk? ( =x11-libs/gtk+-2* )" |
112 |
|
113 |
src_prepare() { |
114 |
# Bug #240846: |
115 |
epatch "${FILESDIR}"/${P}-flags.patch |
116 |
epatch "${FILESDIR}"/${P}-as-needed.patch |
117 |
epatch "${FILESDIR}"/${P}-headers.patch |
118 |
|
119 |
sed -e 's:NV-CONROL:NV-CONTROL:g' -i configure.in |
120 |
sed -i Makefile.in -e "s:/share/doc/nvclock:/share/doc/${PF}:g" || \ |
121 |
die "sed failed" |
122 |
|
123 |
eautoreconf |
124 |
} |
125 |
|
126 |
src_configure() { |
127 |
tc-export CC CXX |
128 |
|
129 |
local myconf |
130 |
|
131 |
myconf="--bindir=/usr/bin" |
132 |
|
133 |
if use gtk; then |
134 |
myconf="${myconf} --enable-nvcontrol" |
135 |
else |
136 |
myconf="${myconf} --disable-nvcontrol" |
137 |
fi |
138 |
|
139 |
econf --disable-qt $(use_enable gtk) ${myconf} || die |
140 |
} |
141 |
|
142 |
src_compile() { |
143 |
emake -j1 || die "emake failed" |
144 |
} |
145 |
|
146 |
src_install() { |
147 |
dodir /usr/bin |
148 |
emake DESTDIR="${D}" install || die |
149 |
#dodoc AUTHORS README |
150 |
|
151 |
newinitd "${FILESDIR}"/nvclock_initd nvclock |
152 |
newconfd "${FILESDIR}"/nvclock_confd nvclock |
153 |
|
154 |
#insinto /usr/share/applications |
155 |
#doins nvclock.desktop |
156 |
#validate_desktop_entries /usr/share/applications/nvclock.desktop |
157 |
} |
158 |
|
159 |
pkg_postinst() { |
160 |
elog "To enable card overclocking at startup, edit your /etc/conf.d/nvclock" |
161 |
elog "accordingly and then run: rc-update add nvclock default" |
162 |
} |
163 |
|
164 |
|
165 |
|
166 |
1.1 sys-power/nvclock/ChangeLog |
167 |
|
168 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/nvclock/ChangeLog?rev=1.1&view=markup |
169 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/nvclock/ChangeLog?rev=1.1&content-type=text/plain |
170 |
|
171 |
Index: ChangeLog |
172 |
=================================================================== |
173 |
# ChangeLog for sys-power/nvclock |
174 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
175 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/ChangeLog,v 1.1 2010/09/08 05:37:38 jer Exp $ |
176 |
|
177 |
08 Sep 2010; Jeroen Roovers <jer@g.o> +nvclock-0.8_beta4-r4.ebuild, |
178 |
+files/nvclock-0.8_beta4-as-needed.patch, |
179 |
+files/nvclock-0.8_beta4-flags.patch, |
180 |
+files/nvclock-0.8_beta4-headers.patch, +nvclock-9999.ebuild, |
181 |
+files/nvclock_confd, +files/nvclock_initd, +metadata.xml: |
182 |
Move from media-video/nvclock to sys-power/nvclock. |
183 |
|
184 |
17 Aug 2010; Jeroen Roovers <jer@g.o> nvclock-9999.ebuild, |
185 |
metadata.xml: |
186 |
Respect LDFLAGS, fix --as-needed, respect CC and CFLAGS, basically what |
187 |
the patches for 0.8_beta4-r4 already do. Describe USE=gtk better than the |
188 |
global description. |
189 |
|
190 |
03 Jan 2010; Samuli Suominen <ssuominen@g.o> |
191 |
nvclock-0.8_beta4-r4.ebuild, nvclock-9999.ebuild: |
192 |
Remove USE="qt3" support wrt bug #284046. |
193 |
|
194 |
15 Dec 2009; Mike Frysinger <vapier@g.o> |
195 |
nvclock-0.8_beta4-r4.ebuild, +files/nvclock-0.8_beta4-headers.patch: |
196 |
Fix implicit function warnings. |
197 |
|
198 |
29 Sep 2009; Jeroen Roovers <jer@g.o> -nvclock-0.7-r2.ebuild, |
199 |
-nvclock-0.8_beta4-r3.ebuild, -files/callbacks.patch, |
200 |
-files/configure.in.diff, -files/nvclock-insecure-tmp.diff: |
201 |
Remove old (bug #284017). |
202 |
|
203 |
27 Sep 2009; Mounir Lamouri <volkmar@g.o> |
204 |
nvclock-0.8_beta4-r4.ebuild: |
205 |
Stable for ppc. Fix bug 284017 |
206 |
|
207 |
11 Sep 2009; Markus Meier <maekke@g.o> nvclock-0.8_beta4-r4.ebuild: |
208 |
amd64/x86 stable, bug #284017 |
209 |
|
210 |
*nvclock-0.8_beta4-r4 (07 Sep 2009) |
211 |
|
212 |
07 Sep 2009; Jeroen Roovers <jer@g.o> +nvclock-0.8_beta4-r4.ebuild: |
213 |
No need for virtual/libc. Fix trivial spelling error. Make sure |
214 |
--enable-nvcontrol is only set when either toolkit is in USE (bug |
215 |
#265804). |
216 |
|
217 |
28 Jul 2009; Jeroen Roovers <jer@g.o> -nvclock-0.8_beta2.ebuild, |
218 |
-nvclock-0.8_beta4.ebuild, -nvclock-0.8_beta4-r2.ebuild: |
219 |
Remove old. |
220 |
|
221 |
*nvclock-9999 (28 Jul 2009) |
222 |
|
223 |
28 Jul 2009; Jeroen Roovers <jer@g.o> +nvclock-9999.ebuild: |
224 |
Add a live ebuild (based on the one by Peter Fern attached to bug #204428). |
225 |
|
226 |
28 Jul 2009; Jeroen Roovers <jer@g.o> metadata.xml: |
227 |
Pick up maintainership. |
228 |
|
229 |
13 Jul 2009; Joseph Jezak <josejx@g.o> nvclock-0.7-r2.ebuild, |
230 |
nvclock-0.8_beta4-r3.ebuild: |
231 |
Marked ~ppc for bug #268571. |
232 |
|
233 |
09 Jul 2009; Jeroen Roovers <jer@g.o> files/nvclock_initd: |
234 |
More strict init.d dependency, ought to fix bug #144592 thanks to Stefano |
235 |
Priore. |
236 |
|
237 |
*nvclock-0.8_beta4-r3 (03 Apr 2009) |
238 |
|
239 |
03 Apr 2009; Jeroen Roovers <jer@g.o> |
240 |
+files/nvclock-0.8_beta4-as-needed.patch, +nvclock-0.8_beta4-r3.ebuild: |
241 |
Patch for --as-needed (bug #247909). |
242 |
|
243 |
02 Apr 2009; Jeroen Roovers <jer@g.o> nvclock-0.8_beta4-r2.ebuild: |
244 |
Install into proper docdir (bug #241292). |
245 |
|
246 |
*nvclock-0.8_beta4-r2 (02 Apr 2009) |
247 |
|
248 |
02 Apr 2009; Jeroen Roovers <jer@g.o> |
249 |
files/nvclock-0.8_beta4-flags.patch, -nvclock-0.8_beta4-r1.ebuild, |
250 |
+nvclock-0.8_beta4-r2.ebuild: |
251 |
Use emake and econf (but with a --bindir= hack because ./configure sucks). |
252 |
|
253 |
*nvclock-0.8_beta4-r1 (02 Apr 2009) |
254 |
|
255 |
02 Apr 2009; Jeroen Roovers <jer@g.o> |
256 |
+files/nvclock-0.8_beta4-flags.patch, +nvclock-0.8_beta4-r1.ebuild: |
257 |
Respect CC/CXX/CFLAGS/CXXFLAGS/LDFLAGS (bug #240846). Install and validate |
258 |
upstream desktop entry. |
259 |
|
260 |
13 Mar 2009; Thilo Bangert <bangert@g.o> -nvclock-0.7-r1.ebuild: |
261 |
remove old/insecure version |
262 |
|
263 |
*nvclock-0.8_beta4 (13 Mar 2009) |
264 |
|
265 |
13 Mar 2009; Thilo Bangert <bangert@g.o> +nvclock-0.8_beta4.ebuild: |
266 |
version bump - bug #260586 |
267 |
|
268 |
04 Jun 2008; Diego Pettenò <flameeyes@g.o> |
269 |
nvclock-0.8_beta2.ebuild: |
270 |
Use eautoreconf, not the bootstrap script. |
271 |
|
272 |
21 Apr 2008; Christian Heim <phreak@g.o> metadata.xml: |
273 |
Fix up metadata.xml. If there's no maintainer for the package, the metadata |
274 |
also needs to contain m-needed@g.o. |
275 |
|
276 |
27 Nov 2007; Matthias Schwarzott <zzam@g.o> nvclock-0.7-r1.ebuild, |
277 |
nvclock-0.7-r2.ebuild, nvclock-0.8_beta2.ebuild: |
278 |
Fixed quoting. |
279 |
|
280 |
05 Jul 2007; Raúl Porcel <armin76@g.o> nvclock-0.7-r2.ebuild: |
281 |
x86 stable wrt security #184071 |
282 |
|
283 |
*nvclock-0.7-r2 (05 Jul 2007) |
284 |
|
285 |
05 Jul 2007; Tavis Ormandy <taviso@g.o> |
286 |
+files/nvclock-insecure-tmp.diff, +nvclock-0.7-r2.ebuild: |
287 |
emergency bump by security team #184071 - ** do not assign me bugs ** |
288 |
|
289 |
15 May 2007; Thilo Bangert <bangert@g.o> metadata.xml: |
290 |
add <herd>no-herd</herd> |
291 |
|
292 |
01 May 2007; Marius Mauch <genone@g.o> nvclock-0.7-r1.ebuild, |
293 |
nvclock-0.8_beta2.ebuild: |
294 |
Replacing einfo with elog |
295 |
|
296 |
*nvclock-0.8_beta2 (14 Oct 2006) |
297 |
|
298 |
14 Oct 2006; <malverian@g.o> +files/nvclock_acinclude_qtlibs.patch, |
299 |
nvclock-0.7-r1.ebuild, +nvclock-0.8_beta2.ebuild, -nvclock-0.8b.ebuild: |
300 |
Fix compile problem with USE=qt3 when Qt4 is installed (#114872). |
301 |
Compilation fix with USE=qt3 on AMD64. Version bump (#143023, #107334). |
302 |
|
303 |
24 Jun 2006; Doug Goldstein <cardoe@g.o> nvclock-0.7-r1.ebuild, |
304 |
nvclock-0.8b.ebuild: |
305 |
USE flag qt->qt3/qt4 change bug #137785 |
306 |
|
307 |
31 Aug 2005; <malverian@g.o> nvclock-0.8b.ebuild: |
308 |
Explicitly disable qt support unless use flag is set |
309 |
|
310 |
*nvclock-0.8b (30 Aug 2005) |
311 |
|
312 |
30 Aug 2005; <malverian@g.o> +nvclock-0.8b.ebuild: |
313 |
Version bump, bug #104281. Works on amd64 and x86. |
314 |
|
315 |
06 Oct 2004; Patrick Kursawe <phosphan@g.o> +files/callbacks.patch, |
316 |
nvclock-0.7-r1.ebuild: |
317 |
Adding fix from bug #38251. Thanks! |
318 |
|
319 |
01 Jul 2004; Jeremy Huddleston <eradicator@g.o> |
320 |
nvclock-0.7-r1.ebuild: |
321 |
virtual/glibc -> virtual/libc |
322 |
|
323 |
06 Dec 2003; <spider@g.o> nvclock-0.7-r1.ebuild: |
324 |
Removed gtk2 IUSE statement |
325 |
|
326 |
*nvclock-0.7-r1 (05 Nov 2003) |
327 |
|
328 |
05 Nov 2003; Philip Walls <malverian@g.o> nvclock-0.7-r1.ebuild |
329 |
files/configure.in.diff files/nvclock_initd files/nvclock_confd : |
330 |
Fix QT detection support, closes bug #32339. Add rc scripts for |
331 |
nvclock (#19365) |
332 |
|
333 |
*nvclock-0.7 (30 Oct 2003) |
334 |
|
335 |
30 Oct 2003; Philip Walls <malverian@g.o> nvclock-0.7.ebuild : |
336 |
Version bump, closes bug #25779; Ebuild cleanups, no more GTK1 frontend |
337 |
|
338 |
*nvclock-0.6.2-r1 (15 Apr 2003) |
339 |
|
340 |
15 Apr 2003; Philip Walls <malverian@g.o> nvclock-0.6.2-r1.ebuild : |
341 |
Moved into stable, removed 0.5 ebuild: see #19394 |
342 |
Thanks to Trans13nt for fixed ebuild/testing |
343 |
|
344 |
*nvclock-0.6.2 (10 Feb 2003) |
345 |
|
346 |
10 Feb 2003; Mike Frysinger <vapier@g.o> : |
347 |
Version bump + configure fixes #15123. |
348 |
|
349 |
*nvclock-0.5 (2 Jun 2002) |
350 |
|
351 |
9 Apr 2003; Martin Holzer <mholzer@g.o> nvclock-0.5.ebuild: |
352 |
Adding /usr to make install. Closes #19060. |
353 |
|
354 |
2 Jun 2002; Joachim Blaabjerg <styx@×××××.org> nvclock-0.5.ebuild: |
355 |
Version bump to 0.5, QT GUI support, minor cleanup. |
356 |
|
357 |
*nvclock-0.4.2 (1 Feb 2002) |
358 |
|
359 |
1 Feb 2002; G.Bevin <gbevin@g.o> ChangeLog : |
360 |
Added initial ChangeLog which should be updated whenever the package is |
361 |
updated in any way. This changelog is targetted to users. This means that the |
362 |
comments should well explained and written in clean English. The details about |
363 |
writing correct changelogs are explained in the skel.ChangeLog file which you |
364 |
can find in the root directory of the portage repository. |
365 |
|
366 |
|
367 |
|
368 |
1.1 sys-power/nvclock/metadata.xml |
369 |
|
370 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/nvclock/metadata.xml?rev=1.1&view=markup |
371 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/nvclock/metadata.xml?rev=1.1&content-type=text/plain |
372 |
|
373 |
Index: metadata.xml |
374 |
=================================================================== |
375 |
<?xml version="1.0" encoding="UTF-8"?> |
376 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
377 |
<pkgmetadata> |
378 |
<herd>no-herd</herd> |
379 |
<maintainer> |
380 |
<email>jer@g.o</email> |
381 |
<name>Jeroen Roovers</name> |
382 |
</maintainer> |
383 |
<use> |
384 |
<flag name="gtk">Install the GTK+ based graphical interface</flag> |
385 |
</use> |
386 |
</pkgmetadata> |