[139161] trunk/dports/net/gajim/Portfile

devans at macports.org devans at macports.org
Tue Aug 4 13:09:04 PDT 2015


Revision: 139161
          https://trac.macports.org/changeset/139161
Author:   devans at macports.org
Date:     2015-08-04 13:09:03 -0700 (Tue, 04 Aug 2015)
Log Message:
-----------
gajim: fix build by switching to python27 (#47237, openmaintainer)
  * remove +nonls and other outdated variants (#32324)
  * reconfigure using autogen.sh for intltool 0.51 compatibility
  * update dependencies, python configuration

Modified Paths:
--------------
    trunk/dports/net/gajim/Portfile

Modified: trunk/dports/net/gajim/Portfile
===================================================================
--- trunk/dports/net/gajim/Portfile	2015-08-04 19:32:06 UTC (rev 139160)
+++ trunk/dports/net/gajim/Portfile	2015-08-04 20:09:03 UTC (rev 139161)
@@ -5,7 +5,7 @@
 
 name                gajim
 version             0.14.1
-revision            2
+revision            3
 set branch          [join [lrange [split ${version} .] 0 1] .]
 homepage            http://www.gajim.org/
 categories          net chat x11
@@ -28,67 +28,27 @@
                     sha1    d2fdf32ded4a5fb3c7a277a765f84a5453931f34 \
                     rmd160  859cbd4a9f190adfc6b84c23ef03e3c3cab09d8d
 
-post-patch {
-    # Force usage of MacPorts python
-    reinplace "s|@PYTHON@|${prefix}/bin/python2.6|" \
-        ${worksrcpath}/scripts/gajim.in
-}
-
 depends_build       port:intltool \
-                    port:pkgconfig
-depends_lib         port:gettext \
-                    port:gtk2 \
-                    port:py26-pygtk \
-                    port:py26-gobject \
-                    port:py26-docutils \
-                    port:py26-openssl \
-                    port:dbus-python26
+                    port:pkgconfig \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
-set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
+depends_lib         port:gtk2 \
+                    port:gtkspell2 \
+                    port:py27-pygtk \
+                    port:py27-docutils \
+                    port:py27-openssl \
+                    port:dbus-python27
+
+set python_prefix   ${frameworks_dir}/Python.framework/Versions/2.7
+configure.python    ${prefix}/bin/python2.7
 configure.pkg_config_path  ${python_prefix}/lib/pkgconfig
 
-configure.args      --disable-trayicon \
-                    --enable-idle \
-                    --disable-gtkspell \
-                    --disable-remote \
-                    --enable-nls
+# reconfigure using autogen.sh for intltool 0.51 compatibility
 
-variant gnome description {Add GNOME support} {
-    depends_lib-append      port:gnome-desktop
-}
+configure.cmd       ./autogen.sh
 
-variant zeroconf description {Add zeroconf (Bonjour) support} {
-    depends_lib-append      port:dbus-glib \
-                            port:avahi
-}
-
-variant trayicon description {Add trayicon support} {
-    configure.args-delete   --disable-trayicon
-    configure.args-append   --enable-trayicon
-}
-
-variant noidle description {Disable idle support} {
-    configure.args-delete   --enable-idle
-    configure.args-append   --disable-idle
-}
-
-variant remote description {Add remote support} {
-    configure.args-delete   --disable-remote
-    configure.args-append   --enable-remote
-    depends_lib-append      port:dbus
-}
-
-variant nonls description {Disable native language support} {
-    configure.args-delete   --enable-nls
-    configure.args-append   --disable-nls
-}
-
-variant gtkspell description {Add gtkspell support} {
-    configure.args-delete   --disable-gtkspell
-    configure.args-append   --enable-gtkspell
-    depends_lib-append      port:gtkspell2
-}
-
 livecheck.type      regex
 livecheck.url       ${homepage}/downloads.php?lang=en
 livecheck.regex     "Latest version of Gajim is\\s+<strong>(\\d+.\\d+.\\d+)<"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150804/b71087e3/attachment.html>


More information about the macports-changes mailing list