Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/luatex: ChangeLog luatex-0.76.0-r1.ebuild
Date: Wed, 30 Apr 2014 23:47:03
Message-Id: 20140430234658.40B7C2004C@flycatcher.gentoo.org
1 dilfridge 14/04/30 23:46:58
2
3 Modified: ChangeLog
4 Added: luatex-0.76.0-r1.ebuild
5 Log:
6 Add patch for building against poppler-0.26, bug 508890; without keywords for testing
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)
9
10 Revision Changes Path
11 1.137 dev-tex/luatex/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.137&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.137&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/ChangeLog?r1=1.136&r2=1.137
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v
20 retrieving revision 1.136
21 retrieving revision 1.137
22 diff -u -r1.136 -r1.137
23 --- ChangeLog 14 Aug 2013 11:24:49 -0000 1.136
24 +++ ChangeLog 30 Apr 2014 23:46:58 -0000 1.137
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-tex/luatex
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.136 2013/08/14 11:24:49 patrick Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.137 2014/04/30 23:46:58 dilfridge Exp $
31 +
32 +*luatex-0.76.0-r1 (30 Apr 2014)
33 +
34 + 30 Apr 2014; Andreas K. Huettel <dilfridge@g.o>
35 + +luatex-0.76.0-r1.ebuild, +files/poppler026.patch:
36 + Add patch for building against poppler-0.26, bug 508890; without keywords for
37 + testing
38
39 14 Aug 2013; Patrick Lauer <patrick@g.o> luatex-0.70.1-r2.ebuild:
40 Whitespace
41
42
43
44 1.1 dev-tex/luatex/luatex-0.76.0-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/luatex-0.76.0-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/luatex-0.76.0-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: luatex-0.76.0-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/luatex-0.76.0-r1.ebuild,v 1.1 2014/04/30 23:46:58 dilfridge Exp $
54
55 EAPI=5
56
57 inherit libtool eutils texlive-common
58
59 MY_P=${PN}-beta-${PV}
60 DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language."
61 HOMEPAGE="http://www.luatex.org/"
62 SRC_URI="
63 http://foundry.supelec.fr/frs/download.php/file/15745/${MY_P}-source.tar.bz2
64 http://foundry.supelec.fr/frs/download.php/file/15747/${MY_P}-doc.tar.bz2"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS=""
69 IUSE="doc"
70
71 RDEPEND="dev-libs/zziplib
72 >=media-libs/libpng-1.4:0=
73 >=x11-libs/cairo-1.12
74 >x11-libs/pixman-0.18
75 app-text/poppler:=[xpdf-headers(+)]
76 sys-libs/zlib
77 >=dev-libs/kpathsea-6.1.0_p20120701"
78 DEPEND="${RDEPEND}
79 virtual/pkgconfig"
80
81 S="${WORKDIR}/${MY_P}/source"
82
83 src_prepare() {
84 epatch "${FILESDIR}/remove-zlib-version-check.patch" \
85 "${FILESDIR}/includes.patch" \
86 "${FILESDIR}/poppler026.patch"
87 S="${S}/build-aux" elibtoolize --shallow
88 }
89
90 src_configure() {
91 # Too many regexps use A-Z a-z constructs, what causes problems with locales
92 # that don't have the same alphabetical order than ascii. Bug #244619
93 # So we set LC_ALL to C in order to avoid problems.
94 export LC_ALL=C
95
96 cd "${S}/texk/web2c"
97 econf \
98 --disable-cxx-runtime-hack \
99 --disable-all-pkgs \
100 --disable-mp \
101 --disable-ptex \
102 --disable-tex \
103 --disable-mf \
104 --disable-largefile \
105 --disable-ipc \
106 --disable-shared \
107 --enable-luatex \
108 --enable-dump-share \
109 --without-mf-x-toolkit \
110 --without-x \
111 --with-system-kpathsea \
112 --with-kpathsea-includes="${EPREFIX}"/usr/include \
113 --with-system-cairo \
114 --with-system-pixman \
115 --with-system-gd \
116 --with-system-libpng \
117 --with-system-teckit \
118 --with-system-zlib \
119 --with-system-t1lib \
120 --with-system-xpdf \
121 --with-system-poppler \
122 --with-system-zziplib \
123 --with-system-ptexenc \
124 --disable-multiplatform
125 }
126
127 src_compile() {
128 texk/web2c/luatexdir/getluatexsvnversion.sh || die
129 cd "${WORKDIR}/${MY_P}/source/texk/web2c"
130 emake luatex
131 }
132
133 src_install() {
134 cd "${WORKDIR}/${MY_P}/source/texk/web2c"
135 emake DESTDIR="${D}" bin_PROGRAMS="luatex" SUBDIRS="" nodist_man_MANS="" \
136 install-exec-am
137
138 dodoc "${WORKDIR}/${MY_P}/README" luatexdir/NEWS
139 cp source/texk/web2c/man
140 cp man/luatex.man "${T}/luatex.1"
141 doman "${T}/luatex.1"
142 use doc && dodoc "${WORKDIR}/${MY_P}/manual/"*.pdf
143 }
144
145 pkg_postinst() {
146 if ! has_version '>=dev-texlive/texlive-basic-2008' ; then
147 elog "Note that this package does not install many files, mainly just the"
148 elog "${PN} executable, which needs other files in order to be"
149 elog "useful. Please consider installing a recent TeX distribution such as"
150 elog "TeX Live 2008 or later to take advantage of the full power of"
151 elog "${PN} ."
152 fi
153 efmtutil-sys
154 }