Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/luatex: ChangeLog luatex-0.60.0.ebuild
Date: Tue, 27 Apr 2010 10:52:10
Message-Id: 20100427105205.95BAE2C04C@corvid.gentoo.org
1 aballier 10/04/27 10:52:05
2
3 Modified: ChangeLog
4 Added: luatex-0.60.0.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.65 dev-tex/luatex/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.65&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.65&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?r1=1.64&r2=1.65
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v
19 retrieving revision 1.64
20 retrieving revision 1.65
21 diff -u -r1.64 -r1.65
22 --- ChangeLog 12 Mar 2010 10:56:41 -0000 1.64
23 +++ ChangeLog 27 Apr 2010 10:52:05 -0000 1.65
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-tex/luatex
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.64 2010/03/12 10:56:41 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.65 2010/04/27 10:52:05 aballier Exp $
29 +
30 +*luatex-0.60.0 (27 Apr 2010)
31 +
32 + 27 Apr 2010; Alexis Ballier <aballier@g.o> +luatex-0.60.0.ebuild:
33 + version bump
34
35 12 Mar 2010; Alexis Ballier <aballier@g.o> luatex-0.50.0-r1.ebuild,
36 -files/luatex-0.50.0-m4-error.patch:
37
38
39
40 1.1 dev-tex/luatex/luatex-0.60.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.60.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.60.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: luatex-0.60.0.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/luatex-0.60.0.ebuild,v 1.1 2010/04/27 10:52:05 aballier Exp $
50
51 EAPI="2"
52
53 inherit libtool eutils
54
55 PATCHLEVEL="20"
56
57 DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language."
58 HOMEPAGE="http://www.luatex.org/"
59 SRC_URI="http://foundry.supelec.fr/gf/download/frsrelease/371/1455/${PN}-beta-${PV}.tar.bz2
60 mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
65 IUSE="doc"
66
67 RDEPEND="dev-libs/zziplib
68 media-libs/libpng
69 >=app-text/poppler-0.12.3-r3[xpdf-headers]
70 sys-libs/zlib
71 virtual/tex-base"
72 DEPEND="${RDEPEND}
73 >=sys-devel/autoconf-2.63
74 >=sys-devel/libtool-2.2.6
75 dev-util/pkgconfig"
76
77 S="${WORKDIR}/${PN}-beta-${PV}/source"
78 PRELIBS="libs/obsdcompat texk/kpathsea"
79 kpathsea_extraconf="--disable-shared --disable-largefile"
80
81 src_prepare() {
82 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
83 elibtoolize
84 }
85
86 src_configure() {
87 # Too many regexps use A-Z a-z constructs, what causes problems with locales
88 # that don't have the same alphabetical order than ascii. Bug #244619
89 # So we set LC_ALL to C in order to avoid problems.
90 export LC_ALL=C
91
92 local myconf
93 myconf=""
94 has_version '>=app-text/texlive-core-2009' && myconf="--with-system-kpathsea"
95
96 cd "${S}/texk/web2c"
97 econf \
98 --disable-cxx-runtime-hack \
99 --disable-afm2pl \
100 --disable-aleph \
101 --disable-bibtex \
102 --disable-bibtex8 \
103 --disable-cfftot1 \
104 --disable-cjkutils \
105 --disable-detex \
106 --disable-devnag \
107 --disable-dialog \
108 --disable-dtl \
109 --enable-dump-share \
110 --disable-dvi2tty \
111 --disable-dvidvi \
112 --without-dviljk \
113 --disable-dvipdfm \
114 --disable-dvipdfmx \
115 --disable-dvipos \
116 --disable-dvipsk \
117 --disable-gsftopk \
118 --disable-ipc \
119 --disable-lacheck \
120 --disable-lcdf-typetools \
121 --disable-makeindexk \
122 --disable-mf \
123 --disable-mmafm \
124 --disable-mmpfb \
125 --disable-mp \
126 --disable-musixflx \
127 --disable-otfinfo \
128 --disable-otftotfm \
129 --disable-pdfopen \
130 --disable-pdftex \
131 --disable-ps2eps \
132 --disable-ps2pkm \
133 --disable-psutils \
134 --disable-seetexk \
135 --disable-t1dotlessj \
136 --disable-t1lint \
137 --disable-t1rawafm \
138 --disable-t1reencode \
139 --disable-t1testpage \
140 --disable-t1utils \
141 --disable-tex \
142 --disable-tex4htk \
143 --disable-tpic2pdftex \
144 --disable-ttf2pk \
145 --disable-ttfdump \
146 --disable-ttftotype42 \
147 --disable-vlna \
148 --disable-web-progs \
149 --disable-xdv2pdf \
150 --disable-xdvipdfmx \
151 --disable-xetex \
152 --without-x \
153 --without-system-kpathsea \
154 --with-system-gd \
155 --with-system-libpng \
156 --with-system-teckit \
157 --with-system-zlib \
158 --with-system-t1lib \
159 --with-system-xpdf \
160 --with-system-zziplib \
161 --disable-largefile \
162 --disable-multiplatform \
163 --disable-shared \
164 ${myconf}
165
166 for i in ${PRELIBS} ; do
167 einfo "Configuring $i"
168 local j=$(basename $i)_extraconf
169 local myconf
170 eval myconf=\${$j}
171 cd "${S}/${i}"
172 econf ${myconf}
173 done
174 }
175
176 src_compile() {
177 for i in ${PRELIBS} ; do
178 cd "${S}/${i}"
179 emake || die "failed to build ${i}"
180 done
181 cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c"
182 emake || die "failed to build luatex"
183 }
184
185 src_install() {
186 cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c"
187 emake DESTDIR="${D}" bin_PROGRAMS="luatex" SUBDIRS="" nodist_man_MANS="" \
188 install || die
189
190 dodoc "${WORKDIR}/${PN}-beta-${PV}/README"
191 if use doc ; then
192 insinto /usr/share/doc/${PF}
193 doins "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf
194 fi
195 }
196
197 pkg_postinst() {
198 if ! has_version '>=dev-texlive/texlive-basic-2008' ; then
199 elog "Please note that this package does not install much files, mainly the"
200 elog "${PN} executable that will need other files in order to be useful.."
201 elog "Please consider installing a recent TeX distribution"
202 elog "like TeX Live 2008 to get the full power of ${PN}"
203 fi
204 if [ "$ROOT" = "/" ] && [ -x /usr/bin/fmtutil-sys ] ; then
205 einfo "Rebuilding formats"
206 /usr/bin/fmtutil-sys --all &> /dev/null
207 else
208 ewarn "Cannot run fmtutil-sys for some reason."
209 ewarn "Your formats might be inconsistent with your installed ${PN} version"
210 ewarn "Please try to figure what has happened"
211 fi
212 }