[Telepathy-commits] [telepathy-doc/master] 2008-12-22 Murray Cumming <murrayc at murrayc.com>
Murray Cumming
murrayc at murrayc.com
Mon Dec 22 04:41:47 PST 2008
* docs/examples/send_message/main.c: Implement code to get a text
channel and send a message on it, though (like the list_contacts example)
it does not work now due to this error from
tp_connection_get_contacts_by_id():
Connection manager :1.171 is broken: contact #2 in the GetContactAttributes result has no contact-id
---
ChangeLog | 8 +
docs/examples/send_message/main.c | 105 ++++++++--
docs/examples/set_presence/Makefile | 395 -----------------------------------
docs/examples/set_presence/example | Bin 14686 -> 0 bytes
4 files changed, 98 insertions(+), 410 deletions(-)
delete mode 100644 docs/examples/set_presence/Makefile
delete mode 100755 docs/examples/set_presence/example
diff --git a/ChangeLog b/ChangeLog
index 8ef8a2f..fde0793 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-12-22 Murray Cumming <murrayc at murrayc.com>
+
+ * docs/examples/send_message/main.c: Implement code to get a text
+ channel and send a message on it, though (like the list_contacts example)
+ it does not work now due to this error from
+ tp_connection_get_contacts_by_id():
+ Connection manager :1.171 is broken: contact #2 in the GetContactAttributes result has no contact-id
+
2008-12-15 Murray Cumming <murrayc at murrayc.com>
* configure.ac:
diff --git a/docs/examples/send_message/main.c b/docs/examples/send_message/main.c
index 30cef22..562e40d 100644
--- a/docs/examples/send_message/main.c
+++ b/docs/examples/send_message/main.c
@@ -17,12 +17,16 @@
#include <telepathy-glib/connection-manager.h>
#include <telepathy-glib/connection.h>
#include <telepathy-glib/contact.h>
+#include <telepathy-glib/channel.h>
#include <telepathy-glib/util.h>
+#include <telepathy-glib/interfaces.h> /* For TP_IFACE_CHANNEL_TYPE_TEXT */
#include <glib/gprintf.h>
GMainLoop *mainloop = NULL;
TpDBusDaemon *bus_daemon = NULL;
TpConnection *connection = NULL;
+TpContact *contact = NULL;
+TpChannel *text_channel = NULL;
/* A utility function to make our debug output easier to read. */
const gchar* get_reason_description (TpConnectionStatusReason reason)
@@ -62,27 +66,75 @@ const gchar* get_reason_description (TpConnectionStatusReason reason)
}
}
-void on_connection_set_presence(TpConnection *proxy,
+void on_send (TpChannel *proxy,
const GError *error,
- gpointer user_data,
+ gpointer user_data,
GObject *weak_object)
{
- if (error != NULL)
+ if (error)
{
- g_printf ("tp_cli_connection_interface_simple_presence_call_set_presence() failed: %s\n", error->message);
- g_main_loop_quit (mainloop);
+ g_printf ("tp_cli_channel_type_text_call_send () failed: %s\n", error->message);
+ return;
+ }
+
+ g_printf("DEBUG: Message sent.\n");
+}
+
+void on_text_channel_is_ready (TpChannel *channel,
+ const GError *error,
+ gpointer user_data)
+{
+ if (error)
+ {
+ g_printf ("tp_channel_call_when_ready () failed: %s\n", error->message);
+ return;
+ }
+
+ g_printf("DEBUG: Text channel is ready.\n");
+
+ //Send a message:
+
+ TpProxyPendingCall* pending = tp_cli_channel_type_text_call_send (channel,
+ -1, /* timeout */
+ 0, /* Channel_Text_Message_Type_Normal */
+ "Hello from Murray's telepathy example. Send murrayc at openismus.com an email if this arrived.",
+ &on_send,
+ NULL, NULL, NULL);
+}
+
+void on_connection_create_channel(TpConnection *proxy,
+ const gchar *object_path,
+ GHashTable *out_Properties,
+ const GError *error,
+ gpointer user_data,
+ GObject *weak_object)
+{
+ if (error)
+ {
+ g_printf ("tp_cli_connection_interface_requests_call_create_channel () failed: %s\n", error->message);
return;
}
- g_printf ("Presence set.\n");
+ g_printf("DEBUG: Text channel created.\n");
+ /* Create the proxy object for the channel: */
+ GError *inner_error = NULL;
+ text_channel = tp_channel_new (connection,
+ object_path,
+ TP_IFACE_CHANNEL_TYPE_TEXT,
+ TP_HANDLE_TYPE_CONTACT,
+ tp_contact_get_handle (contact),
+ &inner_error);
+
+ if (inner_error)
+ {
+ g_printf ("tp_channel_new () failed: %s\n", error->message);
+ g_clear_error (&inner_error);
+ return;
+ }
- /* Disconnect the connection now that our example has finished.
- Otherwise it will be orphaned. */
- g_printf ("DEBUG: Disconnecting.\n");
- tp_cli_connection_call_disconnect (connection, -1, NULL, NULL,
- NULL, NULL); /* Also destroys the connection object. */
- connection = NULL;
+ /* Wait for the channel to be ready: */
+ tp_channel_call_when_ready (text_channel, on_text_channel_is_ready, NULL);
}
void on_get_contacts_by_id (TpConnection *connection,
@@ -107,14 +159,37 @@ void on_get_contacts_by_id (TpConnection *connection,
return;
}
- TpContact *contact = contacts[0];
+ contact = contacts[0];
if(!contact)
{
g_printf ("tp_connection_get_contacts_by_id () returned NULL contact\n");
return;
}
- //TODO: Send a message.
+ g_printf("DEBUG: Contact found: %s.\n", tp_contact_get_identifier (contact));
+
+
+ //Get a text Channel for this contact:
+ GHashTable* properties = g_hash_table_new (NULL, NULL);
+
+ GValue *value = tp_g_value_slice_new (G_TYPE_STRING);
+ g_value_set_static_string (value, TP_IFACE_CHANNEL_TYPE_TEXT);
+ g_hash_table_insert (properties, TP_IFACE_CHANNEL ".ChannelType", value);
+
+ value = tp_g_value_slice_new (G_TYPE_STRING);
+ g_value_set_static_string (value, tp_contact_get_identifier (contact));
+ g_hash_table_insert (properties, TP_IFACE_CHANNEL ".TargetID", value);
+
+ /* Note that this uses the new Requests interface, which is not yet
+ * implemented by all Telepathy ConnectionManagers.
+ * The old way (working with all ConnectionManagers), was the RequestChannel
+ * interface, via tp_cli_connection_call_request_channel().
+ */
+ tp_cli_connection_interface_requests_call_create_channel (connection,
+ -1, /* timeout */
+ properties,
+ &on_connection_create_channel,
+ NULL, NULL, NULL);
}
void on_connection_ready (TpConnection *connection,
@@ -267,7 +342,7 @@ main (int argc, char **argv)
g_hash_table_insert (parameters, "account", value);
value = tp_g_value_slice_new (G_TYPE_STRING);
- g_value_set_static_string (value, "passwordTODO");
+ g_value_set_static_string (value, "luftjab");
g_hash_table_insert (parameters, "password", value);
/* This jabber-specific parameter can avoid clashes with
diff --git a/docs/examples/set_presence/Makefile b/docs/examples/set_presence/Makefile
deleted file mode 100644
index 17b2dfb..0000000
--- a/docs/examples/set_presence/Makefile
+++ /dev/null
@@ -1,395 +0,0 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
-# docs/examples/set_presence/Makefile. Generated from Makefile.in by configure.
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-
-
-
-pkgdatadir = $(datadir)/telepathy-doc
-pkglibdir = $(libdir)/telepathy-doc
-pkgincludedir = $(includedir)/telepathy-doc
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/docs/examples/Makefile.am_fragment
-noinst_PROGRAMS = example$(EXEEXT)
-subdir = docs/examples/set_presence
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/telepathy_docs_check_perl.m4 \
- $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_CLEAN_FILES =
-PROGRAMS = $(noinst_PROGRAMS)
-am_example_OBJECTS = main.$(OBJEXT)
-example_OBJECTS = $(am_example_OBJECTS)
-example_LDADD = $(LDADD)
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-SOURCES = $(example_SOURCES)
-DIST_SOURCES = $(example_SOURCES)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = ${SHELL} /home/murrayc/svn/gnome220/telepathy-doc/missing --run aclocal-1.10
-ACLOCAL_AMFLAGS = -I m4
-AMTAR = ${SHELL} /home/murrayc/svn/gnome220/telepathy-doc/missing --run tar
-AUTOCONF = ${SHELL} /home/murrayc/svn/gnome220/telepathy-doc/missing --run autoconf
-AUTOHEADER = ${SHELL} /home/murrayc/svn/gnome220/telepathy-doc/missing --run autoheader
-AUTOMAKE = ${SHELL} /home/murrayc/svn/gnome220/telepathy-doc/missing --run automake-1.10
-AWK = gawk
-CC = gcc
-CCDEPMODE = depmode=gcc3
-CFLAGS = -Wall -Werror
-CPPFLAGS = -Wall -Werror
-CYGPATH_W = echo
-DEFS = -DPACKAGE_NAME=\"telepathy-doc\" -DPACKAGE_TARNAME=\"telepathy-doc\" -DPACKAGE_VERSION=\"0.5.0.1\" -DPACKAGE_STRING=\"telepathy-doc\ 0.5.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"telepathy-doc\" -DVERSION=\"0.5.0.1\"
-DEPDIR = .deps
-DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
-DOC_USER_FORMATS =
-ECHO_C =
-ECHO_N = -n
-ECHO_T =
-EXEEXT =
-HELP_DIR = ${datadir}/gnome/help
-INSTALL = /home/murrayc/bin/install-check
-INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_PROGRAM = ${INSTALL}
-INSTALL_SCRIPT = ${INSTALL}
-INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
-LDFLAGS = -L/opt/gnome220/lib
-LIBOBJS =
-LIBS = $(TELEPATHY_DOCS_LIBS)
-LN_S = ln -s
-LTLIBOBJS =
-MAKEINFO = ${SHELL} /home/murrayc/svn/gnome220/telepathy-doc/missing --run makeinfo
-MKDIR_P = /bin/mkdir -p
-OBJEXT = o
-OMF_DIR = ${datadir}/omf
-PACKAGE = telepathy-doc
-PACKAGE_BUGREPORT =
-PACKAGE_NAME = telepathy-doc
-PACKAGE_STRING = telepathy-doc 0.5.0.1
-PACKAGE_TARNAME = telepathy-doc
-PACKAGE_VERSION = 0.5.0.1
-PATH_SEPARATOR = :
-PERL_PATH = /usr/bin/perl
-PKG_CONFIG = /opt/gnome220/bin/pkg-config
-SET_MAKE =
-SHELL = /bin/bash
-STRIP =
-TELEPATHY_DOCS_CFLAGS = -I/opt/gnome220/include/telepathy-1.0 -I/opt/gnome220/include/dbus-1.0 -I/opt/gnome220/include/glib-2.0 -I/opt/gnome220/lib/glib-2.0/include -I/opt/gnome220/lib/dbus-1.0/include -I/opt/gnome220/include/gtk-2.0 -I/opt/gnome220/lib/gtk-2.0/include -I/opt/gnome220/include/atk-1.0 -I/opt/gnome220/include/cairo -I/opt/gnome220/include/pango-1.0 -I/opt/gnome220/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-TELEPATHY_DOCS_LIBS = -L/opt/gnome220/lib -ltelepathy-glib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
-VERSION = 0.5.0.1
-abs_builddir = /home/murrayc/svn/gnome220/telepathy-doc/docs/examples/set_presence
-abs_srcdir = /home/murrayc/svn/gnome220/telepathy-doc/docs/examples/set_presence
-abs_top_builddir = /home/murrayc/svn/gnome220/telepathy-doc
-abs_top_srcdir = /home/murrayc/svn/gnome220/telepathy-doc
-ac_ct_CC = gcc
-am__include = include
-am__leading_dot = .
-am__quote =
-am__tar = ${AMTAR} chof - "$$tardir"
-am__untar = ${AMTAR} xf -
-bindir = ${exec_prefix}/bin
-build_alias =
-builddir = .
-datadir = ${datarootdir}
-datarootdir = ${prefix}/share
-docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
-dvidir = ${docdir}
-exec_prefix = ${prefix}
-host_alias =
-htmldir = ${docdir}
-includedir = ${prefix}/include
-infodir = ${datarootdir}/info
-install_sh = $(SHELL) /home/murrayc/svn/gnome220/telepathy-doc/install-sh
-libdir = ${exec_prefix}/lib
-libexecdir = ${exec_prefix}/libexec
-localedir = ${datarootdir}/locale
-localstatedir = ${prefix}/var
-mandir = ${datarootdir}/man
-mkdir_p = /bin/mkdir -p
-oldincludedir = /usr/include
-pdfdir = ${docdir}
-prefix = /opt/gnome220
-program_transform_name = s,x,x,
-psdir = ${docdir}
-sbindir = ${exec_prefix}/sbin
-sharedstatedir = ${prefix}/com
-srcdir = .
-sysconfdir = ${prefix}/etc
-target_alias =
-top_build_prefix = ../../../
-top_builddir = ../../..
-top_srcdir = ../../..
-all_includes = $(TELEPATHY_DOCS_CFLAGS) $(TELEPATHY_DOCS_WARNING_FLAGS)
-DEFAULT_INCLUDES =
-INCLUDES = -I. -I$(srcdir) $(strip $(all_includes))
-example_SOURCES = main.c
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .o .obj
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/docs/examples/Makefile.am_fragment $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/examples/set_presence/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu docs/examples/set_presence/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-clean-noinstPROGRAMS:
- -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
-example$(EXEEXT): $(example_OBJECTS) $(example_DEPENDENCIES)
- @rm -f example$(EXEEXT)
- $(LINK) $(example_OBJECTS) $(example_LDADD) $(LIBS)
-
-mostlyclean-compile:
- -rm -f *.$(OBJEXT)
-
-distclean-compile:
- -rm -f *.tab.c
-
-include ./$(DEPDIR)/main.Po
-
-.c.o:
- $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-# source='$<' object='$@' libtool=no \
-# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
-# $(COMPILE) -c $<
-
-.c.obj:
- $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-# source='$<' object='$@' libtool=no \
-# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
-# $(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$tags $$unique; \
- fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$tags $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && cd $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) $$here
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
-check-am: all-am
-check: check-am
-all-am: Makefile $(PROGRAMS)
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
-
-distclean: distclean-am
- -rm -rf ./$(DEPDIR)
- -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
- distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-info: install-info-am
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-ps: install-ps-am
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -rf ./$(DEPDIR)
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
- clean-noinstPROGRAMS ctags distclean distclean-compile \
- distclean-generic distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
- uninstall-am
-
-
-post-html:
- rsync $(rsync_options) $(example_dirs) $$USER@$(web_host):$(web_path)
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/docs/examples/set_presence/example b/docs/examples/set_presence/example
deleted file mode 100755
index 723291330dcd2cb9eedc9b00d20f9ca6b091eb55..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 14686
zcmeHOeQ;dWb-()|d*d%;Sp-v?@a#w+PvVv2PvJl!Sz3R9v4v%W!8p&W-KTvEtKDVy
zt&tf624S!x30&JDWN>F}$fQgI#ep=1gtm6XM35;N*KKE7LOM=>sa(6QVBBDcLH+&i
zdw2Kklia~+|LXY8oW1wlbM86kp8N6c*FG3ov%=@|2^IVzAc!^h2SbYx-+8S~StK+O
z5_O_R%n=iiMcSgB-~q at 2C{%&GARs^*@I?=S4wwO)KpJHeWMEmqkt>8Cu)L_W>HS|4
zqW{l>A;Nnoa1KDdr27#a0{swZgm%yfq*DiB74TKiP0)Z76z!JxtvJvzL6u(*x?8^m
zSp=3xB<fSi&iYh*ekz$R^n~-7 at B*6#(<FW6+Ko~+?WD{QU^-wf;BvrB0IDmd0GK}w
z at J9fa{~|yGOa@#HV3-A<jLQI50>%rp?LvWmr5zIiY at 06trUDpPpE)umL^WdCJlnzH
zVsRCq%E2cgW;?1tS+q^nbGOiZ;=Sg{%wsvq{mHxgcC<$R at yzo#y?gY&2RiTjr+YTd
zes$o3X{Z1GKUwXv at M9X|1nQ)pR3JW2A&50VlLuep!pR?{VNM|au}A)9MMO;cbF7dP
zh-VannE0a}`hy<&w>|hQkG^L;_^&+puRZ0DdFYRO at L8VvWjyr59(frL{}vDb%O3tg
z5B?VF|Hu)HS%gaQ!RSwbXI=Prfgju-46!dxM{ivT`Tc!1KmB*i!~Zn$?);XbPZr;Y
zeLGMd+3+{I2gaFYq>OCTGPlo90OMe55DC3InoR4dOeU+}Q%G7u*Av~Dw4S%3IZM}t
ze&aTMy^%=fEhE>Oisti19%V9}cNsBDFQjuu7f>^rH+3u8nKJZbI&b8xGO=mn-f|vf
z=v{?W3c1$yEXzQz+YlwUWLmC}2FJE&s$l4O!=iasGKMIZOechu)n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