Updated to 0.8b4
PR: ports/135425 Submitted by: Bernhard Froehlich <decke@bluelife.at> Approved by: maintainer timeout (27 days); wxs (mentor)
This commit is contained in:
parent
8edd131358
commit
5b58c5b2ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237055
5 changed files with 6 additions and 64 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
@ -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()
|
||||
{
|
|
@ -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);
|
||||
|
Loading…
Reference in a new issue