diff options
author | wiz <wiz@pkgsrc.org> | 2002-05-20 14:41:56 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-05-20 14:41:56 +0000 |
commit | df5ecc3dc28a113668328bf2a99416e8aa5830fa (patch) | |
tree | eccad81d3b4951a6c66433bd587f8f2bb93508d8 /graphics/qiv | |
parent | 9511d288cd3229e5df167e2c4c23123d80f987af (diff) | |
download | pkgsrc-df5ecc3dc28a113668328bf2a99416e8aa5830fa.tar.gz |
Initial import of qiv-1.7, a 'Quick Image Viewer'.
Based on pkg/16700 by Marko Schuetz, with major changes.
Diffstat (limited to 'graphics/qiv')
-rw-r--r-- | graphics/qiv/DESCR | 1 | ||||
-rw-r--r-- | graphics/qiv/Makefile | 19 | ||||
-rw-r--r-- | graphics/qiv/PLIST | 3 | ||||
-rw-r--r-- | graphics/qiv/distinfo | 5 | ||||
-rw-r--r-- | graphics/qiv/patches/patch-aa | 58 |
5 files changed, 86 insertions, 0 deletions
diff --git a/graphics/qiv/DESCR b/graphics/qiv/DESCR new file mode 100644 index 00000000000..ffd75dc3d21 --- /dev/null +++ b/graphics/qiv/DESCR @@ -0,0 +1 @@ +Quick Image Viewer is a very small and pretty fast Gdk/Imlib image viewer. diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile new file mode 100644 index 00000000000..b40d09ba0e4 --- /dev/null +++ b/graphics/qiv/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/20 14:41:56 wiz Exp $ +# + +DISTNAME= qiv-1.7-src +PKGNAME= ${DISTNAME:S/-src//} +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} +CATEGORIES= graphics +MASTER_SITES= http://www.klografx.net/qiv/download/ +EXTRACT_SUFX= .tgz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.klografx.net/qiv/download/ +COMMENT= Quick image viewer + +USE_GMAKE= yes +USE_BUILDLINK_ONLY= yes + +.include "../../graphics/imlib/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/qiv/PLIST b/graphics/qiv/PLIST new file mode 100644 index 00000000000..61e095d6de1 --- /dev/null +++ b/graphics/qiv/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/20 14:41:56 wiz Exp $ +bin/qiv +man/man1/qiv.1 diff --git a/graphics/qiv/distinfo b/graphics/qiv/distinfo new file mode 100644 index 00000000000..fc14502d3bb --- /dev/null +++ b/graphics/qiv/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/05/20 14:41:56 wiz Exp $ + +SHA1 (qiv-1.7-src.tgz) = 5dc8db9cdece29e8184207ea6015ff81c5b47368 +Size (qiv-1.7-src.tgz) = 88107 bytes +SHA1 (patch-aa) = 4d26a1ddd2b5534dc7437eccf883597e54d0e03e diff --git a/graphics/qiv/patches/patch-aa b/graphics/qiv/patches/patch-aa new file mode 100644 index 00000000000..7be46fbf339 --- /dev/null +++ b/graphics/qiv/patches/patch-aa @@ -0,0 +1,58 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/20 14:41:57 wiz Exp $ + +--- Makefile.orig Sun Jun 10 14:35:06 2001 ++++ Makefile +@@ -4,7 +4,7 @@ + ###################################################################### + + # Directory where qiv will be installed under. +-PREFIX = /usr/local ++#PREFIX = /usr/local + + # Font to use for statusbar in fullscreen mode + STATUSBAR_FONT = "fixed" +@@ -24,11 +24,11 @@ + EXTNS = GIF TIFF XPM XBM PNG PPM PNM PGM PCX BMP EIM JPEG TGA + + # Comment this line out if your system doesn't have getopt_long(). +-GETOPT_LONG = -DHAVE_GETOPT_LONG ++#GETOPT_LONG = -DHAVE_GETOPT_LONG + + # This program will be run on the manual page after it is installed. + # If you don't want to compress the manpage, change it to 'true'. +-COMPRESS_PROG = gzip -9f ++COMPRESS_PROG = true + + ###################################################################### + +@@ -58,8 +58,8 @@ + -fcaller-saves -ffast-math -fno-strength-reduce \ + -fthread-jumps #-march=pentium #-DSTAT_MACROS_BROKEN + +-INCLUDES = `imlib-config --cflags-gdk` +-LIBS = `imlib-config --libs-gdk` ++INCLUDES = `${IMLIB_CONFIG} --cflags-gdk` ++LIBS = `${IMLIB_CONFIG} --libs-gdk` + + PROGRAM = qiv + OBJS = main.o image.o event.o options.o utils.o +@@ -112,13 +112,13 @@ + + install: $(PROGRAM) + @echo "Installing..." +- install -s -m 0755 $(PROGRAM) $(PREFIX)/bin +- install -m 0644 $(PROGRAM).1 $(PREFIX)/man/man1 ++ install -c -s -m 0755 $(PROGRAM) $(PREFIX)/bin ++ install -c -m 0644 $(PROGRAM).1 $(PREFIX)/man/man1 + $(COMPRESS_PROG) $(PREFIX)/man/man1/$(PROGRAM).1 +- @if ./qiv -o white -f ./intro.jpg ; \ +- then echo "-- Test Passed --" ; \ +- else echo "-- Test Failed --" ; \ +- fi ++# @if ./qiv -o white -f ./intro.jpg ; \ ++# then echo "-- Test Passed --" ; \ ++# else echo "-- Test Failed --" ; \ ++# fi + + install-xscreensaver: install + @echo "#!/bin/sh" > $(SS_PROG) |