summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-06-25 20:54:40 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-06-25 20:54:40 +0000
commit8dcb333b86fd92a0af774c75d38b9db503ee026e (patch)
treee37570dde24fd3ea447e8790512ab4eaf031d4c8
parentnet-mail/qmqtool - cosmetics (diff)
downloadsunrise-8dcb333b86fd92a0af774c75d38b9db503ee026e.tar.gz
sunrise-8dcb333b86fd92a0af774c75d38b9db503ee026e.tar.bz2
sunrise-8dcb333b86fd92a0af774c75d38b9db503ee026e.zip
New libiqxmlrpc Ebuild for bug 71785
svn path=/sunrise/; revision=278
-rw-r--r--dev-cpp/libiqxmlrpc/ChangeLog7
-rw-r--r--dev-cpp/libiqxmlrpc/Manifest16
-rw-r--r--dev-cpp/libiqxmlrpc/files/0.7.2-doc_manual_install.patch12
-rw-r--r--dev-cpp/libiqxmlrpc/files/0.7.2-value_type-namespace_and_template.patch53
-rw-r--r--dev-cpp/libiqxmlrpc/files/digest-libiqxmlrpc-0.7.23
-rw-r--r--dev-cpp/libiqxmlrpc/libiqxmlrpc-0.7.2.ebuild55
6 files changed, 146 insertions, 0 deletions
diff --git a/dev-cpp/libiqxmlrpc/ChangeLog b/dev-cpp/libiqxmlrpc/ChangeLog
new file mode 100644
index 000000000..17676293b
--- /dev/null
+++ b/dev-cpp/libiqxmlrpc/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-cpp/libiqxmlrpc
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 25 Jun 2006; Tiziano Müller <gentoo@dev-zero.ch> ChangeLog:
+ New ebuild for bug 71785
+
diff --git a/dev-cpp/libiqxmlrpc/Manifest b/dev-cpp/libiqxmlrpc/Manifest
new file mode 100644
index 000000000..1d1941690
--- /dev/null
+++ b/dev-cpp/libiqxmlrpc/Manifest
@@ -0,0 +1,16 @@
+AUX 0.7.2-doc_manual_install.patch 569 RMD160 c2b95d8bbb027be41540b352f9fc5063b61d1712 SHA1 f8dd90807a14d2e2ddf01514d502af82d1849847 SHA256 3248777fadff7017afa330c123488e5ad8341fd20060e6f472f31fa2801fe442
+MD5 0a0e95d1286e452d661530accbbc59cf files/0.7.2-doc_manual_install.patch 569
+RMD160 c2b95d8bbb027be41540b352f9fc5063b61d1712 files/0.7.2-doc_manual_install.patch 569
+SHA256 3248777fadff7017afa330c123488e5ad8341fd20060e6f472f31fa2801fe442 files/0.7.2-doc_manual_install.patch 569
+AUX 0.7.2-value_type-namespace_and_template.patch 1357 RMD160 814ed2aa2653e546b0d0ac8a25373c78851ba20f SHA1 cece2a082357fcd7e657c8672bf8645acdf060d8 SHA256 c6e110343fc3a4c04c7e254f3e2a5accbf712d82307723b48f3eb89783afc0b9
+MD5 5904c707861968a73657632964b03e61 files/0.7.2-value_type-namespace_and_template.patch 1357
+RMD160 814ed2aa2653e546b0d0ac8a25373c78851ba20f files/0.7.2-value_type-namespace_and_template.patch 1357
+SHA256 c6e110343fc3a4c04c7e254f3e2a5accbf712d82307723b48f3eb89783afc0b9 files/0.7.2-value_type-namespace_and_template.patch 1357
+DIST libiqxmlrpc-0.7.2.tar.gz 393535 RMD160 72146554a320f937233793b161929f12a1d18d61 SHA1 947e8c4cc48809a561f098defd43446d1d0f8bb2 SHA256 402b049ff6277716cd94e9a3616603b02b2cdaf9bfbe118a180deddfc7e92f18
+EBUILD libiqxmlrpc-0.7.2.ebuild 1335 RMD160 45f86c033a319260b601923cd09f711c5196b503 SHA1 4439417b5ddf547009ddcccb5caa1344e3e38ba3 SHA256 b1592789803307d4f6a2e83a080573088f473b5f6ac39df69b70e7b74bdc6391
+MD5 dd16f70d2d18086a420bff5a1e532acc libiqxmlrpc-0.7.2.ebuild 1335
+RMD160 45f86c033a319260b601923cd09f711c5196b503 libiqxmlrpc-0.7.2.ebuild 1335
+SHA256 b1592789803307d4f6a2e83a080573088f473b5f6ac39df69b70e7b74bdc6391 libiqxmlrpc-0.7.2.ebuild 1335
+MD5 75e7adb521434cd17a61e24909c3d4d7 files/digest-libiqxmlrpc-0.7.2 253
+RMD160 d3afd41c66bc53881fc40a2813eb9d39605a98d8 files/digest-libiqxmlrpc-0.7.2 253
+SHA256 1d7c63106d19b1dfe7781daf2c8fea39d3ab9e38668e8a3eee26f722f2229ef8 files/digest-libiqxmlrpc-0.7.2 253
diff --git a/dev-cpp/libiqxmlrpc/files/0.7.2-doc_manual_install.patch b/dev-cpp/libiqxmlrpc/files/0.7.2-doc_manual_install.patch
new file mode 100644
index 000000000..996f28b91
--- /dev/null
+++ b/dev-cpp/libiqxmlrpc/files/0.7.2-doc_manual_install.patch
@@ -0,0 +1,12 @@
+--- libiqxmlrpc-0.7.2/doc/Makefile.in 2006-06-18 17:32:16.000000000 +0200
++++ libiqxmlrpc-0.7.2.new/doc/Makefile.in 2006-06-25 21:52:20.000000000 +0200
+@@ -208,9 +208,6 @@
+ [ ${MKDOC} == Xyes ] && doxygen libiqxmlrpc.doxygen || true
+
+ install-data-local: libiqxmlrpc.html index.html
+- [ ${MKDOC} == Xyes ] && mkdir -p ${DOCDIR}/libiqxmlrpc.html || true
+- [ ${MKDOC} == Xyes ] && install -m 644 index.html ${DOCDIR} || true
+- [ ${MKDOC} == Xyes ] && install -m 644 libiqxmlrpc.html/* ${DOCDIR}/libiqxmlrpc.html || true
+
+ uninstall-local:
+ rm -f ${DOCDIR}/index.html
diff --git a/dev-cpp/libiqxmlrpc/files/0.7.2-value_type-namespace_and_template.patch b/dev-cpp/libiqxmlrpc/files/0.7.2-value_type-namespace_and_template.patch
new file mode 100644
index 000000000..312eea1c5
--- /dev/null
+++ b/dev-cpp/libiqxmlrpc/files/0.7.2-value_type-namespace_and_template.patch
@@ -0,0 +1,53 @@
+diff -Naur libiqxmlrpc-0.7.2/libiqxmlrpc/value_type.cc libiqxmlrpc-0.7.2.new/libiqxmlrpc/value_type.cc
+--- libiqxmlrpc-0.7.2/libiqxmlrpc/value_type.cc 2005-06-06 19:03:01.000000000 +0200
++++ libiqxmlrpc-0.7.2.new/libiqxmlrpc/value_type.cc 2006-06-25 21:17:35.000000000 +0200
+@@ -24,7 +24,7 @@
+ #include "utf_conv.h"
+ #include "util.h"
+
+-using namespace iqxmlrpc;
++namespace iqxmlrpc {
+
+
+ Value_type* Nil::clone() const
+@@ -40,6 +40,7 @@
+
+
+ // --------------------- Scalar's specialization ------------------------------
++template<>
+ void Int::to_xml( xmlpp::Node* p ) const
+ {
+ xmlpp::Element* el = p->add_child( "i4" );
+@@ -49,14 +50,14 @@
+ el->add_child_text( ss.str() );
+ }
+
+-
++template<>
+ void Bool::to_xml( xmlpp::Node* p ) const
+ {
+ xmlpp::Element* el = p->add_child( "boolean" );
+ el->add_child_text( value_ ? "1" : "0" );
+ }
+
+-
++template<>
+ void Double::to_xml( xmlpp::Node* p ) const
+ {
+ xmlpp::Element* el = p->add_child( "double" );
+@@ -68,7 +69,8 @@
+
+
+ // --------------------------------------------------------------------------
+-void iqxmlrpc::String::to_xml( xmlpp::Node* p ) const
++template<>
++void String::to_xml( xmlpp::Node* p ) const
+ {
+ xmlpp::Element* el = p->add_child( "string" );
+ el->add_child_text( config::cs_conv->to_utf(value_) );
+@@ -532,3 +534,5 @@
+
+ return cache;
+ }
++
++} // namespace iqxmlrpc
diff --git a/dev-cpp/libiqxmlrpc/files/digest-libiqxmlrpc-0.7.2 b/dev-cpp/libiqxmlrpc/files/digest-libiqxmlrpc-0.7.2
new file mode 100644
index 000000000..a487ff092
--- /dev/null
+++ b/dev-cpp/libiqxmlrpc/files/digest-libiqxmlrpc-0.7.2
@@ -0,0 +1,3 @@
+MD5 75e70254e3c4225732dc6d7387fbe93e libiqxmlrpc-0.7.2.tar.gz 393535
+RMD160 72146554a320f937233793b161929f12a1d18d61 libiqxmlrpc-0.7.2.tar.gz 393535
+SHA256 402b049ff6277716cd94e9a3616603b02b2cdaf9bfbe118a180deddfc7e92f18 libiqxmlrpc-0.7.2.tar.gz 393535
diff --git a/dev-cpp/libiqxmlrpc/libiqxmlrpc-0.7.2.ebuild b/dev-cpp/libiqxmlrpc/libiqxmlrpc-0.7.2.ebuild
new file mode 100644
index 000000000..79265b57d
--- /dev/null
+++ b/dev-cpp/libiqxmlrpc/libiqxmlrpc-0.7.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Libiqxmlrpc is an object-oriented library, which represents simple XML-RPC solution both for client and server sides."
+HOMEPAGE="http://libiqxmlrpc.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc debug"
+
+RDEPEND="=dev-cpp/libxmlpp-1*
+ dev-libs/boost
+ dev-libs/openssl"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ unpack ${A}
+ if built_with_use -o dev-libs/boost threads threads_only; then
+ cd "${S}"
+ sed -i -e 's/boost_thread/boost_thread-mt/g' \
+ libiqxmlrpc/Makefile.in \
+ libiqxmlrpc.pc.in \
+ tests/Makefile.in || die "fixing link to boost failed"
+ fi
+ epatch "${FILESDIR}/${PV}-value_type-namespace_and_template.patch"
+ epatch "${FILESDIR}/${PV}-doc_manual_install.patch"
+}
+
+src_compile() {
+ econf \
+ $(use_enable doc docs) \
+ $(use_enable debug) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ dodoc ChangeLog README NEWS TODO
+ if use doc; then
+ dohtml doc/libiqxmlrpc.html/*
+ fi
+}
+
+src_test() {
+ einfo "This can take some time due to stress tests"
+ cd "${S}/tests"
+ make check
+ ./regression.sh
+}