[oe-commits] Martin Jansa : libpthread-stubs: add version 0.3 and convert to new staging

git version control git at git.openembedded.org
Tue Jun 29 15:22:47 UTC 2010


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

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Tue Jun 29 14:17:51 2010 +0200

libpthread-stubs: add version 0.3 and convert to new staging

* version 0.3 has D_P -1, because it doesn't create libpthread-stubs.la,
  source tarball diff doesn't show the reason and also log.do_configure
  diff looks right.

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/xcb/libpthread-stubs_0.1.bb |    5 +----
 recipes/xcb/libpthread-stubs_0.2.bb |    5 +----
 recipes/xcb/libpthread-stubs_0.3.bb |   20 ++++++++++++++++++++
 3 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/recipes/xcb/libpthread-stubs_0.1.bb b/recipes/xcb/libpthread-stubs_0.1.bb
index 1fbb4fc..0f2dd10 100644
--- a/recipes/xcb/libpthread-stubs_0.1.bb
+++ b/recipes/xcb/libpthread-stubs_0.1.bb
@@ -3,6 +3,7 @@ not provided in libc or otherwise available by default."
 SECTION = "x11/libs"
 LICENSE = "MIT-X"
 HOMEPAGE = "http://xcb.freedesktop.org"
+PR = "r1"
 
 PARALLEL_MAKE = ""
 #DEPENDS = "xcb-proto xproto libxau libxslt-native"
@@ -12,9 +13,5 @@ SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2"
 
 inherit autotools pkgconfig
 
-do_stage() {
-	autotools_stage_all
-}
-
 SRC_URI[md5sum] = "774eabaf33440d534efe108ef9130a7d"
 SRC_URI[sha256sum] = "004dae11e11598584939d66d26a5ab9b48d08a00ca2d00ae8d38ee3ac7a15d65"
diff --git a/recipes/xcb/libpthread-stubs_0.2.bb b/recipes/xcb/libpthread-stubs_0.2.bb
index bca1631..068c667 100644
--- a/recipes/xcb/libpthread-stubs_0.2.bb
+++ b/recipes/xcb/libpthread-stubs_0.2.bb
@@ -3,6 +3,7 @@ not provided in libc or otherwise available by default."
 SECTION = "x11/libs"
 LICENSE = "MIT-X"
 HOMEPAGE = "http://xcb.freedesktop.org"
+PR = "r1"
 
 PARALLEL_MAKE = ""
 #DEPENDS = "xcb-proto xproto libxau libxslt-native"
@@ -12,9 +13,5 @@ SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2"
 
 inherit autotools pkgconfig
 
-do_stage() {
-	autotools_stage_all
-}
-
 SRC_URI[md5sum] = "2ba9ce2d46da0a2a1090384ece3387ff"
 SRC_URI[sha256sum] = "d4c47c24e5ec07e974a7ef8f55b2907dd7fa8de82e291a02b15f8c4a7028bf48"
diff --git a/recipes/xcb/libpthread-stubs_0.3.bb b/recipes/xcb/libpthread-stubs_0.3.bb
new file mode 100644
index 0000000..bad516e
--- /dev/null
+++ b/recipes/xcb/libpthread-stubs_0.3.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "This library provides weak aliases for pthread functions \
+not provided in libc or otherwise available by default."
+SECTION = "x11/libs"
+LICENSE = "MIT-X"
+HOMEPAGE = "http://xcb.freedesktop.org"
+PR = "r1"
+
+# For unknown reason doesn't create libpthread-stubs.la
+DEFAULT_PREFERENCE = "-1"
+
+PARALLEL_MAKE = ""
+#DEPENDS = "xcb-proto xproto libxau libxslt-native"
+# DEPENDS += "xsltproc-native gperf-native"
+
+SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2"
+
+inherit autotools pkgconfig
+
+SRC_URI[md5sum] = "e8fa31b42e13f87e8f5a7a2b731db7ee"
+SRC_URI[sha256sum] = "35b6d54e3cc6f3ba28061da81af64b9a92b7b757319098172488a660e3d87299"





More information about the Openembedded-commits mailing list