[119410] users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts

devans at macports.org devans at macports.org
Thu Apr 24 14:15:26 PDT 2014


Revision: 119410
          https://trac.macports.org/changeset/119410
Author:   devans at macports.org
Date:     2014-04-24 14:15:26 -0700 (Thu, 24 Apr 2014)
Log Message:
-----------
GNOME-3/stable: gnome-online-accounts, build version 3.12.1 for Mavericks and up, version 3.8 for ML and earlier due to webkit-gtk C++ issues.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile

Added Paths:
-----------
    users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh

Removed Paths:
-------------
    users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile-3.12.0
    users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files-3.12.0/

Modified: users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile	2014-04-24 21:13:26 UTC (rev 119409)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile	2014-04-24 21:15:26 UTC (rev 119410)
@@ -4,8 +4,20 @@
 PortSystem      1.0
 
 name            gnome-online-accounts
+
+if {${os.platform} eq "darwin" && ${os.major} >= 13} {
+
+set mavericks_or_better yes
+version         3.12.1
+
+} else {
+
+set mavericks_or_better no
 version         3.8.5
-revision        1
+revision        2
+
+}
+
 license         LGPL-2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 description     Single sign-on framework for GNOME
@@ -19,6 +31,55 @@
 
 use_xz          yes
 
+if {$mavericks_or_better} {
+
+checksums       rmd160  3166f8140cc1892afd7ff07eb9c2db7bc60e7045 \
+                sha256  2b8930e463c84d609a00ed9337db16550de89e7a7b8184ab18f2a63f150e7cef
+
+depends_build   port:pkgconfig \
+                port:intltool \
+                port:gnome-common \
+                port:autoconf \
+                port:automake \
+                port:libtool \
+                port:gtk-doc
+
+depends_lib     port:gtk3 \
+                path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 \
+                port:libsoup \
+                port:json-glib \
+                port:rest \
+                port:libsecret \
+                port:libxml2 \
+                port:gobject-introspection \
+                port:gcr \
+                port:telepathy-glib
+
+# use upstream autogen.sh to update m4/intltool.m4 and telepathy-account-widgets/m4/intltool.m4 and reconfigure
+
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+}
+
+configure.cmd   ./autogen.sh
+
+configure.args  --enable-introspection=yes \
+                --enable-ubuntu-online-accounts=no \
+                --disable-exchange \
+                --enable-flickr \
+                --enable-google \
+                --enable-imap-smtp \
+                --enable-owncloud \
+                --enable-yahoo \
+                --enable-facebook \
+                --enable-windows-live \
+                --enable-telepathy \
+                --enable-pocket \
+                --disable-kerberos \
+                --disable-silent-rules
+
+} else {
+
 checksums       rmd160  21889d886fa262e536929ecb6905cfcd3f50a462 \
                 sha256  34d6fbc33bda4c7bba8aa52343ebe1eb8afe1033097c10a2d9979c0a99593e5d
 
@@ -45,8 +106,19 @@
 autoreconf.args -fvi
 
 configure.cflags-append -Wno-format-nonliteral
-configure.args  --enable-introspection=yes
+configure.args  --enable-introspection=yes \
+                --disable-exchange \
+                --enable-flickr \
+                --enable-google \
+                --enable-imap-smtp \
+                --enable-owncloud \
+                --enable-facebook \
+                --enable-windows-live \
+                --disable-kerberos \
+                --disable-silent-rules
 
+}
+
 # TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
 platform darwin {
     set cxxstdlib {}
@@ -68,6 +140,13 @@
     }
 }
 
-# this is the last version that will build on darwin < 13
+if {$mavericks_or_better} {
 
+livecheck.type  gnome
+
+} else {
+
+# Version 3.8.5 is the last version that will build on darwin < 13
 livecheck.type  none
+
+}

Deleted: users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile-3.12.0
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile-3.12.0	2014-04-24 21:13:26 UTC (rev 119409)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile-3.12.0	2014-04-24 21:15:26 UTC (rev 119410)
@@ -1,73 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# $Id: Portfile 116271 2014-01-23 17:32:19Z devans at macports.org $
-
-PortSystem      1.0
-
-name            gnome-online-accounts
-version         3.12.0
-license         LGPL-2
-set branch      [join [lrange [split ${version} .] 0 1] .]
-description     Single sign-on framework for GNOME
-long_description \
-                ${description}
-maintainers     devans openmaintainer
-categories      gnome
-platforms       darwin
-homepage        https://wiki.gnome.org/Projects/GnomeOnlineAccounts
-master_sites    gnome:sources/${name}/${branch}/
-
-use_xz          yes
-
-checksums       rmd160  be68c2054eada0c3579ae4766161563df6bf0e71 \
-                sha256  81d44afb3b993b7fb465d19b1b572db423bc7591e309f829d0639c802d7dfcc2
-
-depends_build   port:pkgconfig \
-                port:intltool \
-                port:gtk-doc
-
-depends_lib     port:gtk3 \
-                path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3 \
-                port:libsoup \
-                port:json-glib \
-                port:rest \
-                port:libsecret \
-                port:libxml2 \
-                port:gobject-introspection \
-                port:gcr \
-                port:telepathy-glib
-
-#patchfiles      patch-return-val-if-fail.diff
-
-# use upstream autogen.sh to update m4/intltool.m4 and telepathy-account-widgets/m4/intltool.m4 and reconfigure
-
-post-patch {
-    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
-}
-
-configure.cmd   ./autogen.sh
-
-configure.cflags-append -Wno-format-nonliteral
-configure.args  --enable-introspection=yes
-
-# TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
-platform darwin {
-    set cxxstdlib {}
-
-    if {[info exists configure.cxx_stdlib] &&
-        ${configure.cxx_stdlib} ne {} &&
-        [string match *clang* ${configure.cxx}]} {
-        set cxxstdlib ${configure.cxx_stdlib}
-    } elseif {[string match *clang* ${configure.cxx}] &&
-              ${os.major} >= 13} {
-        set cxxstdlib libc++
-    } else {
-        set cxxstdlib libstdc++
-    }
-
-    if {${cxxstdlib} eq "libstdc++"} {
-       depends_lib-delete path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3
-       depends_lib-append path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3-2.0
-    }
-}
-
-livecheck.type  gnome

Added: users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh	2014-04-24 21:15:26 UTC (rev 119410)
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="goa"
+
+(test -f $srcdir/src/Makefile.am) || {
+    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"
+    exit 1
+}
+
+cd telepathy-account-widgets
+sh autogen.sh --no-configure
+cd ..
+
+. gnome-autogen.sh --enable-gtk-doc "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140424/d490bb39/attachment-0001.html>


More information about the macports-changes mailing list