Hello community, here is the log from the commit of package geocode-glib for openSUSE:Factory checked in at 2015-10-06 16:14:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/geocode-glib (Old) and /work/SRC/openSUSE:Factory/.geocode-glib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "geocode-glib" Changes: -------- --- /work/SRC/openSUSE:Factory/geocode-glib/geocode-glib.changes 2015-05-18 22:00:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.geocode-glib.new/geocode-glib.changes 2015-10-06 16:14:04.000000000 +0200 @@ -1,0 +2,28 @@ +Sun Sep 20 14:39:20 UTC 2015 - zai...@opensuse.org + +- Update to version 3.18.0: + + No changes, version bump only. + +------------------------------------------------------------------- +Wed Sep 16 08:44:58 UTC 2015 - dims...@opensuse.org + +- Update to version 3.17.92: + + Fix compilation under MacOS X. + + Make location timestamp writable on construction. + +------------------------------------------------------------------- +Sun Aug 16 14:34:33 UTC 2015 - zai...@opensuse.org + +- Update to version 3.17.90: + + Update unit tests. + + Add workaround for Nominatim boundingbox bug (bgo#749963). + + Update project description. + + Prettify Geo URI generation. + +------------------------------------------------------------------- +Tue May 12 20:05:49 UTC 2015 - dims...@opensuse.org + +- Update to version 3.17.1: + + Make error handling of reverse geocode more robust. + +------------------------------------------------------------------- Old: ---- geocode-glib-3.16.2.tar.xz New: ---- geocode-glib-3.18.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ geocode-glib.spec ++++++ --- /var/tmp/diff_new_pack.tu5UoE/_old 2015-10-06 16:14:05.000000000 +0200 +++ /var/tmp/diff_new_pack.tu5UoE/_new 2015-10-06 16:14:05.000000000 +0200 @@ -17,13 +17,13 @@ Name: geocode-glib -Version: 3.16.2 +Version: 3.18.0 Release: 0 Summary: Convenience library for the Yahoo! Place Finder APIs License: LGPL-2.0+ Group: System/Libraries Url: http://www.gnome.org/ -Source: http://download.gnome.org/sources/geocode-glib/3.16/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/geocode-glib/3.18/%{name}-%{version}.tar.xz Source1: baselibs.conf BuildRequires: gnome-doc-utils-devel BuildRequires: gobject-introspection-devel ++++++ geocode-glib-3.16.2.tar.xz -> geocode-glib-3.18.0.tar.xz ++++++ ++++ 2453 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/ChangeLog new/geocode-glib-3.18.0/ChangeLog --- old/geocode-glib-3.16.2/ChangeLog 2015-05-12 20:23:39.000000000 +0200 +++ new/geocode-glib-3.18.0/ChangeLog 2015-09-20 14:51:33.000000000 +0200 @@ -1,12 +1,233 @@ -commit f626de7bf9b650a387e074d33b72ae33440e6c4f +commit a3e183e40053b4bd0fd0b25a070f60597270397a Author: Jonas Danielsson <jo...@threetimestwo.org> -Date: Tue May 12 20:22:56 2015 +0200 +Date: Sun Sep 20 14:50:31 2015 +0200 - Release 3.16.2 + Release 3.18.0 - NEWS | 13 +++++++++++++ + NEWS | 4 ++++ + configure.ac | 4 ++-- + 2 files changed, 6 insertions(+), 2 deletions(-) + +commit dd806bdebe5e6290f9028b82c19411f435539747 +Author: Jonas Danielsson <jo...@threetimestwo.org> +Date: Mon Sep 14 18:19:25 2015 +0200 + + Release 3.17.92 + + NEWS | 12 ++++++++++++ configure.ac | 2 +- - 2 files changed, 14 insertions(+), 1 deletion(-) + 2 files changed, 13 insertions(+), 1 deletion(-) + +commit 942cb075b12994949a6096060285b98602529b1a +Author: Jonas Danielsson <jo...@threetimestwo.org> +Date: Mon Sep 14 18:27:56 2015 +0200 + + test-gcglib: Fixup Sata Maria Del Rio + + geocode-glib/test-gcglib.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 11d6c40e48630bb73077e861daabdaa7adab077c +Author: Zeeshan Ali (Khattak) <zeesha...@gnome.org> +Date: Fri Sep 4 21:14:43 2015 +0100 + + location: Make timestamp prop writable on construction + + While this isn't exactly (nor is it likely to be) needed by geocode-glib + itself but is needed in geoclue, where we need to set the timestamps on the + derived GClueLocation object from GPS. + + https://bugzilla.gnome.org/show_bug.cgi?id=754797 + + geocode-glib/geocode-location.c | 37 ++++++++++++++++++++++++++++++++----- + 1 file changed, 32 insertions(+), 5 deletions(-) + +commit 27345fc689484fd171b6390d2e489c8d3fc5da52 +Author: Tom Schoonjans <tom.schoonj...@bam.de> +Date: Mon Sep 7 13:19:36 2015 +0200 + + build: Fix compilation under MacOS X + + The MacOS X linker doesn't seem to like us exporting undefined symbols. + Seeing as _geocode_parse_resolve_json doesn't exist any more, don't + export it and fix MacOS X linking. + + https://bugzilla.gnome.org/show_bug.cgi?id=754670 + + geocode-glib/geocode-glib.symbols | 1 - + 1 file changed, 1 deletion(-) + +commit 5c6c898e47a79a8240bb51d98dea187baaf4a0e8 +Author: Jonas Danielsson <jo...@threetimestwo.org> +Date: Sun Aug 16 14:51:18 2015 +0200 + + Release 3.17.90 + + NEWS | 16 ++++++++++++++++ + configure.ac | 2 +- + 2 files changed, 17 insertions(+), 1 deletion(-) + +commit db9b06d5bc3118fd9195a6d69ce20a335d807e93 +Author: Jonas Danielsson <jo...@threetimestwo.org> +Date: Sun Aug 16 15:03:13 2015 +0200 + + test-gcglib: Update tests + + geocode-glib/test-gcglib.c | 15 ++++++--------- + 1 file changed, 6 insertions(+), 9 deletions(-) + +commit 5434d78aff76c944ca30b8003364b5369d616112 +Author: Jonas Danielsson <jo...@threetimestwo.org> +Date: Sun Aug 16 14:45:27 2015 +0200 + + location: Limit Geo URI to 6 decimal points + + In order to get prettier Geo URIs we can limit the precision + of the coords to 6 decimal points. The URIs will not look crazy + and we still get 0.1m precision. + + geocode-glib/geocode-location.c | 19 +++++++++++++++++-- + 1 file changed, 17 insertions(+), 2 deletions(-) + +commit dcf7f042983473a3655b3a98f3aa2b9fe28c16c2 +Author: Bastien Nocera <had...@hadess.net> +Date: Fri Jun 19 14:18:14 2015 +0200 + + private: Remove unused Yahoo! API key + + geocode-glib/geocode-glib-private.h | 1 - + 1 file changed, 1 deletion(-) + +commit 63684d5ce550b7998718c3ba07d2f666be9d1a08 +Author: Bastien Nocera <had...@hadess.net> +Date: Fri Jun 19 13:35:48 2015 +0200 + + doap: Add Jonas as a maintainer + + geocode-glib.doap | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 24ef7dc4815448277d1f4def1a262cef3e42b755 +Author: Bastien Nocera <had...@hadess.net> +Date: Fri Jun 19 14:11:43 2015 +0200 + + desc + + geocode-glib.doap | 3 +++ + 1 file changed, 3 insertions(+) + +commit f5ee15ce11b918c8e613b79917697f1b88253b1f +Author: Bastien Nocera <had...@hadess.net> +Date: Fri Jun 19 13:32:21 2015 +0200 + + build: Update project descriptions + + The one in the pkg-config file was outdated, so update it, and change + the one in the DOAP file to match. + + Also add a long description to satisfy GNOME git's requirements. + + geocode-glib-1.0.pc.in | 2 +- + geocode-glib.doap | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 1a0fa1dc0cc29a63ca1700f3381732b2927b9bc6 +Author: Philip Withnall <philip.withn...@collabora.co.uk> +Date: Tue Jun 16 10:11:32 2015 +0100 + + reverse: Remove an unused variable + + geocode-glib/geocode-reverse.c | 1 - + 1 file changed, 1 deletion(-) + +commit e11087fcc85a0ce9bfe49cfd460ef97caceb00c1 +Author: Bastien Nocera <had...@hadess.net> +Date: Wed May 27 14:59:17 2015 +0200 + + reverse: Fix nominatim attrs parsing for broken boundingbox + + This OpenStreeMap result has a bounding box that uses doubles to store + its borders, instead of strings, like all the others: + + { + "place_id": "353472", + "licence": "Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright", + "osm_type": "node", + "osm_id": "151337566", + "boundingbox": [ + 38.4917175, + 38.5317175, + -91.1940394, + -91.1540394 + ], + "lat": "38.5117175", + "lon": "-91.1740394", + "display_name": "Lyon, Franklin County, Missouri, United States of America", + "place_rank": "19", + "category": "place", + "type": "hamlet", + + We fix this by checking the type of the node, and turning it into a + string, as all the other items in the hash table. + + See https://bugzilla.redhat.com/show_bug.cgi?id=1224563 + and https://trac.openstreetmap.org/ticket/5132 + + https://bugzilla.gnome.org/show_bug.cgi?id=749963 + + geocode-glib/geocode-reverse.c | 43 ++++++++++++++++++++++++++++++++++-------- + 1 file changed, 35 insertions(+), 8 deletions(-) + +commit 22f47c37b9974adf4bfc7b987538241f0833fa72 +Author: Bastien Nocera <had...@hadess.net> +Date: Sun May 17 14:57:08 2015 +0200 + + test-gcglib: Fix pub searches + + There are multiple "Old Palace Road" objects in the database now. + + https://bugzilla.gnome.org/show_bug.cgi?id=737857 + + geocode-glib/test-gcglib.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 118ac866f6bdf1a925cc396b78f75a0e538d34bb +Author: Bastien Nocera <had...@hadess.net> +Date: Sun May 17 14:56:34 2015 +0200 + + test-gcglib: Fix "Santa Maria Del Rio" searches + + The results are more precise now. + + https://bugzilla.gnome.org/show_bug.cgi?id=737857 + + geocode-glib/test-gcglib.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 39b3cfc7822f03f9aba4d604dcf48b40605f56cd +Author: Bastien Nocera <had...@hadess.net> +Date: Sun May 17 14:55:10 2015 +0200 + + test-gcglib: Fix test for "Grand Canyon" from Europe + + First hit for "Grand Canyon" is "Grand Canyon, Ukraine": + http://www.openstreetmap.org/relation/1493795 + instead of the North American one. + + https://bugzilla.gnome.org/show_bug.cgi?id=737857 + + geocode-glib/test-gcglib.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 36b8fac797f921031ce419d61a6b8b739bd9ff5f +Author: Jonas Danielsson <jo...@threetimestwo.org> +Date: Wed Apr 29 21:38:10 2015 +0200 + + Release 3.17.1 + + NEWS | 11 +++++++++++ + configure.ac | 4 ++-- + 2 files changed, 13 insertions(+), 2 deletions(-) commit 8877b11ad4cdb172323ca5c229a74d4284c1b7e7 Author: Jonas Danielsson <jo...@threetimestwo.org> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/NEWS new/geocode-glib-3.18.0/NEWS --- old/geocode-glib-3.16.2/NEWS 2015-05-12 20:22:43.000000000 +0200 +++ new/geocode-glib-3.18.0/NEWS 2015-09-20 14:50:21.000000000 +0200 @@ -1,15 +1,45 @@ -3.16.2 +3.18.0 + +No changes since 3.17.92 + +3.17.92 ------ -Changes since 3.16.0: +Changes since 3.17.90: + +- Fix compilation under MacOS X +- Make location timestamp writable on construction + +All contributors to this release: +Zeeshan Ali (Khattak) <zeesha...@gnome.org> +Tom Schoonjans <tom.schoonj...@bam.de> + +3.17.90 +------ -- Fix bugs in reverse geocode +Changes since 3.17.1: + +- Update unit tests +- Add workaround for Nominatim boundingbox bug (bgo#749963) +- Update project description +- Add Jonas Danielsson as maintainer +- Prettify Geo URI generation All contributors to this release: Bastien Nocera <had...@hadess.net> -Jonas Danielsson <jo...@threetimestwo.org> +Jonas Danielsson <jo...@thretimestwo.org> +Philip Withnall <philip.withn...@collabora.co.uk> + +3.17.1 +------ + +Changes since 3.16.0: + +- Make error handling of reverse geocode more robust -No changes +All contributors to this release: +Bastien Nocera <had...@hadess.net> +Jonas Danielsson <jo...@thretimestwo.org> 3.16.0 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/compile new/geocode-glib-3.18.0/compile --- old/geocode-glib-3.16.2/compile 2015-05-12 20:23:35.000000000 +0200 +++ new/geocode-glib-3.18.0/compile 2015-09-20 14:50:53.000000000 +0200 @@ -3,7 +3,7 @@ scriptversion=2012-10-14.11; # UTC -# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # Written by Tom Tromey <tro...@cygnus.com>. # # This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/configure.ac new/geocode-glib-3.18.0/configure.ac --- old/geocode-glib-3.16.2/configure.ac 2015-05-12 20:21:59.000000000 +0200 +++ new/geocode-glib-3.18.0/configure.ac 2015-09-20 14:50:07.000000000 +0200 @@ -1,8 +1,8 @@ AC_PREREQ([2.63]) m4_define(gclib_version_major, 3) -m4_define(gclib_version_minor, 16) -m4_define(gclib_version_micro, 2) +m4_define(gclib_version_minor, 18) +m4_define(gclib_version_micro, 0) AC_INIT([geocode-glib], [gclib_version_major.gclib_version_minor.gclib_version_micro], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/docs/html/GeocodeBoundingBox.html new/geocode-glib-3.18.0/docs/html/GeocodeBoundingBox.html --- old/geocode-glib-3.16.2/docs/html/GeocodeBoundingBox.html 2015-05-12 20:23:43.000000000 +0200 +++ new/geocode-glib-3.18.0/docs/html/GeocodeBoundingBox.html 2015-09-20 14:51:33.000000000 +0200 @@ -196,7 +196,6 @@ <div class="refsect3"> <a name="id-1.2.8.9.2.6"></a><h4>Returns</h4> <p> a new <a class="link" href="GeocodeBoundingBox.html" title="GeocodeBoundingBox"><span class="type">GeocodeBoundingBox</span></a> object. Use <code class="function">g_object_unref()</code> when done.</p> -<p></p> </div> </div> <hr> @@ -225,7 +224,6 @@ <a name="id-1.2.8.9.3.6"></a><h4>Returns</h4> <p> the top coordinate of <em class="parameter"><code>bbox</code></em> .</p> -<p></p> </div> </div> <hr> @@ -254,7 +252,6 @@ <a name="id-1.2.8.9.4.6"></a><h4>Returns</h4> <p> the bottom coordinate of <em class="parameter"><code>bbox</code></em> .</p> -<p></p> </div> </div> <hr> @@ -283,7 +280,6 @@ <a name="id-1.2.8.9.5.6"></a><h4>Returns</h4> <p> the left coordinate of <em class="parameter"><code>bbox</code></em> .</p> -<p></p> </div> </div> <hr> @@ -312,7 +308,6 @@ <a name="id-1.2.8.9.6.6"></a><h4>Returns</h4> <p> the right coordinate of <em class="parameter"><code>bbox</code></em> .</p> -<p></p> </div> </div> </div> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/docs/html/GeocodeForward.html new/geocode-glib-3.18.0/docs/html/GeocodeForward.html --- old/geocode-glib-3.16.2/docs/html/GeocodeForward.html 2015-05-12 20:23:43.000000000 +0200 +++ new/geocode-glib-3.18.0/docs/html/GeocodeForward.html 2015-09-20 14:51:33.000000000 +0200 @@ -221,7 +221,6 @@ <div class="refsect3"> <a name="id-1.2.3.9.2.6"></a><h4>Returns</h4> <p> a new <a class="link" href="GeocodeForward.html" title="GeocodeForward"><span class="type">GeocodeForward</span></a>. Use <code class="function">g_object_unref()</code> when done.</p> -<p></p> </div> </div> <hr> @@ -251,7 +250,6 @@ <div class="refsect3"> <a name="id-1.2.3.9.3.7"></a><h4>Returns</h4> <p> a new <a class="link" href="GeocodeForward.html" title="GeocodeForward"><span class="type">GeocodeForward</span></a>. Use <code class="function">g_object_unref()</code> when done.</p> -<p></p> </div> </div> <hr> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/docs/html/GeocodeLocation.html new/geocode-glib-3.18.0/docs/html/GeocodeLocation.html --- old/geocode-glib-3.16.2/docs/html/GeocodeLocation.html 2015-05-12 20:23:43.000000000 +0200 +++ new/geocode-glib-3.18.0/docs/html/GeocodeLocation.html 2015-09-20 14:51:33.000000000 +0200 @@ -190,7 +190,7 @@ <tr> <td class="property_type"><span class="type">guint64</span></td> <td class="property_name"><a class="link" href="GeocodeLocation.html#GeocodeLocation--timestamp" title="The “timestamp” property">timestamp</a></td> -<td class="property_flags">Read</td> +<td class="property_flags">Read / Write / Construct Only</td> </tr> </tbody> </table></div> @@ -308,7 +308,6 @@ <div class="refsect3"> <a name="id-1.2.4.9.2.6"></a><h4>Returns</h4> <p> a new <a class="link" href="GeocodeLocation.html" title="GeocodeLocation"><span class="type">GeocodeLocation</span></a> object. Use <code class="function">g_object_unref()</code> when done.</p> -<p></p> </div> </div> <hr> @@ -355,7 +354,6 @@ <div class="refsect3"> <a name="id-1.2.4.9.3.6"></a><h4>Returns</h4> <p> a new <a class="link" href="GeocodeLocation.html" title="GeocodeLocation"><span class="type">GeocodeLocation</span></a> object. Use <code class="function">g_object_unref()</code> when done.</p> -<p></p> </div> </div> <hr> @@ -403,7 +401,6 @@ <div class="refsect3"> <a name="id-1.2.4.9.4.10"></a><h4>Returns</h4> <p> <code class="literal">TRUE</code> on success and <code class="literal">FALSE</code> on error.</p> -<p></p> </div> </div> <hr> @@ -441,7 +438,6 @@ <a name="id-1.2.4.9.5.6"></a><h4>Returns</h4> <p> a URI representing the location. The returned string should be freed with <code class="function">g_free()</code> when no longer needed.</p> -<p></p> </div> </div> <hr> @@ -478,7 +474,6 @@ <div class="refsect3"> <a name="id-1.2.4.9.6.6"></a><h4>Returns</h4> <p> a distance in km.</p> -<p></p> </div> </div> <hr> @@ -539,7 +534,6 @@ <a name="id-1.2.4.9.8.6"></a><h4>Returns</h4> <p> The description of location <em class="parameter"><code>loc</code></em> .</p> -<p></p> </div> </div> <hr> @@ -568,7 +562,6 @@ <a name="id-1.2.4.9.9.6"></a><h4>Returns</h4> <p> The latitude of location <em class="parameter"><code>loc</code></em> .</p> -<p></p> </div> </div> <hr> @@ -597,7 +590,6 @@ <a name="id-1.2.4.9.10.6"></a><h4>Returns</h4> <p> The longitude of location <em class="parameter"><code>loc</code></em> .</p> -<p></p> </div> </div> <hr> @@ -626,7 +618,6 @@ <a name="id-1.2.4.9.11.6"></a><h4>Returns</h4> <p> The altitude of location <em class="parameter"><code>loc</code></em> .</p> -<p></p> </div> </div> <hr> @@ -655,7 +646,6 @@ <a name="id-1.2.4.9.12.6"></a><h4>Returns</h4> <p> The CRS of location <em class="parameter"><code>loc</code></em> .</p> -<p></p> </div> </div> <hr> @@ -684,7 +674,6 @@ <a name="id-1.2.4.9.13.6"></a><h4>Returns</h4> <p> The accuracy of location <em class="parameter"><code>loc</code></em> .</p> -<p></p> </div> </div> <hr> @@ -713,7 +702,6 @@ <a name="id-1.2.4.9.14.6"></a><h4>Returns</h4> <p> The timestamp of location <em class="parameter"><code>loc</code></em> .</p> -<p></p> </div> </div> </div> @@ -885,7 +873,8 @@ <pre class="programlisting"> “timestamp” <span class="type">guint64</span></pre> <p>A timestamp in seconds since</p> <a class="ulink" href="http://en.wikipedia.org/wiki/Unix_epoch" target="_top">Epoch</a>. -<p>Flags: Read</p> +<p>A value of 0 (zero) will be interpreted as the current time.</p> +<p>Flags: Read / Write / Construct Only</p> <p>Allowed values: <= G_MAXINT64</p> <p>Default value: 0</p> </div> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/docs/html/GeocodePlace.html new/geocode-glib-3.18.0/docs/html/GeocodePlace.html --- old/geocode-glib-3.16.2/docs/html/GeocodePlace.html 2015-05-12 20:23:43.000000000 +0200 +++ new/geocode-glib-3.18.0/docs/html/GeocodePlace.html 2015-09-20 14:51:33.000000000 +0200 @@ -523,7 +523,6 @@ <div class="refsect3"> <a name="id-1.2.5.9.2.6"></a><h4>Returns</h4> <p> a new <a class="link" href="GeocodePlace.html" title="GeocodePlace"><span class="type">GeocodePlace</span></a> object. Use <code class="function">g_object_unref()</code> when done.</p> -<p></p> </div> </div> <hr> @@ -564,7 +563,6 @@ <div class="refsect3"> <a name="id-1.2.5.9.3.6"></a><h4>Returns</h4> <p> a new <a class="link" href="GeocodePlace.html" title="GeocodePlace"><span class="type">GeocodePlace</span></a> object. Use <code class="function">g_object_unref()</code> when done.</p> -<p></p> </div> </div> <hr> @@ -625,7 +623,6 @@ <a name="id-1.2.5.9.5.6"></a><h4>Returns</h4> <p> The name of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -654,7 +651,6 @@ <a name="id-1.2.5.9.6.6"></a><h4>Returns</h4> <p> The type of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -834,7 +830,6 @@ <a name="id-1.2.5.9.12.6"></a><h4>Returns</h4> <p> The street address of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -895,7 +890,6 @@ <a name="id-1.2.5.9.14.6"></a><h4>Returns</h4> <p> The street of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -956,7 +950,6 @@ <a name="id-1.2.5.9.16.6"></a><h4>Returns</h4> <p> The building of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -1017,7 +1010,6 @@ <a name="id-1.2.5.9.18.6"></a><h4>Returns</h4> <p> The postal code of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -1078,7 +1070,6 @@ <a name="id-1.2.5.9.20.6"></a><h4>Returns</h4> <p> The area of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -1139,7 +1130,6 @@ <a name="id-1.2.5.9.22.6"></a><h4>Returns</h4> <p> The town of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -1200,7 +1190,6 @@ <a name="id-1.2.5.9.24.6"></a><h4>Returns</h4> <p> The country of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -1261,7 +1250,6 @@ <a name="id-1.2.5.9.26.6"></a><h4>Returns</h4> <p> The state of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -1322,7 +1310,6 @@ <a name="id-1.2.5.9.28.6"></a><h4>Returns</h4> <p> The local administrative area of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -1383,7 +1370,6 @@ <a name="id-1.2.5.9.30.6"></a><h4>Returns</h4> <p> The ISO-3166 country code of the <em class="parameter"><code>place</code></em> , in upper case.</p> -<p></p> </div> </div> <hr> @@ -1444,7 +1430,6 @@ <a name="id-1.2.5.9.32.6"></a><h4>Returns</h4> <p> The country of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -1505,7 +1490,6 @@ <a name="id-1.2.5.9.34.6"></a><h4>Returns</h4> <p> The continent of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -1563,7 +1547,6 @@ <a name="id-1.2.5.9.36.6"></a><h4>Returns</h4> <p> The osm ID of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> <hr> @@ -1592,7 +1575,6 @@ <a name="id-1.2.5.9.37.6"></a><h4>Returns</h4> <p> The osm type of the <em class="parameter"><code>place</code></em> .</p> -<p></p> </div> </div> </div> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/docs/html/GeocodeReverse.html new/geocode-glib-3.18.0/docs/html/GeocodeReverse.html --- old/geocode-glib-3.16.2/docs/html/GeocodeReverse.html 2015-05-12 20:23:43.000000000 +0200 +++ new/geocode-glib-3.18.0/docs/html/GeocodeReverse.html 2015-09-20 14:51:33.000000000 +0200 @@ -136,7 +136,6 @@ <div class="refsect3"> <a name="id-1.2.6.8.2.6"></a><h4>Returns</h4> <p> a new <a class="link" href="GeocodeReverse.html" title="GeocodeReverse"><span class="type">GeocodeReverse</span></a>. Use <code class="function">g_object_unref()</code> when done.</p> -<p></p> </div> </div> <hr> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/docs/html/geocode-glib-geocode-enum-types.html new/geocode-glib-3.18.0/docs/html/geocode-glib-geocode-enum-types.html --- old/geocode-glib-3.16.2/docs/html/geocode-glib-geocode-enum-types.html 2015-05-12 20:23:43.000000000 +0200 +++ new/geocode-glib-3.18.0/docs/html/geocode-glib-geocode-enum-types.html 2015-09-20 14:51:33.000000000 +0200 @@ -42,6 +42,7 @@ </div> <div class="refsect1"> <a name="geocode-glib-geocode-enum-types.functions_details"></a><h2>Functions</h2> +<p></p> </div> <div class="refsect1"> <a name="geocode-glib-geocode-enum-types.other_details"></a><h2>Types and Values</h2> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/docs/html/geocode-glib-geocode-error.html new/geocode-glib-3.18.0/docs/html/geocode-glib-geocode-error.html --- old/geocode-glib-3.16.2/docs/html/geocode-glib-geocode-error.html 2015-05-12 20:23:43.000000000 +0200 +++ new/geocode-glib-3.18.0/docs/html/geocode-glib-geocode-error.html 2015-09-20 14:51:33.000000000 +0200 @@ -102,7 +102,6 @@ <div class="refsect3"> <a name="id-1.2.2.8.3.5"></a><h4>Returns</h4> <p> a <span class="type">GQuark</span>.</p> -<p></p> </div> </div> </div> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/docs/html/index.html new/geocode-glib-3.18.0/docs/html/index.html --- old/geocode-glib-3.16.2/docs/html/index.html 2015-05-12 20:23:43.000000000 +0200 +++ new/geocode-glib-3.18.0/docs/html/index.html 2015-09-20 14:51:33.000000000 +0200 @@ -15,7 +15,7 @@ <div> <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">geocode-glib Reference Manual</p></th></tr></table></div> <div><p class="releaseinfo"> - for geocode-glib 3.16.2 + for geocode-glib 3.18.0 The latest version of this documentation can be found on-line at <a class="ulink" href="http://library.gnome.org/devel/geocode-glib/index.html" target="_top">http://library.gnome.org/devel/geocode-glib/</a>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/docs/version.xml new/geocode-glib-3.18.0/docs/version.xml --- old/geocode-glib-3.16.2/docs/version.xml 2015-05-12 20:23:38.000000000 +0200 +++ new/geocode-glib-3.18.0/docs/version.xml 2015-09-20 14:50:56.000000000 +0200 @@ -1 +1 @@ -3.16.2 +3.18.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/geocode-glib/geocode-glib-private.h new/geocode-glib-3.18.0/geocode-glib/geocode-glib-private.h --- old/geocode-glib-3.16.2/geocode-glib/geocode-glib-private.h 2015-01-07 20:15:36.000000000 +0100 +++ new/geocode-glib-3.18.0/geocode-glib/geocode-glib-private.h 2015-09-14 18:31:08.000000000 +0200 @@ -31,7 +31,6 @@ G_BEGIN_DECLS -#define YAHOO_APPID "zznSbDjV34HRU5CXQc4D3qE1DzCsJTaKvWTLhNJxbvI_JTp1hIncJ4xTSJFRgjE-" #define DEFAULT_ANSWER_COUNT 10 typedef enum { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/geocode-glib/geocode-glib.symbols new/geocode-glib-3.18.0/geocode-glib/geocode-glib.symbols --- old/geocode-glib-3.16.2/geocode-glib/geocode-glib.symbols 2015-01-06 14:05:14.000000000 +0100 +++ new/geocode-glib-3.18.0/geocode-glib/geocode-glib.symbols 2015-09-14 18:31:08.000000000 +0200 @@ -34,7 +34,6 @@ geocode_error_quark geocode_error_get_type _geocode_parse_search_json -_geocode_parse_resolve_json _geocode_read_nominatim_attributes _geocode_create_place_from_attributes geocode_place_get_type diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/geocode-glib/geocode-location.c new/geocode-glib-3.18.0/geocode-glib/geocode-location.c --- old/geocode-glib-3.16.2/geocode-glib/geocode-location.c 2014-11-30 15:00:42.000000000 +0100 +++ new/geocode-glib-3.18.0/geocode-glib/geocode-location.c 2015-09-14 18:31:08.000000000 +0200 @@ -157,6 +157,28 @@ } static void +geocode_location_set_timestamp (GeocodeLocation *loc, + guint64 timestamp) +{ + g_return_if_fail (GEOCODE_IS_LOCATION (loc)); + + loc->priv->timestamp = timestamp; +} + +static void +geocode_location_constructed (GObject *object) +{ + GeocodeLocation *location = GEOCODE_LOCATION (object); + GTimeVal tv; + + if (location->priv->timestamp != 0) + return; + + g_get_current_time (&tv); + geocode_location_set_timestamp (location, tv.tv_sec); +} + +static void geocode_location_set_property(GObject *object, guint property_id, const GValue *value, @@ -195,6 +217,11 @@ g_value_get_enum (value)); break; + case PROP_TIMESTAMP: + geocode_location_set_timestamp (location, + g_value_get_uint64 (value)); + break; + default: /* We don't have any other property... */ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); @@ -481,6 +508,7 @@ glocation_class->finalize = geocode_location_finalize; glocation_class->get_property = geocode_location_get_property; glocation_class->set_property = geocode_location_set_property; + glocation_class->constructed = geocode_location_constructed; g_type_class_add_private (klass, sizeof (GeocodeLocationPrivate)); @@ -579,6 +607,8 @@ * * A timestamp in seconds since * <ulink url="http://en.wikipedia.org/wiki/Unix_epoch">Epoch</ulink>. + * + * A value of 0 (zero) will be interpreted as the current time. */ pspec = g_param_spec_uint64 ("timestamp", "Timestamp", @@ -587,7 +617,8 @@ 0, G_MAXINT64, 0, - G_PARAM_READABLE | + G_PARAM_READWRITE | + G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS); g_object_class_install_property (glocation_class, PROP_TIMESTAMP, pspec); } @@ -595,14 +626,10 @@ static void geocode_location_init (GeocodeLocation *location) { - GTimeVal tv; - location->priv = G_TYPE_INSTANCE_GET_PRIVATE ((location), GEOCODE_TYPE_LOCATION, GeocodeLocationPrivate); - g_get_current_time (&tv); - location->priv->timestamp = tv.tv_sec; location->priv->altitude = GEOCODE_LOCATION_ALTITUDE_UNKNOWN; location->priv->accuracy = GEOCODE_LOCATION_ACCURACY_UNKNOWN; location->priv->crs = GEOCODE_LOCATION_CRS_WGS84; @@ -816,9 +843,18 @@ return loc->priv->timestamp; } +static gdouble +round_coord_n (gdouble coord, guint n) +{ + gdouble fac = pow (10, n); + + return round (coord * fac) / fac; +} + static char * geo_uri_from_location (GeocodeLocation *loc) { + guint precision = 6; /* 0.1 meter precision */ char *uri; char *coords; char *params; @@ -830,8 +866,14 @@ g_return_val_if_fail (GEOCODE_IS_LOCATION (loc), NULL); - g_ascii_dtostr (lat, G_ASCII_DTOSTR_BUF_SIZE, loc->priv->latitude); - g_ascii_dtostr (lon, G_ASCII_DTOSTR_BUF_SIZE, loc->priv->longitude); + g_ascii_formatd (lat, + G_ASCII_DTOSTR_BUF_SIZE, + "%.6f", + round_coord_n (loc->priv->latitude, precision)); + g_ascii_formatd (lon, + G_ASCII_DTOSTR_BUF_SIZE, + "%.6f", + round_coord_n (loc->priv->longitude, precision)); if (loc->priv->altitude != GEOCODE_LOCATION_ALTITUDE_UNKNOWN) { g_ascii_dtostr (alt, G_ASCII_DTOSTR_BUF_SIZE, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/geocode-glib/geocode-reverse.c new/geocode-glib-3.18.0/geocode-glib/geocode-reverse.c --- old/geocode-glib-3.16.2/geocode-glib/geocode-reverse.c 2015-04-22 22:32:40.000000000 +0200 +++ new/geocode-glib-3.18.0/geocode-glib/geocode-reverse.c 2015-09-14 18:31:08.000000000 +0200 @@ -114,6 +114,32 @@ return object; } +static void +insert_bounding_box_element (GHashTable *ht, + GType value_type, + const char *name, + JsonReader *reader) +{ + if (value_type == G_TYPE_STRING) { + const char *bbox_val; + + bbox_val = json_reader_get_string_value (reader); + g_hash_table_insert (ht, g_strdup (name), g_strdup (bbox_val)); + } else if (value_type == G_TYPE_DOUBLE) { + gdouble bbox_val; + + bbox_val = json_reader_get_double_value (reader); + g_hash_table_insert(ht, g_strdup (name), g_strdup_printf ("%lf", bbox_val)); + } else if (value_type == G_TYPE_INT64) { + gint64 bbox_val; + + bbox_val = json_reader_get_double_value (reader); + g_hash_table_insert(ht, g_strdup (name), g_strdup_printf ("%"G_GINT64_FORMAT, bbox_val)); + } else { + g_debug ("Unhandled node type %s for %s", g_type_name (value_type), name); + } +} + void _geocode_read_nominatim_attributes (JsonReader *reader, GHashTable *ht) @@ -167,26 +193,26 @@ g_hash_table_insert (ht, g_strdup ("name"), name); } } else if (g_strcmp0 (members[i], "boundingbox") == 0) { - const char *bbox_val; + JsonNode *node; + GType value_type; json_reader_read_element (reader, 0); - bbox_val = json_reader_get_string_value (reader); - g_hash_table_insert(ht, g_strdup ("boundingbox-bottom"), g_strdup (bbox_val)); + node = json_reader_get_value (reader); + value_type = json_node_get_value_type (node); + + insert_bounding_box_element (ht, value_type, "boundingbox-bottom", reader); json_reader_end_element (reader); json_reader_read_element (reader, 1); - bbox_val = json_reader_get_string_value (reader); - g_hash_table_insert(ht, g_strdup ("boundingbox-top"), g_strdup (bbox_val)); + insert_bounding_box_element (ht, value_type, "boundingbox-top", reader); json_reader_end_element (reader); json_reader_read_element (reader, 2); - bbox_val = json_reader_get_string_value (reader); - g_hash_table_insert(ht, g_strdup ("boundingbox-left"), g_strdup (bbox_val)); + insert_bounding_box_element (ht, value_type, "boundingbox-left", reader); json_reader_end_element (reader); json_reader_read_element (reader, 3); - bbox_val = json_reader_get_string_value (reader); - g_hash_table_insert(ht, g_strdup ("boundingbox-right"), g_strdup (bbox_val)); + insert_bounding_box_element (ht, value_type, "boundingbox-right", reader); json_reader_end_element (reader); } json_reader_end_member (reader); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/geocode-glib/test-gcglib.c new/geocode-glib-3.18.0/geocode-glib/test-gcglib.c --- old/geocode-glib-3.16.2/geocode-glib/test-gcglib.c 2015-04-22 22:32:19.000000000 +0200 +++ new/geocode-glib-3.18.0/geocode-glib/test-gcglib.c 2015-09-14 18:31:08.000000000 +0200 @@ -318,7 +318,7 @@ GeocodeLocation *loc; GeocodeBoundingBox *bbox; - object = geocode_forward_new_for_string ("Santa María del Río"); + object = geocode_forward_new_for_string ("Santa María del Río, San Luis Potosi"); res = geocode_forward_search (object, &error); if (res == NULL) { g_warning ("Failed at geocoding: %s", error->message); @@ -335,14 +335,11 @@ bbox = geocode_place_get_bounding_box (place); g_assert (bbox != NULL); - g_assert_cmpfloat (geocode_location_get_latitude (loc) - 21.801729, <, 0.000001); - g_assert_cmpfloat (geocode_location_get_longitude (loc) - -100.737418, <, 0.000001); + g_assert_cmpfloat (geocode_location_get_latitude (loc) - 21.803641, <, 0.000001); + g_assert_cmpfloat (geocode_location_get_longitude (loc) - -100.736292, <, 0.000001); g_assert (bbox_includes_location (bbox, geocode_place_get_location (place))); - g_assert_cmpstr (geocode_place_get_name (place), ==, "Santa Maria Del Rio, Mexico"); - g_assert_cmpstr (geocode_place_get_town (place), ==, "Santa Maria Del Rio"); - g_assert_cmpstr (geocode_place_get_state (place), ==, "San Luis Potosi"); - g_assert_cmpstr (geocode_place_get_country (place), ==, "Mexico"); - g_assert_cmpstr (geocode_location_get_description (loc), ==, "Santa Maria Del Rio, Mexico"); + g_assert_cmpstr (geocode_place_get_name (place), ==, "Santa Maria Del Rio, Santa Mar\303\255a del Rio"); + g_assert_cmpstr (geocode_location_get_description (loc), ==, "Santa Maria Del Rio, Santa Mar\303\255a del Rio"); g_list_free_full (res, (GDestroyNotify) g_object_unref); } @@ -361,7 +358,7 @@ } types[] = { { "Drottning Christinas väg", GEOCODE_PLACE_OSM_TYPE_WAY }, { "North dakota", GEOCODE_PLACE_OSM_TYPE_RELATION }, - { "Grand canyon", GEOCODE_PLACE_OSM_TYPE_NODE } + { "Grand canyon, USA", GEOCODE_PLACE_OSM_TYPE_NODE } }; for (i = 0; i < G_N_ELEMENTS (types); i++) { object = geocode_forward_new_for_string (types[i].search_string); @@ -374,7 +371,8 @@ g_object_unref (object); place = res->data; - g_assert (geocode_place_get_osm_type (place) == types[i].osm_type); + g_test_message ("Location: %s", types[i].search_string); + g_assert_cmpint (geocode_place_get_osm_type (place), ==, types[i].osm_type); g_list_free_full (res, (GDestroyNotify) g_object_unref); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/geocode-glib-1.0.pc.in new/geocode-glib-3.18.0/geocode-glib-1.0.pc.in --- old/geocode-glib-3.16.2/geocode-glib-1.0.pc.in 2015-04-22 22:30:57.000000000 +0200 +++ new/geocode-glib-3.18.0/geocode-glib-1.0.pc.in 2015-09-14 18:31:08.000000000 +0200 @@ -6,7 +6,7 @@ apiversion=@GCLIB_API_VERSION@ Name: geocode-glib -Description: Helper library for the Yahoo! Place Finder service +Description: Helper library for geocoding services Version: @VERSION@ Requires: gio-2.0 Libs: -L${libdir} -lgeocode-glib diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/missing new/geocode-glib-3.18.0/missing --- old/geocode-glib-3.16.2/missing 2015-05-12 20:23:35.000000000 +0200 +++ new/geocode-glib-3.18.0/missing 2015-09-20 14:50:53.000000000 +0200 @@ -3,7 +3,7 @@ scriptversion=2013-10-28.13; # UTC -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/geocode-glib-3.16.2/test-driver new/geocode-glib-3.18.0/test-driver --- old/geocode-glib-3.16.2/test-driver 2015-05-12 20:23:35.000000000 +0200 +++ new/geocode-glib-3.18.0/test-driver 2015-09-20 14:50:53.000000000 +0200 @@ -3,7 +3,7 @@ scriptversion=2013-07-13.22; # UTC -# Copyright (C) 2011-2013 Free Software Foundation, Inc. +# Copyright (C) 2011-2014 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -106,11 +106,14 @@ # Test script is run here. "$@" >$log_file 2>&1 estatus=$? + if test $enable_hard_errors = no && test $estatus -eq 99; then - estatus=1 + tweaked_estatus=1 +else + tweaked_estatus=$estatus fi -case $estatus:$expect_failure in +case $tweaked_estatus:$expect_failure in 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:*) col=$grn res=PASS recheck=no gcopy=no;; 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; @@ -119,6 +122,12 @@ *:*) col=$red res=FAIL recheck=yes gcopy=yes;; esac +# Report the test outcome and exit status in the logs, so that one can +# know whether the test passed or failed simply by looking at the '.log' +# file, without the need of also peaking into the corresponding '.trs' +# file (automake bug#11814). +echo "$res $test_name (exit status: $estatus)" >>$log_file + # Report outcome to console. echo "${col}${res}${std}: $test_name"