diff options
-rw-r--r-- | graphics/xzgv/Makefile | 35 | ||||
-rw-r--r-- | graphics/xzgv/files/md5 | 3 | ||||
-rw-r--r-- | graphics/xzgv/files/patch-sum | 4 | ||||
-rw-r--r-- | graphics/xzgv/patches/patch-aa | 35 | ||||
-rw-r--r-- | graphics/xzgv/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/xzgv/pkg/COMMENT | 1 | ||||
-rw-r--r-- | graphics/xzgv/pkg/DESCR | 16 | ||||
-rw-r--r-- | graphics/xzgv/pkg/PLIST | 9 |
8 files changed, 116 insertions, 0 deletions
diff --git a/graphics/xzgv/Makefile b/graphics/xzgv/Makefile new file mode 100644 index 00000000000..07e0e9d61e5 --- /dev/null +++ b/graphics/xzgv/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/11/25 19:02:27 jtb Exp $ + +DISTNAME= xzgv-0.6 +CATEGORIES= graphics +MASTER_SITES= http://xzgv.browser.org/ \ + ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/viewers/X/ + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://xzgv.browser.org/ + +DEPENDS+= gtk+>=1.2.0:../../x11/gtk +DEPENDS+= glib-[0-9]*:../../devel/glib +DEPENDS+= libungif-[0-9]*:../../graphics/libungif +DEPENDS+= jpeg-[0-9]*:../../graphics/jpeg +DEPENDS+= png-[0-9]*:../../graphics/png +DEPENDS+= tiff-[0-9]*:../../graphics/tiff +DEPENDS+= imlib>=1.0:../../graphics/imlib + +INFO_FILES= xzgv +USE_X11BASE= yes +USE_GMAKE= yes + +.if (${MACHINE_ARCH} == "i386") +MAKE_ENV+="CPPFLAGS=-DINTERP_MMX" +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/xzgv ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/xzgv.1 ${PREFIX}/man/man1 + @(cd ${WRKSRC}/doc && makeinfo xzgv.texi) + @for f in xzgv xzgv-1 xzgv-2 xzgv-3 ; do \ + ${INSTALL_DATA} ${WRKSRC}/doc/$$f ${PREFIX}/info ; done + +.include "../../mk/bsd.pkg.mk" + diff --git a/graphics/xzgv/files/md5 b/graphics/xzgv/files/md5 new file mode 100644 index 00000000000..353b8ae9edf --- /dev/null +++ b/graphics/xzgv/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/11/25 19:02:27 jtb Exp $ + +MD5 (xzgv-0.6.tar.gz) = 10e084593c2e8e4f9d92eefb35a02162 diff --git a/graphics/xzgv/files/patch-sum b/graphics/xzgv/files/patch-sum new file mode 100644 index 00000000000..6a0801703dc --- /dev/null +++ b/graphics/xzgv/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/11/25 19:02:27 jtb Exp $ + +MD5 (patch-aa) = 97616d05d4fcfbaba3dd17e4deb097b6 +MD5 (patch-ab) = b87da2e1fbe4e9338bebd027557fa9d7 diff --git a/graphics/xzgv/patches/patch-aa b/graphics/xzgv/patches/patch-aa new file mode 100644 index 00000000000..d4498dcbde9 --- /dev/null +++ b/graphics/xzgv/patches/patch-aa @@ -0,0 +1,35 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/11/25 19:02:27 jtb Exp $ + +--- config.mk.orig Thu Oct 26 13:08:33 2000 ++++ config.mk +@@ -6,9 +6,9 @@ + # Set the C compiler to use, and options for it. + # This is likely to be what you'll want for most systems: + # +-CC=gcc +-CFLAGS=-O2 -Wall +- ++#CC=gcc ++CFLAGS=-O2 -Wall -I${LOCALBASE}/include -I${X11BASE}/include ++LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib + # Set the awk interpreter to use for a script used while compiling. + # (This should be a `new' awk, such as gawk or mawk.) + # +@@ -27,7 +27,7 @@ + # On non-x86-based machines (e.g. Alpha, Sparc, PPC), you should + # comment it out. + # +-CFLAGS+=-DINTERP_MMX ++#CFLAGS+=-DINTERP_MMX + + + # --------------------- Installation options ---------------------- +@@ -37,7 +37,7 @@ + # MANDIR to directory for man page. + # Usually it will be simpler to just set PREFIX. + # +-PREFIX=/usr/local ++#PREFIX=/usr/local + + # In theory it would be nice to put the info file and man page under + # /usr/local/share. However, it's not clear if this is widely diff --git a/graphics/xzgv/patches/patch-ab b/graphics/xzgv/patches/patch-ab new file mode 100644 index 00000000000..f20959f16a2 --- /dev/null +++ b/graphics/xzgv/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/11/25 19:02:27 jtb Exp $ + +--- src/Makefile.orig Sun Nov 5 19:13:31 2000 ++++ src/Makefile +@@ -32,7 +32,7 @@ + # explicit linking of JPEG lib is needed as Imlib loads format libs + # dynamically (IIRC) + xzgv: $(OBJS) +- $(CC) $(CFLAGS) -o xzgv $(OBJS) `imlib-config --libs-gdk` -ljpeg -lpng ++ $(CC) $(CPPFLAGS) $(CFLAGS) -o xzgv $(OBJS) `imlib-config --libs-gdk` $(LDFLAGS) -ljpeg -lpng + + logoconv: logoconv.o + $(CC) $(CFLAGS) -o logoconv logoconv.o diff --git a/graphics/xzgv/pkg/COMMENT b/graphics/xzgv/pkg/COMMENT new file mode 100644 index 00000000000..ae8ee9f1f10 --- /dev/null +++ b/graphics/xzgv/pkg/COMMENT @@ -0,0 +1 @@ +Image viewer diff --git a/graphics/xzgv/pkg/DESCR b/graphics/xzgv/pkg/DESCR new file mode 100644 index 00000000000..9191831add8 --- /dev/null +++ b/graphics/xzgv/pkg/DESCR @@ -0,0 +1,16 @@ +xzgv is a picture viewer for X, with a thumbnail-based file selector. +It uses GTK+ and Imlib. Most file formats are supported, and the +thumbnails used are compatible with xv, zgv, and the Gimp. It can also +be used with `xzgv file(s)', to effectively bypass the file selector. +For more on how xzgv works and how to use it, do `info xzgv' or `man +xzgv' once it's installed. + +xzgv differs from other picture viewers for X in that it uses one +window for both the file selector and viewer, it (unlike xv) allows +both scrolling and fit-to-window methods of viewing large pictures, +and it (unlike xv and some others) doesn't ever mangle the picture's +aspect ratio without you telling it to. + +It also provides extensive keyboard support; if you prefer using the +keyboard, this is almost certainly the best viewer for you. But it +doesn't skimp on the mousey stuff, either. diff --git a/graphics/xzgv/pkg/PLIST b/graphics/xzgv/pkg/PLIST new file mode 100644 index 00000000000..9150ce80cfb --- /dev/null +++ b/graphics/xzgv/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/25 19:02:27 jtb Exp $ +bin/xzgv +@unexec install-info --delete --info-dir=%D/info %D/info/xzgv +info/xzgv +info/xzgv-1 +info/xzgv-2 +info/xzgv-3 +@exec install-info --info-dir=%D/info %D/info/xzgv +man/man1/xzgv.1 |