mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
misc/nvclock: Removed (obsolete and abandoned upstream)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
865e15e543
commit
309be9c0a2
9 changed files with 0 additions and 526 deletions
|
@ -1,8 +0,0 @@
|
|||
NVClock is a small utility that allows users to overclock NVIDIA based video
|
||||
cards running on the Linux platform. The original code used in building this
|
||||
application was borrowed from the nvcs application. That code has been
|
||||
extensively reworked in order to make the utility much more user friendly and
|
||||
to make it play nice with current distros and drivers.
|
||||
|
||||
Overclocking can be dangerous and can cause system instability and/or damaged
|
||||
hardware. USE AT YOUR OWN RISK.
|
|
@ -1,10 +0,0 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
|
@ -1,105 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Slackware build script for nvclock
|
||||
|
||||
# Written by M.Dinslage contact: daedra1980@gmail.com
|
||||
|
||||
# Modified by Robby Workman for with some packaging and build fixes
|
||||
# If the use of SLKCFLAGS causes any problems, please let me know
|
||||
# ASAP so that I can remove them...
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=nvclock
|
||||
VERSION=${VERSION:-0.8b4}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -eu
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf ${PRGNAM}$VERSION
|
||||
tar xvf $CWD/${PRGNAM}$VERSION.tar.gz
|
||||
cd ${PRGNAM}$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Fixup DESTDIR usage correctly
|
||||
patch -p1 < $CWD/patches/nvclock-fix_DESTDIR.patch
|
||||
# Fix underlinking.
|
||||
patch -p1 < $CWD/patches/nvclock-0.8b4-linkfix.patch
|
||||
# Fixup use of SLKCFLAGS
|
||||
# If this patch causes problems, then use the other one...
|
||||
patch -p1 < $CWD/patches/nvclock-use_ALL_CFLAGS.patch
|
||||
#patch -p1 < $CWD/patches/nvclock-use_most_CFLAGS.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--disable-qt \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
# Will not build in parallel.
|
||||
make -j1
|
||||
make -j1 install DESTDIR=$PKG
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
gzip -9 $PKG/usr/man/man?/*
|
||||
|
||||
# Add a missed COPYING file and the build script to docs
|
||||
cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="nvclock"
|
||||
VERSION="0.8b4"
|
||||
HOMEPAGE="http://www.linuxhardware.org/nvclock"
|
||||
DOWNLOAD="http://www.linuxhardware.org/nvclock/nvclock0.8b4.tar.gz"
|
||||
MD5SUM="23f1b3ebf40f35d76d5fdac50f66ab11"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="M.Dinslage"
|
||||
EMAIL="daedra1980@gmail.com"
|
|
@ -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
|
||||
|
|
@ -1,145 +0,0 @@
|
|||
diff -Nur nvclock0.8b4.orig/Makefile.in nvclock0.8b4/Makefile.in
|
||||
--- nvclock0.8b4.orig/Makefile.in 2008-05-11 05:25:44.000000000 -0500
|
||||
+++ nvclock0.8b4/Makefile.in 2009-01-07 16:15:50.088688188 -0600
|
||||
@@ -1,8 +1,9 @@
|
||||
INSTALL=@INSTALL@
|
||||
+DESTDIR =
|
||||
+prefix=@prefix@
|
||||
+docdir=@docdir@
|
||||
+mandir=@mandir@
|
||||
|
||||
-prefix=$(DESTDIR)@prefix@
|
||||
-docdir=${prefix}/share/doc/nvclock
|
||||
-mandir=${prefix}/man
|
||||
DOCS= ABOUT AUTHORS ChangeLog FAQ README
|
||||
|
||||
all:
|
||||
@@ -21,7 +22,7 @@
|
||||
install-docs:
|
||||
@documentations='$(DOCS)'; \
|
||||
for doc in $$documentations; do \
|
||||
- destdir=$(docdir); \
|
||||
+ destdir=$(DESTDIR)$(docdir); \
|
||||
name=`echo $$doc` \
|
||||
dir=$$destdir; \
|
||||
mkdir -p $$dir; \
|
||||
@@ -30,14 +31,14 @@
|
||||
done
|
||||
|
||||
install-desktop-shortcut:
|
||||
- mkdir -p $(prefix)/share/applications
|
||||
- mkdir -p $(prefix)/share/icons/hicolor/48x48/apps
|
||||
- cp nvclock.desktop $(prefix)/share/applications
|
||||
- cp nvclock.png $(prefix)/share/icons/hicolor/48x48/apps
|
||||
+ mkdir -p $(DESTDIR)$(prefix)/share/applications
|
||||
+ mkdir -p $(DESTDIR)$(prefix)/share/icons/hicolor/48x48/apps
|
||||
+ cp nvclock.desktop $(DESTDIR)$(prefix)/share/applications
|
||||
+ cp nvclock.png $(DESTDIR)$(prefix)/share/icons/hicolor/48x48/apps
|
||||
|
||||
install-man:
|
||||
- mkdir -p $(mandir)/man1
|
||||
- cp nvclock.1 $(mandir)/man1
|
||||
+ mkdir -p $(DESTDIR)$(mandir)/man1
|
||||
+ cp nvclock.1 $(DESTDIR)$(mandir)/man1
|
||||
|
||||
uninstall: uninstall-docs uninstall-man uninstall-desktop-shortcut
|
||||
$(MAKE) -C src uninstall
|
||||
@@ -45,7 +46,7 @@
|
||||
uninstall-docs:
|
||||
@documentations='$(DOCS)'; \
|
||||
for doc in $$documentations; do \
|
||||
- destdir=$(docdir); \
|
||||
+ destdir=$(DESTDIR)$(docdir); \
|
||||
name=`echo $$doc` \
|
||||
dir=$$destdir; \
|
||||
rm -f $$dir/$$name; \
|
||||
@@ -53,11 +54,12 @@
|
||||
done
|
||||
|
||||
uninstall-desktop-shortcut:
|
||||
- rm -f $(prefix)/share/applications/nvclock.desktop
|
||||
- echo "removing $$prefix/share/applications/nvclock.desktop" ; \
|
||||
- rm -f $(prefix)/share/icons/hicolor/48x48/apps/nvclock.png
|
||||
- echo "removing $$prefix/share/icons/hicolor/48x48/apps/nvclock.png" ; \
|
||||
+ rm -f $(DESTDIR)$(prefix)/share/applications/nvclock.desktop
|
||||
+ echo "removing $$(DESTDIR)$$prefix/share/applications/nvclock.desktop" ; \
|
||||
+ rm -f $(DESTDIR)$(prefix)/share/icons/hicolor/48x48/apps/nvclock.png
|
||||
+ echo "removing $$(DESTDIR)$$prefix/share/icons/hicolor/48x48/apps/nvclock.png" ; \
|
||||
|
||||
uninstall-man:
|
||||
- rm -f $(mandir)/man1/nvclock.1
|
||||
- echo "removing $$mandir/man1/nvclock.1" ; \
|
||||
+ rm -f $$(DESTDIR)$(mandir)/man1/nvclock.1
|
||||
+ echo "removing $$(DESTDIR)$$mandir/man1/nvclock.1" ; \
|
||||
+
|
||||
diff -Nur nvclock0.8b4.orig/src/Makefile.in nvclock0.8b4/src/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/Makefile.in 2009-01-03 11:02:54.000000000 -0600
|
||||
+++ nvclock0.8b4/src/Makefile.in 2009-01-07 16:13:06.839689315 -0600
|
||||
@@ -8,9 +8,9 @@
|
||||
libbackend=./backend/libbackend.a
|
||||
libnvcontrol=./nvcontrol/libnvcontrol.a
|
||||
|
||||
-prefix=$(DESTDIR)@prefix@
|
||||
-exec_prefix=$(DESTDIR)@exec_prefix@
|
||||
-bindir=$(DESTDIR)@bindir@
|
||||
+prefix=@prefix@
|
||||
+exec_prefix=@exec_prefix@
|
||||
+bindir=@bindir@
|
||||
|
||||
ifeq ($(HAVE_NVCONTROL), yes)
|
||||
DEPS=$(libbackend) $(libnvcontrol)
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
uninstall: uninstall-recursive uninstall-app
|
||||
uninstall-app:
|
||||
- rm -f $(bindir)/smartdimmer
|
||||
+ rm -f $(DESTDIR)$(bindir)/smartdimmer
|
||||
|
||||
|
||||
# Walk through the sub directories and do what is requested
|
||||
diff -Nur nvclock0.8b4.orig/src/gtk/Makefile.in nvclock0.8b4/src/gtk/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/gtk/Makefile.in 2008-05-11 05:25:46.000000000 -0500
|
||||
+++ nvclock0.8b4/src/gtk/Makefile.in 2009-01-07 16:13:54.808688249 -0600
|
||||
@@ -7,14 +7,14 @@
|
||||
libbackend=../backend/libbackend.a
|
||||
libnvcontrol=../nvcontrol/libnvcontrol.a
|
||||
|
||||
-prefix=$(DESTDIR)@prefix@
|
||||
-exec_prefix=$(DESTDIR)@exec_prefix@
|
||||
-bindir=$(DESTDIR)@bindir@
|
||||
+prefix=@prefix@
|
||||
+exec_prefix=@exec_prefix@
|
||||
+bindir=@bindir@
|
||||
|
||||
ifeq ($(HAVE_GTK2), yes)
|
||||
PROGRAM=nvclock_gtk
|
||||
- INSTALL_APP=mkdir -p $(bindir); $(INSTALL) -c $(PROGRAM) $(bindir)/$(PROGRAM)
|
||||
- UNINSTALL_APP=rm -f $(bindir)/$(PROGRAM)
|
||||
+ INSTALL_APP=mkdir -p $(DESTDIR)$(bindir); $(INSTALL) -c $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM)
|
||||
+ UNINSTALL_APP=rm -f $(DESTDIR)$(bindir)/$(PROGRAM)
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_NVCONTROL), yes)
|
||||
diff -Nur nvclock0.8b4.orig/src/qt/Makefile.in nvclock0.8b4/src/qt/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/qt/Makefile.in 2008-05-11 05:25:46.000000000 -0500
|
||||
+++ nvclock0.8b4/src/qt/Makefile.in 2009-01-07 16:15:03.885688805 -0600
|
||||
@@ -8,14 +8,14 @@
|
||||
HAVE_QT=@HAVE_QT@
|
||||
libbackend=../backend/libbackend.a
|
||||
|
||||
-prefix=$(DESTDIR)@prefix@
|
||||
-exec_prefix=$(DESTDIR)@exec_prefix@
|
||||
-bindir=$(DESTDIR)@bindir@
|
||||
+prefix=@prefix@
|
||||
+exec_prefix=@exec_prefix@
|
||||
+bindir=@bindir@
|
||||
|
||||
ifeq ($(HAVE_QT), yes)
|
||||
PROGRAM=nvclock_qt
|
||||
- INSTALL_APP=mkdir -p $(bindir); $(INSTALL) -c $(PROGRAM) $(bindir)/$(PROGRAM)
|
||||
- UNINSTALL_APP=rm -f $(bindir)/$(PROGRAM)
|
||||
+ INSTALL_APP=mkdir -p $(DESTDIR)$(bindir); $(INSTALL) -c $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM)
|
||||
+ UNINSTALL_APP=rm -f $(DESTDIR)$(bindir)/$(PROGRAM)
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_NVCONTROL), yes)
|
|
@ -1,118 +0,0 @@
|
|||
diff -Nur nvclock0.8b4.orig/Makefile.in nvclock0.8b4/Makefile.in
|
||||
--- nvclock0.8b4.orig/Makefile.in 2008-05-11 05:25:44.000000000 -0500
|
||||
+++ nvclock0.8b4/Makefile.in 2009-01-07 16:19:12.437689102 -0600
|
||||
@@ -5,6 +5,9 @@
|
||||
mandir=${prefix}/man
|
||||
DOCS= ABOUT AUTHORS ChangeLog FAQ README
|
||||
|
||||
+CFLAGS=@CFLAGS@
|
||||
+CXXFLAGS=@CXXFLAGS@
|
||||
+
|
||||
all:
|
||||
$(MAKE) -C src all
|
||||
|
||||
diff -Nur nvclock0.8b4.orig/configure nvclock0.8b4/configure
|
||||
--- nvclock0.8b4.orig/configure 2008-08-16 11:53:59.000000000 -0500
|
||||
+++ nvclock0.8b4/configure 2009-01-07 16:24:27.896687454 -0600
|
||||
@@ -3726,7 +3726,6 @@
|
||||
|
||||
|
||||
|
||||
-CFLAGS=
|
||||
HAVE_GTK2=no
|
||||
HAVE_QT=no
|
||||
HAVE_NVCONTROL=no
|
||||
diff -Nur nvclock0.8b4.orig/src/Makefile.in nvclock0.8b4/src/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/Makefile.in 2009-01-03 11:02:54.000000000 -0600
|
||||
+++ nvclock0.8b4/src/Makefile.in 2009-01-07 16:26:38.506689444 -0600
|
||||
@@ -1,5 +1,6 @@
|
||||
CC=@CC@
|
||||
INSTALL=@INSTALL@
|
||||
+CFLAGS=@CFLAGS@
|
||||
|
||||
nvclock_SOURCES=nvclock.c
|
||||
smartdimmer_SOURCES=smartdimmer.c
|
||||
@@ -31,10 +32,10 @@
|
||||
|
||||
|
||||
nvclock: $(DEPS) $(LIB) nvclock.c
|
||||
- $(CC) -o nvclock $(nvclock_SOURCES) $(INCLUDES) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) -o nvclock $(nvclock_SOURCES) $(INCLUDES) $(LIBS)
|
||||
|
||||
smartdimmer: $(DEPS) $(LIB) smartdimmer.c
|
||||
- $(CC) -o smartdimmer $(smartdimmer_SOURCES) $(INCLUDES) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) -o smartdimmer $(smartdimmer_SOURCES) $(INCLUDES) $(LIBS)
|
||||
|
||||
|
||||
clean: clean-recursive clean-app
|
||||
diff -Nur nvclock0.8b4.orig/src/backend/Makefile.in nvclock0.8b4/src/backend/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/backend/Makefile.in 2007-12-27 10:05:38.000000000 -0600
|
||||
+++ nvclock0.8b4/src/backend/Makefile.in 2009-01-07 16:32:28.089689122 -0600
|
||||
@@ -1,11 +1,12 @@
|
||||
-CC=@CC@ -O0
|
||||
+CC=@CC@
|
||||
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=@CFLAGS@
|
||||
+CFLAGS+=@X11_CFLAGS@ -I../.. -I../nvcontrol
|
||||
|
||||
ifeq ($(system), FreeBSD)
|
||||
OBJECTS+=back_bsd.o
|
||||
@@ -36,4 +37,4 @@
|
||||
rm -f Makefile
|
||||
|
||||
install:
|
||||
-uninstall:
|
||||
\ No newline at end of file
|
||||
+uninstall:
|
||||
diff -Nur nvclock0.8b4.orig/src/gtk/Makefile.in nvclock0.8b4/src/gtk/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/gtk/Makefile.in 2008-05-11 05:25:46.000000000 -0500
|
||||
+++ nvclock0.8b4/src/gtk/Makefile.in 2009-01-07 16:28:51.865688400 -0600
|
||||
@@ -1,7 +1,8 @@
|
||||
CC=@CC@
|
||||
INSTALL=@INSTALL@
|
||||
|
||||
-CFLAGS=@GTK_CFLAGS@ -I../backend -I../nvcontrol -I../..
|
||||
+CFLAGS=@CFLAGS@
|
||||
+CFLAGS+=@GTK_CFLAGS@ -I../backend -I../nvcontrol -I../..
|
||||
HAVE_GTK2=@HAVE_GTK2@
|
||||
HAVE_NVCONTROL=@HAVE_NVCONTROL@
|
||||
libbackend=../backend/libbackend.a
|
||||
diff -Nur nvclock0.8b4.orig/src/nvcontrol/Makefile.in nvclock0.8b4/src/nvcontrol/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/nvcontrol/Makefile.in 2005-12-09 13:46:05.000000000 -0600
|
||||
+++ nvclock0.8b4/src/nvcontrol/Makefile.in 2009-01-07 16:29:09.340689195 -0600
|
||||
@@ -2,7 +2,8 @@
|
||||
AR=ar
|
||||
RANLIB=@RANLIB@
|
||||
system=@system@
|
||||
-CFLAGS=@X11_CFLAGS@ -I../backend
|
||||
+CFLAGS=@CFLAGS@
|
||||
+CFLAGS+=@X11_CFLAGS@ -I../backend
|
||||
HAVE_X11=@HAVE_NVCONTROL@
|
||||
OBJECTS=libnvcontrol.o nvcontrol.o
|
||||
|
||||
@@ -26,4 +27,4 @@
|
||||
rm -f Makefile
|
||||
|
||||
install:
|
||||
-uninstall:
|
||||
\ No newline at end of file
|
||||
+uninstall:
|
||||
diff -Nur nvclock0.8b4.orig/src/qt/Makefile.in nvclock0.8b4/src/qt/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/qt/Makefile.in 2008-05-11 05:25:46.000000000 -0500
|
||||
+++ nvclock0.8b4/src/qt/Makefile.in 2009-01-07 16:29:42.410690235 -0600
|
||||
@@ -3,7 +3,8 @@
|
||||
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=@CXXFLAGS@
|
||||
+CXXFLAGS+=@QT_CFLAGS@ -I../backend
|
||||
HAVE_NVCONTROL=@HAVE_NVCONTROL@
|
||||
HAVE_QT=@HAVE_QT@
|
||||
libbackend=../backend/libbackend.a
|
|
@ -1,93 +0,0 @@
|
|||
diff -Nur nvclock0.8b4.orig/Makefile.in nvclock0.8b4/Makefile.in
|
||||
--- nvclock0.8b4.orig/Makefile.in 2008-05-11 05:25:44.000000000 -0500
|
||||
+++ nvclock0.8b4/Makefile.in 2009-01-07 16:19:12.437689102 -0600
|
||||
@@ -5,6 +5,9 @@
|
||||
mandir=${prefix}/man
|
||||
DOCS= ABOUT AUTHORS ChangeLog FAQ README
|
||||
|
||||
+CFLAGS=@CFLAGS@
|
||||
+CXXFLAGS=@CXXFLAGS@
|
||||
+
|
||||
all:
|
||||
$(MAKE) -C src all
|
||||
|
||||
diff -Nur nvclock0.8b4.orig/configure nvclock0.8b4/configure
|
||||
--- nvclock0.8b4.orig/configure 2008-08-16 11:53:59.000000000 -0500
|
||||
+++ nvclock0.8b4/configure 2009-01-07 16:24:27.896687454 -0600
|
||||
@@ -3726,7 +3726,6 @@
|
||||
|
||||
|
||||
|
||||
-CFLAGS=
|
||||
HAVE_GTK2=no
|
||||
HAVE_QT=no
|
||||
HAVE_NVCONTROL=no
|
||||
diff -Nur nvclock0.8b4.orig/src/Makefile.in nvclock0.8b4/src/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/Makefile.in 2009-01-03 11:02:54.000000000 -0600
|
||||
+++ nvclock0.8b4/src/Makefile.in 2009-01-07 16:26:38.506689444 -0600
|
||||
@@ -1,5 +1,6 @@
|
||||
CC=@CC@
|
||||
INSTALL=@INSTALL@
|
||||
+CFLAGS=@CFLAGS@
|
||||
|
||||
nvclock_SOURCES=nvclock.c
|
||||
smartdimmer_SOURCES=smartdimmer.c
|
||||
@@ -31,10 +32,10 @@
|
||||
|
||||
|
||||
nvclock: $(DEPS) $(LIB) nvclock.c
|
||||
- $(CC) -o nvclock $(nvclock_SOURCES) $(INCLUDES) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) -o nvclock $(nvclock_SOURCES) $(INCLUDES) $(LIBS)
|
||||
|
||||
smartdimmer: $(DEPS) $(LIB) smartdimmer.c
|
||||
- $(CC) -o smartdimmer $(smartdimmer_SOURCES) $(INCLUDES) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) -o smartdimmer $(smartdimmer_SOURCES) $(INCLUDES) $(LIBS)
|
||||
|
||||
|
||||
clean: clean-recursive clean-app
|
||||
diff -Nur nvclock0.8b4.orig/src/gtk/Makefile.in nvclock0.8b4/src/gtk/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/gtk/Makefile.in 2008-05-11 05:25:46.000000000 -0500
|
||||
+++ nvclock0.8b4/src/gtk/Makefile.in 2009-01-07 16:28:51.865688400 -0600
|
||||
@@ -1,7 +1,8 @@
|
||||
CC=@CC@
|
||||
INSTALL=@INSTALL@
|
||||
|
||||
-CFLAGS=@GTK_CFLAGS@ -I../backend -I../nvcontrol -I../..
|
||||
+CFLAGS=@CFLAGS@
|
||||
+CFLAGS+=@GTK_CFLAGS@ -I../backend -I../nvcontrol -I../..
|
||||
HAVE_GTK2=@HAVE_GTK2@
|
||||
HAVE_NVCONTROL=@HAVE_NVCONTROL@
|
||||
libbackend=../backend/libbackend.a
|
||||
diff -Nur nvclock0.8b4.orig/src/nvcontrol/Makefile.in nvclock0.8b4/src/nvcontrol/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/nvcontrol/Makefile.in 2005-12-09 13:46:05.000000000 -0600
|
||||
+++ nvclock0.8b4/src/nvcontrol/Makefile.in 2009-01-07 16:29:09.340689195 -0600
|
||||
@@ -2,7 +2,8 @@
|
||||
AR=ar
|
||||
RANLIB=@RANLIB@
|
||||
system=@system@
|
||||
-CFLAGS=@X11_CFLAGS@ -I../backend
|
||||
+CFLAGS=@CFLAGS@
|
||||
+CFLAGS+=@X11_CFLAGS@ -I../backend
|
||||
HAVE_X11=@HAVE_NVCONTROL@
|
||||
OBJECTS=libnvcontrol.o nvcontrol.o
|
||||
|
||||
@@ -26,4 +27,4 @@
|
||||
rm -f Makefile
|
||||
|
||||
install:
|
||||
-uninstall:
|
||||
\ No newline at end of file
|
||||
+uninstall:
|
||||
diff -Nur nvclock0.8b4.orig/src/qt/Makefile.in nvclock0.8b4/src/qt/Makefile.in
|
||||
--- nvclock0.8b4.orig/src/qt/Makefile.in 2008-05-11 05:25:46.000000000 -0500
|
||||
+++ nvclock0.8b4/src/qt/Makefile.in 2009-01-07 16:29:42.410690235 -0600
|
||||
@@ -3,7 +3,8 @@
|
||||
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=@CXXFLAGS@
|
||||
+CXXFLAGS+=@QT_CFLAGS@ -I../backend
|
||||
HAVE_NVCONTROL=@HAVE_NVCONTROL@
|
||||
HAVE_QT=@HAVE_QT@
|
||||
libbackend=../backend/libbackend.a
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
nvclock: nvclock (Nvidia overclocking for Linux)
|
||||
nvclock:
|
||||
nvclock: NVClock is a small utility that allows users to overclock NVIDIA
|
||||
nvclock: based video cards running on the Linux platform. The original
|
||||
nvclock: code used in building this application was borrowed from the nvcs
|
||||
nvclock: application. That code has been extensively reworked in order to
|
||||
nvclock: make the utility much more user friendly and to make it play nice
|
||||
nvclock: with current distros and drivers.
|
||||
nvclock:
|
||||
nvclock:
|
||||
nvclock:
|
Loading…
Reference in a new issue