aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2013-01-24 03:32:29 +0800
committermadpilot <madpilot@FreeBSD.org>2013-01-24 03:32:29 +0800
commit58f697daab2e7170de12529029dd5fd61f203ea9 (patch)
treeef40bb0a45c3103a382ac94210f98f9906fa38fe /graphics
parentece8f44e6cb99682ea548d4c60ea948a4f7f485b (diff)
downloadfreebsd-ports-gnome-58f697daab2e7170de12529029dd5fd61f203ea9.tar.gz
freebsd-ports-gnome-58f697daab2e7170de12529029dd5fd61f203ea9.tar.zst
freebsd-ports-gnome-58f697daab2e7170de12529029dd5fd61f203ea9.zip
- Update zathura [1], zathura-djvu [2] and zathura-pdf-poppler [3] to 0.2.2
- Remove ABI version number from LIB_DEPENDS [1] - Remove unneeded FETCH_ARGS [4] - Convert graphics/zathura to new options framework [5] - Remove reference to non existent port in zathura pkg-message [5] PR: ports/175506 - ports/175515 [2], ports/175513 [1] [5], ports/175516 [3] Submitted by: Alexander <alexander.4mail@gmail.com> (maintainer of graphics/zathura-djvu) Quentin Stievenart <acieroid@awesom.eu> (maintainer of graphics/zathura) Approved by: Alexander <alexander.4mail@gmail.com> [4], Quentin Stievenart <acieroid@awesom.eu> [5]
Diffstat (limited to 'graphics')
-rw-r--r--graphics/zathura-djvu/Makefile3
-rw-r--r--graphics/zathura-djvu/distinfo4
-rw-r--r--graphics/zathura-pdf-poppler/Makefile3
-rw-r--r--graphics/zathura-pdf-poppler/distinfo4
-rw-r--r--graphics/zathura/Makefile18
-rw-r--r--graphics/zathura/distinfo4
-rw-r--r--graphics/zathura/files/patch-render.c36
-rw-r--r--graphics/zathura/pkg-message3
8 files changed, 53 insertions, 22 deletions
diff --git a/graphics/zathura-djvu/Makefile b/graphics/zathura-djvu/Makefile
index be87858bcb6b..e37d4c67c30a 100644
--- a/graphics/zathura-djvu/Makefile
+++ b/graphics/zathura-djvu/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= zathura-djvu
-PORTVERSION= 0.2.1
+PORTVERSION= 0.2.2
CATEGORIES= graphics
MASTER_SITES= http://pwmt.org/projects/zathura/plugins/download/
@@ -15,7 +15,6 @@ RUN_DEPENDS= zathura:${PORTSDIR}/graphics/zathura
USE_GNOME= glib20 gtk20
USE_GMAKE= yes
-FETCH_ARGS= -Fpr
PLIST_FILES= lib/zathura/djvu.so
PLIST_DIRSTRY= lib/zathura
diff --git a/graphics/zathura-djvu/distinfo b/graphics/zathura-djvu/distinfo
index c2823c6b7029..d0f4943d955b 100644
--- a/graphics/zathura-djvu/distinfo
+++ b/graphics/zathura-djvu/distinfo
@@ -1,2 +1,2 @@
-SHA256 (zathura-djvu-0.2.1.tar.gz) = d8bb3c9e30244a0733e49740ee2dd099ce39fa16f2c320af27a0c09d9a25bcc3
-SIZE (zathura-djvu-0.2.1.tar.gz) = 10412
+SHA256 (zathura-djvu-0.2.2.tar.gz) = 9c0accf68be79df63f16337b7cef66bfb199f4ff296ae5a1bc8de220f1af2691
+SIZE (zathura-djvu-0.2.2.tar.gz) = 10473
diff --git a/graphics/zathura-pdf-poppler/Makefile b/graphics/zathura-pdf-poppler/Makefile
index 63e69e3d5de1..e2e089592c62 100644
--- a/graphics/zathura-pdf-poppler/Makefile
+++ b/graphics/zathura-pdf-poppler/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= zathura-pdf-poppler
-PORTVERSION= 0.2.1
+PORTVERSION= 0.2.2
CATEGORIES= graphics
MASTER_SITES= http://pwmt.org/projects/zathura/plugins/download/
@@ -15,7 +15,6 @@ RUN_DEPENDS= zathura:${PORTSDIR}/graphics/zathura
USE_GNOME= glib20 gtk20
USE_GMAKE= yes
-FETCH_ARGS= -Fpr
PLIST_FILES= lib/zathura/pdf.so
PLIST_DIRSTRY= lib/zathura
diff --git a/graphics/zathura-pdf-poppler/distinfo b/graphics/zathura-pdf-poppler/distinfo
index f3910f2f9589..01b67ba6b6b2 100644
--- a/graphics/zathura-pdf-poppler/distinfo
+++ b/graphics/zathura-pdf-poppler/distinfo
@@ -1,2 +1,2 @@
-SHA256 (zathura-pdf-poppler-0.2.1.tar.gz) = 1c162ea887e52f48d6dc80f8427a773768f2df2e37242dab7efddeb3d2e361cd
-SIZE (zathura-pdf-poppler-0.2.1.tar.gz) = 8158
+SHA256 (zathura-pdf-poppler-0.2.2.tar.gz) = 87115a2535e2108911dbc900f5d0db879bc6d9f731b161454a6955bb804ba55f
+SIZE (zathura-pdf-poppler-0.2.2.tar.gz) = 8153
diff --git a/graphics/zathura/Makefile b/graphics/zathura/Makefile
index 0c204ae61676..4156313fa374 100644
--- a/graphics/zathura/Makefile
+++ b/graphics/zathura/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= zathura
-PORTVERSION= 0.2.1
-PORTREVISION= 1
+PORTVERSION= 0.2.2
CATEGORIES= graphics print
MASTER_SITES= http://pwmt.org/projects/zathura/download/
@@ -11,32 +10,31 @@ MAINTAINER= acieroid@awesom.eu
COMMENT= Customizable lightweight pdf viewer
LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo \
- girara-gtk2.1:${PORTSDIR}/x11-toolkits/girara
+ girara-gtk2:${PORTSDIR}/x11-toolkits/girara
USE_GNOME= glib20 gtk20
USE_GMAKE= yes
MAKE_ENV= SFLAGS="${STRIP}"
-FETCH_ARGS= -Fpr
-OPTIONS= SQLITE "Support sqlite database backend" off
+OPTIONS_DEFINE= DOCS NLS SQLITE
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_SQLITE)
+.if ${PORT_OPTIONS:MSQLITE}
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
MAKE_ENV+= WITH_SQLITE=1
.else
MAKE_ENV+= WITH_SQLITE=0
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= rst2html:${PORTSDIR}/textproc/py-docutils
MAN1+= zathura.1
MAN5+= zathurarc.5
MAKE_ENV+= RSTTOMAN=${LOCALBASE}/bin/rst2man
.endif
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
@@ -49,13 +47,13 @@ post-patch: .SILENT
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|PLUGINDIR ?= .*$$|PLUGINDIR ?= ${PREFIX}/lib/zathura|'\
${WRKSRC}/config.mk
-.if defined(NOPORTDOCS)
+.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e 's|install-manpages$$||'\
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|RSTTOMAN ?= /usr/bin/rst2man|RSTTOMAN ?= ""|'\
${WRKSRC}/config.mk
.endif
-.if defined(WITHOUT_NLS)
+.if ! ${PORT_OPTIONS:MNLS}
${REINPLACE_CMD} -e '/-C po/d'\
${WRKSRC}/Makefile
.endif
diff --git a/graphics/zathura/distinfo b/graphics/zathura/distinfo
index 53cddf28b657..efc81c1d7d58 100644
--- a/graphics/zathura/distinfo
+++ b/graphics/zathura/distinfo
@@ -1,2 +1,2 @@
-SHA256 (zathura-0.2.1.tar.gz) = 075b9def201c77ca738dc9e15b252bc23c085b7c4671a1810d1d962e8d0bd790
-SIZE (zathura-0.2.1.tar.gz) = 95179
+SHA256 (zathura-0.2.2.tar.gz) = 6506237ba76ce1611dc24ddd870853d753b5e70e5200d75d2a2257ff7c9242c9
+SIZE (zathura-0.2.2.tar.gz) = 108240
diff --git a/graphics/zathura/files/patch-render.c b/graphics/zathura/files/patch-render.c
new file mode 100644
index 000000000000..3475f7b1b9d3
--- /dev/null
+++ b/graphics/zathura/files/patch-render.c
@@ -0,0 +1,36 @@
+--- render.c.orig 2013-01-22 17:23:39.000000000 +0100
++++ render.c 2013-01-22 17:23:03.000000000 +0100
+@@ -19,7 +19,7 @@
+
+ struct render_thread_s {
+ GThreadPool* pool; /**< Pool of threads */
+- GMutex mutex; /**< Render lock */
++ GStaticMutex mutex; /**< Render lock */
+ bool about_to_close; /**< Render thread is to be freed */
+ };
+
+@@ -51,7 +51,7 @@
+
+ render_thread->about_to_close = false;
+ g_thread_pool_set_sort_function(render_thread->pool, render_thread_sort, zathura);
+- g_mutex_init(&render_thread->mutex);
++ g_static_mutex_init(&render_thread->mutex);
+
+ return render_thread;
+
+@@ -328,7 +328,7 @@
+ return;
+ }
+
+- g_mutex_lock(&render_thread->mutex);
++ g_static_mutex_lock(&render_thread->mutex);
+ }
+
+ void
+@@ -338,5 +338,5 @@
+ return;
+ }
+
+- g_mutex_unlock(&render_thread->mutex);
++ g_static_mutex_unlock(&render_thread->mutex);
+ }
diff --git a/graphics/zathura/pkg-message b/graphics/zathura/pkg-message
index c1cdbe5beb96..baa39f5e6958 100644
--- a/graphics/zathura/pkg-message
+++ b/graphics/zathura/pkg-message
@@ -2,7 +2,6 @@
In order to read documents, zathura need at least one plugin. Such
plugins are in graphics/zathura-* ports. If you want to read pdf files,
- install the graphics/zathura-pdf-poppler or graphics/zathura-pdf-mupdf
- port.
+ install the graphics/zathura-pdf-poppler port.
===============================================================================