Skip to content
Permalink
Browse files

require gio-unix

  • Loading branch information...
yetist authored and raveit65 committed May 2, 2018
1 parent 2b06561 commit edaad5228b9e23b277c1c9b3e09866f1f182054a
Showing with 10 additions and 10 deletions.
  1. +3 −3 configure.ac
  2. +5 −5 libmenu/Makefile.am
  3. +1 −1 libmenu/libmate-menu-uninstalled.pc.in
  4. +1 −1 libmenu/libmate-menu.pc.in
@@ -35,9 +35,9 @@ AC_STDC_HEADERS
AC_ARG_PROGRAM
AM_PROG_LIBTOOL

PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.50.0 gio-2.0 >= 2.50.0)
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
PKG_CHECK_MODULES(GIO_UNIX, gio-unix-2.0 >= 2.50.0)
AC_SUBST(GIO_UNIX_CFLAGS)
AC_SUBST(GIO_UNIX_LIBS)

MATE_COMPILE_WARNINGS(yes)

@@ -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

@@ -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}
@@ -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

0 comments on commit edaad52

Please sign in to comment.
You can’t perform that action at this time.