summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-27 06:43:42 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-27 06:43:42 +0800
commit1a7652996b64a0b64dca008afd35c8db629009e4 (patch)
tree1abb57b3edd1d4f0ecc28d63c8d03215a1fb3215 /graphics
parentf215b485897673c49b1ad63f3c0dd4c511dbb676 (diff)
downloadmarcuscom-ports-1a7652996b64a0b64dca008afd35c8db629009e4.tar
marcuscom-ports-1a7652996b64a0b64dca008afd35c8db629009e4.tar.gz
marcuscom-ports-1a7652996b64a0b64dca008afd35c8db629009e4.tar.bz2
marcuscom-ports-1a7652996b64a0b64dca008afd35c8db629009e4.tar.lz
marcuscom-ports-1a7652996b64a0b64dca008afd35c8db629009e4.tar.xz
marcuscom-ports-1a7652996b64a0b64dca008afd35c8db629009e4.tar.zst
marcuscom-ports-1a7652996b64a0b64dca008afd35c8db629009e4.zip
Update to 0.1.5.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3712 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/evince/Makefile8
-rw-r--r--graphics/evince/distinfo4
-rw-r--r--graphics/evince/files/patch-ps_ps-document.c35
-rw-r--r--graphics/evince/pkg-plist8
4 files changed, 51 insertions, 4 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index b1ca1c5b1..f2637a5c9 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= evince
-PORTVERSION= 0.1.4
+PORTVERSION= 0.1.5
CATEGORIES= graphics print gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.1
@@ -19,10 +19,14 @@ USE_LIBTOOL_VER=15
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GHOSTSCRIPT=yes
-USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui libgnomeprintui
+USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui libgnomeprintui \
+ desktopfileutils
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= evince.schemas
+post-install:
+ @-update-desktop-database
+
.include <bsd.port.mk>
diff --git a/graphics/evince/distinfo b/graphics/evince/distinfo
index 70e4fdd2e..5812d47c8 100644
--- a/graphics/evince/distinfo
+++ b/graphics/evince/distinfo
@@ -1,2 +1,2 @@
-MD5 (evince-0.1.4.tar.bz2) = 87ddc402adf29b200403b6184d20e03c
-SIZE (evince-0.1.4.tar.bz2) = 741869
+MD5 (evince-0.1.5.tar.bz2) = 265603f6dead768a2c87a752fdfeec43
+SIZE (evince-0.1.5.tar.bz2) = 769917
diff --git a/graphics/evince/files/patch-ps_ps-document.c b/graphics/evince/files/patch-ps_ps-document.c
new file mode 100644
index 000000000..612fe3156
--- /dev/null
+++ b/graphics/evince/files/patch-ps_ps-document.c
@@ -0,0 +1,35 @@
+--- ps/ps-document.c.orig Sat Feb 26 17:36:03 2005
++++ ps/ps-document.c Sat Feb 26 17:38:26 2005
+@@ -487,12 +487,12 @@
+ GdkColor white = { 0, 0xFFFF, 0xFFFF, 0xFFFF }; /* pixel, r, g, b */
+ GdkColormap *colormap;
+
+- LOG ("Setup the page");
+-
+ #ifdef HAVE_LOCALE_H
+ char *savelocale;
+ #endif
+
++ LOG ("Setup the page");
++
+ if (gs->pstarget == NULL)
+ return;
+
+@@ -720,8 +720,6 @@
+ int std_out[2]; /* pipe from interp stdout */
+ int std_err[2]; /* pipe from interp stderr */
+
+- LOG ("Start the interpreter");
+-
+ #define NUM_ARGS 100
+ #define NUM_GS_ARGS (NUM_ARGS - 20)
+ #define NUM_ALPHA_ARGS 10
+@@ -729,6 +727,8 @@
+ char *argv[NUM_ARGS], *dir, *gv_env;
+ char **gs_args, **alpha_args = NULL;
+ int argc = 0, i;
++
++ LOG ("Start the interpreter");
+
+ if(!gs->gs_filename)
+ return 0;
diff --git a/graphics/evince/pkg-plist b/graphics/evince/pkg-plist
index 341162315..1ff6e10e2 100644
--- a/graphics/evince/pkg-plist
+++ b/graphics/evince/pkg-plist
@@ -1,12 +1,18 @@
bin/evince
share/gnome/applications/evince.desktop
+@exec update-desktop-database > /dev/null || /usr/bin/true
share/gnome/evince/evince-password.glade
share/gnome/evince/evince-ui.xml
+share/locale/bg/LC_MESSAGES/evince.mo
share/locale/ca/LC_MESSAGES/evince.mo
share/locale/cs/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
share/locale/en_CA/LC_MESSAGES/evince.mo
+share/locale/en_GB/LC_MESSAGES/evince.mo
+share/locale/fi/LC_MESSAGES/evince.mo
+share/locale/fr/LC_MESSAGES/evince.mo
share/locale/ja/LC_MESSAGES/evince.mo
share/locale/nb/LC_MESSAGES/evince.mo
share/locale/nl/LC_MESSAGES/evince.mo
@@ -14,4 +20,6 @@ share/locale/no/LC_MESSAGES/evince.mo
share/locale/pt_BR/LC_MESSAGES/evince.mo
share/locale/sv/LC_MESSAGES/evince.mo
share/locale/zh_CN/LC_MESSAGES/evince.mo
+share/locale/zh_TW/LC_MESSAGES/evince.mo
@dirrm share/gnome/evince
+@unexec update-desktop-database > /dev/null || /usr/bin/true