[135421] users/devans/GNOME-3/stable/dports/gnome/gedit
devans at macports.org
devans at macports.org
Thu Apr 23 09:43:26 PDT 2015
Revision: 135421
https://trac.macports.org/changeset/135421
Author: devans at macports.org
Date: 2015-04-23 09:43:26 -0700 (Thu, 23 Apr 2015)
Log Message:
-----------
GNOME-3/stable: gedit, update to version 3.16.1, reconfigure using upstream autogen.sh for intltool 0.51 compatibility.
Modified Paths:
--------------
users/devans/GNOME-3/stable/dports/gnome/gedit/Portfile
Added Paths:
-----------
users/devans/GNOME-3/stable/dports/gnome/gedit/files/autogen.sh
Property Changed:
----------------
users/devans/GNOME-3/stable/dports/gnome/gedit/
Property changes on: users/devans/GNOME-3/stable/dports/gnome/gedit
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk/dports/gnome/gedit:108265-127338
/users/devans/GNOME-3/unstable/dports/gnome/gedit:114069-118152,120511-125920
+ /trunk/dports/gnome/gedit:108265-127338
/users/devans/GNOME-3/unstable/dports/gnome/gedit:114069-118152,120511-125920,132275-134596
Modified: users/devans/GNOME-3/stable/dports/gnome/gedit/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gedit/Portfile 2015-04-23 16:43:23 UTC (rev 135420)
+++ users/devans/GNOME-3/stable/dports/gnome/gedit/Portfile 2015-04-23 16:43:26 UTC (rev 135421)
@@ -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
Added: users/devans/GNOME-3/stable/dports/gnome/gedit/files/autogen.sh
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gedit/files/autogen.sh (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gedit/files/autogen.sh 2015-04-23 16:43:26 UTC (rev 135421)
@@ -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/20150423/e69cdd88/attachment.html>
More information about the macports-changes
mailing list