diff options
| author | Colomban Wendling <[email protected]> | 2025-12-02 10:02:11 +0100 |
|---|---|---|
| committer | Luke from DC <[email protected]> | 2025-12-07 04:36:13 +0000 |
| commit | bfdc4c4d82f7060bd24183b569757c94894cb5e0 (patch) | |
| tree | e16e12850791425c3e4577642453dd6bcfbdaa13 /libmenu | |
| parent | 29e36d7cf10c2773991f34fbac1791139f225930 (diff) | |
| download | mate-menus-master.tar.bz2 mate-menus-master.tar.xz | |
This is required since Gio 2.80, see [^1]. We however make the
dependency on 2.80 conditional to support older systems as well, as
they don't require the modification to work.
Fixes #119 and mate-desktop/mozo#92.
[^1]: https://gitlab.gnome.org/GNOME/gnome-menus/-/commit/fe1eca74e1b6d75941d56088ea2aeca97b639926
Diffstat (limited to 'libmenu')
| -rw-r--r-- | libmenu/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmenu/Makefile.am b/libmenu/Makefile.am index 2b72443..ef0b301 100644 --- a/libmenu/Makefile.am +++ b/libmenu/Makefile.am @@ -58,6 +58,11 @@ introspection_sources = $(libmate_menu_include_HEADERS) matemenu-tree.c MateMenu-2.0.gir: libmate-menu.la MateMenu_2_0_gir_INCLUDES = Gio-2.0 +# Under GIO >= 2.80 we need to include the dependency, see +# https://gitlab.gnome.org/GNOME/gnome-menus/-/commit/fe1eca74e1b6d75941d56088ea2aeca97b639926 +if HAVE_GIO_UNIX_280 +MateMenu_2_0_gir_INCLUDES += GioUnix-2.0 +endif HAVE_GIO_UNIX_280 MateMenu_2_0_gir_CFLAGS = $(AM_CPPFLAGS) MateMenu_2_0_gir_LIBS = libmate-menu.la MateMenu_2_0_gir_SCANNERFLAGS = --identifier-prefix=MateMenu --symbol-prefix=matemenu --pkg-export=libmate-menu --c-include=matemenu-tree.h |
