1 |
aballier 08/11/29 14:33:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: luatex-0.30.3.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.27.7 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.16 dev-tex/luatex/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.16&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.16&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?r1=1.15&r2=1.16 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v |
19 |
retrieving revision 1.15 |
20 |
retrieving revision 1.16 |
21 |
diff -u -r1.15 -r1.16 |
22 |
--- ChangeLog 18 Nov 2008 15:30:35 -0000 1.15 |
23 |
+++ ChangeLog 29 Nov 2008 14:33:39 -0000 1.16 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-tex/luatex |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.15 2008/11/18 15:30:35 fmccor Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.16 2008/11/29 14:33:39 aballier Exp $ |
29 |
+ |
30 |
+*luatex-0.30.3 (29 Nov 2008) |
31 |
+ |
32 |
+ 29 Nov 2008; Alexis Ballier <aballier@g.o> +luatex-0.30.3.ebuild: |
33 |
+ version bump |
34 |
|
35 |
18 Nov 2008; Ferris McCormick <fmccor@g.o> luatex-0.30.2.ebuild: |
36 |
Keyword for ~sparc, part of bug #237202, thanks to Friedrich Oslage (bluebird). |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-tex/luatex/luatex-0.30.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.30.3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.30.3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: luatex-0.30.3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 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.30.3.ebuild,v 1.1 2008/11/29 14:33:39 aballier Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
|
53 |
inherit libtool multilib eutils toolchain-funcs |
54 |
|
55 |
PATCHLEVEL="5" |
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/frs/download.php/699/${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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="doc" |
66 |
|
67 |
RDEPEND="dev-tex/mplib[lua] |
68 |
dev-libs/zziplib |
69 |
media-libs/libpng |
70 |
app-text/poppler |
71 |
sys-libs/zlib" |
72 |
DEPEND="${RDEPEND} |
73 |
dev-util/pkgconfig" |
74 |
|
75 |
S="${WORKDIR}/${PN}-beta-${PV}/src" |
76 |
|
77 |
src_prepare() { |
78 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" |
79 |
elibtoolize |
80 |
} |
81 |
|
82 |
src_configure() { |
83 |
# Too many regexps use A-Z a-z constructs, what causes problems with locales |
84 |
# that don't have the same alphabetical order than ascii. Bug #244619 |
85 |
# So we set LC_ALL to C in order to avoid problems. |
86 |
export LC_ALL=C |
87 |
tc-export CC CXX AR RANLIB |
88 |
export NATIVE='.' |
89 |
mkdir -p "${WORKDIR}/${PN}-beta-${PV}/build" |
90 |
cd "${WORKDIR}/${PN}-beta-${PV}/build" |
91 |
ECONF_SOURCE="${S}" econf \ |
92 |
--without-cxx-runtime-hack \ |
93 |
--without-aleph \ |
94 |
--without-bibtex8 \ |
95 |
--without-cjkutils \ |
96 |
--without-detex \ |
97 |
--without-dialog \ |
98 |
--without-dtl \ |
99 |
--without-dvi2tty \ |
100 |
--without-dvidvi \ |
101 |
--without-dviljk \ |
102 |
--without-dvipdfm \ |
103 |
--without-dvipdfmx \ |
104 |
--without-dvipng \ |
105 |
--without-dvipos \ |
106 |
--without-dvipsk \ |
107 |
--without-etex \ |
108 |
--without-gsftopk \ |
109 |
--without-lacheck \ |
110 |
--without-lcdf-typetools \ |
111 |
--without-makeindexk \ |
112 |
--without-mkocp-default \ |
113 |
--without-mkofm-default \ |
114 |
--without-musixflx \ |
115 |
--without-omega \ |
116 |
--without-pdfopen \ |
117 |
--without-ps2eps \ |
118 |
--without-ps2pkm \ |
119 |
--without-psutils \ |
120 |
--without-sam2p \ |
121 |
--without-seetexk \ |
122 |
--without-t1utils \ |
123 |
--without-tetex \ |
124 |
--without-tex4htk \ |
125 |
--without-texi2html \ |
126 |
--without-texinfo \ |
127 |
--without-texlive \ |
128 |
--without-ttf2pk \ |
129 |
--without-tth \ |
130 |
--without-xdv2pdf \ |
131 |
--without-xdvik \ |
132 |
--without-xdvipdfmx \ |
133 |
--without-xetex \ |
134 |
--disable-largefile \ |
135 |
--with-system-zlib \ |
136 |
--with-system-pnglib |
137 |
} |
138 |
|
139 |
src_compile() { |
140 |
cd "${WORKDIR}/${PN}-beta-${PV}/build/texk/web2c" |
141 |
emake \ |
142 |
LIBMPLIBDEP="/usr/$(get_libdir)/libmplib/mplib.la" \ |
143 |
LDZZIPLIB="$(pkg-config --libs zziplib)" ZZIPLIBINC="$(pkg-config --cflags zziplib)" \ |
144 |
LIBXPDFDEP="" LDLIBXPDF="$(pkg-config --libs poppler)" \ |
145 |
LIBXPDFINCLUDE="$(pkg-config --cflags poppler)" LIBXPDFCPPFLAGS="$(pkg-config --cflags poppler)" \ |
146 |
LIBPNGINCLUDES="$(pkg-config --cflags libpng)" \ |
147 |
ZLIBSRCDIR="." \ |
148 |
luatex || die "failed to build luatex" |
149 |
} |
150 |
|
151 |
src_install() { |
152 |
cd "${WORKDIR}/${PN}-beta-${PV}/build/texk/web2c" |
153 |
emake bindir="${D}/usr/bin" \ |
154 |
LIBMPLIBDEP="/usr/$(get_libdir)/libmplib/mplib.la" \ |
155 |
LDZZIPLIB="$(pkg-config --libs zziplib)" ZZIPLIBINC="$(pkg-config --cflags zziplib)" \ |
156 |
LIBXPDFDEP="" LDLIBXPDF="$(pkg-config --libs poppler)" \ |
157 |
LIBXPDFINCLUDE="$(pkg-config --cflags poppler)" LIBXPDFCPPFLAGS="$(pkg-config --cflags poppler)" \ |
158 |
LIBPNGINCLUDES="$(pkg-config --cflags libpng)" \ |
159 |
ZLIBSRCDIR="." \ |
160 |
install-luatex || die "install-luatex failed" |
161 |
|
162 |
dodoc "${WORKDIR}/${PN}-beta-${PV}/README" |
163 |
if use doc ; then |
164 |
insinto /usr/share/doc/${PF} |
165 |
doins "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf |
166 |
fi |
167 |
} |
168 |
|
169 |
pkg_postinst() { |
170 |
if ! has_version '>=dev-texlive/texlive-basic-2008' ; then |
171 |
elog "Please note that this package does not install much files, mainly the" |
172 |
elog "${PN} executable that will need other files in order to be useful.." |
173 |
elog "Please consider installing a recent TeX distribution" |
174 |
elog "like TeX Live 2008 to get the full power of ${PN}" |
175 |
fi |
176 |
if [ "$ROOT" = "/" ] && [ -x /usr/bin/fmtutil-sys ] ; then |
177 |
einfo "Rebuilding formats" |
178 |
/usr/bin/fmtutil-sys --all &> /dev/null |
179 |
else |
180 |
ewarn "Cannot run fmtutil-sys for some reason." |
181 |
ewarn "Your formats might be inconsistent with your installed ${PN} version" |
182 |
ewarn "Please try to figure what has happened" |
183 |
fi |
184 |
} |