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: luatex-0.70.1.ebuild ChangeLog
Date: Mon, 04 Jul 2011 17:42:52
Message-Id: 20110704174241.475562004B@flycatcher.gentoo.org
1 aballier 11/07/04 17:42:41
2
3 Modified: ChangeLog
4 Added: luatex-0.70.1.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.87 dev-tex/luatex/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.87&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.87&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/ChangeLog?r1=1.86&r2=1.87
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v
20 retrieving revision 1.86
21 retrieving revision 1.87
22 diff -u -r1.86 -r1.87
23 --- ChangeLog 15 Jun 2011 06:03:47 -0000 1.86
24 +++ ChangeLog 4 Jul 2011 17:42:41 -0000 1.87
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-tex/luatex
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.86 2011/06/15 06:03:47 naota Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.87 2011/07/04 17:42:41 aballier Exp $
30 +
31 +*luatex-0.70.1 (04 Jul 2011)
32 +
33 + 04 Jul 2011; Alexis Ballier <aballier@g.o> +luatex-0.70.1.ebuild:
34 + version bump
35
36 15 Jun 2011; Naohiro Aota <naota@g.o> luatex-0.65.0.ebuild:
37 Added ~x86-fbsd, bug #345317
38
39
40
41 1.1 dev-tex/luatex/luatex-0.70.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/luatex-0.70.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/luatex-0.70.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: luatex-0.70.1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.70.1.ebuild,v 1.1 2011/07/04 17:42:41 aballier Exp $
51
52 EAPI="2"
53
54 inherit libtool eutils
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/392/1730/${PN}-beta-${PV}.tar.bz2
59 http://foundry.supelec.fr/gf/download/frsrelease/392/1732/${PN}-beta-${PV}-doc.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
64 IUSE="doc"
65
66 RDEPEND="dev-libs/zziplib
67 >=media-libs/libpng-1.4
68 >=app-text/poppler-0.12.3-r3[xpdf-headers]
69 sys-libs/zlib
70 >=dev-libs/kpathsea-6.0.1_p20110627"
71 DEPEND="${RDEPEND}
72 dev-util/pkgconfig"
73
74 S="${WORKDIR}/${PN}-beta-${PV}/source"
75 PRELIBS="libs/obsdcompat"
76 #texk/kpathsea"
77 #kpathsea_extraconf="--disable-shared --disable-largefile"
78
79 src_prepare() {
80 S="${S}/build-aux" elibtoolize --shallow
81 }
82
83 src_configure() {
84 # Too many regexps use A-Z a-z constructs, what causes problems with locales
85 # that don't have the same alphabetical order than ascii. Bug #244619
86 # So we set LC_ALL to C in order to avoid problems.
87 export LC_ALL=C
88
89 local myconf
90 myconf=""
91 #has_version '>=app-text/texlive-core-2009' && myconf="--with-system-kpathsea"
92
93 cd "${S}/texk/web2c"
94 econf \
95 --disable-cxx-runtime-hack \
96 --disable-all-pkgs \
97 --disable-mp \
98 --disable-ptex \
99 --disable-tex \
100 --disable-mf \
101 --disable-largefile \
102 --disable-ipc \
103 --disable-shared \
104 --enable-luatex \
105 --enable-dump-share \
106 --without-mf-x-toolkit \
107 --without-x \
108 --with-system-kpathsea \
109 --with-system-gd \
110 --with-system-libpng \
111 --with-system-teckit \
112 --with-system-zlib \
113 --with-system-t1lib \
114 --with-system-xpdf \
115 --with-system-poppler \
116 --with-system-zziplib \
117 --disable-multiplatform \
118
119 for i in ${PRELIBS} ; do
120 einfo "Configuring $i"
121 local j=$(basename $i)_extraconf
122 local myconf
123 eval myconf=\${$j}
124 cd "${S}/${i}"
125 econf ${myconf}
126 done
127 }
128
129 src_compile() {
130 texk/web2c/luatexdir/getluatexsvnversion.sh || die
131 for i in ${PRELIBS} ; do
132 cd "${S}/${i}"
133 emake || die "failed to build ${i}"
134 done
135 cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c"
136 emake luatex || die "failed to build luatex"
137 }
138
139 src_install() {
140 cd "${WORKDIR}/${PN}-beta-${PV}/source/texk/web2c"
141 emake DESTDIR="${D}" bin_PROGRAMS="luatex" SUBDIRS="" nodist_man_MANS="" \
142 install-exec-am || die
143
144 dodoc "${WORKDIR}/${PN}-beta-${PV}/README" || die
145 doman "${WORKDIR}/texmf/doc/man/man1/"*.1 || die
146 if use doc ; then
147 dodoc "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf || die
148 dodoc "${WORKDIR}/texmf/doc/man/man1/"*.pdf || die
149 fi
150 }
151
152 pkg_postinst() {
153 if ! has_version '>=dev-texlive/texlive-basic-2008' ; then
154 elog "Please note that this package does not install much files, mainly the"
155 elog "${PN} executable that will need other files in order to be useful.."
156 elog "Please consider installing a recent TeX distribution"
157 elog "like TeX Live 2008 to get the full power of ${PN}"
158 fi
159 if [ "$ROOT" = "/" ] && [ -x /usr/bin/fmtutil-sys ] ; then
160 einfo "Rebuilding formats"
161 /usr/bin/fmtutil-sys --all &> /dev/null
162 else
163 ewarn "Cannot run fmtutil-sys for some reason."
164 ewarn "Your formats might be inconsistent with your installed ${PN} version"
165 ewarn "Please try to figure what has happened"
166 fi
167 }