diff options
author | B. Watson <yalhcru@gmail.com> | 2021-07-30 14:54:29 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:51:24 +0700 |
commit | 14d5175ca71ee275c0056fdcf4b7d80c3de9289f (patch) | |
tree | 6b35420708c3cfbac71c87735642cbcde10ac40f /office/evince | |
parent | f75a6dea048ec2a6139bf8474320453eaf47d2de (diff) |
office/evince: Updated for version 40.4.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/evince')
-rw-r--r-- | office/evince/README | 8 | ||||
-rw-r--r-- | office/evince/evince.SlackBuild | 79 | ||||
-rw-r--r-- | office/evince/evince.info | 8 |
3 files changed, 37 insertions, 58 deletions
diff --git a/office/evince/README b/office/evince/README index 84a5ce2807ce..80a6ec3cf479 100644 --- a/office/evince/README +++ b/office/evince/README @@ -13,11 +13,3 @@ Evince is specifically designed to support the following file formats: * CBR/CBZ (comic books) * DVI * XPS (requires optional dependency libgxps) - -This uses dconf (runtime-only) to save various settings (and even -then, not ALL settings are saved). - -Note: this is the last version I could get to compile and run on Slackware -14.2. Newer versions of evince require newer glib2 and gtk+3 libraries -than 14.2 provides, so please don't email me asking for updates (you'll -have to wait until Slackware 15.0 is released). diff --git a/office/evince/evince.SlackBuild b/office/evince/evince.SlackBuild index db10141d8984..2bf4182aa0b6 100644 --- a/office/evince/evince.SlackBuild +++ b/office/evince/evince.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for evince -# Copyright 2009 Andrew Brouwers <abrouwers@gmail.com> +# Copyright 2009 Andrew Brouwers <email removed> # Copyright 2009-2014, Michiel van Wessem, Manchester, United Kingdom. # Copyright 2019, B. Watson # All rights reserved. @@ -26,6 +26,7 @@ # Now maintained by B. Watson <yalhcru@gmail.com> +# 20210730 bkw: update for v40.4 and slackware-current. Add libhandy dep. # 20191231 bkw: # - take over maintenance # - update for v3.28.5.3, which is the last version that will build with @@ -35,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=evince -VERSION=${VERSION:-3.34.2} +VERSION=${VERSION:-40.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,54 +87,40 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ -# If we have any patches apply them here: -# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/evince/files/ - -# 20191231 bkw: I'll leave this here, but I have NOT tested it. -# It was never documented in README, caveat hactor. -NLS=${NLS:-YES} -if [ "$NLS" != "YES" ]; then - # disable NLS - we're going for a small package here. - rm po/*.po - sed -i -e 's/USE_NLS=yes/USE_NLS=no/g' \ - -e 's/ENABLE_NLS 1/ENABLE_NLS 0/g' configure -fi - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-dbus \ - --enable-pdf \ - --enable-tiff \ - --enable-djvu \ - --enable-t1lib \ - --enable-comics \ - --enable-dvi \ - --enable-ps \ - --enable-xps \ - --enable-introspection \ - --disable-static \ - --disable-nautilus \ - --disable-maintainer-mode \ - --without-gspell \ - --with-systemduserunitdir=no \ - --build=$ARCH-slackware-linux - -make V=1 -make install-strip DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true \ + -Ddbus=${DBUS:-true} \ + -Dcomics=enabled \ + -Ddjvu=enabled \ + -Ddvi=enabled \ + -Dt1lib=enabled \ + -Dpdf=enabled \ + -Dps=enabled \ + -Dtiff=enabled \ + -Dnautilus=false \ + -Dgspell=disabled \ + -Dsystemduserunitdir=no + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la gzip -9 $PKG/usr/man/man1/$PRGNAM.1 -rm -rf $PKG/{usr/share/gtk-doc,etc} mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING NEWS README.md MAINTAINERS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING NEWS *.md MAINTAINERS NEWS NOTES TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/office/evince/evince.info b/office/evince/evince.info index a5814eea748f..a8e1e5806de3 100644 --- a/office/evince/evince.info +++ b/office/evince/evince.info @@ -1,10 +1,10 @@ PRGNAM="evince" -VERSION="3.34.2" +VERSION="40.4" HOMEPAGE="http://projects.gnome.org/evince/" -DOWNLOAD="https://download.gnome.org/sources/evince/3.34/evince-3.34.2.tar.xz" -MD5SUM="9e9e82fa8f6045ad7817157d9335d185" +DOWNLOAD="https://download.gnome.org/sources/evince/40/evince-40.4.tar.xz" +MD5SUM="bf78a8e8c384bbd2780b7be0ac917e79" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="libhandy" MAINTAINER="B. Watson" EMAIL="yalhcru@gmail.com" |