- Aug 06, 2019
-
-
Simon McVittie authored
Setting a new version number here will enable us to do a graceful upgrade when files move between packages in the next commit. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
Enhance examples/system-info.c to show libraries and uinput capabilities See merge request steam/steam-runtime-tools!27
-
Simon McVittie authored
This is not significant to the machine-readable output, but is nicer for human readers. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
`-D_GNU_SOURCE` was required by a lot of components, so it's easier to set it by default for the entire project. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
examples/system-info.c now prints a JSON object containing all the available API of steam-runtime-tools. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Aug 02, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These are implied by some other header on Debian 10, but not on SteamRT 1. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Add libraries check to SrtSystemInfo See merge request steam/steam-runtime-tools!25
-
Simon McVittie authored
steam-runtime-tools v0.20190801.0
-
Ludovico de Nittis authored
This provides a high-level API to wrap SrtLibrary and check if the current system has the expected libraries and symbols. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Improve documentation See merge request steam/steam-runtime-tools!26
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 01, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 30, 2019
-
-
Ludovico de Nittis authored
Add a skeleton for SrtSystemInfo See merge request steam/steam-runtime-tools!23
-
- Jul 29, 2019
-
-
Simon McVittie authored
This provides a high-level API, with a cache to prevent repeated calls to helpers. It does not yet wrap SrtLibrary or do anything with the expectations directory. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
In the real GLib version, constructs like g_clear_pointer (&hash, g_hash_table_unref) are allowed, and do not provoke warnings. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
inspect-library: Remove dead code from command-line parsing Closes #4 See merge request steam/steam-runtime-tools!22
-
Simon McVittie authored
Closes: #4 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
inspect-library: Add support for consuming deb-symbols(5) files See merge request steam/steam-runtime-tools!21
-
- Jul 26, 2019
-
-
Simon McVittie authored
The Steam Runtime is built using dpkg/apt, so we have this information already for a lot of the shared libraries, for example in `/var/lib/dpkg/info/zlib1g:amd64.symbols` in a SDK container. For those that we don't, such as libcurl3, we can generate a deb-symbols(5) file by either improving the packaging, or using for example dpkg-gensymbols -q -v0 -plibcurl3 -e/usr/lib/x86_64-linux-gnu/libcurl.so.3 -I/dev/null -O (although the output of such commands will require some postprocessing and common sense to filter out private symbols that are not meant to be part of the ABI). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Previously, we would have accepted this as not a parse error, and then crashed with strcmp(NULL, ...) when we tried to use it. It obviously ought to mean the same thing as @Base, so treat it the same. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
There's no point in freeing the buffer every time: getline() is designed to reuse it. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We were relying on the fact that strsep(&line, ...) resets line to NULL when it reaches the end, which is not at all obvious. Swap the roles of the variables around. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
inspect-library: Treat "-" as meaning stdin See merge request steam/steam-runtime-tools!19
-
Simon McVittie authored
To test: echo "foo@Base" | ./_build/helpers/x86_64-linux-gnu-inspect-library libz.so.1 - This isn't used for anything yet, but when we give it more integration into the library, we might want to use a pipe to supply the list of symbols. For instance, if we use deb-symbols(5) symbols lists (which describe one or more shared libraries, each with their symbols) to describe the Steam Runtime, then we'll want something like this pseudocode: while lines remain: SONAME = next line until first whitespace run helper with pipes on stdin and stdout while next line starts with one of ('|', '*', ' '): if next line starts with ' ': symbol@version = rest of line until first whitespace write symbol@version to pipe else: ignore '* Field: value' or '| alternative dependency' close pipe to helper's stdin collect results from stdout collect exit status add SrtLibrary to list of libraries Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
Add inspect-library helper See merge request steam/steam-runtime-tools!2
-
Ludovico de Nittis authored
This helper takes a SONAME as an argument, and optionally a filename for symbols, and outputs a parsable JSON with the path, the dependencies and the possible missing symbols of the requested library. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
build: Disable -Wunused-local-typedefs See merge request steam/steam-runtime-tools!18
-
Ludovico de Nittis authored
utils: Ensure that g_type_init() gets called See merge request steam/steam-runtime-tools!16
-
Ludovico de Nittis authored
build: Allow C99 constructs See merge request steam/steam-runtime-tools!17
-
- Jul 25, 2019
-
-
Simon McVittie authored
In older versions of GLib, G_STATIC_ASSERT triggers this. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is the default in newer compilers, but not in Steam Runtime 1 'scout'. Many GLib projects are stuck on C89 anyway because they care about Microsoft Visual Studio's C compiler, but this project is Linux-only code so we can rely on C99. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-