dlete ghostscript

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1066 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-04-18 06:02:11 +00:00
parent 51209e68f8
commit 932da654b1
5 changed files with 0 additions and 539 deletions

View File

@ -1,345 +0,0 @@
# ChangeLog for app-text/ghostscript-gpl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gpl/ChangeLog,v 1.63 2009/02/06 00:06:30 tgurr Exp $
*ghostscript-gpl-8.64 (06 Feb 2009)
06 Feb 2009; Timo Gurr <tgurr@gentoo.org> -ghostscript-gpl-8.61-r1.ebuild,
+ghostscript-gpl-8.64.ebuild:
Version bump. Adds support for libpaper. Don't install gsc anymore in
favor of gambit (bug #253064).
*ghostscript-gpl-8.63-r1 (16 Jan 2009)
16 Jan 2009; Timo Gurr <tgurr@gentoo.org> +ghostscript-gpl-8.63-r1.ebuild:
Revbump adding workaround for broken parallel install (bug #234378). Fix
pre-stripping and respecting ldflags in X11.so (bug #215913, thanks Kevin
Pyle for the patch).
17 Dec 2008; Markus Meier <maekke@gentoo.org> ghostscript-gpl-8.63.ebuild:
amd64 stable, bug #249871
11 Dec 2008; Jeroen Roovers <jer@gentoo.org> ghostscript-gpl-8.63.ebuild:
Stable for HPPA (bug #249871).
10 Dec 2008; Raúl Porcel <armin76@gentoo.org>
ghostscript-gpl-8.63.ebuild:
alpha/arm/ia64/x86 stable wrt #249871
10 Dec 2008; Ferris McCormick <fmccor@gentoo.org>
ghostscript-gpl-8.63.ebuild:
Sparc stable --- Bug #249871 --- fine for four months.
08 Dec 2008; Brent Baude <ranger@gentoo.org> ghostscript-gpl-8.63.ebuild:
stable ppc64, bug 249871
06 Dec 2008; Tobias Scherbaum <dertobi123@gentoo.org>
ghostscript-gpl-8.63.ebuild:
ppc stable, bug #249871
31 Oct 2008; Christian Faulhammer <opfer@gentoo.org>
ghostscript-gpl-8.61-r1.ebuild, ghostscript-gpl-8.62.ebuild,
ghostscript-gpl-8.63.ebuild:
don't inherit elisp-common, bug 184167
27 Sep 2008; Raúl Porcel <armin76@gentoo.org>
ghostscript-gpl-8.62.ebuild:
arm stable wrt #224531
14 Aug 2008; Timo Gurr <tgurr@gentoo.org> ghostscript-gpl-8.63.ebuild:
Use upstream patch for the cairo automagic.
*ghostscript-gpl-8.63 (08 Aug 2008)
08 Aug 2008; Timo Gurr <tgurr@gentoo.org> -ghostscript-gpl-8.61-r2.ebuild,
-ghostscript-gpl-8.61-r3.ebuild, +ghostscript-gpl-8.63.ebuild:
Version bump. Remove old.
07 Jun 2008; Raúl Porcel <armin76@gentoo.org>
ghostscript-gpl-8.62.ebuild:
ia64/sparc stable wrt #224531
07 Jun 2008; nixnut <nixnut@gentoo.org> ghostscript-gpl-8.62.ebuild:
Stable on ppc wrt bug 224531
05 Jun 2008; Tobias Klausmann <klausman@gentoo.org>
ghostscript-gpl-8.62.ebuild:
Stable on alpha, bug #224531
04 Jun 2008; Dawid Węgliński <cla@gentoo.org>
ghostscript-gpl-8.62.ebuild:
Stable on x86/amd64 (bug #224531)
04 Jun 2008; Markus Rothe <corsair@gentoo.org>
ghostscript-gpl-8.62.ebuild:
Stable on ppc64; bug #224531
02 Jun 2008; Jeroen Roovers <jer@gentoo.org> ghostscript-gpl-8.62.ebuild:
Stable for HPPA (bug #224531).
*ghostscript-gpl-8.62 (04 Mar 2008)
04 Mar 2008; Timo Gurr <tgurr@gentoo.org> +ghostscript-gpl-8.62.ebuild:
Add ghostscript-gpl-8.62.ebuild, remove patches which got fixed upstream.
Reintroduce jasper dependency and make ghostscript use the system jasper,
thanks for the patch goes to Fedora.
01 Mar 2008; Raúl Porcel <armin76@gentoo.org>
ghostscript-gpl-8.61-r3.ebuild:
alpha/ia64 stable wrt #208999
*ghostscript-gpl-8.61-r3 (29 Feb 2008)
29 Feb 2008; <pva@gentoo.org> +ghostscript-gpl-8.61-r3.ebuild:
Fixed security issue (CVE-2008-0411), bug #208999, thank Robert Buchholz for
report and coordination.
15 Feb 2008; Timo Gurr <tgurr@gentoo.org>
-files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk,
-files/ghostscript-esp-8.15.2-cidfmap.cjk,
-files/ghostscript-afpl-8.54-big-cmap-post.patch,
-files/ghostscript-afpl-8.54-cups-destdir.diff,
-files/ghostscript-afpl-8.54-cups-lib.patch,
-files/ghostscript-afpl-8.54-destdir.diff,
-files/ghostscript-afpl-8.54-gtk2.patch,
-files/ghostscript-afpl-8.54-ps2epsi-afpl.diff,
-files/ghostscript-afpl-8.54-rinkj.patch,
-files/ghostscript-afpl-8.54-segfault.patch,
-files/ghostscript-afpl-8.57-cups-lib.patch,
-files/ghostscript-8.60-fPIC.patch,
-files/ghostscript-8.60-ijs-krgb.patch,
-files/ghostscript-8.60-include.patch,
-files/ghostscript-8.60-multilib.patch,
-files/ghostscript-8.60-noopt.patch,
-files/ghostscript-8.60-scripts.patch, -files/djvu-gs-gpl-8.60.patch,
-files/ghostscript-CVE-2007-2721.patch, -files/djvu-gs-gpl.patch,
-files/gdevcups.patch, -files/gdevhl12-hl1250.mak:
Clean out old ghostscript-gpl patches, everything has been moved into a
patch tarball.
*ghostscript-gpl-8.61-r2 (15 Feb 2008)
15 Feb 2008; Timo Gurr <tgurr@gentoo.org> +ghostscript-gpl-8.61-r2.ebuild:
Add ghostscript-gpl-8.61-r2.ebuild, fixes bug #197993, partially fixes bug
#206893. Bumped to the latest hpijs patch and also include a fix for
upstream bug #689577.
23 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
-ghostscript-gpl-8.54.ebuild, -ghostscript-gpl-8.54-r1.ebuild,
-ghostscript-gpl-8.57-r1.ebuild, -ghostscript-gpl-8.60-r1.ebuild,
ghostscript-gpl-8.61-r1.ebuild:
clean up and readd sparc-fbsd
23 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
ghostscript-gpl-8.61-r1.ebuild:
stable amd64, bug 202217
08 Jan 2008; Jeroen Roovers <jer@gentoo.org>
ghostscript-gpl-8.61-r1.ebuild:
Stable for HPPA (bug #202217).
08 Jan 2008; Raúl Porcel <armin76@gentoo.org>
ghostscript-gpl-8.61-r1.ebuild:
alpha/ia64/sparc stable wrt #202217
03 Jan 2008; Brent Baude <ranger@gentoo.org>
ghostscript-gpl-8.61-r1.ebuild:
Marking ghostscript-gpl-8.61-r1 ppc64 for bug 202217
03 Jan 2008; Brent Baude <ranger@gentoo.org>
ghostscript-gpl-8.61-r1.ebuild:
Marking ghostscript-gpl-8.61-r1 ppc for bug 202217
03 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
ghostscript-gpl-8.61-r1.ebuild:
stable x86, bug 202217
*ghostscript-gpl-8.61-r1 (03 Dec 2007)
03 Dec 2007; Timo Gurr <tgurr@gentoo.org> -ghostscript-gpl-8.61.ebuild,
+ghostscript-gpl-8.61-r1.ebuild:
Add ghostscript-gpl-8.61-r1.ebuild, fixes bug #200906.
*ghostscript-gpl-8.61 (30 Nov 2007)
30 Nov 2007; Timo Gurr <tgurr@gentoo.org> -ghostscript-gpl-8.60.ebuild,
+ghostscript-gpl-8.61.ebuild:
Add ghostscript-gpl-8.61.ebuild, fixes bug #200383. Remove a vulnerable 8.60
version.
10 Nov 2007; Markus Rothe <corsair@gentoo.org>
ghostscript-gpl-8.60-r1.ebuild:
Stable on ppc64; bug #197346
06 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org>
ghostscript-gpl-8.60-r1.ebuild:
Stable on amd64 wrt bug #196860.
06 Nov 2007; Markus Rothe <corsair@gentoo.org>
ghostscript-gpl-8.60-r1.ebuild:
Added ~ppc64; bug #197346
05 Nov 2007; Tobias Scherbaum <dertobi123@gentoo.org>
ghostscript-gpl-8.60-r1.ebuild:
ppc stable, bug #196860
05 Nov 2007; Jeroen Roovers <jer@gentoo.org>
ghostscript-gpl-8.60-r1.ebuild:
Stable for HPPA (bug #196860).
04 Nov 2007; Markus Meier <maekke@gentoo.org>
ghostscript-gpl-8.60-r1.ebuild:
x86 stable, security bug #196860
03 Nov 2007; Raúl Porcel <armin76@gentoo.org>
ghostscript-gpl-8.60-r1.ebuild:
alpha/ia64 stable wrt #197346
03 Nov 2007; Ferris McCormick <fmccor@gentoo.org>
ghostscript-gpl-8.60-r1.ebuild:
Sparc stable --- security Bug #196860 --- no problems seen
02 Nov 2007; Lars Weiler <pylon@gentoo.org> ghostscript-gpl-8.60.ebuild:
stable ppc, bug #197346
*ghostscript-gpl-8.60-r1 (02 Nov 2007)
*ghostscript-gpl-8.57-r1 (02 Nov 2007)
*ghostscript-gpl-8.54-r1 (02 Nov 2007)
02 Nov 2007; Timo Gurr <tgurr@gentoo.org>
+files/ghostscript-CVE-2007-2721.patch, +ghostscript-gpl-8.54-r1.ebuild,
-ghostscript-gpl-8.57.ebuild, +ghostscript-gpl-8.57-r1.ebuild,
+ghostscript-gpl-8.60-r1.ebuild:
Revbump adding the patch to fix CVE-2007-2721 in all available versions, see
bug #196860. Also fix bug #197818, thanks Sven for reporting.
01 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
ghostscript-gpl-8.60.ebuild:
stable x86, bug 197346
31 Oct 2007; Jeroen Roovers <jer@gentoo.org> ghostscript-gpl-8.60.ebuild:
Stable for HPPA (bug #197346).
29 Oct 2007; Daniel Gryniewicz <dang@gentoo.org>
ghostscript-gpl-8.60.ebuild:
Marked stable on amd64 for bug #197346
29 Oct 2007; Ferris McCormick <fmccor@gentoo.org>
ghostscript-gpl-8.60.ebuild:
Sparc stable --- Bug #197346 --- has been good for quite some time.
23 Oct 2007; Timo Gurr <tgurr@gentoo.org>
files/ghostscript-8.60-include.patch, ghostscript-gpl-8.60.ebuild:
Add missing fontconfig dependency and fix bug #196289 with a corrected
upstream patch, thanks Sebastian for reporting.
19 Oct 2007; Timo Gurr <tgurr@gentoo.org>
+files/ghostscript-8.60-include.patch, ghostscript-gpl-8.60.ebuild:
Ebuild cleanup, added missing dependency and fix bug #196289.
*ghostscript-gpl-8.60 (17 Oct 2007)
17 Oct 2007; Timo Gurr <tgurr@gentoo.org>
+files/ghostscript-8.60-fPIC.patch,
+files/ghostscript-8.60-ijs-krgb.patch,
+files/ghostscript-8.60-multilib.patch,
+files/ghostscript-8.60-noopt.patch,
+files/ghostscript-8.60-scripts.patch, +files/djvu-gs-gpl-8.60.patch,
+ghostscript-gpl-8.60.ebuild:
Add ghostscript-gpl-8.60, first release with ghostscript-esp merged. Fixes
bug #187502.
15 Aug 2007; Ferris McCormick <fmccor@gentoo.org> ChangeLog:
That's Bug #187280 we need the ~sparc keyword for, of course. This cures it.
15 Aug 2007; Ferris McCormick <fmccor@gentoo.org>
ghostscript-gpl-8.57.ebuild:
Add ~sparc keyword. Builds as expected, gv works, and this also fixes Bug
#187502 --- needed in preparation of retiring ghostscript-esp.
13 Jul 2007; Roy Marples <uberlord@gentoo.org>
ghostscript-gpl-8.57.ebuild:
Keyworded ~sparc-fbsd
04 Jul 2007; Stefan Schweizer <genstef@gentoo.org>
ghostscript-gpl-8.54.ebuild, ghostscript-gpl-8.57.ebuild:
Drop emacs support thanks opfer in bug 184167
*ghostscript-gpl-8.57 (12 Jun 2007)
12 Jun 2007; Stefan Schweizer <genstef@gentoo.org>
+files/ghostscript-afpl-8.57-cups-lib.patch, +ghostscript-gpl-8.57.ebuild:
Version bump thanks to jakub, hkbst and Timo Gurr <psy@monsterserver.de>, see bug 171847
- only build djvu support w/ USE="-bindist" (see
http://djvu.sourceforge.net/gsdjvu/COPYING for reasons), adjust LICENSE
accordingly, adjust IUSE accordingly
- Fix SRC_URI and S for new tarball name
- add loads of quoting all over the place
fixed upstream:
ghostscript-afpl-8.54-ps2epsi-afpl.diff - fixed in 8.57
ghostscript-afpl-8.54-destdir.diff - fixed in 8.57
ghostscript-afpl-8.54-segfault.patch - fixed in 8.57
ghostscript-afpl-8.54-gtk2.patch - seems to be fixed in 8.57
updated/still needed patches:
ghostscript-afpl-8.56-cups-lib.patch - updated patch
ghostscript-afpl-8.54-rinkj.patch - not fixed, still needed
still needed addon patches
ghostscript-afpl-8.54-cups-destdir.diff - still needed
gdevcups.patch - still needed
djvu-gs-gpl.patch - still needed
failing/commented out patches:
ghostscript-afpl-8.54-big-cmap-post.patch - does not apply, couldn't find any
references on http://bugs.ghostscript.com/ about what this patch is good for
14 Dec 2006; Stefan Schweizer <genstef@gentoo.org>
+files/djvu-gs-gpl.patch, ghostscript-gpl-8.54.ebuild:
Add hacked up djvu fix for -gpl for bug 158079
12 Dec 2006; Stefan Schweizer <genstef@gentoo.org>
ghostscript-gpl-8.54.ebuild:
Add djvu support, fix emake -j1 bug 147998 for phreak
04 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
ghostscript-gpl-8.54.ebuild:
Add missing libXext dep thanks to jkt in bug 153976
22 Sep 2006; Stefan Schweizer <genstef@gentoo.org>
ghostscript-gpl-8.54.ebuild:
automake fixes #148368.
14 Sep 2006; Stefan Schweizer <genstef@gentoo.org>
ghostscript-gpl-8.54.ebuild:
properly fix bug 142802 thanks to Nick Cunningham <nick@burstfire.net> and
pylon in bug 145985
02 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
ghostscript-gpl-8.54.ebuild:
Add ~x86-fbsd keyword, fixing deptree for virtual/ghostscript.
30 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
ghostscript-gpl-8.54.ebuild:
add STDDIRS to make targets to fix parallel build issues thanks to Bruno
Roggeri <bruno.roggeri@metz.supelec.fr> in bug 142802
*ghostscript-gpl-8.54 (27 Jun 2006)
27 Jun 2006; Stefan Schweizer <genstef@gentoo.org>
+files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk,
+files/ghostscript-esp-8.15.2-cidfmap.cjk,
+files/ghostscript-afpl-8.54-big-cmap-post.patch,
+files/ghostscript-afpl-8.54-cups-destdir.diff,
+files/ghostscript-afpl-8.54-cups-lib.patch,
+files/ghostscript-afpl-8.54-destdir.diff,
+files/ghostscript-afpl-8.54-gtk2.patch,
+files/ghostscript-afpl-8.54-ps2epsi-afpl.diff,
+files/ghostscript-afpl-8.54-rinkj.patch,
+files/ghostscript-afpl-8.54-segfault.patch, +files/gdevcups.patch,
+files/gdevhl12-hl1250.mak, +metadata.xml, +ghostscript-gpl-8.54.ebuild:
Move ghostscript-afpl to ghostscript-gpl and change the license, thanks to
Ernst Rohlicek <ernst.rohlicek@inode.at> in bug 137289

View File

@ -1,9 +0,0 @@
AUX ghostscript-gpl-8.64-as-needed.diff 469 RMD160 50ff768cffbe0947c378894c82b319823aa1afa6 SHA1 5c669b62b16ad5709b90db446122313af19b6404 SHA256 24bcc800d2f17287de9e28c3ad73fd087e240e0e59c98837dd6d291cc94529ab
DIST acro5-cmaps-2001.tar.gz 631653 RMD160 c723afc2207157a434988b46bcf0a458281c29a4 SHA1 fbc8715eae880f59e2251ae8fa99f79fbcfbd3e5 SHA256 80abec481fd4b5e59ac3d3f5790542dbfabe3c9269a6ac17064160d6dab38ee4
DIST adobe-cmaps-200406.tar.gz 5001983 RMD160 284b943b3476f6f7e2bc49842fd027c6f7f57552 SHA1 b846292af4541d907dd9041e397c2f1d8c72a056 SHA256 0f397255506cda4b20e362ab5e3f6cdacba09e0a0cca7f4d93afd980977c5689
DIST ghostscript-8.64.tar.bz2 16921504 RMD160 565134dcfe1e823b435c3761461c5eb394bd633c SHA1 4c2a6e04145428d35da73fbc4db9c66a75e336e0 SHA256 012f7fec58480c728580836fec6f865588d8a33fe8ada7ae73b1f971440d02bb
DIST ghostscript-gpl-8.64-patchset-1.tar.bz2 4009 RMD160 6b87d20650cf27662f791c4a6646cd0a6c5ed217 SHA1 8606a9e83530fdd8217087b5538a636d66af47a2 SHA256 f1150ff1b78b8ded58b675acd7d6be9893f07f5e3fc16a98752628d3759fbf2f
DIST gsdjvu-1.3.tar.gz 204330 RMD160 a6d2326ba9098e801000b957ab5508e998e17be8 SHA1 67fcbd72ae229ff68a5d0cc482d4179e3957df61 SHA256 7702fd287cd881a8b1e7911f780c10f98e332b3a6cd93dd35b245d5816b09ca2
EBUILD ghostscript-gpl-8.64.ebuild 5199 RMD160 f4bb200165707ae951d426f4387eafd256646126 SHA1 ccb6b0605ccb53e1976c2fea52a0bed9b16a80b7 SHA256 73445d333eebb23da4c78e15b1c2226ffbf855292f8a6667240d21d2c7ada81f
MISC ChangeLog 12867 RMD160 43da4941628e3793aa83444a94df726d3dcd2de8 SHA1 9df011a4f0b802209d93182ac1de48f39543ed76 SHA256 e12b09e89ea1becca25c26e5d3b65b68708c8d97f1085385b9661f969e41b302
MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76

View File

@ -1,11 +0,0 @@
--- ghostscript-8.64/cups/cups.mak.1 2009-02-07 16:47:21.000000000 +0100
+++ ghostscript-8.64/cups/cups.mak 2009-02-07 16:53:31.000000000 +0100
@@ -49,7 +49,7 @@
pdftoraster_=cups/pdftoraster.c
$(PDFTORASTER_XE): $(pdftoraster_)
- $(GLCC) `cups-config --image --libs` -DBINDIR='"$(bindir)"' -DGS='"$(GS)"' -o $@ $(pdftoraster_)
+ $(GLCC) $(LDFLAGS) -DBINDIR='"$(bindir)"' -DGS='"$(GS)"' -o $@ $(pdftoraster_) `cups-config --image --libs`
install: install-cups

View File

@ -1,169 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gpl/ghostscript-gpl-8.64.ebuild,v 1.1 2009/02/06 00:06:30 tgurr Exp $
inherit autotools eutils versionator flag-o-matic
DESCRIPTION="GPL Ghostscript - the most current Ghostscript, AFPL, relicensed."
HOMEPAGE="http://ghostscript.com/"
MY_P=${P/-gpl}
GSDJVU_PV=1.3
PVM=$(get_version_component_range 1-2)
SRC_URI="cjk? ( ftp://ftp.gyve.org/pub/gs-cjk/adobe-cmaps-200406.tar.gz
ftp://ftp.gyve.org/pub/gs-cjk/acro5-cmaps-2001.tar.gz )
!bindist? ( djvu? ( mirror://sourceforge/djvu/gsdjvu-${GSDJVU_PV}.tar.gz ) )
mirror://sourceforge/ghostscript/${MY_P}.tar.bz2
mirror://gentoo/${P}-patchset-1.tar.bz2"
LICENSE="GPL-2 CPL-1.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="bindist cairo cjk cups djvu gtk jpeg2k X"
COMMON_DEPEND="app-text/libpaper
media-libs/fontconfig
>=media-libs/jpeg-6b
>=media-libs/libpng-1.2.5
>=media-libs/tiff-3.7
>=sys-libs/zlib-1.1.4
!bindist? ( djvu? ( app-text/djvu ) )
cairo? ( >=x11-libs/cairo-1.2.0 )
cups? ( >=net-print/cups-1.3.8 )
gtk? ( >=x11-libs/gtk+-2.0 )
jpeg2k? ( media-libs/jasper )
X? ( x11-libs/libXt x11-libs/libXext )
!app-text/ghostscript-esp
!app-text/ghostscript-gnu"
DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"
RDEPEND="${COMMON_DEPEND}
cjk? ( media-fonts/arphicfonts
media-fonts/kochi-substitute
media-fonts/baekmuk-fonts )
media-fonts/gnu-gs-fonts-std"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A/adobe-cmaps-200406.tar.gz acro5-cmaps-2001.tar.gz}
if use cjk ; then
cat "${WORKDIR}/patches/ghostscript-esp-8.15.2-cidfmap.cjk" >> "${S}/lib/cidfmap"
cat "${WORKDIR}/patches/ghostscript-esp-8.15.2-FAPIcidfmap.cjk" >> "${S}/lib/FAPIcidfmap"
cd "${S}/Resource"
unpack adobe-cmaps-200406.tar.gz
unpack acro5-cmaps-2001.tar.gz
cd "${WORKDIR}"
fi
cd "${S}"
# remove internal copies of expat, jasper, jpeg, libpng and zlib
rm -rf "${S}/expat"
rm -rf "${S}/jasper"
rm -rf "${S}/jpeg"
rm -rf "${S}/libpng"
rm -rf "${S}/zlib"
# remove internal urw-fonts
rm -rf "${S}/Resource/Font"
# Fedora patches
# http://cvs.fedora.redhat.com/viewcvs/devel/ghostscript/
epatch "${WORKDIR}/patches/${PN}-8.64-fPIC.patch"
epatch "${WORKDIR}/patches/${PN}-8.61-multilib.patch"
epatch "${WORKDIR}/patches/${PN}-8.64-noopt.patch"
epatch "${WORKDIR}/patches/${PN}-8.64-scripts.patch"
epatch "${WORKDIR}/patches/${PN}-8.64-system-jasper.patch"
epatch "${WORKDIR}/patches/${PN}-8.64-pksmraw.patch"
# Gentoo patches
# respect LDFLAGS, bug #215913
epatch "${WORKDIR}/patches/${PN}-8.64-respect-ldflags.patch"
epatch "${FILESDIR}/${PN}-8.64-as-needed.diff"
if use bindist && use djvu ; then
ewarn "You have bindist in your USE, djvu support will NOT be compiled!"
ewarn "See http://djvu.sourceforge.net/gsdjvu/COPYING for details on licensing issues."
fi
if ! use bindist && use djvu ; then
unpack gsdjvu-${GSDJVU_PV}.tar.gz
cp gsdjvu-${GSDJVU_PV}/gsdjvu "${S}"
cp gsdjvu-${GSDJVU_PV}/gdevdjvu.c "${S}/base"
epatch "${WORKDIR}/patches/${PN}-8.64-gsdjvu-1.3.patch"
cp gsdjvu-${GSDJVU_PV}/ps2utf8.ps "${S}/lib"
cp "${S}/base/contrib.mak" "${S}/base/contrib.mak.gsdjvu"
grep -q djvusep "${S}/base/contrib.mak" || \
cat gsdjvu-${GSDJVU_PV}/gsdjvu.mak >> "${S}/base/contrib.mak"
# install ps2utf8.ps, bug #197818
sed -i -e '/$(EXTRA_INIT_FILES)/ a\ps2utf8.ps \\' "${S}/base/unixinst.mak" \
|| die "sed failed"
fi
if ! use gtk ; then
sed -i "s:\$(GSSOX)::" base/*.mak || die "gsx sed failed"
sed -i "s:.*\$(GSSOX_XENAME)$::" base/*.mak || die "gsxso sed failed"
fi
# search path fix
sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):" \
-e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \
-e "s:exdir=.*:exdir=/usr/share/doc/${PF}/examples:" \
-e "s:docdir=.*:docdir=/usr/share/doc/${PF}/html:" \
-e "s:GS_DOCDIR=.*:GS_DOCDIR=/usr/share/doc/${PF}/html:" \
base/Makefile.in base/*.mak || die "sed failed"
cd "${S}"
eautoreconf
cd "${S}/ijs"
eautoreconf
}
src_compile() {
econf \
$(use_enable cairo) \
$(use_enable cups) \
$(use_enable gtk) \
$(use_with jpeg2k jasper) \
$(use_with X x) \
--disable-compile-inits \
--enable-dynamic \
--enable-fontconfig \
--with-drivers=ALL \
--with-ijs \
--with-jbig2dec \
--with-libpaper
if ! use bindist && use djvu ; then
sed -i -e 's!$(DD)bbox.dev!& $(DD)djvumask.dev $(DD)djvusep.dev!g' Makefile
fi
emake -j1 so all || die "emake failed"
cd "${S}/ijs"
econf || die "ijs econf failed"
emake || die "ijs emake failed"
}
src_install() {
# parallel install is broken, bug #251066
emake -j1 DESTDIR="${D}" install-so install || die "emake install failed"
if ! use bindist && use djvu ; then
dobin gsdjvu || die "dobin gsdjvu install failed"
fi
# remove gsc in favor of gambit, bug #253064
rm -rf "${D}/usr/bin/gsc"
rm -rf "${D}/usr/share/doc/${PF}/html/"{README,PUBLIC}
dodoc doc/README || die "dodoc install failed"
cd "${S}/ijs"
emake DESTDIR="${D}" install || die "emake ijs install failed"
}

View File

@ -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>