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