Skip to content

Commit

Permalink
Install GConf keys to handle irc:// protocol in gnome
Browse files Browse the repository at this point in the history
git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@874 893a96be-7f27-4fdf-9d1e-6aeec9d3cce1
  • Loading branch information
zdra committed Oct 27, 2005
1 parent c6353fc commit 75f552d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
6 changes: 6 additions & 0 deletions configure.in
Expand Up @@ -194,6 +194,12 @@ gnome=no
# fi
#fi

# GConf
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
if test x"$GCONFTOOL" != xno; then
AM_GCONF_SOURCE_2
fi

dnl *********************************************************************
dnl ** XFT **************************************************************
dnl *********************************************************************
Expand Down
18 changes: 13 additions & 5 deletions plugins/dbus/Makefile.am
@@ -1,22 +1,30 @@
EXTRA_DIST=dbus-plugin.xml
CLEANFILES = $(BUILT_SOURCES)
INCLUDES = $(DBUS_CFLAGS) $(COMMON_CFLAGS) -I$(srcdir)/.. -DLOCALEDIR=\"$(localedir)\"
BUILT_SOURCES = dbus-plugin-glue.h

libdir = $(xchatlibdir)/plugins
localedir = $(datadir)/locale

lib_LTLIBRARIES = dbus.la
dbus_la_SOURCES = dbus-plugin.c
dbus_la_LDFLAGS = -avoid-version -module
dbus_la_LIBADD = $(DBUS_LIBS)
INCLUDES = $(DBUS_CFLAGS) $(COMMON_CFLAGS) -I$(srcdir)/.. -DLOCALEDIR=\"$(localedir)\"

BUILT_SOURCES = dbus-plugin-glue.h

dbus-plugin-glue.h: dbus-plugin.xml
libtool --mode=execute dbus-binding-tool --prefix=remote_object --mode=glib-server --output=dbus-plugin-glue.h dbus-plugin.xml


bin_PROGRAMS = xchat-remote
xchat_remote_LDADD = $(DBUS_LIBS)
xchat_remote_SOURCES = xchat-remote.c

schemadir = @GCONF_SCHEMA_FILE_DIR@
schema_DATA = url_handler.schemas

install-data-local:
if test -z "$(DESTDIR)" && test x"$(GCONFTOOL)" != xno; then \
for p in $(schema_DATA) ; do \
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p; \
done \
fi

CLEANFILES = $(BUILT_SOURCES)

0 comments on commit 75f552d

Please sign in to comment.