From 5ae51505c4f1732a52a6bd6233373da4c1b27ba7 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 12 Jun 2018 01:46:24 +0700 Subject: [PATCH] atril: Upgraded to 1.20.2. Signed-off-by: Willy Sudiarto Raharjo --- extra/atril/atril.SlackBuild | 6 ++---- extra/atril/epub.patch | 32 -------------------------------- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 extra/atril/epub.patch diff --git a/extra/atril/atril.SlackBuild b/extra/atril/atril.SlackBuild index 7434a48..fbeabcd 100644 --- a/extra/atril/atril.SlackBuild +++ b/extra/atril/atril.SlackBuild @@ -24,8 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=atril -VERSION=${VERSION:-1.20.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.20.2} +BUILD=${BUILD:-1} TAG=${TAG:-_msb} if [ -z "$ARCH" ]; then @@ -83,8 +83,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p1 < $CWD/epub.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="-L/usr/share/texmf/lib" \ diff --git a/extra/atril/epub.patch b/extra/atril/epub.patch deleted file mode 100644 index 3672c16..0000000 --- a/extra/atril/epub.patch +++ /dev/null @@ -1,32 +0,0 @@ -From efe29e6c72178f0970ded735560dc34e6fd05d87 Mon Sep 17 00:00:00 2001 -From: raveit65 -Date: Tue, 27 Mar 2018 11:20:38 +0200 -Subject: [PATCH] libview: fix build without epub - -Fixes https://github.com/mate-desktop/atril/issues/308 ---- - libview/ev-jobs.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c -index 0fd2554..607bc2c 100644 ---- a/libview/ev-jobs.c -+++ b/libview/ev-jobs.c -@@ -876,8 +876,6 @@ snapshot_callback(WebKitWebView *webview, - gtk_widget_destroy (gtk_widget_get_toplevel (GTK_WIDGET (webview))); - } - --#endif /* ENABLE_EPUB */ -- - static void - web_thumbnail_get_screenshot_cb (WebKitWebView *webview, - WebKitLoadEvent event, -@@ -910,6 +908,8 @@ webview_load_failed_cb (WebKitWebView *webview, - return TRUE; - } - -+#endif /* ENABLE_EPUB */ -+ - static gboolean - ev_job_thumbnail_run (EvJob *job) - {