Gentoo Archives: gentoo-commits

From: "Stefan Schweizer (genstef)" <genstef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/ghostscript-gnu: ChangeLog ghostscript-gnu-8.60.ebuild
Date: Sun, 21 Oct 2007 18:23:40
Message-Id: E1IjfI9-0006RZ-Vu@stork.gentoo.org
1 genstef 07/10/21 18:12:49
2
3 Modified: ChangeLog
4 Added: ghostscript-gnu-8.60.ebuild
5 Log:
6 version bump, bug 177659
7 (Portage version: 2.1.3.15)
8
9 Revision Changes Path
10 1.32 app-text/ghostscript-gnu/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ChangeLog?rev=1.32&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ChangeLog?rev=1.32&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ChangeLog?r1=1.31&r2=1.32
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v
19 retrieving revision 1.31
20 retrieving revision 1.32
21 diff -u -r1.31 -r1.32
22 --- ChangeLog 22 Jul 2007 10:18:54 -0000 1.31
23 +++ ChangeLog 21 Oct 2007 18:12:49 -0000 1.32
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-text/ghostscript-gnu
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v 1.31 2007/07/22 10:18:54 omp Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ChangeLog,v 1.32 2007/10/21 18:12:49 genstef Exp $
29 +
30 +*ghostscript-gnu-8.60 (21 Oct 2007)
31 +
32 + 21 Oct 2007; Stefan Schweizer <genstef@g.o>
33 + +ghostscript-gnu-8.60.ebuild:
34 + version bump, bug 177659
35
36 22 Jul 2007; David Shakaryan <omp@g.o> ghostscript-gnu-8.55.ebuild:
37 Remove virtual/x11 from dependencies.
38
39
40
41 1.1 app-text/ghostscript-gnu/ghostscript-gnu-8.60.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ghostscript-gnu-8.60.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gnu/ghostscript-gnu-8.60.ebuild,v 1.1 2007/10/21 18:12:49 genstef Exp $
51
52 WANT_AUTOMAKE=1.9
53
54 inherit autotools elisp-common eutils versionator flag-o-matic
55
56 DESCRIPTION="GNU Ghostscript - patched GPL Ghostscript"
57 HOMEPAGE="http://www.gnu.org/software/ghostscript/"
58
59 MY_P=gnu-ghostscript-${PV}
60 PVM=$(get_version_component_range 1-2)
61 SRC_URI="cjk? ( ftp://ftp.gyve.org/pub/gs-cjk/adobe-cmaps-200406.tar.gz
62 ftp://ftp.gyve.org/pub/gs-cjk/acro5-cmaps-2001.tar.gz )
63 mirror://gnu/ghostscript/${MY_P}.tar.bz2"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
68 IUSE="X cups cjk gtk jpeg2k"
69
70 DEP="virtual/libc
71 >=media-libs/jpeg-6b
72 >=media-libs/libpng-1.2.5
73 >=sys-libs/zlib-1.1.4
74 >=media-libs/tiff-3.7
75 X? ( x11-libs/libXt x11-libs/libXext )
76 gtk? ( >=x11-libs/gtk+-2.0 )
77 cups? ( >=net-print/cups-1.1.20 )
78 jpeg2k? ( media-libs/jasper )
79 !app-text/ghostscript-esp
80 !app-text/ghostscript-gpl"
81
82 RDEPEND="${DEP}
83 cjk? ( media-fonts/arphicfonts
84 media-fonts/kochi-substitute
85 media-fonts/baekmuk-fonts )
86 media-fonts/gnu-gs-fonts-std"
87
88 DEPEND="${DEP}
89 gtk? ( dev-util/pkgconfig )"
90
91 S=${WORKDIR}/${MY_P}
92
93
94 src_unpack() {
95 unpack ${A/adobe-cmaps-200406.tar.gz acro5-cmaps-2001.tar.gz}
96 if use cjk; then
97 cat "${FILESDIR}"/ghostscript-esp-8.15.2-cidfmap.cjk >> "${S}"/lib/cidfmap
98 cat "${FILESDIR}"/ghostscript-esp-8.15.2-FAPIcidfmap.cjk >> "${S}"/lib/FAPIcidfmap
99 cd "${S}"/Resource
100 unpack adobe-cmaps-200406.tar.gz
101 unpack acro5-cmaps-2001.tar.gz
102 cd ${WORKDIR}
103 fi
104
105 cd ${S}
106
107 # search path fix
108 sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):" \
109 -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \
110 -e "s:exdir=.*:exdir=/usr/share/doc/${PF}/examples:" \
111 -e "s:docdir=.*:docdir=/usr/share/doc/${PF}/html:" \
112 -e "s:GS_DOCDIR=.*:GS_DOCDIR=/usr/share/doc/${PF}/html:" \
113 Makefile.in src/*.mak || die "sed failed"
114 }
115
116 src_compile() {
117 econf $(use_with X x) \
118 $(use_with jpeg2k jasper) \
119 $(use_enable cups) \
120 $(use_enable gtk) \
121 --with-ijs \
122 --with-jbig2dec \
123 --disable-compile-inits \
124 --enable-dynamic \
125 || die "econf failed"
126
127 emake -j1 so all || die "emake failed"
128
129 cd ijs
130 econf || die "ijs econf failed"
131 emake || die "ijs emake failed"
132 }
133
134 src_install() {
135 emake DESTDIR="${D}" install-so install || die "emake install failed"
136
137 rm -fr "${D}"/usr/share/doc/${PF}/html/{README,PUBLIC}
138 dodoc doc/README
139
140 cd ${S}/ijs
141 emake DESTDIR="${D}" install || die "emake ijs install failed"
142 }
143
144
145
146 --
147 gentoo-commits@g.o mailing list