aboutsummaryrefslogtreecommitdiff
path: root/office/zathura-djvu
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-05-11 20:45:32 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-17 23:45:51 +0700
commit37fecbe8241a116a0a11ff003de51fa677ae1610 (patch)
tree8b6f5a183b74ae80636d1d3e086e4809675420a7 /office/zathura-djvu
parent24ded6832bd01c21f007cac103b493829bef991f (diff)
office/zathura-djvu: Updated for version 0.2.4.
Diffstat (limited to 'office/zathura-djvu')
-rw-r--r--office/zathura-djvu/stddef.diff43
-rw-r--r--office/zathura-djvu/zathura-djvu.SlackBuild8
-rw-r--r--office/zathura-djvu/zathura-djvu.info8
3 files changed, 6 insertions, 53 deletions
diff --git a/office/zathura-djvu/stddef.diff b/office/zathura-djvu/stddef.diff
deleted file mode 100644
index 4d7e49a00fc5..000000000000
--- a/office/zathura-djvu/stddef.diff
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -Naur zathura-djvu-0.2.0/djvu.c zathura-djvu-0.2.0.patched/djvu.c
---- zathura-djvu-0.2.0/djvu.c 2012-06-09 17:37:36.000000000 -0400
-+++ zathura-djvu-0.2.0.patched/djvu.c 2012-07-24 00:00:01.000000000 -0400
-@@ -3,6 +3,7 @@
- #include <stdlib.h>
- #include <girara/datastructures.h>
- #include <string.h>
-+#include <stddef.h>
- #include <libdjvu/miniexp.h>
- #include <glib.h>
-
-diff -Naur zathura-djvu-0.2.0/djvu.h zathura-djvu-0.2.0.patched/djvu.h
---- zathura-djvu-0.2.0/djvu.h 2012-06-09 17:37:36.000000000 -0400
-+++ zathura-djvu-0.2.0.patched/djvu.h 2012-07-24 00:00:09.000000000 -0400
-@@ -5,6 +5,7 @@
-
- #include <stdbool.h>
- #include <zathura/plugin-api.h>
-+#include <stddef.h>
- #include <libdjvu/ddjvuapi.h>
- #ifdef HAVE_CAIRO
- #include <cairo.h>
-diff -Naur zathura-djvu-0.2.0/page-text.c zathura-djvu-0.2.0.patched/page-text.c
---- zathura-djvu-0.2.0/page-text.c 2012-06-09 17:37:36.000000000 -0400
-+++ zathura-djvu-0.2.0.patched/page-text.c 2012-07-24 00:00:18.000000000 -0400
-@@ -1,5 +1,6 @@
- /* See LICENSE file for license and copyright information */
-
-+#include <stddef.h>
- #include <libdjvu/miniexp.h>
- #include <string.h>
- #include <sys/types.h>
-diff -Naur zathura-djvu-0.2.0/page-text.h zathura-djvu-0.2.0.patched/page-text.h
---- zathura-djvu-0.2.0/page-text.h 2012-06-09 17:37:36.000000000 -0400
-+++ zathura-djvu-0.2.0.patched/page-text.h 2012-07-24 00:00:26.000000000 -0400
-@@ -6,6 +6,7 @@
- #include <girara/datastructures.h>
- #include <girara/macros.h>
- #include <zathura/document.h>
-+#include <stddef.h>
- #include <libdjvu/miniexp.h>
-
- #include "djvu.h"
diff --git a/office/zathura-djvu/zathura-djvu.SlackBuild b/office/zathura-djvu/zathura-djvu.SlackBuild
index 2a9fb4721461..152eb445e634 100644
--- a/office/zathura-djvu/zathura-djvu.SlackBuild
+++ b/office/zathura-djvu/zathura-djvu.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=zathura-djvu
-VERSION=${VERSION:-0.2.3}
+VERSION=${VERSION:-0.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,13 +53,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# the djvulibre package in Slackware 13.37 has a miniexp.h that doesn't include
-# stddef.h, so applications need to include it themselves.
-patch -p1 < $CWD/stddef.diff
-
sed -i "s,-fPIC,$SLKCFLAGS," config.mk
-make VERBOSE=1
+make
strip *.so
make install DESTDIR=$PKG
diff --git a/office/zathura-djvu/zathura-djvu.info b/office/zathura-djvu/zathura-djvu.info
index 4438a981aed0..27ac3c916eaf 100644
--- a/office/zathura-djvu/zathura-djvu.info
+++ b/office/zathura-djvu/zathura-djvu.info
@@ -1,8 +1,8 @@
PRGNAM="zathura-djvu"
-VERSION="0.2.3"
-HOMEPAGE="http://www.pwmt.org/projects/zathura/plugins/zathura-djvu/"
-DOWNLOAD="http://www.pwmt.org/projects/zathura/plugins/download/zathura-djvu-0.2.3.tar.gz"
-MD5SUM="a472f706d6f6384d8bc2750141a84fc6"
+VERSION="0.2.4"
+HOMEPAGE="https://www.pwmt.org/projects/zathura-djvu/"
+DOWNLOAD="http://www.pwmt.org/projects/zathura/plugins/download/zathura-djvu-0.2.4.tar.gz"
+MD5SUM="672a25dc9433b2541971c2e4e052bdd3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zathura"