[107302] trunk/dports/gnome/evince

devans at macports.org devans at macports.org
Tue Jun 25 07:58:52 PDT 2013


Revision: 107302
          https://trac.macports.org/changeset/107302
Author:   devans at macports.org
Date:     2013-06-25 07:58:52 -0700 (Tue, 25 Jun 2013)
Log Message:
-----------
evince: update to version 2.32.0.

Modified Paths:
--------------
    trunk/dports/gnome/evince/Portfile

Added Paths:
-----------
    trunk/dports/gnome/evince/files/patch-configure.ac.diff

Removed Paths:
-------------
    trunk/dports/gnome/evince/files/missing-links.patch
    trunk/dports/gnome/evince/files/patch-poppler-0.16-API-changes.diff

Modified: trunk/dports/gnome/evince/Portfile
===================================================================
--- trunk/dports/gnome/evince/Portfile	2013-06-25 14:58:32 UTC (rev 107301)
+++ trunk/dports/gnome/evince/Portfile	2013-06-25 14:58:52 UTC (rev 107302)
@@ -5,8 +5,7 @@
 PortGroup  muniversal 1.0
 
 name            evince
-version         2.30.3
-revision        20
+version         2.32.0
 license         GPL-2+
 set branch      [join [lrange [split ${version} .] 0 1] .]
 description     Evince is a document viewer for multiple document formats like pdf, and many others.
@@ -17,38 +16,45 @@
 platforms       darwin
 homepage        http://projects.gnome.org/evince/
 master_sites    gnome:sources/${name}/${branch}/
+
 use_bzip2       yes
 
-checksums       md5     516748897113cd4e9638c49245c555c2 \
-                sha1    381730a6fc66bbd823edbd0aa50b480e5d40f130 \
-                rmd160  67b5a9ba2da16f20946447cfcbd482505b2f4fc0
+checksums       rmd160  a2d52685ac119b70cf40f320de457b3dfbac2587 \
+                sha256  2a4c91ae38f8b5028cebb91b9da9ddc50ea8ae3f3d429df89ba351da2d787ff7
 
+depends_build   port:gnome-doc-utils \
+                port:intltool \
+                port:pkgconfig \
+                port:desktop-file-utils
+
 depends_lib     port:gconf \
                 port:jpeg \
                 port:tiff \
                 port:libgnome-keyring \
                 port:gnome-icon-theme \
                 port:poppler \
+                port:texlive-bin \
                 port:t1lib \
                 port:libspectre \
                 port:xorg-libsm \
                 port:xorg-libice \
                 port:nautilus
 
-depends_build   port:gnome-doc-utils \
-                port:intltool \
-                port:pkgconfig
+depends_run     port:gnome-settings-daemon \
+                port:yelp
 
-depends_run     port:gnome-settings-daemon
+patchfiles      patch-configure.ac.diff
 
-patchfiles      patch-poppler-0.16-API-changes.diff missing-links.patch
-
 use_autoreconf  yes
 
 configure.args  --disable-scrollkeeper \
                 --disable-schemas-install \
-                --disable-introspection \
+                --disable-schemas-compile \
+                --disable-silent-rules \
                 --disable-djvu \
+                --with-gtk=2.0 \
+                --enable-introspection=no \
+                --enable-debug \
                 --enable-ps \
                 --enable-pdf \
                 --enable-tiff \
@@ -77,8 +83,10 @@
 post-activate    {
     system "${prefix}/bin/scrollkeeper-update"
     system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
     system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
         gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
+    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
 }
 
 livecheck.type  gnome

Deleted: trunk/dports/gnome/evince/files/missing-links.patch
===================================================================
--- trunk/dports/gnome/evince/files/missing-links.patch	2013-06-25 14:58:32 UTC (rev 107301)
+++ trunk/dports/gnome/evince/files/missing-links.patch	2013-06-25 14:58:52 UTC (rev 107302)
@@ -1,29 +0,0 @@
---- configure.ac.orig	2013-02-10 22:10:53.000000000 -0800
-+++ configure.ac	2013-02-10 22:12:46.000000000 -0800
-@@ -139,7 +139,7 @@ dnl Check dependencies
- # SHELL_CFLAGS     for shell implementation.
- # SHELL_LIBS
- 
--PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-2.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED)
-+PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-2.0 >= $GTK_REQUIRED gmodule-2.0 gio-2.0 >= $GLIB_REQUIRED)
- PKG_CHECK_MODULES(LIBVIEW, gtk+-2.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)
- PKG_CHECK_MODULES(BACKEND, gtk+-2.0 >= $GTK_REQUIRED)
- PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-2.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)
-@@ -159,7 +159,7 @@ case "$with_platform" in
-         # require the gnome icon theme instead.
-         SHELL_PLATFORM_PKGS="gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED"
-         # The totem-screensaver and egg_smclient code use x11 directly.
--        SHELL_PLATFORM_PKGS="$SHELL_PLATFORM_PKGS x11"
-+        SHELL_PLATFORM_PKGS="$SHELL_PLATFORM_PKGS x11 ice"
-         ;;
-   *)
-         # On all other platforms we issue a warning about the runtime
-@@ -201,7 +201,7 @@ if test "$with_smclient" != "no"; then
-     *) SMCLIENT_PKGS="" ;;
-   esac
- 
--  PKG_CHECK_MODULES([SMCLIENT],[gtk+-2.0 gthread-2.0 $SMCLIENT_PKGS])
-+  PKG_CHECK_MODULES([SMCLIENT],[gtk+-2.0 gthread-2.0 gmodule-2.0 $SMCLIENT_PKGS])
-   AC_SUBST([SMCLIENT_CFLAGS])
-   AC_SUBST([SMCLIENT_LIBS])
- fi

Added: trunk/dports/gnome/evince/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/gnome/evince/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/gnome/evince/files/patch-configure.ac.diff	2013-06-25 14:58:52 UTC (rev 107302)
@@ -0,0 +1,29 @@
+--- configure.ac.orig	2010-09-27 11:48:44.000000000 -0700
++++ configure.ac	2013-05-06 04:05:10.000000000 -0700
+@@ -164,7 +164,7 @@
+ # SHELL_LIBS
+ 
+ 
+-PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED)
++PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gmodule-2.0 gio-2.0 >= $GLIB_REQUIRED)
+ PKG_CHECK_MODULES(LIBVIEW, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gail$GAIL_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)
+ PKG_CHECK_MODULES(BACKEND, cairo >= $CAIRO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED)
+ PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED)
+@@ -183,7 +183,7 @@
+         # require the gnome icon theme instead.
+         SHELL_PLATFORM_PKGS="gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED"
+         # The totem-screensaver and egg_smclient code use x11 directly.
+-        SHELL_PLATFORM_PKGS="$SHELL_PLATFORM_PKGS x11"
++        SHELL_PLATFORM_PKGS="$SHELL_PLATFORM_PKGS x11 ice"
+         ;;
+   *)
+         # On all other platforms we issue a warning about the runtime
+@@ -225,7 +225,7 @@
+     *) SMCLIENT_PKGS="" ;;
+   esac
+ 
+-  PKG_CHECK_MODULES([SMCLIENT],[gtk+-$GTK_API_VERSION gthread-2.0 $SMCLIENT_PKGS])
++  PKG_CHECK_MODULES([SMCLIENT],[gtk+-$GTK_API_VERSION gthread-2.0 gmodule-2.0 $SMCLIENT_PKGS])
+   AC_SUBST([SMCLIENT_CFLAGS])
+   AC_SUBST([SMCLIENT_LIBS])
+ fi

Deleted: trunk/dports/gnome/evince/files/patch-poppler-0.16-API-changes.diff
===================================================================
--- trunk/dports/gnome/evince/files/patch-poppler-0.16-API-changes.diff	2013-06-25 14:58:32 UTC (rev 107301)
+++ trunk/dports/gnome/evince/files/patch-poppler-0.16-API-changes.diff	2013-06-25 14:58:52 UTC (rev 107302)
@@ -1,46 +0,0 @@
---- backend/pdf/ev-poppler.cc	2010-06-24 10:19:28.000000000 +0200
-+++ backend/pdf/ev-poppler.cc	2011-02-02 10:46:54.000000000 +0100
-@@ -1974,12 +1974,18 @@
- 				 EvRectangle     *points)
- {
- 	PopplerPage *poppler_page;
--	PopplerRectangle r;
--	double height;
- 	char *retval;
--	
-+
- 	poppler_page = POPPLER_PAGE (rc->page->backend_page);
- 
-+#ifdef HAVE_POPPLER_PAGE_GET_SELECTED_TEXT
-+	retval = poppler_page_get_selected_text (poppler_page,
-+						 (PopplerSelectionStyle)style,
-+						 (PopplerRectangle *)points);
-+#else
-+	PopplerRectangle r;
-+	double height;
-+
- 	poppler_page_get_size (poppler_page, NULL, &height);
- 	r.x1 = points->x1;
- 	r.y1 = height - points->y2;
-@@ -1989,6 +1995,7 @@
- 	retval = poppler_page_get_text (poppler_page,
- 					(PopplerSelectionStyle)style,
- 					&r);
-+#endif /* HAVE_POPPLER_PAGE_GET_SELECTED_TEXT */
- 
- 	return retval;
- }
---- configure.ac
-+++ configure.ac
-@@ -493,9 +493,10 @@ if test "x$enable_pdf" = "xyes"; then
- 	    evince_save_LIBS=$LIBS
- 	    LIBS="$LIBS $POPPLER_LIBS"
-	    AC_CHECK_FUNCS(poppler_page_render)
-	    AC_CHECK_FUNCS(poppler_page_get_image)
-	    AC_CHECK_FUNCS(poppler_annot_file_attachment_get_attachment)
-+	    AC_CHECK_FUNCS(poppler_page_get_selected_text)
- 	    LIBS=$evince_save_LIBS
-
- 	    PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf, enable_cairo_pdf=yes, enable_cairo_pdf=no)
- 	    if test x$enable_cairo_pdf = xyes; then
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130625/261838f8/attachment.html>


More information about the macports-changes mailing list