Hello community, here is the log from the commit of package switcheroo-control for openSUSE:Factory checked in at 2019-12-10 22:41:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/switcheroo-control (Old) and /work/SRC/openSUSE:Factory/.switcheroo-control.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "switcheroo-control" Tue Dec 10 22:41:06 2019 rev:6 rq:755212 version:2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/switcheroo-control/switcheroo-control.changes 2019-07-11 13:08:32.990993503 +0200 +++ /work/SRC/openSUSE:Factory/.switcheroo-control.new.4691/switcheroo-control.changes 2019-12-10 22:41:15.093835196 +0100 @@ -1,0 +2,13 @@ +Sat Nov 23 19:16:20 UTC 2019 - Dingzhong Chen <[email protected]> + +- Update to version 2.0 + + This release adds a number of new properties to list GPUs, + figure out how to launch OpenGL client on specific GPUs, and + figure out which one is the default, in a way that supports the + stock GPU drivers as well as the NVidia proprietary drivers. + + The service file itself also makes use of systemd's hardening + features. + + Note that the API was extended in a backwards compatible way. +- Change the repo URL. + +------------------------------------------------------------------- Old: ---- switcheroo-control-1.3.1.tar.xz New: ---- switcheroo-control-2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ switcheroo-control.spec ++++++ --- /var/tmp/diff_new_pack.kIiOYZ/_old 2019-12-10 22:41:16.097834824 +0100 +++ /var/tmp/diff_new_pack.kIiOYZ/_new 2019-12-10 22:41:16.113834818 +0100 @@ -17,18 +17,22 @@ Name: switcheroo-control -Version: 1.3.1 +Version: 2.0 Release: 0 Summary: D-Bus service to check the availability of dual-GPU License: GPL-3.0-only Group: Hardware/Other -Url: https://github.com/hadess/switcheroo-control -Source0: https://github.com/hadess/switcheroo-control/releases/download/%{version}/%{name}-%{version}.tar.xz +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: pkgconfig BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gudev-1.0) >= 232 +BuildRequires: pkgconfig(udev) %{?systemd_requires} %description @@ -46,8 +50,10 @@ %setup -q %build +NOCONFIGURE=1 sh autogen.sh %configure \ --with-systemdsystemunitdir=%{_unitdir} \ + --with-hwdbdir=%{_udevhwdbdir} \ --enable-gtk-doc make %{?_smp_mflags} @@ -59,12 +65,14 @@ %post %service_add_post switcheroo-control.service +%udev_hwdb_update %preun %service_del_preun switcheroo-control.service %postun %service_del_postun switcheroo-control.service +%udev_hwdb_update %files %defattr(-,root,root) @@ -72,6 +80,7 @@ %doc NEWS README %{_libexecdir}/switcheroo-control %{_unitdir}/switcheroo-control.service +%{_udevhwdbdir}/30-pci-intel-gpu.hwdb # Own dirs to avoid depending on dbus while building. %dir %{_sysconfdir}/dbus-1 %dir %{_sysconfdir}/dbus-1/system.d
