9 Commits

Author SHA1 Message Date
Ehren Bendler
f5fbdcf014 Take advanted of imminent EOL of Ubuntu 20 to update GH runner config. Also make a pass over the development section of the README to reflect current reality. Update inih to r60. Update meson settings to eliminate deprecated functions. Set minimum Meson version to 1.3.1 to match Ubuntu 24 and OpenSUSE Leap 15.6. 2025-04-30 19:11:59 +01:00
Ahsan Fayaz
5fff74598a Use inih r54 from wrapdb
Updated using the command 'meson subprojects update'.
2022-07-21 15:21:25 +01:00
Ahsan Fayaz
993857d0e8 Use inih r53 from wrapdb. Updated using the command 'meson subprojects update'. 2021-02-18 18:42:08 +00:00
Stephan Lachnit
cfa8b9a2c4 Use inih r52 from wrapdb
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-11-06 11:30:26 +00:00
Stephan Lachnit
faea358023 Use wrap instead of git submodule
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-06 11:01:13 +01:00
Stephan Lachnit
d3e309b23b use upstream inih r48
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-03-03 14:38:35 +00:00
Ikey Doherty
17efeaa699 subprojects: Switch inih to a properly managed git submodule
This allows us to correctly manage inih version by manually updating it,
as opposed to relying on `HEAD` which will render each build unable to
reproduce across changes.

Additionally with submodules we can look to distribute complete tarballs
of the repository to facilitate build systems that ban networking for
security reasons (i.e. Solus).

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2018-04-10 13:23:38 +01:00
Ikey Doherty
b8316ffafb subprojects: Remove wrapper for the inih project
We can rely on git submodules to achieve this.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2018-04-10 13:23:38 +01:00
Marc Di Luzio
759cbc3c40 Add config file parsing
Checks for a gamemode.ini in /usr/share/gamemode/ (or in the cwd for debugging)

	Currently allows for blacklisting and whitelisting clients based on rudimentary needle-haystack executable name checks

	See the example/gamemode.ini file for expected syntax

	Using the BSD licensed inih library (with additional meson.build file)
2018-03-23 16:59:15 +00:00