diff options
author | Luis Medinas <metalgod@gentoo.org> | 2006-01-05 00:06:59 +0000 |
---|---|---|
committer | Luis Medinas <metalgod@gentoo.org> | 2006-01-05 00:06:59 +0000 |
commit | d079fbbe69fcaf7cdc3101b7024c01b118bb8c23 (patch) | |
tree | 4fd4b2434f7f927028ac9763fc5cd90e7cc16775 /app-text/ghostscript | |
parent | virtual move ghostscript -> ghostscript-esp (diff) | |
download | gentoo-2-d079fbbe69fcaf7cdc3101b7024c01b118bb8c23.tar.gz gentoo-2-d079fbbe69fcaf7cdc3101b7024c01b118bb8c23.tar.bz2 gentoo-2-d079fbbe69fcaf7cdc3101b7024c01b118bb8c23.zip |
Moved to app-text/ghostscript-esp.
Diffstat (limited to 'app-text/ghostscript')
35 files changed, 0 insertions, 2764 deletions
diff --git a/app-text/ghostscript/ChangeLog b/app-text/ghostscript/ChangeLog deleted file mode 100644 index 1453907c0db7..000000000000 --- a/app-text/ghostscript/ChangeLog +++ /dev/null @@ -1,504 +0,0 @@ -# ChangeLog for app-text/ghostscript -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.112 2005/11/08 03:59:21 dang Exp $ - - 08 Nov 2005; <dang@gentoo.org> ghostscript-7.07.1-r10.ebuild: - Remove trailing whitespace - - 08 Nov 2005; <dang@gentoo.org> ghostscript-7.07.1-r10.ebuild: - Modular X deps - - 04 Nov 2005; Fabian Groffen <grobian@gentoo.org> - ghostscript-7.07.1-r10.ebuild: - Marked ppc-macos as deep dependency of bug #109997 - - 02 Nov 2005; Stefan Schweizer <genstef@gentoo.org> - -ghostscript-7.05.6-r2.ebuild, -ghostscript-7.07.1-r9.ebuild: - Remove unused ebuilds - -*ghostscript-7.07.1-r10 (01 Sep 2005) - - 01 Sep 2005; Simon Stelling <blubb@gentoo.org> - +files/ghostscript-7.07.1-64bit-cmyk.patch, ghostscript-7.07.1-r9.ebuild, - +ghostscript-7.07.1-r10.ebuild: - revision bump to fix bug 100808 - - 16 May 2005; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.07.1-r7.ebuild, ghostscript-7.07.1-r8.ebuild, - ghostscript-7.07.1-r9.ebuild: - move from gcc to toolchain eclass - -*ghostscript-7.07.1-r9 (23 Apr 2005) - - 23 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> - +files/ghostscript-7.07-bigposttable.patch, - +files/ghostscript-7.07-coverage-glyphcount.patch, - +files/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch, - +files/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch, - +files/gs7.07.1-cjk.diff, +files/ghostscript-7.07-gsublookuptable.patch, - +ghostscript-7.07.1-r9.ebuild: - Removed problematic entries from CIDFnmap.CJK. Added patches for better CJK - handling. This closes bug #90009. - - 18 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> - ghostscript-7.07.1-r8.ebuild: - Stable on ppc. - - 08 Apr 2005; Markus Rothe <corsair@gentoo.org> - ghostscript-7.07.1-r8.ebuild: - Stable on ppc64 - - 03 Apr 2005; Lina Pezzella <j4rg0n@gentoo.org> +files/gs-osx-ijs.patch, - +files/gs-osx-unix-dll.patch, ghostscript-7.07.1-r8.ebuild: - Testing ppc-macos. Source and Makefile patches added for Darwin compatibility. - - 27 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> - ghostscript-7.07.1-r8.ebuild: - Stable on alpha. - - 16 Mar 2005; Heinrich Wendel <lanius@gentoo.org> - -files/gs7.07.1-ps2epsi.patch, +files/gs7.07.1-ps2ps.patch, - ghostscript-7.07.1-r8.ebuild: - add ps2ps patch, bug #63435 - - 07 Mar 2005; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.07.1-r8.ebuild: - mark amd64 - - 05 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org> - ghostscript-7.07.1-r8.ebuild: - sparc-tastic - - 04 Mar 2005; Sven Wegener <swegener@gentoo.org> : - Added missing digest entries. - - 04 Mar 2005; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.05.6-r2.ebuild, ghostscript-7.07.1-r7.ebuild, - ghostscript-7.07.1-r8.ebuild: - stable on x86, fix man pages - - 04 Mar 2005; Heinrich Wendel <lanius@gentoo.org> - -ghostscript-7.05.6-r1.ebuild, -ghostscript-7.05.6.ebuild, - -ghostscript-7.07.1-r1.ebuild, -ghostscript-7.07.1-r2.ebuild, - -ghostscript-7.07.1-r3.ebuild, -ghostscript-7.07.1-r4.ebuild, - -ghostscript-7.07.1-r5.ebuild, -ghostscript-7.07.1-r6.ebuild: - cleanups - - 02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> : - Change encoding to UTF-8 for GLEP 31 compliance - - 14 Dec 2004; lanius@gentoo.org +files/gs7.07.1-nogtk2.patch, - ghostscript-7.07.1-r8.ebuild: - fix gtk use flag - - 05 Dec 2004; Sven Wegener <swegener@gentoo.org> : - Added missing digest entries. - -*ghostscript-7.07.1-r8 (05 Dec 2004) - - 05 Dec 2004; lanius@gentoo.org +files/gs7.07.1-fontconfig-rh.patch.2.bz2, - ghostscript-7.07.1-r7.ebuild, +ghostscript-7.07.1-r8.ebuild: - fix deps in 7.07.1-r7; add libgs.so to 7.07.1-r8 and remove broken patches - - 06 Nov 2004; Luca Barbato <lu_zero@gentoo.org> - ghostscript-7.07.1-r1.ebuild: - Backported the gc patch just in case - - 02 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> - +files/gs7.07.1-destdir.patch, ghostscript-7.07.1-r7.ebuild: - Added DESTDIR patch. - - 31 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> ghostscript-7.07.1-r7.ebuild: - Appended -j1 to emake; bug #68044. - - 25 Oct 2004; Luca Barbato <lu_zero@gentoo.org> - ghostscript-7.07.1-r7.ebuild: - Marked ppc, the garbage collector patch is still needed - - 19 Oct 2004; <SeJo@gentoo.org> ghostscript-7.05.6-r2.ebuild: - stable on ppc bug: 66357 - -*ghostscript-7.05.6-r2 (18 Oct 2004) - - 18 Oct 2004; Heinrich Wendel <lanius@gentoo.org> - +files/gs7.05.6-tempfile.patch, +ghostscript-7.05.6-r2.ebuild: - fix insecure tempfile handling in ppc version - - 16 Oct 2004; Hardave Riar <hardave@gentoo.org> ghostscript-7.07.1-r7.ebuild: - Stable on mips, bug #66357. - - 11 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> - files/gs7.07.1-cjk.diff.bz2, ghostscript-7.07.1-r4.ebuild, - ghostscript-7.07.1-r5.ebuild, ghostscript-7.07.1-r6.ebuild, - ghostscript-7.07.1-r7.ebuild: - Added --with-fontconfig and --with-fontpath. - Thanks to Georgi Georgiev <chutz@gg3.net>, see bug #56998. - - 09 Oct 2004; Tom Gall <tgall@gentoo.org> ghostscript-7.07.1-r7.ebuild: - stable on ppc64, bug #66357 - - 07 Oct 2004; Olivier Crete <tester@gentoo.org> ghostscript-7.07.1-r7.ebuild: - Stable on x86 wrt security bug #66357 - - 08 Oct 2004; Guy Martin <gmsoft@gentoo.org> ghostscript-7.07.1-r7.ebuild: - Marked stable on hppa. - - 07 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> - ghostscript-7.07.1-r7.ebuild: - Stable on alpha, bug 66357. - - 07 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org> - ghostscript-7.07.1-r7.ebuild: - Stable amd64. - - 07 Oct 2004; Gustavo Zacarias <gustavoz@gentoo.org> - ghostscript-7.07.1-r7.ebuild: - Stable on sparc wrt #66357 - -*ghostscript-7.07.1-r7 (07 Oct 2004) - - 07 Oct 2004; Heinrich Wendel <lanius@gentoo.org> - +files/gs7.07.1-tempfile.patch, +ghostscript-7.07.1-r7.ebuild: - fix insecure tempfile handling, bug #66357 - - 07 Oct 2004; Luca Barbato <lu_zero@gentoo.org> +files/gs-fix-gc.patch, - ghostscript-7.07.1-r6.ebuild: - Eventually found a fix for the garbage collector in the ghostscript ml, - thanks to Alex Cherepanov <alexcher@coscript.com> for the patch and pointing - out the solution - - 05 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> - +files/gs7.07.1-cjk.diff.bz2, ghostscript-7.05.6-r1.ebuild, - ghostscript-7.05.6.ebuild, ghostscript-7.07.1-r1.ebuild, - ghostscript-7.07.1-r2.ebuild, ghostscript-7.07.1-r3.ebuild, - ghostscript-7.07.1-r4.ebuild, ghostscript-7.07.1-r5.ebuild, - ghostscript-7.07.1-r6.ebuild: - Added revision restriction to cjk fonts (Gentoo standard font path has been - changed to /usr/share/fonts). - - 05 Oct 2004; Luca Barbato <lu_zero@gentoo.org> : - fix for bug #66335, thanks to Steph L <milter@free.fr> for the report and the - solution - - 01 Oct 2004; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.05.6-r1.ebuild: - fix path of Makefile.in - -*ghostscript-7.07.1-r6 (29 Sep 2004) - - 29 Sep 2004; Heinrich Wendel <lanius@gentoo.org> - +ghostscript-7.05.6-r1.ebuild, ghostscript-7.07.1-r5.ebuild, - +ghostscript-7.07.1-r6.ebuild: - moved fonts to separate package - - 19 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> - +files/gs7.07.1-ijsdestdir.patch: - Fixed install process for ijs. The previous hack didn't work when we passed - --libdir to configure. - - 02 Sep 2004; Danny van Dyk <kugelfang@gentoo.org> - ghostscript-7.07.1-r1.ebuild, ghostscript-7.07.1-r2.ebuild, - ghostscript-7.07.1-r3.ebuild, ghostscript-7.07.1-r4.ebuild, - ghostscript-7.07.1-r5.ebuild: - Made ghostscript $(get_libdir) aware. - - 18 Aug 2004; Aron Griffis <agriffis@gentoo.org> - ghostscript-7.07.1-r3.ebuild: - stable on alpha and ia64 - - 14 Aug 2004; Luca Barbato <lu_zero@gentoo.org> ghostscript-7.05.6.ebuild: - bzip2 invocation fix - -*ghostscript-7.07.1-r5 (11 Aug 2004) - - 11 Aug 2004; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.07.1-r5.ebuild: - apply fontconfig patch by default, move fonts to /usr/share/fonts/ghostscript - - 09 Aug 2004; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.07.1-r4.ebuild: - add pkgconfig dep - -*ghostscript-7.07.1-r4 (04 Aug 2004) - - 04 Aug 2004; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.07.1-r4.ebuild, files/gs7.07.1-fontconfig-rh.patch.bz2: - add fontconfig support, bug #40808 - - 26 Jul 2004; Tom Gall <tgall@gentoo.org> ghostscript-7.07.1-r3.ebuild: - stable on ppc64 - -*ghostscript-7.07.1-r3 (11 Jul 2004) - - 11 Jul 2004; Martin Schlemmer <azarah@gentoo.org> - +ghostscript-7.07.1-r3.ebuild: - Fix bogus prefix in ijs-config. - - 07 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> - ghostscript-7.05.6.ebuild: - fix use invocation - - 01 Jul 2004; Luca Barbato <lu_zero@gentoo.org> ghostscript-7.05.6.ebuild: - Minor changes - - 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> - ghostscript-7.05.6.ebuild, ghostscript-7.07.1-r1.ebuild, - ghostscript-7.07.1-r2.ebuild: - virtual/glibc -> virtual/libc - -*ghostscript-7.05.6 (30 Jun 2004) - - 30 Jun 2004; Luca Barbato <lu_zero@gentoo.org> +files/gs7.05-gdevhl12.c, - +ghostscript-7.05.6.ebuild, ghostscript-7.07.1-r1.ebuild, - ghostscript-7.07.1-r2.ebuild: - Put back the ghostscript-7.05.6 since the latter won't work on ppc - - 28 Jun 2004; Tom Gall <tgall@gentoo.org> ghostscript-7.07.1-r2.ebuild: - mark ~ppc64, bug #54151 - - 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> - ghostscript-7.07.1-r1.ebuild, ghostscript-7.07.1-r2.ebuild: - Fix use invocation - - 13 May 2004; Stephen P. Becker <geoman@gentoo.org> - ghostscript-7.07.1-r1.ebuild: - Stable on mips. - - 04 May 2004; Michael Sterrett <mr_bones_@gentoo.org> - ghostscript-7.07.1-r1.ebuild, ghostscript-7.07.1-r2.ebuild: - inherit flag-o-matic - - 28 Apr 2004; Travis Tilley <lv@gentoo.org> ghostscript-7.07.1-r1.ebuild, - ghostscript-7.07.1-r2.ebuild: - replace -O3 with -O2 if compiling with gcc 3.4 - - 28 Apr 2004; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.07.1-r2.ebuild: - add emacs useflag, bug #47854 - - 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> - ghostscript-7.07.1-r1.ebuild, ghostscript-7.07.1-r2.ebuild: - Add die following econf for bug 48950 - -*ghostscript-7.07.1-r2 (26 Apr 2004) - - 26 Apr 2004; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.07.1-r2.ebuild, files/gs7.07.1-krgb.patch.gz: - add krgb support from hpijs - - 07 Mar 2004; Bret Curtis <psi29a@gentoo.org> ghostscript-7.07.1-r1.ebuild: - Added ~mips to KEYWORDS - - 15 Jan 2004; Heinrich Wendel <lanius@gentoo.org> : - cleanups - -*ghostscript-7.07.1-r1 (09 Dec 2003) - - 09 Dec 2003; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.05.6-r4.ebuild, ghostscript-7.07.1-r1.ebuild, - ghostscript-7.07.1.ebuild: - virtual/ghostscript - stable - -*ghostscript-7.07.1 (08 Dec 2003) - - 08 Dec 2003; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.05.6-r2.ebuild, ghostscript-7.05.6-r3.ebuild, - ghostscript-7.05.6-r4.ebuild, ghostscript-7.07.1.ebuild: - fix for search path set to TMP_DIR - - 15 Nov 2003; Heinrich Wendel <lanius@gentoo.org> files/gs7.07.1-ijs.patch, - files/gs7.07.1-ps2epsi.patch: - version bump, also added new fonts release - -*ghostscript-7.05.6-r4 (13 Nov 2003) - - 13 Nov 2003; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.05.6-r4.ebuild, files/gs-7.05.6-gdevx.patch, - files/gs7.05.6-gdevpx.patch: - added gdevpx patch, thx to Larry Sanderson <larry@sanderson.net> bug #33139 - - 29 Jul 2003; lanius@gentoo.org ghostscript-7.05.6-r3.ebuild: - stable bump - - 29 Jul 2003; lanius@gentoo.org ghostscript-7.05.6-r3.ebuild, - files/ijs.patch: - added ijs patch to fix compiling on amd64/alpha - - 26 Jul 2003; Mamoru KOMACHI <usata@gentoo.org> ghostscript-7.05.6-r3.ebuild, - files/gs7.05.6-kochi-substitute.patch: - Fixed kochi-substitute rendering crash issue - - 16 Jul 2003; <lanius@gentoo.org> ghostscript-7.05.6-r3.ebuild: - fixed missing ${S} (#24595) - -*ghostscript-7.05.6-r3 (16 Jul 2003) - - 16 Jul 2003; Heinrich Wendel <lanius@gentoo.org> - ghostscript-7.05.6-r3.ebuild, files/gs7.05.6-random.patch: - fixed several bugs: - - #19937 (gimp-print dep) - - #22869 (gimp-print dep) - - #22904 (X dep) - - #19038 (X dep) - - #18731 (gimp-print dep) - - #17050 (gimp-print dep) - - #16007 (ijs-config) - - #14143 (X dep) - - #21627 (urandom patch) - - 27 Jun 2003; YAMAKURA Makoto <yakina@gentoo.org> ghostscript-7.05.5-r1.ebuild, - ghostscript-7.05.5-r2.ebuild, ghostscript-7.05.6-r1.ebuild, - ghostscript-7.05.6-r2.ebuild, ghostscript-7.05.6.ebuild: - kochi-fonts has licensing issue, so we use kochi-substitute instead. - -*ghostscript-7.05.6-r2 (14 Jun 2003) - - 03 Jul 2003; Guy Martin <gmsoft@gentoo.org> ghostscript-7.05.6-r2.ebuild : - Added hppa to KEYWORDS. - - 14 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> : - Security update. Added patch from Mandrake for ps2epsi vulnerability. - -*ghostscript-7.05.6-r1 (02 Jun 2003) - - 02 Jun 2003; Seemant Kulleen <seemant@gentoo.org> - ghostscript-7.05.5-r1.ebuild, ghostscript-7.05.5-r2.ebuild, - ghostscript-7.05.6-r1.ebuild, ghostscript-7.05.6.ebuild: - fonts moved from x11-misc to media-fonts - -*ghostscript-7.05.6 (05 Mar 2003) - - 03 Apr 2003; foser <foser@gentoo.org> ghostscript-7.06.6-r1.ebuild : - fix the cups use if clause to really work - - 03 Apr 2003; Thomas Raschbacher <lordvan@gentoo.org> ghostscript-7.06.6-r1.ebuild: - new revision so users upgrade (cuz of the man-page fix and cjk fix from nakano) - gimp-print(-cups) dep is now controlled by cups USE var - - 03 Apr 2003; Masatomo Nakano <nakano@gentoo.org> ghostscript-7.05.6.ebuild, - gs7.05.6-cjk.diff,ghostscript-7.05.6.man.patch: - - Added cjk support. - Fixed bug about a patch of man page. - Removed 'gnome' from IUSE because it isn't used. - - 09 Mar 2003; Aron Griffis <agriffis@gentoo.org> ghostscript-7.05.6.ebuild: - Mark stable on alpha - - 05 Mar 2003; Thomas Raschbacher <lordvan@gentoo.org>: new version - - -*ghostscript-7.05.5-r2 (28 Jan 2003) - 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords - - 23 Feb 2003; foser <foser@gentoo.org> ghostscript-7.05.5[-r1,-r2].ebuild : - Removed gnome USE flag (gimp-print) because of #15464 - gimp-print is technically not even a gnome thing - - 21 Feb 2003; Aron Griffis <agriffis@gentoo.org> ghostscript-7.05.5-r2.ebuild : - Mark stable on Alpha - - 28 Jan 2003; Thomas Raschbacher <lordvan@gentoo.org> ghostscript-7.05.5-r2.ebuild: - files/ghostscript-7.05.5.man.patch, patch for 'man gs' from - Dylan Carlson (absinthe@pobox.com) bug #14150 - -*ghostscript-7.05.5-r1 (13 Jan 2003) - - 13 Jan 2003; Jungmin Seo <seo@gentoo.org> ghostscript-7.05.5-r1.ebuild, - files/gs7.05-cjk.diff, digest-ghostscript-7.05.5-r1, ChangeLog : - Added a patch for cjk, tested with all three languages. - Thanks to matsuu@7501.net for the patch (see bug #13712) - -*ghostscript-7.05.5 (18 Sep 2002) - - 30 Oct 2002; Nick Hadaway <raker@gentoo.org> ghostscript-7.05.5.ebuild : - Added a patch for those having trouble with the detection of libpng. - See bugs #6760 and #9651... - - 07 Oct 2002; Nick Hadaway <raker@gentoo.org> ghostscript-7.05.5.ebuild : - Added gnome use variable for gimp-print plugin support. added gnome - to IUSE variables. - - 18 Sep 2002; Nick Hadaway <raker@gentoo.org> - ghostscript-7.05.5.ebuild, files/digest-ghostscript-7.05.5 : - Version bump. The 7.05.5 release fixes some problems in the configure - script, makes several drivers more portable, and updates several drivers - including the CUPS, Deskjet, and Lexmark drivers. IJS (hp inkjet) and - OMNI (IBM) support enabled. Installs gimp-print driver if X is - enabled in use variables. (Didn't want to create another use - variable and gimp-print is important to high quality printing) - Currently masked. Please test especially in a cups environment. - - 5 Okt 2002; Bart Verwilst <verwilst@gentoo.org> - - I don't want gnome-libs installed just to have ghostscript! - Changed the X dep to gnome, people with -gnome now aren't forced - anymore to install gnome :o) yay! :o) - -*ghostscript-7.05.3 (19 Jul 2002) - - 16 Aug 2002; Seemant Kulleen <seemant@gentoo.org> - ghostscript-7.05.3.ebuild : - - Fixed the emake to make, and general beautification. Fixes bug - #5931 by darkspe@katamail.com (Marco) - - 19 Jul 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog : - - removed unnecessary cups dep - -*ghostscript-7.05.3-r1 (12 Jul 2002) - - 15 Jul 2002; Owen Stampflee <owen@gentoo.org> : - - Added KEYWORDS. - - 12 Jul 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog : - - added HL-12XX support; thanks to Bardur Arantsson. Really, this time. - -*ghostscript-7.05.3 (10 Jul 2002) - - 10 Jul 2002; Daniel Robbins <drobbins@gentoo.org> Switched from GNU to ESP - Ghostscript since the latter contains much better printer device support. - -*ghostscript-7.05-r2 (03 Jul 2002) - - 03 Jul 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog : Added HL-1250 - driver. Thanks to Bardur Arantsson - -*ghostscript-7.0.5-r1 (28 Jun 2002) - - 28 Jun 2002; Grant Goodyear <g2boojum@gentoo.org> : added cups pstoraster - support - -*ghostscript-7.05 (26 May 2002 - - 26 May 2002; Bart Verwilst: Upgraded to 7.05, added lexmark 3200 driver.. - Closes bugs #2614 and #2698 - -*ghostscript-6.53-r2 (28 Apr 2002) - - 28 Apr 2002; Jon Nelson <jnelson@gentoo.org>: ghostscript-6.53-r2.ebuild - Remove dependency on downloading zlib and png - use shared versions! (Can't - do that for libjpeg - see ghostscript docs) Update to gimp-print 4.2.1; Use - shared zlib and libpng; Patch ghostscript with a few additional patches; - Closes #2010 - -*ghostscript-6.53 (04 Apr 2002) - - 04 Apr 2002 Spider <spider@gentoo.org> fix the static reference to - /var/tmp/portage in the patch. - -*ghostscript-6.53 (7 Mar 2002) - - 7 Mar 2002; G.Bevin <gbevin@gentoo.org>: Upgraded to GNU ghostscript version - 6.53. Upgrade libpng to v1.2.1. Upgraded gimp-print to v4.2.0. Added - support for Samsung GDI device output which is used by low-budget Lexmark - laser printers. The HP IJS is now included in the standard Ghostscript - distrubution, no need to patch anymore. - -*ghostscript-6.50-r4 (4 Feb 2002) - - 4 Feb 2002; Steve Flack <steve_flack@ntlworld.com>: Submitted a new ebuild - with patches to support HP-developed HPIJS drivers. diff --git a/app-text/ghostscript/Manifest b/app-text/ghostscript/Manifest deleted file mode 100644 index 09ff7e1b99fd..000000000000 --- a/app-text/ghostscript/Manifest +++ /dev/null @@ -1,44 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 5900b3358f937766aa7b4f4b8a2cdf54 ChangeLog 17916 -MD5 db00eb9aaf23133f903513fea669954f files/digest-ghostscript-7.07.1-r10 212 -MD5 b7ca313a24a8adf4c527c0a097354f60 files/digest-ghostscript-7.07.1-r7 212 -MD5 b7ca313a24a8adf4c527c0a097354f60 files/digest-ghostscript-7.07.1-r8 212 -MD5 fd34b2b7a029f19eab4ba3f69afe295e files/ghostscript-7.05.6.man.patch 1231 -MD5 f834d056ca972c457a2ff3b1e839e562 files/ghostscript-7.07-bigposttable.patch 1257 -MD5 55146a1eafc4ad3a26d99121ae0777fe files/ghostscript-7.07-coverage-glyphcount.patch 3100 -MD5 c73ad916d49df447de59358ffdc495eb files/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch 6462 -MD5 e0da7576378dc87fa53a16dfd1774789 files/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch 1611 -MD5 b37c0dc9f85205da6e8675d4a8bfd21a files/ghostscript-7.07-gsublookuptable.patch 3808 -MD5 5b476654e84a9748e3d56d86f264b277 files/ghostscript-7.07.1-64bit-cmyk.patch 1777 -MD5 8c6a3d7e8897b4297ef853dbd89e408b files/gs-fix-gc.patch 5627 -MD5 186fc94fd3208e808026580e7436dbdc files/gs-osx-ijs.patch 1566 -MD5 212a5ece7d789ef9d04e15fd7d36eea3 files/gs-osx-unix-dll.patch 1930 -MD5 291c8895063b8ecee12b68d45a705ab4 files/gs7.05-gdevhl12.c.bz2 7406 -MD5 343b6a60e15e35d0c5f825b4f361fd29 files/gs7.05.6-cjk.diff.bz2 3287 -MD5 68fa21d11a860c222c8ba89c39ce578e files/gs7.05.6-gdevpx.patch 402 -MD5 5f1b04ca58928a339b749703e067e2ba files/gs7.05.6-kochi-substitute.patch 3774 -MD5 d3f26c93b9fb75b509c375cbf841da9a files/gs7.05.6-tempfile.patch 2763 -MD5 16ff6a37a0a334e97f712d8ed530ec6c files/gs7.07.1-cjk.diff 7264 -MD5 06fe485954243190f4f0f4d8e1542f92 files/gs7.07.1-cjk.diff.bz2 3055 -MD5 51736590c7ec64f9029fa9524e1ab50c files/gs7.07.1-destdir.patch 12261 -MD5 0cb94835c5d49c5eeeba6e11b2cd65ed files/gs7.07.1-fontconfig-rh.patch.2.bz2 6113 -MD5 3d1cdf07dabc4a05bde9a2dc6f7da2de files/gs7.07.1-fontconfig-rh.patch.bz2 6121 -MD5 ac6af6bf67095500ea043aea27062d62 files/gs7.07.1-ijs.patch 401 -MD5 370d4bcd16d8acd03190ba84e2f61a41 files/gs7.07.1-ijsdestdir.patch 1418 -MD5 acda8ddfde1efeaf451cb28a67dcc773 files/gs7.07.1-krgb.patch.gz 5569 -MD5 92fa24960f2c7802749ce6908aeaf60d files/gs7.07.1-nogtk2.patch 1419 -MD5 b2ca914ffcff3e5296d6b5acc7fac182 files/gs7.07.1-ps2ps.patch 244 -MD5 1d5618d793799f7247d624ced0dea493 files/gs7.07.1-tempfile.patch 3123 -MD5 d39f08cfb1ff44b9a2c49d17864aa245 ghostscript-7.07.1-r10.ebuild 6160 -MD5 e5c681abcdd4309829734a5f91ab007b ghostscript-7.07.1-r7.ebuild 4288 -MD5 9c3639930b7899c710b169806fc54ef1 ghostscript-7.07.1-r8.ebuild 5491 -MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDs1TH2+ySkm8kpY0RArRQAKCLCDF3GCV0JwOb6Z1kVRN0KGyFbACeIYBo -VMwdspkM0RuNaLtghotgjuw= -=c4kQ ------END PGP SIGNATURE----- diff --git a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r10 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r10 deleted file mode 100644 index 65b5bad2acb0..000000000000 --- a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r10 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653 -MD5 a3bf430a7e21cd82401258a2ec3b8afb adobe-cmaps-200204.tar.gz 4360486 -MD5 d30bf5c09f2c7caa8291f6305cf03044 espgs-7.07.1-source.tar.bz2 5400198 diff --git a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r7 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r7 deleted file mode 100644 index 86d2854e2bfc..000000000000 --- a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r7 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d30bf5c09f2c7caa8291f6305cf03044 espgs-7.07.1-source.tar.bz2 5400198 -MD5 a3bf430a7e21cd82401258a2ec3b8afb adobe-cmaps-200204.tar.gz 4360486 -MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653 diff --git a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r8 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r8 deleted file mode 100644 index 86d2854e2bfc..000000000000 --- a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r8 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d30bf5c09f2c7caa8291f6305cf03044 espgs-7.07.1-source.tar.bz2 5400198 -MD5 a3bf430a7e21cd82401258a2ec3b8afb adobe-cmaps-200204.tar.gz 4360486 -MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653 diff --git a/app-text/ghostscript/files/ghostscript-7.05.6.man.patch b/app-text/ghostscript/files/ghostscript-7.05.6.man.patch deleted file mode 100644 index 285e871acdae..000000000000 --- a/app-text/ghostscript/files/ghostscript-7.05.6.man.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- espgs-7.05.5/man/gs.1 2002-04-23 07:58:37.000000000 -0400 -+++ espgs-7.05.5/man/gs.1.new 2003-01-18 14:22:46.000000000 -0500 -@@ -257,7 +257,7 @@ - the directories specified by the \fBGS_LIB_DEFAULT\fR macro in the - Ghostscript makefile when the executable was built. When \fBgs\fR is built - on Unix, \fBGS_LIB_DEFAULT\fR is usually --"/usr/local/share/ghostscript/#.##:/usr/local/share/ghostscript/fonts" -+"/usr/share/ghostscript/#.##:/usr/share/ghostscript/fonts" - where "#.##" represents the Ghostscript version number. - .PP - Each of these (\fBGS_LIB_DEFAULT\fR, \fBGS_LIB\fR, and \fB\-I\fR parameter) -@@ -432,16 +432,16 @@ - location of Ghostscript documentation on your system, from which you can - get more details. - .TP --.B /usr/local/share/ghostscript/#.##/* -+.B /usr/share/ghostscript/#.##/* - Startup files, utilities, and basic font definitions - .TP --.B /usr/local/share/ghostscript/fonts/* -+.B /usr/share/ghostscript/#.##/fonts/* - More font definitions - .TP --.B /usr/local/share/ghostscript/#.##/examples/* -+.B /usr/share/ghostscript-#.##/examples/* - Ghostscript demonstration files - .TP --.B /usr/local/share/ghostscript/#.##/doc/* -+.B /usr/share/doc/ghostscript-#.##/html/* - Diverse document files - .SH ENVIRONMENT - .TP diff --git a/app-text/ghostscript/files/ghostscript-7.07-bigposttable.patch b/app-text/ghostscript/files/ghostscript-7.07-bigposttable.patch deleted file mode 100644 index bfd670abf4c4..000000000000 --- a/app-text/ghostscript/files/ghostscript-7.07-bigposttable.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -ruN ghostscript-7.07.orig/lib/gs_ttf.ps ghostscript-7.07/lib/gs_ttf.ps ---- ghostscript-7.07.orig/lib/gs_ttf.ps 2003-04-12 23:02:38.000000000 +0900 -+++ ghostscript-7.07/lib/gs_ttf.ps 2003-07-24 19:00:37.000000000 +0900 -@@ -575,7 +575,7 @@ - (maxp) 1 index - (name) 1 index - (OS/2) 1 index -- (post) 1 index -+ (post) { .readbigtable } - (vhea) 1 index - % Big tables - (glyf) { .readbigtable } -@@ -918,10 +918,17 @@ - DEBUG { (fontname ) print fontname = } if - % Stack: ... /FontInfo mark key1 value1 ... - post null ne { -- /ItalicAngle post 4 gets32 65536.0 div -- /isFixedPitch post 12 getu32 0 ne -- /UnderlinePosition post 8 gets16 upem div -- /UnderlineThickness post 10 gets16 upem div -+ post type /arraytype eq { -+ % this post table is a big table. /post should be [(...) ...] -+ % data we actually need here should be first one in array. -+ /posttable post 1 get def -+ } { -+ /posttable post def -+ } ifelse -+ /ItalicAngle posttable 4 gets32 65536.0 div -+ /isFixedPitch posttable 12 getu32 0 ne -+ /UnderlinePosition posttable 8 gets16 upem div -+ /UnderlineThickness posttable 10 gets16 upem div - } if - counttomark 0 ne { .dicttomark } { pop pop } ifelse - /XUID [orgXUID 42 curxuid] diff --git a/app-text/ghostscript/files/ghostscript-7.07-coverage-glyphcount.patch b/app-text/ghostscript/files/ghostscript-7.07-coverage-glyphcount.patch deleted file mode 100644 index 4c976b467380..000000000000 --- a/app-text/ghostscript/files/ghostscript-7.07-coverage-glyphcount.patch +++ /dev/null @@ -1,84 +0,0 @@ -diff -ruN ghostscript-7.07.orig/lib/gs_ttf.ps ghostscript-7.07/lib/gs_ttf.ps ---- ghostscript-7.07.orig/lib/gs_ttf.ps 2003-08-04 15:23:15.000000000 +0900 -+++ ghostscript-7.07/lib/gs_ttf.ps 2003-08-04 15:22:23.000000000 +0900 -@@ -1104,9 +1104,26 @@ - % 4 2 Offset Coverage(--) - % 6 2 uint16 GlyphCount - % 8 2 GlyphID Substitute(vertically oriented glyphs) --% -- 2 uint16 SubstFormat --% +2 2 uint16 GlyphCount(same as above GlyphCount) --% +4 2 GlyphID GlyphArray(horizontally oriented glyphs) -+% -+% [Coverage Format 1, Individual glyph indices] -+% Index Size Type Name of Entry -+% ----------------------------------- -+% 0 2 uint16 CoverageFormat (Format identifier-format = 1) -+% 2 2 uint16 GlyphCount (same as above GlyphCount) -+% 4 2 GlyphID GlyphArray (horizontally oriented glyphs) -+% -+% [Coverage Format 2, Range of glyphs -+% Index Size Type Name of Entry -+% ----------------------------------- -+% 0 2 uint16 CoverageFormat (Format identifier-format = 2) -+% 2 2 uint16 RangeCount -+% 4 2 struct RangeRecord[RangeCount] -+% [RangeRecord] -+% Index Size Type Name of Entry -+% ----------------------------------- -+% 0 2 GlyphID First GlyphID in the range -+% 2 2 GlyphID Last GlyphID in the range -+% 4 2 uint16 Coverage Index of first GlpyhID in range - % ----------------------------------- - % References - % 1. http://www.microsoft.com/typography/OTSPEC/gsub.htm -@@ -1161,10 +1178,13 @@ - %dup /gsubvog exch gsubost 6 add gsubglc getinterval def - %dup /gsubhog exch gsubost gsubocv add 4 add gsubglc getinterval def - dup /gsubvog exch gsubost 6 add gsubglc 2 mul getinterval def -- dup /gsubhog exch gsubost gsubocv add 4 add gsubglc 2 mul getinterval def -+ dup /cvfmt exch gsubost gsubocv add 0 add getu16 def -+ dup /cvglc exch gsubost gsubocv add 2 add getu16 def -+ dup /gsubhog exch gsubost gsubocv add 4 add cvglc 2 mul getinterval def - DEBUG { - (gsubocv: ) print gsubocv = - (gsubglc: ) print gsubglc = -+ (cvfmt: ) print cvfmt = - - (gsubhog->gsubvog ) = - 0 2 gsubhog length 2 sub { % for -@@ -1174,10 +1194,31 @@ - gsubvog exch getu16 = - } for - } if -- /gsubh2v << 0 2 gsubhog length 2 sub { -- dup gsubhog exch getu16 -- exch gsubvog exch getu16 -- } for >> def -+ cvfmt 1 eq { -+ /gsubh2v << 0 2 gsubhog length 2 sub { -+ dup gsubhog exch getu16 -+ exch gsubvog exch getu16 -+ } for >> def -+ } { -+ cvfmt 2 eq { -+ /gsubh2v << 0 6 gsubhog length 6 sub { -+ dup 0 add /fgid exch gsubhog exch getu16 def -+ dup 2 add /lgid exch gsubhog exch getu16 def -+ 4 add /cvidx exch gsubhog exch getu16 def -+ DEBUG { -+ (fgid: ) print fgid = -+ (lgid: ) print lgid = -+ (cvidx: ) print cvidx = -+ } if -+ fgid 1 lgid { -+ dup cvidx add fgid sub -+ exch gsubvog exch getu16 -+ } for -+ } for >> def -+ } { -+ %(UNKNWON COVERAGE FORMAT.) = flush -+ } ifelse -+ } ifelse - } { - %(UNKNOWN GSUB FORMAT.) = flush - } ifelse diff --git a/app-text/ghostscript/files/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch b/app-text/ghostscript/files/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch deleted file mode 100644 index a5e0771fe00a..000000000000 --- a/app-text/ghostscript/files/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch +++ /dev/null @@ -1,194 +0,0 @@ ---- ./src/gdevpdff.h.org 2003-01-17 09:49:02.000000000 +0900 -+++ ./src/gdevpdff.h 2003-09-18 23:42:38.000000000 +0900 -@@ -117,6 +117,12 @@ - FONT_SUBSET_NO - } pdf_font_do_subset_t; - -+typedef enum { -+ FONT_EMBED_STANDARD, /* 14 standard fonts */ -+ FONT_EMBED_NO, -+ FONT_EMBED_YES -+} pdf_font_embed_t; -+ - struct pdf_font_descriptor_s { - pdf_resource_common(pdf_font_descriptor_t); - pdf_font_name_t FontName; -@@ -198,6 +204,7 @@ - gs_font *font; /* non-0 iff font will notify us; */ - /* should be a weak pointer */ - int index; /* in pdf_standard_fonts, -1 if not base 14 */ -+ pdf_font_embed_t embed; /* status of pdf_font_embed_status() */ - gs_matrix orig_matrix; /* FontMatrix of unscaled font for embedding */ - bool is_MM_instance; /* for Type 1/2 fonts, true iff the font */ - /* is a Multiple Master instance */ -@@ -320,12 +327,6 @@ - - /* ---------------- Exported by gdevpdff.c ---------------- */ - --typedef enum { -- FONT_EMBED_STANDARD, /* 14 standard fonts */ -- FONT_EMBED_NO, -- FONT_EMBED_YES --} pdf_font_embed_t; -- - typedef struct pdf_standard_font_s { - const char *fname; - gs_encoding_index_t base_encoding; ---- ./src/gdevpdff.c.org 2003-01-17 09:49:02.000000000 +0900 -+++ ./src/gdevpdff.c 2003-09-21 05:08:36.000000000 +0900 -@@ -276,6 +276,11 @@ - const byte *chars = font->font_name.chars; - uint size = font->font_name.size; - -+ /* CIDFonts has null string in font_name, key_name is used */ -+ if (0 == size) { -+ chars = font->key_name.chars; -+ size = font->key_name.size; -+ } - /* - * The behavior of Acrobat Distiller changed between 3.0 (PDF 1.2), - * which will never embed the base 14 fonts, and 4.0 (PDF 1.3), which -@@ -720,19 +725,22 @@ - same &= ~FONT_SAME_METRICS; - break; - case FONT_EMBED_NO: -- /* -- * Per the PDF 1.3 documentation, there are only 3 BaseEncoding -- * values allowed for non-embedded fonts. Pick one here. -- */ -- BaseEncoding = -- ((const gs_font_base *)base_font)->nearest_encoding_index; -- switch (BaseEncoding) { -- default: -- BaseEncoding = ENCODING_INDEX_WINANSI; -- case ENCODING_INDEX_WINANSI: -- case ENCODING_INDEX_MACROMAN: -- case ENCODING_INDEX_MACEXPERT: -- break; -+ if (!(font->FontType == ft_CID_encrypted || -+ font->FontType == ft_CID_TrueType)) { -+ /* -+ * Per the PDF 1.3 documentation, there are only 3 BaseEncoding -+ * values allowed for non-embedded fonts. Pick one here. -+ */ -+ BaseEncoding = -+ ((const gs_font_base *)base_font)->nearest_encoding_index; -+ switch (BaseEncoding) { -+ default: -+ BaseEncoding = ENCODING_INDEX_WINANSI; -+ case ENCODING_INDEX_WINANSI: -+ case ENCODING_INDEX_MACROMAN: -+ case ENCODING_INDEX_MACEXPERT: -+ break; -+ } - } - code = pdf_compute_font_descriptor(pdev, &fdesc, font, NULL); - if (code < 0) -@@ -888,6 +896,7 @@ - memcpy(ppf->widths_known, ftemp_widths_known, - sizeof(ftemp_widths_known)); - } -+ ppf->embed = embed; - code = pdf_register_font(pdev, font, ppf); - - *pppf = ppf; ---- ./src/gdevpdfw.c.org 2003-01-17 09:49:02.000000000 +0900 -+++ ./src/gdevpdfw.c 2003-09-25 17:50:54.000000000 +0900 -@@ -348,18 +348,19 @@ - /* Use the most common width as DW. */ - - { -- ushort counts[1001]; -+ ushort counts[1500*2]; /* histogram of (-1500..1500) */ - int dw_count = 0, i; - - memset(counts, 0, sizeof(counts)); - while (!psf_enumerate_glyphs_next(&genum, &glyph)) { -- int width = ppf->Widths[glyph - gs_min_cid_glyph]; -+ int cid = glyph - gs_min_cid_glyph; -+ int width = ppf->Widths[cid]; - -- counts[min(width, countof(counts) - 1)]++; -+ counts[max(0,min(width+countof(counts)/2,countof(counts)-1))]++; - } -- for (i = 0; i < countof(counts); ++i) -+ for (i = 0; i < countof(counts); i++) - if (counts[i] > dw_count) -- dw = i, dw_count = counts[i]; -+ dw = i - countof(counts)/2, dw_count = counts[i]; - if (dw != 0) - pprintd1(s, "/DW %d\n", dw); - } -@@ -496,14 +497,16 @@ - if (pdf_has_subset_prefix(chars, size)) - chars += SUBSET_PREFIX_SIZE, size -= SUBSET_PREFIX_SIZE; - pdf_put_name(pdev, chars, size); -- if (pef->sub_font_type == ft_CID_encrypted && -+ if ((pef->sub_font_type == ft_CID_encrypted || -+ pef->sub_font_type == ft_CID_TrueType) && - pef->cmapname[0] == '/' - ) { - stream_putc(s, '-'); - pdf_put_name_chars(pdev, (const byte*) (pef->cmapname + 1), - strlen(pef->cmapname + 1)); - } -- pprints1(s, "/Encoding %s", pef->cmapname); -+ pprints1(s, (pef->cmapname[0] == '/') ? "/Encoding%s" : "/Encoding %s", -+ pef->cmapname); - pprintld1(s, "/DescendantFonts[%ld 0 R]", - pdf_resource_id((const pdf_resource_t *)pef->DescendantFont)); - write_Widths = 0; -@@ -563,8 +566,10 @@ - break; - case -1: - pdf_write_CIDFont_widths(pdev, pef); -- if (pef->FontType == ft_CID_TrueType) -- pdf_write_CIDToGIDMap(pdev, pef, &cidmap_id); -+ if (pef->FontType == ft_CID_TrueType) { -+ if (pef->embed != FONT_EMBED_NO) -+ pdf_write_CIDToGIDMap(pdev, pef, &cidmap_id); -+ } - break; - } - if (pef->Differences) { ---- ./src/gdevpdfs.c.org 2003-09-20 00:11:16.000000000 +0900 -+++ ./src/gdevpdfs.c 2003-09-25 17:44:10.000000000 +0900 -@@ -481,15 +481,21 @@ - - if (cid < pfd->chars_count) { - int index = cid >> 3, mask = 0x80 >> (cid & 7); -+ int gid; -+ -+ if (!(pfd->chars_used.data[index] & mask) || -+ !(psubf->widths_known[index] & mask)) { - -- if (!(pfd->chars_used.data[index] & mask)) { -- pfd->chars_used.data[index] |= mask; - if (psubf->CIDToGIDMap) { - gs_font_cid2 *const subfont2 = - (gs_font_cid2 *)subfont; -- int gid = -- subfont2->cidata.CIDMap_proc(subfont2, glyph); - -+ gid = subfont2->cidata.CIDMap_proc(subfont2, glyph); -+ } -+ } -+ if (!(pfd->chars_used.data[index] & mask)) { -+ pfd->chars_used.data[index] |= mask; -+ if (psubf->CIDToGIDMap) { - if (gid >= 0) { - psubf->CIDToGIDMap[cid] = gid; - mark_glyphs_used(subfont, gid + gs_min_cid_glyph, -@@ -500,7 +506,11 @@ - if (!(psubf->widths_known[index] & mask)) { - int width; - -- code = pdf_glyph_width(psubf, glyph, subfont, &width); -+ if (psubf->CIDToGIDMap) -+ code = pdf_glyph_width(psubf, gid + gs_min_cid_glyph, -+ subfont, &width); -+ else -+ code = pdf_glyph_width(psubf, glyph, subfont, &width); - if (code == 0) { - psubf->Widths[cid] = width; - psubf->widths_known[index] |= mask; diff --git a/app-text/ghostscript/files/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch b/app-text/ghostscript/files/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch deleted file mode 100644 index 17f8a3da7c19..000000000000 --- a/app-text/ghostscript/files/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- ./lib/gs_cidfn.ps.org 2003-04-12 23:02:38.000000000 +0900 -+++ ./lib/gs_cidfn.ps 2003-09-03 07:28:28.000000000 +0900 -@@ -511,9 +511,32 @@ - - .loadinitialcidfonts - -+% <fontname> <font> .RenameFontForNeverEmbed <fontname> <font'> -+/.RenameFontForNeverEmbed { -+ /DEVICE where { pop DEVICE (pdfwrite) eq { -+ currentdistillerparams /NeverEmbed get { -+ 2 index eq { -+ (*** unembeddable CIDFont: ) print 1 index == flush -+ dup length 1 add dict copy -+ dup /FID undef -+ dup /.orig_CIDFontName 1 index /CIDFontName get put -+ dup /CIDFontName 3 index dup type /stringtype eq { -+ dup rcheck { -+ dup length string 0 1 2 index length 1 sub { -+ 2 index 1 index get 3 copy put pop pop -+ } for exch pop -+ } if -+ } if put -+ dup /FontName 1 index /CIDFontName get put -+ } if -+ } forall -+ } if } if -+} bind def -+ - /CIDFontmapHandler << - /nametype { - /CIDFont findresource -+ .RenameFontForNeverEmbed - /CIDFont defineresource pop - } bind - /stringtype { -@@ -528,6 +551,7 @@ - pop pop - } { - % Give a name different from the name defined in the file -+ .RenameFontForNeverEmbed - /CIDFont defineresource pop - } ifelse - } { -@@ -546,6 +570,7 @@ - 3 -1 roll put - % Expand array - aload pop .loadcjkvttcidfont -+ .RenameFontForNeverEmbed - /CIDFont defineresource pop - } { - /undefinedresource signalerror diff --git a/app-text/ghostscript/files/ghostscript-7.07-gsublookuptable.patch b/app-text/ghostscript/files/ghostscript-7.07-gsublookuptable.patch deleted file mode 100644 index 424441b03928..000000000000 --- a/app-text/ghostscript/files/ghostscript-7.07-gsublookuptable.patch +++ /dev/null @@ -1,114 +0,0 @@ -diff -ruN ghostscript-7.07.orig/lib/gs_ttf.ps ghostscript-7.07/lib/gs_ttf.ps ---- ghostscript-7.07.orig/lib/gs_ttf.ps 2003-07-29 16:51:55.000000000 +0900 -+++ ghostscript-7.07/lib/gs_ttf.ps 2003-07-29 17:44:43.000000000 +0900 -@@ -1117,50 +1117,77 @@ - /gsubh2v null def - tabdict /GSUB .knownget { % if - dup /gsubver exch 0 getu32 def -- %dup /gsubosl exch 4 getu16 12 add def -- %dup /gsubofl exch 6 getu16 12 add def -- dup /gsuboll exch 8 getu16 12 add def -+ %dup /gsubosl exch 4 getu16 def -+ %dup /gsubofl exch 6 getu16 def -+ dup /gsuboll exch 8 getu16 def - DEBUG { - (gsubver: ) print gsubver = - %(gsubosl: ) print gsubosl = - %(gsubofl: ) print gsubofl = - (gsuboll: ) print gsuboll = - } if -- dup /gsubfmt exch gsuboll 0 add getu16 def -+ % /gsuboll should be pointed out the LookupList table, but not Lookup table. -+ % so this is wrong: -+ % dup /gsubfmt exch gsuboll 0 add getu16 def -+ dup /gsublc exch gsuboll 0 add getu16 def - DEBUG { -- (gsubfmt: ) print gsubfmt = -+ (gsublc: ) print gsublc = - } if --% gsubver 16#00010000 eq { % ifelse -- gsubfmt 2 eq { % ifelse -- dup /gsubocv exch gsuboll 2 add getu16 def -- dup /gsubglc exch gsuboll 4 add getu16 def -- % hacked by suzuki toshiya at 2001/3/6 -- %dup /gsubvog exch gsuboll 6 add gsubglc getinterval def -- %dup /gsubhog exch gsuboll gsubocv add 4 add gsubglc getinterval def -- dup /gsubvog exch gsuboll 6 add gsubglc 2 mul getinterval def -- dup /gsubhog exch gsuboll gsubocv add 4 add gsubglc 2 mul getinterval def -+ gsublc 0 ne { -+ 0 1 gsublc 1 sub { -+ 2 mul /gsubolt exch 2 index exch gsuboll 2 add add getu16 gsuboll add def -+ dup /gsubltype exch gsubolt 0 add getu16 def -+ dup /gsublflag exch gsubolt 2 add getu16 def -+ dup /gsubsubc exch gsubolt 4 add getu16 def - DEBUG { -- (gsubocv: ) print gsubocv = -- (gsubglc: ) print gsubglc = -- -- (gsubhog->gsubvog ) = -- 0 2 gsubhog length 2 sub { % for -- dup -- gsubhog exch getu16 =only -- (->) =only -- gsubvog exch getu16 = -+ (gsubolt: ) print gsubolt = -+ (gsubltype: ) print gsubltype = -+ (gsublflag: ) print gsublflag = -+ (gsubsubc: ) print gsubsubc = -+ } if -+ gsubsubc 0 ne { -+ 0 1 gsubsubc 1 sub { -+ 2 mul /gsubost exch 2 index exch gsubolt 6 add add getu16 gsubolt add def -+ dup /substfmt exch gsubost 0 add getu16 def -+ DEBUG { -+ (gsubost: ) print gsubost = -+ (substfmt: ) print substfmt = -+ } if -+% gsubver 16#00010000 eq { % ifelse -+ gsubltype 1 eq substfmt 2 eq and { % ifelse -+ dup /gsubocv exch gsubost 2 add getu16 def -+ dup /gsubglc exch gsubost 4 add getu16 def -+ % hacked by suzuki toshiya at 2001/3/6 -+ %dup /gsubvog exch gsubost 6 add gsubglc getinterval def -+ %dup /gsubhog exch gsubost gsubocv add 4 add gsubglc getinterval def -+ dup /gsubvog exch gsubost 6 add gsubglc 2 mul getinterval def -+ dup /gsubhog exch gsubost gsubocv add 4 add gsubglc 2 mul getinterval def -+ DEBUG { -+ (gsubocv: ) print gsubocv = -+ (gsubglc: ) print gsubglc = -+ -+ (gsubhog->gsubvog ) = -+ 0 2 gsubhog length 2 sub { % for -+ dup -+ gsubhog exch getu16 =only -+ (->) =only -+ gsubvog exch getu16 = -+ } for -+ } if -+ /gsubh2v << 0 2 gsubhog length 2 sub { -+ dup gsubhog exch getu16 -+ exch gsubvog exch getu16 -+ } for >> def -+ } { -+ %(UNKNOWN GSUB FORMAT.) = flush -+ } ifelse -+% } { -+% (ILLEGAL GSUB VERSION.) = flush -+% } ifelse - } for - } if -- /gsubh2v << 0 2 gsubhog length 2 sub { -- dup gsubhog exch getu16 -- exch gsubvog exch getu16 -- } for >> def -- } { -- %(UNKNOWN GSUB FORMAT.) = flush -- } ifelse --% } { --% (ILLEGAL GSUB VERSION.) = flush --% } ifelse -+ } for -+ } if - pop - } if - } bind def diff --git a/app-text/ghostscript/files/ghostscript-7.07.1-64bit-cmyk.patch b/app-text/ghostscript/files/ghostscript-7.07.1-64bit-cmyk.patch deleted file mode 100644 index ac14b91bba83..000000000000 --- a/app-text/ghostscript/files/ghostscript-7.07.1-64bit-cmyk.patch +++ /dev/null @@ -1,48 +0,0 @@ -Index: gs/src/gdevbmp.c -=================================================================== -RCS file: /cvs/ghostscript/gs/src/gdevbmp.c,v -retrieving revision 1.10 -diff -b -u -r1.10 gdevbmp.c ---- gs/src/gdevbmp.c 20 Sep 2004 22:14:59 -0000 1.10 -+++ gs/src/gdevbmp.c 2 Aug 2005 12:02:44 -0000 -@@ -147,6 +147,7 @@ - - if (row == 0) /* can't allocate row buffer */ - return_error(gs_error_VMerror); -+ memset(row+raster, 0, bmp_raster - raster); /* clear the padding bytes */
- - /* Write the file header. */ - -@@ -174,7 +175,7 @@ - bmp_cmyk_print_page(gx_device_printer * pdev, FILE * file) - { - int plane_depth = pdev->color_info.depth / 4; -- uint raster = bitmap_raster(pdev->width * plane_depth); -+ uint raster = (pdev->width * plane_depth + 7) >> 3; - /* BMP scan lines are padded to 32 bits. */ - uint bmp_raster = raster + (-(int)raster & 3); - byte *row = gs_alloc_bytes(pdev->memory, bmp_raster, "bmp file buffer"); -@@ -184,6 +185,7 @@ - - if (row == 0) /* can't allocate row buffer */ - return_error(gs_error_VMerror); -+ memset(row+raster, 0, bmp_raster - raster); /* clear the padding bytes */ - - for (plane = 0; plane <= 3; ++plane) { - gx_render_plane_t render_plane; -Index: gs/src/gdevbmpc.c -=================================================================== -RCS file: /cvs/ghostscript/gs/src/gdevbmpc.c,v -retrieving revision 1.7 -diff -b -u -r1.7 gdevbmpc.c ---- gs/src/gdevbmpc.c 17 Oct 2002 06:09:33 -0000 1.7 -+++ gs/src/gdevbmpc.c 2 Aug 2005 12:02:44 -0000 -@@ -207,7 +207,7 @@ - } - return write_bmp_depth_header(pdev, file, plane_depth, - (const byte *)palette, -- bitmap_raster(pdev->width * plane_depth)); -+ (pdev->width*plane_depth + 7) >> 3); - } - - /* 24-bit color mappers (taken from gdevmem2.c). */ diff --git a/app-text/ghostscript/files/gs-fix-gc.patch b/app-text/ghostscript/files/gs-fix-gc.patch deleted file mode 100644 index 953b21a86fa1..000000000000 --- a/app-text/ghostscript/files/gs-fix-gc.patch +++ /dev/null @@ -1,145 +0,0 @@ -Index: gs/src/gxalloc.h -=================================================================== -RCS file: /cvs/ghostscript/gs/src/gxalloc.h,v -retrieving revision 1.11 -diff -b -u -r1.11 gxalloc.h ---- gs/src/gxalloc.h 4 Aug 2004 19:36:12 -0000 1.11 -+++ gs/src/gxalloc.h 14 Sep 2004 21:44:37 -0000 -@@ -143,7 +143,7 @@ - byte *cbot; /* bottom of free area */ - /* (top of aligned objects) */ - obj_header_t *rcur; /* current refs object, 0 if none */ -- byte *rtop; /* top of rcur */ -+ byte *rtop; /* top of rcur, not aligned to obj_align_mod */ - byte *ctop; /* top of free area */ - /* (bottom of strings) */ - byte *climit; /* top of strings */ -Index: gs/src/gxobj.h -=================================================================== -RCS file: /cvs/ghostscript/gs/src/gxobj.h,v -retrieving revision 1.6 -diff -b -u -r1.6 gxobj.h ---- gs/src/gxobj.h 21 Feb 2002 22:24:53 -0000 1.6 -+++ gs/src/gxobj.h 14 Sep 2004 21:44:37 -0000 -@@ -110,20 +110,22 @@ - /* The only possible values for obj_align_mod are 4, 8, or 16.... */ - #if obj_align_mod == 4 - # define log2_obj_align_mod 2 --#else --#if obj_align_mod == 8 -+#elif obj_align_mod == 8 - # define log2_obj_align_mod 3 --#else --#if obj_align_mod == 16 -+#elif obj_align_mod == 16 - # define log2_obj_align_mod 4 --#endif --#endif -+#elif obj_align_mod == 32 /* for testing, not seen yet in the wild */ -+# define log2_obj_align_mod 5 -+#else -+# error Unexpected value of obj_align_mod - #endif - #define obj_align_mask (obj_align_mod-1) - #define obj_align_round(siz)\ - (uint)(((siz) + obj_align_mask) & -obj_align_mod) - #define obj_size_round(siz)\ - obj_align_round((siz) + sizeof(obj_header_t)) -+#define ptr_align_round(p)\ -+ ((byte *)obj_align_round((size_t)(p))) - - /* Define the real object header type, taking alignment into account. */ - struct obj_header_s { /* must be a struct because of forward reference */ -Index: gs/src/ialloc.c -=================================================================== -RCS file: /cvs/ghostscript/gs/src/ialloc.c,v -retrieving revision 1.7 -diff -b -u -r1.7 ialloc.c ---- gs/src/ialloc.c 4 Aug 2004 19:36:12 -0000 1.7 -+++ gs/src/ialloc.c 14 Sep 2004 21:44:37 -0000 -@@ -157,8 +157,8 @@ - - /* If we're allocating a run of refs already, */ - /* and we aren't about to overflow the maximum run length, use it. */ -- if (mem->cc.rtop == mem->cc.cbot && -- num_refs < (mem->cc.ctop - mem->cc.cbot) / sizeof(ref) && -+ if (ptr_align_round(mem->cc.rtop) == mem->cc.cbot && -+ num_refs < (mem->cc.ctop - mem->cc.rtop) / sizeof(ref) && - mem->cc.rtop - (byte *) mem->cc.rcur + num_refs * sizeof(ref) < - max_size_st_refs - ) { -@@ -169,8 +169,8 @@ - ialloc_trace_space(mem), client_name_string(cname), - num_refs, (ulong) obj); - mem->cc.rcur[-1].o_size += num_refs * sizeof(ref); -- end = (ref *) (mem->cc.rtop = mem->cc.cbot += -- num_refs * sizeof(ref)); -+ end = (ref *) (mem->cc.rtop += num_refs * sizeof(ref)); -+ mem->cc.cbot = ptr_align_round(mem->cc.rtop); - make_mark(end - 1); - } else { - /* -@@ -225,12 +225,12 @@ - return_error(e_Fatal); - diff = old_num_refs - new_num_refs; - /* Check for LIFO. See gs_free_ref_array for more details. */ -- if (mem->cc.rtop == mem->cc.cbot && -+ if (ptr_align_round(mem->cc.rtop) == mem->cc.cbot && - (byte *) (obj + (old_num_refs + 1)) == mem->cc.rtop - ) { - /* Shorten the refs object. */ -- ref *end = (ref *) (mem->cc.cbot = mem->cc.rtop -= -- diff * sizeof(ref)); -+ ref *end = (ref *) (mem->cc.rtop -= diff * sizeof(ref)); -+ mem->cc.cbot = ptr_align_round(mem->cc.rtop); - - if_debug4('A', "[a%d:<$ ]%s(%u) 0x%lx\n", - ialloc_trace_space(mem), client_name_string(cname), diff, -@@ -264,7 +264,7 @@ - */ - if (!r_has_type(parr, t_array)) - DO_NOTHING; /* don't look for special cases */ -- else if (mem->cc.rtop == mem->cc.cbot && -+ else if (ptr_align_round(mem->cc.rtop) == mem->cc.cbot && - (byte *) (obj + (num_refs + 1)) == mem->cc.rtop - ) { - if ((obj_header_t *) obj == mem->cc.rcur) { -@@ -278,7 +278,8 @@ - ialloc_trace_space(mem), client_name_string(cname), - num_refs, (ulong) obj); - mem->cc.rcur[-1].o_size -= num_refs * sizeof(ref); -- mem->cc.rtop = mem->cc.cbot = (byte *) (obj + 1); -+ mem->cc.rtop = (byte *) (obj + 1); -+ mem->cc.cbot = ptr_align_round(mem->cc.rtop); - make_mark(obj); - } - return; -Index: gs/src/igcref.c -=================================================================== -RCS file: /cvs/ghostscript/gs/src/igcref.c,v -retrieving revision 1.6 -diff -b -u -r1.6 igcref.c ---- gs/src/igcref.c 4 Aug 2004 19:36:12 -0000 1.6 -+++ gs/src/igcref.c 14 Sep 2004 21:44:37 -0000 -@@ -720,15 +720,18 @@ - new_size += sizeof(ref_packed); - /* We want to make the newly freed space into a free block, */ - /* but we can only do this if we have enough room. */ -- if (size - new_size < sizeof(obj_header_t)) { /* Not enough room. Pad to original size. */ -+ if (size < obj_align_round(new_size) + sizeof(obj_header_t)) { /* Not enough room. Pad to original size. */ - while (new_size < size) - *dest++ = pt_tag(pt_integer), - new_size += sizeof(ref_packed); - } else { -- obj_header_t *pfree = (obj_header_t *) ((ref *) dest + 1); -+ byte *pfree_u = (byte *)dest + sizeof(ref); -+ byte *pfree_a = ptr_align_round(pfree_u); -+ obj_header_t *pfree = (obj_header_t *)pfree_a; -+ int align = pfree_a - pfree_u; - - pfree->o_alone = 0; -- pfree->o_size = size - new_size - sizeof(obj_header_t); -+ pfree->o_size = size - new_size - sizeof(obj_header_t) - align; - pfree->o_type = &st_bytes; - } - /* Re-create the final ref. */ diff --git a/app-text/ghostscript/files/gs-osx-ijs.patch b/app-text/ghostscript/files/gs-osx-ijs.patch deleted file mode 100644 index 332a74af5a15..000000000000 --- a/app-text/ghostscript/files/gs-osx-ijs.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- ghostscript-7.07.1-r8-orig/work/espgs-7.07.1/ijs/Makefile.in Tue Apr 23 07:58:32 2002 -+++ ghostscript-7.07.1-r8/work/espgs-7.07.1/ijs/Makefile.in Thu Mar 24 22:59:28 2005 -@@ -11,6 +11,12 @@ - SHARED_OBJ=.so - #SHARED_LDFLAGS=-dylib - #SHARED_OBJ=.dylib -+ -+CPU = $(shell uname) -+ifeq ($(CPU),Darwin) -+SHARED_LDFLAGS=-dynamiclib -+SHARED_OBJ=.dylib -+endif - - FE=-o - IJS_EXEC_SERVER=ijs_exec_unix$(OBJ) -@@ -60,8 +64,13 @@ - $(RM) *~ gmon.out core ijs_spec.log ijs_spec.tex ijs_spec.aux libijs.a libijs$(SHARED_OBJ) config.cache config.log config.status ijs-config - - install: all -+ifeq ($(CPU),Darwin) -+ $(INSTALL) ijs_client_example$(EXE) $(DESTDIR)$(bindir)/ijs_client_example$(EXE) -+ $(INSTALL) ijs-config $(DESTDIR)$(bindir)/ijs-config -+else - $(INSTALL) ijs_client_example$(EXE) -c $(DESTDIR)$(bindir)/ijs_client_example$(EXE) - $(INSTALL) ijs-config -c $(DESTDIR)$(bindir)/ijs-config -+endif - $(INSTALL) libijs.a $(DESTDIR)$(libdir)/libijs.a - $(INSTALL) libijs$(SHARED_OBJ) $(DESTDIR)$(libdir)/libijs$(SHARED_OBJ) - -mkdir $(DESTDIR)$(pkgincludedir) -diff -Naur ghostscript-7.07.1-r8-orig/work/espgs-7.07.1/ijs/ijs_server_example.c ghostscript-7.07.1-r8/work/espgs-7.07.1/ijs/ijs_server_example.c ---- ghostscript-7.07.1-r8-orig/work/espgs-7.07.1/ijs/ijs_server_example.c Tue Apr 23 10:01:17 2002 -+++ ghostscript-7.07.1-r8/work/espgs-7.07.1/ijs/ijs_server_example.c Thu Mar 24 22:59:46 2005 -@@ -25,7 +25,7 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> --#include <malloc.h> -+#include <malloc/malloc.h> - #include "ijs.h" - #include "ijs_server.h" diff --git a/app-text/ghostscript/files/gs-osx-unix-dll.patch b/app-text/ghostscript/files/gs-osx-unix-dll.patch deleted file mode 100644 index 832394f51ebb..000000000000 --- a/app-text/ghostscript/files/gs-osx-unix-dll.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -Naur ghostscript-7.07.1-r8-orig/work/espgs-7.07.1/src/unix-dll.mak ghostscript-7.07.1-r8/work/espgs-7.07.1/src/unix-dll.mak ---- ghostscript-7.07.1-r8-orig/work/espgs-7.07.1/src/unix-dll.mak Tue Apr 23 08:43:44 2002 -+++ ghostscript-7.07.1-r8/work/espgs-7.07.1/src/unix-dll.mak Thu Mar 24 23:00:57 2005 -@@ -45,12 +45,12 @@ - GSSOX=$(BINDIR)/$(SOBINRELDIR)/$(GSSOX_XENAME) - - # shared library --GS_SONAME=lib$(GS).so --GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR) --GS_SONAME_MAJOR_MINOR= $(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR) -+GS_SONAME=lib$(GS).dylib -+GS_SONAME_MAJOR=lib$(GS).$(GS_VERSION_MAJOR).dylib -+GS_SONAME_MAJOR_MINOR=lib$(GS).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).dylib - GS_SO=$(BINDIR)/$(GS_SONAME) --GS_SO_MAJOR=$(GS_SO).$(GS_VERSION_MAJOR) --GS_SO_MAJOR_MINOR=$(GS_SO_MAJOR).$(GS_VERSION_MINOR) -+GS_SO_MAJOR=$(BINDIR)/$(GS_SONAME_MAJOR) -+GS_SO_MAJOR_MINOR=$(BINDIR)/$(GS_SONAME_MAJOR_MINOR) - - # Shared object is built by redefining GS_XE in a recursive make. - -@@ -74,7 +74,7 @@ - - # ------------------------- Recursive make targets ------------------------- # - --SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -shared -Wl,-soname,$(GS_SONAME_MAJOR)'\ -+SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -dynamiclib -install_name $(GS_SO_MAJOR)'\ - GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\ - STDIO_IMPLEMENTATION=c\ - DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\ ---- ghostscript-7.07.1-r8-orig/work/espgs-7.07.1/src/unixinst.mak.orig Tue Apr 23 08:43:44 2002 -+++ ghostscript-7.07.1-r8/work/espgs-7.07.1/src/unixinst.mak Thu Mar 24 23:00:57 2005 -@@ -134,7 +134,7 @@ - ln -s ps2pdf.$(man1ext) $$f.$(man1ext) ) ;\ - done ;\ - fi ;\ -- if ( test -f $$man1dir/ps2ps.$(man1ext) ) ;\ -+ if ( test -f $$man1dir/gslp.$(man1ext) ) ;\ - then for f in $(MAN1_LINKS_GSLP) ;\ - do ( cd $$man1dir; rm -f $$f.$(man1ext) ;\ - ln -s gslp.$(man1ext) $$f.$(man1ext) ) ;\ - diff --git a/app-text/ghostscript/files/gs7.05-gdevhl12.c.bz2 b/app-text/ghostscript/files/gs7.05-gdevhl12.c.bz2 Binary files differdeleted file mode 100644 index ee24370c634a..000000000000 --- a/app-text/ghostscript/files/gs7.05-gdevhl12.c.bz2 +++ /dev/null diff --git a/app-text/ghostscript/files/gs7.05.6-cjk.diff.bz2 b/app-text/ghostscript/files/gs7.05.6-cjk.diff.bz2 Binary files differdeleted file mode 100644 index 1d1c2850c3dc..000000000000 --- a/app-text/ghostscript/files/gs7.05.6-cjk.diff.bz2 +++ /dev/null diff --git a/app-text/ghostscript/files/gs7.05.6-gdevpx.patch b/app-text/ghostscript/files/gs7.05.6-gdevpx.patch deleted file mode 100644 index f2addea045c3..000000000000 --- a/app-text/ghostscript/files/gs7.05.6-gdevpx.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- espgs-7.05.6/src/gdevpx.c 2002-04-23 07:58:43.000000000 -0400 -+++ espgs-7.05.6/src/gdevpx.c.new 2003-11-09 15:25:16.000000000 -0500 -@@ -851,8 +851,7 @@ - px_put_s(s, (uint)pattern[i]); - px_put_a(s, pxaLineDashStyle); - if (offset != 0) { -- px_put_rl(s, offset); -- px_put_a(s, pxaDashOffset); -+ px_put_usa(s, (uint)offset, pxaDashOffset); - } - } - spputc(s, pxtSetLineDash); diff --git a/app-text/ghostscript/files/gs7.05.6-kochi-substitute.patch b/app-text/ghostscript/files/gs7.05.6-kochi-substitute.patch deleted file mode 100644 index 70f8e1fda27f..000000000000 --- a/app-text/ghostscript/files/gs7.05.6-kochi-substitute.patch +++ /dev/null @@ -1,117 +0,0 @@ ---- lib/gs_ttf.ps.orig Sat Apr 12 23:02:38 2003 -+++ lib/gs_ttf.ps Fri Jul 25 13:25:33 2003 -@@ -575,7 +575,7 @@ - (maxp) 1 index - (name) 1 index - (OS/2) 1 index -- (post) 1 index -+ (post) { .readbigtable } - (vhea) 1 index - % Big tables - (glyf) { .readbigtable } -@@ -918,10 +918,17 @@ - DEBUG { (fontname ) print fontname = } if - % Stack: ... /FontInfo mark key1 value1 ... - post null ne { -- /ItalicAngle post 4 gets32 65536.0 div -- /isFixedPitch post 12 getu32 0 ne -- /UnderlinePosition post 8 gets16 upem div -- /UnderlineThickness post 10 gets16 upem div -+ post type /arraytype eq { -+ % this post table is a big table. /post should be [(...) ...] -+ % data we actually need here should be first one in array. -+ /posttable post 1 get def -+ } { -+ /posttable post def -+ } ifelse -+ /ItalicAngle posttable 4 gets32 65536.0 div -+ /isFixedPitch posttable 12 getu32 0 ne -+ /UnderlinePosition posttable 8 gets16 upem div -+ /UnderlineThickness posttable 10 gets16 upem div - } if - counttomark 0 ne { .dicttomark } { pop pop } ifelse - /XUID [orgXUID 42 curxuid] -@@ -1119,41 +1126,52 @@ - %(gsubofl: ) print gsubofl = - (gsuboll: ) print gsuboll = - } if -- dup /gsubfmt exch gsuboll 0 add getu16 def -+ % /gsuboll should be pointed out the LookupList table, but not Lookup table. -+ % so this is wrong: dup /gsubfmt exch gsuboll 0 add getu16 def -+ dup /gsublc exch gsuboll 0 add getu16 def - DEBUG { -- (gsubfmt: ) print gsubfmt = -+ (gsublc: ) print gsublc = - } if --% gsubver 16#00010000 eq { % ifelse -- gsubfmt 2 eq { % ifelse -- dup /gsubocv exch gsuboll 2 add getu16 def -- dup /gsubglc exch gsuboll 4 add getu16 def -- % hacked by suzuki toshiya at 2001/3/6 -- %dup /gsubvog exch gsuboll 6 add gsubglc getinterval def -- %dup /gsubhog exch gsuboll gsubocv add 4 add gsubglc getinterval def -- dup /gsubvog exch gsuboll 6 add gsubglc 2 mul getinterval def -- dup /gsubhog exch gsuboll gsubocv add 4 add gsubglc 2 mul getinterval def -+ gsublc 0 ne { -+ 0 1 gsublc 1 sub { -+ 2 mul /gsubolt exch 2 index exch gsuboll 2 add add getu16 gsuboll add def -+ dup /gsubfmt exch gsubolt 0 add getu16 def - DEBUG { -- (gsubocv: ) print gsubocv = -- (gsubglc: ) print gsubglc = -- -- (gsubhog->gsubvog ) = -- 0 2 gsubhog length 2 sub { % for -- dup -- gsubhog exch getu16 =only -- (->) =only -- gsubvog exch getu16 = -- } for -+ (gsubfmt: ) print gsubfmt = - } if -- /gsubh2v << 0 2 gsubhog length 2 sub { -- dup gsubhog exch getu16 -- exch gsubvog exch getu16 -- } for >> def -- } { -- %(UNKNOWN GSUB FORMAT.) = flush -- } ifelse --% } { --% (ILLEGAL GSUB VERSION.) = flush --% } ifelse -+% gsubver 16#00010000 eq { % ifelse -+ gsubfmt 2 eq { % ifelse -+ dup /gsubocv exch gsubolt 2 add getu16 def -+ dup /gsubglc exch gsubolt 4 add getu16 def -+ % hacked by suzuki toshiya at 2001/3/6 -+ %dup /gsubvog exch gsubolt 6 add gsubglc getinterval def -+ %dup /gsubhog exch gsubolt gsubocv add 4 add gsubglc getinterval def -+ dup /gsubvog exch gsubolt 6 add gsubglc 2 mul getinterval def -+ dup /gsubhog exch gsubolt gsubocv add 4 add gsubglc 2 mul getinterval def -+ DEBUG { -+ (gsubocv: ) print gsubocv = -+ (gsubglc: ) print gsubglc = -+ -+ (gsubhog->gsubvog ) = -+ 0 2 gsubhog length 2 sub { % for -+ dup -+ gsubhog exch getu16 =only -+ (->) =only -+ gsubvog exch getu16 = -+ } for -+ } if -+ /gsubh2v << 0 2 gsubhog length 2 sub { -+ dup gsubhog exch getu16 -+ exch gsubvog exch getu16 -+ } for >> def -+ } { -+ %(UNKNOWN GSUB FORMAT.) = flush -+ } ifelse -+% } { -+% (ILLEGAL GSUB VERSION.) = flush -+% } ifelse -+ } for -+ } if - pop - } if - } bind def diff --git a/app-text/ghostscript/files/gs7.05.6-tempfile.patch b/app-text/ghostscript/files/gs7.05.6-tempfile.patch deleted file mode 100644 index 918f8b2d9015..000000000000 --- a/app-text/ghostscript/files/gs7.05.6-tempfile.patch +++ /dev/null @@ -1,99 +0,0 @@ ---- espgs-7.05.6/lib/pj-gs.sh.orig 2004-10-08 18:48:15.125586200 -0400 -+++ espgs-7.05.6/lib/pj-gs.sh 2004-10-08 18:51:29.086099720 -0400 -@@ -241,6 +241,7 @@ - then - /usr/lib/lprcat $Nofilter $Nolabel $file PCL1 $user $dev - else -+ TEMPFILE=`mktemp -t pjXXXXXX` || exit 1 - type=`file $file | sed 's/^[^:]*..//'` - case "$type" in - postscript*) -@@ -251,22 +252,22 @@ - # - # gs -q -sDEVICE=paintjet -r180 -sOutputFile=- -dDISKFONTS -dNOPAUSE - < $file 2>/tmp/sh$$ - -- gs -q -sDEVICE=paintjet -r180 -sOutputFile=/tmp/pj$$ -dDISKFONTS -dNOPAUSE - < $file 1>2 -- cat /tmp/pj$$ -- rm /tmp/pj$$ -+ gs -q -sDEVICE=paintjet -r180 -sOutputFile=$TEMPFILE -dDISKFONTS -dNOPAUSE - < $file 1>2 -+ cat $TEMPFILE -+ rm $TEMPFILE - needff= - ;; -- *) cat "$file" 2>/tmp/sh$$ -+ *) cat "$file" 2>$TEMPFILE - needff=1 - ;; - esac - -- if [ -s /tmp/sh$$ ] -+ if [ -s $TEMPFILE ] - then - # cat /tmp/sh$$ # output any errors -- cat /tmp/sh$$ 1>2 # output any errors -+ cat $TEMPFILE 1>2 # output any errors - fi -- rm -f /tmp/sh$$ -+ rm -f $TEMPFILE - if [ $needff ]; then echo "\014\r\c"; fi - fi - ---- espgs-7.05.6/lib/ps2epsi.orig 2004-10-08 22:16:37.194982760 -0400 -+++ espgs-7.05.6/lib/ps2epsi 2004-10-08 23:03:25.320082856 -0400 -@@ -1,7 +1,8 @@ - #!/bin/sh - # $Id: gs7.05.6-tempfile.patch,v 1.1 2004/10/18 18:11:06 lanius Exp $ - --tmpfile=/tmp/ps2epsi$$ -+tmpfile=`mktemp -t ps2epsiXXXXXX` || exit 1 -+trap "rm -rf $tmpfile" 0 1 2 3 7 13 15 - - export outfile - ---- espgs-7.05.6/lib/pv.sh.orig 2004-10-08 18:52:13.227389224 -0400 -+++ espgs-7.05.6/lib/pv.sh 2004-10-08 18:53:05.459448744 -0400 -@@ -27,11 +27,12 @@ - # - TEMPDIR=. - PAGE=$1 -+TEMPFILE=`mktemp -t ${FILE}XXXXXX` || exit 1 - shift - FILE=$1 - shift --trap "rm -rf $TEMPDIR/$FILE.$$.pv" 0 1 2 15 -+trap "rm -rf $TEMPFILE" 0 1 2 15 - #dvips -D$RESOLUTION -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv --dvips -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv --gs $FILE.$$.pv -+dvips -p $PAGE -n 1 $FILE $* -o $TEMPFILE -+gs $TEMPFILE - exit 0 ---- espgs-7.05.6/lib/sysvlp.sh.orig 2004-10-08 18:53:10.521679168 -0400 -+++ espgs-7.05.6/lib/sysvlp.sh 2004-10-08 18:54:10.512559168 -0400 -@@ -27,20 +27,23 @@ - # Brother HL-4: switch to HP laserjet II+ emulation - # echo "\033\015H\c" - -+TEMPDIR=`mktemp -td sysvlp.XXXXXX` || exit 1 -+ - i=1 - while [ $i -le $copies ] - do - for file in $files - do - $GSHOME/gs \ -- -sOUTPUTFILE=/tmp/psp$$.%02d \ -+ -sOUTPUTFILE=$TEMPDIR/psp$$.%02d \ - -sDEVICE=$DEVICE \ - $EHANDLER $file \ - < /dev/null >> /usr/tmp/ps_log 2>&1 - -- cat /tmp/psp$$.* 2>> /usr/tmp/ps_log -- rm -f /tmp/psp$$.* -+ cat $TEMPDIR/psp$$.* 2>> /usr/tmp/ps_log -+ rm -f $TEMPDIR/psp$$.* - done - i=`expr $i + 1` - done -+rmdir $TEMPDIR - exit 0 diff --git a/app-text/ghostscript/files/gs7.07.1-cjk.diff b/app-text/ghostscript/files/gs7.07.1-cjk.diff deleted file mode 100644 index d1a5d93638b9..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-cjk.diff +++ /dev/null @@ -1,172 +0,0 @@ -diff -urN espgs-7.07.1/lib/CIDFnmap espgs-7.07.1.patched/lib/CIDFnmap ---- espgs-7.07.1/lib/CIDFnmap 2002-04-23 20:58:33.000000000 +0900 -+++ espgs-7.07.1.patched/lib/CIDFnmap 2005-04-23 22:27:11.000000000 +0900 -@@ -135,14 +135,14 @@ - % in particular, you must leave at least one space or tab between each - % field in the entry. - --%(CIDFnmap.Ore) .runlibfile --%(CIDFnmap.ARP) .runlibfile --%(CIDFnmap.Bae) .runlibfile --%(CIDFnmap.Koc) .runlibfile -+(CIDFnmap.Ore) .runlibfile -+(CIDFnmap.ARP) .runlibfile -+(CIDFnmap.Bae) .runlibfile -+(CIDFnmap.Koc) .runlibfile - %(CIDFnmap.Sol) .runlibfile - %(CIDFnmap.Win) .runlibfile - --%(CIDFnmap.CJK) .runlibfile -+(CIDFnmap.CJK) .runlibfile - - % native CIDFontName (BIG5) in traditional Chinese - %(CIDFnmap.b5) .runlibfile -diff -urN espgs-7.07.1/lib/CIDFnmap.CJK espgs-7.07.1.patched/lib/CIDFnmap.CJK ---- espgs-7.07.1/lib/CIDFnmap.CJK 2002-04-23 20:58:33.000000000 +0900 -+++ espgs-7.07.1.patched/lib/CIDFnmap.CJK 2005-04-23 22:28:56.000000000 +0900 -@@ -24,51 +24,51 @@ - % Fallback aliases for CJK PDF files - % - %/Adobe-CNS1 /MOESung-Regular ; % CIDFnmap.Ore --%/Adobe-CNS1 /ShanHeiSun-Light ; % CIDFnmap.ARP -+/Adobe-CNS1 /ShanHeiSun-Light ; % CIDFnmap.ARP - %/Adobe-CNS1 /ming ; % CIDFnmap.Sol - %/Adobe-CNS1 /MingLiU ; % CIDFnmap.Win - %/Adobe-CNS1 /SimSun-18030-Adobe-CNS1 ; % CIDFnmap.Win - --%/Adobe-GB1 /BousungEG-Light-GB ; % CIDFnmap.ARP -+/Adobe-GB1 /BousungEG-Light-GB ; % CIDFnmap.ARP - %/Adobe-GB1 /zycjksun ; % CIDFnmap.Sol - %/Adobe-GB1 /SimSun ; % CIDFnmap.Win - - %/Adobe-Japan1 /WadaMin-Regular ; % CIDFnmap.Ore - %/Adobe-Japan1 /HG-MinchoL ; % CIDFnmap.Sol --%/Adobe-Japan1 /Kochi-Mincho ; % CIDFnmap.Koc -+/Adobe-Japan1 /Kochi-Mincho ; % CIDFnmap.Koc - %/Adobe-Japan1 /MS-Mincho ; % CIDFnmap.Win - --%/Adobe-Japan2 /WadaMin-RegularH ; % CIDFnmap.Ore -+/Adobe-Japan2 /WadaMin-RegularH ; % CIDFnmap.Ore - %/Adobe-Japan2 /HeiseiMin-W3H ; % CIDFnmap.Sol - %/Adobe-Japan2 /MS-Mincho-Adobe-Japan2 ; % CIDFnmap.Win - - %/Adobe-Korea1 /Munhwa-Regular ; % CIDFnmap.Ore --%/Adobe-Korea1 /Baekmuk-Batang ; % CIDFnmap.Bae -+/Adobe-Korea1 /Baekmuk-Batang ; % CIDFnmap.Bae - %/Adobe-Korea1 /Myeongjo ; % CIDFnmap.Sol - %/Adobe-Korea1 /Batang ; % CIDFnmap.Win - - % - % Convenient aliases for PS files on Traditional Chinese PostScript printer - % --%/MSung-Light /MOESung-Regular ; % CIDFnmap.Ore -+/MSung-Light /MOESung-Regular ; % CIDFnmap.Ore - %/MSung-Light /SimSun-18030-Adobe-CNS1 ; % CIDFnmap.Win --%/MSung-Medium /ShanHeiSun-Light ; % CIDFnmap.ARP --%/MHei-Medium /ShanHeiSun-Light ; % CIDFnmap.ARP -+/MSung-Medium /ShanHeiSun-Light ; % CIDFnmap.ARP -+/MHei-Medium /ShanHeiSun-Light ; % CIDFnmap.ARP - %/MHei-Medium /hei ; % CIDFnmap.Sol --%/MKai-Medium /ZenKai-Medium ; % CIDFnmap.ARP -+/MKai-Medium /ZenKai-Medium ; % CIDFnmap.ARP - %/MKai-Medium /kai ; % CIDFnmap.Sol - - % - % Convenient aliases for PS files on Simplified Chinese PostScript printer - % --%/STSong-Light /BousungEG-Light-GB ; % CIDFnmap.ARP -+/STSong-Light /BousungEG-Light-GB ; % CIDFnmap.ARP - %/STSong-Light /zycjksun ; % CIDFnmap.Sol - %/STSong-Light /SimSun ; % CIDFnmap.Win - %/STFangsong-Light /zycjkfangs ; % CIDFnmap.Sol - %/STFangsong-Light /SimSun ; % CIDFnmap.Win - %/STHeiti-Regular /zycjkhei ; % CIDFnmap.Sol - %/STHeiti-Regular /SimHei ; % CIDFnmap.Win --%/STKaiti-Regular /GBZenKai-Medium ; % CIDFnmap.ARP -+/STKaiti-Regular /GBZenKai-Medium ; % CIDFnmap.ARP - %/STKaiti-Regular /zycjkkai ; % CIDFnmap.Sol - - % -@@ -76,18 +76,18 @@ - % - %/Ryumin-Light /WadaMin-Regular ; % CIDFnmap.Ore - %/Ryumin-Light /HG-MinchoL ; % CIDFnmap.Sol --%/Ryumin-Light /Kochi-Mincho ; % CIDFnmap.Koc -+/Ryumin-Light /Kochi-Mincho ; % CIDFnmap.Koc - %/Ryumin-Light /MS-Mincho ; % CIDFnmap.Win - %/GothicBBB-Medium /WadaGo-Bold ; % CIDFnmap.Ore - %/GothicBBB-Medium /HG-GothicB ; % CIDFnmap.Sol --%/GothicBBB-Medium /Kochi-Gothic ; % CIDFnmap.Koc -+/GothicBBB-Medium /Kochi-Gothic ; % CIDFnmap.Koc - %/GothicBBB-Medium /MS-Gothic ; % CIDFnmap.Win - %/HeiseiMin-W3 /MS-Mincho ; % CIDFnmap.Win - %/HeiseiKakuGo-W5 /MS-Gothic ; % CIDFnmap.Win - --%/HeiseiMin-W3H /WadaMin-RegularH ; % CIDFnmap.Ore -+/HeiseiMin-W3H /WadaMin-RegularH ; % CIDFnmap.Ore - %/HeiseiMin-W3H /MS-Mincho-Adobe-Japan2 ; % CIDFnmap.Win --%/HeiseiKakuGo-W5H /WadaMaruGo-RegularH ; % CIDFnmap.Ore -+/HeiseiKakuGo-W5H /WadaMaruGo-RegularH ; % CIDFnmap.Ore - %/HeiseiKakuGo-W5H /MS-Gothic-Adobe-Japan2 ; % CIDFnmap.Win - - %/KozMin-Regular /MS-Mincho ; % CIDFnmap.Win -@@ -97,17 +97,17 @@ - % Convenient aliases for PS files on Korean PostScript printer - % - %/HYGoThic-Medium /MunhwaGothic-Regular ; % CIDFnmap.Ore --%/HYGoThic-Medium /Baekmuk-Dotum ; % CIDFnmap.Bae -+/HYGoThic-Medium /Baekmuk-Dotum ; % CIDFnmap.Bae - %/HYGoThic-Medium /Gothic ; % CIDFnmap.Sol - %/HYGoThic-Medium /Dotum ; % CIDFnmap.Win - %/HYGungSo-Bold /Gungsuh ; % CIDFnmap.Win --%/HYKHeadLine-Bold /Baekmuk-Headline ; % CIDFnmap.Bae --%/HYKHeadLine-Medium /Baekmuk-Headline ; % CIDFnmap.Bae -+/HYKHeadLine-Bold /Baekmuk-Headline ; % CIDFnmap.Bae -+/HYKHeadLine-Medium /Baekmuk-Headline ; % CIDFnmap.Bae - %/HYSMyeongJo-Medium /Munhwa-Regular ; % CIDFnmap.Ore --%/HYSMyeongJo-Medium /Baekmuk-Batang ; % CIDFnmap.Bae -+/HYSMyeongJo-Medium /Baekmuk-Batang ; % CIDFnmap.Bae - %/HYSMyeongJo-Medium /Myeongjo ; % CIDFnmap.Sol - %/HYSMyeongJo-Medium /Batang ; % CIDFnmap.Win --%/HYRGoThic-Medium /Baekmuk-Gulim ; % CIDFnmap.Bae -+/HYRGoThic-Medium /Baekmuk-Gulim ; % CIDFnmap.Bae - %/HYRGoThic-Medium /RoundedGothic ; % CIDFnmap.Sol - %/HYRGoThic-Medium /Gulim ; % CIDFnmap.Win - -diff -urN espgs-7.07.1/lib/CIDFnmap.Koc espgs-7.07.1.patched/lib/CIDFnmap.Koc ---- espgs-7.07.1/lib/CIDFnmap.Koc 2002-04-23 20:58:33.000000000 +0900 -+++ espgs-7.07.1.patched/lib/CIDFnmap.Koc 2005-04-23 22:27:11.000000000 +0900 -@@ -30,8 +30,8 @@ - % Kochi-Mincho: Public domain, except for NAGA10 bitmap data - % Kochi-Gothic: Wada Lab's font license, except for NAGA10 bitmap data - % --%/Kochi-Mincho (kochi-mincho.ttf) ; --%/Kochi-Gothic (kochi-gothic.ttf) ; -+/Kochi-Mincho (kochi-mincho-subst.ttf) ; -+/Kochi-Gothic (kochi-gothic-subst.ttf) ; - % - % Notice: In CID-keyed space of Kochi-Mincho, although you may find that - % CIDs 7611,7613-7625,7629,7630,11847,12041-12043 are incorrectly -@@ -45,6 +45,6 @@ - % Kochi-Mincho: Public domain. Designed by Yasuyuki Furukawa. - % Kochi-Gothic: Wada Lab's font license. - % --/Kochi-Mincho (Kochi-Mincho) ; --/Kochi-Gothic (Kochi-Gothic) ; -+%/Kochi-Mincho (Kochi-Mincho) ; -+%/Kochi-Gothic (Kochi-Gothic) ; - -diff -urN espgs-7.07.1/lib/gs_res.ps.in espgs-7.07.1.patched/lib/gs_res.ps.in ---- espgs-7.07.1/lib/gs_res.ps.in 2002-10-05 01:35:24.000000000 +0900 -+++ espgs-7.07.1.patched/lib/gs_res.ps.in 2005-04-23 22:27:11.000000000 +0900 -@@ -245,8 +245,8 @@ - /pssystemparams 10 dict readonly def - } if - pssystemparams begin -- /FontResourceDir (@datadir@/ghostscript/fonts/) readonly .forcedef % pssys'params is r-o -- /GenericResourceDir (@datadir@/ghostscript/) readonly .forcedef % pssys'params is r-o -+ /FontResourceDir (@datadir@/ghostscript/Resource/Font/) readonly .forcedef % pssys'params is r-o -+ /GenericResourceDir (@datadir@/ghostscript/Resource/) readonly .forcedef % pssys'params is r-o - /GenericResourcePathSep (/) readonly .forcedef % pssys'params is r-o - end - end diff --git a/app-text/ghostscript/files/gs7.07.1-cjk.diff.bz2 b/app-text/ghostscript/files/gs7.07.1-cjk.diff.bz2 Binary files differdeleted file mode 100644 index 0b0f74a73792..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-cjk.diff.bz2 +++ /dev/null diff --git a/app-text/ghostscript/files/gs7.07.1-destdir.patch b/app-text/ghostscript/files/gs7.07.1-destdir.patch deleted file mode 100644 index 81875a1a7b23..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-destdir.patch +++ /dev/null @@ -1,300 +0,0 @@ -diff -urN espgs-7.07.1.ORIG/pstoraster/cups.mak espgs-7.07.1/pstoraster/cups.mak ---- espgs-7.07.1.ORIG/pstoraster/cups.mak 2003-08-21 00:12:43.000000000 +0900 -+++ espgs-7.07.1/pstoraster/cups.mak 2004-11-02 02:20:40.792526492 +0900 -@@ -24,9 +24,9 @@ - - cups_= $(GLOBJ)gdevcups.$(OBJ) - --CUPSSERVER= $(install_prefix)`cups-config --serverbin` --CUPSCONFIG= $(install_prefix)`cups-config --serverroot` --CUPSDATA= $(install_prefix)`cups-config --datadir` -+CUPSSERVER= $(DESTDIR)`cups-config --serverbin` -+CUPSCONFIG= $(DESTDIR)`cups-config --serverroot` -+CUPSDATA= $(DESTDIR)`cups-config --datadir` - - $(DD)cups.dev: $(cups_) $(GLD)page.dev - $(SETPDEV2) $(DD)cups $(cups_) -diff -urN espgs-7.07.1.ORIG/src/all-arch.mak espgs-7.07.1/src/all-arch.mak ---- espgs-7.07.1.ORIG/src/all-arch.mak 2003-07-13 13:43:17.000000000 +0900 -+++ espgs-7.07.1/src/all-arch.mak 2004-11-02 01:58:21.000000000 +0900 -@@ -299,24 +299,24 @@ - # Remove the old gs binary first, so as to preserve the previous - # gs-x.yy version, if any. - install-binary: -- -$(RM) $(BINDIR)/$(GS) -+ -$(RM) $(DESTDIR)$(BINDIR)/$(GS) - @$(MAKE) $(ARGS) install GS=$(GS) XLIBDIRS=$(XLIBDIRSALL) ; \ - d=`pwd` ; \ - d=`basename $$d` ; \ - d=`echo $$d | sed -e s/gs/gs-/` ; \ -- $(RM) $(BINDIR)/$$d ; \ -- ln $(BINDIR)/$(GS) $(BINDIR)/$$d ; \ -- ls -l $(BINDIR)/$(GS) $(BINDIR)/$$d -+ $(RM) $(DESTDIR)$(BINDIR)/$$d ; \ -+ ln $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d ; \ -+ ls -l $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d - - install-binary-gnu-readline: -- -$(RM) $(BINDIR)/$(GS) -+ -$(RM) $(DESTDIR)$(BINDIR)/$(GS) - @$(MAKE) $(ARGS) install GS=$(GS) XLIBDIRS=$(XLIBDIRSALL) $(GNU_READLINE_ARGS) ; \ - d=`pwd` ; \ - d=`basename $$d` ; \ - d=`echo $$d | sed -e s/gs/gs-/` ; \ -- $(RM) $(BINDIR)/$$d ; \ -- ln $(BINDIR)/$(GS) $(BINDIR)/$$d ; \ -- ls -l $(BINDIR)/$(GS) $(BINDIR)/$$d -+ $(RM) $(DESTDIR)$(BINDIR)/$$d ; \ -+ ln $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d ; \ -+ ls -l $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d - - install-fontmap: - @d=`pwd` ; \ -@@ -324,14 +324,14 @@ - d=`echo $$d | sed -e s/gs//` ; \ - if test -f $(GS_SRC_DIR)/Fontmap.new ; \ - then \ -- if test -f $(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \ -+ if test -f $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \ - then \ - true ; \ - else \ -- mv $(GS_SHARE_DIR)/$$d/lib/Fontmap $(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \ -+ mv $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \ - fi ; \ -- $(CP) $(GS_SRC_DIR)/Fontmap.new $(GS_SHARE_DIR)/$$d/lib/Fontmap ; \ -- ls -l $(GS_SHARE_DIR)/$$d/lib/Fontmap* ; \ -+ $(CP) $(GS_SRC_DIR)/Fontmap.new $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap ; \ -+ ls -l $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap* ; \ - fi - - install-pdfsec: -@@ -340,9 +340,9 @@ - d=`echo $$d | sed -e s/gs//` ; \ - if test -f $(GS_SRC_DIR)/lib/pdf_sec.ps ; \ - then \ -- $(MV) $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps.org ; \ -- $(CP) lib/pdf_sec.ps $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \ -- $(CHMOD) 664 $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \ -+ $(MV) $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps.org ; \ -+ $(CP) lib/pdf_sec.ps $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \ -+ $(CHMOD) 664 $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \ - fi - - #======================================================================= -diff -urN espgs-7.07.1.ORIG/src/contrib.mak espgs-7.07.1/src/contrib.mak ---- espgs-7.07.1.ORIG/src/contrib.mak 2002-10-13 08:24:34.000000000 +0900 -+++ espgs-7.07.1/src/contrib.mak 2004-11-02 01:53:55.000000000 +0900 -@@ -1236,10 +1236,10 @@ - # and the PPD files are not copied. - pcl3-install: - for f in gs-pcl3 pcl3opts; do \ -- $(INSTALL_DATA) $(pcl3_root)doc$(D)$$f.1 $(man1dir)/$$f.$(man1ext) \ -+ $(INSTALL_DATA) $(pcl3_root)doc$(D)$$f.1 $(DESTDIR)$(man1dir)/$$f.$(man1ext) \ - || exit 1; \ -- $(INSTALL_DATA) $(pcl3_root)doc$(D)$$f.html $(docdir) || exit 1; done -- $(INSTALL_PROGRAM) $(BINDIR)$(D)pcl3opts$(XE) $(bindir) -+ $(INSTALL_DATA) $(pcl3_root)doc$(D)$$f.html $(DESTDIR)$(docdir) || exit 1; done -+ $(INSTALL_PROGRAM) $(BINDIR)$(D)pcl3opts$(XE) $(DESTDIR)$(bindir) - - ### ----------------- LexMark 5000 printer ----------------------------- ### - ### Note: this driver was contributed by users. Please contact: ### -diff -urN espgs-7.07.1.ORIG/src/macos-fw.mak espgs-7.07.1/src/macos-fw.mak ---- espgs-7.07.1.ORIG/src/macos-fw.mak 2003-07-13 13:43:18.000000000 +0900 -+++ espgs-7.07.1/src/macos-fw.mak 2004-11-02 02:02:19.000000000 +0900 -@@ -102,19 +102,19 @@ - $(MAKE) $(SODEFS) GENOPT='-DDEBUG' CFLAGS='$(CFLAGS_DEBUG) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' $(GSSOC) $(GSSOX) - - install-so: so -- -mkdir $(prefix) -- -mkdir $(datadir) -- -mkdir $(gsdir) -- -mkdir $(gsdatadir) -- -mkdir $(bindir) -- -mkdir $(libdir) -- $(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME) -- $(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME) -- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR) -- $(RM_) $(libdir)/$(GS_SONAME) -- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME) -- $(RM_) $(libdir)/$(GS_SONAME_MAJOR) -- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR) -+ -mkdir $(DESTDIR)$(prefix) -+ -mkdir $(DESTDIR)$(datadir) -+ -mkdir $(DESTDIR)$(gsdir) -+ -mkdir $(DESTDIR)$(gsdatadir) -+ -mkdir $(DESTDIR)$(bindir) -+ -mkdir $(DESTDIR)$(libdir) -+ $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME) -+ $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME) -+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR) -+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME) -+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME) -+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) -+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) - - soinstall: install-so install-scripts install-data - -@@ -143,8 +143,8 @@ - cp -r doc $(GS_FRAMEWORK)/Versions/Current - - framework_install : framework -- rm -rf $(prefix) -- cp -r $(GS_FRAMEWORK) $(prefix) -+ rm -rf $(DESTDIR)$(prefix) -+ cp -r $(GS_FRAMEWORK) $(DESTDIR)$(prefix) - - # Make the build directories - SODIRS: STDDIRS -diff -urN espgs-7.07.1.ORIG/src/unix-dll.mak espgs-7.07.1/src/unix-dll.mak ---- espgs-7.07.1.ORIG/src/unix-dll.mak 2002-04-23 21:43:44.000000000 +0900 -+++ espgs-7.07.1/src/unix-dll.mak 2004-11-02 02:00:44.000000000 +0900 -@@ -96,19 +96,19 @@ - $(MAKE) $(SODEFS) GENOPT='-DDEBUG' CFLAGS='$(CFLAGS_DEBUG) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' $(GSSOC) $(GSSOX) - - install-so: so -- -mkdir -p $(prefix) -- -mkdir -p $(datadir) -- -mkdir -p $(gsdir) -- -mkdir -p $(gsdatadir) -- -mkdir -p $(bindir) -- -mkdir -p $(libdir) -- $(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME) -- $(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME) -- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR) -- $(RM_) $(libdir)/$(GS_SONAME) -- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME) -- $(RM_) $(libdir)/$(GS_SONAME_MAJOR) -- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR) -+ -mkdir -p $(DESTDIR)$(prefix) -+ -mkdir -p $(DESTDIR)$(datadir) -+ -mkdir -p $(DESTDIR)$(gsdir) -+ -mkdir -p $(DESTDIR)$(gsdatadir) -+ -mkdir -p $(DESTDIR)$(bindir) -+ -mkdir -p $(DESTDIR)$(libdir) -+ $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME) -+ $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME) -+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR) -+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME) -+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME) -+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) -+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) - - soinstall: install-so install-scripts install-data - -diff -urN espgs-7.07.1.ORIG/src/unixinst.mak espgs-7.07.1/src/unixinst.mak ---- espgs-7.07.1.ORIG/src/unixinst.mak 2002-07-21 06:03:21.000000000 +0900 -+++ espgs-7.07.1/src/unixinst.mak 2004-11-02 02:05:32.000000000 +0900 -@@ -28,24 +28,24 @@ - # rules, just in case bindir or scriptdir is a subdirectory of any of these. - - install-exec: $(GS_XE) -- -mkdir -p $(datadir) -- -mkdir -p $(gsdir) -- -mkdir -p $(gsdatadir) -- -mkdir -p $(bindir) -- $(INSTALL_PROGRAM) $(GS_XE) $(bindir)/$(GS) -+ -mkdir -p $(DESTDIR)$(datadir) -+ -mkdir -p $(DESTDIR)$(gsdir) -+ -mkdir -p $(DESTDIR)$(gsdatadir) -+ -mkdir -p $(DESTDIR)$(bindir) -+ $(INSTALL_PROGRAM) $(GS_XE) $(DESTDIR)$(bindir)/$(GS) - - install-scripts: $(PSLIBDIR)/gsnd -- -mkdir -p $(datadir) -- -mkdir -p $(gsdir) -- -mkdir -p $(gsdatadir) -- -mkdir -p $(scriptdir) -+ -mkdir -p $(DESTDIR)$(datadir) -+ -mkdir -p $(DESTDIR)$(gsdir) -+ -mkdir -p $(DESTDIR)$(gsdatadir) -+ -mkdir -p $(DESTDIR)$(scriptdir) - $(SH) -c 'for f in \ - gsbj gsdj gsdj500 gslj gslp gsnd \ - bdftops dvipdf eps2eps font2c \ - pdf2dsc pdf2ps pdfopt pf2afm pfbtopfa printafm \ - ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps wftopfa \ - fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\ -- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(scriptdir); fi;\ -+ do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(DESTDIR)$(scriptdir); fi;\ - done' - - PSDOCDIR=$(PSLIBDIR)/../doc -@@ -58,10 +58,10 @@ - # one file from each subdirectory just as a sanity check. - - install-libdata: -- -mkdir -p $(datadir) -- -mkdir -p $(gsdir) -- -mkdir -p $(gsdatadir) -- -mkdir -p $(gsdatadir)/lib -+ -mkdir -p $(DESTDIR)$(datadir) -+ -mkdir -p $(DESTDIR)$(gsdir) -+ -mkdir -p $(DESTDIR)$(gsdatadir) -+ -mkdir -p $(DESTDIR)$(gsdatadir)/lib - $(SH) -c 'for f in \ - Fontmap Fontmap.GS \ - CIDFnmap CIDFnmap.Ore CIDFnmap.ARP CIDFnmap.Bae CIDFnmap.Koc \ -@@ -82,13 +82,13 @@ - winmaps.ps wftopfa.ps wrfont.ps zeroline.ps \ - pdf2dsc.ps pdfopt.ps \ - dmp_init.ps dmp_site.ps gdevmjc.ps escp_24.src ;\ -- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(gsdatadir)/lib; fi;\ -+ do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(DESTDIR)$(gsdatadir)/lib; fi;\ - done' - $(SH) -c 'for f in $(PSLIBDIR)/gs_*.ps $(PSLIBDIR)/pdf*.ps;\ -- do $(INSTALL_DATA) $$f $(gsdatadir)/lib ;\ -+ do $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/lib ;\ - done' - $(SH) -c 'for f in $(PSLIBDIR)/*.ppd $(PSLIBDIR)/*.rpd $(PSLIBDIR)/*.upp $(PSLIBDIR)/*.xbm $(PSLIBDIR)/*.xpm;\ -- do $(INSTALL_DATA) $$f $(gsdatadir)/lib ;\ -+ do $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/lib ;\ - done' - - # install html documentation -@@ -105,9 +105,9 @@ - Psfiles.htm Public.htm Readme.htm Release.htm \ - Source.htm Tester.htm Unix-lpr.htm Use.htm Xfonts.htm - install-doc: $(PSDOCDIR)/News.htm -- -mkdir -p $(docdir) -+ -mkdir -p $(DESTDIR)$(docdir) - $(SH) -c 'for f in $(DOC_PAGES) ;\ -- do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(docdir); fi;\ -+ do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(DESTDIR)$(docdir); fi;\ - done' - - # install the man pages for each locale -@@ -116,9 +116,9 @@ - MAN1_LINKS_PS2PDF=ps2pdf12 ps2pdf13 - MAN1_LINKS_GSLP=gsbj gsdj gsdj500 gslj - install-man: $(PSMANDIR)/gs.1 -- $(SH) -c 'test -d $(mandir) || mkdir -p $(mandir)' -+ $(SH) -c 'test -d $(DESTDIR)$(mandir) || mkdir -p $(DESTDIR)$(mandir)' - $(SH) -c 'for d in $(MAN_LCDIRS) ;\ -- do man1dir=$(mandir)/$$d/man$(man1ext) ;\ -+ do man1dir=$(DESTDIR)$(mandir)/$$d/man$(man1ext) ;\ - ( test -d $$man1dir || mkdir -p $$man1dir ) ;\ - for f in $(PSMANDIR)/$$d/*.1 ;\ - do $(INSTALL_DATA) $$f $$man1dir ;\ -@@ -145,17 +145,17 @@ - - # install the example files - install-examples: -- -mkdir -p $(exdir) -+ -mkdir -p $(DESTDIR)$(exdir) - for f in \ - alphabet.ps colorcir.ps doretree.ps escher.ps golfer.ps \ - grayalph.ps snowflak.ps tiger.ps vasarely.ps waterfal.ps \ - ridt91.eps ;\ -- do $(INSTALL_DATA) $(PSEXDIR)/$$f $(exdir) ;\ -+ do $(INSTALL_DATA) $(PSEXDIR)/$$f $(DESTDIR)$(exdir) ;\ - done -- -mkdir -p $(exdir)/cjk -+ -mkdir -p $(DESTDIR)$(exdir)/cjk - for f in \ - all_ac1.ps all_ag1.ps all_aj1.ps all_aj2.ps all_ak1.ps \ - gscjk_ac.ps gscjk_ag.ps gscjk_aj.ps gscjk_ak.ps \ - iso2022.ps;\ -- do $(INSTALL_DATA) $(PSEXDIR)/cjk/$$f $(exdir)/cjk ;\ -+ do $(INSTALL_DATA) $(PSEXDIR)/cjk/$$f $(DESTDIR)$(exdir)/cjk ;\ - done diff --git a/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.2.bz2 b/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.2.bz2 Binary files differdeleted file mode 100644 index 123496d4c5fa..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.2.bz2 +++ /dev/null diff --git a/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.bz2 b/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.bz2 Binary files differdeleted file mode 100644 index cb7ea8f7e5f4..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-fontconfig-rh.patch.bz2 +++ /dev/null diff --git a/app-text/ghostscript/files/gs7.07.1-ijs.patch b/app-text/ghostscript/files/gs7.07.1-ijs.patch deleted file mode 100644 index 4063ec1a3614..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-ijs.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- ijs/Makefile.in.org 2003-11-15 19:05:26.854719405 +0100 -+++ ijs/Makefile.in 2003-11-15 19:05:19.546089406 +0100 -@@ -1,10 +1,10 @@ - # Unix - - CC=@CC@ --CFLAGS=-g -Wall -ansi -pedantic -Wmissing-prototypes -+CFLAGS=-g -Wall -ansi -pedantic -Wmissing-prototypes -fPIC - LDLIBS= --OBJ=.@OBJEXT@ --EXE=@EXEEXT@ -+OBJ=.o -+EXE= - - # todo: this needs to be .dylib on OS X - write a test - SHARED_LDFLAGS=-shared diff --git a/app-text/ghostscript/files/gs7.07.1-ijsdestdir.patch b/app-text/ghostscript/files/gs7.07.1-ijsdestdir.patch deleted file mode 100644 index 3ce64986bdb1..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-ijsdestdir.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naur espgs-7.07.1.orig/ijs/Makefile.in espgs-7.07.1/ijs/Makefile.in ---- espgs-7.07.1.orig/ijs/Makefile.in 2004-09-19 13:09:50.225860000 -0700 -+++ espgs-7.07.1/ijs/Makefile.in 2004-09-19 13:20:08.118191874 -0700 -@@ -60,14 +60,14 @@ - $(RM) *~ gmon.out core ijs_spec.log ijs_spec.tex ijs_spec.aux libijs.a libijs$(SHARED_OBJ) config.cache config.log config.status ijs-config - - install: all -- $(INSTALL) ijs_client_example$(EXE) -c $(bindir)/ijs_client_example$(EXE) -- $(INSTALL) ijs-config -c $(bindir)/ijs-config -- $(INSTALL) libijs.a $(libdir)/libijs.a -- $(INSTALL) libijs$(SHARED_OBJ) $(libdir)/libijs$(SHARED_OBJ) -- -mkdir $(pkgincludedir) -- $(INSTALL) ijs.h $(pkgincludedir)/ijs.h -- $(INSTALL) ijs_client.h $(pkgincludedir)/ijs_client.h -- $(INSTALL) ijs_server.h $(pkgincludedir)/ijs_server.h -+ $(INSTALL) ijs_client_example$(EXE) -c $(DESTDIR)$(bindir)/ijs_client_example$(EXE) -+ $(INSTALL) ijs-config -c $(DESTDIR)$(bindir)/ijs-config -+ $(INSTALL) libijs.a $(DESTDIR)$(libdir)/libijs.a -+ $(INSTALL) libijs$(SHARED_OBJ) $(DESTDIR)$(libdir)/libijs$(SHARED_OBJ) -+ -mkdir $(DESTDIR)$(pkgincludedir) -+ $(INSTALL) ijs.h $(DESTDIR)$(pkgincludedir)/ijs.h -+ $(INSTALL) ijs_client.h $(DESTDIR)$(pkgincludedir)/ijs_client.h -+ $(INSTALL) ijs_server.h $(DESTDIR)$(pkgincludedir)/ijs_server.h - - uninstall: - $(RM) $(bindir)/ijs_client_example$(EXE) $(bindir)/ijs-config $(libdir)/libijs.a $(libdir)/libijs$(SHARED_OBJ) diff --git a/app-text/ghostscript/files/gs7.07.1-krgb.patch.gz b/app-text/ghostscript/files/gs7.07.1-krgb.patch.gz Binary files differdeleted file mode 100644 index 4588236cfe9a..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-krgb.patch.gz +++ /dev/null diff --git a/app-text/ghostscript/files/gs7.07.1-nogtk2.patch b/app-text/ghostscript/files/gs7.07.1-nogtk2.patch deleted file mode 100644 index 23ede7580133..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-nogtk2.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- src/unix-dll.mak.org 2004-12-14 15:58:05.499565376 +0100 -+++ src/unix-dll.mak 2004-12-14 15:58:33.871252224 +0100 -@@ -66,8 +66,8 @@ - - # Build the small Ghostscript loaders, with Gtk+ and without - --$(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c -- $(GLCC) -g `gtk-config --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `gtk-config --libs` -+#$(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c -+# $(GLCC) -g `gtk-config --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `gtk-config --libs` - - $(GSSOC_XE): $(GS_SO) $(GLSRC)dxmainc.c - $(GLCC) -g -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS) -@@ -87,7 +87,7 @@ - - # Normal shared object - so: SODIRS -- $(MAKE) $(SODEFS) CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' prefix=$(prefix) $(GSSOC) $(GSSOX) -+ $(MAKE) $(SODEFS) CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' prefix=$(prefix) $(GSSOC) - - # Debug shared object - # Note that this is in the same directory as the normal shared -@@ -103,7 +103,6 @@ - -mkdir -p $(DESTDIR)$(bindir) - -mkdir -p $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME) -- $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME) - $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR) - $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME) - ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME) diff --git a/app-text/ghostscript/files/gs7.07.1-ps2ps.patch b/app-text/ghostscript/files/gs7.07.1-ps2ps.patch deleted file mode 100644 index 0cacb4bad647..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-ps2ps.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/ps2ps.org 2005-03-16 13:22:27.000000000 +0100 -+++ lib/ps2ps 2005-03-16 13:22:44.000000000 +0100 -@@ -6,7 +6,7 @@ - while true - do - case "$1" in -- -*) OPTIONS="$OPTIONS $1" ;; -+ -?*) OPTIONS="$OPTIONS $1" ;; - *) break ;; - esac - shift diff --git a/app-text/ghostscript/files/gs7.07.1-tempfile.patch b/app-text/ghostscript/files/gs7.07.1-tempfile.patch deleted file mode 100644 index 2dcca5360f17..000000000000 --- a/app-text/ghostscript/files/gs7.07.1-tempfile.patch +++ /dev/null @@ -1,105 +0,0 @@ -diff -ur espgs-7.07.1.orig/lib/pj-gs.sh espgs-7.07.1/lib/pj-gs.sh ---- espgs-7.07.1.orig/lib/pj-gs.sh 2002-04-23 13:58:36.000000000 +0200 -+++ espgs-7.07.1/lib/pj-gs.sh 2004-09-13 10:04:00.000000000 +0200 -@@ -241,6 +241,7 @@ - then - /usr/lib/lprcat $Nofilter $Nolabel $file PCL1 $user $dev - else -+ TEMPFILE=`mktemp -t pjXXXXXX` || exit 1 - type=`file $file | sed 's/^[^:]*..//'` - case "$type" in - postscript*) -@@ -251,22 +252,22 @@ - # - # gs -q -sDEVICE=paintjet -r180 -sOutputFile=- -dDISKFONTS -dNOPAUSE - < $file 2>/tmp/sh$$ - -- gs -q -sDEVICE=paintjet -r180 -sOutputFile=/tmp/pj$$ -dDISKFONTS -dNOPAUSE - < $file 1>2 -- cat /tmp/pj$$ -- rm /tmp/pj$$ -+ gs -q -sDEVICE=paintjet -r180 -sOutputFile=$TEMPFILE -dDISKFONTS -dNOPAUSE - < $file 1>2 -+ cat $TEMPFILE -+ rm $TEMPFILE - needff= - ;; -- *) cat "$file" 2>/tmp/sh$$ -+ *) cat "$file" 2>$TEMPFILE - needff=1 - ;; - esac - -- if [ -s /tmp/sh$$ ] -+ if [ -s $TEMPFILE ] - then - # cat /tmp/sh$$ # output any errors -- cat /tmp/sh$$ 1>2 # output any errors -+ cat $TEMPFILE 1>2 # output any errors - fi -- rm -f /tmp/sh$$ -+ rm -f $TEMPFILE - if [ $needff ]; then echo "\014\r\c"; fi - fi - -diff -ur espgs-7.07.1.orig/lib/ps2epsi espgs-7.07.1/lib/ps2epsi ---- espgs-7.07.1.orig/lib/ps2epsi 2003-09-02 20:01:31.000000000 +0200 -+++ espgs-7.07.1/lib/ps2epsi 2004-09-13 10:05:31.000000000 +0200 -@@ -1,12 +1,7 @@ - #!/bin/sh - # $Id: gs7.07.1-tempfile.patch,v 1.1 2004/10/07 15:14:44 lanius Exp $ - --tmpfile=/tmp/ps2epsi$$ --rm -f $tmpfile --if test -e $tmpfile; then -- echo "$0: Our temporary file $tmpfile already exists." 1>&2 -- exit 1 --fi -+tmpfile=`mktemp -t ps2epsiXXXXXX` || exit 1 - trap "rm -rf $tmpfile" 0 1 2 3 7 13 15 - - export outfile -diff -ur espgs-7.07.1.orig/lib/pv.sh espgs-7.07.1/lib/pv.sh ---- espgs-7.07.1.orig/lib/pv.sh 2002-04-23 13:58:36.000000000 +0200 -+++ espgs-7.07.1/lib/pv.sh 2004-09-13 10:08:01.000000000 +0200 -@@ -29,9 +29,10 @@ - PAGE=$1 - shift - FILE=$1 -+TEMPFILE=`mktemp -t ${FILE}XXXXXX` || exit 1 - shift --trap "rm -rf $TEMPDIR/$FILE.$$.pv" 0 1 2 15 -+trap "rm -rf $TEMPFILE" 0 1 2 15 - #dvips -D$RESOLUTION -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv --dvips -p $PAGE -n 1 $FILE $* -o $FILE.$$.pv --gs $FILE.$$.pv -+dvips -p $PAGE -n 1 $FILE $* -o $TEMPFILE -+gs $TEMPFILE - exit 0 -diff -ur espgs-7.07.1.orig/lib/sysvlp.sh espgs-7.07.1/lib/sysvlp.sh ---- espgs-7.07.1.orig/lib/sysvlp.sh 2002-04-23 13:58:37.000000000 +0200 -+++ espgs-7.07.1/lib/sysvlp.sh 2004-09-13 10:14:46.000000000 +0200 -@@ -27,20 +27,23 @@ - # Brother HL-4: switch to HP laserjet II+ emulation - # echo "\033\015H\c" - -+TEMPDIR=`mktemp -td sysvlp.XXXXXX` || exit 1 -+ - i=1 - while [ $i -le $copies ] - do - for file in $files - do - $GSHOME/gs \ -- -sOUTPUTFILE=/tmp/psp$$.%02d \ -+ -sOUTPUTFILE=$TEMPDIR/psp$$.%02d \ - -sDEVICE=$DEVICE \ - $EHANDLER $file \ - < /dev/null >> /usr/tmp/ps_log 2>&1 - -- cat /tmp/psp$$.* 2>> /usr/tmp/ps_log -- rm -f /tmp/psp$$.* -+ cat $TEMPDIR/psp$$.* 2>> /usr/tmp/ps_log -+ rm -f $TEMPDIR/psp$$.* - done - i=`expr $i + 1` - done -+rmdir $TEMPDIR - exit 0 diff --git a/app-text/ghostscript/ghostscript-7.07.1-r10.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r10.ebuild deleted file mode 100644 index c7c9975ba7d2..000000000000 --- a/app-text/ghostscript/ghostscript-7.07.1-r10.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.07.1-r10.ebuild,v 1.7 2005/12/29 03:14:50 vapier Exp $ - -inherit flag-o-matic eutils toolchain-funcs libtool - -DESCRIPTION="ESP Ghostscript -- an enhanced version of GNU Ghostscript with better printer support" -HOMEPAGE="http://www.cups.org/ghostscript.php" -SRC_URI="mirror://sourceforge/espgs/espgs-${PV}-source.tar.bz2 - cjk? ( http://www.matsusaka-u.ac.jp/mirror/gs-cjk/adobe-cmaps-200204.tar.gz - http://www.matsusaka-u.ac.jp/mirror/gs-cjk/acro5-cmaps-2001.tar.gz )" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="X cups cjk emacs gtk" - -DEP="virtual/libc - >=media-libs/jpeg-6b - >=media-libs/libpng-1.2.1 - >=sys-libs/zlib-1.1.4 - X? ( || ( ( - x11-libs/libX11 - x11-libs/libXt ) - virtual/x11 ) ) - gtk? ( >=x11-libs/gtk+-2.0 ) - cups? ( net-print/cups ) - !virtual/ghostscript" - -RDEPEND="${DEP} - cjk? ( media-fonts/arphicfonts - media-fonts/kochi-substitute - media-fonts/baekmuk-fonts ) - X? ( || ( ( - x11-libs/libXt - x11-libs/libSM - x11-libs/libICE - x11-libs/libXau - x11-libs/libXdmcp ) - virtual/x11 ) ) - media-fonts/gnu-gs-fonts-std" - -DEPEND="${DEP} - X? ( || ( ( - x11-proto/xproto ) - virtual/x11 ) ) - gtk? ( dev-util/pkgconfig )" - -# media-libs/fontconfig" - -S=${WORKDIR}/espgs-${PV} - -PROVIDE="virtual/ghostscript" - -src_unpack() { - unpack espgs-${PV}-source.tar.bz2 - - cd ${S} - - if use ppc-macos; then - epatch ${FILESDIR}/gs-osx-unix-dll.patch - cp src/unix-gcc.mak Makefile.in - sed -i -e "s:SHARE_JPEG=0:SHARE_JPEG=1:" Makefile.in || die - sed -i -e "s:SHARE_ZLIB=0:SHARE_ZLIB=1:" Makefile.in || die - sed -i -e "s:SHARE_LIBPNG=0:SHARE_LIBPNG=1:" Makefile.in || die - sed -i -e "s:usr/local:usr:" Makefile.in || die - fi - - if use cjk ; then - epatch ${FILESDIR}/gs7.07.1-cjk.diff - #this causes gs error; bug #90009 - #sed -i -e '/;$/s/^%//g' ${S}/lib/CIDFnmap.CJK || die - - epatch ${FILESDIR}/ghostscript-7.07-bigposttable.patch - epatch ${FILESDIR}/ghostscript-7.07-gsublookuptable.patch - epatch ${FILESDIR}/ghostscript-7.07-coverage-glyphcount.patch - epatch ${FILESDIR}/ghostscript-7.07-fix_rename_font_gs_cidfn.ps.patch - epatch ${FILESDIR}/ghostscript-7.07-fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch - fi - - # add fontconfig support (this patch is broken) - # epatch ${FILESDIR}/gs7.07.1-fontconfig-rh.patch.2.bz2 - - #100808 - epatch ${FILESDIR}/${P}-64bit-cmyk.patch - - # man page patch from absinthe@pobox.com (Dylan Carlson) bug #14150 - epatch ${FILESDIR}/ghostscript-7.05.6.man.patch - - # ijs fPIC patch - epatch ${FILESDIR}/gs${PV}-ijs.patch - - # pxl dash patch - epatch ${FILESDIR}/gs7.05.6-gdevpx.patch - - # Makefile.in fixes for DESTDIR support in libijs because - # einstall borks on multilib systems -- eradicator - epatch ${FILESDIR}/gs${PV}-destdir.patch - epatch ${FILESDIR}/gs${PV}-ijsdestdir.patch - - use ppc-macos && epatch ${FILESDIR}/gs-osx-ijs.patch - - # search path fix - sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.07/$(get_libdir):"\ - Makefile.in || die "sed failed" - sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \ - Makefile.in || die "sed failed" - - # insecure tempfile handling - epatch ${FILESDIR}/gs${PV}-tempfile.patch - - # krgb support (currently broken) - #( cd src; epatch ${FILESDIR}/gs7.07.1-krgb.patch.gz ) - - # Fix the garbage collector on ia64 and ppc - epatch ${FILESDIR}/gs-fix-gc.patch - - # bug #63435 - epatch ${FILESDIR}/gs${PV}-ps2ps.patch - - # fix dynamic build - echo '#include "png.h"' >> src/png_.h - - # fix for building with gtk2 instead of gtk1 - if use gtk; then - sed -i -e "s:gmodule:gmodule-2.0:" configure.ac - sed -i -e "s:glib-config:pkgconfig:" configure.ac - sed -i -e "s:gtk-config:pkg-config gtk+-2.0:g" src/unix-dll.mak - sed -i -e "s:CFLAGS_SO=-fPIC:CFLAGS_SO=-fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include:" Makefile.in - else - epatch ${FILESDIR}/gs${PV}-nogtk2.patch - fi -} - -src_compile() { - local myconf - myconf="--with-ijs --without-gimp-print" - use gtk && myconf="${myconf} --with-omni" || myconf="${myconf} --without-omni" - - # bug #56998, only compiled-in fontpath is searched when running - # gs -DPARANOIDSAFER out.ps - myconf="${myconf} --with-fontconfig --with-fontpath=/usr/share/fonts:/usr/share/fonts/ttf/zh_TW:/usr/share/fonts/ttf/zh_CN:/usr/share/fonts/arphicfonts:/usr/share/fonts/ttf/korean/baekmuk:/usr/share/fonts/baekmuk-fonts:/usr/X11R6/lib/X11/fonts/truetype:/usr/share/fonts/kochi-substitute" - - use X && myconf="${myconf} --with-x" \ - || myconf="${myconf} --without-x" - - use cups && myconf="${myconf} --enable-cups" \ - || myconf="${myconf} --disable-cups" - - # -O3 will make ghostscript fail when compiling with gcc 3.4 - if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ] - then - strip-flags - replace-flags -O? -O2 - fi - - autoconf - econf ${myconf} || die "econf failed" - emake -j1 || die "make failed" - emake so -j1 || die "make failed" - - cd ijs - econf || die "econf failed" - emake -j1 || die "make failed" - cd .. -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - make DESTDIR="${D}" soinstall || die "make install failed" - - rm -fr ${D}/usr/share/ghostscript/7.07/doc || die - dodoc doc/README doc/COPYING doc/COPYING.LGPL - dohtml doc/*.html doc/*.htm - - if use emacs; then - insinto /usr/share/emacs/site-lisp - doins doc/gsdoc.el - fi - - if use cjk ; then - dodir /usr/share/ghostscript/Resource - dodir /usr/share/ghostscript/Resource/Font - dodir /usr/share/ghostscript/Resource/CIDFont - cd ${D}/usr/share/ghostscript/Resource - unpack adobe-cmaps-200204.tar.gz - unpack acro5-cmaps-2001.tar.gz - fi - - # Install ijs - cd ${S}/ijs - dodir /usr/bin /usr/include /usr/$(get_libdir) - # This is broken - there are not even a 'install_prefix' - # anywhere in ${S}/ijs ... - #einstall install_prefix=${D} - #einstall - #dosed "s:^prefix=.*:prefix=/usr:" /usr/bin/ijs-config - make DESTDIR="${D}" install || die - - # bug #83876, collision with gcc - rm -f ${D}/usr/share/man/de/man1/ansi2knr.1 - rm -f ${D}/usr/share/man/man1/ansi2knr.1 -} diff --git a/app-text/ghostscript/ghostscript-7.07.1-r7.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r7.ebuild deleted file mode 100644 index d34d161baa7c..000000000000 --- a/app-text/ghostscript/ghostscript-7.07.1-r7.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.07.1-r7.ebuild,v 1.24 2005/05/22 15:36:33 swegener Exp $ - -inherit flag-o-matic eutils toolchain-funcs - -DESCRIPTION="ESP Ghostscript -- an enhanced version of GNU Ghostscript with better printer support" -HOMEPAGE="http://www.cups.org/ghostscript.php" -SRC_URI="mirror://sourceforge/espgs/espgs-${PV}-source.tar.bz2 - cjk? ( http://www.matsusaka-u.ac.jp/mirror/gs-cjk/adobe-cmaps-200204.tar.gz - http://www.matsusaka-u.ac.jp/mirror/gs-cjk/acro5-cmaps-2001.tar.gz )" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86" -IUSE="X cups cjk emacs" - -RDEPEND="virtual/libc - >=media-libs/jpeg-6b - >=media-libs/libpng-1.2.1 - >=sys-libs/zlib-1.1.4 - X? ( virtual/x11 ) - cjk? ( media-fonts/arphicfonts - media-fonts/kochi-substitute - media-fonts/baekmuk-fonts ) - cups? ( net-print/cups ) - !virtual/ghostscript - media-libs/fontconfig - media-fonts/gnu-gs-fonts-std" - -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -S=${WORKDIR}/espgs-${PV} - -PROVIDE="virtual/ghostscript" - -src_unpack() { - unpack espgs-${PV}-source.tar.bz2 - - cd ${S} - - if use cjk ; then - epatch ${FILESDIR}/gs7.07.1-cjk.diff.bz2 - epatch ${FILESDIR}/gs7.05.6-kochi-substitute.patch - fi - - # add fontconfig support - epatch ${FILESDIR}/gs7.07.1-fontconfig-rh.patch.2.bz2 - - # man page patch from absinthe@pobox.com (Dylan Carlson) bug #14150 - epatch ${FILESDIR}/ghostscript-7.05.6.man.patch - - # ijs fPIC patch - epatch ${FILESDIR}/gs${PV}-ijs.patch - - # pxl dash patch - epatch ${FILESDIR}/gs7.05.6-gdevpx.patch - - # Makefile.in fixes for DESTDIR support in libijs because - # einstall borks on multilib systems -- eradicator - epatch ${FILESDIR}/gs${PV}-destdir.patch - epatch ${FILESDIR}/gs${PV}-ijsdestdir.patch - - # search path fix - sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.07/$(get_libdir):"\ - Makefile.in || die "sed failed" - sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \ - Makefile.in || die "sed failed" - - # insecure tempfile handling - epatch ${FILESDIR}/gs${PV}-tempfile.patch - - # krgb support - cd src - epatch ${FILESDIR}/gs7.07.1-krgb.patch.gz - - # Fix the garbage collector on ia64 and ppc - epatch ${FILESDIR}/gs-fix-gc.patch -} - -src_compile() { - local myconf - myconf="--with-ijs --with-omni --without-gimp-print" - - # bug #56998, only compiled-in fontpath is searched when running - # gs -DPARANOIDSAFER out.ps - myconf="${myconf} --with-fontconfig --with-fontpath=/usr/share/fonts:/usr/share/fonts/ttf/zh_TW:/usr/share/fonts/ttf/zh_CN:/usr/share/fonts/arphicfonts:/usr/share/fonts/ttf/korean/baekmuk:/usr/share/fonts/baekmuk-fonts:/usr/X11R6/lib/X11/fonts/truetype:/usr/share/fonts/kochi-substitute" - - use X && myconf="${myconf} --with-x" \ - || myconf="${myconf} --without-x" - - use cups && myconf="${myconf} --enable-cups" \ - || myconf="${myconf} --disable-cups" - - # -O3 will make ghostscript fail when compiling with gcc 3.4 - if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ] - then - strip-flags - replace-flags -O? -O2 - fi - - autoconf - econf ${myconf} || die "econf failed" - emake -j1 || die "make failed" - - cd ijs - econf || die "econf failed" - emake -j1 || die "make failed" - cd .. -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - - rm -fr ${D}/usr/share/ghostscript/7.07/doc || die - dodoc doc/README doc/COPYING doc/COPYING.LGPL - dohtml doc/*.html doc/*.htm - - if use emacs; then - insinto /usr/share/emacs/site-lisp - doins doc/gsdoc.el - fi - - if use cjk ; then - dodir /usr/share/ghostscript/Resource - dodir /usr/share/ghostscript/Resource/Font - dodir /usr/share/ghostscript/Resource/CIDFont - cd ${D}/usr/share/ghostscript/Resource - unpack adobe-cmaps-200204.tar.gz - unpack acro5-cmaps-2001.tar.gz - fi - - # Install ijs - cd ${S}/ijs - dodir /usr/bin /usr/include /usr/$(get_libdir) - # This is broken - there are not even a 'install_prefix' - # anywhere in ${S}/ijs ... - #einstall install_prefix=${D} - #einstall - #dosed "s:^prefix=.*:prefix=/usr:" /usr/bin/ijs-config - make DESTDIR="${D}" install || die - - # bug #83876, collision with gcc - rm -f ${D}/usr/share/man/de/man1/ansi2knr.1 - rm -f ${D}/usr/share/man/man1/ansi2knr.1 -} diff --git a/app-text/ghostscript/ghostscript-7.07.1-r8.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r8.ebuild deleted file mode 100644 index 09837fc62fe2..000000000000 --- a/app-text/ghostscript/ghostscript-7.07.1-r8.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.07.1-r8.ebuild,v 1.17 2005/12/29 03:14:50 vapier Exp $ - -inherit flag-o-matic eutils toolchain-funcs libtool - -DESCRIPTION="ESP Ghostscript -- an enhanced version of GNU Ghostscript with better printer support" -HOMEPAGE="http://www.cups.org/ghostscript.php" -SRC_URI="mirror://sourceforge/espgs/espgs-${PV}-source.tar.bz2 - cjk? ( http://www.matsusaka-u.ac.jp/mirror/gs-cjk/adobe-cmaps-200204.tar.gz - http://www.matsusaka-u.ac.jp/mirror/gs-cjk/acro5-cmaps-2001.tar.gz )" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ~ppc-macos ppc64 s390 sh sparc x86" -IUSE="X cups cjk emacs gtk" - -DEP="virtual/libc - >=media-libs/jpeg-6b - >=media-libs/libpng-1.2.1 - >=sys-libs/zlib-1.1.4 - X? ( virtual/x11 ) - gtk? ( >=x11-libs/gtk+-2.0 ) - cups? ( net-print/cups ) - !virtual/ghostscript" - -RDEPEND="${DEP} - cjk? ( media-fonts/arphicfonts - media-fonts/kochi-substitute - media-fonts/baekmuk-fonts ) - media-fonts/gnu-gs-fonts-std" - -DEPEND="${DEP} - gtk? ( dev-util/pkgconfig )" - -# media-libs/fontconfig" - -S=${WORKDIR}/espgs-${PV} - -PROVIDE="virtual/ghostscript" - -src_unpack() { - unpack espgs-${PV}-source.tar.bz2 - - cd ${S} - - if use ppc-macos; then - epatch ${FILESDIR}/gs-osx-unix-dll.patch - cp src/unix-gcc.mak Makefile.in - sed -i -e "s:SHARE_JPEG=0:SHARE_JPEG=1:" Makefile.in || die - sed -i -e "s:SHARE_ZLIB=0:SHARE_ZLIB=1:" Makefile.in || die - sed -i -e "s:SHARE_LIBPNG=0:SHARE_LIBPNG=1:" Makefile.in || die - sed -i -e "s:usr/local:usr:" Makefile.in || die - fi - - if use cjk ; then - epatch ${FILESDIR}/gs7.07.1-cjk.diff.bz2 - epatch ${FILESDIR}/gs7.05.6-kochi-substitute.patch - fi - - # add fontconfig support (this patch is broken) - # epatch ${FILESDIR}/gs7.07.1-fontconfig-rh.patch.2.bz2 - - # man page patch from absinthe@pobox.com (Dylan Carlson) bug #14150 - epatch ${FILESDIR}/ghostscript-7.05.6.man.patch - - # ijs fPIC patch - epatch ${FILESDIR}/gs${PV}-ijs.patch - - # pxl dash patch - epatch ${FILESDIR}/gs7.05.6-gdevpx.patch - - # Makefile.in fixes for DESTDIR support in libijs because - # einstall borks on multilib systems -- eradicator - epatch ${FILESDIR}/gs${PV}-destdir.patch - epatch ${FILESDIR}/gs${PV}-ijsdestdir.patch - - use ppc-macos && epatch ${FILESDIR}/gs-osx-ijs.patch - - # search path fix - sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.07/$(get_libdir):"\ - Makefile.in || die "sed failed" - sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \ - Makefile.in || die "sed failed" - - # insecure tempfile handling - epatch ${FILESDIR}/gs${PV}-tempfile.patch - - # krgb support (currently broken) - #( cd src; epatch ${FILESDIR}/gs7.07.1-krgb.patch.gz ) - - # Fix the garbage collector on ia64 and ppc - epatch ${FILESDIR}/gs-fix-gc.patch - - # bug #63435 - epatch ${FILESDIR}/gs${PV}-ps2ps.patch - - # fix dynamic build - echo '#include "png.h"' >> src/png_.h - - # fix for building with gtk2 instead of gtk1 - if use gtk; then - sed -i -e "s:gmodule:gmodule-2.0:" configure.ac - sed -i -e "s:glib-config:pkgconfig:" configure.ac - sed -i -e "s:gtk-config:pkg-config gtk+-2.0:g" src/unix-dll.mak - sed -i -e "s:CFLAGS_SO=-fPIC:CFLAGS_SO=-fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include:" Makefile.in - else - epatch ${FILESDIR}/gs${PV}-nogtk2.patch - fi -} - -src_compile() { - local myconf - myconf="--with-ijs --without-gimp-print" - use gtk && myconf="${myconf} --with-omni" || myconf="${myconf} --without-omni" - - # bug #56998, only compiled-in fontpath is searched when running - # gs -DPARANOIDSAFER out.ps - myconf="${myconf} --with-fontconfig --with-fontpath=/usr/share/fonts:/usr/share/fonts/ttf/zh_TW:/usr/share/fonts/ttf/zh_CN:/usr/share/fonts/arphicfonts:/usr/share/fonts/ttf/korean/baekmuk:/usr/share/fonts/baekmuk-fonts:/usr/X11R6/lib/X11/fonts/truetype:/usr/share/fonts/kochi-substitute" - - use X && myconf="${myconf} --with-x" \ - || myconf="${myconf} --without-x" - - use cups && myconf="${myconf} --enable-cups" \ - || myconf="${myconf} --disable-cups" - - # -O3 will make ghostscript fail when compiling with gcc 3.4 - if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ] - then - strip-flags - replace-flags -O? -O2 - fi - - autoconf - econf ${myconf} || die "econf failed" - emake -j1 || die "make failed" - emake so -j1 || die "make failed" - - cd ijs - econf || die "econf failed" - emake -j1 || die "make failed" - cd .. -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - make DESTDIR="${D}" soinstall || die "make install failed" - - rm -fr ${D}/usr/share/ghostscript/7.07/doc || die - dodoc doc/README doc/COPYING doc/COPYING.LGPL - dohtml doc/*.html doc/*.htm - - if use emacs; then - insinto /usr/share/emacs/site-lisp - doins doc/gsdoc.el - fi - - if use cjk ; then - dodir /usr/share/ghostscript/Resource - dodir /usr/share/ghostscript/Resource/Font - dodir /usr/share/ghostscript/Resource/CIDFont - cd ${D}/usr/share/ghostscript/Resource - unpack adobe-cmaps-200204.tar.gz - unpack acro5-cmaps-2001.tar.gz - fi - - # Install ijs - cd ${S}/ijs - dodir /usr/bin /usr/include /usr/$(get_libdir) - # This is broken - there are not even a 'install_prefix' - # anywhere in ${S}/ijs ... - #einstall install_prefix=${D} - #einstall - #dosed "s:^prefix=.*:prefix=/usr:" /usr/bin/ijs-config - make DESTDIR="${D}" install || die - - # bug #83876, collision with gcc - rm -f ${D}/usr/share/man/de/man1/ansi2knr.1 - rm -f ${D}/usr/share/man/man1/ansi2knr.1 -} diff --git a/app-text/ghostscript/metadata.xml b/app-text/ghostscript/metadata.xml deleted file mode 100644 index 1fa0ca569505..000000000000 --- a/app-text/ghostscript/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>printing</herd> -</pkgmetadata> |