[41529] trunk/dports/gnome/gnome-common

pguyot at kallisys.net pguyot at kallisys.net
Wed Nov 5 07:53:26 PST 2008


Revision: 41529
          http://trac.macports.org/changeset/41529
Author:   pguyot at kallisys.net
Date:     2008-11-05 07:53:26 -0800 (Wed, 05 Nov 2008)
Log Message:
-----------
Make gnome-autogen.sh use glibtoolize (from macports' libtool), enhance error messages

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

Added Paths:
-----------
    trunk/dports/gnome/gnome-common/files/
    trunk/dports/gnome/gnome-common/files/patch-gnome-autogen.sh.diff

Modified: trunk/dports/gnome/gnome-common/Portfile
===================================================================
--- trunk/dports/gnome/gnome-common/Portfile	2008-11-05 15:52:31 UTC (rev 41528)
+++ trunk/dports/gnome/gnome-common/Portfile	2008-11-05 15:53:26 UTC (rev 41529)
@@ -5,6 +5,7 @@
 
 name            gnome-common
 version         2.24.0
+revision        1
 set branch      [join [lrange [split ${version} .] 0 1] .]
 maintainers     nomaintainer
 categories      gnome
@@ -22,6 +23,8 @@
                 sha1    5d1c903037fe7c86957c067f067343ee635eaf0f \
                 rmd160  48ba4c8f15a2cfe3f969fe04b9e3c750d17b0ed6
 
+patchfiles      patch-gnome-autogen.sh.diff
+
 depends_build   port:pkgconfig
 
 use_parallel_build  yes

Added: trunk/dports/gnome/gnome-common/files/patch-gnome-autogen.sh.diff
===================================================================
--- trunk/dports/gnome/gnome-common/files/patch-gnome-autogen.sh.diff	                        (rev 0)
+++ trunk/dports/gnome/gnome-common/files/patch-gnome-autogen.sh.diff	2008-11-05 15:53:26 UTC (rev 41529)
@@ -0,0 +1,64 @@
+--- macros2/gnome-autogen.sh.orig	2008-11-05 15:48:43.000000000 +0100
++++ macros2/gnome-autogen.sh	2008-11-05 15:49:42.000000000 +0100
+@@ -112,7 +112,7 @@
+     if [ "$vc_status" != 0 ]; then
+ 	printerr "***Error***: You must have $vc_package $vc_comparator $vc_min_version installed"
+ 	printerr "  to build $PKG_NAME.  Download the appropriate package for"
+-	printerr "  from your distribution or get the source tarball at"
++	printerr "  from your distribution.  For example, you can install it with"
+         printerr "    $vc_source"
+ 	printerr
+ 	exit $vc_status
+@@ -322,44 +322,44 @@
+ ACLOCAL=`echo $AUTOMAKE | sed s/automake/aclocal/`
+ 
+ if $want_libtool; then
+-    version_check libtool LIBTOOLIZE libtoolize $REQUIRED_LIBTOOL_VERSION \
+-        "http://ftp.gnu.org/pub/gnu/libtool/libtool-$REQUIRED_LIBTOOL_VERSION.tar.gz"
++    version_check libtool LIBTOOLIZE glibtoolize $REQUIRED_LIBTOOL_VERSION \
++        "sudo port install libtool"
+     require_m4macro libtool.m4
+ fi
+ 
+ if $want_gettext; then
+     version_check gettext GETTEXTIZE gettextize $REQUIRED_GETTEXT_VERSION \
+-        "http://ftp.gnu.org/pub/gnu/gettext/gettext-$REQUIRED_GETTEXT_VERSION.tar.gz"
++        "sudo port install gettext"
+     require_m4macro gettext.m4
+ fi
+ 
+ if $want_glib_gettext; then
+     version_check glib-gettext GLIB_GETTEXTIZE glib-gettextize $REQUIRED_GLIB_GETTEXT_VERSION \
+-        "ftp://ftp.gtk.org/pub/gtk/v2.2/glib-$REQUIRED_GLIB_GETTEXT_VERSION.tar.gz"
++        "sudo port install glib2"
+     require_m4macro glib-gettext.m4
+ fi
+ 
+ if $want_intltool; then
+     version_check intltool INTLTOOLIZE intltoolize $REQUIRED_INTLTOOL_VERSION \
+-        "http://ftp.gnome.org/pub/GNOME/sources/intltool/"
++        "sudo port install intltool"
+     require_m4macro intltool.m4
+ fi
+ 
+ if $want_pkg_config; then
+     version_check pkg-config PKG_CONFIG pkg-config $REQUIRED_PKG_CONFIG_VERSION \
+-        "'http://www.freedesktop.org/software/pkgconfig/releases/pkgconfig-$REQUIRED_PKG_CONFIG_VERSION.tar.gz"
++        "sudo port install pkgconfig"
+     require_m4macro pkg.m4
+ fi
+ 
+ if $want_gtk_doc; then
+     version_check gtk-doc GTKDOCIZE gtkdocize $REQUIRED_GTK_DOC_VERSION \
+-        "http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/"
++        "sudo port install gtk-doc"
+     require_m4macro gtk-doc.m4
+ fi
+ 
+ if $want_gnome_doc_utils; then
+     version_check gnome-doc-utils GNOME_DOC_PREPARE gnome-doc-prepare $REQUIRED_GNOME_DOC_UTILS_VERSION \
+-        "http://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/"
++        "sudo port install gnome-doc-utils"
+ fi
+ 
+ if [ "x$USE_COMMON_DOC_BUILD" = "xyes" ]; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081105/1f799601/attachment.html>


More information about the macports-changes mailing list