1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
diff -Naur qiv-2.3.2/Makefile qiv-2.3.2.patched/Makefile
--- qiv-2.3.2/Makefile 2017-11-03 14:27:27.000000000 -0400
+++ qiv-2.3.2.patched/Makefile 2019-12-31 14:06:51.304388148 -0500
@@ -24,7 +24,7 @@
# skipped.) It should reflect whatever is compiled into imlib.
# The latest version of imlib has removed imagemagick fallback support,
# so some extensions (XBM TGA) have been removed.
-EXTNS = GIF TIFF XPM PNG PPM PNM PGM PCX BMP EIM JPEG SVG WMF ICO
+EXTNS = GIF TIFF XPM PNG PPM PNM PGM PCX BMP EIM JPEG SVG WMF ICO WEBP XCF PSD ICNS TGA RAW
# Comment this line out if your system doesn't have getopt_long().
GETOPT_LONG = -DHAVE_GETOPT_LONG
diff -Naur qiv-2.3.2/main.h qiv-2.3.2.patched/main.h
--- qiv-2.3.2/main.h 2017-11-03 14:27:27.000000000 -0400
+++ qiv-2.3.2.patched/main.h 2019-12-31 14:27:29.455909124 -0500
@@ -199,6 +199,27 @@
#ifdef EXTN_SVG
".svg",
#endif
+#ifdef EXTN_WEBP
+ ".webp",
+#endif
+#ifdef EXTN_XCF
+ ".xcf",
+#endif
+#ifdef EXTN_PSD
+ ".psd",
+#endif
+#ifdef EXTN_ICNS
+ ".icns",
+#endif
+ /* BROKEN in slackware 14.2, using newer versions
+ of jasper and gdk-pixbuf2 built with jasper didn't help.
+ Disabled in Makefile. */
+#ifdef EXTN_JP2
+ ".jp2", ".jpc", ".jpx", ".j2k", ".jpf",
+#endif
+#ifdef EXTN_RAW
+ "dng", "cr2", "crw", "nef", "orf", "pef", "arw", "erf", "mrw", "raf",
+#endif
NULL
};
@@ -238,6 +259,29 @@
#ifdef EXTN_ICO
"MS Windows icon resource",
#endif
+#ifdef EXTN_WEBP
+ "RIFF (little-endian) data, Web/P image",
+#endif
+#ifdef EXTN_XCF
+ "GIMP XCF image data",
+#endif
+#ifdef EXTN_PSD
+ "Adobe Photoshop Image",
+#endif
+#ifdef EXTN_ICNS
+ "Mac OS X icon",
+#endif
+#ifdef EXTN_JP2
+ "JPEG 2000",
+#endif
+#ifdef EXTN_RAW
+ /* 20191231 bkw: some of these (dng, nef, erf, pef) show up as TIFF
+ with the file command, so we can't include them here. */
+ "Canon CIFF",
+ "Canon CR2",
+ "Olympus ORF",
+ "Minolta Dimage",
+#endif
NULL
};
#endif
|