summaryrefslogtreecommitdiff
path: root/graphics/evince
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/evince')
-rw-r--r--graphics/evince/Makefile43
-rw-r--r--graphics/evince/distinfo6
-rw-r--r--graphics/evince/files/patch-djvu_djvu-text.h10
-rw-r--r--graphics/evince/files/patch-shell_main.c20
-rw-r--r--graphics/evince/pkg-plist32
5 files changed, 69 insertions, 42 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index cbe79f439a50..5f5693145737 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -3,24 +3,24 @@
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/graphics/evince/Makefile,v 1.35 2005/10/20 01:37:54 ahze Exp $
+# $MCom: ports/graphics/evince/Makefile,v 1.50 2006/04/24 00:54:32 ahze Exp $
#
PORTNAME= evince
-PORTVERSION= 0.4.0
-PORTREVISION= 4
+PORTVERSION= 0.5.2
+PORTREVISION= 2
CATEGORIES= graphics print gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.4
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.5
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME 2 multi-format document viewer
-LIB_DEPENDS= poppler.0:${PORTSDIR}/graphics/poppler
+LIB_DEPENDS= poppler-glib.1:${PORTSDIR}/graphics/poppler-gtk
USE_BZIP2= yes
GNU_CONFIGURE= yes
-USE_REINPLACE= yes
+USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GHOSTSCRIPT=yes
@@ -35,8 +35,9 @@ GCONF_SCHEMAS= evince.schemas evince-thumbnailer.schemas
OPTIONS= DVI "Enable DVI viewer support" off \
T1LIB "Enable T1LIB for TYPE1 fonts to DVI (Enables DVI)" off \
NAUTILUS "Enable Nautilus plugin" on \
- DBUS "Enable D-BUS support" off \
- DJVU "Enable DJVU support" off
+ DBUS "Enable D-BUS support" on \
+ COMICS "Enable comic book archives support" off
+# DJVU "Enable DJVU support" off
.include <bsd.port.pre.mk>
@@ -73,20 +74,30 @@ DJVU_DIR?= # empty
DJVU_DIR?= -nox11
.endif
-.if defined(WITH_DJVU)
-LIB_DEPENDS+= djvulibre.17:${PORTSDIR}/graphics/djvulibre${DJVU_DIR}
-CONFIGURE_ARGS+= --enable-djvu
-GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas
-.else
+# DJVU is broken, need older version of djvu
+#.if defined(WITH_DJVU)
+#LIB_DEPENDS+= djvulibre.17:${PORTSDIR}/graphics/djvulibre${DJVU_DIR}
+#CONFIGURE_ARGS+= --enable-djvu
+#GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas
+#.else
CONFIGURE_ARGS+= --disable-djvu
-.endif
+#.endif
-.if defined(WITH_DBUS)
+.if !defined(WITHOUT_DBUS)
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus
.endif
+.if defined(WITH_COMICS)
+CONFIGURE_ARGS+= --enable-comics
+GCONF_SCHEMAS+= evince-thumbnailer-comics.schemas
+
+RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar \
+ unzip:${PORTSDIR}/archivers/unzip
+.endif
+
post-patch:
- @${REINPLACE_CMD} -e 's|-lt1lib|-lt1 -lm|' \
+ @${REINPLACE_CMD} -e 's|-lt1lib|-lt1 -lm| ; \
+ s|execinfo.h|#|g' \
${WRKSRC}/configure \
${WRKSRC}/dvi/mdvi-lib/Makefile.in
diff --git a/graphics/evince/distinfo b/graphics/evince/distinfo
index dcfa41b268dc..acd8bc52158e 100644
--- a/graphics/evince/distinfo
+++ b/graphics/evince/distinfo
@@ -1,3 +1,3 @@
-MD5 (evince-0.4.0.tar.bz2) = cc41e30108bc54a345bd6ca2556ab857
-SHA256 (evince-0.4.0.tar.bz2) = 0264f24b30820bef80473db9176a46524e6ec00db2024adef2e7c49673ad0b59
-SIZE (evince-0.4.0.tar.bz2) = 891605
+MD5 (evince-0.5.2.tar.bz2) = 732df368435cebddd4cc8132a8a280bd
+SHA256 (evince-0.5.2.tar.bz2) = c3f923e9becee6aa59cc4dafbc36d376a88099cf4017a5e928f367bd428174de
+SIZE (evince-0.5.2.tar.bz2) = 1000723
diff --git a/graphics/evince/files/patch-djvu_djvu-text.h b/graphics/evince/files/patch-djvu_djvu-text.h
new file mode 100644
index 000000000000..ab717fac730c
--- /dev/null
+++ b/graphics/evince/files/patch-djvu_djvu-text.h
@@ -0,0 +1,10 @@
+--- djvu/djvu-text.h.orig Fri Apr 21 23:12:56 2006
++++ djvu/djvu-text.h Fri Apr 21 23:14:09 2006
+@@ -24,7 +24,6 @@
+ #include <glib.h>
+ #include <libdjvu/ddjvuapi.h>
+
+-typedef struct miniexp_s* miniexp_t;
+ extern const miniexp_t miniexp_nil;
+ extern const miniexp_t miniexp_dummy;
+
diff --git a/graphics/evince/files/patch-shell_main.c b/graphics/evince/files/patch-shell_main.c
deleted file mode 100644
index 05a0c788287d..000000000000
--- a/graphics/evince/files/patch-shell_main.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- shell/main.c.dbus-fix 2005-09-01 04:14:54.000000000 -0400
-+++ shell/main.c 2005-09-01 04:15:33.000000000 -0400
-@@ -152,7 +152,7 @@
- if (!files) {
- #if DBUS_VERSION <= 33
- call = dbus_g_proxy_begin_call (remote_object, "OpenWindow",
-- DBUS_TYPE_UINT32, timestamp,
-+ DBUS_TYPE_UINT32, &timestamp,
- DBUS_TYPE_INVALID);
-
- if (!dbus_g_proxy_end_call (remote_object, call, &error, DBUS_TYPE_INVALID)) {
-@@ -193,7 +193,7 @@
- call = dbus_g_proxy_begin_call (remote_object, "OpenURI",
- DBUS_TYPE_STRING, &uri,
- DBUS_TYPE_STRING, &page_label,
-- DBUS_TYPE_UINT32, timestamp,
-+ DBUS_TYPE_UINT32, &timestamp,
- DBUS_TYPE_INVALID);
-
- if (!dbus_g_proxy_end_call (remote_object, call, &error, DBUS_TYPE_INVALID)) {
diff --git a/graphics/evince/pkg-plist b/graphics/evince/pkg-plist
index 47ac1b8b1586..3c8660a61224 100644
--- a/graphics/evince/pkg-plist
+++ b/graphics/evince/pkg-plist
@@ -3,7 +3,6 @@ bin/evince-thumbnailer
%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.a
%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.la
%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.so
-%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.so.0
share/gnome/applications/evince.desktop
share/gnome/evince/evince-password.glade
share/gnome/evince/evince-properties.glade
@@ -13,22 +12,34 @@ share/gnome/evince/hand-open.png
share/gnome/help/evince/C/evince.xml
share/gnome/help/evince/C/figures/evince_start_window.png
share/gnome/help/evince/C/legal.xml
+share/gnome/help/evince/bg/evince.xml
+share/gnome/help/evince/bg/figures/evince_start_window.png
share/gnome/help/evince/el/evince.xml
share/gnome/help/evince/el/figures/evince_start_window.png
share/gnome/help/evince/es/evince.xml
share/gnome/help/evince/es/figures/evince_start_window.png
+share/gnome/help/evince/nl/evince.xml
+share/gnome/help/evince/nl/figures/evince_start_window.png
+share/gnome/help/evince/ru/evince.xml
+share/gnome/help/evince/ru/figures/evince_start_window.png
share/gnome/help/evince/sr/evince.xml
share/gnome/help/evince/sr/figures/evince_start_window.png
share/gnome/help/evince/uk/evince.xml
share/gnome/help/evince/uk/figures/evince_start_window.png
share/gnome/omf/evince/evince-C.omf
+share/gnome/omf/evince/evince-bg.omf
share/gnome/omf/evince/evince-el.omf
share/gnome/omf/evince/evince-es.omf
+share/gnome/omf/evince/evince-nl.omf
+share/gnome/omf/evince/evince-ru.omf
share/gnome/omf/evince/evince-sr.omf
share/gnome/omf/evince/evince-uk.omf
+share/locale/be/LC_MESSAGES/evince.mo
share/locale/bg/LC_MESSAGES/evince.mo
+share/locale/bn/LC_MESSAGES/evince.mo
share/locale/ca/LC_MESSAGES/evince.mo
share/locale/cs/LC_MESSAGES/evince.mo
+share/locale/cy/LC_MESSAGES/evince.mo
share/locale/da/LC_MESSAGES/evince.mo
share/locale/de/LC_MESSAGES/evince.mo
share/locale/el/LC_MESSAGES/evince.mo
@@ -37,6 +48,7 @@ share/locale/en_GB/LC_MESSAGES/evince.mo
share/locale/es/LC_MESSAGES/evince.mo
share/locale/et/LC_MESSAGES/evince.mo
share/locale/eu/LC_MESSAGES/evince.mo
+share/locale/fa/LC_MESSAGES/evince.mo
share/locale/fi/LC_MESSAGES/evince.mo
share/locale/fr/LC_MESSAGES/evince.mo
share/locale/gl/LC_MESSAGES/evince.mo
@@ -44,16 +56,24 @@ share/locale/gu/LC_MESSAGES/evince.mo
share/locale/he/LC_MESSAGES/evince.mo
share/locale/hi/LC_MESSAGES/evince.mo
share/locale/hu/LC_MESSAGES/evince.mo
+share/locale/id/LC_MESSAGES/evince.mo
+share/locale/it/LC_MESSAGES/evince.mo
share/locale/ja/LC_MESSAGES/evince.mo
+share/locale/ka/LC_MESSAGES/evince.mo
share/locale/ko/LC_MESSAGES/evince.mo
+share/locale/ku/LC_MESSAGES/evince.mo
share/locale/lt/LC_MESSAGES/evince.mo
+share/locale/lv/LC_MESSAGES/evince.mo
+share/locale/mk/LC_MESSAGES/evince.mo
share/locale/nb/LC_MESSAGES/evince.mo
share/locale/ne/LC_MESSAGES/evince.mo
share/locale/nl/LC_MESSAGES/evince.mo
share/locale/no/LC_MESSAGES/evince.mo
share/locale/pa/LC_MESSAGES/evince.mo
share/locale/pl/LC_MESSAGES/evince.mo
+share/locale/pt/LC_MESSAGES/evince.mo
share/locale/pt_BR/LC_MESSAGES/evince.mo
+share/locale/ro/LC_MESSAGES/evince.mo
share/locale/ru/LC_MESSAGES/evince.mo
share/locale/rw/LC_MESSAGES/evince.mo
share/locale/sk/LC_MESSAGES/evince.mo
@@ -64,20 +84,26 @@ share/locale/sv/LC_MESSAGES/evince.mo
share/locale/th/LC_MESSAGES/evince.mo
share/locale/tr/LC_MESSAGES/evince.mo
share/locale/uk/LC_MESSAGES/evince.mo
+share/locale/vi/LC_MESSAGES/evince.mo
share/locale/wa/LC_MESSAGES/evince.mo
share/locale/zh_CN/LC_MESSAGES/evince.mo
+share/locale/zh_HK/LC_MESSAGES/evince.mo
share/locale/zh_TW/LC_MESSAGES/evince.mo
-@dirrmtry share/locale/rw/LC_MESSAGES
-@dirrmtry share/locale/rw
@dirrm share/gnome/omf/evince
@dirrm share/gnome/help/evince/uk/figures
@dirrm share/gnome/help/evince/uk
@dirrm share/gnome/help/evince/sr/figures
@dirrm share/gnome/help/evince/sr
+@dirrm share/gnome/help/evince/ru/figures
+@dirrm share/gnome/help/evince/ru
+@dirrm share/gnome/help/evince/nl/figures
+@dirrm share/gnome/help/evince/nl
@dirrm share/gnome/help/evince/es/figures
@dirrm share/gnome/help/evince/es
@dirrm share/gnome/help/evince/el/figures
@dirrm share/gnome/help/evince/el
+@dirrm share/gnome/help/evince/bg/figures
+@dirrm share/gnome/help/evince/bg
@dirrm share/gnome/help/evince/C/figures
@dirrm share/gnome/help/evince/C
@dirrm share/gnome/help/evince