Hello community, here is the log from the commit of package geoclue2 for openSUSE:Factory checked in at 2017-04-11 12:40:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/geoclue2 (Old) and /work/SRC/openSUSE:Factory/.geoclue2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "geoclue2" Tue Apr 11 12:40:13 2017 rev:25 rq:486367 version:2.4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/geoclue2/geoclue2.changes 2017-03-05 17:56:44.365510703 +0100 +++ /work/SRC/openSUSE:Factory/.geoclue2.new/geoclue2.changes 2017-04-11 12:40:15.260209876 +0200 @@ -1,0 +2,28 @@ +Fri Apr 7 09:31:06 UTC 2017 - jeng...@inai.de + +- Drop practically empty %pre section (because of the shell comment, + it was non empty and would needlessy spawn /bin/sh). +- RPM group corrections. + +------------------------------------------------------------------- +Tue Mar 28 18:40:11 UTC 2017 - zai...@opensuse.org + +- Update to version 2.4.6: + + Add to white-list: + - gnome-color-panel for "Night Light" functionality. + - gnome-shell for new weather view in the calendar. + + Other minor fixes. +- Drop geoclue2-permit-Night-Light.patch: Fixed upstream. +- Drop geoclue2-permit-gnome-maps.patch: No longer needed due to + changes in location settings in gnome. + +------------------------------------------------------------------- +Wed Mar 15 20:19:10 UTC 2017 - dims...@opensuse.org + +- Split out new package system-user-srvGeoClue: create a user that + can be required by different package (e.g. NetworkManager has a + rule based on the user account. With the user created separately, + NM can now require the user even without geoclue2 being + installed). + +------------------------------------------------------------------- Old: ---- geoclue-2.4.5.tar.xz geoclue2-permit-Night-Light.patch geoclue2-permit-gnome-maps.patch New: ---- geoclue-2.4.6.tar.xz srvGeoClue.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ geoclue2.spec ++++++ --- /var/tmp/diff_new_pack.KLpo4w/_old 2017-04-11 12:40:16.436043735 +0200 +++ /var/tmp/diff_new_pack.KLpo4w/_new 2017-04-11 12:40:16.440043170 +0200 @@ -17,24 +17,21 @@ %define _name geoclue -%define dbus_user srvGeoClue Name: geoclue2 -Version: 2.4.5 +Version: 2.4.6 Release: 0 Summary: GeoLocation Framework License: GPL-2.0+ -Group: System/Libraries +Group: Development/Libraries/C and C++ Url: http://people.freedesktop.org/~zeenix/releases/ Source: http://www.freedesktop.org/software/geoclue/releases/2.4/%{_name}-%{version}.tar.xz +Source1: srvGeoClue.conf Source99: geoclue2-rpmlintrc -# PATCH-FIX-UPSTREAM geoclue2-permit-gnome-maps.patch dims...@opensuse.org -- Allow gnome-maps to access geoclue -Patch0: geoclue2-permit-gnome-maps.patch -# PATCH-FIX-UPSTREAM geoclue2-permit-Night-Light.patch zai...@opensuse.org -- Add "Night Light" functionality to the whitelist -Patch1: geoclue2-permit-Night-Light.patch BuildRequires: gtk-doc BuildRequires: intltool >= 0.40.0 BuildRequires: pkg-config BuildRequires: systemd-rpm-macros +BuildRequires: sysuser-tools BuildRequires: perl(XML::Parser) BuildRequires: pkgconfig(avahi-client) >= 0.6.10 BuildRequires: pkgconfig(avahi-glib) >= 0.6.10 @@ -48,6 +45,8 @@ BuildRequires: pkgconfig(systemd) # we require shadow for useradd Requires(pre): shadow +# This daemon runs as srvGeoClue +Requires: user(srvGeoClue) # Virtual provides for the dbus service Provides: dbus(org.freedesktop.GeoClue2) = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -58,6 +57,14 @@ awareness in applications. GeoClue uses the D-Bus inter-process communication mechanism to provide location information +%package -n system-user-srvGeoClue +Summary: System user for the geoclue service +Group: System/Base +%sysusers_requires + +%description -n system-user-srvGeoClue +System user for use by the geoclue service + %package -n typelib-1_0-Geoclue-2_0 Summary: GeoLocation Framework --GObject Introspection Group: System/Libraries @@ -80,28 +87,28 @@ %prep %setup -q -n %{_name}-%{version} -%patch0 -p1 -%patch1 -p1 %build %configure \ --disable-geoip-server \ --enable-introspection \ - --with-dbus-service-user=%{dbus_user} + --with-dbus-service-user=srvGeoClue make %{?_smp_mflags} V=1 +%sysusers_generate_pre %{SOURCE1} srvGeoClue %install make DESTDIR=%{buildroot} install %{?_smp_mflags} -install -d %{buildroot}%{_localstatedir}/lib/%{dbus_user} +install -d %{buildroot}%{_localstatedir}/lib/srvGeoClue +mkdir -p %{buildroot}%{_sysusersdir} +install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-srvGeoClue.conf find %{buildroot} -type f -name "*.la" -delete -print # Remove desktop file, we do not build the demos find %{buildroot} -type f -name "geoclue-demo-agent.desktop" -delete -print -%pre -getent passwd %{dbus_user} > /dev/null || useradd -r -g nogroup -d %{_localstatedir}/lib/%{dbus_user} -s /sbin/nologin -c "User for GeoClue D-Bus service" %{dbus_user} - # note: do not use systemd macros for geoclue2.service, they are not meant for dbus unit files. +%pre -n system-user-srvGeoClue -f srvGeoClue.pre + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -129,9 +136,13 @@ %config %{_sysconfdir}/geoclue/geoclue.conf %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.conf %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf -%attr(0700,%{dbus_user},root) %{_localstatedir}/lib/%{dbus_user} %{_unitdir}/geoclue.service +%files -n system-user-srvGeoClue +%defattr(-,root,root) +%attr(0700,srvGeoClue,root) %{_localstatedir}/lib/srvGeoClue +%{_sysusersdir}/system-user-srvGeoClue.conf + %files -n typelib-1_0-Geoclue-2_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/Geoclue-2.0.typelib ++++++ geoclue-2.4.5.tar.xz -> geoclue-2.4.6.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/NEWS new/geoclue-2.4.6/NEWS --- old/geoclue-2.4.5/NEWS 2017-01-27 17:06:45.000000000 +0100 +++ new/geoclue-2.4.6/NEWS 2017-03-27 16:19:14.000000000 +0200 @@ -1,3 +1,15 @@ +2.4.6 +===== + +- Add to white-list + - gnome-color-panel for "Night Light" functionality. + - gnome-shell for new weather view in the calendar. +- Other minor fixes. + +Bastien Nocera <had...@hadess.net> +Florian Müllner <fmuell...@gnome.org> +Rob Norris <rw_nor...@hotmail.com> + 2.4.5 ===== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/configure new/geoclue-2.4.6/configure --- old/geoclue-2.4.5/configure 2017-01-27 17:09:26.000000000 +0100 +++ new/geoclue-2.4.6/configure 2017-03-27 16:19:58.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for geoclue 2.4.5. +# Generated by GNU Autoconf 2.69 for geoclue 2.4.6. # # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=GeoClue>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='geoclue' PACKAGE_TARNAME='geoclue' -PACKAGE_VERSION='2.4.5' -PACKAGE_STRING='geoclue 2.4.5' +PACKAGE_VERSION='2.4.6' +PACKAGE_STRING='geoclue 2.4.6' PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=GeoClue' PACKAGE_URL='http://www.freedesktop.org/wiki/Software/GeoClue' @@ -1456,7 +1456,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures geoclue 2.4.5 to adapt to many kinds of systems. +\`configure' configures geoclue 2.4.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1526,7 +1526,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of geoclue 2.4.5:";; + short | recursive ) echo "Configuration of geoclue 2.4.6:";; esac cat <<\_ACEOF @@ -1696,7 +1696,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -geoclue configure 2.4.5 +geoclue configure 2.4.6 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1974,7 +1974,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by geoclue $as_me 2.4.5, which was +It was created by geoclue $as_me 2.4.6, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2842,7 +2842,7 @@ # Define the identity of the package. PACKAGE='geoclue' - VERSION='2.4.5' + VERSION='2.4.6' cat >>confdefs.h <<_ACEOF @@ -15342,7 +15342,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by geoclue $as_me 2.4.5, which was +This file was extended by geoclue $as_me 2.4.6, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15409,7 +15409,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -geoclue config.status 2.4.5 +geoclue config.status 2.4.6 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/configure.ac new/geoclue-2.4.6/configure.ac --- old/geoclue-2.4.5/configure.ac 2017-01-27 17:08:30.000000000 +0100 +++ new/geoclue-2.4.6/configure.ac 2017-03-27 16:19:46.000000000 +0200 @@ -1,7 +1,7 @@ AC_PREREQ([2.63]) AC_INIT([geoclue], - [2.4.5], + [2.4.6], [http://bugs.freedesktop.org/enter_bug.cgi?product=GeoClue], [geoclue], [http://www.freedesktop.org/wiki/Software/GeoClue]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/data/geoclue.conf.in new/geoclue-2.4.6/data/geoclue.conf.in --- old/geoclue-2.4.5/data/geoclue.conf.in 2016-09-02 11:22:25.000000000 +0200 +++ new/geoclue-2.4.6/data/geoclue.conf.in 2017-03-18 11:41:10.000000000 +0100 @@ -68,6 +68,16 @@ system=true users= +[gnome-color-panel] +allowed=true +system=true +users= + +[org.gnome.Shell] +allowed=true +system=true +users= + [epiphany] allowed=true system=false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/demo/agent.c new/geoclue-2.4.6/demo/agent.c --- old/geoclue-2.4.5/demo/agent.c 2016-09-02 11:22:25.000000000 +0200 +++ new/geoclue-2.4.6/demo/agent.c 2017-03-13 12:58:21.000000000 +0100 @@ -123,7 +123,7 @@ main_loop = g_main_loop_new (NULL, FALSE); g_main_loop_run (main_loop); - if (agent != NULL); + if (agent != NULL) g_object_unref (agent); g_main_loop_unref (main_loop); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/docs/Makefile.in new/geoclue-2.4.6/docs/Makefile.in --- old/geoclue-2.4.5/docs/Makefile.in 2017-01-27 17:09:26.000000000 +0100 +++ new/geoclue-2.4.6/docs/Makefile.in 2017-03-27 16:19:58.000000000 +0200 @@ -742,11 +742,11 @@ @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +@ENABLE_GTK_DOC_FALSE@distclean-local: @ENABLE_GTK_DOC_FALSE@maintainer-clean-local: -@ENABLE_GTK_DOC_FALSE@install-data-local: -@ENABLE_GTK_DOC_FALSE@clean-local: @ENABLE_GTK_DOC_FALSE@uninstall-local: -@ENABLE_GTK_DOC_FALSE@distclean-local: +@ENABLE_GTK_DOC_FALSE@clean-local: +@ENABLE_GTK_DOC_FALSE@install-data-local: clean: clean-recursive clean-am: clean-generic clean-libtool clean-local mostlyclean-am diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/docs/lib/Makefile.in new/geoclue-2.4.6/docs/lib/Makefile.in --- old/geoclue-2.4.5/docs/lib/Makefile.in 2017-01-27 17:09:26.000000000 +0100 +++ new/geoclue-2.4.6/docs/lib/Makefile.in 2017-03-27 16:19:58.000000000 +0200 @@ -555,11 +555,11 @@ @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +@ENABLE_GTK_DOC_FALSE@clean-local: @ENABLE_GTK_DOC_FALSE@install-data-local: +@ENABLE_GTK_DOC_FALSE@uninstall-local: @ENABLE_GTK_DOC_FALSE@maintainer-clean-local: @ENABLE_GTK_DOC_FALSE@distclean-local: -@ENABLE_GTK_DOC_FALSE@clean-local: -@ENABLE_GTK_DOC_FALSE@uninstall-local: clean: clean-am clean-am: clean-generic clean-libtool clean-local mostlyclean-am diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/libgeoclue/gclue-simple.c new/geoclue-2.4.6/libgeoclue/gclue-simple.c --- old/geoclue-2.4.5/libgeoclue/gclue-simple.c 2016-09-02 11:22:25.000000000 +0200 +++ new/geoclue-2.4.6/libgeoclue/gclue-simple.c 2017-03-13 12:49:36.000000000 +0100 @@ -376,7 +376,7 @@ * Asynchronously creates a #GClueSimple instance. Use * #gclue_simple_new_finish() to get the created #GClueSimple instance. * - * See #gclue_fetch_location_sync() for the synchronous, blocking version + * See #gclue_simple_new_sync() for the synchronous, blocking version * of this function. */ void diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/src/compass-interface.c new/geoclue-2.4.6/src/compass-interface.c --- old/geoclue-2.4.5/src/compass-interface.c 2016-12-19 15:21:05.000000000 +0100 +++ new/geoclue-2.4.6/src/compass-interface.c 2017-03-27 16:20:01.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.50.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/src/compass-interface.h new/geoclue-2.4.6/src/compass-interface.h --- old/geoclue-2.4.5/src/compass-interface.h 2016-12-19 15:21:05.000000000 +0100 +++ new/geoclue-2.4.6/src/compass-interface.h 2017-03-27 16:20:01.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.50.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/src/gclue-client-interface.c new/geoclue-2.4.6/src/gclue-client-interface.c --- old/geoclue-2.4.5/src/gclue-client-interface.c 2016-12-19 15:21:05.000000000 +0100 +++ new/geoclue-2.4.6/src/gclue-client-interface.c 2017-03-27 16:20:01.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.50.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/src/gclue-client-interface.h new/geoclue-2.4.6/src/gclue-client-interface.h --- old/geoclue-2.4.5/src/gclue-client-interface.h 2016-12-19 15:21:05.000000000 +0100 +++ new/geoclue-2.4.6/src/gclue-client-interface.h 2017-03-27 16:20:01.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.50.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/src/gclue-location-interface.c new/geoclue-2.4.6/src/gclue-location-interface.c --- old/geoclue-2.4.5/src/gclue-location-interface.c 2016-12-19 15:21:05.000000000 +0100 +++ new/geoclue-2.4.6/src/gclue-location-interface.c 2017-03-27 16:20:01.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.50.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/src/gclue-location-interface.h new/geoclue-2.4.6/src/gclue-location-interface.h --- old/geoclue-2.4.5/src/gclue-location-interface.h 2016-12-19 15:21:05.000000000 +0100 +++ new/geoclue-2.4.6/src/gclue-location-interface.h 2017-03-27 16:20:01.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.50.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/src/gclue-manager-interface.c new/geoclue-2.4.6/src/gclue-manager-interface.c --- old/geoclue-2.4.5/src/gclue-manager-interface.c 2016-12-19 15:21:05.000000000 +0100 +++ new/geoclue-2.4.6/src/gclue-manager-interface.c 2017-03-27 16:20:01.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.50.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/src/gclue-manager-interface.h new/geoclue-2.4.6/src/gclue-manager-interface.h --- old/geoclue-2.4.5/src/gclue-manager-interface.h 2016-12-19 15:21:05.000000000 +0100 +++ new/geoclue-2.4.6/src/gclue-manager-interface.h 2017-03-27 16:20:01.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.50.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/src/wpa_supplicant-interface.c new/geoclue-2.4.6/src/wpa_supplicant-interface.c --- old/geoclue-2.4.5/src/wpa_supplicant-interface.c 2016-12-19 15:21:05.000000000 +0100 +++ new/geoclue-2.4.6/src/wpa_supplicant-interface.c 2017-03-27 16:20:01.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.50.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/geoclue-2.4.5/src/wpa_supplicant-interface.h new/geoclue-2.4.6/src/wpa_supplicant-interface.h --- old/geoclue-2.4.5/src/wpa_supplicant-interface.h 2016-12-19 15:21:05.000000000 +0100 +++ new/geoclue-2.4.6/src/wpa_supplicant-interface.h 2017-03-27 16:20:01.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Generated by gdbus-codegen 2.50.2. DO NOT EDIT. + * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. * * The license of this code is the same as for the source it was derived from. */ ++++++ srvGeoClue.conf ++++++ # Type Name ID GECOS [HOME] u srvGeoClue - "User for GeoClue D-Bus service" /var/lib/srvGeoClue