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.30.1.ebuild
Date: Mon, 13 Oct 2008 12:14:54
Message-Id: E1KpMK3-0000t8-2g@stork.gentoo.org
1 aballier 08/10/13 12:14:51
2
3 Modified: ChangeLog
4 Added: luatex-0.30.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.26.6 x86_64)
8
9 Revision Changes Path
10 1.11 dev-tex/luatex/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 6 Oct 2008 08:06:28 -0000 1.10
23 +++ ChangeLog 13 Oct 2008 12:14:51 -0000 1.11
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.10 2008/10/06 08:06:28 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.11 2008/10/13 12:14:51 aballier Exp $
29 +
30 +*luatex-0.30.1 (13 Oct 2008)
31 +
32 + 13 Oct 2008; Alexis Ballier <aballier@g.o> +luatex-0.30.1.ebuild:
33 + version bump
34
35 06 Oct 2008; Alexis Ballier <aballier@g.o> luatex-0.30.0.ebuild:
36 Push ~ppc to 0.30.0 too
37
38
39
40 1.1 dev-tex/luatex/luatex-0.30.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.30.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/luatex/luatex-0.30.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: luatex-0.30.1.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.1.ebuild,v 1.1 2008/10/13 12:14:51 aballier Exp $
50
51 EAPI="2"
52
53 inherit libtool multilib eutils toolchain-funcs
54
55 PATCHLEVEL="4"
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/683/${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 ~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 tc-export CC CXX AR RANLIB
84 export NATIVE='.'
85 mkdir -p "${WORKDIR}/${PN}-beta-${PV}/build"
86 cd "${WORKDIR}/${PN}-beta-${PV}/build"
87 ECONF_SOURCE="${S}" econf \
88 --without-cxx-runtime-hack \
89 --without-aleph \
90 --without-bibtex8 \
91 --without-cjkutils \
92 --without-detex \
93 --without-dialog \
94 --without-dtl \
95 --without-dvi2tty \
96 --without-dvidvi \
97 --without-dviljk \
98 --without-dvipdfm \
99 --without-dvipdfmx \
100 --without-dvipng \
101 --without-dvipos \
102 --without-dvipsk \
103 --without-etex \
104 --without-gsftopk \
105 --without-lacheck \
106 --without-lcdf-typetools \
107 --without-makeindexk \
108 --without-mkocp-default \
109 --without-mkofm-default \
110 --without-musixflx \
111 --without-omega \
112 --without-pdfopen \
113 --without-ps2eps \
114 --without-ps2pkm \
115 --without-psutils \
116 --without-sam2p \
117 --without-seetexk \
118 --without-t1utils \
119 --without-tetex \
120 --without-tex4htk \
121 --without-texi2html \
122 --without-texinfo \
123 --without-texlive \
124 --without-ttf2pk \
125 --without-tth \
126 --without-xdv2pdf \
127 --without-xdvik \
128 --without-xdvipdfmx \
129 --without-xetex \
130 --disable-largefile \
131 --with-system-zlib \
132 --with-system-pnglib
133 }
134
135 src_compile() {
136 cd "${WORKDIR}/${PN}-beta-${PV}/build/texk/web2c"
137 emake \
138 LIBMPLIBDEP="/usr/$(get_libdir)/libmplib/mplib.la" \
139 LDZZIPLIB="$(pkg-config --libs zziplib)" ZZIPLIBINC="$(pkg-config --cflags zziplib)" \
140 LIBXPDFDEP="" LDLIBXPDF="$(pkg-config --libs poppler)" \
141 LIBXPDFINCLUDE="$(pkg-config --cflags poppler)" LIBXPDFCPPFLAGS="$(pkg-config --cflags poppler)" \
142 LIBPNGINCLUDES="$(pkg-config --cflags libpng)" \
143 ZLIBSRCDIR="." \
144 luatex || die "failed to build luatex"
145 }
146
147 src_install() {
148 cd "${WORKDIR}/${PN}-beta-${PV}/build/texk/web2c"
149 emake bindir="${D}/usr/bin" \
150 LIBMPLIBDEP="/usr/$(get_libdir)/libmplib/mplib.la" \
151 LDZZIPLIB="$(pkg-config --libs zziplib)" ZZIPLIBINC="$(pkg-config --cflags zziplib)" \
152 LIBXPDFDEP="" LDLIBXPDF="$(pkg-config --libs poppler)" \
153 LIBXPDFINCLUDE="$(pkg-config --cflags poppler)" LIBXPDFCPPFLAGS="$(pkg-config --cflags poppler)" \
154 LIBPNGINCLUDES="$(pkg-config --cflags libpng)" \
155 ZLIBSRCDIR="." \
156 install-luatex || die "install-luatex failed"
157
158 dodoc "${WORKDIR}/${PN}-beta-${PV}/README"
159 if use doc ; then
160 insinto /usr/share/doc/${PF}
161 doins "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf
162 fi
163 }
164
165 pkg_postinst() {
166 if ! has_version '>=dev-texlive/texlive-basic-2008' ; then
167 elog "Please note that this package does not install much files, mainly the"
168 elog "${PN} executable that will need other files in order to be useful.."
169 elog "Please consider installing a recent TeX distribution"
170 elog "like TeX Live 2008 to get the full power of ${PN}"
171 fi
172 if [ "$ROOT" = "/" ] && [ -x /usr/bin/fmtutil-sys ] ; then
173 einfo "Rebuilding formats"
174 /usr/bin/fmtutil-sys --all &> /dev/null
175 else
176 ewarn "Cannot run fmtutil-sys for some reason."
177 ewarn "Your formats might be inconsistent with your installed ${PN} version"
178 ewarn "Please try to figure what has happened"
179 fi
180 }