| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
As the meson reference doc says, files() is preferred over building
paths with current_source_dir().
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building glib as a subproject, #include's for xdp-dbus.h from xdp-dbus.c
and for gdbus-daemon-generated.h from gdbus-daemon-generated.c were generated as
being prefixed with the subproject prefix, eg
#include "subproject/glib/gio/gdbus-daemon-generated.h".
That failed since the root of the build directory is obviously not part of the
include path when building a subproject.
Passing --output-directory @OUTDIR@ to gdbus-codegen and removing @OUTDIR@ from
--generate-c-code fixes the issue.
|
|
|
|
|
|
|
|
| |
... in glib-mkenums python port.
Was parsed correctly but then skipped due to inverted condition.
https://bugzilla.gnome.org/show_bug.cgi?id=779332
|
|
|
|
| |
Same as autotools build.
|
|
|
|
|
|
| |
Otherwise RTLD_XXX get redefined.
https://bugzilla.gnome.org/show_bug.cgi?id=784133
|
|
|
|
|
|
|
|
| |
meson.source_root() returns the toplevel source directory
of the toplevel project, thus the paths were wrong when using
it. Simply using files() gets us the right path
https://bugzilla.gnome.org/show_bug.cgi?id=784133
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=784133
|
|
|
|
|
|
|
| |
With meson from git dependencies of dependencies are no
longer added automatically and recursively to the linker
lines. Meaning dependencies that are used have to be
passed directly and explicitly or we'll get linker errors.
|
|
|
|
|
|
| |
Should really use files('gobject.types') instead, but that
seems to get expanded to the build path for some reason:
https://github.com/mesonbuild/meson/issues/1875
|
| |
|
|
|
|
|
|
|
| |
... in glib-mkenums python port.
https://bugzilla.gnome.org/show_bug.cgi?id=779332
https://bugzilla.gnome.org/show_bug.cgi?id=783198
|
|
|
|
|
|
|
| |
... in glib-mkenums python port.
https://bugzilla.gnome.org/show_bug.cgi?id=779332
https://bugzilla.gnome.org/show_bug.cgi?id=783198
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes get_type function generation for:
- GMountMountFlags
- GDriveStartFlags
- GResourceLookupFlags
- GSocketMsgFlags
- GTlsDatabaseVerifyFlags
- GTestDBusFlags
which were registered as enum types before, which broke
some unit tests.
Problem is that the flags annotation has no value, so
options.get('flags') would always return None even if
it was present.
https://bugzilla.gnome.org/show_bug.cgi?id=779332
|
|
|
|
| |
From 2.51.2
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Need to fix up some of the tests a little, because the
test binary will not necessarily be run from the current
build sub-directory, and the build directory structure
might not always be a mirror of the source directory
structure, so pass location of glib-mkenums and
glib-compile-scheme and such directly.
|
|
|
|
|
| |
This is no longer needed because we use templates and custom targets
can capture output just fine on all platforms.
|
| |
|
|
|
|
|
| |
This allows you to clone glib and just build it anywhere without any
extra dependencies besides Python 3 and Meson itself (and maybe git).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reduces the build-time dependencies of glib to only Python 3,
Meson, and git. Git is also optional if you provide a tarball in
which the subproject directories already exist.
The Python port was done by Jussi Pakkanen on bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=779332
This version contains some fixes from that and also changes all
instances of `@` to `\u0040` because Meson does not yet provide a
configure_file() mode that ignores unknown @MACRO@ values.
|
|
|
|
|
|
|
|
|
| |
This is a stub-only library that can be used while building against
MSVC and contains no i18n machinery at all.
The dependencies added indirectly use the libintl.h header, and when
built as a subproject, the header won't be in a path known the
pre-processor.
|
|
|
|
|
| |
It's not available on other platforms, so don't require the user to
explicitly disable it there.
|
|
|
|
| |
Also use the python3 module to find python3, and require Meson 0.37.1
|
|
|
|
|
|
|
| |
When no 'name:' kwarg is specified for cc.run, no output is printed.
This makes it difficult to figure out what is causing a pause in the
configure process.
|
|
|
|
|
|
|
|
| |
By default, only build man pages and gtk-doc if the build-deps were
found. To force-enable, pass -Dwith-docs=yes and -Dwith-man=yes.
Also use a foreach loop for man pages instead of listing them all
manually
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Don't use it project-wide for building everything. Otherwise
symbols for shared modules won't be exposed, e.g. in the
resourceplugin used by the gio resource unit test.
|
|
|
|
|
| |
add_global_arguments() doesn't work if the project is used as a
subproject.
|
| |
|
|
|
|
|
|
| |
This is needed for the Meson port, a file name .c that's included
and shouldn't be compiled into an object is difficult to manage
otherwise.
|
|
|
|
|
| |
Since these variables are referenced from other directories
such as the tests/ subdir as well.
|
| |
|
|
|
|
| |
Still at least one FIXME. And untested so far. It builds.
|
|
|
|
| |
So that it's not forgotten later.
|
|
|
|
|
|
| |
Same change as d1d1aba3b4c024255b530b0f4f2dc9dd19a7086e
https://bugzilla.gnome.org/show_bug.cgi?id=775517
|
|
|
|
|
| |
The only place where it won't work, is MSVC and maybe Sun Studio, but
we'd need someone to test Sun Studio first.
|
|
|
|
| |
These were removed several years ago.
|
|
|
|
| |
This is what Autoconf macros do too, so no need to hard-code the names.
|
|
|
|
|
|
| |
giomodule test needed symbol visibility pragmas added. This is needed on
Windows anyway, so it's better to do it this way rather than disabling
-fvisibility=hidden for the test modules.
|
|
|
|
|
|
|
| |
Also remove headers from some gio sources. Headers do not need to be
added to the list of sources.
+ various smaller self-explanatory fixes.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Fix installing various data files
- Build translations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable gio tests on Windows, fix .gitignore to not ignore
config.h.meson, and add more things to it.
Rename the library file naming and versioning to match what Autotools
outputs, e.g., libglib-2.0.so.0.5000.2 on Linux, libglib-2.0-0.dll and
glib-2.0-0.dll on Windows with MSVC.
Several more tiny fixes, more executables built and installed, install
pkg-config and m4 files, fix building of gobject tests.
Changes to gdbus-codegen to support out-of-tree builds without
environment variables set (which you can't in Meson). We now add the
build directory to the Python module search path.
|