[opensuse-commit] commit steam for openSUSE:Factory:NonFree
Hello community, here is the log from the commit of package steam for openSUSE:Factory:NonFree checked in at 2020-11-30 09:52:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory:NonFree/steam (Old) and /work/SRC/openSUSE:Factory:NonFree/.steam.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "steam" Mon Nov 30 09:52:04 2020 rev:30 rq:849961 version:1.0.0.67 Changes: -------- --- /work/SRC/openSUSE:Factory:NonFree/steam/steam.changes 2020-09-28 14:27:35.522070979 +0200 +++ /work/SRC/openSUSE:Factory:NonFree/.steam.new.5913/steam.changes 2020-11-30 09:52:10.701682859 +0100 @@ -1,0 +2,10 @@ +Sun Nov 22 11:54:34 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com> + +- Update to version 1.0.0.67 + * Update steam-devices subproject up to 2020-11-20 + - Add udev rules for DualSense (Playstation 5) controller + * Build using updated Steam client: + - Client timestamp 1603992987 (2020-10-29) + - Steam Runtime version 0.20201005.0 + +------------------------------------------------------------------- Old: ---- steam_1.0.0.66.tar.gz New: ---- steam_1.0.0.67.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ steam.spec ++++++ --- /var/tmp/diff_new_pack.q7OTs8/_old 2020-11-30 09:52:11.557683675 +0100 +++ /var/tmp/diff_new_pack.q7OTs8/_new 2020-11-30 09:52:11.561683679 +0100 @@ -17,14 +17,14 @@ Name: steam -Version: 1.0.0.66 +Version: 1.0.0.67 Release: 0 Summary: Installer for Valve's digital software distribution service # "Limited Installation License" License: SUSE-Freeware Group: Amusements/Games/Other URL: http://www.steampowered.com/ -Source: http://repo.steampowered.com/steam/pool/steam/s/steam/steam_%{version}.tar.gz +Source: https://repo.steampowered.com/steam/pool/steam/s/steam/steam_%{version}.tar.gz Source2: com.steampowered.steam.metainfo.xml Source3: %{name}-streaming.xml Source4: 51-these-are-not-joysticks-rm.rules ++++++ steam_1.0.0.66.tar.gz -> steam_1.0.0.67.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/steam-launcher/bin_steam.sh new/steam-launcher/bin_steam.sh --- old/steam-launcher/bin_steam.sh 2020-07-29 17:44:37.000000000 +0200 +++ new/steam-launcher/bin_steam.sh 2020-11-20 17:18:55.000000000 +0100 @@ -14,7 +14,7 @@ bootstrapscript="$(readlink -f "$STEAMSCRIPT")" bootstrapdir="$(dirname "$bootstrapscript")" -export STEAMSCRIPT_VERSION=1.0.0.66 +export STEAMSCRIPT_VERSION=1.0.0.67 # Set up domain for script localization export TEXTDOMAIN=steam diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/steam-launcher/bin_steamdeps.py new/steam-launcher/bin_steamdeps.py --- old/steam-launcher/bin_steamdeps.py 2020-07-29 17:44:37.000000000 +0200 +++ new/steam-launcher/bin_steamdeps.py 2020-11-20 17:18:55.000000000 +0100 @@ -46,7 +46,7 @@ def _load_any(self): # type: () -> None for path in ('/etc/os-release', '/usr/lib/os-release'): - self._data = self._load('/etc/os-release') + self._data = self._load(path) if self._data: return @@ -184,6 +184,39 @@ return False +def is_package_available(package_name): + try: + subprocess.run(['apt-cache', 'show', package_name], + stdout=subprocess.DEVNULL, check=True) + return True + except (OSError, FileNotFoundError, subprocess.CalledProcessError): + return False + + +def choose_xdg_portal_backend(default_backend="xdg-desktop-portal-gtk"): + gtk_desktop = ["Cinnamon", "GNOME", "LXDE", "MATE", "Unity", "XFCE"] + kde_desktop = ["KDE"] + gtk_backend = "xdg-desktop-portal-gtk" + kde_backend = "xdg-desktop-portal-kde" + + current_desktops = os.environ.get("XDG_CURRENT_DESKTOP", "").split(":") + + for c in current_desktops: + if c in gtk_desktop: + if is_package_available(gtk_backend): + return gtk_backend + elif c in kde_desktop: + if is_package_available(kde_backend): + return kde_backend + + if is_package_available(default_backend): + return default_backend + else: + sys.stderr.write( + "There isn't a known XDG portal backend that can be installed") + return None + + def remap_package(name): if name in ( 'python-apt', @@ -251,10 +284,23 @@ name = remap_package(name) + if name in ( + "xdg-desktop-portal-gtk", + "xdg-desktop-portal-kde", + ): + name = choose_xdg_portal_backend(name) + # Skip version conditions for portal backends because we don't know + # in advance which backend we will need to install. + # In the future, if necessary, we can enhance this check and, for + # example, embed a minimum version for each possible backed. + version_conditions = [] + if name is None: return None elif multiarch is not None: description = name + ':' + multiarch + else: + description = name return Package(description, version_conditions) Binary files old/steam-launcher/bootstraplinux_ubuntu12_32.tar.xz and new/steam-launcher/bootstraplinux_ubuntu12_32.tar.xz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/steam-launcher/client-versions.json new/steam-launcher/client-versions.json --- old/steam-launcher/client-versions.json 2020-07-29 17:45:10.000000000 +0200 +++ new/steam-launcher/client-versions.json 2020-11-20 17:19:28.000000000 +0100 @@ -1,4 +1,4 @@ { - "client_version": "1595977781", - "runtime_version": "0.20200604.0" + "client_version": "1603992987", + "runtime_version": "0.20201005.0" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/steam-launcher/debian/changelog new/steam-launcher/debian/changelog --- old/steam-launcher/debian/changelog 2020-07-29 17:44:37.000000000 +0200 +++ new/steam-launcher/debian/changelog 2020-11-20 17:18:55.000000000 +0100 @@ -1,3 +1,23 @@ +steam (1:1.0.0.67) beta; urgency=medium + + [ Ludovico de Nittis ] + * bin_steamdeps: parse /usr/lib/os-release as a fallback + * bin_steamdeps: don't discard the remapped pkg if it misses a multiarch + * bin_steamdeps: Choose the most appropriate XDG portal backend. + When we start to include an XDG portal backend to the list of Steam + dependencies we want to choose the most appropriate backend based on the + current running system. + + [ Simon McVittie ] + * Update steam-devices subproject up to 2020-11-20 + - Add udev rules for DualSense (Playstation 5) controller + (Fixes: steam-devices#12; thanks to Sam Lantinga and @cow_killer) + * Build using updated Steam client: + - Client timestamp 1603992987 (2020-10-29) + - Steam Runtime version 0.20201005.0 + + -- Simon McVittie <smcv@collabora.com> Fri, 20 Nov 2020 16:16:41 +0000 + steam (1:1.0.0.66) beta; urgency=medium * Bootstrap using updated Steam client: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/steam-launcher/subprojects/steam-devices/60-steam-input.rules new/steam-launcher/subprojects/steam-devices/60-steam-input.rules --- old/steam-launcher/subprojects/steam-devices/60-steam-input.rules 2020-07-29 17:44:37.000000000 +0200 +++ new/steam-launcher/subprojects/steam-devices/60-steam-input.rules 2020-11-20 17:18:55.000000000 +0100 @@ -25,6 +25,12 @@ # DualShock 4 Slim over bluetooth hidraw KERNEL=="hidraw*", KERNELS=="*054C:09CC*", MODE="0660", TAG+="uaccess" +# PS5 DualSense controller over USB hidraw +KERNEL=="hidraw*", ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0ce6", MODE="0660", TAG+="uaccess" + +# PS5 DualSense controller over bluetooth hidraw +KERNEL=="hidraw*", KERNELS=="*054C:0CE6*", MODE="0660", TAG+="uaccess" + # Nintendo Switch Pro Controller over USB hidraw KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess"
participants (1)
-
User for buildservice source handling