[oe-commits] Lucian Ion : add log4cxx recipes from apache

git version control git at git.openembedded.org
Fri Jun 5 12:52:11 UTC 2009


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

Author: Lucian Ion <luciani at luciani-laptop.(none)>
Date:   Fri Jun  5 11:43:22 2009 +0100

add log4cxx recipes from apache

---

 recipes/log4cxx/log4cxx/log4cxx097.patch |   48 ++++++++++++++++++++++++++++++
 recipes/log4cxx/log4cxx_0.9.7.bb         |   19 ++++++++++++
 2 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/recipes/log4cxx/log4cxx/log4cxx097.patch b/recipes/log4cxx/log4cxx/log4cxx097.patch
new file mode 100644
index 0000000..86b6eff
--- /dev/null
+++ b/recipes/log4cxx/log4cxx/log4cxx097.patch
@@ -0,0 +1,48 @@
+--- log4cxx-0.9.7/src/socketoutputstream.cpp~	2009-05-21 10:06:47.000000000 +0100
++++ log4cxx-0.9.7/src/socketoutputstream.cpp	2009-05-21 10:06:47.000000000 +0100
+@@ -13,7 +13,8 @@
+  * See the License for the specific language governing permissions and
+  * limitations under the License.
+  */
+- 
++
++#include <string.h> 
+ #include <log4cxx/helpers/socketoutputstream.h>
+ #include <log4cxx/helpers/socket.h>
+ #include <log4cxx/helpers/loglog.h>
+
+--- log4cxx-0.9.7/src/stringtokenizer.cpp~	2009-05-21 10:11:19.000000000 +0100
++++ log4cxx-0.9.7/src/stringtokenizer.cpp	2009-05-21 10:11:20.000000000 +0100
+@@ -13,7 +13,8 @@
+  * See the License for the specific language governing permissions and
+  * limitations under the License.
+  */
+- 
++
++#include <string.h> 
+ #include <log4cxx/helpers/stringtokenizer.h>
+ 
+ using namespace log4cxx;
+
+--- log4cxx-0.9.7/src/timezone.cpp~	2009-05-21 10:14:27.000000000 +0100
++++ log4cxx-0.9.7/src/timezone.cpp	2009-05-21 10:14:27.000000000 +0100
+@@ -13,7 +13,8 @@
+  * See the License for the specific language governing permissions and
+  * limitations under the License.
+  */
+- 
++
++#include <string.h>
+ #include <log4cxx/helpers/timezone.h>
+ #include <locale>
+ 
+--- log4cxx-0.9.7/src/xmlsocketappender.cpp~	2009-05-21 10:16:24.000000000 +0100
++++ log4cxx-0.9.7/src/xmlsocketappender.cpp	2009-05-21 10:16:25.000000000 +0100
+@@ -14,6 +14,7 @@
+  * limitations under the License.
+  */
+ 
++#include <string.h>
+ #include <log4cxx/net/xmlsocketappender.h>
+ #include <log4cxx/helpers/loglog.h>
+ #include <log4cxx/helpers/socketoutputstream.h>
diff --git a/recipes/log4cxx/log4cxx_0.9.7.bb b/recipes/log4cxx/log4cxx_0.9.7.bb
new file mode 100644
index 0000000..4817163
--- /dev/null
+++ b/recipes/log4cxx/log4cxx_0.9.7.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Apache logging framework for C++ library"
+SECTION = "libs"
+DEPENDS = "apr apr-util expat gdbm"
+LICENSE = "Apache License, Version 2.0"
+HOMEPAGE = "http://logging.apache.org/log4cxx/"
+# PV = "0.10.0"
+PR = "r1"
+
+SRC_URI = "http://archive.apache.org/dist/logging/log4cxx/log4cxx-0.9.7.tar.gz \
+          file://log4cxx097.patch;patch=1"
+
+#build this:
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+	autotools_stage_all
+}





More information about the Openembedded-commits mailing list