summaryrefslogtreecommitdiff
path: root/libmenu
diff options
context:
space:
mode:
authoryetist <[email protected]>2018-05-02 22:39:19 +0800
committerraveit65 <[email protected]>2018-05-27 13:44:45 +0200
commitedaad5228b9e23b277c1c9b3e09866f1f182054a (patch)
tree0ea62906e7f1205e4c61b78fc48b9d33cb9ed483 /libmenu
parent2b06561106415f0ff60eb5fd868f9ce015b0c23d (diff)
downloadmate-menus-edaad5228b9e23b277c1c9b3e09866f1f182054a.tar.bz2
mate-menus-edaad5228b9e23b277c1c9b3e09866f1f182054a.tar.xz
require gio-unix
Diffstat (limited to 'libmenu')
-rw-r--r--libmenu/Makefile.am10
-rw-r--r--libmenu/libmate-menu-uninstalled.pc.in2
-rw-r--r--libmenu/libmate-menu.pc.in2
3 files changed, 7 insertions, 7 deletions
diff --git a/libmenu/Makefile.am b/libmenu/Makefile.am
index 3d06096..e6e20e7 100644
--- a/libmenu/Makefile.am
+++ b/libmenu/Makefile.am
@@ -1,7 +1,7 @@
lib_LTLIBRARIES = libmate-menu.la
AM_CPPFLAGS = \
- $(GLIB_CFLAGS) \
+ $(GIO_UNIX_CFLAGS) \
-DMATEMENU_I_KNOW_THIS_IS_UNSTABLE \
$(DISABLE_DEPRECATED_CFLAGS) \
$(DEBUG_CFLAGS)
@@ -32,7 +32,7 @@ libmate_menu_la_SOURCES = \
menu-util.h
libmate_menu_la_LIBADD = \
- $(GLIB_LIBS)
+ $(GIO_UNIX_LIBS)
libmate_menu_la_LDFLAGS = \
-version-info $(LIB_MENU_LT_VERSION) \
@@ -56,13 +56,13 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
if HAVE_INTROSPECTION
# Note: we only include the headers here so far because there's no gtk-doc at all anyway
-introspection_sources = $(libmate_menu_include_HEADERS)
+introspection_sources = $(libmate_menu_include_HEADERS) matemenu-tree.c
MateMenu-2.0.gir: libmate-menu.la
-MateMenu_2_0_gir_INCLUDES = GObject-2.0
+MateMenu_2_0_gir_INCLUDES = Gio-2.0
MateMenu_2_0_gir_CFLAGS = $(AM_CPPFLAGS)
MateMenu_2_0_gir_LIBS = libmate-menu.la
-MateMenu_2_0_gir_SCANNERFLAGS = --pkg-export=libmate-menu
+MateMenu_2_0_gir_SCANNERFLAGS = --identifier-prefix=MateMenu --symbol-prefix=matemenu --pkg-export=libmate-menu --c-include=matemenu-tree.h
MateMenu_2_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
INTROSPECTION_GIRS += MateMenu-2.0.gir
diff --git a/libmenu/libmate-menu-uninstalled.pc.in b/libmenu/libmate-menu-uninstalled.pc.in
index e0b0496..87653f8 100644
--- a/libmenu/libmate-menu-uninstalled.pc.in
+++ b/libmenu/libmate-menu-uninstalled.pc.in
@@ -5,7 +5,7 @@ includedir=@includedir@
Name: libmate-menu
Description: Desktop Menu Specification Implementation
-Requires: glib-2.0
+Requires: gio-unix-2.0
Version: @VERSION@
Libs: ${pc_top_builddir}/${pcfiledir}/libmate-menu.la
Cflags: -I${pc_top_builddir}/${pcfiledir}
diff --git a/libmenu/libmate-menu.pc.in b/libmenu/libmate-menu.pc.in
index ab593d2..ab2b883 100644
--- a/libmenu/libmate-menu.pc.in
+++ b/libmenu/libmate-menu.pc.in
@@ -5,7 +5,7 @@ includedir=@includedir@
Name: libmate-menu
Description: Desktop Menu Specification Implementation
-Requires: glib-2.0
+Requires: gio-unix-2.0
Version: @VERSION@
Libs: -L${libdir} -lmate-menu
Cflags: -I${includedir}/mate-menus