Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2008 04:22:17 GMT
From:      bf <bf2006a@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125393: [PATCH]print/gv: update to 3.6.5
Message-ID:  <200807080422.m684MHEs084666@www.freebsd.org>
Resent-Message-ID: <200807080430.m684U1xG064674@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125393
>Category:       ports
>Synopsis:       [PATCH]print/gv: update to 3.6.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 08 04:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        7-STABLE i386
>Organization:
-
>Environment:
>Description:
The upstream maintainers ditched some code for licensing reasons, requiring the additional setenv-related argument to configure -- or further patching.  The cautionary post-install message about ${HOME}/.gv is needed because that file now includes the version of gv it was created under, and gv may fail to run if the version listed in that file is not the same as the version of the executable -- perhaps it should be turned into a pkg-message.

Regards,
          b.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN gv.orig/Makefile gv/Makefile
--- gv.orig/Makefile	2008-06-16 23:26:28.667006117 -0400
+++ gv/Makefile	2008-07-08 00:16:34.923174648 -0400
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	gv
-PORTVERSION=	3.6.4
+PORTVERSION=	3.6.5
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -21,7 +21,8 @@
 USE_GHOSTSCRIPT=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--libdir=${PREFIX}/lib/X11
+CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/X11 \
+			--enable-setenv-code
 
 MAN1=		gv.1
 INFO=		gv
@@ -32,7 +33,15 @@
 		lib/X11/gv/gv_system.ad \
 		lib/X11/gv/gv_user.ad \
 		lib/X11/gv/gv_user_res.dat \
+		lib/X11/gv/gv_widgetless.dat \
 		lib/X11/app-defaults/GV
 PLIST_DIRS=	lib/X11/gv
 
+post-install:
+		@${ECHO_MSG} ""
+		@${ECHO_MSG} " Don't forget to remove ${HOME}/.gv if it was created "
+		@${ECHO_MSG} " when a different version of gv was installed: otherwise "
+		@${ECHO_MSG} " gv may fail to run. "
+		@${ECHO_MSG} ""
+
 .include <bsd.port.mk>
diff -ruN gv.orig/distinfo gv/distinfo
--- gv.orig/distinfo	2008-06-16 23:26:28.687005586 -0400
+++ gv/distinfo	2008-07-08 00:16:34.923174648 -0400
@@ -1,3 +1,3 @@
-MD5 (gv-3.6.4.tar.gz) = 34ea686ea499c938e152ab424859b903
-SHA256 (gv-3.6.4.tar.gz) = 82a1c4edb19597a4fbddb018622b0f357524e8629c9f655ae4e7ddea003c6827
-SIZE (gv-3.6.4.tar.gz) = 507008
+MD5 (gv-3.6.5.tar.gz) = ce3081b1b3e6258607f2de70f39cbcd2
+SHA256 (gv-3.6.5.tar.gz) = edd4fe40f65e4722736fc1d6f6d3b9c9f1f919e5da4835873d65e95b92c1bd73
+SIZE (gv-3.6.5.tar.gz) = 537336
diff -ruN gv.orig/files/patch-src-Makefile.in gv/files/patch-src-Makefile.in
--- gv.orig/files/patch-src-Makefile.in	2008-02-21 00:13:01.000000000 -0500
+++ gv/files/patch-src-Makefile.in	2008-07-08 00:16:34.923174648 -0400
@@ -1,9 +1,9 @@
---- src/Makefile.in.orig	Mon Dec 20 04:17:13 2004
-+++ src/Makefile.in	Wed Dec 29 23:06:46 2004
-@@ -233,7 +233,7 @@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- dist_pkglib_DATA = gv_system.ad gv_user.ad gv_class.ad gv_spartan.dat gv_user_res.dat gv_copyright.dat
+--- src/Makefile.in.orig	2008-07-07 23:01:11.532113493 -0400
++++ src/Makefile.in	2008-07-07 23:02:16.119805505 -0400
+@@ -256,7 +256,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ dist_pkglib_DATA = gv_system.ad gv_user.ad gv_class.ad gv_spartan.dat gv_user_res.dat gv_copyright.dat gv_widgetless.dat
 -appdefaultsdir = $(pkglibdir)
 +appdefaultsdir = $(libdir)/app-defaults
  appdefaults_DATA = GV
diff -ruN gv.orig/files/patch-src-gv_misc_res.dat gv/files/patch-src-gv_misc_res.dat
--- gv.orig/files/patch-src-gv_misc_res.dat	2008-02-21 00:13:01.000000000 -0500
+++ gv/files/patch-src-gv_misc_res.dat	2008-07-08 00:16:34.923174648 -0400
@@ -1,6 +1,6 @@
---- src/gv_misc_res.dat.bak	Mon Dec 20 01:21:45 2004
-+++ src/gv_misc_res.dat	Wed Dec 29 22:58:43 2004
-@@ -463,7 +463,6 @@
+--- src/gv_misc_res.dat.orig	2008-07-07 23:05:39.631469696 -0400
++++ src/gv_misc_res.dat	2008-07-07 23:06:13.945427476 -0400
+@@ -465,7 +465,6 @@
   <Key>BackSpace:	GV_Page(up,left-bottom,!page-1,bottom-rightedge)\n\
   <Key>Insert:		GV_Page(page-5)		\n\
   <Key>Delete:		GV_Page(page+5)		\n\


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807080422.m684MHEs084666>