summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz>2004-12-23 02:01:11 +0000
committerwiz <wiz>2004-12-23 02:01:11 +0000
commit36203c698abc8f845b981c280dcfb033bd127f1a (patch)
tree7ef3c3c8da874fdb98f679766c628a6261a926b1 /graphics
parent01f6ddb2bcb31042d2c8fcc8717f84e9b08e04df (diff)
downloadpkgsrc-36203c698abc8f845b981c280dcfb033bd127f1a.tar.gz
Update to 0.8, and add fix against vulnerability.
* Changes in xzgv 0.8 ** New features Added support for the Exif orientation tag (Exif in this context is a form of JPEG). If you enable the "Use Exif Orientation" option in the viewer (or `exif-orient' config/option), it'll compensate for the (e.g.) digital camera's orientation when viewing, so pictures taken with the camera side-on will display the way you would probably want them to. However, since this differs from how most *other* programs will see the files - which are, after all, carefully constructed to be compatible with JFIF/JPEG files - and has the potential to be extremely confusing if you don't know exactly what's going on, it's not enabled by default. Thanks to Fraser Wright for suggesting this feature. ** Bugfixes Broken GIFs could overrun a buffer previously - fixed. Added call to gtk_set_locale() which should hopefully avoid problems when GTK+'s default font is set to something which isn't ASCII-friendly. Thanks to Alexander Pohoyda for this one. Fixed JPEG segfault bug on files which were corrupted after the image itself. Thanks to Aaron Brick for spotting this one. Fixed long-standing bug with interpolation, which could have resulted in segfaults (though it's hard to say if it ever actually did). Stopped selector getting permanently hidden if two middle-button presses were too close together. Thanks to José Luis González González for spotting this. No longer sets background colour to black for mono PNG files, where this may cause problems. This change was ported from zgv; thanks to Morten Bo Johansen for spotting it there. ** Other changes Added 9/0 keys as yet another way of doing file untag/tag. These are last-ditch alternatives for keyboards where -/= don't make sense (some non-US/UK keyboards), and where keypad -/+ aren't easily accessible (e.g. laptops). Thanks to Szabó, Balázs for inspiring this one.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xzgv/Makefile15
-rw-r--r--graphics/xzgv/distinfo9
-rw-r--r--graphics/xzgv/patches/patch-ac203
3 files changed, 14 insertions, 213 deletions
diff --git a/graphics/xzgv/Makefile b/graphics/xzgv/Makefile
index 60795a91f9b..eab1c65d3ae 100644
--- a/graphics/xzgv/Makefile
+++ b/graphics/xzgv/Makefile
@@ -1,13 +1,16 @@
-# $NetBSD: Makefile,v 1.24 2004/10/03 00:14:59 tv Exp $
+# $NetBSD: Makefile,v 1.25 2004/12/23 02:01:11 wiz Exp $
-DISTNAME= xzgv-0.7
-PKGREVISION= 5
+DISTNAME= xzgv-0.8
+PKGNAME= xzgv-0.8.0.1
CATEGORIES= graphics
-MASTER_SITES= http://xzgv.browser.org/ \
- ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/viewers/X/
+MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/viewers/X/
+
+PATCHFILES= xzgv-0.8-integer-overflow-fix.diff
+PATCH_SITES= http://rus.members.beeb.net/
+PATCH_DIST_STRIP= -p1
MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://xzgv.browser.org/
+HOMEPAGE= http://rus.members.beeb.net/xzgv.html
COMMENT= Image viewer
USE_MAKEINFO= YES
diff --git a/graphics/xzgv/distinfo b/graphics/xzgv/distinfo
index 0f4d63bd163..8d25146cf2c 100644
--- a/graphics/xzgv/distinfo
+++ b/graphics/xzgv/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2003/09/29 10:02:12 seb Exp $
+$NetBSD: distinfo,v 1.7 2004/12/23 02:01:11 wiz Exp $
-SHA1 (xzgv-0.7.tar.gz) = e6677cc9f4a2266b06e9962edc2a08a5fdd3feb4
-Size (xzgv-0.7.tar.gz) = 297485 bytes
+SHA1 (xzgv-0.8.tar.gz) = 1aa21336e2562849e6f5f984cbbfcb745489df3b
+Size (xzgv-0.8.tar.gz) = 302801 bytes
+SHA1 (xzgv-0.8-integer-overflow-fix.diff) = b18dfdaafe295e2c42764f59784b6b6201b489ea
+Size (xzgv-0.8-integer-overflow-fix.diff) = 6374 bytes
SHA1 (patch-aa) = 7a0d6e6b24d788fb9cf45967e4c3b434c621def3
SHA1 (patch-ab) = cf4c746e3c4b9ac3a5968211a8f2c0b69d43bc99
-SHA1 (patch-ac) = b0f2f8f3486e7e1a50417c34b2ac4df17a09afc7
diff --git a/graphics/xzgv/patches/patch-ac b/graphics/xzgv/patches/patch-ac
deleted file mode 100644
index 08b35104984..00000000000
--- a/graphics/xzgv/patches/patch-ac
+++ /dev/null
@@ -1,203 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2003/09/29 10:02:12 seb Exp $
-
---- src/rcfile.c.orig 2001-01-16 01:50:47.000000000 +0000
-+++ src/rcfile.c
-@@ -577,102 +577,102 @@ void usage_help(char *arg,void *dataptr)
- {
- printf("xzgv " XZGV_VER
- " - (c) 1999,2000 Russell Marks for improbabledesigns.\n");
--puts("
--usage: xzgv [options] [dir | file ...]
--
-- -a --auto-hide automatically hide selector on selecting a picture.
-- --careful-jpeg enable JPEG `fancy upsampling' (see info file
-- or man page).
-- --delete-single-prompt
-- (normally enabled, use --delete-single-prompt=off to
-- disable) if *disabled*, don't prompt for confirmation
-- when deleting a file.
-- --dither-hicol use dithering in 15/16-bit to increase apparent
-- colour depth, whatever Imlib's default setting is.
-- You can also use `--dither-hicol=off' to disable
-- this if you normally have Imlib use it.
-- --fast-recursive-update
-- when doing recursive thumbnail update, don't
-- read visible thumbnails for a directory before
-- doing the update (only slightly faster).
-- -f --fullscreen use the whole screen for the xzgv window, without
-- even window-manager decorations if possible. (But
-- your wm may not care to trust borderless programs.)
-- -g --geometry geom
-- use geometry `geom'. For example, `400x300' specifies
-- window size in pixels, `70%x50%' specifies size as
-- percentage of screen width/height, `+100+50' specifies
-- position relative to top-left, and `50%x30%-30%-20%'
-- is left as an exercise for the reader. :-) The default
-- geometry is `92%x85%'.
-- (See info file or man page for more details.)
-- -G --gamma val set gamma adjustment to `val'. The default is 1.0, i.e.
-- no adjustment. (See info file or man page for details,
-- and a discussion of gamma issues.)
-- -h --help give this usage help.
-- --image-bigness-threshold numpix
-- set the boundary `numpix' above which images are
-- considered `big', and rendered piece-by-piece rather
-- than all-at-once (which is nicer, but harder on
-- memory). Units are number of pixels in image (i.e.
-- width times height), and the default is 2000000 pixels.
-- --interpolate interpolate between the picture's pixels when
-- scaling up. Usually looks nicer, but it's slow.
-- --mouse-scale-x if enabled, control-click scales only the X axis -
-- the default is to scale only the Y axis.
-- --revert-orient (normally enabled, use --revert-orient=off to disable)
-- if *disabled*, orientation (flip/mirror/rotate) state
-- is retained between pictures.
-- --revert-scale (normally enabled, use --revert-scale=off to disable)
-- if *disabled*, scaling is retained between pictures.
-- --selector-width width
-- set initial/default selector width to `width'. (The
-- units used are pixels, and the normal setting 200.)
-- -T --show-tagged show names of tagged files on exit (they're listed
-- to stdout).
-- --show-thumbnail-messages
-- show on the status bar when thumbnails are being read.
-- The status bar must be enabled for the messages to be
-- visible, of course. :-)
-- -k --skip-parent for the first directory shown, skip the cursor past
-- `..' (the parent dir). Can be useful when you'd like
-- to immediately use space to `page' through the dir.
-- -o --sort-order set initial sorting order used in the selector.
-- Types are `name', `ext', `size', `date' (or `time');
-- only the first char (n/e/s/d/t) need be given.
-- (The default is name order.)
-- --sort-timestamp-type type
-- set timestamp type to use when using time/date sorting
-- order. Types are `mtime' (default), `ctime', and
-- `atime'; only the first char (m/c/a) need be given.
-- --statusbar show a status bar below the selector; this, for
-- example, says when a picture is being read.
-- -t --thin-rows use rows a third the normal height in the selector.
-- This can be very useful on lower-resolution screens,
-- or if you're really interested in filenames, not
-- thumbnails.
-- -v --version report version number.
-- --version-gtk report version of GTK+ being used by xzgv.
-- -z --zoom fit pictures in the viewer window, whatever their
-- actual size.
-- -r --zoom-reduce-only
-- when zooming, only *reduce* pictures to fit; i.e.
-- make big pictures viewable all-at-once while leaving
-- small picures intact.
--
-- dir start xzgv on a certain directory.
-- file ... view (only) the file(s) specified.
--
--All options are processed after any ~/.xzgvrc or /etc/xzgv.conf file.
--Most long options (minus `--') can used in either file with e.g. `zoom on'.
--
--On/off settings (such as zoom) are enabled by e.g. `-z' or `--zoom';
--however, the long-option form `--option=off' can be used to disable
--them (needed when they are enabled by default - revert-scale, for
--example - or to override them being enabled in a config file).
--
--(This syntax actually lets you both disable *and* enable options,
--using (for the arg after `=') on/off, y/n, yes/no, or 1/0.)");
-+puts("\n"
-+"usage: xzgv [options] [dir | file ...]\n"
-+"\n"
-+" -a --auto-hide automatically hide selector on selecting a picture.\n"
-+" --careful-jpeg enable JPEG `fancy upsampling' (see info file\n"
-+" or man page).\n"
-+" --delete-single-prompt\n"
-+" (normally enabled, use --delete-single-prompt=off to\n"
-+" disable) if *disabled*, don't prompt for confirmation\n"
-+" when deleting a file.\n"
-+" --dither-hicol use dithering in 15/16-bit to increase apparent\n"
-+" colour depth, whatever Imlib's default setting is.\n"
-+" You can also use `--dither-hicol=off' to disable\n"
-+" this if you normally have Imlib use it.\n"
-+" --fast-recursive-update\n"
-+" when doing recursive thumbnail update, don't\n"
-+" read visible thumbnails for a directory before\n"
-+" doing the update (only slightly faster).\n"
-+" -f --fullscreen use the whole screen for the xzgv window, without\n"
-+" even window-manager decorations if possible. (But\n"
-+" your wm may not care to trust borderless programs.)\n"
-+" -g --geometry geom\n"
-+" use geometry `geom'. For example, `400x300' specifies\n"
-+" window size in pixels, `70%x50%' specifies size as\n"
-+" percentage of screen width/height, `+100+50' specifies\n"
-+" position relative to top-left, and `50%x30%-30%-20%'\n"
-+" is left as an exercise for the reader. :-) The default\n"
-+" geometry is `92%x85%'.\n"
-+" (See info file or man page for more details.)\n"
-+" -G --gamma val set gamma adjustment to `val'. The default is 1.0, i.e.\n"
-+" no adjustment. (See info file or man page for details,\n"
-+" and a discussion of gamma issues.)\n"
-+" -h --help give this usage help.\n"
-+" --image-bigness-threshold numpix\n"
-+" set the boundary `numpix' above which images are\n"
-+" considered `big', and rendered piece-by-piece rather\n"
-+" than all-at-once (which is nicer, but harder on\n"
-+" memory). Units are number of pixels in image (i.e.\n"
-+" width times height), and the default is 2000000 pixels.\n"
-+" --interpolate interpolate between the picture's pixels when\n"
-+" scaling up. Usually looks nicer, but it's slow.\n"
-+" --mouse-scale-x if enabled, control-click scales only the X axis -\n"
-+" the default is to scale only the Y axis.\n"
-+" --revert-orient (normally enabled, use --revert-orient=off to disable)\n"
-+" if *disabled*, orientation (flip/mirror/rotate) state\n"
-+" is retained between pictures.\n"
-+" --revert-scale (normally enabled, use --revert-scale=off to disable)\n"
-+" if *disabled*, scaling is retained between pictures.\n"
-+" --selector-width width\n"
-+" set initial/default selector width to `width'. (The\n"
-+" units used are pixels, and the normal setting 200.)\n"
-+" -T --show-tagged show names of tagged files on exit (they're listed\n"
-+" to stdout).\n"
-+" --show-thumbnail-messages\n"
-+" show on the status bar when thumbnails are being read.\n"
-+" The status bar must be enabled for the messages to be\n"
-+" visible, of course. :-)\n"
-+" -k --skip-parent for the first directory shown, skip the cursor past\n"
-+" `..' (the parent dir). Can be useful when you'd like\n"
-+" to immediately use space to `page' through the dir.\n"
-+" -o --sort-order set initial sorting order used in the selector.\n"
-+" Types are `name', `ext', `size', `date' (or `time');\n"
-+" only the first char (n/e/s/d/t) need be given.\n"
-+" (The default is name order.)\n"
-+" --sort-timestamp-type type\n"
-+" set timestamp type to use when using time/date sorting\n"
-+" order. Types are `mtime' (default), `ctime', and\n"
-+" `atime'; only the first char (m/c/a) need be given.\n"
-+" --statusbar show a status bar below the selector; this, for\n"
-+" example, says when a picture is being read.\n"
-+" -t --thin-rows use rows a third the normal height in the selector.\n"
-+" This can be very useful on lower-resolution screens,\n"
-+" or if you're really interested in filenames, not\n"
-+" thumbnails.\n"
-+" -v --version report version number.\n"
-+" --version-gtk report version of GTK+ being used by xzgv.\n"
-+" -z --zoom fit pictures in the viewer window, whatever their\n"
-+" actual size.\n"
-+" -r --zoom-reduce-only\n"
-+" when zooming, only *reduce* pictures to fit; i.e.\n"
-+" make big pictures viewable all-at-once while leaving\n"
-+" small picures intact.\n"
-+"\n"
-+" dir start xzgv on a certain directory.\n"
-+" file ... view (only) the file(s) specified.\n"
-+"\n"
-+"All options are processed after any ~/.xzgvrc or /etc/xzgv.conf file.\n"
-+"Most long options (minus `--') can used in either file with e.g. `zoom on'.\n"
-+"\n"
-+"On/off settings (such as zoom) are enabled by e.g. `-z' or `--zoom';\n"
-+"however, the long-option form `--option=off' can be used to disable\n"
-+"them (needed when they are enabled by default - revert-scale, for\n"
-+"example - or to override them being enabled in a config file).\n"
-+"\n"
-+"(This syntax actually lets you both disable *and* enable options,\n"
-+"using (for the arg after `=') on/off, y/n, yes/no, or 1/0.)");
-
- exit(0);
- }