diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-09-29 18:40:48 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-09-29 18:40:48 +0000 |
commit | dab24635e2a07f022c10242ae48d99c7842c1d3a (patch) | |
tree | b2c88270cc6987a4ccae11eb99c772325cf31299 | |
parent | Stable on alpha, bug #283715 (diff) | |
download | gentoo-2-dab24635e2a07f022c10242ae48d99c7842c1d3a.tar.gz gentoo-2-dab24635e2a07f022c10242ae48d99c7842c1d3a.tar.bz2 gentoo-2-dab24635e2a07f022c10242ae48d99c7842c1d3a.zip |
Remove old(bug #284017).
(Portage version: 2.2_rc42/cvs/Linux i686)
-rw-r--r-- | media-video/nvclock/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/nvclock/files/callbacks.patch | 33 | ||||
-rw-r--r-- | media-video/nvclock/files/configure.in.diff | 13 | ||||
-rw-r--r-- | media-video/nvclock/files/nvclock-insecure-tmp.diff | 32 | ||||
-rw-r--r-- | media-video/nvclock/nvclock-0.7-r2.ebuild | 56 | ||||
-rw-r--r-- | media-video/nvclock/nvclock-0.8_beta4-r3.ebuild | 73 |
6 files changed, 6 insertions, 208 deletions
diff --git a/media-video/nvclock/ChangeLog b/media-video/nvclock/ChangeLog index 91bc17665e33..de0e86bb7758 100644 --- a/media-video/nvclock/ChangeLog +++ b/media-video/nvclock/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/nvclock # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/ChangeLog,v 1.39 2009/09/27 10:50:38 volkmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/ChangeLog,v 1.40 2009/09/29 18:40:48 jer Exp $ + + 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: diff --git a/media-video/nvclock/files/callbacks.patch b/media-video/nvclock/files/callbacks.patch deleted file mode 100644 index 2e996bf407d1..000000000000 --- a/media-video/nvclock/files/callbacks.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- src/gtk/callbacks.c.old 2004-10-05 18:57:05 -0400 -+++ src/gtk/callbacks.c 2004-10-05 18:58:40 -0400 -@@ -36,11 +36,12 @@ - { - va_list arg; - char* message; -+ GtkWidget *dialog; -+ - va_start(arg, format); - - message = g_strdup_vprintf(format, arg); - -- GtkWidget *dialog; - switch(code) - { - case ERROR: -@@ -106,6 +107,7 @@ - - void timer() - { -+ gint result; - GtkWidget *label; - Timeout *timeout; - timeout = g_malloc(sizeof(Timeout)); -@@ -126,7 +128,7 @@ - /* Create the real timeout */ - timeout->timeout_id = g_timeout_add(1000, timeout_callback, timeout); - -- gint result = gtk_dialog_run(GTK_DIALOG(timeout->dialog)); -+ result = gtk_dialog_run(GTK_DIALOG(timeout->dialog)); - - /* Stop the timer because we got an answer back */ - g_source_remove(timeout->timeout_id); diff --git a/media-video/nvclock/files/configure.in.diff b/media-video/nvclock/files/configure.in.diff deleted file mode 100644 index ca4c569ae02d..000000000000 --- a/media-video/nvclock/files/configure.in.diff +++ /dev/null @@ -1,13 +0,0 @@ ---- configure.in.orig 2003-07-20 10:23:23.000000000 -0400 -+++ configure.in 2003-10-31 00:00:43.000000000 -0500 -@@ -89,8 +89,8 @@ - HAVE_QT=yes - - elif test -r $QTDIR/include/qt.h; then -- QT_LIBS=-L$(QTDIR)/lib -L$QTDIR -- QT_CFLAGS=-I$(QTDIR)/include -+ QT_LIBS=-L${QTDIR}/lib -+ QT_CFLAGS=-I${QTDIR}/include - HAVE_QT=yes - - else diff --git a/media-video/nvclock/files/nvclock-insecure-tmp.diff b/media-video/nvclock/files/nvclock-insecure-tmp.diff deleted file mode 100644 index 834818e14943..000000000000 --- a/media-video/nvclock/files/nvclock-insecure-tmp.diff +++ /dev/null @@ -1,32 +0,0 @@ ---- nvclock0.7.orig/src/backend/backend.c 2003-07-29 16:20:01.000000000 +0100 -+++ nvclock0.7/src/backend/backend.c 2007-07-03 11:01:06.000000000 +0100 -@@ -282,12 +282,18 @@ void set_card(int number) - void set_default_speeds(int num) - { - int i, eof; -- char buffer[100]; -+ char buffer[100], fname[1024], *home; - volatile unsigned int *PEXTDEV; - volatile unsigned int *PRAMDAC; - FILE *fp; - -- if((fp = fopen("/tmp/nvclock", "r")) != NULL) -+ if ((home = getenv("HOME")) == NULL) -+ return; -+ -+ if (snprintf(fname, sizeof(fname), "%s/.nvclock", home) == -1) -+ return; -+ -+ if((fp = fopen(fname, "r")) != NULL) - { - /* Read the file .. */ - for(eof = fscanf(fp, "%s",&buffer); eof != EOF; eof = fscanf(fp, "%s", &buffer)) -@@ -312,7 +318,7 @@ void set_default_speeds(int num) - else - { - /* Write the config file */ -- fp = fopen("/tmp/nvclock", "w+"); -+ fp = fopen(fname, "w+"); - fprintf(fp, "#This file is used by nvclock to be able to restore the card's speeds\n#Do not edit this file!\n"); - - for(i = 0; i <= num; i++) diff --git a/media-video/nvclock/nvclock-0.7-r2.ebuild b/media-video/nvclock/nvclock-0.7-r2.ebuild deleted file mode 100644 index fbefd96957e7..000000000000 --- a/media-video/nvclock/nvclock-0.7-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/nvclock/nvclock-0.7-r2.ebuild,v 1.5 2009/09/23 14:38:48 ssuominen Exp $ - -inherit eutils - -MY_P="${PN}${PV}" -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="~ppc x86" -IUSE="gtk qt3" - -RDEPEND="gtk? ( =x11-libs/gtk+-2* ) - qt3? ( =x11-libs/qt-3* )" -DEPEND="${RDEPEND} - sys-devel/autoconf" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/configure.in.diff - epatch "${FILESDIR}"/callbacks.patch - epatch "${FILESDIR}"/nvclock-insecure-tmp.diff -} - -src_compile() { - mv configure.in configure.ac - ./autogen.sh || die - - # Needed to ensure it compiles against Qt3 rather than Qt4 - export QTDIR=/usr/qt/3 - export MOC=${QTDIR}/bin/moc - - ./configure $(use_enable qt3 qt) $(use_enable gtk) || die - - make || die -} - -src_install() { - dodir /usr/bin - einstall || die - 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" -} diff --git a/media-video/nvclock/nvclock-0.8_beta4-r3.ebuild b/media-video/nvclock/nvclock-0.8_beta4-r3.ebuild deleted file mode 100644 index 3e0daed60237..000000000000 --- a/media-video/nvclock/nvclock-0.8_beta4-r3.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2009 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-r3.ebuild,v 1.3 2009/09/23 14:38:48 ssuominen Exp $ - -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 qt3" - -RDEPEND="gtk? ( =x11-libs/gtk+-2* ) - qt3? ( =x11-libs/qt-3* )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Patch to fix broken autoconf macro "--with-qt-libs" needed below - # Submitted upstream, hopefully fixed in a later version - use qt3 && epatch "${FILESDIR}"/nvclock_acinclude_qtlibs.patch - - # Bug #240846: - epatch "${FILESDIR}"/${P}-flags.patch - epatch "${FILESDIR}"/${P}-as-needed.patch - - sed -i Makefile.in -e "s:/share/doc/nvclock:/share/doc/${PF}:g" || \ - die "sed failed" - - eautoreconf -} - -src_compile() { - tc-export CC CXX - # Needed to ensure it compiles against Qt3 rather than Qt4 - export QTDIR=/usr/qt/3 - export MOC=${QTDIR}/bin/moc - - local myconf - - myconf="--bindir=/usr/bin" - - # Qt3 package doesn't install symlinks from ${QTDIR}/lib64 to ${QTDIR}/lib - use amd64 && myconf="${myconf} --with-qt-libs=${QTDIR}/lib64" - - econf $(use_enable qt3 qt) $(use_enable gtk) ${myconf} || die - - emake -j1 || die -} - -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" -} |