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