dilfridge    14/04/30 23:46:58

  Modified:             ChangeLog
  Added:                luatex-0.76.0-r1.ebuild
  Log:
  Add patch for building against poppler-0.26, bug 508890; without keywords for 
testing
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
EBE6A336BE19039C!)

Revision  Changes    Path
1.137                dev-tex/luatex/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.137&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/ChangeLog?rev=1.137&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/ChangeLog?r1=1.136&r2=1.137

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -r1.136 -r1.137
--- ChangeLog   14 Aug 2013 11:24:49 -0000      1.136
+++ ChangeLog   30 Apr 2014 23:46:58 -0000      1.137
@@ -1,6 +1,13 @@
 # ChangeLog for dev-tex/luatex
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.136 2013/08/14 
11:24:49 patrick Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.137 2014/04/30 
23:46:58 dilfridge Exp $
+
+*luatex-0.76.0-r1 (30 Apr 2014)
+
+  30 Apr 2014; Andreas K. Huettel <[email protected]>
+  +luatex-0.76.0-r1.ebuild, +files/poppler026.patch:
+  Add patch for building against poppler-0.26, bug 508890; without keywords for
+  testing
 
   14 Aug 2013; Patrick Lauer <[email protected]> luatex-0.70.1-r2.ebuild:
   Whitespace



1.1                  dev-tex/luatex/luatex-0.76.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/luatex-0.76.0-r1.ebuild?rev=1.1&view=markup
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

Index: luatex-0.76.0-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=5

inherit libtool eutils texlive-common

MY_P=${PN}-beta-${PV}
DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting 
language."
HOMEPAGE="http://www.luatex.org/";
SRC_URI="
        
http://foundry.supelec.fr/frs/download.php/file/15745/${MY_P}-source.tar.bz2
        
http://foundry.supelec.fr/frs/download.php/file/15747/${MY_P}-doc.tar.bz2";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="doc"

RDEPEND="dev-libs/zziplib
        >=media-libs/libpng-1.4:0=
        >=x11-libs/cairo-1.12
        >x11-libs/pixman-0.18
        app-text/poppler:=[xpdf-headers(+)]
        sys-libs/zlib
        >=dev-libs/kpathsea-6.1.0_p20120701"
DEPEND="${RDEPEND}
        virtual/pkgconfig"

S="${WORKDIR}/${MY_P}/source"

src_prepare() {
        epatch "${FILESDIR}/remove-zlib-version-check.patch" \
                "${FILESDIR}/includes.patch" \
                "${FILESDIR}/poppler026.patch"
        S="${S}/build-aux" elibtoolize --shallow
}

src_configure() {
        # Too many regexps use A-Z a-z constructs, what causes problems with 
locales
        # that don't have the same alphabetical order than ascii. Bug #244619
        # So we set LC_ALL to C in order to avoid problems.
        export LC_ALL=C

        cd "${S}/texk/web2c"
        econf \
                --disable-cxx-runtime-hack \
                --disable-all-pkgs      \
                --disable-mp            \
                --disable-ptex          \
                --disable-tex           \
                --disable-mf            \
            --disable-largefile \
                --disable-ipc           \
                --disable-shared        \
                --enable-luatex         \
                --enable-dump-share     \
                --without-mf-x-toolkit \
                --without-x                     \
            --with-system-kpathsea      \
            --with-kpathsea-includes="${EPREFIX}"/usr/include \
                --with-system-cairo \
                --with-system-pixman \
            --with-system-gd    \
            --with-system-libpng        \
            --with-system-teckit \
            --with-system-zlib \
            --with-system-t1lib \
                --with-system-xpdf \
                --with-system-poppler \
                --with-system-zziplib \
                --with-system-ptexenc \
            --disable-multiplatform
}

src_compile() {
        texk/web2c/luatexdir/getluatexsvnversion.sh || die
        cd "${WORKDIR}/${MY_P}/source/texk/web2c"
        emake luatex
}

src_install() {
        cd "${WORKDIR}/${MY_P}/source/texk/web2c"
        emake DESTDIR="${D}" bin_PROGRAMS="luatex" SUBDIRS="" 
nodist_man_MANS="" \
                install-exec-am

        dodoc "${WORKDIR}/${MY_P}/README" luatexdir/NEWS
        cp source/texk/web2c/man
        cp man/luatex.man "${T}/luatex.1"
        doman "${T}/luatex.1"
        use doc && dodoc "${WORKDIR}/${MY_P}/manual/"*.pdf
}

pkg_postinst() {
        if ! has_version '>=dev-texlive/texlive-basic-2008' ; then
                elog "Note that this package does not install many files, 
mainly just the"
                elog "${PN} executable, which needs other files in order to be"
                elog "useful. Please consider installing a recent TeX 
distribution such as"
                elog "TeX Live 2008 or later to take advantage of the full 
power of"
                elog "${PN} ."
        fi
        efmtutil-sys
}




Reply via email to