- Jul 02, 2021
-
-
Simon McVittie authored
Reference: https://reuse.software/ Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Apr 02, 2019
-
-
We can't just drop in an updated version of pkg.m4, because older versions of pkg.m4 didn't have a serial number, so an older system copy would overwrite our local copy. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 30, 2019
-
-
Simon McVittie authored
Older autoconf versions don't do this automatically. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 03, 2018
-
-
Vivek Das Mohapatra authored
We also need to wrap realloc() to dispatch pointers to the correct free/alloc implementation.
-
- Dec 21, 2017
-
-
Vivek Das Mohapatra authored
malloc/calloc/realloc/posix_memalign are simply replaced by their external counterparts. free() gets a wrapper which route the pointer to the hopefully correct free() implementation.
-
- Dec 20, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 17, 2017
-
-
Simon McVittie authored
Use the canonical Debian GNU type for the Debian packages, matching the prefix on gcc. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 15, 2017
-
-
Simon McVittie authored
This makes it easier to co-install the tools in environments where libc6-dev might not be in sync across architectures. We need both bit-widths of the tools for testing in a multiarch environment. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 13, 2017
-
-
Simon McVittie authored
libcapsule can't work with static libraries. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 10, 2017
-
-
Simon McVittie authored
It's undesirable to do this as part of the upstream build, because libtool doesn't let us decouple the target directory from the rpath; but we can do it in a package build. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These went into infinite loops. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These options were always meant to accept an argument, but didn't. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This makes examples/shim/ and tests/gl-shim.pl match what Vivek outlined in doc/Quick-Start.txt, except that the proxies are all one big Autotools project. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 09, 2017
-
-
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>
-
- Nov 08, 2017
-
-
Simon McVittie authored
This makes the API surface area a lot smaller. We still need _int_dlopen() because we need a function per shim, with the API of dlopen(), but with an implementation that knows the capsule handle for the shim. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This was superseded by #include <capsule/_int_dlopen.h> (which can either be in-tree or provided by libcapsule) in commit 7d34220d. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Now that it's the same for every capsule, we can make it a lot more streamlined. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The shim shouldn't be calling dlopen() anyway, so it doesn't matter whether we overwrite its dlopen relocation with a pointer to capsule_external_dlopen() or not. This makes invalid_dl_reloc_targets constant across all shims, which is advantageous, because it means we can simplify it away. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
It turns out that all calls to capsule_relocate() wanted the same list of items, but without being able to access the arguments of the original capsule_relocate() call directly, capsule_external_dlopen() had to rely on the items being saved ("cached") in the capsule struct. By putting the items in the metadata, we can simplify that a lot. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We cannot allow non-default implementations of it, because which capsule would get to choose the implementation? 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
To preallocate data structures during metadata gathering, we need to know ahead of time which capsules will be sharing a namespace. If we need more flexibility later, we'll have to change from one capsule_namespace per prefix to one capsule_namespace per (prefix, discriminator) tuple, where the discriminator is something from the metadata that identifies the desired equivalence classes of libraries. (In practice it's going to be easier to bind-mount the same prefix into multiple places.) Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 07, 2017
-
-
Vivek Das Mohapatra authored
-
- Nov 06, 2017
-
-
Vivek Das Mohapatra authored
-
- Nov 01, 2017
-
-
Vivek Das Mohapatra authored
We were adding RTLD_NODELETE to the dlopen flags to make sure proxies were never actually closed but this broke the dlope/dlclose approach that SDL can take for sound initialisation. This is now fixed: capsule proxy metadata is now freed or tagged as invalid upon dlclose() which means dl* SDL works without NODELETE.
-
Vivek Das Mohapatra authored
generated autofoo was incorrect for libraries like libxcb-sync which had a - in their soname (- is not a valid autofoo variable name character)
-
- Oct 31, 2017
-
-
Vivek Das Mohapatra authored
Removed the dlsym and _ext_dlopen wrappers as these no longer require (or allow) special case handling in the proxy library. Conflicts: Makefile.am data/capsule-init-project data/capsule-mkstublib tests/shim/libnotgl.so.c.dlopen
-
- Oct 30, 2017
-
-
Vivek Das Mohapatra authored
Conflicts: data/capsule-init-project data/capsule-shim.mk.in
-
- Oct 11, 2017
-
-
Simon McVittie authored
It makes sense to run directly. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Use pkg-config to find the right one by default. To make sure we can be cross-architecture, use $PKG_CONFIG, so we can cross between architectures with an incantation like PKG_CONFIG=i386-linux-gnu-pkg-config capsule-init-project ... Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 10, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 06, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-