aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nvclock
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2009-07-03 20:42:35 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2009-07-03 20:42:35 +0000
commit5b58c5b2ae45fb49c6ac1219573b937b99f170ea (patch)
tree700cc7b73b5423f032353512bae325b2b7755f37 /sysutils/nvclock
parent8edd1313588eaee287a0692d8be302e4e7a7b480 (diff)
downloadports-5b58c5b2ae45fb49c6ac1219573b937b99f170ea.tar.gz
ports-5b58c5b2ae45fb49c6ac1219573b937b99f170ea.zip
Notes
Diffstat (limited to 'sysutils/nvclock')
-rw-r--r--sysutils/nvclock/Makefile5
-rw-r--r--sysutils/nvclock/distinfo6
-rw-r--r--sysutils/nvclock/files/patch-configure.in27
-rw-r--r--sysutils/nvclock/files/patch-src-backend-back_bsd.c10
-rw-r--r--sysutils/nvclock/files/patch-src-gtk-main.c22
5 files changed, 6 insertions, 64 deletions
diff --git a/sysutils/nvclock/Makefile b/sysutils/nvclock/Makefile
index 2aa80381f6a6..cb17108ed673 100644
--- a/sysutils/nvclock/Makefile
+++ b/sysutils/nvclock/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nvclock
-DISTVERSION= 0.8b3a
+DISTVERSION= 0.8b4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= nvclock
@@ -20,7 +20,8 @@ GNU_CONFIGURE= yes
USE_GNOME= pkgconfig
USE_AUTOTOOLS= aclocal:19 autoheader:262 autoconf:262
-PLIST_FILES= bin/nvclock
+PLIST_FILES= bin/nvclock \
+ bin/smartdimmer
.if defined(WITHOUT_GUI)
CONFIGURE_ARGS+=--enable-gtk=no --enable-qt=no --enable-nvcontrol=no
diff --git a/sysutils/nvclock/distinfo b/sysutils/nvclock/distinfo
index a7a5c4ed7797..7586f828fe22 100644
--- a/sysutils/nvclock/distinfo
+++ b/sysutils/nvclock/distinfo
@@ -1,3 +1,3 @@
-MD5 (nvclock0.8b3a.tar.gz) = 8e5c47ff638603e4a7ccd1325ef765ef
-SHA256 (nvclock0.8b3a.tar.gz) = 03a280f2369288310dd948a7f3f34eff2f843ed28db3b54f1edcb1a80294dae5
-SIZE (nvclock0.8b3a.tar.gz) = 326939
+MD5 (nvclock0.8b4.tar.gz) = 23f1b3ebf40f35d76d5fdac50f66ab11
+SHA256 (nvclock0.8b4.tar.gz) = bdb695e869822c4740c361bcace81b5527b774002d42785c986da9a92d7a9b0b
+SIZE (nvclock0.8b4.tar.gz) = 336999
diff --git a/sysutils/nvclock/files/patch-configure.in b/sysutils/nvclock/files/patch-configure.in
deleted file mode 100644
index 12c76627a0ba..000000000000
--- a/sysutils/nvclock/files/patch-configure.in
+++ /dev/null
@@ -1,27 +0,0 @@
---- configure.in.orig 2008-08-16 16:45:25.000000000 +0200
-+++ configure.in 2008-08-16 16:46:26.000000000 +0200
-@@ -120,12 +120,18 @@
- HAVE_NVCONTROL=no
- fi
-
-- if test x"$HAVE_NVCONTROL" = "xyes" ; then
-- X11_CFLAGS=$X_CFLAGS
-- X11_LIBS="$X_LIBS $LIBS"
-- AC_SUBST(X11_CFLAGS)
-- AC_SUBST(X11_LIBS)
-- AC_DEFINE([HAVE_NVCONTROL], [1], [NV-CONTROL support for changing OpenGL settings])
-+ if test x"$enable_nvcontrol" = "xyes"; then
-+ PKG_CHECK_MODULES([X11], [x11], , AC_MSG_ERROR("X11 required for nvcontrol support"))
-+ PKG_CHECK_MODULES([XEXT], [xext], , AC_MSG_ERROR("Xext required for nvcontrol support"))
-+
-+ X11_CFLAGS="$X11_CFLAGS $XEXT_CFLAGS"
-+ X11_LIBS="$X11_LIBS $XEXT_LIBS"
-+ if test x"$X11_LIBS" != x ; then
-+ HAVE_NVCONTROL=yes
-+ AC_SUBST(X11_CFLAGS)
-+ AC_SUBST(X11_LIBS)
-+ AC_DEFINE([HAVE_NVCONTROL], [1], [NV-CONTROL support for changing OpenGL settings])
-+ fi
- fi
- fi
-
diff --git a/sysutils/nvclock/files/patch-src-backend-back_bsd.c b/sysutils/nvclock/files/patch-src-backend-back_bsd.c
deleted file mode 100644
index 38c6a58b9c3a..000000000000
--- a/sysutils/nvclock/files/patch-src-backend-back_bsd.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/backend/back_bsd.c 2007-07-07 09:39:58.000000000 +0300
-+++ src/backend/back_bsd.c_new 2007-07-07 09:39:15.000000000 +0300
-@@ -51,6 +51,7 @@
-
- static void *map_dev_mem (int fd, unsigned long Base, unsigned long Size);
- static void unmap_dev_mem (unsigned long Base, unsigned long Size);
-+static int probe_devices();
-
- int init_nvclock()
- {
diff --git a/sysutils/nvclock/files/patch-src-gtk-main.c b/sysutils/nvclock/files/patch-src-gtk-main.c
deleted file mode 100644
index 26a69b2cf7ed..000000000000
--- a/sysutils/nvclock/files/patch-src-gtk-main.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/gtk/main.c.orig 2008-08-16 17:39:31.000000000 +0200
-+++ src/gtk/main.c 2008-08-16 17:40:29.000000000 +0200
-@@ -255,6 +255,9 @@
- {
- GtkWidget *window_nvclock;
-
-+ gtk_set_locale ();
-+ gtk_init (&argc, &argv);
-+
- /* Initialize nvclock. This must be done here instead of in the hardware backend
- / because of the configuration file which gets initialized by init_nvclock.
- */
-@@ -269,9 +272,6 @@
- return 0;
- }
-
-- gtk_set_locale ();
-- gtk_init (&argc, &argv);
--
- window_nvclock = create_window_main ();
- gtk_widget_show (window_nvclock);
-