Compare commits

...

163 Commits
f13 ... f10

Author SHA1 Message Date
Fedora Release Engineering
b175f73959 dist-git conversion 2010-07-28 15:36:53 +00:00
Bill Nottingham
9de659f485 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:56:17 +00:00
Tim Waugh
377f766308 Sync to F-11. 2009-10-05 13:00:15 +00:00
Tim Waugh
a2b32416aa Sync to F-11. 2009-07-30 14:12:51 +00:00
Tim Waugh
ca31b3580d - Fix scripts so they don't get broken on install (bug #502550). 2009-06-10 17:00:16 +00:00
Tim Waugh
55f4bded8e - Applied patch to fix NULL dereference in jbig2dec (bug #503991). 2009-06-04 12:51:00 +00:00
Tim Waugh
d7b61390b6 - Applied patch to fix CVE-2009-0792 (bug #491853).
- Applied patch to fix CVE-2009-0196 (bug #493379).
- Applied patch to fix CVE-2008-6679 (bug #493445).
2009-04-15 16:07:40 +00:00
Tim Waugh
43fdf5458f - Applied patch to fix CVE-2009-0583 (bug #487742) and CVE-2009-0584 (bug
#487744).
2009-03-20 12:36:05 +00:00
Jesse Keating
f48bf3ee57 Initialize branch F-10 for ghostscript 2008-11-07 03:41:11 +00:00
Tim Waugh
985444726f - Removed last patch (unsuccessful). 2008-10-17 15:47:32 +00:00
Tim Waugh
e723084803 - Try out a work-around for bug #465311. 2008-10-17 11:14:05 +00:00
Tim Waugh
c03198f2b5 - Don't ship fixmswrd.pl as it pulls in perl (bug #463948). 2008-10-15 15:22:45 +00:00
Tim Waugh
8a2ef18611 - Split out a doc sub-package (bug #466507). 2008-10-14 10:54:40 +00:00
Tim Waugh
6d297dbebc - 8.63. No longer need r8591 or incomplete-ccittfax patches.
- Compile without strict aliasing opts due to warnings across several
    files.
- Don't run autogen.sh for main package, just for ijs which doesn't ship
    with a configure script.
2008-08-04 10:15:59 +00:00
Tim Waugh
2540bfca80 8.62-4 2008-06-23 15:47:33 +00:00
Tim Waugh
20e4d6f2a0 - Applied patch to work around bug #229174. 2008-06-23 14:11:34 +00:00
Tim Waugh
e392a9d801 - Applied patch from upstream to fix box_fill_path for shfill (bug
#452348).
2008-06-23 11:58:48 +00:00
Tim Waugh
135047dbf9 - Fix pksmraw output (bug #308211). 2008-03-31 16:29:32 +00:00
Tim Waugh
2ff9bbbe3a - No longer need CVE-2008-0411 patch.
- Don't ship URW fonts; we already have them.
2008-03-04 18:02:50 +00:00
Tim Waugh
c384a3e71c 8.62-2 2008-03-04 17:47:22 +00:00
Tim Waugh
43577ed287 - No longer need CVE-2008-0411 patch. 2008-03-04 17:44:54 +00:00
Tim Waugh
ad3a5f8abf Renumbered patches. 2008-03-04 11:24:42 +00:00
Tim Waugh
669b003f5f - 8.62. No longer need IJS KRGB patch, or patch for gs bug 689577. 2008-03-04 11:22:12 +00:00
Tim Waugh
0bcf2a24f5 Fixed bug ID. 2008-02-27 17:11:11 +00:00
Tim Waugh
d443c913ca - Applied patch to fix CVE-2008-0411 (bug #435147). 2008-02-27 17:09:53 +00:00
Tim Waugh
d1f49b3354 Fixed typo. 2008-02-22 14:33:24 +00:00
Tim Waugh
1d7443aaf7 - Build with jasper again (bug #433897). Build requires jasper-devel, and a
patch to remote jas_set_error_cb reference.
2008-02-22 14:25:28 +00:00
Tim Waugh
b2cdd99b6b - Rebuild for GCC 4.3. 2008-02-13 12:10:36 +00:00
Tim Waugh
40c51c3daa - Don't build with jasper support. 2008-01-28 15:30:01 +00:00
Tim Waugh
8ae3b4161c - Build requires jasper-devel.
- Remove bundled libraries.
2008-01-28 15:21:34 +00:00
Tim Waugh
d135fffe8d - Applied upstream patch for bug #416321. 2007-12-11 15:29:31 +00:00
Tim Waugh
e513f4fe02 - Fixed runlibfileifexists patch. 2007-11-30 11:01:37 +00:00
Tim Waugh
fddd989a18 Apply the patch. 2007-11-30 09:07:06 +00:00
Tim Waugh
9f8ded33f8 - Revert previous change, but define .runlibfileifexists, not just
runlibfileifexists.
2007-11-30 09:03:51 +00:00
Tim Waugh
bd71cc47fb Fixed comment. 2007-11-28 13:47:27 +00:00
Tim Waugh
c3c4fe1f29 - No longer need runlibfileifexists.
- Use runlibfile in cidfmap.
2007-11-28 13:41:45 +00:00
Tim Waugh
e824d08f42 - Add /usr/share/fonts to fontpath (bug #402551). 2007-11-28 12:50:53 +00:00
Tim Waugh
875bdaa410 8.61-2 2007-11-28 12:34:33 +00:00
Tim Waugh
17fb191147 - Restore cidfmap-switching bits, except for FAPIcidfmap which is no longer
used.
2007-11-28 12:24:58 +00:00
Tim Waugh
5f57e18855 - Add runlibfileifexists to gs_init.ps. 2007-11-28 12:05:24 +00:00
Tim Waugh
d49dec1f95 - Build with --disable-compile-inits (bug #402501). 2007-11-28 11:20:33 +00:00
Tim Waugh
6d180b23f4 - 8.61. 2007-11-23 10:11:06 +00:00
Tim Waugh
03b91a7480 - Applied patch from upstream to fix CVE-2007-2721 (bug #346511). 2007-10-23 13:37:33 +00:00
Bill Nottingham
a945254617 makefile update to properly grab makefile.common 2007-10-15 18:47:19 +00:00
Tim Waugh
180f67b338 - Marked localized man pages as %lang (bug #322321). 2007-10-09 12:28:25 +00:00
Tim Waugh
13ccdf9fd9 Include missing piece. 2007-09-27 11:23:56 +00:00
Tim Waugh
2613bfff5b - Back-ported mkstemp64 patch (bug #308211). 2007-09-27 11:05:26 +00:00
Tim Waugh
5639564a7f - More specific license tag. 2007-08-23 16:14:00 +00:00
Tim Waugh
ae42ff4a7a - 8.60. 2007-08-03 17:27:23 +00:00
Tim Waugh
144a9672bc 8.60-0.r8112.2 2007-07-20 14:21:32 +00:00
Tim Waugh
bf90b40e87 - Own %{_libdir}/ghostscript (bug #246026). 2007-07-16 12:30:44 +00:00
Tim Waugh
664e805a7e Include missing patch. 2007-07-11 12:06:32 +00:00
Tim Waugh
9963832f88 - 8.60 snapshot from svn. Patches dropped:
- big-cmap-post
- split-cidfnmap
- exactly-enable-cidfnmap
- Fontmap.local No longer needed:
- gxcht-64bit-crash
2007-07-11 11:43:45 +00:00
Tim Waugh
c3f8f72262 - Apply fonts in CIDFnmap even if the same fontnames are already registered
(bug #163231).
- Resolves: rhbz#163231
2007-04-17 10:12:30 +00:00
Tim Waugh
de509880fc - New file CIDFmap (bug #233966).
- Allow local overrides for FAPIcidfmap, cidfmap and Fontmap (bug #233966).
- Resolves: rhbz#233966 rhbz#233966
2007-04-17 10:05:22 +00:00
Tim Waugh
3c6db04efb - Fixed configuration file locations (bug #233966).
- Resolves: rhbz#233966
2007-04-03 13:39:01 +00:00
Tim Waugh
cec8a0c339 - 8.15.4. 2007-03-14 21:56:28 +00:00
Tim Waugh
4f8244e427 8.15.3-7 2007-01-25 12:16:44 +00:00
Tim Waugh
cdec1614b9 - dvipdf script fixes (bug #88906).
- Resolves: rhbz#88906
2007-01-25 12:15:57 +00:00
Tim Waugh
40d27a2a53 - Moved libijs.so and libgs.so into devel package (bug #203623).
- Resolves: rhbz#203623
2007-01-25 12:13:13 +00:00
Tim Waugh
4005df6659 - Configure with --with-drivers=ALL since the advertised default is not
what gets used (bug #223819).
- Resolves: rhbz#223819
2007-01-24 10:35:02 +00:00
Tim Waugh
f5a515ee87 Include patch 2007-01-18 13:22:03 +00:00
Tim Waugh
4150c4a031 8.15.3-5 2007-01-18 13:20:09 +00:00
Tim Waugh
0363d796c7 - Backported gxcht 64bit crash fix from GPL trunk (bug #177763).
- Resolves: rhbz#177763
2007-01-18 13:16:49 +00:00
Tim Waugh
5d3e940ae6 - Own cjkv directory (bug #221380, bug #222375).
- Resolves: rhbz#221380 rhbz#222375
2007-01-12 14:52:16 +00:00
Tim Waugh
8dadf71929 8.15.3-3 2006-12-05 16:46:54 +00:00
Tim Waugh
d0ee4600a1 - Added split-cidfnmap patch (bug #194592).
- Resolves: rhbz#194592
2006-12-05 16:45:13 +00:00
Tim Waugh
c3e94a436a - 8.15.3. No longer need gtk2, ps2epsi, badc, pagesize,
use-external-freetype, split-font-configuration or cjkv patches.
- Renumbered patches.
2006-11-16 17:35:44 +00:00
Tim Waugh
71e17ce99c - Apply CJKV patch from svn164:165 plus the fix from svn173:174 (bug
#194592, bug #203712, possibly bug #167596).
2006-10-03 14:18:40 +00:00
Jesse Keating
38a0fcd3d3 bumped for rebuild 2006-07-12 05:55:07 +00:00
Tim Waugh
d0db90e01f - Revert CJKV patch. 2006-06-23 10:28:43 +00:00
Tomáš Mráz
5b38938a96 - rebuilt with new gnutls 2006-06-14 16:34:20 +00:00
Tim Waugh
6c72f89839 - Apply CJKV patch from svn164:165. 2006-06-13 13:58:06 +00:00
Tim Waugh
7e9deb947d - Undo svn sync. 2006-06-13 12:52:15 +00:00
Tim Waugh
9a496b5437 - Sync to svn165. 2006-06-09 16:50:24 +00:00
Tim Waugh
4a5b5af0b0 8.15.2-4 2006-05-26 14:04:13 +00:00
Tim Waugh
b8d2b5621b - Fix ijs-config not to have multilib conflicts (bug #192672) 2006-05-26 14:03:07 +00:00
Tim Waugh
b9f3bad209 - Remove adobe-cmaps and acro5-cmaps, since latest CMaps are already
included (bug #190463).
2006-05-02 17:52:23 +00:00
Tim Waugh
6141770b81 Fix pkgconfig confusion. 2006-04-25 16:34:58 +00:00
Tim Waugh
d7d2317b15 - 8.15.2.
- No longer need build, krgb, pdfwrite, str1570 patches.
2006-04-25 16:20:39 +00:00
Tim Waugh
89973ef806 8.15.1-10 2006-04-24 16:09:21 +00:00
Tim Waugh
f9fc41274d - Fix emacs interaction (bug #189321, STR #1570). 2006-04-24 16:08:42 +00:00
Tim Waugh
827a6b0701 - Spec file cleanups (bug #188066). 2006-04-10 10:39:03 +00:00
Tim Waugh
003c4d1019 - Add %{_datadir}/fonts/japanese to font path (bug #188448). 2006-04-10 10:34:23 +00:00
Tim Waugh
04d9ec2430 - Build requires libtool (bug #188341). 2006-04-08 09:57:54 +00:00
Tim Waugh
b4647b97bb Really remove pstoraster. 2006-04-06 10:44:39 +00:00
Tim Waugh
799c0b3ab6 Fixed typo. 2006-04-06 10:34:58 +00:00
Tim Waugh
86ecf9757d - Fix pdfwrite (bug #187834).
- CUPS filters go in /usr/lib/cups/filter even on lib64 platforms.
2006-04-06 10:19:22 +00:00
Tim Waugh
fc8e11e15e 8.15.1-7 2006-03-02 14:58:45 +00:00
Tim Waugh
b495bd07e5 - BuildRequires: gnutls-devel
- Updated KRGB patch for gdevijs.
2006-03-02 14:58:26 +00:00
Karsten Hopp
8584c55789 - BuildRequires: libXt-devel
In file included from ./src/gdevxalt.c:22: ./src/x_.h:139:29: error:
    X11/Intrinsic.h: No such file or directory ./src/x_.h:140:30: error:
    X11/StringDefs.h: No such file or directory ./src/x_.h:141:25: error:
    X11/Shell.h: No such file or directory make: *** [obj/gdevxalt.o] Error
    1
2006-02-28 13:29:52 +00:00
Jesse Keating
a6303d9ad6 bump for bug in double-long on ppc(64) 2006-02-11 03:06:53 +00:00
Jesse Keating
542bf98ad3 bump for new gcc/glibc 2006-02-07 11:47:15 +00:00
Tim Waugh
116f628c11 - Updated adobe-cmaps to 200406 (bug #173613). 2006-01-30 17:54:59 +00:00
Tim Waugh
3f225aa5fc 8.15.1-4 2006-01-27 11:59:04 +00:00
Tim Waugh
708ee8a75f - Support reading a big cmap/post table from a TrueType font. 2006-01-27 11:47:44 +00:00
Jesse Keating
aa2e277825 gcc update bump 2005-12-09 22:40:33 +00:00
Tim Waugh
c3325574fe - Build does not explicitly require xorg-x11-devel. 2005-11-09 13:42:57 +00:00
Tim Waugh
616ff0bd00 Require xorg-x11-devel not XFree86-devel 2005-11-09 10:07:25 +00:00
Tomáš Mráz
42c5ac1901 - rebuilt with new openssl 2005-11-09 09:44:45 +00:00
Tim Waugh
eb38bc4698 - Some directories should be "8.15" not "8.15.1" (bug #169198). 2005-09-26 17:18:02 +00:00
Tim Waugh
42b356b443 Fix setup line 2005-09-22 22:17:18 +00:00
Tim Waugh
47e7ac9ba9 Fix source0 2005-09-22 22:14:41 +00:00
Tim Waugh
f67a584762 Remove gs_rc 2005-09-22 22:12:48 +00:00
Tim Waugh
7646326921 - 8.15.1.
- No longer need overflow patch.
2005-09-22 22:12:17 +00:00
Tim Waugh
a814454b4a - Rebuilt for new cairo. 2005-08-16 09:15:09 +00:00
Tim Waugh
2820519066 - Parametrize freetype, and disable it (bug #165962). 2005-08-15 12:18:44 +00:00
Tim Waugh
c2ef6f435b 8.15-0.rc4.1 2005-08-12 10:30:44 +00:00
Tim Waugh
39d1ffaeef - Fixed lips4v driver (bug #165713). 2005-08-12 10:01:26 +00:00
Tim Waugh
9d7ba60878 - 8.15rc4. 2005-08-12 09:58:16 +00:00
Tim Waugh
35937c39d6 8.15-0.rc3.7 2005-08-09 12:55:02 +00:00
Tim Waugh
d6c0bb7638 - Install adobe/acro5 CMaps (bug #165428). 2005-08-09 12:54:40 +00:00
Tim Waugh
1f962491c5 - Fixed split font configuration patch (bug #161187). 2005-07-18 14:26:17 +00:00
Tim Waugh
09eb006d5a 8.15-0.rc3.5 2005-07-13 13:29:58 +00:00
Tim Waugh
8ea9108a97 - Split font configuration (bug #161187). 2005-07-13 13:29:37 +00:00
Tim Waugh
9c6b251bd1 - Reverted this change:
- Build requires xorg-x11-devel, not XFree86-devel.
2005-07-13 09:05:30 +00:00
Tim Waugh
b99bdece82 8.15-0.rc3.4 2005-07-12 13:16:06 +00:00
Tim Waugh
e780aa069d - Add Japanese fonts to FAPIcidfmap (bug #161187). 2005-07-12 12:29:38 +00:00
Tim Waugh
59d9392e85 - Moved Resource directory. 2005-07-12 10:48:10 +00:00
Tim Waugh
2130e54c2a - Added use-external-freetype patch (bug #161187). 2005-07-12 09:56:49 +00:00
Tim Waugh
2b271b3c2f - Build requires libtiff-devel (bug #162826). 2005-07-11 12:35:01 +00:00
Tim Waugh
1b50a85f16 Clean up. 2005-06-23 17:32:13 +00:00
Tim Waugh
4390f8983c - Build requires xorg-x11-devel, not XFree86-devel. 2005-06-09 10:27:10 +00:00
Tim Waugh
7356129314 8.15-0.rc3.3 2005-06-09 10:07:58 +00:00
Tim Waugh
db1dc89afd - Include ierrors.h in the devel package. 2005-06-09 10:02:03 +00:00
Tim Waugh
1bf1596c9d - Drop 'Provides: libijs.so' because it is incorrect. 2005-06-08 13:58:11 +00:00
Tim Waugh
d097bf87e7 - Build igcref.c with -O0 to work around bug #150771. 2005-06-06 13:36:55 +00:00
Tim Waugh
54036770ba - Renumber patches. 2005-06-06 13:35:21 +00:00
Tim Waugh
d70368e6b0 More build fixes. 2005-06-03 22:13:52 +00:00
Tim Waugh
0896c798bd Build with --enable-dynamic to get -fPIC 2005-06-03 17:21:32 +00:00
Tim Waugh
ea3f92a32d - Add Mandriva's fPIC patch. 2005-06-03 16:45:54 +00:00
Tim Waugh
676fb38fd7 Provides: libijs.so 2005-06-03 16:17:56 +00:00
Tim Waugh
97d2b5ac1d Fixed changelog. 2005-06-03 16:09:01 +00:00
Tim Waugh
a5db1a22b3 - Switch to ESP Ghostscript.
- 8.15.
- Lots of patches dropped. Perhaps some will need to be re-added.
2005-06-03 16:04:52 +00:00
Tim Waugh
7b9b1cb6ec Fixed changelog 2005-03-10 18:06:45 +00:00
Tim Waugh
22e228928c - Build igcrej.c with -O0 to work around bug #150771. 2005-03-10 17:50:05 +00:00
Tim Waugh
9fbac55a17 - Try building gs with -O0. 2005-03-10 12:54:10 +00:00
Tim Waugh
b66b2c06c9 - Try building gs with -fno-strict-aliasing. 2005-03-10 12:03:59 +00:00
Tim Waugh
cf0cd68b67 - Rebuilt for new GCC. 2005-03-01 17:59:12 +00:00
Tim Waugh
6e03243ad6 Typo in changelog 2005-02-21 16:31:19 +00:00
Tim Waugh
16c5028d5b - Fixed inspired by GCC 4. 2005-02-21 16:02:32 +00:00
Tim Waugh
f51d498501 - Correct permissions for %{_datadir}/ghostscript/Resource (bug #145420). 2005-01-18 11:11:43 +00:00
Tim Waugh
cdf70806ff 7.07-37 2004-12-10 16:32:35 +00:00
Tim Waugh
7a45f2454b - Fixed missing return statement (bug #136757). 2004-12-10 14:52:32 +00:00
Tim Waugh
7990b5b33b - Remove VFlib2 bits (bug #120498). 2004-12-09 15:10:52 +00:00
Tim Waugh
aa352e7228 - Added /etc/ghostscript to search path and to file manifest (bug #98974). 2004-12-03 12:11:57 +00:00
Miloslav Trmac
f0e20cc4d2 - Convert man pages to UTF-8 2004-11-20 18:51:35 +00:00
Tim Waugh
edd7253dd4 - Fix for bug #136322 (temporary files). 2004-10-20 10:23:35 +00:00
Tim Waugh
066581c51d - Turn off fontconfig until it's fixed (bug #133353). 2004-09-28 15:51:33 +00:00
Tim Waugh
2a62a79b08 Fix build for no-fontconfig 2004-09-28 15:50:20 +00:00
cvsdist
1756771a4c auto-import changelog data from ghostscript-7.07-31.src.rpm
Wed Aug 18 2004 Tim Waugh <twaugh@redhat.com> 7.07-31
- Only ship gsx in the gtk subpackage.
2004-09-09 05:21:38 +00:00
cvsdist
48b6ce9e2f auto-import ghostscript-7.07-30 from ghostscript-7.07-30.src.rpm 2004-09-09 05:21:34 +00:00
cvsdist
9c51cf501f auto-import ghostscript-7.07-29 from ghostscript-7.07-29.src.rpm 2004-09-09 05:21:23 +00:00
cvsdist
eeb4a8b436 auto-import ghostscript-7.07-28 from ghostscript-7.07-28.src.rpm 2004-09-09 05:21:14 +00:00
cvsdist
5b275a0158 auto-import ghostscript-7.07-27 from ghostscript-7.07-27.src.rpm 2004-09-09 05:21:00 +00:00
cvsdist
58978d5671 auto-import ghostscript-7.07-26 from ghostscript-7.07-26.src.rpm 2004-09-09 05:20:21 +00:00
cvsdist
83dc79694a auto-import ghostscript-7.07-25 from ghostscript-7.07-25.src.rpm 2004-09-09 05:20:16 +00:00
cvsdist
ef42ce6c5f auto-import ghostscript-7.07-19 from ghostscript-7.07-19.src.rpm 2004-09-09 05:19:11 +00:00
cvsdist
819e8c9204 auto-import changelog data from ghostscript-7.07-15.4.src.rpm
Tue Aug 17 2004 Tim Waugh <twaugh@redhat.com> 7.07-15.4
- Rebuilt.
2004-09-09 05:19:00 +00:00
cvsdist
ff5a22d3ce auto-import changelog data from ghostscript-7.07-15.3.src.rpm
Wed Aug 04 2004 Tim Waugh <twaugh@redhat.com> 7.07-15.3
- Turn on libgs (bug #129062).
2004-09-09 05:18:42 +00:00
cvsdist
24fb04e9e5 auto-import changelog data from ghostscript-7.07-15.2.src.rpm
Tue Mar 09 2004 Tim Waugh <twaugh@redhat.com> 7.07-15.2
- Added bjc250gs driver (bug #117860).
2004-09-09 05:18:32 +00:00
cvsdist
30ba988420 auto-import changelog data from ghostscript-7.07-15.1.src.rpm
Thu Jan 15 2004 Tim Waugh <twaugh@redhat.com> 7.07-15.1
- Build for Fedora Core 1 printer drivers update.
- Turn off fontconfig.
Tue Jan 06 2004 Tim Waugh <twaugh@redhat.com> 7.07-15
- Build for Fedora Core 1 printer drivers update.
- Conflicts with foomatic before hpijs 1.5 data.
- Make fontconfig optional.
Sat Dec 13 2003 Tim Waugh <twaugh@redhat.com> 7.07-14
- Disable unnecessary debug messages from fontconfig support.
Fri Dec 05 2003 Tim Waugh <twaugh@redhat.com> 7.07-13
- Add fontconfig support (bug #111412).
Thu Nov 27 2003 Tim Waugh <twaugh@redhat.com>
- Build requires libjpeg-devel (bug #110737).
Tue Nov 11 2003 Tim Waugh <twaugh@redhat.com> 7.07-12
- Updated hpijs to 1.5 (bug #109714).
Mon Nov 10 2003 Tim Waugh <twaugh@redhat.com>
- Updated lxm3200 patch (bug #109625).
2004-09-09 05:18:21 +00:00
cvsdist
4617036289 auto-import changelog data from ghostscript-7.07-11.src.rpm
Tue Sep 30 2003 Tim Waugh <twaugh@redhat.com> 7.07-11
- Updated gdevcups.c from CUPS 1.1.19.
- Apply NOMEDIAATTRS patch from CUPS 1.1.19 (bug #105401).
Thu Aug 28 2003 Tim Waugh <twaugh@redhat.com>
- Fix lips4v driver (bug #92337).
Wed Aug 20 2003 Tim Waugh <twaugh@redhat.com> 7.07-10
- Fix compilation problems in hpijs.
Mon Aug 04 2003 Tim Waugh <twaugh@redhat.com> 7.07-9
- Further fix from bug #100685.
Thu Jul 31 2003 Tim Waugh <twaugh@redhat.com> 7.07-8
- Further fix from bug #100685.
Tue Jul 29 2003 Tim Waugh <twaugh@redhat.com> 7.07-7
- Further fix from bug #100685.
Fri Jul 25 2003 Tim Waugh <twaugh@redhat.com> 7.07-6
- Further fix from bug #100557.
Thu Jul 24 2003 Tim Waugh <twaugh@redhat.com> 7.07-5
- Further fix from bug #100557.
- Fix bug #100685.
Wed Jul 23 2003 Tim Waugh <twaugh@redhat.com> 7.07-4
- Fix bug #100557.
Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 7.07-3
- rebuilt
Tue May 27 2003 Tim Waugh <twaugh@redhat.com>
- Fix sed usage in ps2epsi (bug #89300).
2004-09-09 05:18:04 +00:00
16 changed files with 1313 additions and 531 deletions

View File

@ -1,16 +0,0 @@
CIDFnmap-cjk-20030115.tar.gz
acro5-cmaps-2001.tar.gz
adobe-cmaps-200202.tar.gz
eplaseren-1.0.2-550.tgz
epson740.tgz
gdevmd2k-0.2a.tar.gz
ghostscript-7.05.tar.bz2
gnu-drivers.tar.gz
gs550j1.tar.gz
gs6.51-cjk-M2-R3.tar.gz
gs704-j-vlib.zip
hpijs-1.3.tar.gz
jpegsrc.v6b.tar.gz
lexmarkgs990908.tar.gz
lxm3200-0.4.1-gs5.50-src.tar.gz
pcl3-3.3.tar.gz

27
.gitignore vendored Normal file
View File

@ -0,0 +1,27 @@
acro5-cmaps-2001.tar.gz
adobe-cmaps-200202.tar.gz
eplaser-3.1.4-705.tgz
epson740.tgz
gdevmd2k-0.2a.tar.gz
ghostscript-7.07.tar.bz2
gs550j1.tar.gz
gs6.51-cjk-M2-R3.tar.gz
gs704-j-vlib.zip
lexmarkgs990908.tar.gz
lxm3200-tweaked-20030501.tar.gz
pcl3-3.3.tar.gz
espgs-8.15rc3-source.tar.bz2
adobe-cmaps-200204.tar.gz
espgs-8.15rc4-source.tar.bz2
espgs-8.15.1-source.tar.bz2
adobe-cmaps-200406.tar.gz
espgs-8.15.2-source.tar.bz2
espgs-8.15.3-source.tar.bz2
espgs-8.15.4-source.tar.bz2
ghostscript-8.60-r8117.tar.bz2
ghostscript-8.60.tar.bz2
ghostscript-8.61.tar.bz2
ghostscript-8.62.tar.bz2
ghostscript-8.63.tar.bz2
ghostscript-8.64.tar.bz2
ghostscript-8.70.tar.bz2

9
CIDFnmap Normal file
View File

@ -0,0 +1,9 @@
%!
% following lines are for CJK fonts.
(CIDFnmap.ja) .runlibfileifexists
(CIDFnmap.ko) .runlibfileifexists
(CIDFnmap.zh_CN) .runlibfileifexists
(CIDFnmap.zh_TW) .runlibfileifexists
% must be at the bottom of line to allow people overriding everything.
(CIDFnmap.local) .runlibfileifexists

View File

@ -1,6 +0,0 @@
# Makefile for source rpm: ghostscript
# $Id$
NAME := ghostscript
SPECFILE = $(firstword $(wildcard *.spec))
include ../common/Makefile.common

10
cidfmap Normal file
View File

@ -0,0 +1,10 @@
%!
% Don't change following line. We should ensure that the original one is surely loaded.
(cidfmap.GS) .runlibfile
% following lines are for CJK fonts.
(cidfmap.ja) .runlibfileifexists
(cidfmap.ko) .runlibfileifexists
(cidfmap.zh_CN) .runlibfileifexists
(cidfmap.zh_TW) .runlibfileifexists
% must be at the bottom of line to allow people overriding everything.
(cidfmap.local) .runlibfileifexists

33
ghostscript-fPIC.patch Normal file
View File

@ -0,0 +1,33 @@
diff -up ghostscript-8.64/base/devs.mak.fPIC ghostscript-8.64/base/devs.mak
--- ghostscript-8.64/base/devs.mak.fPIC 2008-11-07 18:49:34.000000000 +0000
+++ ghostscript-8.64/base/devs.mak 2009-02-04 11:34:21.000000000 +0000
@@ -456,7 +456,7 @@ $(GLOBJ)gdevx.$(OBJ) : $(GLSRC)gdevx.c $
$(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c
$(GLOBJ)gdevxcmp.$(OBJ) : $(GLSRC)gdevxcmp.c $(GDEVX) $(math__h)
- $(GLCC) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c
+ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c
$(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxini.c $(GDEVX) $(memory__h)\
$(gserrors_h) $(gsparamx_h) $(gxdevmem_h) $(gdevbbox_h)
diff -up ghostscript-8.64/base/lib.mak.fPIC ghostscript-8.64/base/lib.mak
--- ghostscript-8.64/base/lib.mak.fPIC 2009-01-08 09:17:18.000000000 +0000
+++ ghostscript-8.64/base/lib.mak 2009-02-04 11:34:21.000000000 +0000
@@ -894,7 +894,7 @@ $(GLOBJ)gsparam.$(OBJ) : $(GLSRC)gsparam
$(GLOBJ)gsparamx.$(OBJ) : $(GLSRC)gsparamx.c $(string__h)\
$(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\
$(gstypes_h)
- $(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c
+ $(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c
# Future replacement for gsparams.c
$(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(GXERR) $(memory__h)\
@@ -1085,7 +1085,7 @@ $(GLOBJ)gdevnfwd.$(OBJ) : $(GLSRC)gdevnf
# Provide a mapping between StandardEncoding and ISOLatin1Encoding.
$(GLOBJ)gdevemap.$(OBJ) : $(GLSRC)gdevemap.c $(AK) $(std_h)
- $(GLCC) $(GLO_)gdevemap.$(OBJ) $(C_) $(GLSRC)gdevemap.c
+ $(GLCCSHARED) $(GLO_)gdevemap.$(OBJ) $(C_) $(GLSRC)gdevemap.c
###### Create a pseudo-"feature" for the entire graphics library.

View File

@ -0,0 +1,361 @@
diff -up ghostscript-8.70/lib/bdftops.gs-executable ghostscript-8.70/lib/bdftops
--- ghostscript-8.70/lib/bdftops.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/bdftops 2009-08-03 17:53:20.569875831 +0100
@@ -6,8 +6,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dBATCH -dNODISPLAY -- bdftops.ps "$@"
+exec "$gs" -q -dBATCH -dNODISPLAY -- bdftops.ps "$@"
diff -up ghostscript-8.70/lib/dumphint.gs-executable ghostscript-8.70/lib/dumphint
--- ghostscript-8.70/lib/dumphint.gs-executable 2009-01-04 20:11:57.000000000 +0000
+++ ghostscript-8.70/lib/dumphint 2009-08-03 17:53:20.570875283 +0100
@@ -7,9 +7,8 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
OPTIONS="-dSAFER -dDELAYSAFER"
@@ -27,4 +26,4 @@ if [ $# -ne 1 ]; then
exit 1
fi
-exec "$GS_EXECUTABLE" -q -dNODISPLAY $OPTIONS -- "`dirname $0`/dumphint.ps" "$1"
+exec "$gs" -q -dNODISPLAY $OPTIONS -- "`dirname $0`/dumphint.ps" "$1"
diff -up ghostscript-8.70/lib/eps2eps.gs-executable ghostscript-8.70/lib/eps2eps
--- ghostscript-8.70/lib/eps2eps.gs-executable 2009-01-10 22:11:18.000000000 +0000
+++ ghostscript-8.70/lib/eps2eps 2009-08-03 17:53:20.573877995 +0100
@@ -7,9 +7,8 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
OPTIONS="-dDEVICEWIDTH=250000 -dDEVICEHEIGHT=250000"
while true
@@ -26,4 +25,4 @@ if [ $# -ne 2 ]; then
exit 1
fi
-exec "$GS_EXECUTABLE" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -dSAFER $OPTIONS "$1"
+exec "$gs" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -dSAFER $OPTIONS "$1"
diff -up ghostscript-8.70/lib/font2c.gs-executable ghostscript-8.70/lib/font2c
--- ghostscript-8.70/lib/font2c.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/font2c 2009-08-03 17:53:20.576874823 +0100
@@ -6,8 +6,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps "$@"
+exec "$gs" -q -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps "$@"
diff -up ghostscript-8.70/lib/gsbj.gs-executable ghostscript-8.70/lib/gsbj
--- ghostscript-8.70/lib/gsbj.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/gsbj 2009-08-03 17:53:20.579874829 +0100
@@ -6,8 +6,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -sDEVICE=bj10e -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+exec "$gs" -q -sDEVICE=bj10e -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
diff -up ghostscript-8.70/lib/gsdj500.gs-executable ghostscript-8.70/lib/gsdj500
--- ghostscript-8.70/lib/gsdj500.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/gsdj500 2009-08-03 17:53:20.582874574 +0100
@@ -6,8 +6,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -sDEVICE=djet500 -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+exec "$gs" -q -sDEVICE=djet500 -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
diff -up ghostscript-8.70/lib/gsdj.gs-executable ghostscript-8.70/lib/gsdj
--- ghostscript-8.70/lib/gsdj.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/gsdj 2009-08-03 17:53:20.585875161 +0100
@@ -6,8 +6,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -sDEVICE=deskjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+exec "$gs" -q -sDEVICE=deskjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
diff -up ghostscript-8.70/lib/gslj.gs-executable ghostscript-8.70/lib/gslj
--- ghostscript-8.70/lib/gslj.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/gslj 2009-08-03 17:53:20.588874966 +0100
@@ -6,8 +6,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -sDEVICE=laserjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+exec "$gs" -q -sDEVICE=laserjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
diff -up ghostscript-8.70/lib/gslp.gs-executable ghostscript-8.70/lib/gslp
--- ghostscript-8.70/lib/gslp.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/gslp 2009-08-03 17:53:20.591874666 +0100
@@ -6,8 +6,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -sDEVICE=epson -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+exec "$gs" -q -sDEVICE=epson -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
diff -up ghostscript-8.70/lib/gsnd.gs-executable ghostscript-8.70/lib/gsnd
--- ghostscript-8.70/lib/gsnd.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/gsnd 2009-08-03 17:53:20.594874682 +0100
@@ -6,8 +6,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -dNODISPLAY "$@"
+exec "$gs" -dNODISPLAY "$@"
diff -up ghostscript-8.70/lib/pdf2dsc.gs-executable ghostscript-8.70/lib/pdf2dsc
--- ghostscript-8.70/lib/pdf2dsc.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/pdf2dsc 2009-08-03 17:53:20.597874954 +0100
@@ -11,9 +11,8 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
me=`basename $0`
@@ -31,5 +30,5 @@ pdffile=$1
dscfile=$2
: ${dscfile:=`echo $pdffile | sed 's,\.[^/.]*,,'`.dsc}
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -dSAFER -dDELAYSAFER\
+exec "$gs" -q -dNODISPLAY -dSAFER -dDELAYSAFER\
-sPDFname="$pdffile" -sDSCname="$dscfile" pdf2dsc.ps -c quit
diff -up ghostscript-8.70/lib/pdf2ps.gs-executable ghostscript-8.70/lib/pdf2ps
--- ghostscript-8.70/lib/pdf2ps.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/pdf2ps 2009-08-03 17:53:20.601874677 +0100
@@ -7,9 +7,8 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
OPTIONS=""
while true
@@ -35,4 +34,4 @@ fi
# Doing an initial 'save' helps keep fonts from being flushed between pages.
# We have to include the options twice because -I only takes effect if it
# appears before other options.
-exec "$GS_EXECUTABLE" $OPTIONS -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite "-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
+exec "$gs" $OPTIONS -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite "-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
diff -up ghostscript-8.70/lib/pdfopt.gs-executable ghostscript-8.70/lib/pdfopt
--- ghostscript-8.70/lib/pdfopt.gs-executable 2008-05-25 03:17:14.000000000 +0100
+++ ghostscript-8.70/lib/pdfopt 2009-08-03 17:53:20.604874898 +0100
@@ -7,9 +7,8 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
OPTIONS="-dSAFER -dDELAYSAFER"
while true
@@ -26,4 +25,4 @@ if [ $# -ne 2 ]; then
exit 1
fi
-exec "$GS_EXECUTABLE" -q -dNODISPLAY $OPTIONS -- pdfopt.ps "$1" "$2"
+exec "$gs" -q -dNODISPLAY $OPTIONS -- pdfopt.ps "$1" "$2"
diff -up ghostscript-8.70/lib/pf2afm.gs-executable ghostscript-8.70/lib/pf2afm
--- ghostscript-8.70/lib/pf2afm.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/pf2afm 2009-08-03 17:53:20.608874740 +0100
@@ -10,8 +10,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -dSAFER -dDELAYSAFER -- pf2afm.ps "$@"
+exec "$gs" -q -dNODISPLAY -dSAFER -dDELAYSAFER -- pf2afm.ps "$@"
diff -up ghostscript-8.70/lib/pfbtopfa.gs-executable ghostscript-8.70/lib/pfbtopfa
--- ghostscript-8.70/lib/pfbtopfa.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/pfbtopfa 2009-08-03 17:53:20.612874691 +0100
@@ -7,9 +7,8 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
if [ $# -eq 2 ]
then
@@ -22,4 +21,4 @@ else
exit 1
fi
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
+exec "$gs" -q -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
diff -up ghostscript-8.70/lib/pphs.gs-executable ghostscript-8.70/lib/pphs
--- ghostscript-8.70/lib/pphs.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/pphs 2009-08-03 17:53:20.616874647 +0100
@@ -9,8 +9,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -- pphs.ps "$@"
+exec "$gs" -q -dNODISPLAY -- pphs.ps "$@"
diff -up ghostscript-8.70/lib/printafm.gs-executable ghostscript-8.70/lib/printafm
--- ghostscript-8.70/lib/printafm.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/printafm 2009-08-03 17:53:20.619874766 +0100
@@ -9,8 +9,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -- printafm.ps "$@"
+exec "$gs" -q -dNODISPLAY -- printafm.ps "$@"
diff -up ghostscript-8.70/lib/ps2epsi.gs-executable ghostscript-8.70/lib/ps2epsi
--- ghostscript-8.70/lib/ps2epsi.gs-executable 2009-04-07 11:20:02.000000000 +0100
+++ ghostscript-8.70/lib/ps2epsi 2009-08-03 17:54:48.355750266 +0100
@@ -6,9 +6,8 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
# try to create a temporary file securely
if test -z "$TMPDIR"; then
@@ -50,7 +49,7 @@ else
outfile=$2
fi
-"$GS_EXECUTABLE" -q -dBATCH -dNOPAUSE -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=/dev/null "${infile}" 2>${outfile}
+"$gs" -q -dBATCH -dNOPAUSE -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=/dev/null "${infile}" 2>${outfile}
ls -l "${infile}" |
awk 'F==1 {
@@ -92,7 +91,7 @@ awk 'F==1 {
}
' F=1 - F=2 "${outfile}" >>"$tmpfile"
-"$GS_EXECUTABLE" -q -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null "$tmpfile" ps2epsi.ps "$tmpfile" <"${infile}" 1>&2
+"$gs" -q -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null "$tmpfile" ps2epsi.ps "$tmpfile" <"${infile}" 1>&2
rm -f "$tmpfile"
rm -rf "$tmpdir"
diff -up ghostscript-8.70/lib/ps2pdfwr.gs-executable ghostscript-8.70/lib/ps2pdfwr
--- ghostscript-8.70/lib/ps2pdfwr.gs-executable 2009-01-10 22:11:18.000000000 +0000
+++ ghostscript-8.70/lib/ps2pdfwr 2009-08-03 17:53:20.626874926 +0100
@@ -7,9 +7,8 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
OPTIONS="-dSAFER"
while true
@@ -42,4 +41,4 @@ fi
# We have to include the options twice because -I only takes effect if it
# appears before other options.
-exec "$GS_EXECUTABLE" $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile"
+exec "$gs" $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile"
diff -up ghostscript-8.70/lib/ps2ps.gs-executable ghostscript-8.70/lib/ps2ps
--- ghostscript-8.70/lib/ps2ps.gs-executable 2009-01-10 22:11:18.000000000 +0000
+++ ghostscript-8.70/lib/ps2ps 2009-08-03 17:53:20.630875037 +0100
@@ -7,9 +7,8 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
OPTIONS="-dSAFER"
while true
@@ -27,4 +26,4 @@ if [ $# -ne 2 ]; then
exit 1
fi
-exec "$GS_EXECUTABLE" -q -sDEVICE=pswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH $OPTIONS "$1"
+exec "$gs" -q -sDEVICE=pswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH $OPTIONS "$1"
diff -up ghostscript-8.70/lib/wftopfa.gs-executable ghostscript-8.70/lib/wftopfa
--- ghostscript-8.70/lib/wftopfa.gs-executable 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.70/lib/wftopfa 2009-08-03 17:53:20.633874780 +0100
@@ -6,8 +6,7 @@
GS_EXECUTABLE=gs
gs="`dirname $0`/$GS_EXECUTABLE"
if test ! -x "$gs"; then
- gs="$GS_EXECUTABLE"
+ gs="$gs"
fi
-GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -- wftopfa.ps "$@"
+exec "$gs" -q -dNODISPLAY -- wftopfa.ps "$@"

View File

@ -0,0 +1,81 @@
diff -up ghostscript-8.70/jbig2dec/jbig2_generic.c.jbig2dec-nullderef ghostscript-8.70/jbig2dec/jbig2_generic.c
--- ghostscript-8.70/jbig2dec/jbig2_generic.c.jbig2dec-nullderef 2009-05-29 07:48:44.000000000 +0100
+++ ghostscript-8.70/jbig2dec/jbig2_generic.c 2009-08-03 17:51:13.864875636 +0100
@@ -596,6 +596,10 @@ jbig2_immediate_generic_region(Jbig2Ctx
memcpy (params.gbat, gbat, gbat_bytes);
image = jbig2_image_new(ctx, rsi.width, rsi.height);
+ if (image == NULL)
+ return jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
+ "failed to allocate buffer for image");
+
jbig2_error(ctx, JBIG2_SEVERITY_DEBUG, segment->number,
"allocated %d x %d image buffer for region decode results",
rsi.width, rsi.height);
diff -up ghostscript-8.70/jbig2dec/jbig2_symbol_dict.c.jbig2dec-nullderef ghostscript-8.70/jbig2dec/jbig2_symbol_dict.c
--- ghostscript-8.70/jbig2dec/jbig2_symbol_dict.c.jbig2dec-nullderef 2009-05-29 07:48:44.000000000 +0100
+++ ghostscript-8.70/jbig2dec/jbig2_symbol_dict.c 2009-08-03 17:52:35.318750131 +0100
@@ -367,6 +367,11 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx,
memcpy(region_params.gbat, params->sdat, sdat_bytes);
image = jbig2_image_new(ctx, SYMWIDTH, HCHEIGHT);
+ if (image == NULL) {
+ jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
+ "failed to allocate image storage");
+ return NULL;
+ }
code = jbig2_decode_generic_region(ctx, segment, &region_params,
as, image, GB_stats);
@@ -517,6 +522,11 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx,
ID, RDX, RDY);
image = jbig2_image_new(ctx, SYMWIDTH, HCHEIGHT);
+ if (image == NULL) {
+ jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
+ "failed to allocate image storage");
+ return NULL;
+ }
/* Table 18 */
rparams.GRTEMPLATE = params->SDRTEMPLATE;
@@ -635,6 +645,16 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx,
for (j = HCFIRSTSYM; j < NSYMSDECODED; j++) {
Jbig2Image *glyph;
glyph = jbig2_image_new(ctx, SDNEWSYMWIDTHS[j], HCHEIGHT);
+ if (glyph == NULL) {
+ jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
+ "error allocating image storage for glyph");
+ while (--j >= HCFIRSTSYM) {
+ jbig2_image_release(ctx, SDNEWSYMS->glyphs[j]);
+ SDNEWSYMS->glyphs[j] = NULL;
+ }
+ jbig2_image_release(ctx, image);
+ return NULL;
+ }
jbig2_image_compose(ctx, glyph, image,
-x, 0, JBIG2_COMPOSE_REPLACE);
x += SDNEWSYMWIDTHS[j];
diff -up ghostscript-8.70/jbig2dec/jbig2_text.c.jbig2dec-nullderef ghostscript-8.70/jbig2dec/jbig2_text.c
--- ghostscript-8.70/jbig2dec/jbig2_text.c.jbig2dec-nullderef 2009-05-29 07:48:44.000000000 +0100
+++ ghostscript-8.70/jbig2dec/jbig2_text.c 2009-08-03 17:53:05.166750610 +0100
@@ -312,6 +312,9 @@ jbig2_decode_text_region(Jbig2Ctx *ctx,
IBO = IB;
refimage = jbig2_image_new(ctx, IBO->width + RDW,
IBO->height + RDH);
+ if (image == NULL)
+ return jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
+ "could not allocate image storage");
/* Table 12 */
rparams.GRTEMPLATE = params->SBRTEMPLATE;
@@ -676,6 +679,9 @@ jbig2_parse_text_region(Jbig2Ctx *ctx, J
}
image = jbig2_image_new(ctx, region_info.width, region_info.height);
+ if (image == NULL)
+ return jbig2_error(ctx, JBIG2_SEVERITY_WARNING, segment->number,
+ "unable to allocate image storage");
ws = jbig2_word_stream_buf_new(ctx, segment_data + offset, segment->data_length - offset);
if (!params.SBHUFF) {

View File

@ -0,0 +1,14 @@
diff -up ghostscript-8.61/ijs/Makefile.am.multilib ghostscript-8.61/ijs/Makefile.am
diff -up ghostscript-8.61/ijs/ijs-config.in.multilib ghostscript-8.61/ijs/ijs-config.in
--- ghostscript-8.61/ijs/ijs-config.in.multilib 2002-01-31 19:09:46.000000000 +0000
+++ ghostscript-8.61/ijs/ijs-config.in 2007-11-23 09:19:18.000000000 +0000
@@ -43,8 +43,7 @@ while test $# -gt 0; do
echo $includes
;;
--libs)
- libdirs=-L@libdir@
- echo $libdirs -lijs
+ echo -lijs
;;
*)
echo "${usage}" 1>&2

12
ghostscript-noopt.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up ghostscript-8.64/psi/int.mak.noopt ghostscript-8.64/psi/int.mak
--- ghostscript-8.64/psi/int.mak.noopt 2008-12-26 07:25:31.000000000 +0000
+++ ghostscript-8.64/psi/int.mak 2009-02-04 11:33:48.000000000 +0000
@@ -111,7 +111,7 @@ $(PSOBJ)igc.$(OBJ) : $(PSSRC)igc.c $(GH)
$(PSOBJ)igcref.$(OBJ) : $(PSSRC)igcref.c $(GH) $(memory__h)\
$(gsexit_h) $(gsstruct_h)\
$(iastate_h) $(idebug_h) $(igc_h) $(iname_h) $(ipacked_h) $(store_h)
- $(PSCC) $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c
+ $(PSCC) -O0 $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c
$(PSOBJ)igcstr.$(OBJ) : $(PSSRC)igcstr.c $(GH) $(memory__h)\
$(gsmdebug_h) $(gsstruct_h) $(iastate_h) $(igcstr_h)

12
ghostscript-pksmraw.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up ghostscript-8.64/base/gxclrast.c.pksmraw ghostscript-8.64/base/gxclrast.c
--- ghostscript-8.64/base/gxclrast.c.pksmraw 2008-12-13 20:05:37.000000000 +0000
+++ ghostscript-8.64/base/gxclrast.c 2009-02-04 11:36:25.000000000 +0000
@@ -2685,8 +2685,6 @@ static int apply_create_compositor(gx_de
rc_increment(tdev);
*ptarget = tdev;
}
- if (code < 0)
- return code;
/* Perform any updates for the clist device required */
code = pcomp->type->procs.clist_compositor_read_update(pcomp,

View File

@ -0,0 +1,26 @@
diff -up ghostscript-8.64/Resource/Init/gs_init.ps.runlibfileifexists ghostscript-8.64/Resource/Init/gs_init.ps
--- ghostscript-8.64/Resource/Init/gs_init.ps.runlibfileifexists 2009-01-08 09:17:18.000000000 +0000
+++ ghostscript-8.64/Resource/Init/gs_init.ps 2009-02-04 11:35:19.000000000 +0000
@@ -672,6 +672,14 @@ systemdict /internaldict dup .makeintern
{ /undefinedfilename signalerror }
ifelse
} bind def
+/runlibfileifexists
+ { % We don't want to bind 'run' into this procedure,
+ % since run may get redefined.
+ findlibfile
+ { exch pop /run .systemvar exec }
+ { pop }
+ ifelse
+ } bind def
/selectdevice
{ finddevice setdevice .setdefaultscreen } bind def
/signalerror % <object> <errorname> signalerror -
@@ -840,6 +848,7 @@ userdict /.currentresourcefile //null pu
} bind def
% Temporarily substitute it for the real runlibfile.
/.runlibfile /runlibfile load def
+/.runlibfileifexists /runlibfileifexists load def
/runlibfile /runlibfile0 load def
% Create the error handling machinery.

31
ghostscript-scripts.patch Normal file
View File

@ -0,0 +1,31 @@
diff -up ghostscript-8.64/lib/dvipdf.scripts ghostscript-8.64/lib/dvipdf
--- ghostscript-8.64/lib/dvipdf.scripts 2009-01-10 22:11:18.000000000 +0000
+++ ghostscript-8.64/lib/dvipdf 2009-02-04 11:32:31.000000000 +0000
@@ -44,4 +44,4 @@ fi
# We have to include the options twice because -I only takes effect if it
# appears before other options.
-exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -
+exec dvips -R -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -
diff -up ghostscript-8.64/lib/pv.sh.scripts ghostscript-8.64/lib/pv.sh
--- ghostscript-8.64/lib/pv.sh.scripts 2007-07-05 11:41:52.000000000 +0100
+++ ghostscript-8.64/lib/pv.sh 2009-02-04 11:31:32.000000000 +0000
@@ -31,7 +31,7 @@ fi
GS_EXECUTABLE=gs
TEMPDIR=.
-PAGE=$1
+PAGE="$1"
shift
FILE="$1"
shift
@@ -44,7 +44,7 @@ else
tmpfile="$TEMPDIR/$FILE.$$.pv"
fi
trap "rm -rf $tmpfile" 0 1 2 15
-#dvips -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
-dvips -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
+#dvips -R -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
+dvips -R -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
$GS_EXECUTABLE $tmpfile
exit 0

View File

@ -0,0 +1,26 @@
diff -up ghostscript-8.64/base/sjpx.c.system-jasper ghostscript-8.64/base/sjpx.c
--- ghostscript-8.64/base/sjpx.c.system-jasper 2008-08-21 00:22:49.000000000 +0100
+++ ghostscript-8.64/base/sjpx.c 2009-02-04 11:35:56.000000000 +0000
@@ -34,14 +34,6 @@ static void s_jpxd_set_defaults(stream_s
private_st_jpxd_state(); /* creates a gc object for our state,
defined in sjpx.h */
-/* error reporting callback for the jpx library */
-static void
-s_jpx_jas_error_cb(jas_error_t err, char *msg)
-{
- dprintf2("jasper (code %d) %s", (int)err, msg);
-}
-
-
/* initialize the steam.
this involves allocating the stream and image structures, and
initializing the decoder.
@@ -59,7 +51,6 @@ s_jpxd_init(stream_state * ss)
}
status = jas_init();
- jas_set_error_cb(s_jpx_jas_error_cb);
#ifdef JPX_DEBUG
/* raise the error reporting threshold from the default (0) */
jas_setdbglevel(1);

File diff suppressed because it is too large Load Diff

17
sources
View File

@ -1,16 +1,3 @@
75fbe1a1c474d67fbc71cc4b1dbfb833 CIDFnmap-cjk-20030115.tar.gz
2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz
e8fbffadb8d70ce5f92708a699ae7765 adobe-cmaps-200202.tar.gz dfc93dd2aaaf2b86d2fd55f654c13261 adobe-cmaps-200406.tar.gz
911c7865a83a69135417989dee53f8fc eplaseren-1.0.2-550.tgz 526366f8cb4fda0d3d293597cc5b984b ghostscript-8.70.tar.bz2
2c6ebfe51cab34ee61e3dd524c8640cc epson740.tgz
5ed2b4218b8f77cb411f3d2e4509ed24 gdevmd2k-0.2a.tar.gz
821caada7e265ea5b698a78e6b029734 ghostscript-7.05.tar.bz2
9b25d4dd54d3297f33a8f7609fba70dd gnu-drivers.tar.gz
d202cd105c496b7f0eb5221316fb7b7f gs550j1.tar.gz
6f8e90effe12527a4c3b36ea4ce47b3c gs6.51-cjk-M2-R3.tar.gz
b32da7d61421384a0874037576033861 gs704-j-vlib.zip
9d0b79d0fae39f3efc5b8db60f51a8fa hpijs-1.3.tar.gz
dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz
aea08da4e37ab68ed6f1dc451f24b30b lexmarkgs990908.tar.gz
ec11b9ef72ecaabb61eeba27e93f9f2b lxm3200-0.4.1-gs5.50-src.tar.gz
34e664c2a98b847598f8441f8cac7ab6 pcl3-3.3.tar.gz