Hello community,

here is the log from the commit of package geoclue2 for openSUSE:Factory 
checked in at 2018-05-13 15:55:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/geoclue2 (Old)
 and      /work/SRC/openSUSE:Factory/.geoclue2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "geoclue2"

Sun May 13 15:55:44 2018 rev:30 rq:606084 version:2.4.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/geoclue2/geoclue2.changes        2018-05-06 
15:00:47.382520754 +0200
+++ /work/SRC/openSUSE:Factory/.geoclue2.new/geoclue2.changes   2018-05-13 
15:55:59.778185093 +0200
@@ -1,0 +2,10 @@
+Tue May  8 17:25:54 UTC 2018 - [email protected]
+
+- Add geoclue2-Fix-safety-header-name.patch: public-api: Fix safety
+  header name. It should be based on the filename.
+- Add geoclue2-Fix-potentially-unused-variable.patch: locator: Fix
+  a potentially unused variable declaration.
+- Add geoclue2-Fix-duplicate-decl-specifier.patch:Fix compiler
+  warning about duplicate decl specifier.
+
+-------------------------------------------------------------------

New:
----
  geoclue2-Fix-duplicate-decl-specifier.patch
  geoclue2-Fix-potentially-unused-variable.patch
  geoclue2-Fix-safety-header-name.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ geoclue2.spec ++++++
--- /var/tmp/diff_new_pack.1CQcsZ/_old  2018-05-13 15:56:01.402125833 +0200
+++ /var/tmp/diff_new_pack.1CQcsZ/_new  2018-05-13 15:56:01.406125687 +0200
@@ -27,6 +27,14 @@
 Source:         
http://www.freedesktop.org/software/geoclue/releases/2.4/%{_name}-%{version}.tar.xz
 Source1:        srvGeoClue.conf
 Source99:       geoclue2-rpmlintrc
+
+# PATCH-FIX-UPSTREAM geoclue2-Fix-safety-header-name.patch -- public-api: Fix 
safety header name
+Patch0:         geoclue2-Fix-safety-header-name.patch
+# PATCH-FIX-UPSTREAM geoclue2-Fix-potentially-unused-variable.patch - locator: 
Fix a potentially unused variable declaration
+Patch1:         geoclue2-Fix-potentially-unused-variable.patch
+# PATCH-FIX-UPSTREAM geoclue2-Fix-duplicate-decl-specifier.patch -- Fix 
compiler warning about duplicate decl specifier
+Patch2:         geoclue2-Fix-duplicate-decl-specifier.patch
+
 BuildRequires:  gtk-doc
 BuildRequires:  intltool >= 0.40.0
 BuildRequires:  pkgconfig
@@ -86,7 +94,7 @@
 communication mechanism to provide location information
 
 %prep
-%setup -q -n %{_name}-%{version}
+%autosetup -n %{_name}-%{version} -p1
 
 %build
 %configure \

++++++ geoclue2-Fix-duplicate-decl-specifier.patch ++++++
--- geoclue-2.4.10-orig/src/geocode-glib/geocode-forward.c      2018-04-25 
23:29:08.000000000 +0200
+++ geoclue-2.4.10/src/geocode-glib/geocode-forward.c   2018-05-08 
20:00:22.925838037 +0200
@@ -666,7 +666,7 @@
        return FALSE;
 }
 
-static const char const *attributes[] = {
+static const char * const attributes[] = {
        "country",
        "state",
        "county",
++++++ geoclue2-Fix-potentially-unused-variable.patch ++++++
>From d130fe6bf744be1e8032b31da41776ef23dd7ebb Mon Sep 17 00:00:00 2001
From: Zeeshan Ali <[email protected]>
Date: Wed, 25 Apr 2018 15:51:53 +0200
Subject: [PATCH] locator: Fix a potentially unused variable declaration

---
 src/gclue-locator.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gclue-locator.c b/src/gclue-locator.c
index d9941b2..731c33a 100644
--- a/src/gclue-locator.c
+++ b/src/gclue-locator.c
@@ -332,7 +332,9 @@ gclue_locator_constructed (GObject *object)
 {
         GClueLocator *locator = GCLUE_LOCATOR (object);
         GClueLocationSource *submit_source = NULL;
+#if GCLUE_USE_NMEA_SOURCE
         GClueConfig *gconfig = gclue_config_get_singleton ();
+#endif
         GList *node;
         GClueMinUINT *threshold;
 
--
libgit2 0.27.0

++++++ geoclue2-Fix-safety-header-name.patch ++++++
>From b9c529866262e3187b38a7df7c66aeca70b0b04b Mon Sep 17 00:00:00 2001
From: Zeeshan Ali <[email protected]>
Date: Wed, 25 Apr 2018 13:06:42 +0200
Subject: [PATCH] public-api: Fix safety header name

It should be based on the filename.
---
 public-api/gclue-enums.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/public-api/gclue-enums.h b/public-api/gclue-enums.h
index bf9ae1a..9b20574 100644
--- a/public-api/gclue-enums.h
+++ b/public-api/gclue-enums.h
@@ -20,8 +20,8 @@
  * Author: Zeeshan Ali (Khattak) <[email protected]>
  */
 
-#ifndef GCLUE_ENUM_H
-#define GCLUE_ENUM_H
+#ifndef GCLUE_ENUMS_H
+#define GCLUE_ENUMS_H
 
 #include <glib.h>
 
@@ -49,4 +49,4 @@ typedef enum {/*< underscore_name=gclue_accuracy_level>*/
 
 G_END_DECLS
 
-#endif /* GCLUE_ENUM_H */
+#endif /* GCLUE_ENUMS_H */
--
libgit2 0.27.0


Reply via email to