ports/opt (3.3): xpdf: 3.04 -> 4.00
commit 2c2358ed1bb816825e197e360d474ce3158ed7e9 Author: Thomas Penteker <tek@serverop.de> Date: Sun Aug 20 22:27:55 2017 +0200 xpdf: 3.04 -> 4.00 diff --git a/xpdf/.footprint b/xpdf/.footprint index 4d066de76..f05287a0b 100644 --- a/xpdf/.footprint +++ b/xpdf/.footprint @@ -1,10 +1,6 @@ -drwxr-xr-x root/root etc/ --rw-r--r-- root/root etc/xpdfrc drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/xpdf drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man1/ -rw-r--r-- root/root usr/man/man1/xpdf.1.gz -drwxr-xr-x root/root usr/man/man5/ --rw-r--r-- root/root usr/man/man5/xpdfrc.5.gz diff --git a/xpdf/.md5sum b/xpdf/.md5sum index 0d29c048c..d4a497482 100644 --- a/xpdf/.md5sum +++ b/xpdf/.md5sum @@ -1 +1 @@ -3bc86c69c8ff444db52461270bef3f44 xpdf-3.04.tar.gz +80c8ce77acf1d36de93cecb82bd64a0f xpdf-4.00.tar.gz diff --git a/xpdf/.signature b/xpdf/.signature index 366a83e25..77554d712 100644 --- a/xpdf/.signature +++ b/xpdf/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/Tpkxj/hi9b7L5pMUO+Y3dlPsdj0NP0mR7IrPLa+7AaKX1DZfwc9JPbovydfDJlMrtJyrQl80f6tBaTOlte95g4= -SHA256 (Pkgfile) = f846e04cc926435de3310df1a6141bcca88038ac0361ffba0c68174b6a9e7238 -SHA256 (.footprint) = 351058e89edeaec93d3ffc1323324ff8a9697cbfd778f06b2a7a9c8cbae3244c -SHA256 (xpdf-3.04.tar.gz) = 11390c74733abcb262aaca4db68710f13ffffd42bfe2a0861a5dfc912b2977e5 +RWSE3ohX2g5d/b8AeydTa/vPLFjDi+GjZx21OgF7Oahn9xjVZsLcpN+mjgjvkaPtF4b4atXry44z/NzFIfn7h9T1awisec+txAA= +SHA256 (Pkgfile) = d385de8140c741f18a743a02038ab9b4f7f3e31fdbbf0fddd037fcecc084df5a +SHA256 (.footprint) = 96d570f0ab9af5fbc0c4fb6323470bf138fe2f1221a67a967e0b205064afd69d +SHA256 (xpdf-4.00.tar.gz) = ff3d92c42166e35b1ba6aec9b5f0adffb5fc05a3eb95dc49505b6e344e4216d6 diff --git a/xpdf/Pkgfile b/xpdf/Pkgfile index 24d1dca4e..6d459005b 100644 --- a/xpdf/Pkgfile +++ b/xpdf/Pkgfile @@ -1,32 +1,28 @@ # Description: PDF viewer -# URL: http://foolabs.com/xpdf +# URL: http://www.xpdfreader.com # Maintainer: Thomas Penteker, tek at serverop dot de # Packager: Robert McMeekin, viper at mcmeekin dot info -# Depends on: lesstif +# Depends on: lesstif, libpng, cmake, qt4 +# Nice to have: qt5 (instead of qt4) name=xpdf -version=3.04 +version=4.00 release=1 -source=(ftp://ftp.foolabs.com/pub/xpdf/$name-$version.tar.gz) +source=(http://www.xpdfreader.com/dl/xpdf-${version}.tar.gz) build() { cd $name-$version - sed -i 's/\(s = XmStringCreateLocalized(\)/\1(char *)/g' xpdf/XPDFViewer.cc + mkdir build + cd build - ./configure \ - --prefix=/usr \ - --with-Xm-library=/usr/lib \ - --with-Xm-includes=/usr/include/Xm \ - --with-freetype2-includes=/usr/include/freetype2 \ - --sysconfdir=/etc \ - --enable-a4-paper \ - --enable-opi \ - --with-t1-library=no \ - --mandir=/usr/man + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DA4_PAPER=ON .. + + cd xpdf-qt make make install DESTDIR=$PKG - find $PKG/usr/bin $PKG/usr/man/man1 -iname 'pdf*' -delete }
participants (1)
-
crux@crux.nu