[136180] trunk/dports/gnome/gedit

devans at macports.org devans at macports.org
Mon May 11 15:50:27 PDT 2015


Revision: 136180
          https://trac.macports.org/changeset/136180
Author:   devans at macports.org
Date:     2015-05-11 15:50:26 -0700 (Mon, 11 May 2015)
Log Message:
-----------
gedit: update to version 3.16.1, reconfigure using upstream autogen.sh for intltool 0.51 compatibility.

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

Added Paths:
-----------
    trunk/dports/gnome/gedit/files/autogen.sh

Property Changed:
----------------
    trunk/dports/gnome/gedit/


Property changes on: trunk/dports/gnome/gedit
___________________________________________________________________
Modified: svn:mergeinfo
   - /users/devans/GNOME-3/stable/dports/gnome/gedit:108269-132622
/users/devans/GNOME-3/unstable/dports/gnome/gedit:114069-118152,120511-125920
   + /users/devans/GNOME-3/stable/dports/gnome/gedit:108269-136058
/users/devans/GNOME-3/unstable/dports/gnome/gedit:114069-118152,120511-125920,132275-134596

Modified: trunk/dports/gnome/gedit/Portfile
===================================================================
--- trunk/dports/gnome/gedit/Portfile	2015-05-11 22:50:25 UTC (rev 136179)
+++ trunk/dports/gnome/gedit/Portfile	2015-05-11 22:50:26 UTC (rev 136180)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                gedit
-version             3.14.3
+version             3.16.1
 license             GPL-2
 set branch          [join [lrange [split ${version} .] 0 1] .]
 description         GNOME editor.
@@ -17,15 +17,18 @@
 
 use_xz              yes
 
-checksums           rmd160  07b359fff2ca073950c7afd6d84f302e63103d4c \
-                    sha256  cd6c9f556ec12001e4b250091a1d7405cd807cce7fe767bc89ed2c25aa96a319
+checksums           rmd160  d15e293f818804a22ac71bfb5c634b4764f48b08 \
+                    sha256  2c7f3a289070fca3e13800707e2c6b458b733e5a9ee2fe893b13d0718edb402f
 
 depends_build       port:pkgconfig \
                     port:intltool \
                     port:itstool \
                     port:yelp-tools \
                     port:gnome-common \
-                    port:gtk-doc
+                    port:gtk-doc \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
 depends_lib         port:desktop-file-utils \
                     port:gsettings-desktop-schemas \
@@ -44,14 +47,13 @@
 
 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.cflags-append \
                     -Wno-error=format-nonliteral

Copied: trunk/dports/gnome/gedit/files/autogen.sh (from rev 136058, users/devans/GNOME-3/stable/dports/gnome/gedit/files/autogen.sh)
===================================================================
--- trunk/dports/gnome/gedit/files/autogen.sh	                        (rev 0)
+++ trunk/dports/gnome/gedit/files/autogen.sh	2015-05-11 22:50:26 UTC (rev 136180)
@@ -0,0 +1,43 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+
+OLDDIR=`pwd`
+cd $srcdir
+
+AUTORECONF=`which autoreconf`
+if test -z $AUTORECONF; then
+        echo "*** No autoreconf found, please intall it ***"
+        exit 1
+fi
+
+INTLTOOLIZE=`which intltoolize`
+if test -z $INTLTOOLIZE; then
+        echo "*** No intltoolize found, please install the intltool package ***"
+        exit 1
+fi
+
+GNOMEDOC=`which yelp-build`
+if test -z $GNOMEDOC; then
+        echo "*** The tools to build the documentation are not found,"
+        echo "    please intall the yelp-tools package ***"
+        exit 1
+fi
+
+GTKDOCIZE=`which gtkdocize`
+if test -z $GTKDOCIZE; then
+        echo "*** No GTK-Doc found, please install it ***"
+        exit 1
+fi
+
+# git submodule update --init --recursive
+
+gtkdocize || exit $?
+# autopoint --force || exit $?
+intltoolize --automake --copy --force 
+autoreconf --force --install --verbose
+
+cd $OLDDIR
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150511/0a6b0fea/attachment.html>


More information about the macports-changes mailing list