[135497] users/devans/GNOME-3/stable/dports/gnome/gthumb
devans at macports.org
devans at macports.org
Fri Apr 24 14:49:23 PDT 2015
Revision: 135497
https://trac.macports.org/changeset/135497
Author: devans at macports.org
Date: 2015-04-24 14:49:22 -0700 (Fri, 24 Apr 2015)
Log Message:
-----------
GNOME-3/stable: gthumb, update to version 3.4.0, dependencies, reconfigure using upstream autogen.sh for intltool 0.51 compatibility.
Modified Paths:
--------------
users/devans/GNOME-3/stable/dports/gnome/gthumb/Portfile
users/devans/GNOME-3/stable/dports/gnome/gthumb/files/patch-configure.ac.diff
Added Paths:
-----------
users/devans/GNOME-3/stable/dports/gnome/gthumb/files/autogen.sh
Modified: users/devans/GNOME-3/stable/dports/gnome/gthumb/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gthumb/Portfile 2015-04-24 21:35:14 UTC (rev 135496)
+++ users/devans/GNOME-3/stable/dports/gnome/gthumb/Portfile 2015-04-24 21:49:22 UTC (rev 135497)
@@ -4,7 +4,7 @@
PortSystem 1.0
name gthumb
-version 3.2.8
+version 3.4.0
license GPL-2+
set branch [join [lrange [split ${version} .] 0 1] .]
description Image viewer and browser for the gnome desktop.
@@ -16,20 +16,24 @@
master_sites gnome:sources/gthumb/${branch}
use_xz yes
-checksums sha256 d600aba747af551540f3bbae8e8afa1cc308c658d911318c98fd4bf52ecd61b8 \
- rmd160 25b57ca3651706d091cc3c18187631ea4c59a4f0
+checksums sha256 abd1afe457c65289af31c6db7037452faa3838356480857d8cdc19f0ecde4933 \
+ rmd160 7f2d279659da308a1d22bdc3957a5b4aecf3570e
depends_build port:intltool \
port:pkgconfig \
port:gnome-common \
port:yelp-tools \
- port:itstool
+ port:itstool \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib port:desktop-file-utils \
port:gtk3 \
port:exiv2 \
port:gstreamer1-gst-plugins-base \
- port:libopenraw \
+ port:lcms2 \
+ port:libraw \
port:libsoup \
port:libsecret \
port:librsvg \
@@ -40,20 +44,18 @@
patchfiles patch-configure.ac.diff
-# update m4/intltool.m4 and autoreconf
+# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
-pre-configure {
- copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+post-patch {
+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
}
-use_autoreconf yes
-autoreconf.args -fvi
+configure.cmd ./autogen.sh
-configure.args --enable-libopenraw \
+configure.args --enable-libraw \
--disable-clutter \
--disable-libbrasero \
--disable-webkit2 \
- --with-smclient=no \
--enable-compile-warnings=minimum \
--disable-schemas-compile \
--disable-silent-rules
Added: users/devans/GNOME-3/stable/dports/gnome/gthumb/files/autogen.sh
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gthumb/files/autogen.sh (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gthumb/files/autogen.sh 2015-04-24 21:49:22 UTC (rev 135497)
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="gthumb"
+REQUIRED_AUTOMAKE_VERSION=1.8
+
+(test -f $srcdir/configure.ac \
+ && test -d $srcdir/gthumb) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level $PKG_NAME directory"
+ exit 1
+}
+
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common from the GNOME git"
+ exit 1
+}
+
+USE_GNOME2_MACROS=1 . gnome-autogen.sh
Modified: users/devans/GNOME-3/stable/dports/gnome/gthumb/files/patch-configure.ac.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gthumb/files/patch-configure.ac.diff 2015-04-24 21:35:14 UTC (rev 135496)
+++ users/devans/GNOME-3/stable/dports/gnome/gthumb/files/patch-configure.ac.diff 2015-04-24 21:49:22 UTC (rev 135497)
@@ -1,6 +1,6 @@
---- configure.ac.orig 2014-10-13 14:55:17.000000000 -0700
-+++ configure.ac 2014-10-13 14:55:40.000000000 -0700
-@@ -76,7 +76,7 @@
+--- configure.ac.orig 2015-04-14 08:12:09.000000000 -0700
++++ configure.ac 2015-04-24 14:26:29.000000000 -0700
+@@ -77,7 +77,7 @@
dnl ===========================================================================
CFLAGS=${CFLAGS-:""}
@@ -9,12 +9,12 @@
AC_ARG_ENABLE(deprecated,
AS_HELP_STRING([--disable-deprecated], [do not use deprecated API]),
-@@ -332,7 +332,7 @@
-
+@@ -106,7 +106,7 @@
dnl ===========================================================================
--WARN_CFLAGS="-Wall -Wcast-align -Wtype-limits -Wclobbered -Wempty-body -Wignored-qualifiers"
-+WARN_CFLAGS="-Wall -Wcast-align -Wtype-limits -Wempty-body -Wignored-qualifiers"
-
- for option in $WARN_CFLAGS; do
- SAVE_CFLAGS="$CFLAGS"
+ if test x$ENABLE_DEBUG = xyes; then
+-WARN_CFLAGS="-Wall -Wcast-align -Wtype-limits -Wclobbered -Wempty-body -Wignored-qualifiers -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -Wformat-security"
++WARN_CFLAGS="-Wall -Wcast-align -Wtype-limits -Wempty-body -Wignored-qualifiers -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -Wformat-security"
+ else
+ WARN_CFLAGS="-Wall"
+ fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150424/984c48ec/attachment.html>
More information about the macports-changes
mailing list