| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This is more consistent with other modules like GTK.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Libjasper is not really maintained any more, and has been dropped by
various Linux distributions over the years.
GdkPixbuf has not enabled the JPEG2000 loader by default in many years,
relying on downstream distributors to do so if they also shipped
libjasper. This means that it's unlikely anybody has relied on GdkPixbuf
to load a JPEG2000 image for the past 3 to 5 years, if at all.
The only other option for loading JPEG2000 images is to use OpenJPEG,
and for that there is an out of tree GdkPixbuf module available:
https://notabug.org/necklace/jp2-pixbuf-loader
Fixes: #152, #137
|
| |
|
| |
|
|
|
|
|
|
| |
The `install` argument is implicitly set to true when specifying the
`install_dir` argument. The argument is only used by Meson ≥ 0.50, and
ever there, it's only ever useful if paired to a configuration option.
|
|
|
|
|
|
| |
We're still using the deprecated form of passing gdk-pixbuf as a library
named argument, instead of the idiomatic positional argument, which lets
Meson figure out all the needed dependencies.
|
|\
| |
| |
| |
| |
| |
| | |
Add pkgconfig variables for binary utilities
Closes #89
See merge request GNOME/gdk-pixbuf!12
|
| |
| |
| |
| |
| |
| |
| | |
It is useful for finding the correct path for the utilities, as it does
not rely on PATH being set appropriately.
Closes #89
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This ensures that the enums are generated before compiling the headers.
Fixes variations on this error for different loaders
pixbuf@@staticpixbufloader-qtif@sta/io-qtif.c.o' -c ../gdk-pixbuf/io-qtif.c
In file included from ../gdk-pixbuf/io-qtif.c:34:0:
../gdk-pixbuf/gdk-pixbuf.h:40:46: fatal error: gdk-pixbuf/gdk-pixbuf-enum-types.h: No such file or directory
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The old autotools build system was create .so files instead of dylib
and G_MODULE_SUFFIX does not take into account dylib suffixes so
we should at least for now use .so until we have a better api to
use than the one provided by gmodule.
|
| |
| |
| |
| |
| |
| |
| |
| | |
After the split, this wasn't included here. We need this file because
it contains the annotations for gdk_pixbuf_new_from_inline - without
those we generate broken introspection metadata.
Closes #92
|
|/
|
|
|
|
| |
We're passing the full path to the shared modules, which confuses Meson.
Closes #88
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GdkPixdata API is built as part of the GdkPixbuf shared library,
but:
- it has its own namespace
- it has its own header file
- it's mostly meant for C applications
- it is deprecated
Consumers of the introspection data cannot access this API by using the
GdkPixbuf-2.0 GIR, as the namespace and included headers are different.
Instead of kludging the API, let's move the GdkPixdata introspection
out of the GdkPixbuf-2.0 GIR and into its own module.
This is an introspection ABI break, but there aren't many consumers of
GdkPixdata out there, and it's preferable to straight including the
gdk-pixdata.h header into gdk-pixbuf.h.
Fixes #72
|
|
|
|
|
| |
Instead of using a template, use Meson's pkgconfig module to generate
the pkg-config file for us from the build targets.
|
|
|
|
|
| |
We really only care about it as a library in order to build a test. We
can simply include the sources into the main shared library.
|
|
|
|
|
|
|
| |
The generated marshalers are public API, and the header needs to be
installed, even though nobody should be using them.
https://bugzilla.gnome.org/show_bug.cgi?id=795213
|
|
|
|
|
|
|
|
|
|
| |
We should not be using cross-compilation to gate the generation of
introspection data; it's perfectly possible to use a helper binary
to run g-ir-scanner when cross-compiling — in fact, that's what
projects like Yocto already do.
We should also return a target for the introspection data, to allow
using gdk-pixbuf as a sub-project.
|
|
|
|
|
|
| |
As per https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
https://bugzilla.gnome.org/show_bug.cgi?id=790995
|
|
|
|
|
|
| |
As per https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
https://bugzilla.gnome.org/show_bug.cgi?id=790995
|
|
|
|
| |
WARNING: Passed invalid keyword argument "source" in gdk-pixbuf/meson.build line 243.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is currently a GDI+ image loader that is within the GDK-Pixbuf
codebase, which can serve as a basis for improvements to it or for
moving on to more modern Windows APIs/Frameworks such as Windows
Imaging Component (WIC).
Provide a Windows-only option to build it with Meson, which will mean
that when it is used the TIFF and JPEG loaders will not require libtiff
and libjpeg-turbo/IJG JPEG, but will use the GDI+ component of Windows
to deal with these images, along with BMP, GIF, ICO and images. This
will also enable the support of EMF and WMF images. For building this
set of loaders into the GDK-Pixbuf DLL, pass in 'windows' as a part of
the loaders passed into builtin_loaders, or pass in 'all' to
builtin_loaders in conjunction with this option.
This also means that by using this set of GDI+ loaders, we cannot use
any of the loaders (either in-house or those using the various
opensource libraries) for these formats, so these loaders will be
disabled as a result, since the MIME types, extensions and signature
of these formats are the same in the GDI+ loaders with their respective
counterparts that are otherwise built.
Note that PNG support still requires libpng, and JPEG2000 support still
requires libjasper, and in its current state, the TIFF and JPEG and ICO
(and hence ANI) support that are done by the opensource libraries and/or
the in-house loaders are still preferred over the GDI+-based ones since
in the current state they tend to work better, so this is provided as an
option.
https://bugzilla.gnome.org/show_bug.cgi?id=785767
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order for MSVC builds that utilize libjasper to work, we need to
ensure that JAS_WIN_MSVC_BUILD is defined when we check for
jasper/jasper.h, and that same macro is defined when we compile
io-jasper.c on MSVC.
We also need to look for libjasper.lib on MSVC in case that jasper.lib
cannot be found, as the Visual Studio projects for libjasper produces
libjasper.lib upon build.
https://bugzilla.gnome.org/show_bug?id=785767
|
|
|
|
|
|
|
|
|
|
| |
To ease packaging of the built binaries, provide an 'all' shorthand for
making all the buildable loaders built into the main GDK-Pixbuf library,
so that we do not need to distribute them as well, and makes it easier
so that one will not have to try to find and enter all the names of the
loaders that are shipped with GDK-Pixbuf.
https://bugzilla.gnome.org/show_bug.cgi?id=785767
|
|
|
|
|
|
|
|
| |
Like the autotools and Visual Studio builds, include the .rc file in the
main GDK-Pixbuf DLL so that people can determine its version info
more easily. Determine current - age as we did in the autotools builds.
https://bugzilla.gnome.org/show_bug.cgi?id=785767
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to ensure that the loaders that are to be built into the main
GDK-Pixbuf library is built as follows:
-The individual loader sources are built with the corresponding
INCLUDE_xxx macro defined.
-The GDK-Pixbuf library itself must be built with all of the INCLUDE_xxx
macros defined for building the individual loaders that we are building
into the main GDK-Pixbuf library
There is also a typo for the macro to make the loaders built into the
GDK-Pixbuf library, so correct that as well (-DINCLUDED_xxx ->
-DINCLUDE_xxx).
https://bugzilla.gnome.org/show_bug.cgi?id=785767
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=785964
|
|
|
|
|
| |
We want to be able to run the gdk-pixbuf tests after installing them in
a known system location, especially when running CI.
|
| |
|
|
|
|
|
|
|
| |
Just like the Autotools build does.
We also provide a simple escape hatch for platforms where building
introspection data is too complicated at the moment.
|
|
|
|
|
| |
The name is `gdk_pixbuf-2.0`, not `gdk-pixbuf-2.0`, I guess for
historical reasons.
|
|
|
|
| |
It was lost in the port.
|
|
Meson is a better build system than Autotools that has gotten traction
in the GNOME community.
The build is pretty much equivalent between Autotools and Meson, but at
this point it needs further testing to verify complete matching
behaviour.
The GDI-plus loaders are not currently built, as that will require
access to a platform I don't have in order to test them.
Additionally, the API reference is not being generated yet in Meson.
|