diff options
author | snj <snj> | 2004-02-17 15:20:47 +0000 |
---|---|---|
committer | snj <snj> | 2004-02-17 15:20:47 +0000 |
commit | ad4f923adeb2861713989b13e338b19f8f2a5712 (patch) | |
tree | 341eee3a9ad57ba7a00376a2ac9bb580b204024c /graphics/qiv/patches | |
parent | e2d8ea92ed3c2440d70e7b28349a61039f06370e (diff) | |
download | pkgsrc-ad4f923adeb2861713989b13e338b19f8f2a5712.tar.gz |
Update to qiv-1.9, add x11 to CATEGORIES, take maintainership, use bl3.
Changes since 1.8:
* -R flag, which puts qiv in readonly mode
* Flickering in fullscreen mode has been reduced
* -F flag, which allows filenames to be read in from a text file
* F11/F12 now {de,in}crease the slide show delay by 1 second
* Mouse cursor is hidden after 1 second of inactivity
* Miscellaneous other bugfixes
Okayed by jmmv and wiz.
Diffstat (limited to 'graphics/qiv/patches')
-rw-r--r-- | graphics/qiv/patches/patch-aa | 56 |
1 files changed, 26 insertions, 30 deletions
diff --git a/graphics/qiv/patches/patch-aa b/graphics/qiv/patches/patch-aa index 95bb1b8991e..78e0587d12c 100644 --- a/graphics/qiv/patches/patch-aa +++ b/graphics/qiv/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.3 2003/09/18 19:16:20 wiz Exp $ +$NetBSD: patch-aa,v 1.4 2004/02/17 15:20:47 snj Exp $ ---- Makefile.orig 2001-06-10 14:35:06.000000000 +0200 -+++ Makefile +--- Makefile.orig 2003-01-13 03:57:42.000000000 -0800 ++++ Makefile 2004-02-17 07:09:06.000000000 -0800 @@ -4,7 +4,7 @@ ###################################################################### @@ -11,48 +11,44 @@ $NetBSD: patch-aa,v 1.3 2003/09/18 19:16:20 wiz Exp $ # Font to use for statusbar in fullscreen mode STATUSBAR_FONT = "fixed" -@@ -24,11 +24,11 @@ FILTER = 1 - 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 - - ###################################################################### - -@@ -53,8 +53,8 @@ SS_RANDOMIZE = -r +@@ -53,11 +53,6 @@ SS_RANDOMIZE = -r # Do not edit below here! ###################################################################### -CC = gcc -CFLAGS = -O2 -Wall -fomit-frame-pointer -finline-functions \ -+CC ?= gcc -+CFLAGS += -Wall -fomit-frame-pointer -finline-functions \ - -fcaller-saves -ffast-math -fno-strength-reduce \ - -fthread-jumps #-march=pentium #-DSTAT_MACROS_BROKEN +- -fcaller-saves -ffast-math -fno-strength-reduce \ +- -fthread-jumps #-march=pentium #-DSTAT_MACROS_BROKEN +- + INCLUDES = `imlib-config --cflags-gdk` + LIBS = `imlib-config --libs-gdk` + +@@ -87,10 +82,10 @@ SS_PROG = $(PREFIX)/ss-qiv + all: $(PROGRAM) + + $(PROGRAM): $(OBJS) +- $(CC) $(CFLAGS) $(DEFINES) $(LIBS) $(OBJS) -o $(PROGRAM) ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(DEFINES) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM) + + $(OBJS): %.o: %.c $(HEADERS) +- $(CC) -c $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o $@ ++ $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o $@ + + main.o: main.h -@@ -112,13 +112,13 @@ clean : +@@ -115,13 +110,8 @@ distclean : clean 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 +- $(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 ++ $(BSD_INSTALL_PROGRAM) $(PROGRAM) $(PREFIX)/bin ++ $(BSD_INSTALL_DATA) $(PROGRAM).1 $(PREFIX)/man/man1 install-xscreensaver: install @echo "#!/bin/sh" > $(SS_PROG) |