pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11 Make the password dialogue banner display the netb...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f46d731e83ad
branches: trunk
changeset: 464968:f46d731e83ad
user: atatat <atatat%pkgsrc.org@localhost>
date: Thu Dec 18 13:49:17 2003 +0000
description:
Make the password dialogue banner display the netbsd PKGREVISION
number, if there was one (which, of course, makes me bump PKGREVISION
to 1 for all three xscreensaver pkgs (are we really supposed to bump
PKGREVISION for each pkg individually?)). This eliminates the
confusion where pkg_info says version "4.14nb1" is installed, yet the
dialogue says it's onlu version "4.14".
Also, fix the conflicts for the screensaver pkg so that it properly
conflicts with xscreensaver-gnome<4.14 (not <1.14).
diffstat:
x11/xscreensaver-demo/Makefile | 3 ++-
x11/xscreensaver-gnome/Makefile | 3 ++-
x11/xscreensaver/Makefile | 5 +++--
x11/xscreensaver/Makefile.common | 5 ++++-
x11/xscreensaver/distinfo | 3 ++-
x11/xscreensaver/patches/patch-af | 22 ++++++++++++++++++++++
6 files changed, 35 insertions(+), 6 deletions(-)
diffs (104 lines):
diff -r 2bc9a1ef85b3 -r f46d731e83ad x11/xscreensaver-demo/Makefile
--- a/x11/xscreensaver-demo/Makefile Thu Dec 18 11:29:33 2003 +0000
+++ b/x11/xscreensaver-demo/Makefile Thu Dec 18 13:49:17 2003 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/12/13 19:23:43 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2003/12/18 13:49:17 atatat Exp $
#
PKGNAME= ${DISTNAME:S/-/-demo-/}
COMMENT= Screen saver and locker for the X window system (demo program)
+PKGREVISION= 1
CONFLICTS+= xscreensaver<4.14 xscreensaver-gnome-[0-9]*
diff -r 2bc9a1ef85b3 -r f46d731e83ad x11/xscreensaver-gnome/Makefile
--- a/x11/xscreensaver-gnome/Makefile Thu Dec 18 11:29:33 2003 +0000
+++ b/x11/xscreensaver-gnome/Makefile Thu Dec 18 13:49:17 2003 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.23 2003/12/13 19:22:13 jmmv Exp $
+# $NetBSD: Makefile,v 1.24 2003/12/18 13:49:17 atatat Exp $
#
PKGNAME= ${DISTNAME:S/-/-gnome-/}
COMMENT= Screen saver and locker for the X window system (GNOME applet)
+PKGREVISION= 1
CONFLICTS+= xscreensaver<4.14 xscreensaver-demo-[0-9]*
diff -r 2bc9a1ef85b3 -r f46d731e83ad x11/xscreensaver/Makefile
--- a/x11/xscreensaver/Makefile Thu Dec 18 11:29:33 2003 +0000
+++ b/x11/xscreensaver/Makefile Thu Dec 18 13:49:17 2003 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.62 2003/12/13 19:22:12 jmmv Exp $
+# $NetBSD: Makefile,v 1.63 2003/12/18 13:49:17 atatat Exp $
#
COMMENT= Screen saver and locker for the X window system
+PKGREVISION= 1
-CONFLICTS+= xscreensaver-gnome<1.14
+CONFLICTS+= xscreensaver-gnome<4.14
.include "../../x11/xscreensaver/Makefile.common"
diff -r 2bc9a1ef85b3 -r f46d731e83ad x11/xscreensaver/Makefile.common
--- a/x11/xscreensaver/Makefile.common Thu Dec 18 11:29:33 2003 +0000
+++ b/x11/xscreensaver/Makefile.common Thu Dec 18 13:49:17 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.60 2003/12/16 07:08:10 tron Exp $
+# $NetBSD: Makefile.common,v 1.61 2003/12/18 13:49:17 atatat Exp $
#
DISTNAME= xscreensaver-4.14
@@ -27,6 +27,9 @@
CONFIGURE_ENV+= ac_cv_x_app_defaults="${PREFIX}/lib/X11/app-defaults"
CONFIGURE_ENV+= PERL="${PERL5}" ac_cv_perl_version="${PERL_VERSION}"
CONFIGURE_ENV+= INTLTOOL_PERL="${PERL5}"
+.if defined(PKGREVISION)
+CONFIGURE_ENV+= X_CFLAGS="-DPKGREVISION=${PKGREVISION}"
+.endif
CONFIGURE_ARGS+= ac_cv_path_INTLTOOL_PERL="${PERL5}"
MAKE_ENV+= KDEDIR=${PREFIX}
diff -r 2bc9a1ef85b3 -r f46d731e83ad x11/xscreensaver/distinfo
--- a/x11/xscreensaver/distinfo Thu Dec 18 11:29:33 2003 +0000
+++ b/x11/xscreensaver/distinfo Thu Dec 18 13:49:17 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2003/12/13 19:22:13 jmmv Exp $
+$NetBSD: distinfo,v 1.33 2003/12/18 13:49:17 atatat Exp $
SHA1 (xscreensaver-4.14.tar.gz) = 4996718deaceeb578953f400e518b745c1dd32c4
Size (xscreensaver-4.14.tar.gz) = 3988251 bytes
@@ -7,4 +7,5 @@
SHA1 (patch-ac) = 9b82326439791ecc8e05e85a4d691109b4e50e68
SHA1 (patch-ad) = 244908c3e4c278c878bf89e07bd68efb62b3fc4d
SHA1 (patch-ae) = 16d0c8b50b2601458aaec09d1c7425fb23308225
+SHA1 (patch-af) = 2340efe0cf677a20c336570b24374d675f5cd6eb
SHA1 (patch-ag) = e4f2332a349a94162f057601a69498a171ad4114
diff -r 2bc9a1ef85b3 -r f46d731e83ad x11/xscreensaver/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xscreensaver/patches/patch-af Thu Dec 18 13:49:17 2003 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-af,v 1.13 2003/12/18 13:49:17 atatat Exp $
+
+Make the password dialogue banner display the netbsd PKGREVISION
+number, if there was one.
+
+--- driver/xscreensaver.c.orig 2003-10-07 04:59:40.000000000 -0400
++++ driver/xscreensaver.c
+@@ -478,9 +478,13 @@ set_version_string (saver_info *si, int
+ *s = '_';
+ }
+
+- si->version = (char *) malloc (5);
++ si->version = (char *) malloc (32);
+ memcpy (si->version, screensaver_id + 17, 4);
+ si->version [4] = 0;
++
++#if PKGREVISION > 0
++ (void)snprintf(si->version, 10, "%.4snb%d", screensaver_id + 17, PKGREVISION);
++#endif
+ }
+
+
Home |
Main Index |
Thread Index |
Old Index