summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-09-26 03:06:01 -0400
committerTingPing <tingping@tingping.se>2013-09-26 03:06:01 -0400
commit6f013e807c0e4f93f360dd9d589554ee280ea5fd (patch)
tree07fde2123a855e7c251e572562b8c86f9851b9df
parentd18a95fda6449fc9bc3c64b7b7f0582d2b767957 (diff)
Remove whats left of gconf
-rw-r--r--configure.ac36
-rw-r--r--src/common/dbus/Makefile.am15
-rw-r--r--src/common/dbus/apps_hexchat_url_handler.schemas37
3 files changed, 0 insertions, 88 deletions
diff --git a/configure.ac b/configure.ac
index 8f3923bd..b1cfea50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,6 @@ AH_VERBATIM([HEXCHATSHAREDIR],[#undef HEXCHATSHAREDIR])
 AH_VERBATIM([SOCKS],[#undef SOCKS])
 AH_VERBATIM([USE_MSPROXY],[#undef USE_MSPROXY])
 AH_VERBATIM([USE_LIBPROXY],[#undef USE_LIBPROXY])
-dnl AH_VERBATIM([USE_GNOME],[#undef USE_GNOME])
 AH_VERBATIM([USE_SHM],[#undef USE_SHM])
 AH_VERBATIM([USE_GTKSPELL],[#undef USE_GTKSPELL])
 AH_VERBATIM([USE_LIBSEXY],[#undef USE_LIBSEXY])
@@ -108,10 +107,6 @@ AC_ARG_ENABLE(textfe,
 	[AS_HELP_STRING([--enable-textfe],[build the text frontend (default: no)])],
         textfe=$enableval, textfe=no)
 
-dnl AC_ARG_ENABLE(gnome,
-dnl 	[AS_HELP_STRING([--disable-gnome],[disable use of gnome])],
-dnl        gnome=$enableval, gnome=yes)
-
 AC_ARG_ENABLE(xlib,
 	[AS_HELP_STRING([--disable-xlib],[disable use of xlib (for non X11 systems)])],
         xlib=$enableval, xlib=yes)
@@ -232,39 +227,9 @@ if test "$gtkfe" = yes ; then
 	fi
 fi
 
-if test "$gtkfe" != yes; then
-	gnome=no
-fi
-
-dnl *********************************************************************
-dnl ** GNOME ************************************************************
-dnl *********************************************************************
-
 GUI_LIBS="$GUI_LIBS $GTK_LIBS"
 GUI_CFLAGS="$GUI_CFLAGS $GTK_CFLAGS -DG_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
 
-#if test "$gnome" = yes; then
-#	AC_MSG_CHECKING(Gnome2 compile flags)
-#	GNOME_CFLAGS="`$PKG_CONFIG libgnome-2.0 --cflags 2>/dev/null`"
-#	if test "_$GNOME_CFLAGS" = _ ; then
-#		gnome=no
-#		AC_MSG_RESULT([Gnome not found, building without it.])
-#	else
-#		GNOME_VER="`$PKG_CONFIG libgnome-2.0 --modversion`"
-#		GUI_LIBS="$GUI_LIBS `$PKG_CONFIG libgnome-2.0 --libs`"
-#		GUI_CFLAGS="$GUI_CFLAGS $GNOME_CFLAGS"
-#		AC_DEFINE(USE_GNOME)
-#		AC_MSG_RESULT(ok)
-#	fi
-#fi
-
-# GConf
-#if test "$gnome" != no ; then
-#	AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
-#else
-#	GCONFTOOL=no
-#fi
-
 dnl *********************************************************************
 dnl ** XFT **************************************************************
 dnl *********************************************************************
@@ -683,7 +648,6 @@ AM_CONDITIONAL(DO_DOAT, test "x$doat" = "xyes")
 AM_CONDITIONAL(DO_FISHLIM, test "x$fishlim" = "xyes")
 AM_CONDITIONAL(DO_SYSINFO, test "x$sysinfo" = "xyes")
 AM_CONDITIONAL(USE_DBUS, test "x$dbus" = "xyes")
-#AM_CONDITIONAL(DO_GCONF, test "x$GCONFTOOL" != "xno")
 AM_CONDITIONAL(WITH_TM, test "x$theme_manager" != "xno")
 
 dnl *********************************************************************
diff --git a/src/common/dbus/Makefile.am b/src/common/dbus/Makefile.am
index c4b38fbd..39976107 100644
--- a/src/common/dbus/Makefile.am
+++ b/src/common/dbus/Makefile.am
@@ -7,7 +7,6 @@ libhexchatdbus_a_SOURCES =			\
 
 EXTRA_DIST =				\
 	remote-object.xml		\
-	apps_hexchat_url_handler.schemas	\
 	marshallers.list		\
 	example.py			\
 	org.hexchat.service.service.in \
@@ -40,17 +39,3 @@ service_DATA = $(service_in_files:.service.in=.service)
 $(service_DATA): $(service_in_files) Makefile
 	@sed -e "s|\@bindir\@|$(bindir)|" $< > $@
 
-#if DO_GCONF
-#GCONF_SCHEMA_CONFIG_SOURCE = `$(GCONFTOOL) --get-default-source`
-#GCONF_SCHEMA_FILE_DIR = $(sysconfdir)/gconf/schemas
-#schemadir = $(GCONF_SCHEMA_FILE_DIR)
-#schema_DATA = apps_hexchat_url_handler.schemas
-#install-data-local:
-#	if test -z "$(DESTDIR)" ; then \
-#		for p in $(schema_DATA) ; do \
-#			GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p; \
-#		done \
-#	fi
-#else
-install-data-local:
-#endif
diff --git a/src/common/dbus/apps_hexchat_url_handler.schemas b/src/common/dbus/apps_hexchat_url_handler.schemas
deleted file mode 100644
index 7a91657b..00000000
--- a/src/common/dbus/apps_hexchat_url_handler.schemas
+++ /dev/null
@@ -1,37 +0,0 @@
-<gconfschemafile>
-	<schemalist>
-		<schema>
-			<key>/schemas/desktop/gnome/url-handlers/irc/command</key>
-			<applyto>/desktop/gnome/url-handlers/irc/command</applyto>
-			<owner>hexchat</owner>
-			<type>string</type>
-			<default>hexchat --existing --url=%u</default>
-			<locale name="C">
-				<short>The handler for "irc://" URLs</short>
-			</locale>
-		</schema>
-
-		<schema>
-			<key>/schemas/desktop/gnome/url-handlers/irc/enabled</key>
-			<applyto>/desktop/gnome/url-handlers/irc/enabled</applyto>
-			<owner>hexchat</owner>
-			<type>bool</type>
-			<default>true</default>
-			<locale name="C">
-				<short>Set it at TRUE if you want it activated</short>
-			</locale>
-		</schema>
-
-		<schema>
-			<key>/schemas/desktop/gnome/url-handlers/irc/needs_terminal</key>
-			<applyto>/desktop/gnome/url-handlers/irc/needs_terminal</applyto>
-			<owner>hexchat</owner>
-			<type>bool</type>
-			<default>false</default>
-			<locale name="C">
-				<short>Run hexchat in a terminal?</short>
-			</locale>
-		</schema>
-
-	</schemalist>
-</gconfschemafile>