[gnome-panel] build: remove GObject introspection support
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] build: remove GObject introspection support
- Date: Wed, 21 Sep 2016 15:04:37 +0000 (UTC)
commit 6ea665180940d2921e7c96a1ab31b29ea12ebbdb
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Sep 21 15:38:13 2016 +0300
build: remove GObject introspection support
Makefile.am | 1 -
configure.ac | 7 -------
libpanel-applet/Makefile.am | 35 -----------------------------------
3 files changed, 0 insertions(+), 43 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d33312c..1e35d54 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,7 +13,6 @@ SUBDIRS = \
AM_DISTCHECK_CONFIGURE_FLAGS = \
--enable-gtk-doc \
- --enable-introspection \
$(NULL)
EXTRA_DIST = \
diff --git a/configure.ac b/configure.ac
index 7c17773..0776010 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,9 +68,6 @@ LT_LIB_M
LIBPANEL_APPLET_API_VERSION=5.0
AC_SUBST([LIBPANEL_APPLET_API_VERSION])
-LIBPANEL_APPLET_GIR_VERSION=5_0
-AC_SUBST([LIBPANEL_APPLET_GIR_VERSION])
-
LIB_PANEL_APPLET_LT_VERSION=1:0:1
AC_SUBST(LIB_PANEL_APPLET_LT_VERSION)
@@ -87,9 +84,6 @@ AM_PATH_PYTHON
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources)
-# Check for introspection
-GOBJECT_INTROSPECTION_CHECK([0.9.5])
-
GLIB_GSETTINGS
m4_pattern_allow([AM_V_GEN])dnl Make autoconf not complain about the rule below
@@ -321,7 +315,6 @@ echo ""
echo " Maintainer mode .................: ${USE_MAINTAINER_MODE}"
echo ""
echo " Evolution-Data-Server support ...: ${enable_eds}"
-echo " Build introspection support .....: ${found_introspection}"
echo " Build gtk-doc documentation .....: ${enable_gtk_doc}"
echo ""
echo " Build with libstatus-notifier ...: ${with_libstatus_notifier}"
diff --git a/libpanel-applet/Makefile.am b/libpanel-applet/Makefile.am
index 21e6df0..b1a5361 100644
--- a/libpanel-applet/Makefile.am
+++ b/libpanel-applet/Makefile.am
@@ -91,41 +91,6 @@ EXTRA_DIST = \
CLEANFILES = $(BUILT_SOURCES) $(noinst_DATA)
-###############################
-# Introspection generation
-
--include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_GIRS =
-INTROSPECTION_SCANNER_ARGS = --warn-all --add-include-path=$(srcdir)
-INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
-
-if HAVE_INTROSPECTION
-introspection_sources = \
- panel-applet.c \
- panel-applet.h
-built_introspection_sources = \
- panel-applet-enums.c \
- panel-applet-enums.h
-
-PanelApplet-$(LIBPANEL_APPLET_API_VERSION).gir: libpanel-applet.la
-PanelApplet_@LIBPANEL_APPLET_GIR_VERSION@_gir_INCLUDES = GObject-2.0 Gtk-3.0
-PanelApplet_@LIBPANEL_APPLET_GIR_VERSION@_gir_CFLAGS = $(libpanel_applet_la_CFLAGS)
-PanelApplet_@LIBPANEL_APPLET_GIR_VERSION@_gir_LIBS = libpanel-applet.la
-PanelApplet_@LIBPANEL_APPLET_GIR_VERSION@_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
$(addprefix $(builddir)/,$(built_introspection_sources))
-PanelApplet_@LIBPANEL_APPLET_GIR_VERSION@_gir_SCANNERFLAGS = --identifier-prefix=Panel --symbol-prefix=panel
--pkg-export=libpanel-applet $(WARN_SCANNERFLAGS)
-INTROSPECTION_GIRS += PanelApplet-$(LIBPANEL_APPLET_API_VERSION).gir
-
-girdir = $(datadir)/gir-1.0
-gir_DATA = $(INTROSPECTION_GIRS)
-
-typelibdir = $(libdir)/girepository-1.0
-typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
-
-CLEANFILES += $(gir_DATA) $(typelib_DATA)
-endif
-
-################################
-
dist-hook:
cd $(distdir) ; rm -f $(CLEANFILES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]