1 |
aballier 08/10/02 10:16:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: luatex-0.30.0.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 dev-tex/luatex/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- ChangeLog 30 Sep 2008 17:28:47 -0000 1.5 |
23 |
+++ ChangeLog 2 Oct 2008 10:16:49 -0000 1.6 |
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.5 2008/09/30 17:28:47 aballier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.6 2008/10/02 10:16:49 aballier Exp $ |
29 |
+ |
30 |
+*luatex-0.30.0 (02 Oct 2008) |
31 |
+ |
32 |
+ 02 Oct 2008; Alexis Ballier <aballier@g.o> +luatex-0.30.0.ebuild: |
33 |
+ version bump |
34 |
|
35 |
30 Sep 2008; Alexis Ballier <aballier@g.o> luatex-0.29.0.ebuild: |
36 |
bump patchset to stop using xpdfVersion, it's not there anymore in latest |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-tex/luatex/luatex-0.30.0.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.30.0.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.30.0.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: luatex-0.30.0.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.0.ebuild,v 1.1 2008/10/02 10:16:49 aballier Exp $ |
50 |
|
51 |
inherit libtool multilib eutils toolchain-funcs |
52 |
|
53 |
PATCHLEVEL="3" |
54 |
|
55 |
DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language." |
56 |
HOMEPAGE="http://www.luatex.org/" |
57 |
SRC_URI="http://foundry.supelec.fr/frs/download.php/680/${PN}-beta-${PV}.tar.bz2 |
58 |
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~x86 ~x86-fbsd" |
63 |
IUSE="doc" |
64 |
|
65 |
RDEPEND="dev-tex/mplib |
66 |
dev-libs/zziplib |
67 |
media-libs/libpng |
68 |
app-text/poppler |
69 |
sys-libs/zlib" |
70 |
DEPEND="${RDEPEND} |
71 |
dev-util/pkgconfig" |
72 |
|
73 |
S="${WORKDIR}/${PN}-beta-${PV}/src" |
74 |
|
75 |
pkg_setup() { |
76 |
if ! built_with_use dev-tex/mplib lua ; then |
77 |
eerror "You need to build dev-tex/mplib with the lua useflag" |
78 |
eerror "${PN} requires mplib's lua bindings." |
79 |
die "Please install dev-tex/mplib with the lua useflag" |
80 |
fi |
81 |
} |
82 |
|
83 |
src_unpack() { |
84 |
unpack ${A} |
85 |
cd "${S}" |
86 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" |
87 |
elibtoolize |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
tc-export CC CXX AR RANLIB |
92 |
export NATIVE='.' |
93 |
mkdir -p "${WORKDIR}/${PN}-beta-${PV}/build" |
94 |
cd "${WORKDIR}/${PN}-beta-${PV}/build" |
95 |
ECONF_SOURCE="${S}" econf \ |
96 |
--without-cxx-runtime-hack \ |
97 |
--without-aleph \ |
98 |
--without-bibtex8 \ |
99 |
--without-cjkutils \ |
100 |
--without-detex \ |
101 |
--without-dialog \ |
102 |
--without-dtl \ |
103 |
--without-dvi2tty \ |
104 |
--without-dvidvi \ |
105 |
--without-dviljk \ |
106 |
--without-dvipdfm \ |
107 |
--without-dvipdfmx \ |
108 |
--without-dvipng \ |
109 |
--without-dvipos \ |
110 |
--without-dvipsk \ |
111 |
--without-etex \ |
112 |
--without-gsftopk \ |
113 |
--without-lacheck \ |
114 |
--without-lcdf-typetools \ |
115 |
--without-makeindexk \ |
116 |
--without-mkocp-default \ |
117 |
--without-mkofm-default \ |
118 |
--without-musixflx \ |
119 |
--without-omega \ |
120 |
--without-pdfopen \ |
121 |
--without-ps2eps \ |
122 |
--without-ps2pkm \ |
123 |
--without-psutils \ |
124 |
--without-sam2p \ |
125 |
--without-seetexk \ |
126 |
--without-t1utils \ |
127 |
--without-tetex \ |
128 |
--without-tex4htk \ |
129 |
--without-texi2html \ |
130 |
--without-texinfo \ |
131 |
--without-texlive \ |
132 |
--without-ttf2pk \ |
133 |
--without-tth \ |
134 |
--without-xdv2pdf \ |
135 |
--without-xdvik \ |
136 |
--without-xdvipdfmx \ |
137 |
--without-xetex \ |
138 |
--disable-largefile \ |
139 |
--with-system-zlib \ |
140 |
--with-system-pnglib |
141 |
|
142 |
cd "${WORKDIR}/${PN}-beta-${PV}/build/texk/web2c" |
143 |
emake \ |
144 |
LIBMPLIBDEP="/usr/$(get_libdir)/libmplib/mplib.la" \ |
145 |
LDZZIPLIB="$(pkg-config --libs zziplib)" ZZIPLIBINC="$(pkg-config --cflags zziplib)" \ |
146 |
LIBXPDFDEP="" LDLIBXPDF="$(pkg-config --libs poppler)" \ |
147 |
LIBXPDFINCLUDE="$(pkg-config --cflags poppler)" LIBXPDFCPPFLAGS="$(pkg-config --cflags poppler)" \ |
148 |
LIBPNGINCLUDES="$(pkg-config --cflags libpng)" \ |
149 |
ZLIBSRCDIR="." \ |
150 |
luatex || die "failed to build luatex" |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
cd "${WORKDIR}/${PN}-beta-${PV}/build/texk/web2c" |
155 |
emake bindir="${D}/usr/bin" \ |
156 |
LIBMPLIBDEP="/usr/$(get_libdir)/libmplib/mplib.la" \ |
157 |
LDZZIPLIB="$(pkg-config --libs zziplib)" ZZIPLIBINC="$(pkg-config --cflags zziplib)" \ |
158 |
LIBXPDFDEP="" LDLIBXPDF="$(pkg-config --libs poppler)" \ |
159 |
LIBXPDFINCLUDE="$(pkg-config --cflags poppler)" LIBXPDFCPPFLAGS="$(pkg-config --cflags poppler)" \ |
160 |
LIBPNGINCLUDES="$(pkg-config --cflags libpng)" \ |
161 |
ZLIBSRCDIR="." \ |
162 |
install-luatex || die "install-luatex failed" |
163 |
|
164 |
dodoc "${WORKDIR}/${PN}-beta-${PV}/README" |
165 |
if use doc ; then |
166 |
insinto /usr/share/doc/${PF} |
167 |
doins "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf |
168 |
fi |
169 |
} |
170 |
|
171 |
pkg_postinst() { |
172 |
if ! has_version '>=dev-texlive/texlive-basic-2008' ; then |
173 |
elog "Please note that this package does not install much files, mainly the" |
174 |
elog "${PN} executable that will need other files in order to be useful.." |
175 |
elog "Please consider installing a recent TeX distribution" |
176 |
elog "like TeX Live 2008 to get the full power of ${PN}" |
177 |
fi |
178 |
if [ "$ROOT" = "/" ] && [ -x /usr/bin/fmtutil-sys ] ; then |
179 |
einfo "Rebuilding formats" |
180 |
/usr/bin/fmtutil-sys --all &> /dev/null |
181 |
else |
182 |
ewarn "Cannot run fmtutil-sys for some reason." |
183 |
ewarn "Your formats might be inconsistent with your installed ${PN} version" |
184 |
ewarn "Please try to figure what has happened" |
185 |
fi |
186 |
} |