summaryrefslogtreecommitdiffstats
path: root/graphics/evince
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2012-09-02 07:02:13 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2012-09-02 07:02:13 +0800
commita9b346a7e03e2403576d122a934a2c4aef545838 (patch)
treed0131fffa0ab197df4d480930568a3c403117642 /graphics/evince
parent044a08d239fc66906b2c14a4e2decdc3e1e065b9 (diff)
downloadmarcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar
marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar.gz
marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar.bz2
marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar.lz
marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar.xz
marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar.zst
marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.zip
Sync w/ FreeBSD ports. x11 and x11-* left to go.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17058 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/evince')
-rw-r--r--graphics/evince/Makefile7
-rw-r--r--graphics/evince/files/patch-backend_pdf_ev-poppler.cc28
2 files changed, 32 insertions, 3 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index 71cee1542..d77e221f2 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -3,12 +3,12 @@
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/graphics/evince/Makefile,v 1.157 2012/06/13 12:31:10 kwm Exp $
+# $MCom: ports/graphics/evince/Makefile,v 1.158 2012/08/17 19:06:44 kwm Exp $
#
PORTNAME= evince
PORTVERSION= 2.32.0
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= graphics print gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -19,7 +19,8 @@ COMMENT= GNOME 2 multi-format document viewer
BUILD_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
LIB_DEPENDS= poppler-glib.8:${PORTSDIR}/graphics/poppler-glib \
spectre.1:${PORTSDIR}/print/libspectre
-RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
+RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \
+ yelp:${PORTSDIR}/x11/yelp
CONFLICTS= evince-3.[0-9]*
diff --git a/graphics/evince/files/patch-backend_pdf_ev-poppler.cc b/graphics/evince/files/patch-backend_pdf_ev-poppler.cc
new file mode 100644
index 000000000..144950986
--- /dev/null
+++ b/graphics/evince/files/patch-backend_pdf_ev-poppler.cc
@@ -0,0 +1,28 @@
+--- ./backend/pdf/ev-poppler.cc.orig 2010-09-28 01:54:34.000000000 +0900
++++ ./backend/pdf/ev-poppler.cc 2011-11-22 20:11:28.000000000 +0900
+@@ -640,6 +640,7 @@
+ PopplerPermissions permissions;
+ EvPage *page;
+ char *metadata;
++ gboolean linearized;
+
+ info = g_new0 (EvDocumentInfo, 1);
+
+@@ -676,7 +677,7 @@
+ "producer", &(info->producer),
+ "creation-date", &(info->creation_date),
+ "mod-date", &(info->modified_date),
+- "linearized", &(info->linearized),
++ "linearized", &linearized,
+ "metadata", &metadata,
+ NULL);
+
+@@ -782,6 +783,8 @@
+ info->security = g_strdup (_("No"));
+ }
+
++ info->linearized = linearized ? g_strdup (_("Yes")) : g_strdup (_("No"));
++
+ return info;
+ }
+