Received: from vps892.directvps.nl (ikke.info [178.21.113.177]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 487F178192D for ; Fri, 4 Oct 2019 19:06:25 +0000 (UTC) Received: by vps892.directvps.nl (Postfix, from userid 1008) id 8BDFC4400AE; Fri, 4 Oct 2019 21:06:24 +0200 (CEST) Date: Fri, 4 Oct 2019 21:06:24 +0200 From: Kevin Daudt To: Marian Buschsieweke Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [PATCH] community/texlive: Rebuild and fixes Message-ID: <20191004190624.GA160327@alpha> References: <20191002130259.4926-1-marian.buschsieweke@ovgu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191002130259.4926-1-marian.buschsieweke@ovgu.de> User-Agent: Mutt/1.12.1 (2019-06-15) On Wed, Oct 02, 2019 at 03:02:59PM +0200, Marian Buschsieweke wrote: > - Added missing xz dependency > - Rebuild against new poppler > - Fixed warnings in APKBUILD > - Dropped support for tlmgr (custom texlive package manager) > - tlmgr is no longer needed, as texmf-dist package are now provided by > Alpine > - it is currently broken anyway > - I have no resources to maintain it (but an additional texlive-tlmgr > could be easily provided and maintained by someone else) > - Using custom package managers in addition to apk requires special care to > not break stuff, so not providing it in the default texlive package seems > like a good idea > --- > community/texlive/APKBUILD | 21 +++++++++++---------- > 1 file changed, 11 insertions(+), 10 deletions(-) > > diff --git a/community/texlive/APKBUILD b/community/texlive/APKBUILD > index a65dbae039..845bffa17f 100644 > --- a/community/texlive/APKBUILD > +++ b/community/texlive/APKBUILD > @@ -2,12 +2,12 @@ > # Maintainer: Marian Buschsieweke > pkgname=texlive > pkgver=20190410 > -pkgrel=2 > +pkgrel=3 > pkgdesc="Comprehensive TeX document production system" > url="http://tug.org/texlive/" > arch="all !x86 !ppc64le" > license="GPL" > -depends="perl texmf-dist>=2018.50036" > +depends="perl texmf-dist>=2018.50036 xz" > depends_dev="" > makedepends="freetype-dev libpng-dev poppler-dev icu-dev harfbuzz-dev > cairo-dev pixman-dev zziplib-dev libpaper-dev graphite2-dev > @@ -15,11 +15,12 @@ makedepends="freetype-dev libpng-dev poppler-dev icu-dev harfbuzz-dev > install="" > triggers="$pkgname.trigger=/usr/share/texmf-dist" > subpackages=" > + $pkgname-static > $pkgname-dev > $pkgname-doc > xdvik:xdvi > $pkgname-dvi:dvi > - $pkgname-full:meta > + $pkgname-full:meta:noarch > $pkgname-xetex:xetex > $pkgname-luatex:lua > " > @@ -28,6 +29,7 @@ source=" > poppler-076.patch > " > builddir="$srcdir"/texlive-${pkgver}-source > +options="!check" # No unit tests provided > > _luatex="dvilualatex dviluatex lualollipop lualatex" > _pdftex="amstex cslatex csplain eplain etex jadetex latex lollipop mex > @@ -38,9 +40,7 @@ _dvi="afm2tfm bbox dvigif dvipng dvips epsffit extractres includeres ps2eps psbo > > # Each poppler version recently broke the API, so special treatment is required > _poppler_ver=0.76.0 > - > prepare() { > - cd "$builddir" > default_prepare > > local folder="texk/web2c/pdftexdir" > @@ -50,8 +50,6 @@ prepare() { > } > > build() { > - cd "$builddir" > - > if [ "$CARCH" = "ppc64le" ] || [ "$CARCH" = "s390x" ] ; then > EXTRA="--disable-luajittex --disable-mfluajit" > fi > @@ -118,7 +116,7 @@ build() { > } > > package() { > - cd "$builddir"/build > + cd build > > make DESTDIR="$pkgdir" install > > @@ -131,8 +129,11 @@ package() { > ln -s eptex "$pkgdir"/usr/bin/platex > ln -s euptex "$pkgdir"/usr/bin/uplatex > > - sed -i -e 's:SELFAUTOPARENT:TEXMFROOT:' \ > - "$pkgdir"/usr/share/texmf-dist/scripts/texlive/tlmgr.pl > + # As Alpine has packaged all TeXlive packages, there is no need for a > + # separate package manager. apk should be used to get and update texmf-dist > + rm "$pkgdir"/usr/share/texmf-dist/scripts/texlive/tlmgr.pl > + rm "$pkgdir"/usr/bin/tlmgr > + > sed -i -e 's:^\(TEXMFROOT *= *\)$SELFAUTOPARENT$:\1/usr/share:g' \ > "$pkgdir"/usr/share/texmf-dist/web2c/texmf.cnf > } Thanks, this has been pushed. Kevin