summaryrefslogtreecommitdiffstats
path: root/office
diff options
context:
space:
mode:
author Johannes Schoepfer2024-01-30 02:21:25 +0100
committer Willy Sudiarto Raharjo2024-01-30 02:50:03 +0100
commitf873b9cf0c597ae4b76579020c578e9171bc86c3 (patch)
tree943c4dab308f895ff36aeac352cb9d64d03cc17a /office
parent4b5691c453bdf3494f8bf4d5b1cb43b7f128eeee (diff)
downloadslackbuilds-f873b9cf0c597ae4b76579020c578e9171bc86c3.tar.gz
office/atril: Updated for version 1.26.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/atril/README3
-rw-r--r--office/atril/atril.SlackBuild17
-rw-r--r--office/atril/atril.info8
-rw-r--r--office/atril/slack-desc2
4 files changed, 16 insertions, 14 deletions
diff --git a/office/atril/README b/office/atril/README
index 21498a4a30..5b2b7b378a 100644
--- a/office/atril/README
+++ b/office/atril/README
@@ -3,5 +3,6 @@ page document formats like PDF, XPS, ePUB, DVI, and Postscript.
Atril is a fork of Evince.
Optional dependencies, autodetected at buildtime:
-webkit2gtk for epub
+webkit2gtk or webkit2gtk4.1 for epub
libgxps for xps
+caja for caja-extension
diff --git a/office/atril/atril.SlackBuild b/office/atril/atril.SlackBuild
index 954f69ab18..829ce9f0b9 100644
--- a/office/atril/atril.SlackBuild
+++ b/office/atril/atril.SlackBuild
@@ -2,9 +2,9 @@
# Slackware build script for atril
-# Copyright 2013 Chess Griffin, Raleigh, NC
-# Copyright 2013-2021 Willy Sudiarto Raharjo
-# Copyright 2022-2023 Johannes Schoepfer, Germany
+# Copyright 2013 Chess Griffin, Raleigh, NC
+# Copyright 2013-2021 Willy Sudiarto Raharjo
+# Copyright 2022-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=atril
-VERSION=${VERSION:-1.26.1}
+VERSION=${VERSION:-1.26.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,10 +80,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+pkg-config libcaja-extension && CAJA="enable" || CAJA="disable"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -95,7 +96,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--enable-shared \
- --disable-caja \
+ --${CAJA}-caja \
--enable-introspection \
--enable-t1lib \
--enable-pixbuf \
@@ -112,7 +113,7 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find $PKG/usr/man -type f -exec gzip -9 {} \;
+find $PKG/usr/man -type f -exec gzip -9 {} +
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/office/atril/atril.info b/office/atril/atril.info
index 40297906f1..9cc29dfcad 100644
--- a/office/atril/atril.info
+++ b/office/atril/atril.info
@@ -1,8 +1,8 @@
PRGNAM="atril"
-VERSION="1.26.1"
-HOMEPAGE="https://www.mate-desktop.org/"
-DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/atril-1.26.1.tar.xz"
-MD5SUM="8d56fb4699cda95baff90b8d40e2d9ed"
+VERSION="1.26.2"
+HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/applications/atril/"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/atril-1.26.2.tar.xz"
+MD5SUM="bb59ff5a8bddc31e5aa77f72d3d34503"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/atril/slack-desc b/office/atril/slack-desc
index 99528c5e8a..7c2842885a 100644
--- a/office/atril/slack-desc
+++ b/office/atril/slack-desc
@@ -15,5 +15,5 @@ atril: Atril is a fork of Evince.
atril:
atril:
atril:
-atril: https://www.mate-desktop.org
+atril: https://wiki.mate-desktop.org/mate-desktop/applications/atril/
atril: