[110288] users/devans/GNOME-3/stable/dports/net/libgweather
devans at macports.org
devans at macports.org
Thu Aug 29 09:05:11 PDT 2013
Revision: 110288
https://trac.macports.org/changeset/110288
Author: devans at macports.org
Date: 2013-08-29 09:05:11 -0700 (Thu, 29 Aug 2013)
Log Message:
-----------
devans/GNOME-3/stable/dports: libgweather, update to version 3.8.2.
Modified Paths:
--------------
users/devans/GNOME-3/stable/dports/net/libgweather/Portfile
Added Paths:
-----------
users/devans/GNOME-3/stable/dports/net/libgweather/files/patch-libgweather-gweather-location.c.diff
Removed Paths:
-------------
users/devans/GNOME-3/stable/dports/net/libgweather/files/patch-python-prefix.diff
Modified: users/devans/GNOME-3/stable/dports/net/libgweather/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/net/libgweather/Portfile 2013-08-29 16:03:04 UTC (rev 110287)
+++ users/devans/GNOME-3/stable/dports/net/libgweather/Portfile 2013-08-29 16:05:11 UTC (rev 110288)
@@ -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
Added: users/devans/GNOME-3/stable/dports/net/libgweather/files/patch-libgweather-gweather-location.c.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/net/libgweather/files/patch-libgweather-gweather-location.c.diff (rev 0)
+++ users/devans/GNOME-3/stable/dports/net/libgweather/files/patch-libgweather-gweather-location.c.diff 2013-08-29 16:05:11 UTC (rev 110288)
@@ -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: users/devans/GNOME-3/stable/dports/net/libgweather/files/patch-python-prefix.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/net/libgweather/files/patch-python-prefix.diff 2013-08-29 16:03:04 UTC (rev 110287)
+++ users/devans/GNOME-3/stable/dports/net/libgweather/files/patch-python-prefix.diff 2013-08-29 16:05:11 UTC (rev 110288)
@@ -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/20130829/df43f604/attachment-0001.html>
More information about the macports-changes
mailing list