| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
We are reading and writing a structure before and after a
sigsetjmp/longjmp pair without declaring it volatile. This is undefined
behaviour, and even if most compilers and toolchains won't have any
issue with that, it's better to avoid it if at all possible.
The simplest fix is to declare the variable in a separate function, and
then pass it by reference.
Fixes: #143
|
|\
| |
| |
| |
| | |
Build fixes
See merge request GNOME/gdk-pixbuf!114
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Follow the same pattern as the libpng checks:
1. look for libjpeg via pkg-config
2. if pkg-config fails, and we're using the MSVC toolchain, look
for header and library
3. if that fails, fall back to the libjpeg subproject
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
meson can't do function checks for subprojects, since
these have not been built yet at configure time. So,
check if we are in that case and bypass the checks.
The libjpeg we build as a subproject is new enough
to have those functions, anyway.
|
| |
| |
| |
| |
| |
| |
| | |
With meson 0.56, this can be done more elegantly with
allow_fallback and a [provide] section in the wrap
files, but with 0.55, we need to explictly mention
the variable names in the meson file.
|
| |
| |
| |
| |
| | |
According to @xclaesse, this version seems to work when it comes to
resolving the dependency of libpng and libjpeg.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The checksum from the wrapdb does not match the checksum from the source
website.
Apparently, the ICJ libjpeg maintainers decided to re-upload the 9c
source tarball after changing its contents.
See: https://github.com/mesonbuild/wrapdb/issues/94
|
| |
| |
| |
| |
| |
| | |
We are checking for libjpeg only if we find a header to include, but the
dependency check with pkg-config, and the fallback with a wrap file,
should happen outside of that check.
|
| |
| |
| |
| | |
Never use g_set_error() without a format string.
|
|/
|
|
|
| |
The path of a file may contain non-Unicode glyphs, as file names have
their own encoding.
|
| |
|
| |
|
|
|
|
| |
Use the repository under the GNOME group, not my personal repository.
|
|\
| |
| |
| |
| | |
Revert "build: Use a dict for pkg-config file variables"
See merge request GNOME/gdk-pixbuf!113
|
| |
| |
| |
| | |
The version of Meson shipped with Fedora 33.
|
|/
|
|
|
|
|
| |
This reverts commit f265a94336c17716b2dcb33198ec34ebf926f98e.
This change requires Meson ≥ 0.56, and Fedora 33 still has 0.55.3. We're
going to un-revert the change once we can depend on a newer version.
|
|\
| |
| |
| |
| | |
Build system clean up
See merge request GNOME/gdk-pixbuf!112
|
| |
| |
| |
| | |
Makes it slightly easier to visually parse and modify.
|
| |
| |
| |
| |
| |
| | |
This gives us an actual array, and lets Meson deal with the argument
parsing. It also gives us a default value that we can specify in the
meson_options.txt.
|
| |
| |
| |
| | |
Avoid the whole shell/batch file shenanigans.
|
| |
| |
| |
| | |
Use 'default' as the default value, instead of 'none'.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
GdkPixbuf without PNG and JPEG loaders is less than useful for loading
assets in GTK (and anywhere else, really).
We go to great lengths to ensure that both the PNG and JPEG loaders are
built by default, to the point of including subprojects for libpng and
libjpeg. Let's avoid any doubt, and ensure that those loaders are also
included in the default shared library.
|
| |
| |
| |
| | |
Just like we documented it.
|
| |
| |
| |
| |
| | |
Drop deprecated functionality, and use the appropriate functions and
objects to check for variables and generate the summary.
|
| |
| |
| |
| | |
We require 0.56.0.
|
| |
| |
| |
| | |
Avoids a ton of string manipulations, and leaves escaping to Meson.
|
| |
| |
| |
| |
| | |
Don't use intermediate directories: the API reference is already
namespaced.
|
|/
|
|
| |
Avoid hard-coding the dependency object into the meson.build file.
|
|\
| |
| |
| |
| | |
build: Add a libjpeg fallback wrap
See merge request GNOME/gdk-pixbuf!109
|
|/ |
|
|\
| |
| |
| |
| | |
thumbnailer: Always initialise locale on startup
See merge request GNOME/gdk-pixbuf!110
|
|/
|
|
|
|
| |
So that thumbnailers can print debug in UTF-8.
Updated from gnome-thumbnailer-skeleton module.
|
|\
| |
| |
| |
| | |
Ebassi/for master
See merge request GNOME/gdk-pixbuf!106
|
| | |
|
| |
| |
| |
| |
| | |
When building gdk-pixbuf as a sub-project, we want to yield the value of
the gtk_doc option to the super-project.
|
|\ \
| |/
|/|
| |
| | |
ci: Drop old dependencies from MSYS2 job
See merge request GNOME/gdk-pixbuf!108
|
|/
|
|
|
|
| |
- The Jasper loader has been removed
- There's no X11 dependency any more
- We don't use gtk-doc for generating the API reference
|
|\
| |
| |
| |
| | |
Disable TAP for tests
See merge request GNOME/gdk-pixbuf!111
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Sadly, GTest intercepts debugging messages and prints them as they are;
this means that multi-line messages will inevitably break the TAP
protocol.
GLib 2.68 has started printing out a long g_debug() message on Windows,
which ends up failing the whole test suite on the MSYS2 CI jobs.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Fix build for Android
See merge request GNOME/gdk-pixbuf!104
|
| |
| |
| |
| | |
Similarly to what we do on Windows and macOS.
|
| | |
|
| | |
|
| |
| |
| |
| | |
We don't require gtk-doc.
|
| |
| |
| |
| |
| | |
Drop gtk-doc, and use modern idiomatic Meson invocations in the build
instructions.
|
| |
| |
| |
| | |
We want to ship the generated API reference in the release archive.
|
|\ \
| | |
| | |
| | |
| | | |
Switch to gi-docgen for our documentation
See merge request GNOME/gdk-pixbuf!105
|
| | | |
|