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.1.ebuild
Date: Mon, 03 May 2010 07:50:24
Message-Id: 20100503075018.75AE62C2FC@corvid.gentoo.org
1 aballier 10/05/03 07:50:18
2
3 Modified: ChangeLog
4 Added: luatex-0.60.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.66 dev-tex/luatex/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.66&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.66&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?r1=1.65&r2=1.66
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v
19 retrieving revision 1.65
20 retrieving revision 1.66
21 diff -u -r1.65 -r1.66
22 --- ChangeLog 27 Apr 2010 10:52:05 -0000 1.65
23 +++ ChangeLog 3 May 2010 07:50:18 -0000 1.66
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.65 2010/04/27 10:52:05 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.66 2010/05/03 07:50:18 aballier Exp $
29 +
30 +*luatex-0.60.1 (03 May 2010)
31 +
32 + 03 May 2010; Alexis Ballier <aballier@g.o> +luatex-0.60.1.ebuild:
33 + version bump
34
35 *luatex-0.60.0 (27 Apr 2010)
36
37
38
39
40 1.1 dev-tex/luatex/luatex-0.60.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.60.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.60.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: luatex-0.60.1.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.1.ebuild,v 1.1 2010/05/03 07:50:18 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/372/1465/${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 dev-util/pkgconfig"
74
75 S="${WORKDIR}/${PN}-beta-${PV}/source"
76 PRELIBS="libs/obsdcompat texk/kpathsea"
77 kpathsea_extraconf="--disable-shared --disable-largefile"
78
79 src_prepare() {
80 # EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
81 elibtoolize
82 }
83
84 src_configure() {
85 # Too many regexps use A-Z a-z constructs, what causes problems with locales
86 # that don't have the same alphabetical order than ascii. Bug #244619
87 # So we set LC_ALL to C in order to avoid problems.
88 export LC_ALL=C
89
90 local myconf
91 myconf=""
92 has_version '>=app-text/texlive-core-2009' && myconf="--with-system-kpathsea"
93
94 cd "${S}/texk/web2c"
95 econf \
96 --disable-cxx-runtime-hack \
97 --disable-afm2pl \
98 --disable-aleph \
99 --disable-bibtex \
100 --disable-bibtex8 \
101 --disable-cfftot1 \
102 --disable-cjkutils \
103 --disable-detex \
104 --disable-devnag \
105 --disable-dialog \
106 --disable-dtl \
107 --enable-dump-share \
108 --disable-dvi2tty \
109 --disable-dvidvi \
110 --without-dviljk \
111 --disable-dvipdfm \
112 --disable-dvipdfmx \
113 --disable-dvipos \
114 --disable-dvipsk \
115 --disable-gsftopk \
116 --disable-ipc \
117 --disable-lacheck \
118 --disable-lcdf-typetools \
119 --disable-makeindexk \
120 --disable-mf \
121 --disable-mmafm \
122 --disable-mmpfb \
123 --disable-mp \
124 --disable-musixflx \
125 --disable-otfinfo \
126 --disable-otftotfm \
127 --disable-pdfopen \
128 --disable-pdftex \
129 --disable-ps2eps \
130 --disable-ps2pkm \
131 --disable-psutils \
132 --disable-ptex \
133 --disable-seetexk \
134 --disable-t1dotlessj \
135 --disable-t1lint \
136 --disable-t1rawafm \
137 --disable-t1reencode \
138 --disable-t1testpage \
139 --disable-t1utils \
140 --disable-tex \
141 --disable-tex4htk \
142 --disable-tpic2pdftex \
143 --disable-ttf2pk \
144 --disable-ttfdump \
145 --disable-ttftotype42 \
146 --disable-vlna \
147 --disable-web-progs \
148 --disable-xdv2pdf \
149 --disable-xdvipdfmx \
150 --disable-xetex \
151 --without-x \
152 --without-system-kpathsea \
153 --with-system-gd \
154 --with-system-libpng \
155 --with-system-teckit \
156 --with-system-zlib \
157 --with-system-t1lib \
158 --with-system-xpdf \
159 --with-system-zziplib \
160 --disable-largefile \
161 --disable-multiplatform \
162 --disable-shared \
163 ${myconf}
164
165 for i in ${PRELIBS} ; do
166 einfo "Configuring $i"
167 local j=$(basename $i)_extraconf
168 local myconf
169 eval myconf=\${$j}
170 cd "${S}/${i}"
171 econf ${myconf}
172 done
173 }
174
175 src_compile() {
176 for i in ${PRELIBS} ; do
177 cd "${S}/${i}"
178 emake || die "failed to build ${i}"
179 done
180 cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c"
181 emake || die "failed to build luatex"
182 }
183
184 src_install() {
185 cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c"
186 emake DESTDIR="${D}" bin_PROGRAMS="luatex" SUBDIRS="" nodist_man_MANS="" \
187 install || die
188
189 dodoc "${WORKDIR}/${PN}-beta-${PV}/README"
190 if use doc ; then
191 insinto /usr/share/doc/${PF}
192 doins "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf
193 fi
194 }
195
196 pkg_postinst() {
197 if ! has_version '>=dev-texlive/texlive-basic-2008' ; then
198 elog "Please note that this package does not install much files, mainly the"
199 elog "${PN} executable that will need other files in order to be useful.."
200 elog "Please consider installing a recent TeX distribution"
201 elog "like TeX Live 2008 to get the full power of ${PN}"
202 fi
203 if [ "$ROOT" = "/" ] && [ -x /usr/bin/fmtutil-sys ] ; then
204 einfo "Rebuilding formats"
205 /usr/bin/fmtutil-sys --all &> /dev/null
206 else
207 ewarn "Cannot run fmtutil-sys for some reason."
208 ewarn "Your formats might be inconsistent with your installed ${PN} version"
209 ewarn "Please try to figure what has happened"
210 fi
211 }