| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
|
|
|
|
|
|
| |
argparse will take care about everything
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
|
|
|
|
| |
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
|
|
|
|
| |
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
|
|
|
|
| |
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
|
|
|
|
| |
With msys64/mingw.
|
|
|
|
| |
This allows us to build with Python 3 without using an absolute path.
|
|
|
|
|
| |
Otherwise overriding the Python interpreter with `--with-python` won't
work correctly.
|
|
|
|
|
| |
Just like we do with Autotools. This allows building glib-mkenums and
glib-genmarshal on older platforms that only have Python 2.
|
| |
|
|
|
|
|
| |
We need to build them out of the project version, and then propagate
them.
|
| |
|
|
|
|
|
|
| |
This is a follow up on 266bc1e510e154f7b5e793adb227d979ae655446
to fix building tests and examples when using GLib as a meson
subproject.
|
|
|
|
| |
This is no longer built from a C source, but a python file.
|
|
|
|
| |
This was added recently.
|
|
|
|
|
| |
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.
|