pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/xv
Module Name: pkgsrc
Committed By: tsutsui
Date: Thu Feb 21 01:37:14 UTC 2019
Modified Files:
pkgsrc/graphics/xv: Makefile distinfo
pkgsrc/graphics/xv/patches: patch-ac patch-ad
Log Message:
xv: make ghostscript support optional and disable it by default.
Building ghostscript on 1990's ancient machines is a bit pain
and postscript support on the old viewer is rarely necessary.
Bumps PKGREVISION. Also take maintainership as a user.
To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 pkgsrc/graphics/xv/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/graphics/xv/distinfo
cvs rdiff -u -r1.10 -r1.11 pkgsrc/graphics/xv/patches/patch-ac
cvs rdiff -u -r1.11 -r1.12 pkgsrc/graphics/xv/patches/patch-ad
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/xv/Makefile
diff -u pkgsrc/graphics/xv/Makefile:1.92 pkgsrc/graphics/xv/Makefile:1.93
--- pkgsrc/graphics/xv/Makefile:1.92 Thu Jun 21 22:36:36 2018
+++ pkgsrc/graphics/xv/Makefile Thu Feb 21 01:37:14 2019
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.92 2018/06/21 22:36:36 tez Exp $
+# $NetBSD: Makefile,v 1.93 2019/02/21 01:37:14 tsutsui Exp $
DISTNAME= xv-3.10a
-PKGREVISION= 24
+PKGREVISION= 25
CATEGORIES= graphics x11
MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/
DISTFILES= ${DEFAULT_DISTFILES} ${JUMBO_PATCHES}
@@ -14,14 +14,15 @@ SITES.${JUMBO_PATCHES}= ${MASTER_SITE_SO
PATCHFILES+= xv-3.10a-enhancements.20070520-20081216.diff
PATCH_SITES= http://www.gregroelofs.com/code/
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+MAINTAINER= tsutsui%NetBSD.org@localhost
HOMEPAGE= http://www.trilon.com/xv/
# and... http://www.sonic.net/~roelofs/greg_xv.html
COMMENT= X11 program that displays images of various formats
LICENSE= xv-license
USE_IMAKE= YES
-USE_TOOLS+= gs:run
+
+.include "options.mk"
# See the end of README in work/xv-3.10a for details.
RESTRICTED= Distribution of modified copies and commercial distribution is not permitted.
Index: pkgsrc/graphics/xv/distinfo
diff -u pkgsrc/graphics/xv/distinfo:1.21 pkgsrc/graphics/xv/distinfo:1.22
--- pkgsrc/graphics/xv/distinfo:1.21 Thu Jun 21 22:36:36 2018
+++ pkgsrc/graphics/xv/distinfo Thu Feb 21 01:37:14 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2018/06/21 22:36:36 tez Exp $
+$NetBSD: distinfo,v 1.22 2019/02/21 01:37:14 tsutsui Exp $
SHA1 (xv-3.10a-enhancements.20070520-20081216.diff) = 40bfb0889b820e0f9d3bd7d771144ec3458acc66
RMD160 (xv-3.10a-enhancements.20070520-20081216.diff) = dbd4ab25b5b62fb543befcf655d928db3a77e005
@@ -14,8 +14,8 @@ SHA512 (xv-3.10a.tar.gz) = 5b8c5890503e2
Size (xv-3.10a.tar.gz) = 2259124 bytes
SHA1 (patch-aa) = bd6ef51bf962e1994e2e47ba5197c9729ec5221a
SHA1 (patch-ab) = 5bfc8ae09b029e4661b27d94bba46540c7f320fb
-SHA1 (patch-ac) = a17b0095e6586b595190a07126ac58752d8a2562
-SHA1 (patch-ad) = d1fa6ae4c432528148ebe37b7a8bef8bd2059997
+SHA1 (patch-ac) = 66430e80d9a17f772abefd14d00af0b5a0f88100
+SHA1 (patch-ad) = 9447ae45ac67f2f9ef7eead8a6a21902f0c7922e
SHA1 (patch-ae) = 2bda08bae67fcf127c49b9ed780b7a247579c088
SHA1 (patch-af) = 7f6e771788e04577d8db17bfe8fbcce8dca4a600
SHA1 (patch-ag) = 120d589f728fd32ea267fd46bcc16f27d9f08116
Index: pkgsrc/graphics/xv/patches/patch-ac
diff -u pkgsrc/graphics/xv/patches/patch-ac:1.10 pkgsrc/graphics/xv/patches/patch-ac:1.11
--- pkgsrc/graphics/xv/patches/patch-ac:1.10 Sun May 3 22:58:31 2009
+++ pkgsrc/graphics/xv/patches/patch-ac Thu Feb 21 01:37:14 2019
@@ -1,10 +1,15 @@
-$NetBSD: patch-ac,v 1.10 2009/05/03 22:58:31 abs Exp $
+$NetBSD: patch-ac,v 1.11 2019/02/21 01:37:14 tsutsui Exp $
---- config.h.orig 2007-06-08 07:29:49.000000000 +0000
+- make ghostscript support optional
+- use pkgsrc ${PREFIX} for ghostscript files
+
+--- config.h.orig 2019-02-17 16:07:37.145241693 +0000
+++ config.h
-@@ -113,9 +113,9 @@
+@@ -112,10 +112,12 @@
+ * should not need to be changed
*/
++#ifdef DOGS
/* #define GS_PATH "/usr/local/bin/gs" */
-#define GS_PATH "gs"
-/* #define GS_LIB "." */
@@ -12,6 +17,7 @@ $NetBSD: patch-ac,v 1.10 2009/05/03 22:5
+#define GS_PATH "@PREFIX@/bin/gs"
+#define GS_LIB "@PREFIX@/share/ghostscript"
+#define GS_DEV "ppmraw"
++#endif
/***************************************************************************
Index: pkgsrc/graphics/xv/patches/patch-ad
diff -u pkgsrc/graphics/xv/patches/patch-ad:1.11 pkgsrc/graphics/xv/patches/patch-ad:1.12
--- pkgsrc/graphics/xv/patches/patch-ad:1.11 Sun May 3 22:58:31 2009
+++ pkgsrc/graphics/xv/patches/patch-ad Thu Feb 21 01:37:14 2019
@@ -1,7 +1,10 @@
-$NetBSD: patch-ad,v 1.11 2009/05/03 22:58:31 abs Exp $
+$NetBSD: patch-ad,v 1.12 2019/02/21 01:37:14 tsutsui Exp $
+
+- use jpeg, png, tiff, and zlib from pkgsrc
+- make ghostscript support optional
diff -u Imakefile Imakefile
---- Imakefile.orig
+--- Imakefile.orig 2019-02-17 16:07:37.119347259 +0000
+++ Imakefile
@@ -6,13 +6,15 @@
/* if, for whatever reason, you're unable to get the JPEG library to compile
@@ -21,17 +24,18 @@ diff -u Imakefile Imakefile
/* if, for whatever reason, you're unable to get the PDS/VICAR support
-@@ -21,6 +23,9 @@
+@@ -21,6 +23,10 @@
#define HavePDS
++/* #define UseInstalledGhostScript */
+#define UseInstalledPng
+#define UseInstalledZlib
+
/*
* if you are running on a SysV-based machine, such as HP, Silicon Graphics,
* etc, uncomment one of the following lines to get you *most* of the way
-@@ -124,20 +129,62 @@
+@@ -124,20 +130,66 @@ MGCSFX = -DMGCSFXDIR=\"$(MGCSFXDIR)\"
JPEG = -DDOJPEG
JPEGDIR = jpeg
LIBJPEG = $(JPEGDIR)/libjpeg.a
@@ -63,6 +67,10 @@ diff -u Imakefile Imakefile
PDS = -DDOPDS
#endif
++#ifdef UseInstalledGhostScript
++GS = -DDOGS
++#endif
++
+/*
+###
+### if, for whatever reason, you're unable to get the PNG library to compile
@@ -94,7 +102,7 @@ diff -u Imakefile Imakefile
#if defined(SCOArchitecture)
SCO= -Dsco -DPOSIX -DNO_RANDOM
-@@ -149,14 +196,14 @@
+@@ -149,14 +201,14 @@ SYS_LIBRARIES= -lm
#endif
@@ -105,7 +113,7 @@ diff -u Imakefile Imakefile
DEFINES= $(SCO) $(UNIX) $(NODIRENT) $(VPRINTF) $(TIMERS) \
- $(HPUX7) $(JPEG) $(TIFF) $(PDS) $(DXWM) $(RAND) \
-+ $(HPUX7) $(JPEG) $(TIFF) $(PNG) $(PDS) $(DXWM) $(RAND) \
++ $(HPUX7) $(JPEG) $(TIFF) $(GS) $(PNG) $(PDS) $(DXWM) $(RAND) \
$(BACKING_STORE) $(BSDTYPES) $(SGI) $(MGCSFX)
-INCLUDES = $(JPEGINCLUDE) $(TIFFINCLUDE)
Home |
Main Index |
Thread Index |
Old Index