]> git.pld-linux.org Git - packages/gg2.git/blob - gg2-dbus-headerfile.patch
- missing file for 2.2.2 release
[packages/gg2.git] / gg2-dbus-headerfile.patch
1 diff -Nuard gg2-2.2.2.orig/src/plugins/dbus/libofi.h gg2-2.2.2/src/plugins/dbus/libofi.h
2 --- gg2-2.2.2.orig/src/plugins/dbus/libofi.h    1970-01-01 01:00:00.000000000 +0100
3 +++ gg2-2.2.2/src/plugins/dbus/libofi.h 2004-11-03 00:24:56.000000000 +0100
4 @@ -0,0 +1,45 @@
5 +/*
6 +    ORG.FREEDESKTOP.IM interface common header file.
7 +    licence: BSD
8 +    Authors : 
9 +              Marcin Krzy¿anowski <krzak@linux.net.pl>
10 +              Igor Popik <igipop@wsfiz.edu.pl>  
11 +
12 +    You can freely distribute it and use in any application
13 +*/
14 +
15 +#ifndef LIBOFI_H
16 +#define LIBOFI_H 1
17 +
18 +#ifdef HAVE_CONFIG_H
19 +#  include <config.h>
20 +#endif
21 +
22 +/* define this one by yourself  */
23 +/* #define DBUS_ORG_FREEDESKTOP_IM_SERVICE "org.freedesktop.im.SampleApplicationService" */
24 +
25 +/* const */
26 +
27 +#define DBUS_ORG_FREEDESKTOP_IM_INTERFACE "org.freedesktop.im"
28 +#define DBUS_ORG_FREEDESKTOP_IM_OBJECT "/org/freedesktop/im"
29 +
30 +/* methods */
31 +#define DBUS_ORG_FREEDESKTOP_IM_GET_PRESENCE "getPresence"
32 +typedef enum
33 +{
34 +    OFI_IM_PRESENCE_NOT_FOUND = 1,
35 +    OFI_IM_PRESENCE_AVAILABLE,
36 +    OFI_IM_PRESENCE_AWAY,
37 +    OFI_IM_PRESENCE_OFFLINE
38 +} ofiPresenceEnum;
39 +
40 +#define DBUS_ORG_FREEDESKTOP_IM_GET_PROTOCOLS "getProtocols"
41 +#define DBUS_ORG_FREEDESKTOP_IM_OPEN_CHAT "openChat"
42 +
43 +
44 +
45 +char **
46 +org_freedesktop_im_getServices(DBusConnection *bus);
47 +
48 +#endif
49 +
50 diff -Nuard gg2-2.2.2.orig/src/plugins/dbus/Makefile.am gg2-2.2.2/src/plugins/dbus/Makefile.am
51 --- gg2-2.2.2.orig/src/plugins/dbus/Makefile.am 2004-11-05 16:24:16.168717440 +0100
52 +++ gg2-2.2.2/src/plugins/dbus/Makefile.am      2004-11-05 16:21:17.000000000 +0100
53 @@ -4,7 +4,8 @@
54  noinst_LIBRARIES =
55  
56  libdbus_plugin_la_SOURCES = dbus_plugin.c \
57 -    dbus_plugin.h
58 +    dbus_plugin.h \
59 +    libofi.h
60  
61  libdbus_plugin_la_CFLAGS = $(DBUS_CFLAGS)
62  libdbus_plugin_la_LIBADD = $(DBUS_LIBS) $(top_builddir)/lib/libgg2_core.la
This page took 0.025265 seconds and 3 git commands to generate.