1 | This is the latest version of the XV jumbo patches I originally created in |
---|
2 | February 2000 (but never distributed) and eventually updated and released in |
---|
3 | May 2004, prompted by a discussion on LWN (http://lwn.net/Articles/76391/). |
---|
4 | Information about the patches, updates to the patches, and the patches |
---|
5 | themselves can all be found here: |
---|
6 | |
---|
7 | http://pobox.com/~newt/greg_xv.html |
---|
8 | http://freshmeat.net/projects/xvjumbopatches/ |
---|
9 | |
---|
10 | (Use the "Subscribe to new releases" link on the latter page if you want to |
---|
11 | be notified of new versions automatically; trivial registration required.) |
---|
12 | |
---|
13 | These patches incorporate all of the fix- and enhancement-patches available |
---|
14 | from John's XV site (http://www.trilon.com/xv/downloads.html and |
---|
15 | ftp://ftp.trilon.com/pub/xv/patches/), plus a number of my own fixes and |
---|
16 | additions (security-related and otherwise), plus quite a few from other |
---|
17 | people. They're still not fully complete, and it's probable they never |
---|
18 | will be, but I do plan to continue tinkering with them whenever the mood |
---|
19 | strikes--and I may even release them publicly on rare occasions. (At the |
---|
20 | current rate, once every few years may be the best we can hope for....) |
---|
21 | |
---|
22 | Also be aware that several other people have had the same idea over the |
---|
23 | years. Ones I've found, more or less by accident, include: |
---|
24 | |
---|
25 | - Landon Curt "chongo" Noll (http://www.isthe.com/chongo/) |
---|
26 | http://www.isthe.com/chongo/src/xv-patch/ |
---|
27 | - Mark Ashley <mark ibiblio.org> |
---|
28 | http://www.ibiblio.org/pub/packages/solaris/sparc/html/xv.3.10a.p19.html |
---|
29 | - Peter Jordan <pete dc.seflin.org> |
---|
30 | http://www.ibiblio.org/pub/Linux/apps/graphics/viewers/X/xv-3.10a.patch.* |
---|
31 | - Uwe F. Mayer (http://www.tux.org/~mayer/) |
---|
32 | http://www.tux.org/~mayer/linux/book/node311.html |
---|
33 | - Kurt Wall <kwall kurtwerks.com> |
---|
34 | http://www.kurtwerks.com/software/xv.html |
---|
35 | - Chisato Yamauchi (http://phe.phyas.aichi-edu.ac.jp/~cyamauch/index_en.html) |
---|
36 | http://phe.phyas.aichi-edu.ac.jp/~cyamauch/xv.html |
---|
37 | - Daisuke Yabuki <dxy optix.org> |
---|
38 | http://www.optix.org/~dxy/solaris/xv/ |
---|
39 | - Pekoe (http://pekoe.lair.net/) |
---|
40 | http://pekoe.lair.net/diary/xv.html |
---|
41 | - FreeBSD FreshPorts |
---|
42 | http://www.freshports.org/graphics/xv/ |
---|
43 | - Kyoichiro Suda <sudakyo fat.coara.or.jp> |
---|
44 | http://www.coara.or.jp/~sudakyo/XV_jp.html |
---|
45 | |
---|
46 | This is not an exhaustive list (e.g., Jörgen Grahn also had one). So far, |
---|
47 | most of the other patch-sets appear not to be as extensive or as up-to-date |
---|
48 | as my own, particularly now that the (very large) "Japanese extension" patches |
---|
49 | are incorporated--big thanks to Werner Fink of SuSE for that! |
---|
50 | |
---|
51 | Below I summarize the component patches that are encompassed by my jumbo |
---|
52 | bugfixes and jumbo enhancements patches, circa 2005. (As of 2007, they're |
---|
53 | distributed as a single monster-patch, and the "component patches" are now |
---|
54 | listed in the changelog section at the bottom of this file.) Unfortunately, |
---|
55 | some of my own additions never saw the light of day as standalone patches, |
---|
56 | but considering the number of overlaps (collisions) already implicit in the |
---|
57 | list, that would have been difficult to accomplish even if I'd had the time. |
---|
58 | |
---|
59 | Here's a quick guide to the "third-party" credits in the lists and changelog |
---|
60 | below: |
---|
61 | |
---|
62 | AAC = Andrey A. Chernov [ache] |
---|
63 | (http://cvsweb.freebsd.org/ports/graphics/xv/files/patch-ab) |
---|
64 | AD = Andreas Dilger (adilger clusterfs.com) |
---|
65 | AL = Alexander Lehmann (lehmann usa.net) |
---|
66 | AS = Alexey Spiridonov (http://www-math.mit.edu/~lesha/) |
---|
67 | AT = Anthony Thyssen (http://www.cit.gu.edu.au/~anthony/) |
---|
68 | BR = Bruno Rohee (http://bruno.rohee.com/) |
---|
69 | DAC = David A. Clunie (http://www.dclunie.com/xv-pcd.html) |
---|
70 | EAJ = Erling A. Jacobsen (linuxcub email.dk) |
---|
71 | EK = Egmont Koblinger (egmont users.sourceforge.net) |
---|
72 | FG = Fabian Greffrath (fabian debian-unofficial.org) |
---|
73 | GRR = Greg Roelofs (http://pobox.com/~newt/greg_contact.html) |
---|
74 | GV = Guido Vollbeding (http://sylvana.net/guido/) |
---|
75 | IM = IKEMOTO Masahiro (ikeyan airlab.cs.ritsumei.ac.jp) |
---|
76 | JC = John Cooper (john.cooper third-harmonic.com) |
---|
77 | JCE = John C. Elliott (http://www.seasip.demon.co.uk/ZX/zxdload.html) |
---|
78 | JDB = John D. Baker (http://mylinuxisp.com/~jdbaker/) |
---|
79 | JG = Jörgen Grahn (jgrahn algonet.se) |
---|
80 | JHB = John H. Bradley, of course (http://www.trilon.com/xv/) |
---|
81 | JPD = Jean-Pierre Demailly (http://www-fourier.ujf-grenoble.fr/~demailly/) |
---|
82 | JR = John Rochester (http://www.freebsd.org/cgi/query-pr.cgi?pr=2920) |
---|
83 | (also http://cvsweb.freebsd.org/ports/graphics/xv/files/patch-af, -ag) |
---|
84 | JRK = James Roberts Kirkpatrick (uwyo.edu) |
---|
85 | JZ = Joe Zbiciak (http://spatula-city.org/~im14u2c/) |
---|
86 | KS = Kyoichiro Suda (http://www.coara.or.jp/~sudakyo/XV_jp.html) |
---|
87 | LCN = Landon Curt "chongo" Noll (http://www.isthe.com/chongo/) |
---|
88 | LJ = Larry Jones (lawrence.jones ugs.com) |
---|
89 | PBJ = Peter Jordan (http://www.ibiblio.org/pub/Linux/apps/graphics/viewers/X/) |
---|
90 | PSV = Pawel S. Veselov (http://manticore.2y.net/wbmp.html) |
---|
91 | RAC = Ross Combs (rocombs cs.nmsu.edu) |
---|
92 | RJH = Robin Humble (http://www.cita.utoronto.ca/~rjh/) |
---|
93 | SB = Sean Borman (http://www.nd.edu/~sborman/software/xvwheelmouse.html) |
---|
94 | SJT = TenThumbs (tenthumbs cybernex.net) |
---|
95 | SBM = Scott B. Marovich (formerly marovich hpl.hp.com) |
---|
96 | TA = Tim Adye (http://hepwww.rl.ac.uk/Adye/xv-psnewstyle.html) |
---|
97 | TAR = Tim Ramsey (tar pobox.com) |
---|
98 | TI = Tetsuya INOUE (tin329 chino.it.okayama-u.ac.jp) |
---|
99 | TO = Tavis Ormandy (taviso gentoo.org) |
---|
100 | WF = Werner Fink (http://www.suse.de/~werner/) |
---|
101 | |
---|
102 | Other credits are as listed on the XV Downloads page or in the respective |
---|
103 | patches (e.g., the jp-extension patches or within the PNG patch). |
---|
104 | |
---|
105 | Finally, please note that these patches have not been blessed by John Bradley |
---|
106 | in any way (although I copied him on the May 2004 announcement and wrote to |
---|
107 | him again in May 2005), unless you count Debian's redistribution permission |
---|
108 | (Daniel Kirchheimer, 5 Dec 2005). Nor have I personally tested every change |
---|
109 | and feature! (See the BIG SCARY WARNING below for further caveats.) In other |
---|
110 | words, they're both completely unofficial and completely unguaranteed. But |
---|
111 | they seem to work for me. (And when they don't, I try to fix 'em--eventually, |
---|
112 | anyway... ;-) ) |
---|
113 | |
---|
114 | Greg Roelofs, 20070520 |
---|
115 | http://pobox.com/~newt/greg_contact.html |
---|
116 | |
---|
117 | |
---|
118 | How to build |
---|
119 | ------------ |
---|
120 | |
---|
121 | The following assumes you, the user, already have the libtiff,[1] libjpeg,[2] |
---|
122 | libpng,[3] zlib,[4] and JasPer[5] libraries downloaded, patched (if necessary), |
---|
123 | compiled, and installed, not to mention a C compiler and the bzip2,[6] tar,[7] |
---|
124 | patch,[8] and make[9] utilities. You should also have downloaded the original |
---|
125 | XV 3.10a source distribution from the XV Downloads page[10] and be able to edit |
---|
126 | its Makefile and config.h files as indicated in the INSTALL file. (Editing |
---|
127 | the Makefile will also allow you to disable some of the third-party libraries |
---|
128 | if you wish.) Finally, you should know what a Unix(-style) command line is, |
---|
129 | where to find one, and how to wield it with abandon (or at least with adult |
---|
130 | supervision)--and preferably not as the root user until the "make install" |
---|
131 | step. (A filesystem is a terrible thing to waste.) |
---|
132 | |
---|
133 | [1] http://www.remotesensing.org/libtiff/ |
---|
134 | [2] http://www.ijg.org/ |
---|
135 | [3] http://www.libpng.org/pub/png/libpng.html |
---|
136 | [4] http://www.zlib.net/ |
---|
137 | [5] http://www.ece.uvic.ca/~mdadams/jasper/ |
---|
138 | [6] http://sources.redhat.com/bzip2/ |
---|
139 | [7] http://www.gnu.org/directory/devel/specific/tar.html |
---|
140 | [8] http://www.gnu.org/directory/devel/specific/patch.html |
---|
141 | [9] http://www.gnu.org/directory/devel/specific/make.html |
---|
142 | [10] http://www.trilon.com/xv/downloads.html#src-distrib |
---|
143 | |
---|
144 | +-------------------------------------------------------------------------+ |
---|
145 | | | |
---|
146 | | BIG SCARY WARNING | |
---|
147 | | | |
---|
148 | | These patches work for Greg (and parts of them reportedly work for | |
---|
149 | | various other people), and so far Greg's CPU still computes and his | |
---|
150 | | hard disks haven't been wiped. But there's no guarantee that this | |
---|
151 | | will be the case for you! In particular, not every incorporated patch | |
---|
152 | | has been explicitly tested, nor has every possible subcase of the | |
---|
153 | | explicitly tested subset. (Read that again; it's grammatical.) Nor | |
---|
154 | | are these patches officially blessed by John Bradley in any way. In | |
---|
155 | | other words, if you use these patches, you do so at your own risk. | |
---|
156 | | (Greg doesn't believe there are any serious problems remaining, but | |
---|
157 | | then, what programmer ever does? Bugs happen.) | |
---|
158 | | | |
---|
159 | +-------------------------------------------------------------------------+ |
---|
160 | |
---|
161 | Assuming you have the prerequisites out of the way and aren't scared |
---|
162 | off by the Big Scary Warning, here's the build procedure: |
---|
163 | |
---|
164 | tar xvzf xv-3.10a-jumbo-patches-20070520.tar.gz |
---|
165 | (or: gzip -dc xv-3.10a-jumbo-patches-20070520.tar.gz | tar xvf - ) |
---|
166 | |
---|
167 | tar xvzf xv-3.10a.tar.gz |
---|
168 | |
---|
169 | cd xv-3.10a |
---|
170 | |
---|
171 | patch -p1 < ../xv-3.10a-jumbo-fix-enh-patch-20070520.txt |
---|
172 | |
---|
173 | edit Makefile and config.h as directed in INSTALL file (in particular, |
---|
174 | ensure paths to external libraries and header files are correct) |
---|
175 | |
---|
176 | make |
---|
177 | |
---|
178 | ./xv your_favorite_image your_other_favorite_image etc. |
---|
179 | |
---|
180 | If everything seems to be working to your satisfaction, go ahead and install: |
---|
181 | |
---|
182 | make -n install (and double-check that things will be installed |
---|
183 | where you want them to be) |
---|
184 | |
---|
185 | become root if necessary (e.g., type su) |
---|
186 | |
---|
187 | make install |
---|
188 | (or: sudo make install) |
---|
189 | |
---|
190 | That wasn't so hard, was it? |
---|
191 | |
---|
192 | |
---|
193 | Summary of incorporated and unincorporated patches (through 20050501) |
---|
194 | --------------------------------------------------------------------- |
---|
195 | (See the ChangeLog at the bottom for more recent incorporated patches.) |
---|
196 | |
---|
197 | fixes ((*) = listed on XV Downloads page, (f) = on ftp site only): |
---|
198 | |
---|
199 | 20040516: |
---|
200 | - grabpatch (*) [obsoleted by new-xvgrab.c below] |
---|
201 | - vispatch (*) |
---|
202 | - mp-tiff-patch (*) [technically an enhancement, but JHB says...] |
---|
203 | - longname.patch (*) [*SECURITY*] |
---|
204 | - xpm.patch (*) |
---|
205 | - deepcolor.patch (*) [slightly modified for language conformance] |
---|
206 | - gifpatch (*) |
---|
207 | - exceed_grab.patch (*) |
---|
208 | - xv-redhat6-readme.txt (*) [slightly modified for portability] |
---|
209 | - beos.patch (*) [modified for portability] |
---|
210 | - croppad.patch (f) |
---|
211 | - epsfpatch (f) |
---|
212 | - tiff1200.patch (*) |
---|
213 | - gssafer.patch (*) [*SECURITY*] |
---|
214 | - new-xvgrab.c (f) [includes grabpatch but not exceed_grab.patch] |
---|
215 | - xcmap.diff (AD) [part of xv-3.10a-png-1.2d.tar.gz] |
---|
216 | - fixes for huge number gcc -Wall warnings--including two bugs (GRR) |
---|
217 | - fix for cleandir script when no makefile exists (GRR) |
---|
218 | - *SECURITY* fix for gets() in vdcomp.c (GRR, LCN vdcomp-security.patch) |
---|
219 | - *SECURITY* fix for getwd() on Linux (GRR, LCN Linux-compile.patch) |
---|
220 | - fix for "no fuss" Linux compiles (LCN Linux-compile.patch) |
---|
221 | - partial *SECURITY* fix for mktemp() in xv.c and xvdir.c (GRR) |
---|
222 | (remaining instances in xv.c (2), xvimage.c, xvfits.c, xvpds.c, xvps.c, and |
---|
223 | possibly xvtiff.c--most involve system()) |
---|
224 | - freebsd-vdcomp-newline.patch (AAC) |
---|
225 | - xv-3.10a.patch.linux (PBJ) [/bin/sh versions of cleandir, RANLIB.sh only] |
---|
226 | - removed trailing white space (GRR) [purely cosmetic] |
---|
227 | 20040523: |
---|
228 | - fixed compilation error in registered versions (GRR) |
---|
229 | 20050410: |
---|
230 | - fix for YCbCr oversaturated-green bug(s) in TIFF decoder (GRR) |
---|
231 | - provisional fix for contiguous tiled TIFFs with bottom-* orientation (GRR) |
---|
232 | - fixes for gcc 3.3 -Wall warnings (GRR) |
---|
233 | - fix for incorrect 16/24-bit display of xwd dumps (SJT) |
---|
234 | - *SECURITY* fix for multiple input-validation bugs (OpenBSD/SuSE, Gentoo, GRR) |
---|
235 | (this also completes the partial mktemp() security fix listed above) |
---|
236 | - fix for (probable) 24-bit endianness bug in fixpix code (GRR) |
---|
237 | |
---|
238 | |
---|
239 | enhancements ((*) = listed on XV Downloads page, (<who>) = third-party): |
---|
240 | |
---|
241 | 20040516: |
---|
242 | - xv-3.10a.JPEG-patch (*) |
---|
243 | (xv-3.10a.JPEG-patch.old differs only in ftp site listed in comments at top) |
---|
244 | - xv-3.10a.TIFF-patch (*) |
---|
245 | - xv-3.10a-png-1.2d.tar.gz (AL, AD) (*) |
---|
246 | (xvjpeg.diff and xvtiff.diff ignored; xcmap.diff included in fixes) |
---|
247 | - xvpng-1.2d-fix3.patch (GRR, SJT) (*) |
---|
248 | - pdf.patch (*) |
---|
249 | - windowid.patch + windowid.patch.readme (*) |
---|
250 | - bmp32.patch (*) |
---|
251 | - fixpix-20000610.tar.gz (GV) |
---|
252 | (identical to 19961127 version except for README updates and new Win32 file) |
---|
253 | [modified to be runtime-selectable via -/+fixpix option] |
---|
254 | - browse-remember.patch (JZ) |
---|
255 | - faster-smooth.patch (JZ) |
---|
256 | - PAM support (GRR) |
---|
257 | - PNG/GIF -ibg ("image background") transparency option (GRR) |
---|
258 | (does not yet support TIFF, XPM or TGA) |
---|
259 | - VersionInfo* in help screen (GRR) |
---|
260 | - minor grammar/spelling fixes (GRR) |
---|
261 | - floating-point support for -wait when USE_TICKS enabled (GRR) |
---|
262 | - wheelmouse.patch (SB) |
---|
263 | - freebsd-gravity-hints-patch (JR) |
---|
264 | - xv-zx.patch (JCE) |
---|
265 | - xv3.10a.wapbmp.patch (PSV) |
---|
266 | - xv-3.10a-pcd.patch.20010708 (DAC) |
---|
267 | - jp-ext-bzip2-1.1.patch |
---|
268 | (from ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/shige/xv/) |
---|
269 | 20050410: |
---|
270 | - boosted maximum number of files from 4096 to 32768 (GRR) |
---|
271 | (note that OS kernel limits may also apply; for example, in Linux see |
---|
272 | MAX_ARG_PAGES in linux-<version>/include/linux/binfmts.h) |
---|
273 | - xv-3.10a-bmp16.patch (KS) |
---|
274 | - final-image delay (e.g., "-wait 0.2,3" : pause 3 secs on final image) (GRR) |
---|
275 | - xv-numpad.patch (EK) |
---|
276 | - xv-delete-is-not-backspace.patch (EK) |
---|
277 | - made browser window (schnauzer) and icons configurable (AT, GRR) |
---|
278 | 20050501: |
---|
279 | - xv-3.10a-bmpfix.patch (WF) [*SECURITY*] |
---|
280 | - xv310a-jp-extension-rev5.3.3.tar.gz (TI, IM, ..., WF) |
---|
281 | (adds support for MAG, MAKI, Pi, PIC, and PIC2 formats[!]; "magic suffix" |
---|
282 | detection/conversion; MacBinary prefixes; archives as virtual filesystems; |
---|
283 | multilingual text viewer [though not Unicode]; etc.) |
---|
284 | - xv-3.10a-yaos.dif (WF, TO) [*SECURITY*] |
---|
285 | (fixes a number of format-string issues and system() calls) |
---|
286 | - xv-3.10a.dif (WF) [*SECURITY*] |
---|
287 | (fixes more format-string issues, mktemp() and open() calls, and compilation |
---|
288 | warnings [mostly from jp-extension patch]) |
---|
289 | - xv-3.10a-jumbo-jpd_startgrab-patch-20050420.txt (JPD) |
---|
290 | - PATCH.alwaysnever (LJ) |
---|
291 | - PATCH.bsd (LJ) |
---|
292 | - PATCH.linedraw (LJ) |
---|
293 | - PATCH.multipage (LJ) |
---|
294 | - PATCH.multipageGIF (LJ) |
---|
295 | - PATCH.random (LJ) |
---|
296 | - PATCH.stat (LJ) |
---|
297 | - PATCH.thumbs (LJ) |
---|
298 | - xv-startgrab-imake-hips.patch (JPD) |
---|
299 | ("hips" portion only; adds support for HIPS image format[!]) |
---|
300 | - xv-3.10a-formatstr.patch (KS) |
---|
301 | - xv-3.10a-shortsleep.patch (KS) |
---|
302 | - xv-3.10a-locale-linux.patch (KS) |
---|
303 | - xv-3.10a-printkey.patch (KS) |
---|
304 | - xv-3.10a-sysconfdir.patch (KS) |
---|
305 | - added PREFIX and DESTDIR support to Makefile (KS, GRR) |
---|
306 | - xv-3.10a-xvexecpath.patch (but disabled pending fixes) (KS) |
---|
307 | - xv-3.10a-zeroquit.patch (KS, GRR) |
---|
308 | |
---|
309 | [!] Note that all six of these formats may still suffer from exploitable heap |
---|
310 | overflows [*SECURITY*] when decoding images with large (possibly invalid) |
---|
311 | dimensions; as a result, they are DISABLED by default. (Search for "GRR |
---|
312 | POSSIBLE OVERFLOW / FIXME" comments in xvmag.c, xvmaki.c, xvpi.c, xvpic.c, |
---|
313 | xvpic2.c, and xvhips.c, but keep in mind that these may not be exhaustive.) |
---|
314 | Users who choose to overlook these security issues can enable any or all |
---|
315 | of them by editing config.h. |
---|
316 | |
---|
317 | |
---|
318 | not (yet?) included: |
---|
319 | |
---|
320 | - others from http://www.coara.or.jp/~sudakyo/XV_jp.html (some are duplicates): |
---|
321 | -rw-r--r-- 4644 Mar 11 2004 xv-3.10a-directory.patch |
---|
322 | -rw-r--r-- 462 Mar 11 2004 xv-3.10a-dirwkey.patch |
---|
323 | -rw-r--r-- 688 Mar 11 2004 xv-3.10a-docdir.patch |
---|
324 | -rw-r--r-- 11952 Mar 11 2004 xv-3.10a-download-test0.patch |
---|
325 | -rw-r--r-- 41786 Mar 11 2004 xv-3.10a-download-test1.patch |
---|
326 | -rw-r--r-- 42397 Mar 11 2004 xv-3.10a-download-test2.patch |
---|
327 | -rw-r--r-- 47679 Mar 11 2004 xv-3.10a-download-test3.patch |
---|
328 | -rw-r--r-- 52745 Mar 11 2004 xv-3.10a-download-test4.patch |
---|
329 | -rw-r--r-- 3423 Apr 24 2004 xv-3.10a-keyzoom.patch |
---|
330 | -rw-r--r-- 12387 Mar 15 2004 xv-3.10a-menubutton.patch |
---|
331 | -rw-r--r-- 1178 Apr 24 2004 xv-3.10a-noblink.patch |
---|
332 | -rw-r--r-- 57092 Jul 9 2004 xv-3.10a-resolution.patch |
---|
333 | -rw-r--r-- 4645 Apr 24 2004 xv-3.10a-selall.patch |
---|
334 | -rw-r--r-- 702 Apr 24 2004 xv-3.10a-showlongname.patch |
---|
335 | -rw-r--r-- 1205 Apr 24 2004 xv-3.10a-staytoppdir.patch |
---|
336 | -rw-r--r-- 4228 Apr 24 2004 xv-3.10a-wheelmouse.patch |
---|
337 | -rw-r--r-- 744 Apr 24 2004 xv-3.10a-xvbutt_wait.patch |
---|
338 | -rw-r--r-- 3757 Jul 9 2004 xv-3.10a-xvscrl_button2.patch |
---|
339 | -rw-r--r-- 1494 Jul 9 2004 xv-3.10a-xvscrl_wait.patch |
---|
340 | -rw-r--r-- 19352 Jul 9 2004 xv-3.10a-xvzoom.patch |
---|
341 | |
---|
342 | - xv-3.10a+jp-extension-rev5.3.3+FLmask.v2.1+png+misc.patch ["mask" support] |
---|
343 | |
---|
344 | - xv-psnewstyle.patch (TA) [coming "soon"?] |
---|
345 | - xv-3.10a.patch.linux (PBJ) [maybe use vdcomp.c changes?] |
---|
346 | - xvxpm-anthony-thyssen.c (AT) ["slate grey" bug already gone?] |
---|
347 | - xv-geoff-kuenning-iconsize-slideshow.patch [var. icons; full-screen slides] |
---|
348 | - xv-scott-marovich-20070214-xvtiff.c.patch6.unified [TIFF CMYK support] |
---|
349 | |
---|
350 | - stuff in xv/unsupt: |
---|
351 | -rw-r--r-- 30527 Dec 22 1994 FITS.rite |
---|
352 | -rw-r--r-- 49152 Dec 22 1994 FITS.tar |
---|
353 | -rw-r--r-- 3753 Dec 22 1994 G3.patch1 |
---|
354 | -rw-r--r-- 24576 Dec 22 1994 G3.tar |
---|
355 | -rw-r--r-- 1098 Dec 22 1994 INFO.cgm |
---|
356 | -rw-r--r-- 1941 Dec 22 1994 README |
---|
357 | -rwxr-xr-x 1059 Dec 22 1994 getweather |
---|
358 | -rwxr-xr-x 2186 Dec 22 1994 getweather.ksh |
---|
359 | -rw-r--r-- 856 Dec 22 1994 twm.fix |
---|
360 | -rw-r--r-- 844 Dec 22 1994 vargs.c |
---|
361 | -rw-r--r-- 47626 Dec 22 1994 vis |
---|
362 | -rw-r--r-- 21097 Dec 22 1994 xscm |
---|
363 | |
---|
364 | |
---|
365 | |
---|
366 | not finished (and/or even started ;-) ): |
---|
367 | |
---|
368 | - fix xvpng.c not to use direct struct access |
---|
369 | - (better) fix for never-ending pile of SLOW popups when viewing TIFFs with |
---|
370 | unknown tags (or truncated/corrupted images) |
---|
371 | - fix for minor .Z inefficiency in xv.c ("FIXME") |
---|
372 | - fix for filename entry-field mouse/cursor deficiencies |
---|
373 | (positioning fixed 20070104 by Ross Combs; would like select/cut/paste, too) |
---|
374 | - fix for .ppm.gz "disk leak" [can't reproduce...already fixed?] |
---|
375 | (maybe occurs only if filesystem is already nearly full? bad .gz?) |
---|
376 | |
---|
377 | - transparency support for TIFF, XPM and TGA images |
---|
378 | - support for tiled background image (with transparent foreground image) |
---|
379 | - MNG/JNG support |
---|
380 | - SVG support |
---|
381 | |
---|
382 | |
---|
383 | ChangeLog |
---|
384 | --------- |
---|
385 | |
---|
386 | 20000220 |
---|
387 | original pair of jumbo patches, comprising perhaps 16 fix-patches and a |
---|
388 | dozen enhancement-patches; never publicly released |
---|
389 | |
---|
390 | 20040516 |
---|
391 | first public release, incorporating 25 fix-patches and 21 enhancement- |
---|
392 | patches |
---|
393 | |
---|
394 | 20040523 |
---|
395 | minor fix to xvctrl.c to support registered versions (GRR warnings-patch |
---|
396 | was slightly overzealous); switched to tarball packaging |
---|
397 | |
---|
398 | 20040531 |
---|
399 | fixed undefined CLK_TCK with gcc -ansi (enh/USE_TICKS option); made |
---|
400 | libjpeg, libtiff, libpng and zlib sections of makefile more consistent |
---|
401 | (enh) |
---|
402 | |
---|
403 | 20040606 |
---|
404 | added freshmeat link, build instructions, and changelog to jumbo README |
---|
405 | (this file) |
---|
406 | |
---|
407 | 20050213 |
---|
408 | increased max number of files from 4096 to 32768 (enh) |
---|
409 | |
---|
410 | 20050320-20050410 |
---|
411 | fixed two very long-standing YCbCr bugs in TIFF decoder (fix); |
---|
412 | provisionally fixed bug in TIFF decoder for contiguous tiled TIFFs with |
---|
413 | bottom-* orientation (fix/USE_TILED_TIFF_BOTLEFT_FIX option); fixed new |
---|
414 | gcc 3.3 warnings (fix); fixed incorrect 16/24-bit display of xwd dumps |
---|
415 | (fix); fixed multiple input-validation bugs (potential heap overflows) |
---|
416 | and mktemp() dependencies (*SECURITY* fixes: CAN-2004-1725, CAN-2004- |
---|
417 | 1726, CAN-2005-0665, CERT VU#622622, and others); added support for 16- |
---|
418 | and 32-bit BMPs using bitfields "compression" (enh); fixed probable byte- |
---|
419 | sex bug in 24-bit FixPix display code (enh/USE_24BIT_ENDIAN_FIX option); |
---|
420 | fixed numerical-keypad NumLock behavior and delete-key behavior in file- |
---|
421 | load/save window (enh); made schnauzer window and icons configurable (enh) |
---|
422 | |
---|
423 | 20050417 |
---|
424 | incorporated "Japanese extension" patches, revision 5.3.3 (enh); fixed |
---|
425 | additional *SECURITY* issues (format-string vulnerabilities, system() |
---|
426 | and mktemp() calls, etc., but NOT heap overflows in new decoders) both |
---|
427 | in existing code and in jp-extension additions (enh) |
---|
428 | |
---|
429 | 20050425 |
---|
430 | added support for -startgrab option (enh); added support for a "Never" |
---|
431 | button to file-overwrite popups (enh); added NetBSD and BSDI to list of |
---|
432 | mkstemp()-supporting systems (enh); improved line-drawing code to set the |
---|
433 | correct pixels for lines of all slopes (enh); added "Page n of m" to Info |
---|
434 | window for multipage images (enh); added support for multipage (animated) |
---|
435 | GIFs (enh); fixed -random support so randomized file list can be traversed |
---|
436 | normally in forward or backward direction (enh); added typecasts to stat() |
---|
437 | printfs for portability (enh); fixed erroneous use of "creation" time and |
---|
438 | forced unlink prior to overwrite in schnauzer thumbnail code (enh); added |
---|
439 | HIPS support (enh/HAVE_HIPS option) |
---|
440 | |
---|
441 | 20050501 |
---|
442 | extended multipage keyboard support (PgUp/PgDn) to all windows except |
---|
443 | control ("console") and directory (enh); fixed minor (non-security) |
---|
444 | format-string issue in xv.c (enh); shortened delay on popup error windows |
---|
445 | from 3 seconds to 1 second (enh); tweaked text-viewer localization support |
---|
446 | (TV_L10N) for Linux (enh); added keyboard short cuts for Color and |
---|
447 | Grayscale buttons in print dialog (enh); added support for separate "magic |
---|
448 | suffix" (xv_mgcsfx) config dir (enh); added PREFIX and DESTDIR support to |
---|
449 | Makefile (enh); fixed handling of zero-length files and other text-viewer |
---|
450 | failures (enh) |
---|
451 | |
---|
452 | 20050528 |
---|
453 | conditionally added missing alloca.h to xvpcd.c (required if alloca() is |
---|
454 | a macro and alloca.h not included in stdlib.h, for example); fixed bogus |
---|
455 | __S_IWRITE introduced in 20050501 release; fixed Makefile "install" target |
---|
456 | (mkdir, chmod); fixed bug in MUST macro in xvwbmp.c; fixed prototype |
---|
457 | warnings in xvevent.c, xvpcd.c (JRK, GRR) |
---|
458 | - xv-3.10a-jimkirk-fixes.patch |
---|
459 | |
---|
460 | 20050630 |
---|
461 | fixed broken mkdir(.xvpics) introduced in 20050501 release (RJH, GRR); |
---|
462 | tweaked GUNZIP config for OpenBSD (GRR) |
---|
463 | - xv-3.10a-xvpics-mkdir-fix.patch |
---|
464 | |
---|
465 | 20051014 |
---|
466 | fixed longstanding xvevent.c typo (wasJpegUp -> wasPngUp) that caused build |
---|
467 | failure if no JPEG support (TAR) |
---|
468 | |
---|
469 | 20051019 |
---|
470 | fixed Darwin (Mac OS X) build error in xv.h and vdcomp.c due to lack of |
---|
471 | malloc.h (JDB) |
---|
472 | |
---|
473 | 20070210 |
---|
474 | fixed minor grammos (GRR); promoted PNG to first position, demoted GIF to |
---|
475 | third (GRR); changed internal type of default image to PNG (GRR); increased |
---|
476 | max files again, to 65536 (GRR) |
---|
477 | |
---|
478 | 20070310 |
---|
479 | incorporated JPEG-2000 patch (SBM, GRR); added manual fax options for |
---|
480 | unrecognized G3 images (SBM); relaxed 30-byte minimum file size (SBM) |
---|
481 | - http://www.ece.uvic.ca/~mdadams/jasper/software/xv-patches |
---|
482 | |
---|
483 | 20070318 |
---|
484 | incorporated 16bps raw (binary) PPM patch (define ASSUME_RAW_PPM_LSB_FIRST |
---|
485 | for old behavior) (RAC, GRR); updated format list, web sites in xv man page |
---|
486 | (GRR); fixed Makefile "install" target to create any necessary directories |
---|
487 | (RAC, GRR); fixed GIF decoder bug (sizes of global, local color tables |
---|
488 | different) (GRR) |
---|
489 | - xv-ross-combs-ppm-16bps-rawbits.patch |
---|
490 | |
---|
491 | 20070325 |
---|
492 | fixed invalid gamma assumption in PNG decoder (=> progressive color changes |
---|
493 | over load/save cycles) (GRR) |
---|
494 | |
---|
495 | 20070328 |
---|
496 | fixed animated-GIF /tmp/xvpgXXXXXX droppings (GRR) |
---|
497 | |
---|
498 | 20070331 |
---|
499 | fixed PNG duplicate-palette-entries bug (GRR) |
---|
500 | |
---|
501 | 20070415 |
---|
502 | incorporated EXIF-preserve patch (GHK); added missing JP2/JPC VS bits code |
---|
503 | (GRR); added extended-warning options to CCOPTS (RAC); added "const" to |
---|
504 | huge number of function args (RAC, GRR); made more effectively static |
---|
505 | functions officially static (RAC); added mouse-clickability (but not |
---|
506 | selectability) to text-entry fields (RAC); fixed window positioning (race |
---|
507 | conditions?) under some virtual window managers (e.g., tvtwm) (RAC); |
---|
508 | removed explicit paths for external (de)compressors (GRR, RAC) |
---|
509 | - xv-geoff-kuenning-jpeg-exif-preserve.patch |
---|
510 | - xv-ross-combs-20070104.diff |
---|
511 | |
---|
512 | 20070422 |
---|
513 | incorporated function-key-scripts patch (see contrib/fnkey-scripts) (AS); |
---|
514 | fixed man-page-section extensions ("1", not "l" or "1X") (FG); switched to |
---|
515 | more sensible install paths for docs (FG); added Fedora Core build script |
---|
516 | (see contrib/fedora) (JC); fixed VS to switch from move-mode to copy-mode |
---|
517 | if source dir is read-only (EAJ); extended VS incremental-search mode (EAJ) |
---|
518 | - xv-alexey-spiridonov-20070116-fnkey-scripts.tar.bz2 |
---|
519 | - xv-fabian-greffrath-20070215-debian-04-manpages.dpatch |
---|
520 | - xv-fabian-greffrath-20070215-debian-03-makefiles.dpatch |
---|
521 | - xv-john-cooper-Build-FC5-script.sh |
---|
522 | - xv-erling-jacobsen-20060617-incr-search.patch |
---|
523 | |
---|
524 | 20070428 |
---|
525 | modified install to include README.jumbo in docs (GRR); incorporated PNG |
---|
526 | no-stdio patch (SBM); fixed XWD endianness support, improved performance |
---|
527 | (replaces SJT 16/24-bit fix) (SBM) |
---|
528 | - xv-scott-marovich-20070214-xvpng.diff |
---|
529 | - xv-scott-marovich-20070214-xvxwd.c.patch |
---|
530 | |
---|
531 | 20070506 |
---|
532 | added JPEG CMYK support (SBM); fixed TIFF (and others?) /tmp/xvpgXXXXXX |
---|
533 | droppings (GRR); added VS clipboard support (JG) |
---|
534 | - xv-scott-marovich-20070214-xvjpeg.c.patch |
---|
535 | - xv-jurgen-grahn-20051127-schnauzer-clip.patch |
---|
536 | |
---|
537 | 20070512 |
---|
538 | inverted handling of malloc.h header file to require NEED_MALLOC_H macro |
---|
539 | for those few systems that actually need it (GRR) |
---|
540 | |
---|
541 | 20070513 |
---|
542 | fixed GCC 4.1.x warnings (GRR); next round of const cleanup (GRR); fixed |
---|
543 | minor TIFF memleak (GRR) |
---|
544 | |
---|
545 | 20070514 |
---|
546 | fixed TIFF YCbCr reference black/white levels (SBM); added option to use |
---|
547 | libjpeg YCbCr-to-RGB conversion for TIFF images (SBM, GRR) |
---|
548 | - xv-scott-marovich-20070214-xvtiff.c.patch2.unified |
---|
549 | - xv-scott-marovich-20070214-xvtiff.c.patch3.unified |
---|
550 | |
---|
551 | 20070519 |
---|
552 | fixed handling of multi-page JPEG-compressed TIFFs (old or new) (SBM); |
---|
553 | added TIFF YCbCr separated-color-plane support (may require libtiff |
---|
554 | patch(es) to tif_ojpeg.c and/or tif_jpeg.c) (SBM) |
---|
555 | - xv-scott-marovich-20070214-xvtiff.c.patch4.unified |
---|
556 | - xv-scott-marovich-20070214-xvtiff.c.patch5.unified |
---|
557 | |
---|
558 | 20070520 |
---|
559 | updated README.jumbo |
---|