diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-09-08 05:40:49 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-09-08 05:40:49 +0000 |
commit | 4970cee70083e315e762d3778cb0202b9732278c (patch) | |
tree | 654e0b5429bd1bf59c3a91b34aafc8ccba758080 /media-video | |
parent | Move from media-video/nvclock to sys-power/nvclock. (diff) | |
download | gentoo-2-4970cee70083e315e762d3778cb0202b9732278c.tar.gz gentoo-2-4970cee70083e315e762d3778cb0202b9732278c.tar.bz2 gentoo-2-4970cee70083e315e762d3778cb0202b9732278c.zip |
Move from media-video/nvclock to sys-power/nvclock.
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/nvclock/ChangeLog | 185 | ||||
-rw-r--r-- | media-video/nvclock/Manifest | 10 | ||||
-rw-r--r-- | media-video/nvclock/files/nvclock-0.8_beta4-as-needed.patch | 14 | ||||
-rw-r--r-- | media-video/nvclock/files/nvclock-0.8_beta4-flags.patch | 114 | ||||
-rw-r--r-- | media-video/nvclock/files/nvclock-0.8_beta4-headers.patch | 99 | ||||
-rw-r--r-- | media-video/nvclock/files/nvclock_confd | 9 | ||||
-rw-r--r-- | media-video/nvclock/files/nvclock_initd | 12 | ||||
-rw-r--r-- | media-video/nvclock/metadata.xml | 12 | ||||
-rw-r--r-- | media-video/nvclock/nvclock-0.8_beta4-r4.ebuild | 71 | ||||
-rw-r--r-- | media-video/nvclock/nvclock-9999.ebuild | 64 |
10 files changed, 0 insertions, 590 deletions
diff --git a/media-video/nvclock/ChangeLog b/media-video/nvclock/ChangeLog deleted file mode 100644 index 5132c6b7eec1..000000000000 --- a/media-video/nvclock/ChangeLog +++ /dev/null @@ -1,185 +0,0 @@ -# ChangeLog for media-video/nvclock -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/ChangeLog,v 1.44 2010/08/17 23:37:23 jer Exp $ - - 17 Aug 2010; Jeroen Roovers <jer@gentoo.org> nvclock-9999.ebuild, - metadata.xml: - Respect LDFLAGS, fix --as-needed, respect CC and CFLAGS, basically what - the patches for 0.8_beta4-r4 already do. Describe USE=gtk better than the - global description. - - 03 Jan 2010; Samuli Suominen <ssuominen@gentoo.org> - nvclock-0.8_beta4-r4.ebuild, nvclock-9999.ebuild: - Remove USE="qt3" support wrt bug #284046. - - 15 Dec 2009; Mike Frysinger <vapier@gentoo.org> - nvclock-0.8_beta4-r4.ebuild, +files/nvclock-0.8_beta4-headers.patch: - Fix implicit function warnings. - - 29 Sep 2009; Jeroen Roovers <jer@gentoo.org> -nvclock-0.7-r2.ebuild, - -nvclock-0.8_beta4-r3.ebuild, -files/callbacks.patch, - -files/configure.in.diff, -files/nvclock-insecure-tmp.diff: - Remove old (bug #284017). - - 27 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> - nvclock-0.8_beta4-r4.ebuild: - Stable for ppc. Fix bug 284017 - - 11 Sep 2009; Markus Meier <maekke@gentoo.org> nvclock-0.8_beta4-r4.ebuild: - amd64/x86 stable, bug #284017 - -*nvclock-0.8_beta4-r4 (07 Sep 2009) - - 07 Sep 2009; Jeroen Roovers <jer@gentoo.org> +nvclock-0.8_beta4-r4.ebuild: - No need for virtual/libc. Fix trivial spelling error. Make sure - --enable-nvcontrol is only set when either toolkit is in USE (bug - #265804). - - 28 Jul 2009; Jeroen Roovers <jer@gentoo.org> -nvclock-0.8_beta2.ebuild, - -nvclock-0.8_beta4.ebuild, -nvclock-0.8_beta4-r2.ebuild: - Remove old. - -*nvclock-9999 (28 Jul 2009) - - 28 Jul 2009; Jeroen Roovers <jer@gentoo.org> +nvclock-9999.ebuild: - Add a live ebuild (based on the one by Peter Fern attached to bug #204428). - - 28 Jul 2009; Jeroen Roovers <jer@gentoo.org> metadata.xml: - Pick up maintainership. - - 13 Jul 2009; Joseph Jezak <josejx@gentoo.org> nvclock-0.7-r2.ebuild, - nvclock-0.8_beta4-r3.ebuild: - Marked ~ppc for bug #268571. - - 09 Jul 2009; Jeroen Roovers <jer@gentoo.org> files/nvclock_initd: - More strict init.d dependency, ought to fix bug #144592 thanks to Stefano - Priore. - -*nvclock-0.8_beta4-r3 (03 Apr 2009) - - 03 Apr 2009; Jeroen Roovers <jer@gentoo.org> - +files/nvclock-0.8_beta4-as-needed.patch, +nvclock-0.8_beta4-r3.ebuild: - Patch for --as-needed (bug #247909). - - 02 Apr 2009; Jeroen Roovers <jer@gentoo.org> nvclock-0.8_beta4-r2.ebuild: - Install into proper docdir (bug #241292). - -*nvclock-0.8_beta4-r2 (02 Apr 2009) - - 02 Apr 2009; Jeroen Roovers <jer@gentoo.org> - files/nvclock-0.8_beta4-flags.patch, -nvclock-0.8_beta4-r1.ebuild, - +nvclock-0.8_beta4-r2.ebuild: - Use emake and econf (but with a --bindir= hack because ./configure sucks). - -*nvclock-0.8_beta4-r1 (02 Apr 2009) - - 02 Apr 2009; Jeroen Roovers <jer@gentoo.org> - +files/nvclock-0.8_beta4-flags.patch, +nvclock-0.8_beta4-r1.ebuild: - Respect CC/CXX/CFLAGS/CXXFLAGS/LDFLAGS (bug #240846). Install and validate - upstream desktop entry. - - 13 Mar 2009; Thilo Bangert <bangert@gentoo.org> -nvclock-0.7-r1.ebuild: - remove old/insecure version - -*nvclock-0.8_beta4 (13 Mar 2009) - - 13 Mar 2009; Thilo Bangert <bangert@gentoo.org> +nvclock-0.8_beta4.ebuild: - version bump - bug #260586 - - 04 Jun 2008; Diego Pettenò <flameeyes@gentoo.org> - nvclock-0.8_beta2.ebuild: - Use eautoreconf, not the bootstrap script. - - 21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml: - Fix up metadata.xml. If there's no maintainer for the package, the metadata - also needs to contain m-needed@g.o. - - 27 Nov 2007; Matthias Schwarzott <zzam@gentoo.org> nvclock-0.7-r1.ebuild, - nvclock-0.7-r2.ebuild, nvclock-0.8_beta2.ebuild: - Fixed quoting. - - 05 Jul 2007; Raúl Porcel <armin76@gentoo.org> nvclock-0.7-r2.ebuild: - x86 stable wrt security #184071 - -*nvclock-0.7-r2 (05 Jul 2007) - - 05 Jul 2007; Tavis Ormandy <taviso@gentoo.org> - +files/nvclock-insecure-tmp.diff, +nvclock-0.7-r2.ebuild: - emergency bump by security team #184071 - ** do not assign me bugs ** - - 15 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml: - add <herd>no-herd</herd> - - 01 May 2007; Marius Mauch <genone@gentoo.org> nvclock-0.7-r1.ebuild, - nvclock-0.8_beta2.ebuild: - Replacing einfo with elog - -*nvclock-0.8_beta2 (14 Oct 2006) - - 14 Oct 2006; <malverian@gentoo.org> +files/nvclock_acinclude_qtlibs.patch, - nvclock-0.7-r1.ebuild, +nvclock-0.8_beta2.ebuild, -nvclock-0.8b.ebuild: - Fix compile problem with USE=qt3 when Qt4 is installed (#114872). - Compilation fix with USE=qt3 on AMD64. Version bump (#143023, #107334). - - 24 Jun 2006; Doug Goldstein <cardoe@gentoo.org> nvclock-0.7-r1.ebuild, - nvclock-0.8b.ebuild: - USE flag qt->qt3/qt4 change bug #137785 - - 31 Aug 2005; <malverian@gentoo.org> nvclock-0.8b.ebuild: - Explicitly disable qt support unless use flag is set - -*nvclock-0.8b (30 Aug 2005) - - 30 Aug 2005; <malverian@gentoo.org> +nvclock-0.8b.ebuild: - Version bump, bug #104281. Works on amd64 and x86. - - 06 Oct 2004; Patrick Kursawe <phosphan@gentoo.org> +files/callbacks.patch, - nvclock-0.7-r1.ebuild: - Adding fix from bug #38251. Thanks! - - 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> - nvclock-0.7-r1.ebuild: - virtual/glibc -> virtual/libc - - 06 Dec 2003; <spider@gentoo.org> nvclock-0.7-r1.ebuild: - Removed gtk2 IUSE statement - -*nvclock-0.7-r1 (05 Nov 2003) - - 05 Nov 2003; Philip Walls <malverian@gentoo.org> nvclock-0.7-r1.ebuild - files/configure.in.diff files/nvclock_initd files/nvclock_confd : - Fix QT detection support, closes bug #32339. Add rc scripts for - nvclock (#19365) - -*nvclock-0.7 (30 Oct 2003) - - 30 Oct 2003; Philip Walls <malverian@gentoo.org> nvclock-0.7.ebuild : - Version bump, closes bug #25779; Ebuild cleanups, no more GTK1 frontend - -*nvclock-0.6.2-r1 (15 Apr 2003) - - 15 Apr 2003; Philip Walls <malverian@gentoo.org> nvclock-0.6.2-r1.ebuild : - Moved into stable, removed 0.5 ebuild: see #19394 - Thanks to Trans13nt for fixed ebuild/testing - -*nvclock-0.6.2 (10 Feb 2003) - - 10 Feb 2003; Mike Frysinger <vapier@gentoo.org> : - Version bump + configure fixes #15123. - -*nvclock-0.5 (2 Jun 2002) - - 9 Apr 2003; Martin Holzer <mholzer@gentoo.org> nvclock-0.5.ebuild: - Adding /usr to make install. Closes #19060. - - 2 Jun 2002; Joachim Blaabjerg <styx@SuxOS.org> nvclock-0.5.ebuild: - Version bump to 0.5, QT GUI support, minor cleanup. - -*nvclock-0.4.2 (1 Feb 2002) - - 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : - Added initial ChangeLog which should be updated whenever the package is - updated in any way. This changelog is targetted to users. This means that the - comments should well explained and written in clean English. The details about - writing correct changelogs are explained in the skel.ChangeLog file which you - can find in the root directory of the portage repository. diff --git a/media-video/nvclock/Manifest b/media-video/nvclock/Manifest deleted file mode 100644 index 3ae32fa1dd23..000000000000 --- a/media-video/nvclock/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -AUX nvclock-0.8_beta4-as-needed.patch 651 RMD160 4cf84c94b991b06259ef900edbdcafcab1071901 SHA1 7508ab06776bd85c9ab9b3de134b231bc0f33128 SHA256 f64732aea1e9ef53a91df1c628938c4cafadfef49f6c4a622d29b951302745c7 -AUX nvclock-0.8_beta4-flags.patch 3501 RMD160 ff7e9b58f3ad4b5fec5d2b3fd68705cee5686aff SHA1 a4b4bc40a4dfb9c436361e471c207ebfb74f2444 SHA256 5b6649d93b9b9c0696d4cae723ea6544aed9598a2e31e4eb5f433373c6fd5964 -AUX nvclock-0.8_beta4-headers.patch 2618 RMD160 93160c603311366acc9a4e741cbe81aae21427c2 SHA1 830a7f221fe59c02f080e7cc959262dbbad8b95a SHA256 5919ff5b01eda0f96dedaad90a9aced82e94129f8ff9ef7c242913e7e2a0af74 -AUX nvclock_confd 360 RMD160 a793577e43a9a66bb0eb8b4d22e8ddb39b6ac30c SHA1 c9da108dbe24f5c1a42f859b6d28b83031fcb8ce SHA256 2bbf36faa3b78425471275f70c4d8abdff4720dc854152e4ad7b2da68810bdca -AUX nvclock_initd 144 RMD160 a0b6f2b8c9932902136d580e3084fe82e09f8a1f SHA1 16a9e5aa3278d90e76e232048bd624acc6ee3a18 SHA256 5db21835535d48564417a58a92a646c0f5b8e672779978892094556b7650c140 -DIST nvclock0.8b4.tar.gz 336999 RMD160 02dbfde37514b34c7f0e5a8b71e8205e32575dcc SHA1 758b3848b036e2b3e25368cfec4c6cd82a963dc9 SHA256 bdb695e869822c4740c361bcace81b5527b774002d42785c986da9a92d7a9b0b -EBUILD nvclock-0.8_beta4-r4.ebuild 1675 RMD160 d958363fc60eebd8d43823e409722aa035b11392 SHA1 14dea21e8d6830f319984fa3083e976f2611aa1e SHA256 8f16445cface6e20b0f5ab03f31a88ddaff9c302bf53d2b0b67a297fc09b229c -EBUILD nvclock-9999.ebuild 1471 RMD160 b6939e20f4cc673b3fe3748eb368386576c6bac0 SHA1 149558fea4946750f60055774a3bb5fb3299e3b7 SHA256 43e700db5822b1d43c430d3ac0edefd3b4df3b7786cba36a890e7815a5dc6d71 -MISC ChangeLog 6822 RMD160 942a08fa879e3fbcd83da0015584d6005f9fbfd2 SHA1 a8f7c442c9c18ff4ad7a70301ba006fc8e7e89e2 SHA256 a4a8b49224661f462897598fe306c11440a8a84e96b0c5b7957c305359007be2 -MISC metadata.xml 336 RMD160 9f23751790d0f622dc0f0c96961ea5e618542c20 SHA1 8a10d1f48537909fe3d4857f6ecf74ae35d3de17 SHA256 7045abb398fdbbf41bcfdea62eb5a8264569a8a65cf61519f0f8b8ce8ed0afe9 diff --git a/media-video/nvclock/files/nvclock-0.8_beta4-as-needed.patch b/media-video/nvclock/files/nvclock-0.8_beta4-as-needed.patch deleted file mode 100644 index 5b2d3ea1a6f3..000000000000 --- a/media-video/nvclock/files/nvclock-0.8_beta4-as-needed.patch +++ /dev/null @@ -1,14 +0,0 @@ -Change linking order to make it possible to use -Wl,--as-needed in LDFLAGS - -diff -ru nvclock0.8b4.orig/src/Makefile.in nvclock0.8b4/src/Makefile.in ---- nvclock0.8b4.orig/src/Makefile.in 2009-01-03 12:02:54.000000000 -0500 -+++ nvclock0.8b4/src/Makefile.in 2009-04-02 20:04:12.678271229 -0400 -@@ -15,7 +15,7 @@ - ifeq ($(HAVE_NVCONTROL), yes) - DEPS=$(libbackend) $(libnvcontrol) - INCLUDES=@X11_CFLAGS@ -I./backend -I./nvcontrol -I.. -- LIBS=@X11_LIBS@ -L./backend -lbackend -L./nvcontrol -lnvcontrol -+ LIBS=-L./backend -lbackend -L./nvcontrol -lnvcontrol @X11_LIBS@ - else - DEPS=$(libbackend) - INCLUDES=-I./backend -I./nvcontrol -I.. diff --git a/media-video/nvclock/files/nvclock-0.8_beta4-flags.patch b/media-video/nvclock/files/nvclock-0.8_beta4-flags.patch deleted file mode 100644 index 6f00fc1a3f3b..000000000000 --- a/media-video/nvclock/files/nvclock-0.8_beta4-flags.patch +++ /dev/null @@ -1,114 +0,0 @@ ---- ./nvclock0.8b4/src/backend/Makefile.in.orig 2007-12-27 17:05:38.000000000 +0100 -+++ ./nvclock0.8b4/src/backend/Makefile.in 2009-04-02 09:07:53.000000000 +0200 -@@ -1,11 +1,10 @@ --CC=@CC@ -O0 - AR=ar - RANLIB=@RANLIB@ - - system=@system@ - HAVE_NVCONTROL=@HAVE_NVCONTROL@ - OBJECTS=backend.o bios.o config.o error.o nv30.o nv40.o nv50.o info.o overclock.o utils.o i2c.o xf86i2c.o adt7473.o f75375.o lm99.o w83781d.o w83l785r.o libc_wrapper.o --CFLAGS=@X11_CFLAGS@ -I../.. -I../nvcontrol -+CFLAGS+=@X11_CFLAGS@ -I../.. -I../nvcontrol - - ifeq ($(system), FreeBSD) - OBJECTS+=back_bsd.o -@@ -36,4 +35,4 @@ - rm -f Makefile - - install: --uninstall: -\ No newline at end of file -+uninstall: ---- ./nvclock0.8b4/src/gtk/Makefile.in.orig 2008-05-11 12:25:46.000000000 +0200 -+++ ./nvclock0.8b4/src/gtk/Makefile.in 2009-04-02 09:12:10.000000000 +0200 -@@ -1,7 +1,6 @@ --CC=@CC@ - INSTALL=@INSTALL@ - --CFLAGS=@GTK_CFLAGS@ -I../backend -I../nvcontrol -I../.. -+CFLAGS+=@GTK_CFLAGS@ -I../backend -I../nvcontrol -I../.. - HAVE_GTK2=@HAVE_GTK2@ - HAVE_NVCONTROL=@HAVE_NVCONTROL@ - libbackend=../backend/libbackend.a -@@ -34,7 +33,7 @@ - all: $(PROGRAM) - - nvclock_gtk: $(DEPS) $(OBJECTS) -- $(CC) -o nvclock_gtk $(OBJECTS) $(libbackend) $(LIBS) -+ $(CC) -o nvclock_gtk $(LDFLAGS) $(OBJECTS) $(libbackend) $(LIBS) - - clean: - rm -f nvclock_gtk *.core *.o *.exe ---- ./nvclock0.8b4/src/Makefile.in.orig 2009-01-03 18:02:54.000000000 +0100 -+++ ./nvclock0.8b4/src/Makefile.in 2009-04-02 09:12:24.000000000 +0200 -@@ -1,4 +1,3 @@ --CC=@CC@ - INSTALL=@INSTALL@ - - nvclock_SOURCES=nvclock.c -@@ -31,10 +30,10 @@ - - - nvclock: $(DEPS) $(LIB) nvclock.c -- $(CC) -o nvclock $(nvclock_SOURCES) $(INCLUDES) $(LIBS) -+ $(CC) -o nvclock $(CFLAGS) $(LDFLAGS) $(nvclock_SOURCES) $(INCLUDES) $(LIBS) - - smartdimmer: $(DEPS) $(LIB) smartdimmer.c -- $(CC) -o smartdimmer $(smartdimmer_SOURCES) $(INCLUDES) $(LIBS) -+ $(CC) -o smartdimmer $(CFLAGS) $(LDFLAGS) $(smartdimmer_SOURCES) $(INCLUDES) $(LIBS) - - - clean: clean-recursive clean-app -@@ -50,8 +49,8 @@ - install: install-recursive install-app - install-app: - mkdir -p $(bindir) -- $(INSTALL) -c nvclock $(DESTDIR)$(bindir)/nvclock -- $(INSTALL) -c smartdimmer $(DESTDIR)$(bindir)/smartdimmer -+ $(INSTALL) -c nvclock $(bindir)/nvclock -+ $(INSTALL) -c smartdimmer $(bindir)/smartdimmer - - - uninstall: uninstall-recursive uninstall-app ---- ./nvclock0.8b4/src/nvcontrol/Makefile.in.orig 2005-12-09 20:46:05.000000000 +0100 -+++ ./nvclock0.8b4/src/nvcontrol/Makefile.in 2009-04-02 09:07:53.000000000 +0200 -@@ -1,8 +1,7 @@ --CC=@CC@ - AR=ar - RANLIB=@RANLIB@ - system=@system@ --CFLAGS=@X11_CFLAGS@ -I../backend -+CFLAGS+=@X11_CFLAGS@ -I../backend - HAVE_X11=@HAVE_NVCONTROL@ - OBJECTS=libnvcontrol.o nvcontrol.o - -@@ -26,4 +25,4 @@ - rm -f Makefile - - install: --uninstall: -\ No newline at end of file -+uninstall: ---- ./nvclock0.8b4/src/qt/Makefile.in.orig 2008-05-11 12:25:46.000000000 +0200 -+++ ./nvclock0.8b4/src/qt/Makefile.in 2009-04-02 09:11:51.000000000 +0200 -@@ -1,9 +1,8 @@ --CXX=@CXX@ - INSTALL=@INSTALL@ - MOC=@MOC@ - - OBJECTS=main.o qt_nvclock.o qt_nvclock.moc.o qt_xfree.o qt_xfree.moc.o --CXXFLAGS=@QT_CFLAGS@ -I../backend -+CXXFLAGS+=@QT_CFLAGS@ -I../backend - HAVE_NVCONTROL=@HAVE_NVCONTROL@ - HAVE_QT=@HAVE_QT@ - libbackend=../backend/libbackend.a -@@ -32,7 +31,7 @@ - all: $(PROGRAM) - - nvclock_qt: $(DEPS) qt_nvclock.moc qt_xfree.moc $(OBJECTS) -- $(CXX) -o nvclock_qt $(CXXFLAGS) $(OBJECTS) $(LIBS) -+ $(CXX) -o nvclock_qt $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBS) - - clean: - rm -f nvclock_qt *.core *.moc *.o diff --git a/media-video/nvclock/files/nvclock-0.8_beta4-headers.patch b/media-video/nvclock/files/nvclock-0.8_beta4-headers.patch deleted file mode 100644 index 1ec76eea780e..000000000000 --- a/media-video/nvclock/files/nvclock-0.8_beta4-headers.patch +++ /dev/null @@ -1,99 +0,0 @@ -bios.c: In function ‘dump_bios’: -bios.c:909: warning: implicit declaration of function ‘load_bios_pramin’ -bios.c:911: warning: implicit declaration of function ‘load_bios_prom’ - -diff --git a/src/backend/bios.c b/src/backend/bios.c -index 3266b57..20fadc8 100644 ---- a/src/backend/bios.c -+++ b/src/backend/bios.c -@@ -891,6 +891,8 @@ int main(int argc, char **argv) - - - #else -+int load_bios_pramin(char *data); -+int load_bios_prom(char *data); - void dump_bios(const char *filename) - { - int i; - -libc_wrapper.c: In function ‘xf86usleep’: -libc_wrapper.c:53: warning: implicit declaration of function ‘usleep’ - -diff --git a/src/backend/libc_wrapper.c b/src/backend/libc_wrapper.c -index 4787205..9e490cd 100644 ---- a/src/backend/libc_wrapper.c -+++ b/src/backend/libc_wrapper.c -@@ -25,6 +25,7 @@ - * - */ - -+#include <config.h> - #include <stdio.h> - #include "xfree.h" - - -nv40.c: In function ‘nv43_get_gpu_temp’: -nv40.c:393: warning: implicit declaration of function ‘usleep’ - -diff --git a/src/backend/nv40.c b/src/backend/nv40.c -index 73472fa..63c9609 100644 ---- a/src/backend/nv40.c -+++ b/src/backend/nv40.c -@@ -68,6 +68,7 @@ - - #include <stdio.h> - #include <string.h> -+#include <unistd.h> - #include "backend.h" - - /* - -banner.c: In function ‘banner_set_text’: -banner.c:115: warning: format not a string literal and no format arguments - -diff --git a/src/gtk/banner.c b/src/gtk/banner.c -index df2eb55..69851ae 100644 ---- a/src/gtk/banner.c -+++ b/src/gtk/banner.c -@@ -112,7 +112,7 @@ void banner_set_text(Banner *banner, char *text, int type) - if(banner->text) - g_free(banner->text); - -- banner->text = g_strdup_printf(text); -+ banner->text = g_strdup(text); - banner->type = type; - /* Refresh the banner */ - banner_expose(GTK_WIDGET(banner), NULL, banner); - -main.c: In function ‘gui_init’: -main.c:235: warning: implicit declaration of function ‘XOpenDisplay’ -main.c:235: warning: cast to pointer from integer of different size - -diff --git a/src/gtk/main.c b/src/gtk/main.c -index b3bbacb..df7e5b1 100644 ---- a/src/gtk/main.c -+++ b/src/gtk/main.c -@@ -25,6 +25,7 @@ - - #include <stdlib.h> - #include <gtk/gtk.h> -+#include <X11/Xlib.h> - - #include "banner.h" - #include "interface.h" - -smartdimmer.c: In function ‘main’: -smartdimmer.c:107: warning: implicit declaration of function ‘isdigit’ - -diff --git a/src/smartdimmer.c b/src/smartdimmer.c -index 295cd49..769c1bc 100644 ---- a/src/smartdimmer.c -+++ b/src/smartdimmer.c -@@ -38,6 +38,7 @@ - #include <stdio.h> - #include <stdlib.h> - #include <getopt.h> -+#include <ctype.h> - #include "nvclock.h" - - /* for command line arguments */ diff --git a/media-video/nvclock/files/nvclock_confd b/media-video/nvclock/files/nvclock_confd deleted file mode 100644 index ff7f15bdd746..000000000000 --- a/media-video/nvclock/files/nvclock_confd +++ /dev/null @@ -1,9 +0,0 @@ -# Config file for /etc/init.d/nvclock - -# Set the core clock speed after -n and the memory clock speed after -m -# Check your current speeds by running 'nvclock -s' at the command line -# so you don't overclock too much and burn out the card -# Test out your overclocking before adding this to the bootup! - -CLOCKOPTS="-s" -#CLOCKOPTS="-n <corespeed> -m <memspeed>" diff --git a/media-video/nvclock/files/nvclock_initd b/media-video/nvclock/files/nvclock_initd deleted file mode 100644 index bcab3b581b23..000000000000 --- a/media-video/nvclock/files/nvclock_initd +++ /dev/null @@ -1,12 +0,0 @@ -#!/sbin/runscript - -depend() { - need xdm -} - -start() { - ebegin "Setting nvidia card overclock speed" - nvclock ${CLOCKOPTS} >/dev/null - eend $? -} - diff --git a/media-video/nvclock/metadata.xml b/media-video/nvclock/metadata.xml deleted file mode 100644 index c9589d3d7648..000000000000 --- a/media-video/nvclock/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>jer@gentoo.org</email> - <name>Jeroen Roovers</name> - </maintainer> - <use> - <flag name="gtk">Install the GTK+ based graphical interface</flag> - </use> -</pkgmetadata> diff --git a/media-video/nvclock/nvclock-0.8_beta4-r4.ebuild b/media-video/nvclock/nvclock-0.8_beta4-r4.ebuild deleted file mode 100644 index 15e07aea51c0..000000000000 --- a/media-video/nvclock/nvclock-0.8_beta4-r4.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/nvclock-0.8_beta4-r4.ebuild,v 1.6 2010/01/03 15:57:01 ssuominen Exp $ - -EAPI="2" - -inherit eutils autotools toolchain-funcs - -MY_P="${PN}${PV/_beta/b}" -S=${WORKDIR}/${MY_P} -DESCRIPTION="NVIDIA Overclocking Utility" -HOMEPAGE="http://www.linuxhardware.org/nvclock/" -SRC_URI="http://www.linuxhardware.org/nvclock/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="gtk" - -RDEPEND="gtk? ( =x11-libs/gtk+-2* )" - -src_prepare() { - # Bug #240846: - epatch "${FILESDIR}"/${P}-flags.patch - epatch "${FILESDIR}"/${P}-as-needed.patch - epatch "${FILESDIR}"/${P}-headers.patch - - sed -e 's:NV-CONROL:NV-CONTROL:g' -i configure.in - sed -i Makefile.in -e "s:/share/doc/nvclock:/share/doc/${PF}:g" || \ - die "sed failed" - - eautoreconf -} - -src_configure() { - tc-export CC CXX - - local myconf - - myconf="--bindir=/usr/bin" - - if use gtk; then - myconf="${myconf} --enable-nvcontrol" - else - myconf="${myconf} --disable-nvcontrol" - fi - - econf --disable-qt $(use_enable gtk) ${myconf} || die -} - -src_compile() { - emake -j1 || die "emake failed" -} - -src_install() { - dodir /usr/bin - emake DESTDIR="${D}" install || die - #dodoc AUTHORS README - - newinitd "${FILESDIR}"/nvclock_initd nvclock - newconfd "${FILESDIR}"/nvclock_confd nvclock - - #insinto /usr/share/applications - #doins nvclock.desktop - #validate_desktop_entries /usr/share/applications/nvclock.desktop -} - -pkg_postinst() { - elog "To enable card overclocking at startup, edit your /etc/conf.d/nvclock" - elog "accordingly and then run: rc-update add nvclock default" -} diff --git a/media-video/nvclock/nvclock-9999.ebuild b/media-video/nvclock/nvclock-9999.ebuild deleted file mode 100644 index 1587908239f6..000000000000 --- a/media-video/nvclock/nvclock-9999.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/nvclock-9999.ebuild,v 1.3 2010/08/17 23:37:23 jer Exp $ - -EAPI="2" - -inherit autotools cvs eutils toolchain-funcs - -ECVS_SERVER="nvclock.cvs.sourceforge.net:/cvsroot/nvclock" -ECVS_MODULE="nvclock" -ECVS_USER="anonymous" -ECVS_PASS="" - -DESCRIPTION="NVIDIA Overclocking Utility" -HOMEPAGE="http://www.linuxhardware.org/nvclock/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="gtk" - -RDEPEND=" - gtk? ( x11-libs/gtk+:2 ) -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${PN}" - -src_prepare() { - eautoreconf - sed -i \ - -e 's|^CC=|CC?=|g' \ - -e 's|^CFLAGS=|CFLAGS+=|g' \ - -e '/-o .* /s|-o |$(LDFLAGS) -o |g' \ - $( find . -name Makefile.in ) \ - || die "Fixing compiler flags" - sed -i src/Makefile.in \ - -e '/LIBS=@X11_LIBS@/{s|@X11_LIBS@||g;s|-lnvcontrol|& @X11_LIBS@|g}' \ - || die "Fixing Makefile.in" -} - -src_configure() { - tc-export CC - econf --disable-qt $(use_enable gtk) || die "econf failed" -} - -src_compile() { - # The build fails with -j[N>1] - emake -j1 || die "emake failed" -} - -src_install() { - dodir /usr/bin - einstall || die "einstall failed" - dodoc AUTHORS README - - newinitd "${FILESDIR}"/nvclock_initd nvclock - newconfd "${FILESDIR}"/nvclock_confd nvclock -} - -pkg_postinst() { - elog "To enable card overclocking at startup, edit your /etc/conf.d/nvclock" - elog "accordingly and then run: rc-update add nvclock default" -} |