summaryrefslogtreecommitdiff
path: root/community-testing/nvclock
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-02-15 20:35:57 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-02-15 20:35:57 +0000
commit1ffabe284d9f5a4ac055941d9817af71be1e5b54 (patch)
tree2b816cb3cc40a5f3053c8371de5613041272e298 /community-testing/nvclock
parent650a87f5a67f6e71d4a56e52139a718d86ebbb46 (diff)
Wed Feb 15 20:35:56 UTC 2012
Diffstat (limited to 'community-testing/nvclock')
-rw-r--r--community-testing/nvclock/PKGBUILD45
-rw-r--r--community-testing/nvclock/nvclock-0.8b4-buildfix.patch16
-rw-r--r--community-testing/nvclock/nvclock-0.8b4-linkfix.patch18
-rw-r--r--community-testing/nvclock/nvclock.desktop-use-gksu.patch11
-rw-r--r--community-testing/nvclock/nvclock.install11
5 files changed, 0 insertions, 101 deletions
diff --git a/community-testing/nvclock/PKGBUILD b/community-testing/nvclock/PKGBUILD
deleted file mode 100644
index 28cde7638..000000000
--- a/community-testing/nvclock/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 63218 2012-01-30 19:03:47Z ibiru $
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Markus Meissner <markus@meissna.de>
-# Contributor: Andreas Radke <andyrtr@archlinux.org>
-
-pkgname=nvclock
-pkgver=0.8b4
-pkgrel=3
-pkgdesc='A small utility which allows users to overclock NVIDIA based video cards.'
-arch=('i686' 'x86_64')
-url='http://www.linuxhardware.org/nvclock/'
-license=('GPL')
-depends=('gtk2')
-optdepends=('gksu: to start nvclock via the desktop menu entry')
-install='nvclock.install'
-options=('!makeflags')
-source=("http://www.linuxhardware.org/${pkgname}/${pkgname}${pkgver}.tar.gz"
- 'nvclock-0.8b4-buildfix.patch'
- 'nvclock-0.8b4-linkfix.patch'
- 'nvclock.desktop-use-gksu.patch')
-md5sums=('23f1b3ebf40f35d76d5fdac50f66ab11'
- '1da24b50dd6a8c4704fa550a3e1a8b53'
- 'b812646787ea44e693fd2288612f25ad'
- '98fc1995721d0b0e8ff6d448869eee6d')
-
-build(){
- cd "${srcdir}/${pkgname}${pkgver}"
-
- # build and link fixes from Fedora
- patch -Np1 -i "${srcdir}/nvclock-0.8b4-buildfix.patch"
- patch -Np1 -i "${srcdir}/nvclock-0.8b4-linkfix.patch"
-
- # Make ".desktop" file use gksu(1).
- patch -Np0 -i "${srcdir}/nvclock.desktop-use-gksu.patch"
-
- sed -i 's:${prefix}/man:${prefix}\/share\/man:' "${srcdir}/${pkgname}${pkgver}/Makefile.in"
-
- ./configure --prefix=/usr --bindir=/usr/bin
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/community-testing/nvclock/nvclock-0.8b4-buildfix.patch b/community-testing/nvclock/nvclock-0.8b4-buildfix.patch
deleted file mode 100644
index cdc9f5c88..000000000
--- a/community-testing/nvclock/nvclock-0.8b4-buildfix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -upNr nvclock0.8b4.orign/src/Makefile.in nvclock0.8b4/src/Makefile.in
---- nvclock0.8b4.orign/src/Makefile.in 2009-01-03 18:02:54.000000000 +0100
-+++ nvclock0.8b4/src/Makefile.in 2009-01-07 11:37:39.000000000 +0100
-@@ -50,8 +50,8 @@ distclean: distclean-recursive clean-app
- 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
-
-
diff --git a/community-testing/nvclock/nvclock-0.8b4-linkfix.patch b/community-testing/nvclock/nvclock-0.8b4-linkfix.patch
deleted file mode 100644
index 0029d1c74..000000000
--- a/community-testing/nvclock/nvclock-0.8b4-linkfix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -upNr nvclock0.8b4.orign/src/gtk/Makefile.in nvclock0.8b4/src/gtk/Makefile.in
---- nvclock0.8b4.orign/src/gtk/Makefile.in 2008-05-11 12:25:46.000000000 +0200
-+++ nvclock0.8b4/src/gtk/Makefile.in 2010-02-13 19:56:24.204078277 +0100
-@@ -20,12 +20,12 @@ endif
- ifeq ($(HAVE_NVCONTROL), yes)
- DEPS=$(libbackend) $(libnvcontrol)
- INCLUDES=@X11_CFLAGS@ -I./backend -I./nvcontrol -I.. -I../..
-- LIBS=@GTK_LIBS@ -L../backend -lbackend -L../nvcontrol -lnvcontrol
-+ LIBS=@GTK_LIBS@ -L../backend -lbackend -L../nvcontrol -lnvcontrol -lX11 -lXext -ldl
- OBJECTS=banner.o gl.o hw.o main.o settings.o
- else
- DEPS=$(libbackend)
- INCLUDES=-I./backend -I./nvcontrol -I.. -I../..
-- LIBS=@GTK_LIBS@ -L../backend -lbackend
-+ LIBS=@GTK_LIBS@ -L../backend -lbackend -lX11 -lXext -ldl
- OBJECTS=banner.o hw.o main.o settings.o
- endif
-
diff --git a/community-testing/nvclock/nvclock.desktop-use-gksu.patch b/community-testing/nvclock/nvclock.desktop-use-gksu.patch
deleted file mode 100644
index a372f5de8..000000000
--- a/community-testing/nvclock/nvclock.desktop-use-gksu.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- nvclock.desktop.orig 2011-01-16 15:15:55.764977836 +0100
-+++ nvclock.desktop 2011-01-16 15:16:07.827408839 +0100
-@@ -2,7 +2,7 @@
- Encoding=UTF-8
- Name=NVCLOCK
- Comment=Overclock and Monitor NVIDIA cards
--Exec=nvclock_gtk
-+Exec=gksu nvclock_gtk
- Icon=nvclock.png
- Terminal=false
- Type=Application
diff --git a/community-testing/nvclock/nvclock.install b/community-testing/nvclock/nvclock.install
deleted file mode 100644
index d59dca6e8..000000000
--- a/community-testing/nvclock/nvclock.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}