[epiphany] Drop all dbus-glib code
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Drop all dbus-glib code
- Date: Mon, 27 Jun 2011 13:30:41 +0000 (UTC)
commit d40bac577b628a3db8ef90f8a862b80e8cb729c2
Author: Claudio Saavedra <csaavedra igalia com>
Date: Fri Jun 24 22:04:04 2011 +0300
Drop all dbus-glib code
We still need to provide equivalent ways to activate epiphany, but we
will use GActions instead.
https://bugzilla.gnome.org/show_bug.cgi?id=622903
configure.ac | 13 --
src/Makefile.am | 34 +---
src/ephy-activation.c | 102 ---------
src/ephy-activation.h | 49 -----
src/ephy-dbus.c | 548 -------------------------------------------------
src/ephy-dbus.h | 95 ---------
6 files changed, 3 insertions(+), 838 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9b972f6..7991899 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,7 +87,6 @@ GLIB_REQUIRED=2.29.9
GTK_REQUIRED=3.0.2
LIBXML_REQUIRED=2.6.12
LIBXSLT_REQUIRED=1.1.7
-DBUS_GLIB_REQUIRED=0.35
WEBKIT_GTK_REQUIRED=1.5.1
LIBSOUP_GNOME_REQUIRED=2.33.1
GNOME_KEYRING_REQUIRED=2.26.0
@@ -121,18 +120,6 @@ PKG_CHECK_MODULES([DEPENDENCIES], [
gsettings-desktop-schemas >= $GSETTINGS_DESKTOP_SCHEMAS_REQUIRED
])
-# ****
-# DBUS
-# ****
-
-PKG_CHECK_MODULES([DBUS],[dbus-glib-1 >= $DBUS_GLIB_REQUIRED])
-
-AC_PATH_PROG([DBUS_BINDING_TOOL],[dbus-binding-tool],[no])
-
-if test "$DBUS_BINDING_TOOL" = "no"; then
- AC_MSG_ERROR([dbus-binding-tool not found])
-fi
-
# ******************
# Portability checks
# ******************
diff --git a/src/Makefile.am b/src/Makefile.am
index a97aa27..4694c5f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -15,7 +15,6 @@ header_DATA = \
NOINST_H_FILES = \
ephy-action-helper.h \
- ephy-activation.h \
ephy-application.h \
ephy-encoding-dialog.h \
ephy-encoding-menu.h \
@@ -42,7 +41,6 @@ NOINST_H_FILES = \
window-commands.h
INST_H_FILES = \
- ephy-dbus.h \
ephy-extension.h \
ephy-extensions-manager.h \
ephy-link.h \
@@ -54,13 +52,10 @@ INST_H_FILES = \
$(NULL)
libephymain_la_SOURCES = \
- ephy-activation.c \
ephy-action-helper.c \
ephy-application.c \
ephy-completion-model.c \
ephy-completion-model.h \
- ephy-dbus.c \
- ephy-dbus.h \
ephy-encoding-dialog.c \
ephy-encoding-menu.c \
ephy-extension.c \
@@ -114,15 +109,12 @@ libephymain_la_CPPFLAGS = \
libephymain_la_CFLAGS = \
$(DEPENDENCIES_CFLAGS) \
- $(DBUS_CFLAGS) \
$(WEBKIT_CFLAGS) \
$(NETWORK_MANAGER_CFLAGS) \
$(AM_CFLAGS)
BUILT_SOURCES = \
- $(TYPES_SOURCE) \
- ephy-dbus-client-bindings.h \
- ephy-dbus-server-bindings.h
+ $(TYPES_SOURCE)
nodist_libephymain_la_SOURCES += \
ephy-network-manager.c \
@@ -168,8 +160,7 @@ epiphany_CPPFLAGS = \
epiphany_CFLAGS = \
$(DEPENDENCIES_CFLAGS) \
- $(GECKO_CFLAGS) \
- $(DBUS_CFLAGS) \
+ $(GECKO_CFLAGS) \
$(AM_CFLAGS)
epiphany_LDFLAGS = -dlopen self
@@ -182,7 +173,6 @@ epiphany_LDADD = \
$(top_builddir)/lib/libephymisc.la \
$(top_builddir)/lib/egg/libegg.la \
$(DEPENDENCIES_LIBS) \
- $(DBUS_LIBS) \
$(NETWORK_MANAGER_LIBS) \
$(LIBINTL)
@@ -201,9 +191,7 @@ TYPES_SOURCE = \
stamp_files = \
stamp-ephy-type-builtins.c \
- stamp-ephy-type-builtins.h \
- stamp-ephy-dbus-server-bindings.h \
- stamp-ephy-dbus-client-bindings.h
+ stamp-ephy-type-builtins.h
ephy-type-builtins.c: stamp-ephy-type-builtins.c Makefile
@true
@@ -247,22 +235,6 @@ stamp-ephy-type-builtins.h: Makefile $(INST_H_FILES) $(NOINST_H_FILES)
&& rm -f xgen-$(@F) \
&& echo timestamp > $(@F)
-ephy-dbus-server-bindings.h: stamp-ephy-dbus-server-bindings.h
- @true
-stamp-ephy-dbus-server-bindings.h: $(top_srcdir)/data/epiphany-service.xml Makefile
- $(AM_V_GEN) $(DBUS_BINDING_TOOL) --prefix=ephy_activation --mode=glib-server $< > xgen-$(@F) \
- && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \
- && rm -f xgen-$(@F) \
- && echo timestamp > $(@F)
-
-ephy-dbus-client-bindings.h: stamp-ephy-dbus-client-bindings.h
- @true
-stamp-ephy-dbus-client-bindings.h: $(top_srcdir)/data/epiphany-service.xml Makefile
- $(AM_V_GEN) $(DBUS_BINDING_TOOL) --prefix=ephy_activation --mode=glib-client $< > xgen-$(@F) \
- && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \
- && rm -f xgen-$(@F) \
- && echo timestamp > $(@F)
-
CLEANFILES = $(stamp_files) $(BUILT_SOURCES)
DISTCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]