Hello community, here is the log from the commit of package suse-prime for openSUSE:Leap:15.2 checked in at 2020-03-13 10:59:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/suse-prime (Old) and /work/SRC/openSUSE:Leap:15.2/.suse-prime.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-prime" Fri Mar 13 10:59:27 2020 rev:11 rq:784264 version:0.7.7 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/suse-prime/suse-prime.changes 2020-02-11 23:27:10.197324472 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.suse-prime.new.3160/suse-prime.changes 2020-03-13 11:01:36.304615634 +0100 @@ -1,0 +2,9 @@ +Tue Mar 10 14:37:04 UTC 2020 - Stefan Dirsch <[email protected]> + +- Update to version 0.7.7 + * Fix unset option (issue#48) + - only disable service with bbswitch version + - reset also to X.Org's glx module as with "intel" option + * make use of $service_test variable where possible + +------------------------------------------------------------------- Old: ---- SUSEPrime-0.7.6.tar.gz New: ---- SUSEPrime-0.7.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-prime.spec ++++++ --- /var/tmp/diff_new_pack.fBdV2h/_old 2020-03-13 11:01:36.624615861 +0100 +++ /var/tmp/diff_new_pack.fBdV2h/_new 2020-03-13 11:01:36.628615864 +0100 @@ -17,7 +17,7 @@ Name: suse-prime -Version: 0.7.6 +Version: 0.7.7 Release: 0 Summary: GPU (nvidia/intel) selection for NVIDIA optimus laptops License: SUSE-Public-Domain ++++++ SUSEPrime-0.7.6.tar.gz -> SUSEPrime-0.7.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SUSEPrime-0.7.6/prime-select.sh new/SUSEPrime-0.7.7/prime-select.sh --- old/SUSEPrime-0.7.6/prime-select.sh 2020-01-29 16:31:44.000000000 +0100 +++ new/SUSEPrime-0.7.7/prime-select.sh 2020-03-10 15:31:27.000000000 +0100 @@ -588,8 +588,12 @@ unset) check_root - $0 service disable + if (( service_test == 0 )); then + $0 service disable + fi clean_xorg_conf_d + libglx_xorg=$(update-alternatives --list libglx.so | grep xorg-libglx.so) + update-alternatives --set libglx.so $libglx_xorg > /dev/null rm /etc/prime/current_type &> /dev/null rm /etc/prime/boot_state &> /dev/null rm /etc/prime/boot &> /dev/null @@ -610,7 +614,7 @@ check) - if [ -f /etc/systemd/system/multi-user.target.wants/prime-select.service ]; then + if (( service_test == 0 )); then echo "prime-select: service is set correctly" exit fi
