Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gamemode for openSUSE:Factory 
checked in at 2023-05-11 14:13:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gamemode (Old)
 and      /work/SRC/openSUSE:Factory/.gamemode.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gamemode"

Thu May 11 14:13:52 2023 rev:11 rq:1086316 version:1.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/gamemode/gamemode.changes        2022-09-03 
23:19:34.423893676 +0200
+++ /work/SRC/openSUSE:Factory/.gamemode.new.1533/gamemode.changes      
2023-05-11 14:13:53.345480679 +0200
@@ -1,0 +2,12 @@
+Wed May 10 20:35:53 UTC 2023 - Matthias Bach <ma...@marix.org> - 1.7
+
+- Add a new gamemode binary package
+  * This provides gamemoderun and gamemodelist commands previously
+    provided via the gamemoded package. However, these actually
+    require libgamemodeauto0 which was missed.
+  * You can now install the gamemode package to get the full set
+    of GameMode functionality. Not being able to do this admittedly
+    was confusing as was reported in bsc#1211086.
+- Add feral.keyring to enable verifying the source signature.
+
+-------------------------------------------------------------------

New:
----
  feral.keyring

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gamemode.spec ++++++
--- /var/tmp/diff_new_pack.fEgTxK/_old  2023-05-11 14:13:53.953483676 +0200
+++ /var/tmp/diff_new_pack.fEgTxK/_new  2023-05-11 14:13:53.961483715 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gamemode
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2020 Matthias Bach <ma...@marix.org>.
 #
 # All modifications and additions to the file contributed by third parties
@@ -29,6 +29,7 @@
 Source2:        gamemode-rpmlintrc
 Source3:        README.openSUSE
 Source4:        baselibs.conf
+Source5:        feral.keyring
 Patch0:         only-build-shared-library.patch
 BuildRequires:  cmake
 BuildRequires:  libinih-devel
@@ -40,6 +41,11 @@
 # Yes, it needs both
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(systemd)
+# We need to explicitly define the dependency as this is used via
+# LD_PRELOAD from a shell script and thus cannot be inferred.
+Requires:       libgamemodeauto0
+Provides:       gamemoded:%{_bindir}/gamemoderun
+Provides:       gamemoded:%{_bindir}/gamemodelist
 
 %description
 GameMode is a daemon/lib combo for Linux that allows games to request
@@ -51,10 +57,20 @@
 expanded further, as there are a wealth of automation tasks one might
 want to apply.
 
+For applications that don't implement the GameMode activation themselves,
+you can toggle the GameMode by running them via the gamemoderun command.
+
+    gamemoderun ./game
+
+For Steam games this can be done by editing the launch options:
+
+    gamemoderun %%command%%
+
 %package -n gamemoded
 Summary:        The GameMode daemon required by GameMode enabled games
 Group:          Amusements/Games/Other
 Recommends:     libgamemode
+Suggests:       gamemode
 Suggests:       libgamemodeauto
 
 %description -n gamemoded
@@ -95,6 +111,9 @@
 
     LD_PRELOAD=$LD_PRELOAD:%{_libdir}/libgamemodeauto.so.0 %%command%%
 
+Nowadays this however can be easier done by using the gamemoderun command
+from the gamemode package.
+
 %package -n libgamemode-devel
 Summary:        Headers for compiling games using GameMode
 Group:          Development/Libraries/C and C++
@@ -134,17 +153,22 @@
 %post -n libgamemodeauto0 -p /sbin/ldconfig
 %postun -n libgamemodeauto0 -p /sbin/ldconfig
 
-%files -n gamemoded
-%{_bindir}/gamemoded
+%files
 %{_bindir}/gamemodelist
 %{_bindir}/gamemoderun
+%{_mandir}/*/gamemodelist*
+%{_mandir}/*/gamemoderun*
+%license LICENSE.txt
+
+%files -n gamemoded
+%{_bindir}/gamemoded
 %{_libexecdir}/cpugovctl
 %{_libexecdir}/gpuclockctl
 %{_userunitdir}/gamemoded.service
 %{_datadir}/polkit-1/actions/com.feralinteractive.GameMode.policy
 %{_datadir}/dbus-1/services/com.feralinteractive.GameMode.service
 %{_datadir}/metainfo/io.github.feralinteractive.gamemode.metainfo.xml
-%{_mandir}/*/*
+%{_mandir}/*/gamemoded*
 %doc example/gamemode.ini README.openSUSE
 %license LICENSE.txt
 


++++++ gamemode-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.fEgTxK/_old  2023-05-11 14:13:54.053484169 +0200
+++ /var/tmp/diff_new_pack.fEgTxK/_new  2023-05-11 14:13:54.057484188 +0200
@@ -1,3 +1,13 @@
+# In a perfect world this would be a noarch package. But we cannot make the 
main package
+# noarch as the sub-packages are architecture dependent.
+addFilter('gamemode.* no-binary')
+
+# gamemoderun loads the dependency via dlopen, so it cannot be picked up 
automatically.
+addFilter('gamemode.* explicit-lib-dependency libgamemodeauto')
+
+# Gamemode actually has a % in its description.
+addFilter('gamemode.* unexpanded-macro %description -l C %command')
+
 # Libgamemodeauto loads the dependency via dlopen, so it cannot be picked up 
automatically.
 addFilter('libgamemodeauto.* explicit-lib-dependency libgamemode')
 

Reply via email to