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.40.5.ebuild
Date: Fri, 19 Jun 2009 21:50:05
Message-Id: E1MHlyF-0000UL-9G@stork.gentoo.org
1 aballier 09/06/19 21:50:03
2
3 Modified: ChangeLog
4 Added: luatex-0.40.5.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.29 dev-tex/luatex/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 23 May 2009 09:50:55 -0000 1.28
23 +++ ChangeLog 19 Jun 2009 21:50:03 -0000 1.29
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-tex/luatex
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.28 2009/05/23 09:50:55 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.29 2009/06/19 21:50:03 aballier Exp $
29 +
30 +*luatex-0.40.5 (19 Jun 2009)
31 +
32 + 19 Jun 2009; Alexis Ballier <aballier@g.o> +luatex-0.40.5.ebuild:
33 + version bump
34
35 23 May 2009; Alexis Ballier <aballier@g.o> luatex-0.30.3.ebuild:
36 Add a patch to build with glibc 2.10, getline redefinitions, by Constantin
37
38
39
40 1.1 dev-tex/luatex/luatex-0.40.5.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.40.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.40.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: luatex-0.40.5.ebuild
46 ===================================================================
47 # Copyright 1999-2009 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.40.5.ebuild,v 1.1 2009/06/19 21:50:03 aballier Exp $
50
51 EAPI="2"
52
53 inherit libtool multilib eutils toolchain-funcs autotools
54
55 PATCHLEVEL="11"
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/345/1287/${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 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
65 IUSE="doc"
66
67 RDEPEND="dev-libs/zziplib
68 media-libs/libpng
69 virtual/poppler
70 sys-libs/zlib"
71 DEPEND="${RDEPEND}
72 dev-util/pkgconfig"
73
74 S="${WORKDIR}/${PN}-beta-${PV}/source"
75 PRELIBS="libs/dummy libs/obsdcompat texk/kpathsea"
76 kpathsea_extraconf="--disable-shared"
77
78 src_prepare() {
79 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
80 eautoreconf
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 econf \
90 --disable-cxx-runtime-hack \
91 --disable-afm2pl \
92 --disable-aleph \
93 --disable-bibtex \
94 --disable-bibtex8 \
95 --disable-cfftot1 \
96 --disable-cjkutils \
97 --disable-detex \
98 --disable-devnag \
99 --disable-dialog \
100 --disable-dtl \
101 --enable-dump-share \
102 --disable-dvi2tty \
103 --disable-dvidvi \
104 --without-dviljk \
105 --disable-dvipdfm \
106 --disable-dvipdfmx \
107 --disable-dvipos \
108 --disable-dvipsk \
109 --disable-gsftopk \
110 --disable-lacheck \
111 --disable-lcdf-typetools \
112 --disable-makeindexk \
113 --disable-mf \
114 --disable-mmafm \
115 --disable-mmpfb \
116 --disable-mp \
117 --disable-musixflx \
118 --disable-otfinfo \
119 --disable-otftotfm \
120 --disable-pdfopen \
121 --disable-pdftex \
122 --disable-ps2eps \
123 --disable-ps2pkm \
124 --disable-psutils \
125 --disable-seetexk \
126 --disable-t1dotlessj \
127 --disable-t1lint \
128 --disable-t1rawafm \
129 --disable-t1reencode \
130 --disable-t1testpage \
131 --disable-t1utils \
132 --disable-tex \
133 --disable-tex4htk \
134 --disable-tpic2pdftex \
135 --disable-ttf2pk \
136 --disable-ttfdump \
137 --disable-ttftotype42 \
138 --disable-vlna \
139 --disable-web-progs \
140 --disable-xdv2pdf \
141 --disable-xdvipdfmx \
142 --without-system-kpathsea \
143 --with-system-gd \
144 --with-system-libpng \
145 --with-system-teckit \
146 --with-system-zlib \
147 --with-system-t1lib \
148 --with-system-xpdf \
149 --disable-largefile \
150 --disable-multiplatform \
151 --disable-shared \
152 --with-system-zlib \
153 --with-system-libpng
154 for i in ${PRELIBS} ; do
155 local j=$(basename $i)_extraconf
156 local myconf
157 eval myconf=\${$j}
158 cd "${S}/${i}"
159 econf ${myconf}
160 done
161 }
162
163 src_compile() {
164 for i in ${PRELIBS} ; do
165 cd "${S}/${i}"
166 emake || die "failed to build ${i}"
167 done
168 cd "${WORKDIR}/${PN}-beta-${PV}/source/texk"
169 emake || die "failed to build luatex"
170 }
171
172 src_install() {
173 cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c"
174 emake DESTDIR="${D}" bin_PROGRAMS="luatex" SUBDIRS="" nodist_man_MANS="" \
175 install || die
176
177 # Symlinks required by texlive
178 dosym luatex /usr/bin/texlua
179 dosym luatex /usr/bin/texluac
180
181 dodoc "${WORKDIR}/${PN}-beta-${PV}/README"
182 if use doc ; then
183 insinto /usr/share/doc/${PF}
184 doins "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf
185 fi
186 }
187
188 pkg_postinst() {
189 if ! has_version '>=dev-texlive/texlive-basic-2008' ; then
190 elog "Please note that this package does not install much files, mainly the"
191 elog "${PN} executable that will need other files in order to be useful.."
192 elog "Please consider installing a recent TeX distribution"
193 elog "like TeX Live 2008 to get the full power of ${PN}"
194 fi
195 if [ "$ROOT" = "/" ] && [ -x /usr/bin/fmtutil-sys ] ; then
196 einfo "Rebuilding formats"
197 /usr/bin/fmtutil-sys --all &> /dev/null
198 else
199 ewarn "Cannot run fmtutil-sys for some reason."
200 ewarn "Your formats might be inconsistent with your installed ${PN} version"
201 ewarn "Please try to figure what has happened"
202 fi
203 }