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