From c4f8b5bbc28073b903906bb2842f7495f4fda53d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 14 Nov 2022 14:58:42 -0500 Subject: office/zathura-pdf-mupdf: Updated for version 0.3.8, fix completion. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- office/zathura-pdf-mupdf/README | 2 +- office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild | 12 +++++++++--- office/zathura-pdf-mupdf/zathura-pdf-mupdf.info | 8 ++++---- 3 files changed, 14 insertions(+), 8 deletions(-) (limited to 'office') diff --git a/office/zathura-pdf-mupdf/README b/office/zathura-pdf-mupdf/README index fa5542afee0a..74639e41885a 100644 --- a/office/zathura-pdf-mupdf/README +++ b/office/zathura-pdf-mupdf/README @@ -5,7 +5,7 @@ mupdf rendering library (replacing the poppler-based PDF support from the zathura package). To switch between the mupdf and poppler backends without reinstalling -packages, adjust the symlink at /usr/lib(64)/zathura/pdf.so. It +packages, adjust the symlink at /usr/lib(64)/zathura/libpdf.so. It should point to either pdf/libpdf-mupdf.so or pdf/libpdf-poppler.so. You can also reinstall zathura to switch to the poppler backend, or reinstall zathura-pdf-mupdf to switch to the mupdf backend (whichever diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild index f4ca736d9cb8..ab131db76053 100644 --- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild +++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild @@ -6,10 +6,16 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20221114 bkw: +# - update for v0.3.8. I know there's a 0.3.9, but it needs a newer +# mupdf and I need to fix this script *today*. +# - rename pdf.so symlink to libpdf.so, needed for shell completion +# in the zathura package. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zathura-pdf-mupdf -VERSION=${VERSION:-0.3.7} +VERSION=${VERSION:-0.3.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -75,10 +81,10 @@ cd build DESTDIR=$PKG $NINJA install cd .. -ln -s pdf/libpdf-mupdf.so $PKG/usr/lib$LIBDIRSUFFIX/zathura/pdf.so +ln -s pdf/libpdf-mupdf.so $PKG/usr/lib$LIBDIRSUFFIX/zathura/libpdf.so mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README* AUTHORS* LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README_SBo.txt cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info index 08578e69e281..7bb47dba6381 100644 --- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info +++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info @@ -1,10 +1,10 @@ PRGNAM="zathura-pdf-mupdf" -VERSION="0.3.7" +VERSION="0.3.8" HOMEPAGE="https://github.com/pwmt/zathura-pdf-mupdf" -DOWNLOAD="https://github.com/pwmt/zathura-pdf-mupdf/archive/0.3.7/zathura-pdf-mupdf-0.3.7.tar.gz" -MD5SUM="c686b3cef6c78d4e0f8318899478dc81" +DOWNLOAD="https://github.com/pwmt/zathura-pdf-mupdf/archive/0.3.8/zathura-pdf-mupdf-0.3.8.tar.gz" +MD5SUM="c9ae486f76917aaabf653fdba38e2af9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="mupdf zathura" +REQUIRES="mupdf zathura gumbo-parser mujs tesseract" MAINTAINER="B. Watson" EMAIL="urchlay@slackware.uk" -- cgit v1.2.3