summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jaroszyński <peper@gentoo.org>2006-11-25 10:44:26 +0000
committerPiotr Jaroszyński <peper@gentoo.org>2006-11-25 10:44:26 +0000
commita5eac588a0649eca0e143be60c3598f14d31dcad (patch)
treec405d4f2c358abb2eac7b18e15998890714757f9 /app-pda
parentAdding app-text/epdfview to tree; based on ebuild available on site. (diff)
downloadhistorical-a5eac588a0649eca0e143be60c3598f14d31dcad.tar.gz
historical-a5eac588a0649eca0e143be60c3598f14d31dcad.tar.bz2
historical-a5eac588a0649eca0e143be60c3598f14d31dcad.zip
Add a patch to fix some wbxml problems.
Package-Manager: portage-2.1.2_rc2-r1
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/libsyncml/ChangeLog8
-rw-r--r--app-pda/libsyncml/Manifest25
-rw-r--r--app-pda/libsyncml/files/digest-libsyncml-0.4.2-r13
-rw-r--r--app-pda/libsyncml/files/libsyncml-0.4.2-wbxml.patch22
-rw-r--r--app-pda/libsyncml/libsyncml-0.4.2-r1.ebuild60
5 files changed, 110 insertions, 8 deletions
diff --git a/app-pda/libsyncml/ChangeLog b/app-pda/libsyncml/ChangeLog
index 42fb991fee32..bc3bc469bb41 100644
--- a/app-pda/libsyncml/ChangeLog
+++ b/app-pda/libsyncml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-pda/libsyncml
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v 1.1 2006/11/13 22:02:11 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/ChangeLog,v 1.2 2006/11/25 10:44:26 peper Exp $
+
+*libsyncml-0.4.2-r1 (25 Nov 2006)
+
+ 25 Nov 2006; Piotr Jaroszyński <peper@gentoo.org>
+ +files/libsyncml-0.4.2-wbxml.patch, +libsyncml-0.4.2-r1.ebuild:
+ Add a patch to fix some wbxml problems.
*libsyncml-0.4.2 (13 Nov 2006)
diff --git a/app-pda/libsyncml/Manifest b/app-pda/libsyncml/Manifest
index b4f8dc9f9445..6273c8607a07 100644
--- a/app-pda/libsyncml/Manifest
+++ b/app-pda/libsyncml/Manifest
@@ -1,15 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX libsyncml-0.4.2-wbxml.patch 1398 RMD160 aad0f1e004cf87606b6871538572dfa447f6578e SHA1 4a5ed03039b4b298e53786ec13f21a689ed6dd69 SHA256 f3bbe29c088e7daa87646798d47925161ce8a017e9b94119a33c6824c90d7f4e
+MD5 0e2033af7c3a1438bee4801dffd57b91 files/libsyncml-0.4.2-wbxml.patch 1398
+RMD160 aad0f1e004cf87606b6871538572dfa447f6578e files/libsyncml-0.4.2-wbxml.patch 1398
+SHA256 f3bbe29c088e7daa87646798d47925161ce8a017e9b94119a33c6824c90d7f4e files/libsyncml-0.4.2-wbxml.patch 1398
DIST libsyncml-0.4.2.tar.gz 512702 RMD160 ca8d7459807160d6e4a0bf98de01136c295cb458 SHA1 f1d1236ce441d610612c4bf44e28602799997d86 SHA256 f9d15887ab0c9103f7798940e22f5a864a6aa3de80f9796c1b56f8876d566f1e
+EBUILD libsyncml-0.4.2-r1.ebuild 1386 RMD160 8cf7557e078ec18147d9f7e250d81d773309f5b7 SHA1 8cdad7d6ff1b10b51e435b1ba9af4de32fc43177 SHA256 719ed92e05dd4d3bc1935023e6cc29273756eef94c515f5d4d1b4a501ed833de
+MD5 160c779171622e981b60538e6ca1e171 libsyncml-0.4.2-r1.ebuild 1386
+RMD160 8cf7557e078ec18147d9f7e250d81d773309f5b7 libsyncml-0.4.2-r1.ebuild 1386
+SHA256 719ed92e05dd4d3bc1935023e6cc29273756eef94c515f5d4d1b4a501ed833de libsyncml-0.4.2-r1.ebuild 1386
EBUILD libsyncml-0.4.2.ebuild 1258 RMD160 001c1e00f15a2fdffda0477de7ee8ca8c15895ea SHA1 eec9ab710c6060909db5638a6c3f14a9a08afdb7 SHA256 e749c083143dbe4352f9b73f6f591c25291ac28d1eab2ed8b1a3e3fdd1193a49
MD5 5d6fdc68b0e0869a241a3afa82403266 libsyncml-0.4.2.ebuild 1258
RMD160 001c1e00f15a2fdffda0477de7ee8ca8c15895ea libsyncml-0.4.2.ebuild 1258
SHA256 e749c083143dbe4352f9b73f6f591c25291ac28d1eab2ed8b1a3e3fdd1193a49 libsyncml-0.4.2.ebuild 1258
-MISC ChangeLog 349 RMD160 6dffa37d477f92eb9845b56f54bb64aa2af4f4d3 SHA1 8e3e97c8dfcb1c2ea640f975335e45f42adbc0de SHA256 4e9f26165ca660580a661f9ee6b6f3c8b5e9cd18682aa07b564b94b764fd20af
-MD5 5ea44ef6982dd8aa33b568e839a93a36 ChangeLog 349
-RMD160 6dffa37d477f92eb9845b56f54bb64aa2af4f4d3 ChangeLog 349
-SHA256 4e9f26165ca660580a661f9ee6b6f3c8b5e9cd18682aa07b564b94b764fd20af ChangeLog 349
+MISC ChangeLog 546 RMD160 545ddea5acd6d7a2b0f8714d68aa7b830e3ff6cd SHA1 8aa2f17839bbed3c65cdf26a15b2a1650eb19640 SHA256 af4d9193023c6652566af21ad46fb41d6ecc1604ac218d2fef7a499dd25ad6a3
+MD5 e669c078e5852b253106ecb84fff93be ChangeLog 546
+RMD160 545ddea5acd6d7a2b0f8714d68aa7b830e3ff6cd ChangeLog 546
+SHA256 af4d9193023c6652566af21ad46fb41d6ecc1604ac218d2fef7a499dd25ad6a3 ChangeLog 546
MISC metadata.xml 304 RMD160 1da32fded95735800bc96b0ff4c0a3af4691a724 SHA1 b96c72c417192c099990a616b12a1d2f55a06064 SHA256 7fa8df0f64197f3f6c018ed0d6c4cc4da014fbcc9af2da9b633f71657470236a
MD5 45ae331a9c100ecabad1b4cd916f3d37 metadata.xml 304
RMD160 1da32fded95735800bc96b0ff4c0a3af4691a724 metadata.xml 304
@@ -17,10 +25,13 @@ SHA256 7fa8df0f64197f3f6c018ed0d6c4cc4da014fbcc9af2da9b633f71657470236a metadata
MD5 f08782044de244eb18c8147dd04fb1a2 files/digest-libsyncml-0.4.2 247
RMD160 06dc58d8055d86e4c8ec8b03cebe203e5148bb3c files/digest-libsyncml-0.4.2 247
SHA256 3b4e4493d2a103ec2bfa502bc535bd11130811c574b83db8e6c23f2793fada1d files/digest-libsyncml-0.4.2 247
+MD5 f08782044de244eb18c8147dd04fb1a2 files/digest-libsyncml-0.4.2-r1 247
+RMD160 06dc58d8055d86e4c8ec8b03cebe203e5148bb3c files/digest-libsyncml-0.4.2-r1 247
+SHA256 3b4e4493d2a103ec2bfa502bc535bd11130811c574b83db8e6c23f2793fada1d files/digest-libsyncml-0.4.2-r1 247
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFWOtrppoStNGKGywRAg32AJ0Wz/GeWnMi7WfmxiRrcaY/gKLbeACffbb9
-SDJtUtlnmwnZYqY8S6guBxc=
-=oIan
+iD8DBQFFaB6nppoStNGKGywRAnX1AKC1rebmwXDu+sfwgkuumgjekgGcFwCgslh5
+80pbCKGuSlWwt+JNEX/U3lQ=
+=Ytu8
-----END PGP SIGNATURE-----
diff --git a/app-pda/libsyncml/files/digest-libsyncml-0.4.2-r1 b/app-pda/libsyncml/files/digest-libsyncml-0.4.2-r1
new file mode 100644
index 000000000000..095359054d2e
--- /dev/null
+++ b/app-pda/libsyncml/files/digest-libsyncml-0.4.2-r1
@@ -0,0 +1,3 @@
+MD5 66fad49f54e78ce34c1453c62958e037 libsyncml-0.4.2.tar.gz 512702
+RMD160 ca8d7459807160d6e4a0bf98de01136c295cb458 libsyncml-0.4.2.tar.gz 512702
+SHA256 f9d15887ab0c9103f7798940e22f5a864a6aa3de80f9796c1b56f8876d566f1e libsyncml-0.4.2.tar.gz 512702
diff --git a/app-pda/libsyncml/files/libsyncml-0.4.2-wbxml.patch b/app-pda/libsyncml/files/libsyncml-0.4.2-wbxml.patch
new file mode 100644
index 000000000000..225ebefbe9cb
--- /dev/null
+++ b/app-pda/libsyncml/files/libsyncml-0.4.2-wbxml.patch
@@ -0,0 +1,22 @@
+diff -ur libsyncml-0.4.2/libsyncml/parser/sml_xml_assm.c libsyncml/libsyncml/parser/sml_xml_assm.c
+--- libsyncml-0.4.2/libsyncml/parser/sml_xml_assm.c 2006-09-09 16:40:08.000000000 +0200
++++ libsyncml/libsyncml/parser/sml_xml_assm.c 2006-11-24 16:20:14.000000000 +0100
+@@ -1441,14 +1443,17 @@
+ /* Add the syncml start node */
+ switch (assm->session->version) {
+ case SML_VERSION_10:
++ xmlTextWriterWriteRaw(assm->writer, (xmlChar *)"<!DOCTYPE SyncML PUBLIC \"-//SYNCML//DTD SyncML 1.0//EN\" \"http://www.syncml.org/docs/syncml_represent_v10_20001207.dtd\">");
+ if (!_smlXmlAssemblerStartNodeNS(assm, SML_ELEMENT_SYNCML, SML_NAMESPACE_SYNCML10, error))
+ goto error_free_writer;
+ break;
+ case SML_VERSION_11:
++ xmlTextWriterWriteRaw(assm->writer, (xmlChar *)"<!DOCTYPE SyncML PUBLIC \"-//SYNCML//DTD SyncML 1.1//EN\" \"http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd.dtd\">");
+ if (!_smlXmlAssemblerStartNodeNS(assm, SML_ELEMENT_SYNCML, SML_NAMESPACE_SYNCML11, error))
+ goto error_free_writer;
+ break;
+ case SML_VERSION_12:
++ xmlTextWriterWriteRaw(assm->writer, (xmlChar *)"<!DOCTYPE SyncML PUBLIC \"-//SYNCML//DTD SyncML 1.2//EN\" \"http://www.openmobilealliance.org/tech/DTD/OMA-TS-SyncML_RepPro_DTD-V1_2.dtd\">");
+ if (!_smlXmlAssemblerStartNodeNS(assm, SML_ELEMENT_SYNCML, SML_NAMESPACE_SYNCML12, error))
+ goto error_free_writer;
+ break;
+
diff --git a/app-pda/libsyncml/libsyncml-0.4.2-r1.ebuild b/app-pda/libsyncml/libsyncml-0.4.2-r1.ebuild
new file mode 100644
index 000000000000..e330572233fd
--- /dev/null
+++ b/app-pda/libsyncml/libsyncml-0.4.2-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libsyncml/libsyncml-0.4.2-r1.ebuild,v 1.1 2006/11/25 10:44:26 peper Exp $
+
+inherit eutils
+
+DESCRIPTION="Implementation of the SyncML protocol"
+HOMEPAGE="http://libsyncml.opensync.org/"
+SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="bluetooth debug doc http obex"
+#test
+
+RDEPEND=">=dev-libs/glib-2.0
+ >=dev-libs/libwbxml-0.9.2
+ dev-libs/libxml2
+ http? ( >=net-libs/libsoup-2.2.91 )
+ obex? ( >=dev-libs/openobex-1.1 )
+ bluetooth? ( net-wireless/bluez-libs )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )"
+ #test? ( dev-libs/check )
+
+# Some of the tests are broken
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Fix some wbxml problems
+ epatch "${FILESDIR}/${P}-wbxml.patch"
+}
+
+src_compile() {
+ econf \
+ $(use_enable bluetooth) \
+ $(use_enable obex) \
+ $(use_enable http) \
+ $(use_enable debug) \
+ $(use_enable debug tracing) \
+ --disable-unit-tests \
+ || die "econf failed"
+ #$(use_enable test unit-tests) \
+
+ emake || die "emake failed"
+
+ use doc && doxygen Doxyfile
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README
+
+ use doc && dohtml docs/html/*
+}