Hello community, here is the log from the commit of package switcheroo-control for openSUSE:Factory checked in at 2020-01-05 15:22:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/switcheroo-control (Old) and /work/SRC/openSUSE:Factory/.switcheroo-control.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "switcheroo-control" Sun Jan 5 15:22:18 2020 rev:7 rq:760919 version:2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/switcheroo-control/switcheroo-control.changes 2019-12-10 22:41:15.093835196 +0100 +++ /work/SRC/openSUSE:Factory/.switcheroo-control.new.6675/switcheroo-control.changes 2020-01-05 15:22:19.417596088 +0100 @@ -1,0 +2,9 @@ +Sat Jan 4 13:29:46 UTC 2020 - Atri Bhattacharya <[email protected]> + +- Update to version 2.1: + * Fix the wrong data type being advertised in the introspection + XML for the GPUs property, which lead to incorrect + auto-generated code + * Fix a potential assertion on startup. + +------------------------------------------------------------------- Old: ---- switcheroo-control-2.0.tar.gz New: ---- switcheroo-control-2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ switcheroo-control.spec ++++++ --- /var/tmp/diff_new_pack.tw32pN/_old 2020-01-05 15:22:19.857596309 +0100 +++ /var/tmp/diff_new_pack.tw32pN/_new 2020-01-05 15:22:19.857596309 +0100 @@ -1,7 +1,7 @@ # # spec file for package switcheroo-control # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,17 @@ Name: switcheroo-control -Version: 2.0 +Version: 2.1 Release: 0 Summary: D-Bus service to check the availability of dual-GPU License: GPL-3.0-only Group: Hardware/Other -Url: https://gitlab.freedesktop.org/hadess/switcheroo-control +URL: https://gitlab.freedesktop.org/hadess/switcheroo-control Source0: https://gitlab.freedesktop.org/hadess/switcheroo-control/-/archive/%{version}/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc -BuildRequires: gtk-doc -BuildRequires: automake BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gtk-doc BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(gio-2.0) ++++++ switcheroo-control-2.0.tar.gz -> switcheroo-control-2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/switcheroo-control-2.0/.gitlab-ci.yml new/switcheroo-control-2.1/.gitlab-ci.yml --- old/switcheroo-control-2.0/.gitlab-ci.yml 2019-11-05 14:46:07.000000000 +0100 +++ new/switcheroo-control-2.1/.gitlab-ci.yml 2020-01-02 11:06:46.000000000 +0100 @@ -11,3 +11,4 @@ - ./autogen.sh --disable-dependency-tracking - make - make install + - make distcheck diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/switcheroo-control-2.0/NEWS new/switcheroo-control-2.1/NEWS --- old/switcheroo-control-2.0/NEWS 2019-11-05 14:46:07.000000000 +0100 +++ new/switcheroo-control-2.1/NEWS 2020-01-02 11:06:46.000000000 +0100 @@ -1,3 +1,10 @@ +2.1 +--- + +This release fixes the wrong data type being advertised in the introspection +XML for the GPUs property, which lead to incorrect auto-generated code, +and also fixes a potential assertion on startup. + 2.0 --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/switcheroo-control-2.0/configure.ac new/switcheroo-control-2.1/configure.ac --- old/switcheroo-control-2.0/configure.ac 2019-11-05 14:46:07.000000000 +0100 +++ new/switcheroo-control-2.1/configure.ac 2020-01-02 11:06:46.000000000 +0100 @@ -1,6 +1,6 @@ AC_PREREQ(2.59) -AC_INIT([switcheroo-control], [2.0], [[email protected]]) +AC_INIT([switcheroo-control], [2.1], [[email protected]]) AM_INIT_AUTOMAKE(1.9 dist-xz no-dist-gzip check-news) # Enable silent build when available (Automake 1.11) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/switcheroo-control-2.0/docs/Makefile.am new/switcheroo-control-2.1/docs/Makefile.am --- old/switcheroo-control-2.0/docs/Makefile.am 2019-11-05 14:46:07.000000000 +0100 +++ new/switcheroo-control-2.1/docs/Makefile.am 2020-01-02 11:06:46.000000000 +0100 @@ -48,7 +48,7 @@ $(NULL) include $(top_srcdir)/gtk-doc.make -EXTRA_DIST = switcheroo-control-docs.xml +EXTRA_DIST += switcheroo-control-docs.xml CLEANFILES += \ docs-net.hadess.SwitcherooControl.xml \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/switcheroo-control-2.0/src/net.hadess.SwitcherooControl.xml new/switcheroo-control-2.1/src/net.hadess.SwitcherooControl.xml --- old/switcheroo-control-2.0/src/net.hadess.SwitcherooControl.xml 2019-11-05 14:46:07.000000000 +0100 +++ new/switcheroo-control-2.1/src/net.hadess.SwitcherooControl.xml 2020-01-02 11:06:46.000000000 +0100 @@ -40,7 +40,7 @@ variable to set to use the GPU, followed by its value, the "Default" (b) key will tag the default (usually integrated) GPU. --> - <property name="GPUs" type="a(a{sv})" access="read"/> + <property name="GPUs" type="aa{sv}" access="read"/> </interface> </node> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/switcheroo-control-2.0/src/switcheroo-control.c new/switcheroo-control-2.1/src/switcheroo-control.c --- old/switcheroo-control-2.0/src/switcheroo-control.c 2019-11-05 14:46:07.000000000 +0100 +++ new/switcheroo-control-2.1/src/switcheroo-control.c 2020-01-02 11:06:46.000000000 +0100 @@ -106,7 +106,10 @@ GVariantBuilder props_builder; GVariant *props_changed = NULL; - g_assert (data->connection); + if (data->connection == NULL) { + g_debug ("Not sending D-Bus event, D-Bus not ready"); + return; + } g_variant_builder_init (&props_builder, G_VARIANT_TYPE ("a{sv}"));
