diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/opensync | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/opensync')
5 files changed, 74 insertions, 0 deletions
diff --git a/meta/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch b/meta/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch new file mode 100644 index 0000000000..474031dcc0 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- libopensync-plugin-evolution2-0.17/src/evolution2_ebook.c.old 2005-10-03 19:41:06.000000000 +0100 | ||
2 | +++ libopensync-plugin-evolution2-0.17/src/evolution2_ebook.c 2005-10-03 19:41:32.000000000 +0100 | ||
3 | @@ -133,7 +133,7 @@ | ||
4 | EContact *contact = E_CONTACT(l->data); | ||
5 | vcard = contact->parent; | ||
6 | char *data = e_vcard_to_string(&vcard, EVC_FORMAT_VCARD_30); | ||
7 | - char *uid = e_contact_get_const(contact, E_CONTACT_UID); | ||
8 | + char *uid = (char *)e_contact_get_const(contact, E_CONTACT_UID); | ||
9 | int datasize = strlen(data) + 1; | ||
10 | evo2_report_change(ctx, "contact", "vcard30", data, datasize, uid, CHANGE_ADDED); | ||
11 | } | ||
diff --git a/meta/packages/opensync/libopensync-plugin-evolution2_0.17.bb b/meta/packages/opensync/libopensync-plugin-evolution2_0.17.bb new file mode 100644 index 0000000000..e7e67d4900 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-evolution2_0.17.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | DEPENDS = "libopensync eds-dbus" | ||
3 | SRC_URI = "http://www.o-hand.com/~chris/${PN}-${PV}.tar.gz \ | ||
4 | file://fix-warnings.patch;patch=1" | ||
5 | PR = "r1" | ||
6 | |||
7 | inherit autotools pkgconfig | ||
8 | |||
9 | # Work around opensync's broken pkgconfig usage | ||
10 | do_install_append () { | ||
11 | mv ${D}/${STAGING_DIR}/* ${D}/${prefix}/ | ||
12 | } | ||
13 | |||
14 | FILES_${PN} += "${datadir}/opensync/defaults/evo2-sync \ | ||
15 | ${libdir}/opensync/*/*.so" | ||
16 | FILES_${PN}-dev += "${libdir}/opensync/*/*.la" | ||
17 | |||
diff --git a/meta/packages/opensync/libopensync-plugin-file_0.17.bb b/meta/packages/opensync/libopensync-plugin-file_0.17.bb new file mode 100644 index 0000000000..8dfbc5165b --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-file_0.17.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | DEPENDS = "libopensync" | ||
3 | SRC_URI = "http://www.o-hand.com/~chris/${PN}-${PV}.tar.gz" | ||
4 | PR = "r1" | ||
5 | |||
6 | inherit autotools pkgconfig | ||
7 | |||
8 | # Work around opensync's broken pkgconfig usage | ||
9 | do_install_append () { | ||
10 | mv ${D}/${STAGING_DIR}/* ${D}/${prefix}/ | ||
11 | } | ||
12 | |||
13 | FILES_${PN} += "${datadir}/opensync/defaults/file-sync \ | ||
14 | ${libdir}/opensync/*/*.so" | ||
15 | FILES_${PN}-dev += "${libdir}/opensync/*/*.la" | ||
16 | |||
diff --git a/meta/packages/opensync/libopensync_0.17.bb b/meta/packages/opensync/libopensync_0.17.bb new file mode 100644 index 0000000000..5815544a0f --- /dev/null +++ b/meta/packages/opensync/libopensync_0.17.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | DEPENDS = "sqlite3" | ||
3 | SRC_URI = "http://www.o-hand.com/~chris/${PN}-${PV}.tar.gz" | ||
4 | EXTRA_OECONF = " --enable-engine" | ||
5 | |||
6 | inherit autotools pkgconfig | ||
7 | |||
8 | do_stage () { | ||
9 | oe_libinstall -so -C opensync libopensync ${STAGING_LIBDIR} | ||
10 | oe_libinstall -so -C osengine libosengine ${STAGING_LIBDIR} | ||
11 | |||
12 | install -d ${STAGING_INCDIR}/opensync-1.0 \ | ||
13 | ${STAGING_INCDIR}/opensync-1.0/opensync \ | ||
14 | ${STAGING_INCDIR}/opensync-1.0/osengine | ||
15 | install -m 0644 ${S}/opensync/*.h ${STAGING_INCDIR}/opensync-1.0/opensync | ||
16 | install -m 0644 ${S}/osengine/*.h ${STAGING_INCDIR}/opensync-1.0/osengine | ||
17 | |||
18 | install -m 0644 ${S}/opensync-1.0.pc ${STAGING_LIBDIR}/pkgconfig | ||
19 | install -m 0644 ${S}/osengine-1.0.pc ${STAGING_LIBDIR}/pkgconfig | ||
20 | } | ||
21 | |||
22 | FILES_${PN} += "${libdir}/opensync/formats/*.so" | ||
23 | FILES_${PN}-dev += "${libdir}/opensync/formats/*.la" | ||
24 | |||
diff --git a/meta/packages/opensync/multisync_0.90.17.bb b/meta/packages/opensync/multisync_0.90.17.bb new file mode 100644 index 0000000000..ddc5b53b41 --- /dev/null +++ b/meta/packages/opensync/multisync_0.90.17.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | DEPENDS = "libopensync gtk+" | ||
3 | SRC_URI = "http://www.o-hand.com/~chris/${PN}-${PV}.tar.gz" | ||
4 | |||
5 | inherit autotools pkgconfig | ||
6 | |||