[oe-commits] Florian Boor : wvstreams: Add 4.2. 2 which is more likely to work on ARM platforms.

GIT User account git at amethyst.openembedded.net
Thu Jan 15 16:34:05 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 15fbbc498f81e769e1b75fdf7e3391de295d1dc3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=15fbbc498f81e769e1b75fdf7e3391de295d1dc3

Author: Florian Boor <florian.boor at kernelconcepts.de>
Date:   Wed Jan 14 21:49:13 2009 +0100

wvstreams: Add 4.2.2 which is more likely to work on ARM platforms.

---

 packages/wvstreams/files/wvstreams-debian.patch |   49 +++++++++++++++++++++++
 packages/wvstreams/wvstreams_4.2.2.bb           |   40 ++++++++++++++++++
 2 files changed, 89 insertions(+), 0 deletions(-)

diff --git a/packages/wvstreams/files/wvstreams-debian.patch b/packages/wvstreams/files/wvstreams-debian.patch
new file mode 100644
index 0000000..5cb4837
--- /dev/null
+++ b/packages/wvstreams/files/wvstreams-debian.patch
@@ -0,0 +1,49 @@
+--- wvstreams.old/include/wvvector.h	2005-11-24 19:46:46.000000000 +0000
++++ wvstreams-4.2.2/include/wvvector.h	2007-07-24 06:35:55.000000000 +0000
+@@ -358,7 +358,7 @@
+ 	/** Returns a pointer to the current element */
+ 	T *ptr() const
+ 	{
+-	    return static_cast<T *>(cur()->data);
++	    return static_cast<T *>(this->cur()->data);
+ 	}
+ 
+ 	WvIterStuff(T);
+@@ -368,7 +368,7 @@
+ 	 */
+ 	bool get_autofree() const
+ 	{
+-	    return link->get_autofree();
++	    return this->link->get_autofree();
+ 	}
+ 
+ 	/**
+@@ -376,7 +376,7 @@
+ 	 */
+ 	void set_autofree(bool autofree)
+ 	{
+-	    link->set_autofree(autofree);
++	    this->link->set_autofree(autofree);
+ 	}
+ 
+         /**
+@@ -386,7 +386,7 @@
+          */
+         void remove(bool destroy = true)
+         {
+-	    WvVector::vec.remove(i, destroy);
++	    WvVector::vec.remove(this->i, destroy);
+         }
+ 
+         /**
+@@ -404,8 +404,8 @@
+          */
+ 	void xremove(bool destroy = true)
+ 	{
+-	    WvVector::vec.remove(i, destroy);
+-	    prev();
++	    WvVector::vec.remove(this->i, destroy);
++	    this->prev();
+ 	}
+     };
+ };
diff --git a/packages/wvstreams/wvstreams_4.2.2.bb b/packages/wvstreams/wvstreams_4.2.2.bb
new file mode 100644
index 0000000..bea2f22
--- /dev/null
+++ b/packages/wvstreams/wvstreams_4.2.2.bb
@@ -0,0 +1,40 @@
+HOMEPAGE = "http://alumnit.ca/wiki/index.php?page=WvStreams"
+LICENSE = "LGPL"
+DESCRIPTION = "WvStreams is a network programming library in C++"
+DEPENDS = "zlib openssl (>= 0.9.8)"
+
+PR = "r0"
+
+SRC_URI = "http://ftp.de.debian.org/debian/pool/main/w/wvstreams/${PN}_${PV}.orig.tar.gz \
+           http://ftp.de.debian.org/debian/pool/main/w/wvstreams/wvstreams_4.2.2-2.2.diff.gz;patch=1 \
+           file://wvstreams-debian.patch;patch=1 \
+           file://build-fixes-and-sanity.patch;patch=1 "
+
+inherit autotools
+
+LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
+
+EXTRA_AUTORECONF += " -I${S}/gnulib/m4"
+EXTRA_OECONF = " --without-tcl --without-qt --without-pam"
+
+PACKAGES_prepend = "libuniconf libuniconf-dbg "
+PACKAGES_prepend = "uniconfd uniconfd-dbg "
+PACKAGES_prepend = "libwvstreams-base libwvstreams-base-dbg "
+PACKAGES_prepend = "libwvstreams-extras libwvstreams-extras-dbg "
+
+FILES_libuniconf     = "${libdir}/libuniconf.so.*"
+FILES_libuniconf-dbg = "${libdir}/.debug/libuniconf.so.*"
+
+FILES_uniconfd     = "${sbindir}/uniconfd ${sysconfdir}/uniconf.conf ${localstatedir}/uniconf"
+FILES_uniconfd-dbg = "${sbindir}/.debug/uniconfd"
+
+FILES_libwvstreams-base     = "${libdir}/libwvutils.so.*"
+FILES_libwvstreams-base-dbg = "${libdir}/.debug/libwvutils.so.*"
+
+FILES_libwvstreams-extras     = "${libdir}/libwvbase.so.* ${libdir}/libwvstreams.so.*"
+FILES_libwvstreams-extras-dbg = "${libdir}/.debug/libwvbase.so.* ${libdir}/.debug/libwvstreams.so.*"
+
+
+do_stage() {
+    autotools_stage_all
+}





More information about the Openembedded-commits mailing list