16 Commits

Author SHA1 Message Date
8lendzior
8cfc345312 issue #384, #399
I have fixed the issues by implementing this change before running the script
2023-03-02 11:27:44 +00:00
Stephan Lachnit
ab06ba419e Switch to GitHub Actions
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2022-02-03 16:40:02 +00:00
Stephan Lachnit
115f1ecdbd meson: use builddir instead of build
Use the -C option instead of changing the dir, change the build folder to builddir.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-19 16:35:00 +01:00
Jason Ekstrand
79d0c64ef1 Add systemctl try-restart polkit to bootstrap.sh
This makes it more properly install things so that you don't get the
nasty pkexec pop-ups with dev builds.
2020-01-09 11:11:22 -06:00
Alex Smith
30ae8d71f0 Adjust install prompt
Now reads: "Install to $prefix? [y/N]" to indicate that the default
choice if pressing enter without any extra input will be no. Suggested
by #169.
2019-08-11 10:14:46 +01:00
Marc Di Luzio
7ede50af39 Make sure we actually build the examples in the travis tests
Otherwise failing changes to gamemode_client.h risk passing
2019-05-15 18:56:14 +01:00
Lilian A. Moraru
c0ffecae43 Build with optimizations 2019-03-19 10:38:49 +02:00
Marc Di Luzio
206700919c Only request input if we're not travis 2019-01-28 18:57:56 +00:00
Suvayu Ali
55a3dea992 bootstrap.sh: configurable prefix path 2018-12-02 09:22:06 +05:30
Alex Smith
3b586dcc54 Don't explicitly enable the systemd service after installing
Commit 432a21f5 makes the service D-Bus activated so there's no need to
enable it explicitly.
2018-07-04 09:41:47 +01:00
Marc Di Luzio
21b8ec76dc Restart the service in bootstrap.sh 2018-05-16 08:47:26 +01:00
Marc Di Luzio
5d113b8e9f Correct a comment 2018-05-11 14:25:02 +01:00
Marc Di Luzio
9aacadb56b Warn users if no governor is found so they spot issues sooner
See issue 44
2018-05-11 08:53:42 +01:00
Casper
8dfbaba288 Prevent running bootstrap.sh as root 2018-04-11 09:58:22 +01:00
Ikey Doherty
1328e07f86 Split meson up to be more modular
This also explicitly constructs reusable library components to make it
easier to extend the project over time. Notably we make less assumptions
about the host system and use pkgconfig where appropriate to give us
system details, such as the systemd system unit directory for packaging.
This can be overriden with the meson option.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2018-03-05 17:32:01 +00:00
Marc Di Luzio
c459c05076 Initial 0.1 commit
This is a small daemon/libary to enable games to request a
performance "game mode" from the system.

Currently only implemented to upgrade the CPU governor and
automatically downgrade it once done.

A game only needs to load libgamemodeauto to activate the request.
Which means an LD_PRELOAD can be applied to any game to activate
the mode as needed.

However gamemode_client.h can be used to manually activate/deactivate
the mode as needed, and also perform error checking.

The libs are miminal loaders to call into an installed libgamemode
which, if the daemon is installed and running, will send through
the equivelant game mode request, and magic will happen.

See the README.md for more details.

Currently licensed under the BSD 3 clause license.
2018-03-05 17:32:01 +00:00