[113256] trunk/dports/net/libgweather

devans at macports.org devans at macports.org
Wed Nov 13 00:26:35 PST 2013


Revision: 113256
          https://trac.macports.org/changeset/113256
Author:   devans at macports.org
Date:     2013-11-13 00:26:35 -0800 (Wed, 13 Nov 2013)
Log Message:
-----------
libgweather: merge version 3.8.2 from GNOME-3 test branch.

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

Added Paths:
-----------
    trunk/dports/net/libgweather/files/patch-libgweather-gweather-location.c.diff

Removed Paths:
-------------
    trunk/dports/net/libgweather/files/patch-python-prefix.diff

Property Changed:
----------------
    trunk/dports/net/libgweather/


Property changes on: trunk/dports/net/libgweather
___________________________________________________________________
Added: svn:mergeinfo
   + /branches/mld-qt-481/dports/net/libgweather:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/devans/GNOME-3/stable/dports/net/libgweather:108269-113174

Modified: trunk/dports/net/libgweather/Portfile
===================================================================
--- trunk/dports/net/libgweather/Portfile	2013-11-13 08:24:40 UTC (rev 113255)
+++ trunk/dports/net/libgweather/Portfile	2013-11-13 08:26:35 UTC (rev 113256)
@@ -4,8 +4,7 @@
 PortSystem      1.0
 
 name            libgweather
-version         2.30.3
-revision        6
+version         3.8.2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 maintainers     devans openmaintainer
 categories      net gnome
@@ -14,71 +13,36 @@
 description     Library to accessing online weather informations.
 
 long_description \
-    libgweather is a library to access weather \
-    information from online services for numerous \
-    locations.
+                libgweather is a library to access weather \
+                information from online services for numerous \
+                locations.
 
 homepage        http://www.gnome.org/
 master_sites    gnome:sources/${name}/${branch}/
-use_bzip2       yes
 
-checksums       md5     bf6a0a05051341ecb250f332e3edfb88 \
-                sha1    e89aadc89d3405d1a3de12005fa839d9da5adbc1 \
-                rmd160  84158a5099c41b028a5f8d15ce99534dbd992051
+use_xz          yes
 
+checksums       rmd160  cf260ce71378eeecc9621b7b667ba47167158455 \
+                sha256  b053c1328d756a6c653e44464b7a41bec451752fa9686ade32e2e4c6e2a6deb5
+
 depends_build   port:pkgconfig \
                 port:intltool \
                 port:gtk-doc
 
-depends_lib     port:gconf \
-                port:libsoup
+depends_lib     port:gtk3 \
+                port:libxml2 \
+                port:libsoup \
+                port:gobject-introspection
 
-patchfiles      patch-python-prefix.diff
+patchfiles      patch-libgweather-gweather-location.c.diff
 
-configure.args  --disable-schemas-install \
+configure.args  --enable-introspection=yes \
+                --disable-schemas-compile \
                 --disable-silent-rules \
-                --disable-glibtest \
-                --enable-python
+                --disable-glibtest
 
-variant python25 conflicts python26 python27 description {Use python 2.5} {
-    configure.python          ${prefix}/bin/python2.5
-    depends_lib-append        port:py25-pygtk
-    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.5
-    configure.pkg_config_path ${python_framework}/lib/pkgconfig
-
-    # ensure build path contains path to python executables (#26201)
-    build.env       PATH=${python_framework}/bin:$env(PATH)
-}
-
-variant python26 conflicts python25 python27 description {Use python 2.6} {
-    configure.python          ${prefix}/bin/python2.6
-    depends_lib-append        port:py26-pygtk
-    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.6
-    configure.pkg_config_path ${python_framework}/lib/pkgconfig
-
-    # ensure build path contains path to python executables (#26201)
-    build.env       PATH=${python_framework}/bin:$env(PATH)
-}
-
-variant python27 conflicts python25 python26 description {Use python 2.7} {
-    configure.python          ${prefix}/bin/python2.7
-    depends_lib-append        port:py27-pygtk
-    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.7
-    configure.pkg_config_path ${python_framework}/lib/pkgconfig
-
-    # ensure build path contains path to python executables (#26201)
-    build.env       PATH=${python_framework}/bin:$env(PATH)
-}
-
-if {![variant_isset python25] && ![variant_isset python26]} {
-    default_variants +python27
-}
-
 post-activate {
-    system "\
-        GCONF_CONFIG_SOURCE= \
-        gconftool-2 --makefile-install-rule \
-            ${prefix}/etc/gconf/schemas/gweather.schemas"
+    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
 }
 
 livecheck.type  gnome

Copied: trunk/dports/net/libgweather/files/patch-libgweather-gweather-location.c.diff (from rev 113174, users/devans/GNOME-3/stable/dports/net/libgweather/files/patch-libgweather-gweather-location.c.diff)
===================================================================
--- trunk/dports/net/libgweather/files/patch-libgweather-gweather-location.c.diff	                        (rev 0)
+++ trunk/dports/net/libgweather/files/patch-libgweather-gweather-location.c.diff	2013-11-13 08:26:35 UTC (rev 113256)
@@ -0,0 +1,13 @@
+--- libgweather/gweather-location.c.orig	2013-08-23 10:08:22.000000000 -0700
++++ libgweather/gweather-location.c	2013-08-23 10:08:36.000000000 -0700
+@@ -916,8 +916,8 @@
+ 			  location->latitude,
+ 			  location->longitude,
+ 			  location->parent && location->parent->latlon_valid,
+-			  location->parent ? location->parent->latitude : 0.0d,
+-			  location->parent ? location->parent->longitude : 0.0d);
++			  location->parent ? location->parent->latitude : 0.0,
++			  location->parent ? location->parent->longitude : 0.0);
+ }
+ 
+ GWeatherLocation *

Deleted: trunk/dports/net/libgweather/files/patch-python-prefix.diff
===================================================================
--- trunk/dports/net/libgweather/files/patch-python-prefix.diff	2013-11-13 08:24:40 UTC (rev 113255)
+++ trunk/dports/net/libgweather/files/patch-python-prefix.diff	2013-11-13 08:26:35 UTC (rev 113256)
@@ -1,14 +0,0 @@
---- configure.orig	2010-09-27 05:39:08.000000000 -0700
-+++ configure	2010-09-27 11:54:57.000000000 -0700
-@@ -14419,9 +14419,9 @@
- 
- 
- 
--  PYTHON_PREFIX='${prefix}'
-+  PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
- 
--  PYTHON_EXEC_PREFIX='${exec_prefix}'
-+  PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'`
- 
- 
- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131113/5aaf4e7b/attachment.html>


More information about the macports-changes mailing list