summaryrefslogtreecommitdiff
path: root/graphics/xzgv
AgeCommit message (Collapse)AuthorFilesLines
2010-11-15PKGREVISION bumps for changes to gtk2, librsvg, libbonobo and libgnomeabs1-1/+2
2010-09-20Update xzgv to 0.9.1.jakllsch4-186/+10
Approved (but not reviewed) by shattered@. Upstream "changelog": This release fixes some important bugs and brings the documentation more up to date.
2010-09-14Bump dependency on pixman to 0.18.4 because cairo-1.10 needs thatwiz1-2/+2
version, and bump all depends. Per discussion on pkgsrc-changes.
2010-06-13Bump PKGREVISION for libpng shlib name change.wiz1-2/+2
Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
2009-08-26bump revision because of graphics/jpeg updatesno1-2/+2
2009-02-07Needs pkg-config.joerg1-2/+2
2009-01-29xzgv crashes when it tries to render 32-bit pixels (alpha+rgb, 8 bitshattered3-2/+178
each) to 24-bit visuals (happens with modular-xorg-server 1.4 and newer). Add patch from http://bugs.debian.org/457252. OK by wiz@.
2009-01-05Update to 0.9, take maintainership. Changes (from NEWS):shattered6-142/+53
xzgv now uses GTK 2, with gdk-pixbuf as the image rendering back-end. imlib1 is no longer supported. Gamma, brightness and contrast are not currently supported. I've also included a fix for the "missing preview icons" problem (patch-ad). OK by wiz@.
2008-03-04Mechanical changes to add DESTDIR support to packages that installjlam1-4/+7
their files via a custom do-install target.
2006-09-23Fix for CVE-2006-1060 via Gentooadrianp3-6/+89
Bump to nb3
2006-04-17Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.wiz1-2/+2
2006-04-04* List the info file entries directly in the PLIST.jlam2-6/+10
* Honor PKGINFODIR and PKGMANDIR.
2006-03-19Fix installation after info framework changes.wiz1-3/+2
2006-03-05* Teach the tools framework how to supply the pkgsrc version ofjlam1-5/+3
makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD when determining whether the native makeinfo can be used. * Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo. * Get rid of all the "split" argument deduction for makeinfo since the PLIST module already handles varying numbers of split info files correctly. NOTE: Platforms that have "makeinfo" in the base system should check that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are correct.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-1/+2
2005-06-16Create directories before installing files into them.jlam1-1/+2
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digestsagc1-1/+3
2004-12-23Update to 0.8, and add fix against vulnerability.wiz3-213/+14
* 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.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-2/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-04-26Convert to buildlink3.snj1-3/+3
2004-02-18Remove info files entries from PLIST.seb1-5/+1
2004-01-24replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.grant1-2/+2
2004-01-03Bump package revisions for tiff update.reed1-2/+2
Tiff is backward compatible, but was broken on amd64 platform so this makes sure new tiff is used.
2003-09-29Fix build problem with gcc 3.3.1: fix multilines string constant.seb2-1/+205
2003-08-09USE_NEW_TEXINFO is unnecessary now.seb1-2/+1
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-13PKGREVISION bump for libiconv update.wiz1-2/+2
2003-07-03Convert to USE_NEW_TEXINFO.seb2-5/+4
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-05-02Dependency bumps, needed because of devel/pth's major bump, and relatedwiz1-2/+2
dependency bumps.
2002-09-23buildlink1 -> buildlink2jlam3-35/+9
2002-03-13Give all packages which depend on "png" a version bump, and updatefredb1-1/+2
all dependencies on packages depending on "png" which contain shared libraries, all for the (imminent) update to the "png" package. [List courtesy of John Darrow, courtesy of "bulk-build".]
2002-02-18Introduce new framework for handling info files generation and installation.seb2-5/+6
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.
2001-10-31Move pkg/ files into package's toplevel directoryzuntum2-1/+1
2001-10-24I am a triple idiot. The only relevant variable that x11.buildlink.mkjlam1-2/+2
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR, which points to the location of the X11R6 hierarchy used during building. If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to ${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use. Remove the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-23x11.buildlink.mk needs to be included before any buildlink.mk files thatjlam1-2/+2
use X11_BUILDLINK_MK as a test value. Generally just reordering the inclusions so that x11.buildlink.mk comes before the other buildlink.mk files will make everthing work.
2001-08-29Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded referencesjlam1-1/+2
to ${X11BASE} in the header and library search paths into references to ${LOCALBASE}/share/x11-links. These packages should now be strongly- buildlinked regardless of whether xpkgwedge is installed. Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-23Use the buildlink config script wrappers and remove a lot of unnecessaryjlam4-23/+42
buildlink.mk files already pulled in by imlib/buildlink.mk.
2001-06-25o converted to use buildlink.mk fileszuntum1-10/+9
2001-05-22Update dependency on png to >=1.0.11 because of the shlib major bump.wiz1-2/+2
Noted by Frederick Bruckman.
2001-04-22Update of xzgv to 0.7.jtb4-31/+35
2001-04-10 Russell Marks <russell.marks@ntlworld.com> * Version 0.7. * src/Makefile: whoops, `-lz' was missing. I usually got away with this, but it did break in some cases (perhaps with Imlib 1.9.10?). Thanks to Gabor Z. Papp for pointing this out (albeit, again, somewhat indirectly :-)). * src/mkopts.awk: there isn't any reason I can't just use stdout for error messages, so do that. * src/updatetn.c (cb_update_tn): this'll be fun to explain. :-) Ok... the non-recursive thumbnail update stops thumbnail reading before doing the update (as does the recursive one, but never mind that). Previously, if you pressed `u' soon enough after the thumbnail-read had started, and only files a long way down in a big directory needed new thumbnails, then you could be left with a mostly-blank set of thumbnails onscreen for (say) a few seconds. It now makes sure all thumbnails in the visible portion of the list are read before it starts, rather like recursive update. * src/backend.c: marking image as uncacheable seems to *very* occasionally lead to a segfault (infrequently enough that I've found this hard to track down), apparently due to unearthing a bug in Imlib1's uncacheable-image code which is (I think) never otherwise used. So we don't do that any more. 2001-04-09 Russell Marks <russell.marks@ntlworld.com> * Added support for PRF (ported from zgv), which is basically a kind of extrapolated version of my old mrf format - unlike mrf, PRF supports greyscale and colour. Thanks to Brian Raiter for both devising the format, and writing the reference implementation readprf.c is heavily based on. * src/mkopts.awk: now detects running under an old awk, and complains about it with a pointer to config.mk. 2001-03-01 Russell Marks <russell.marks@ntlworld.com> * src/main.c: toggling all tags is now possible, with Alt-o or Tagging/Toggle All. * src/main.c: you can now move to the next/previous tagged file with `/' and `?' respectively (or equivalent menu options). When used in the viewer, this also views the file. (init_window): moved `Tag then Next' to new viewer `Tagging' menu. * src/main.c: fix for redraw-related position problem. (In 0.6, try going to the end of the selector's list, pressing `v', then pressing `v' again - the row positioning is slightly wrong.) (init_window): added `Open' to selector `File' menu, and rearranged the menu slightly; moved tagging commands to `Tagging' menu. 2001-02-03 Russell Marks <russell.marks@ntlworld.com> * src/main.c (set_title): no longer includes the version number in the window title, as you can get this from both `xzgv --version' and About on either Help menu. * Added help menus. Currently just runs info on the relevant node, but it's better than nothing I s'pose. :-) 2001-01-16 Russell Marks <russell.marks@ntlworld.com> * Added choice of timestamps to use when sorting in time/date order - you can now choose mtime (default), ctime, or atime. You can switch with alt-shift-m/c/a, or from selector menu's Directory/Time & Date Type submenu, or with `sort-timestamp-type' option/config. Thanks for Wolfram Kleff for suggesting this. * src/main.c (viewer_key_press): you can now use shifted cursor keys as an alternative means of paging up/down/left/right in the viewer. (selector_key_press): any `Menu' key you might have can now be used to show the selector/viewer menus, just as right-clicking or pressing F10 does. 2000-12-28 Russell Marks <russell.marks@ntlworld.com> * src/readtiff.c: didn't need to include rcfile.h. (read_tiff_file): previously flipped the image incorrectly. 2000-12-21 Russell Marks <russell.marks@ntlworld.com> * `make install' now uses slightly more friendly Debian-ish permissions (755 for executable, 644 for docs). 2000-12-15 Russell Marks <russell.marks@ntlworld.com> * src/readgif.c (outputstring): copied new non-recursive outputstring() across from zgv. No real advantage in xzgv, but it saves a gratuitous inconsistency at least. :-) Oh, actually, there is an advantage - this version shouldn't be hangable even with badly broken GIFs. 2000-12-14 Russell Marks <russell.marks@ntlworld.com> * src/main.c (cb_selection): made toggles which could possibly affect the image display (in fact, did just about any which do GTK+ stuff) ignore the toggle attempt if currently loading an image. The main problem this fixes is the weirdness that used to happen after toggling zoom while a picture was loading (particularly when unzooming, and loading a `big' picture). 2000-12-13 Russell Marks <russell.marks@ntlworld.com> * src/readgif.c (decompress): inittable() shouldn't have trusted code size to match numcols. It broke on a certain flavour of unusual and suboptimal, but valid, GIF with less than 256 colours (probably generated by a `broken' encoder). Thanks to Lenart Janos, Josip Rodin, and Chris Lawrence for spotting this and/or pushing the bug report to your friendly neighbourhood upstream maintainer. :-) * src/readjpeg.c (read_jpeg_file): sped things up a bit by reading in a slightly less simplistic manner, and by not doing "fancy upsampling" (doing this previously was the main reason why Imlib1's reader was faster). Combined with the change below, this makes native JPEG reading a teeny bit faster than Imlib1's, so it's now done that way for non-thumbnail use too. Also added `careful-jpeg' option/config, in case you want to leave it enabled (seems to be about a 10% slowdown). * src/backend.c (backend_create_image_from_data_destructively): now properly implemented for Imlib1. The way I've done it is slightly evil, but it speeds things up. ;-) * doc/xzgv.texi (File Type Identification): this bit could probably do with a rewrite, but at least it vaguely resembles reality now. :-) * src/readtiff.c: TIFF reader - uses libtiff. This means yet another library dependancy :-/, but enough people seem to use xzgv with TIFFs that it's probably worth doing properly. 2000-12-10 Russell Marks <russell.marks@ntlworld.com> * src/updatetn.c (update_one_tn): now makes sure a page of thumbnails is visible even when doing non-recursive update - previously doing such an update before all thumbnails had been read in would show blank spots during the update (unlike the now-usual xzgv behaviour of loading onscreen thumbnails asap). This only seems to slow it down fractionally (by about 0.5% in a large dir full of small files in thin-rows mode), so I think it's worth it to get the consistency. 2000-11-24 Russell Marks <russell.marks@ntlworld.com> * INSTALL: added more 0.6 success/failure reports - thanks to Joerg Reuter at SuSE. * src/main.c (viewer_key_press): whoops, I broke alt-a/u from viewer when I added ^a/^u - sorted that out. * src/backend.c: added gdk-pixbuf backend (aimed at 0.9.0). gdk-pixbuf doesn't quite provide everything xzgv needs, and seems rather slower than Imlib1 at rendering *despite* avoiding some unnecessary pixmap creation, so I don't see myself recommending use of this any time soon. Anyway, it's there if you want to try it. It doesn't support flip/mirror/rotate, or any brightness/contrast/gamma changes (I suppose I'll get around to these eventually, but expect them to be *slow* as gdk-pixbuf doesn't provide native facilities for this stuff), and doesn't support as many filetypes as Imlib1 (no fallback I suppose), but the rest is there. 2000-11-23 Russell Marks <russell.marks@ntlworld.com> * src/readjpeg.c: adapted readjpegtn.c so it's usable as a normal JPEG reader too. Unfortunately this seems to be slower than Imlib1 at reading JPEGs :-) (probably because creating Imlib's image from the RGB data involves copying it?), so it's still only used for thumbnails. * src/main.c (cb_delete_file): added `delete-single-prompt' option (cmdline and config file) so you can disable the y/n prompt when deleting a file, rather like zgv's `nodelprompt'. Thanks to Martin Bialasinski for suggesting this. 2000-11-21 Russell Marks <russell.marks@ntlworld.com> * doc/xzgv.texi: case of chars in Alt-x and Ctrl-x forms should now be uniformly lowercase. (File Details): now mentions problem with zgv 5.0/5.1 generating incorrect thumbnail width/height details (5.2 is ok). * src/main.c: many keyboard navigation fixes/additions. Selector and viewer now both support ^u/^v/^a/^e as alternatives to page up/down and home/end. j/k in selector were fixed to behave more like cursor up/down do. 2000-11-20 Russell Marks <russell.marks@ntlworld.com> * src/main.c: concerted attempt to nail all the remaining recursion problems. Now everything which even *thinks* of calling render_pixmap() is protected. :-) This isn't perfect though, as the protections are independent (do a mirror and flip at about the same time, and it'll mess up), so I'll need a better fix eventually. (do_gtk_stuff): this is now a LOT smarter about what to do when thumbnails are being loaded - fixes the bug where (while thumbnails were being loaded) holding down space to storm through N images got it very confused indeed. * doc/xzgv.texi (Renaming a File): it's xzgv not zgv. :-) * src/main.c (load_image): X windows are limited to a maximum size of 32767x32767 pixels, and xzgv uses a GTK+ widget based on an X window for its image. That's not the change, this is - previously, my GIF/PNG/mrf file readers failed to notice the problem larger images would cause, leading to a segfault - they now give an error. (cb_selection): now ensures focus is returned to selector when changing dir, making the pastpos action clearer when using the mouse (i.e. if you go down into a dir and then back up, the keyboard cursor will show which dir you just left). Previously, if you'd viewed an image before changing dir with the mouse, focus would have remained on the image. * src/updatetn.c: recursive thumbnail update no longer reads all thumbnails before doing updates - it now only bothers to read visible thumbnails. This makes the `fast-recursive-update' option rather less useful, as it's nearly that fast already. :-) (cb_update_tn_recursive_confirmed): previously didn't do pastpos stuff to save/restore cursor row `around' recursive update - fixed. 2000-11-17 Russell Marks <russell.marks@ntlworld.com> * Now adapts rendering method for big images. When the number of pixels in the image exceeds the value set by image-bigness-threshold (as set in config file or on command-line, defaulting to 2 million pixels), it's drawn piece-by-piece on demand rather than all-at-once. The all-at-once behaviour is worth keeping around for smaller images, as it gives much nicer scrolling - but for big images it's just impractical, hence this feature. * src/main.c: previously, when you scaled down as far as it would go, it would never let you scale down again in the same way, due to breaking an anti-recursion measure. Fixed that. 2000-11-16 Russell Marks <russell.marks@ntlworld.com> * src/backend.c: wrapper for rendering backend. This is now (apart from the Makefile) the only place with any Imlib1 dependence, so this should make it easier (or rather, slightly less than infinitely hard :-)) to switch backends if I decide to do that, or to support multiple backends (choosing backend at compile time). 2000-11-11 Russell Marks <russell.marks@ntlworld.com> * doc/Makefile: replaced ifeq/ifneq with shell equivalent, which turns out to be sufficient (if uglier). This should avoid the need to use GNU make. Thanks to Frank Pohl for spotting this problem. 2000-11-07 Russell Marks <russell.marks@ntlworld.com> * Changed `install -m' invocations to do plain install and change permissions after (with chmod). Thanks to Steven Bankowitz for reminding me of `-m' being a problem on things like Solaris. 2000-10-29 Russell Marks <russell.marks@ntlworld.com> * src/main.c (init_window): as must be traditional by now, I found a bug almost immediately after the release. :-) Quite a minor one, thankfully. Previously you could still toggle thin-rows while running in the `xzgv file(s)' way, which was silly and made things look strange. Harmless, but fixed now.
2001-04-21Move to sha1 digests, and/or add distfile sizes.wiz1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc3-7/+5
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-14Change MAINTAINER section to packages@netbsd.orgjtb1-2/+2
2001-03-04Because the minor number of the PNG library was increased packages compiledtron1-2/+2
using the newest PNG library won't work on system with an older one. To prevent such problems with precompiled binary packages require at least "png-1.0.9nb1" in all dependences.
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-11-25Initial import of new "xzgv" package:jtb8-0/+116
Image viewer