| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
When using grilo as a subproject we don't have access to the pkg-config
variables. This means any attempt at checking if grilo was built against
libsoup3 or libsoup2.4 will fail when using grilo as a subproject.
Fixes: 34d3c58 ("build: Allow building grilo as a Meson subproject")
|
|
|
|
|
| |
Since we're copying a file. The empty configuration_data() trick is not
necessary any more.
|
|
|
|
|
|
| |
G_APPLICATION_FLAGS_NONE has been deprecated, and replaced with
G_APPLICATION_DEFAULT_FLAGS in GLib 2.74. We can simply use zero to
avoid a version check.
|
|
|
|
|
|
|
|
| |
Aside from the fact that Python 2 is an ex-parrot, and has been pining
for the fjords for a while now, we depend on Python3 for building this
project.
Let's use non-deprecated, idiomatic ways to run a Python script.
|
|
|
|
|
| |
Make it slightly more Pythonic, starting from the PEP8 coding style,
context managers for files, and a slightly more readable regexp.
|
|
|
|
|
|
|
|
| |
There's no need for us to define variables for prefixes, exec prefixes,
and datarootdirs.
Meson already fills out the prefix, bindir, libdir, and datadir
variables with appropriate values that can be expanded and overridden.
|
|
|
|
| |
Use get_variable(pkgconfig: ...) instead.
|
|
|
|
|
|
|
|
| |
Grilo already uses new functionality, and gets deprecation warnings, so
we should update the build system.
Unlike Autotools, Meson is still being developed, which means we need to
keep up, at least until 1.0 is out.
|
| |
|
| |
|
|
|
|
| |
Long overdue. Bye GSimpleAsyncResult.
|
|
|
|
| |
Signed-off-by: Victor Toso <victortoso@gnome.org>
|
|
|
|
|
| |
We needed to change the runtime behaviour when compiled against libsoup3
to avoid an API/ABI change.
|
| |
|
|
|
|
| |
And check ABI against both variants.
|
|
|
|
|
|
|
|
| |
Add 'soup3' build option to make it easier to build the grl-net library
against either libsoup 2.x or libsoup 3.x. The API version used is
exported in the soupapiversion variable of the pkg-config file.
Based on work by Daniel Kolesa <dkolesa@igalia.com>
|
|
|
|
|
| |
libsoup3 doesn't return a partial response on failure like libsoup2 used
to do, so remove that from the error parsing.
|
| |
|
| |
|
| |
|
|
|
|
| |
This will be used in the soup3 port.
|
|
|
|
| |
So we don't rely on a SoupSession keeping it.
|
|
|
|
|
|
|
| |
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in future releases of meson.
See also: https://github.com/mesonbuild/meson/issues/9300
|
| |
|
| |
|
|
|
|
|
| |
The mock backend just manipulates URIs, so require a newer version of
GLib and use GUri to parse those instead of SoupURI.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
grl_registry_metadata_key_clamp() is a helper to check if a given
@value is between @min and @max. Only @min and @max should be well
defined values to be compared with. We can simply bypass when @value
is NULL (which means, @value is not changed).
This comes with a unit test that shows issue #148 but also highlights
some other bugs around the code. Those will be discussed in its own
issue trackers.
Resolves: https://gitlab.gnome.org/GNOME/grilo/-/issues/148
|
| |
|
| |
|
|
|
|
| |
Closes: #147
|
| |
|
|
|
|
|
| |
This will crash without the introspection annotation fix in the previous
commit.
|
|
|
|
|
|
| |
grl_net_wc_request_finish() claims to have a "transfer full" content
argument but it actually returns a pointer to a variable inside the
GrlNetWc object, leading to possible double-frees.
|
|
|
|
| |
Related: https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/667
|
| |
|
| |
|
|
|
|
| |
It explains how to install grilo using the autotools...
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The default SoupSessionAsync behaviour does not perform any TLS certificate
validation, unless the ssl-use-system-ca-file property is set to true.
See https://blogs.gnome.org/mcatanzaro/2021/05/25/reminder-soupsessionsync-and-soupsessionasync-default-to-no-tls-certificate-verification/
This mitigates CVE-2016-20011.
Closes: #146
|
|
|
|
|
|
|
| |
The COPYING file by itself isn't enough to know under which license the
project is released, as a combined work.
Clarify this in the build system and the README.
|
|
|
|
| |
Just for git and doap files is enough
|
| |
|