summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/eds
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2005-09-29 10:41:32 +0000
committerRichard Purdie <richard@openedhand.com>2005-09-29 10:41:32 +0000
commitc309ab875f39504b6de12ccad1d3bd9de6ec41d3 (patch)
tree62f34df8ef2b5ef80e9974dfd0459dd2447cdc8b /openembedded/packages/eds
parent156e5b0e0bcc19f0a5fbeac71c1397d085844cd6 (diff)
downloadpoky-c309ab875f39504b6de12ccad1d3bd9de6ec41d3.tar.gz
eds: More updates to try and get it working
git-svn-id: https://svn.o-hand.com/repos/poky@60 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/eds')
-rw-r--r--openembedded/packages/eds/eds-dbus/external_libdb.patch34
-rw-r--r--openembedded/packages/eds/eds-dbus/iconv-detect.h5
-rw-r--r--openembedded/packages/eds/eds-dbus/no_gnomevfs.patch87
-rwxr-xr-xopenembedded/packages/eds/eds-dbus_svn.bb12
4 files changed, 128 insertions, 10 deletions
diff --git a/openembedded/packages/eds/eds-dbus/external_libdb.patch b/openembedded/packages/eds/eds-dbus/external_libdb.patch
index cb88efbc08..ebb32403e8 100644
--- a/openembedded/packages/eds/eds-dbus/external_libdb.patch
+++ b/openembedded/packages/eds/eds-dbus/external_libdb.patch
@@ -1,7 +1,7 @@
1Index: trunk/Makefile.am 1Index: trunk/Makefile.am
2=================================================================== 2===================================================================
3--- trunk.orig/Makefile.am 2005-09-28 17:12:46.000000000 +0000 3--- trunk.orig/Makefile.am 2005-09-29 09:19:48.000000000 +0000
4+++ trunk/Makefile.am 2005-09-28 20:01:01.000000000 +0000 4+++ trunk/Makefile.am 2005-09-29 09:19:53.000000000 +0000
5@@ -8,9 +8,9 @@ 5@@ -8,9 +8,9 @@
6 endif 6 endif
7 7
@@ -30,8 +30,8 @@ Index: trunk/Makefile.am
30 libdb/Makefile.am \ 30 libdb/Makefile.am \
31Index: trunk/configure.in 31Index: trunk/configure.in
32=================================================================== 32===================================================================
33--- trunk.orig/configure.in 2005-09-28 17:12:46.000000000 +0000 33--- trunk.orig/configure.in 2005-09-29 09:19:48.000000000 +0000
34+++ trunk/configure.in 2005-09-28 21:45:00.000000000 +0000 34+++ trunk/configure.in 2005-09-29 10:11:00.000000000 +0000
35@@ -179,6 +179,21 @@ 35@@ -179,6 +179,21 @@
36 AC_SUBST(REGEX_LIBS) 36 AC_SUBST(REGEX_LIBS)
37 37
@@ -72,8 +72,8 @@ Index: trunk/configure.in
72 libedataserverui/Makefile 72 libedataserverui/Makefile
73Index: trunk/libedataserver/Makefile.am 73Index: trunk/libedataserver/Makefile.am
74=================================================================== 74===================================================================
75--- trunk.orig/libedataserver/Makefile.am 2005-09-28 17:07:06.000000000 +0000 75--- trunk.orig/libedataserver/Makefile.am 2005-09-29 09:19:48.000000000 +0000
76+++ trunk/libedataserver/Makefile.am 2005-09-28 21:41:32.000000000 +0000 76+++ trunk/libedataserver/Makefile.am 2005-09-29 09:19:53.000000000 +0000
77@@ -1,7 +1,7 @@ 77@@ -1,7 +1,7 @@
78 INCLUDES = \ 78 INCLUDES = \
79 -I$(top_srcdir) \ 79 -I$(top_srcdir) \
@@ -92,3 +92,25 @@ Index: trunk/libedataserver/Makefile.am
92 $(SOCKET_LIBS) 92 $(SOCKET_LIBS)
93 93
94 libedataserver_1_2_la_LDFLAGS = \ 94 libedataserver_1_2_la_LDFLAGS = \
95Index: trunk/addressbook/backends/file/Makefile.am
96===================================================================
97--- trunk.orig/addressbook/backends/file/Makefile.am 2005-09-29 09:05:35.000000000 +0000
98+++ trunk/addressbook/backends/file/Makefile.am 2005-09-29 09:27:21.000000000 +0000
99@@ -4,7 +4,7 @@
100 -I$(top_builddir) \
101 -I$(top_srcdir)/addressbook \
102 -I$(top_builddir)/addressbook \
103- -I$(top_srcdir)/libdb/dist \
104+ $(DB_CFLAGS) \
105 $(EVOLUTION_ADDRESSBOOK_CFLAGS)
106
107 extension_LTLIBRARIES = libebookbackendfile.la
108@@ -18,7 +18,7 @@
109 $(top_builddir)/addressbook/libebook-dbus/libebook-$(API_VERSION).la \
110 $(top_builddir)/addressbook/libedata-book-dbus/libedata-book-$(API_VERSION).la \
111 $(top_builddir)/libedataserver/libedataserver-$(API_VERSION).la \
112- $(top_builddir)/libdb/dist/libdb-4.1.la \
113+ $(DB_LIBS) \
114 $(EVOLUTION_ADDRESSBOOK_LIBS)
115
116 libebookbackendfile_la_LDFLAGS = \
diff --git a/openembedded/packages/eds/eds-dbus/iconv-detect.h b/openembedded/packages/eds/eds-dbus/iconv-detect.h
new file mode 100644
index 0000000000..46f476d5bc
--- /dev/null
+++ b/openembedded/packages/eds/eds-dbus/iconv-detect.h
@@ -0,0 +1,5 @@
1/* This is an auto-generated header, DO NOT EDIT! */
2
3#define ICONV_ISO_D_FORMAT "iso-%d-%d"
4#define ICONV_ISO_S_FORMAT "iso-%d-%s"
5#define ICONV_10646 "iso-10646"
diff --git a/openembedded/packages/eds/eds-dbus/no_gnomevfs.patch b/openembedded/packages/eds/eds-dbus/no_gnomevfs.patch
new file mode 100644
index 0000000000..3a0fb8e7ec
--- /dev/null
+++ b/openembedded/packages/eds/eds-dbus/no_gnomevfs.patch
@@ -0,0 +1,87 @@
1Index: addressbook/libebook/e-contact.c
2===================================================================
3--- trunk/addressbook/libebook/e-contact.c (revision 206)
4+++ trunk/addressbook/libebook/e-contact.c (working copy)
5@@ -27,7 +27,9 @@
6 #include <ctype.h>
7 #include <string.h>
8 #include <glib/gi18n-lib.h>
9+#if 0
10 #include <libgnomevfs/gnome-vfs-mime-utils.h>
11+#endif
12 #include "e-contact.h"
13 #include "e-book.h"
14 #include "e-name-western.h"
15@@ -418,8 +420,11 @@
16 e_vcard_attribute_add_param_with_value (attr,
17 e_vcard_attribute_param_new (EVC_ENCODING),
18 "b");
19-
20+#if 0
21 mime_type = gnome_vfs_get_mime_type_for_data (photo->inlined.data, photo->inlined.length);
22+#else
23+ mime_type = "image/jpeg";
24+#endif
25 if (!strcmp (mime_type, "image/gif"))
26 image_type = "GIF";
27 else if (!strcmp (mime_type, "image/jpeg"))
28Index: configure.in
29===================================================================
30--- trunk/configure.in (revision 214)
31+++ trunk/configure.in (working copy)
32@@ -1180,7 +1180,7 @@
33
34 dnl --- evolution-addressbook flags
35
36-EVOLUTION_ADDRESSBOOK_DEPS="libxml-2.0 gobject-2.0 gconf-2.0 $IPC_DEPS gnome-vfs-2.0 "
37+EVOLUTION_ADDRESSBOOK_DEPS="libxml-2.0 gobject-2.0 gconf-2.0 $IPC_DEPS"
38
39 EVO_SET_COMPILE_FLAGS(EVOLUTION_ADDRESSBOOK, $EVOLUTION_ADDRESSBOOK_DEPS)
40 AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS)
41@@ -1188,7 +1188,7 @@
42
43 dnl --- evolution-calendar flags
44
45-EVOLUTION_CALENDAR_DEPS="libxml-2.0 gobject-2.0 gconf-2.0 gnome-vfs-2.0 dbus-glib-1"
46+EVOLUTION_CALENDAR_DEPS="libxml-2.0 gobject-2.0 gconf-2.0 dbus-glib-1"
47
48 EVO_SET_COMPILE_FLAGS(EVOLUTION_CALENDAR, $EVOLUTION_CALENDAR_DEPS)
49 AC_SUBST(EVOLUTION_CALENDAR_CFLAGS)
50Index: calendar/backends/Makefile.am
51===================================================================
52--- trunk/calendar/backends/Makefile.am (revision 212)
53+++ trunk/calendar/backends/Makefile.am (working copy)
54@@ -4,4 +4,4 @@
55 GROUPWISE_SUBDIR =
56 endif
57
58-SUBDIRS = file $(GROUPWISE_SUBDIR) contacts
59+SUBDIRS = $(GROUPWISE_SUBDIR) contacts
60Index: calendar/libedata-cal-dbus/e-data-cal-factory.c
61===================================================================
62--- trunk/calendar/libedata-cal-dbus/e-data-cal-factory.c (revision 206)
63+++ trunk/calendar/libedata-cal-dbus/e-data-cal-factory.c (working copy)
64@@ -28,8 +28,9 @@
65 #include <dbus/dbus-protocol.h>
66 #include <dbus/dbus-glib.h>
67 #include <dbus/dbus-glib-bindings.h>
68-/**/
69+#if 0
70 #include <libgnomevfs/gnome-vfs.h>
71+#endif
72 #include <libedataserver/e-url.h>
73 #include <libedataserver/e-source.h>
74 #include <libedataserver/e-data-server-module.h>
75@@ -406,10 +407,12 @@
76
77 loop = g_main_loop_new (NULL, FALSE);
78
79+#if 0
80 if (!gnome_vfs_init ()) {
81 g_error ("Failed to initialise gnome-vfs");
82 exit (1);
83 }
84+#endif
85
86 g_print ("Launching EDataCalFactory\n");
87
diff --git a/openembedded/packages/eds/eds-dbus_svn.bb b/openembedded/packages/eds/eds-dbus_svn.bb
index a087b0493d..28d7748e1d 100755
--- a/openembedded/packages/eds/eds-dbus_svn.bb
+++ b/openembedded/packages/eds/eds-dbus_svn.bb
@@ -4,16 +4,20 @@ RDEPENDS = "glib-2.0 gtk+ gconf dbus db libglade libiconv"
4MAINTAINER = "Chris Lord <chris@openedhand.com>" 4MAINTAINER = "Chris Lord <chris@openedhand.com>"
5DESCRIPTION = "Evolution database backend server" 5DESCRIPTION = "Evolution database backend server"
6PV = "1.4.0cvs${CVSDATE}" 6PV = "1.4.0cvs${CVSDATE}"
7PR = "r1" 7PR = "r2"
8 8
9SRC_URI = "svn://svn.o-hand.com/repos/${PN};module=trunk;proto=http \ 9SRC_URI = "svn://svn.o-hand.com/repos/${PN};module=trunk;proto=http \
10 file://external_libdb.patch;patch=1 \ 10 file://external_libdb.patch;patch=1 \
11 file://no_libgnome.patch;patch=1 \ 11 file://no_gnomevfs.patch;patch=1 \
12 file://no_iconv_test.patch;patch=1" 12 file://no_iconv_test.patch;patch=1 \
13 file://iconv-detect.h"
14
13S = "${WORKDIR}/trunk" 15S = "${WORKDIR}/trunk"
14 16
15inherit autotools pkgconfig 17inherit autotools pkgconfig
16 18
17EXTRA_OECONF = "--without-openldap --disable-nntp --disable-gtk-doc --enable-groupwise=no --with-dbus=yes --with-libgnome=no --enable-soup=no --with-libdb43=${STAGING_DIR}/${HOST_SYS}" 19EXTRA_OECONF = "--without-openldap --disable-nntp --disable-gtk-doc --with-dbus=yes --with-libgnome=no --enable-soup=no --with-libdb43=${STAGING_DIR}/${HOST_SYS} --enable-smime=no --enable-nss=no"
18 20
19acpaths = " -I ${STAGING_DATADIR}/aclocal/gnome-macros " 21acpaths = " -I ${STAGING_DATADIR}/aclocal/gnome-macros "
22
23do_configure_append = " cp ${WORKDIR}/iconv-detect.h ${S} " \ No newline at end of file