[101665] trunk/dports/gnome/gthumb

devans at macports.org devans at macports.org
Wed Jan 16 08:31:21 PST 2013


Revision: 101665
          https://trac.macports.org/changeset/101665
Author:   devans at macports.org
Date:     2013-01-16 08:31:21 -0800 (Wed, 16 Jan 2013)
Log Message:
-----------
gthumb: update to version 2.14.4, add +clutter +debug variants.

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

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

Modified: trunk/dports/gnome/gthumb/Portfile
===================================================================
--- trunk/dports/gnome/gthumb/Portfile	2013-01-16 15:36:53 UTC (rev 101664)
+++ trunk/dports/gnome/gthumb/Portfile	2013-01-16 16:31:21 UTC (rev 101665)
@@ -4,8 +4,7 @@
 PortSystem              1.0
 
 name                    gthumb
-version                 2.12.4
-revision                2
+version                 2.14.4
 license                 GPL-2+
 set branch              [join [lrange [split ${version} .] 0 1] .]
 description             Image viewer and browser for the gnome desktop.
@@ -15,10 +14,10 @@
 platforms               darwin
 homepage                http://gthumb.sourceforge.net/
 master_sites            gnome:sources/gthumb/${branch}
-use_bzip2               yes
+use_xz                  yes
 
-checksums               sha1    2fac9fde2e89f90aea7174158990ca61bd95e2a5 \
-                        rmd160  dee727570c53f6bf700287853dee74efd233d497
+checksums               sha256  1561ca52f9b60fbcd0e8fc976de8b30f0447019c698bfe1051d421935b5a51b5 \
+                        rmd160  384b4441ed3d4022b6e5c5301b5a3c422f8b101b
 
 depends_build           port:gnome-doc-utils \
                         port:intltool \
@@ -29,17 +28,30 @@
                         port:libgnome-keyring \
                         port:libsoup \
                         port:libunique \
-                        port:clutter-gtk \
                         port:exiv2 \
                         port:libopenraw
 
+patchfiles              patch-configure.diff
+
 configure.args          --enable-libopenraw \
+                        --disable-clutter \
+                        --disable-gnome-3 \
+                        --disable-libbrasero \
                         --disable-scrollkeeper \
                         --disable-schemas-install \
                         --disable-silent-rules
 
 universal_variant no
 
+variant clutter description {Enable use of clutter in slide show feature} {
+    depends_lib-append    port:clutter-gtk
+    configure.args-delete --disable-clutter
+}
+
+variant debug description {Enable building of debugging messages} {
+    configure.args-append --enable-debug
+}
+
 post-activate {
     system "scrollkeeper-update"
     system "gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
@@ -47,6 +59,5 @@
         gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
 }
 
-livecheck.type          regex
 livecheck.url           http://ftp.gnome.org/pub/GNOME/sources/${name}/${branch}
-livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
+livecheck.regex         "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"

Added: trunk/dports/gnome/gthumb/files/patch-configure.diff
===================================================================
--- trunk/dports/gnome/gthumb/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/gnome/gthumb/files/patch-configure.diff	2013-01-16 16:31:21 UTC (rev 101665)
@@ -0,0 +1,11 @@
+--- configure.orig	2013-01-15 17:43:51.000000000 -0800
++++ configure	2013-01-15 17:46:15.000000000 -0800
+@@ -17306,7 +17306,7 @@
+ 
+ 
+ CFLAGS=${CFLAGS-:""}
+-CFLAGS="$CFLAGS -fPIC -DPIC -Wl,--as-needed"
++CFLAGS="$CFLAGS -fPIC -DPIC"
+ 
+ # Check whether --enable-deprecated was given.
+ if test "${enable_deprecated+set}" = set; then :
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130116/e33b9303/attachment.html>


More information about the macports-changes mailing list