summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lord <chris@openedhand.com>2005-10-03 18:49:26 +0000
committerChris Lord <chris@openedhand.com>2005-10-03 18:49:26 +0000
commit127e3d5770d9e75e2ef0616ffc81f595cd440d93 (patch)
tree818373b37738aa579193c25c15596f37d886cd72
parentd3fcc57cfaa025be340849458930f103bde1a51a (diff)
downloadopenembedded-core-127e3d5770d9e75e2ef0616ffc81f595cd440d93.tar.gz
openembedded-core-127e3d5770d9e75e2ef0616ffc81f595cd440d93.tar.bz2
openembedded-core-127e3d5770d9e75e2ef0616ffc81f595cd440d93.zip
Add opensync (builds, untested)
git-svn-id: https://svn.o-hand.com/repos/poky@110 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--openembedded/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch11
-rw-r--r--openembedded/packages/opensync/libopensync-plugin-evolution2_0.17.bb7
-rw-r--r--openembedded/packages/opensync/libopensync_0.17.bb24
-rw-r--r--openembedded/packages/opensync/multisync_0.90.17.bb6
4 files changed, 48 insertions, 0 deletions
diff --git a/openembedded/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch b/openembedded/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch
new file mode 100644
index 0000000000..474031dcc0
--- /dev/null
+++ b/openembedded/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch
@@ -0,0 +1,11 @@
+--- libopensync-plugin-evolution2-0.17/src/evolution2_ebook.c.old 2005-10-03 19:41:06.000000000 +0100
++++ libopensync-plugin-evolution2-0.17/src/evolution2_ebook.c 2005-10-03 19:41:32.000000000 +0100
+@@ -133,7 +133,7 @@
+ EContact *contact = E_CONTACT(l->data);
+ vcard = contact->parent;
+ char *data = e_vcard_to_string(&vcard, EVC_FORMAT_VCARD_30);
+- char *uid = e_contact_get_const(contact, E_CONTACT_UID);
++ char *uid = (char *)e_contact_get_const(contact, E_CONTACT_UID);
+ int datasize = strlen(data) + 1;
+ evo2_report_change(ctx, "contact", "vcard30", data, datasize, uid, CHANGE_ADDED);
+ }
diff --git a/openembedded/packages/opensync/libopensync-plugin-evolution2_0.17.bb b/openembedded/packages/opensync/libopensync-plugin-evolution2_0.17.bb
new file mode 100644
index 0000000000..982308fcbe
--- /dev/null
+++ b/openembedded/packages/opensync/libopensync-plugin-evolution2_0.17.bb
@@ -0,0 +1,7 @@
+LICENSE = "LGPL"
+DEPENDS = "libopensync eds-dbus"
+SRC_URI = "http://www.o-hand.com/~chris/${PN}-${PV}.tar.gz \
+ file://fix-warnings.patch;patch=1"
+
+inherit autotools pkgconfig
+
diff --git a/openembedded/packages/opensync/libopensync_0.17.bb b/openembedded/packages/opensync/libopensync_0.17.bb
new file mode 100644
index 0000000000..5815544a0f
--- /dev/null
+++ b/openembedded/packages/opensync/libopensync_0.17.bb
@@ -0,0 +1,24 @@
+LICENSE = "LGPL"
+DEPENDS = "sqlite3"
+SRC_URI = "http://www.o-hand.com/~chris/${PN}-${PV}.tar.gz"
+EXTRA_OECONF = " --enable-engine"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ oe_libinstall -so -C opensync libopensync ${STAGING_LIBDIR}
+ oe_libinstall -so -C osengine libosengine ${STAGING_LIBDIR}
+
+ install -d ${STAGING_INCDIR}/opensync-1.0 \
+ ${STAGING_INCDIR}/opensync-1.0/opensync \
+ ${STAGING_INCDIR}/opensync-1.0/osengine
+ install -m 0644 ${S}/opensync/*.h ${STAGING_INCDIR}/opensync-1.0/opensync
+ install -m 0644 ${S}/osengine/*.h ${STAGING_INCDIR}/opensync-1.0/osengine
+
+ install -m 0644 ${S}/opensync-1.0.pc ${STAGING_LIBDIR}/pkgconfig
+ install -m 0644 ${S}/osengine-1.0.pc ${STAGING_LIBDIR}/pkgconfig
+}
+
+FILES_${PN} += "${libdir}/opensync/formats/*.so"
+FILES_${PN}-dev += "${libdir}/opensync/formats/*.la"
+
diff --git a/openembedded/packages/opensync/multisync_0.90.17.bb b/openembedded/packages/opensync/multisync_0.90.17.bb
new file mode 100644
index 0000000000..ddc5b53b41
--- /dev/null
+++ b/openembedded/packages/opensync/multisync_0.90.17.bb
@@ -0,0 +1,6 @@
+LICENSE = "LGPL"
+DEPENDS = "libopensync gtk+"
+SRC_URI = "http://www.o-hand.com/~chris/${PN}-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+