- Oct 31, 2019
-
-
Ludovico de Nittis authored
Some libraries like "libtheoraenc.so.1" or "libCgGL.so" assumes that you have already linked to other libraries. With this commit we add support for those situations with the concept of "hidden dependencies". Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Oct 29, 2019
-
-
Jeremy Whiting authored
%multiarch%-check-vulkan uses vulkan to draw a simple triangle in a 200x200 window (next commit will not draw the window) and reports any issues found. Exit code is 0 on success. shader.frag and shader.vert are shader source files compiled into shaders/frag.spv and shaders/vert.spv respectively by using glslc such as: glslc shader.frag -o shaders/frag.spv glslc shader.vert -o shaders/vert.spv Binary shaders included in commit because glslc hasn't been packaged for scout runtime yet. Also add libvulkan-dev and libxcb1-dev to ci dependencies.
-
- Aug 27, 2019
-
-
Simon McVittie authored
Some Steam games assume that the en_US.UTF-8 locale is available, and it's reasonably likely that others assume that the C.UTF-8 locale is available, or that the locale environment variables are set to usable values. Having checks for locale properties will also help us when experimenting with containers: we can check whether the locale that was set outside the container is available inside the container. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 21, 2019
-
-
Jeremy Whiting authored
Also remove references to GPL since helpers licensed as gpl are removed. Also remove bits about GPL 2 from debian copyright. Also remove unused gnome-session-check-accelerated-common.h file. Also remove no longer used dependencies from debian/control.
-
- Aug 12, 2019
-
-
Simon McVittie authored
If we don't know what symbols we're looking for, we need to print a comma to follow "path" and precede "dependencies". Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 06, 2019
-
-
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>
-
- Jul 29, 2019
-
-
Simon McVittie authored
Closes: #4 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- 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>
-
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
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>
-
- Jul 16, 2019
-
-
Simon McVittie authored
I'm not deleting this because we expect to want it later. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is necessary to be able to compile on SteamRT 1 'scout'. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Jeremy Whiting authored
In order to check opengl and gles on linux desktop for multiple architectures build check-gl|gles] with architecture prefix. Modifications from upstream sources include: Removing kernel parameter checks for gnome.fallback, just run no need to check for fallbacks. Removing blacklisted renderer list support, no need for our use case. Removing dependency on gtk+ and gdk. Removing dependency on epoxy.
-
- Jun 27, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-