- Feb 19, 2022
-
-
Simon McVittie authored
To fill in some gaps, I've had to make some assumptions: * trivial changes (such as checking for an additional function or header file in libglnx.m4) are assumed to not be copyrightable * Will Thompson and Matthew Leeds are assumed to be contributing on behalf of Endless Mobile Inc. * files with no explicit licensing information are assumed to be under the license found in COPYING Reference: https://reuse.software/ Signed-off-by:
Simon McVittie <smcv@debian.org>
-
- Jun 28, 2021
-
-
Simon McVittie authored
This avoids colliding with a config.h generated by a parent Meson project. In the Meson build system, we generate libglnx-config.h by doing our own checks, so we want to avoid it colliding. In the Autotools build system, we assume that the parent project will generate its own config.h that contains the results of LIBGLNX_CONFIGURE, and create a forwarding header libglnx-config.h in the $(top_builddir) (so that it is next to config.h). Note that after updating libglnx in an Autotools non-recursive-Make project (libostree, flatpak, flatpak-builder) it will be necessary to re-run autogen.sh. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 04, 2019
-
-
Colin Walters authored
It was introduced in a previous commit but only added to `meson.build`.
-
- Sep 26, 2017
-
-
Philip Withnall authored
If the directory for @dfd is deleted after being opened, glnx_shutil_mkdir_p_at() would fail with an assertion failure. Fix that, and make it return an ENOENT error instead. Add a unit test. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Reviewed-by:
Colin Walters <walters@verbum.org> Reviewed-by:
Jonathan Lebon <jlebon@redhat.com> https://github.com/ostreedev/ostree/issues/1215
-
- Sep 17, 2017
-
-
Colin Walters authored
The libostree Travis builds use make dist.
-
- Jun 14, 2017
-
-
Colin Walters authored
I originally tried to get this into GLib: https://bugzilla.gnome.org/show_bug.cgi?id=783751 But that looks like it's going to fail due to MSVC. Let's add it here at least so I can start using it tomorrow and not wait for the MSVC team to catch up. I renamed `glnx-alloca.h` to `glnx-macros.h` as a more natural collective home for things from systemd's `macro.h`. Finally, I used a Coccinelle spatch similar to the one referenced in the above BZ to patch our uses.
-
- Mar 22, 2017
-
-
Colin Walters authored
Following up to the previous commit, also shorten our use of `g_set_error (..., G_IO_ERROR_FAILED, ...)`. There's a lot of this in libostree at least. See also https://bugzilla.gnome.org/show_bug.cgi?id=774061
-
- Mar 02, 2017
-
-
Colin Walters authored
I want the `RENAME_EXCHANGE` version for rpm-ostree, to atomically swap `/usr/share/rpm` (a directory) with a new verison. While we're here we might as well expose `RENAME_NOREPLACE` in case something else wants it. These both have fallbacks to the non-atomic version. Closes: https://github.com/GNOME/libglnx/pull/36
-
- Jan 29, 2017
-
-
Colin Walters authored
This is actually the first test case in libglnx
; hopefully the consumers are prepared for us injecting into `TESTS`.
-
- Aug 31, 2016
-
-
Dan Nicholson authored
This is needed by ostree when creating a tarball with make dist.
-
- Aug 30, 2016
-
-
Colin Walters authored
No longer used by anything; see https://github.com/projectatomic/rpm-ostree/pull/429
-
- Aug 05, 2016
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@debian.org>
-
- Jan 24, 2016
-
-
Colin Walters authored
This is taken from systemd, and is really useful when one has a few known-to-be-small strings one wants to concatenate without resorting to malloc.
-
- Aug 29, 2015
-
-
Colin Walters authored
Where we can put general functions that come in newer glib.
-
- May 05, 2015
-
-
Colin Walters authored
Will be used by OSTree to lock the sysroot against concurrent manipulation. Taken from current systemd git master, tweaked to GLibify.
-
- Apr 08, 2015
-
-
Colin Walters authored
See previous commits to drop libattr dependency.
-
- Mar 04, 2015
-
-
Colin Walters authored
Now that this module is Linux specific, we can more cleanly depend on it here.
-
- Mar 02, 2015
-
-
Giuseppe Scrivano authored
Signed-off-by:
Giuseppe Scrivano <gscrivan@redhat.com>
-
- Feb 20, 2015
-
-
Colin Walters authored
We don't have this really in GLib, unfortunately. We do want GCancellable, but we also want to operate on raw fds where possible. The "read a file and validate as UTF-8" is a common use case of mine, and this combines that with openat().
-
- Feb 17, 2015
-
-
Colin Walters authored
This contains some basic progress bar drawing code for now.
-
- Feb 15, 2015
-
-
Colin Walters authored
-
Colin Walters authored
-
- Feb 14, 2015
-
-
Colin Walters authored
This module is a new successor to libgsystem. It currently contains a backport of the GLib cleanup macros, but soon more Linux-specific code will be added.
-