Tweak the packaging to fix some issues
The changes fixes some issue
- Looking at the current version build log https://buildd.debian.org/status/fetch.php?pkg=gamemode&arch=amd64&ver=1.5%7Egit20190812-107d469-1&stamp=1569242656&raw=0
dh_missing lists some files not installed, the *ctl helpers from upstream (because they are installed from a local path), the .pc and a manpage (because it's also installed from a local path)
The .install have been tweaked for that and a dh_missing override to fail-missing has been added to make sure those issues get caught before upload
-
The systemd system unit which was added in the Debian packaging had been removed, the unit was failing to start since it's design to be an user session job (which upstream install correctly) (see https://github.com/FeralInteractive/gamemode/issues/82)
-
The current version fails to do the actions as described by bug #935670
The reason is that the code looks into a fixed location and not in the path daemon/gamemode-context.c: "/usr/bin/pkexec", LIBEXECDIR "/cpugovctl", "set", desiredGov, NULL,
So the ctl binaries needs to be installed in the libexec dir.
That's easy to test by doing $ /usr/bin/gamemoded
Then start the gamemode-simulate-game binary, the daemon then output the error