Skip to contentSkip to conversation

xcb_util.inc: Remove packaging and modify SRC_URI for multiple ${BPN} names

PATCH Applied Marko Katic 2 participants 6 messages Mar 16, 2012 – Apr 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 xcb_util.inc: Remove packaging and modify SRC_URI for multiple ${BPN} names

Xcb-util was split into separate packages during the 0.3.6 -> 0.3.8 transition. Update xcb_util.inc to reflect that by removing the older packaging. Libxcbatom, libxcbaux and libxcbevent are merged into libxcbutil. Libxcbicccm, libxcbimage, libxcbkeysyms and libxcbwm are now separate packages. Libxcbproperty and libxcbreply were made obsolete with this commit:

http://cgit.freedesktop.org/xcb/util/commit/?id=81c62e7a04213abefa1ea82819887aaaa3c31a74

---
 meta/recipes-graphics/xcb/xcb-util.inc |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)
meta/recipes-graphics/xcb/xcb-util.inc +1 -15
index cd9923d..7dad545 100644
@@ -18,20 +18,6 @@ DEPENDS += "gperf-native"
 
 PARALLEL_MAKE = ""
 
-SRC_URI = "http://xcb.freedesktop.org/dist/xcb-util-${PV}.tar.bz2"
-
-PACKAGES =+ "libxcbatom libxcbaux libxcbevent libxcbicccm \
-             libxcbimage libxcbkeysyms libxcbproperty \
-             libxcbreply libxcbwm"
-
-FILES_libxcbatom = "${libdir}/libXCBAtom.so.*"
-FILES_libxcbaux = "${libdir}/libXCBAux.so.*"
-FILES_libxcbevent = "${libdir}/libXCBEvent.so.*"
-FILES_libxcbicccm = "${libdir}/libXCBICCCM.so.*"
-FILES_libxcbimage = "${libdir}/libXCBImage.so.*"
-FILES_libxcbkeysyms = "${libdir}/libXCBKeysyms.so.*"
-FILES_libxcbproperty = "${libdir}/libXCBProperty.so.*"
-FILES_libxcbreply = "${libdir}/libXCBReply.so.*"
-FILES_libxcbwm = "${libdir}/libXCBWM.so.*"
+SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2"
 
 inherit autotools pkgconfig
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 2/5 xcb-util-image: Add recipe that provides libxcb-image.

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition. This library was previously provided by xcb-util and is now a separate package.

---
 meta/recipes-graphics/xcb/xcb-util-image_0.3.8.bb |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xcb/xcb-util-image_0.3.8.bb
meta/recipes-graphics/xcb/xcb-util-image_0.3.8.bb new file +10 -0
new file mode 100644
index 0000000..2fb350e
@@ -0,0 +1,10 @@
+require xcb-util.inc
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://image/xcb_image.c;endline=24;md5=eafdf965cfb89955fdedf75054223fb4 \
+                    file://image/xcb_image.h;startline=4;endline=27;md5=4e4f1b0fae5694beed407dea01f38212"
+PR = "r0"
+
+SRC_URI[md5sum] = "245a96041f373b05764148e52d2e0211"
+SRC_URI[sha256sum] = "40390528c26e8231132540f16579b821de68bb2e9152918f72182d5a4038a6d9"
+
Signature · 1 line
1.7.4.1
#2 lore raw

PATCH 3/5 xcb-util-keysyms: Add recipe that provides libxcb-keysyms.

In reply to Marko Katic

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition. This library was previously provided by xcb-util and is now a separate package.

---
 .../recipes-graphics/xcb/xcb-util-keysyms_0.3.8.bb |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xcb/xcb-util-keysyms_0.3.8.bb
meta/recipes-graphics/xcb/xcb-util-keysyms_0.3.8.bb new file +11 -0
new file mode 100644
index 0000000..ed1eb7a
@@ -0,0 +1,11 @@
+require xcb-util.inc
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://keysyms/keysyms.c;endline=30;md5=2f8de023ed823bb92f0b47900574ea9e \
+					"
+PR = "r0"
+
+SRC_URI[md5sum] = "c75bb20e709093580a67eaf263251b50"
+SRC_URI[sha256sum] = "913d32f7afe380c580da7636ee13f2728790237bb5c03def536363f552686121"
+
+
Signature · 1 line
1.7.4.1
#3 lore raw

PATCH 4/5 xcb-util-render: Add recipe that provides libxcb-render-util

In reply to Marko Katic

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition. This library was previously provided by xcb-util and is now a separate package.

---
 .../xcb/xcb-util-renderutil_0.3.8.bb               |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xcb/xcb-util-renderutil_0.3.8.bb
meta/recipes-graphics/xcb/xcb-util-renderutil_0.3.8.bb new file +14 -0
new file mode 100644
index 0000000..c729db8
@@ -0,0 +1,14 @@
+require xcb-util.inc
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://renderutil/glyph.c;endline=24;md5=c517c483b8d726234ec94f9169236661 \
+					file://renderutil/util.c;endline=20;md5=6e0bfc44fb13298c0f4694eb70dc80d4 \
+					file://renderutil/xcb_renderutil.h;md5=c8732d30d204d3b55e956489f635cefb \
+					"
+PR = "r0"
+
+SRC_URI[md5sum] = "b346ff598ee093c141f836fbc0f8f721"
+SRC_URI[sha256sum] = "9789a5c55728fa7bae374d9fdf1c61095869bdc68561911760879095644c7452"
+
+
+
Signature · 1 line
1.7.4.1
#4 lore raw

PATCH 5/5 xcb-util-wm: Add recipe that provides libxcb-icccm and libxcb-ewmh

In reply to Marko Katic

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition. These libraries were previously provided by xcb-util and are now a separate package.

---
 meta/recipes-graphics/xcb/xcb-util-wm_0.3.8.bb |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xcb/xcb-util-wm_0.3.8.bb
meta/recipes-graphics/xcb/xcb-util-wm_0.3.8.bb new file +12 -0
new file mode 100644
index 0000000..91f9a81
@@ -0,0 +1,12 @@
+require xcb-util.inc
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://ewmh/ewmh.c;endline=27;md5=63fd80552d7dc886f4eb267610d5bb9d \
+					file://ewmh/xcb_ewmh.h;startline=4;endline=30;md5=7bcd2d64f5615707f95ea8826a93561f \
+					file://icccm/icccm.c;endline=28;md5=e2b3240a0c197e8977adde2a5cf18d50 \
+					file://icccm/xcb_icccm.h;startline=4;endline=31;md5=0af3f37474085b0517dbbae4cb4ce13c \
+					"
+PR = "r0"
+
+SRC_URI[md5sum] = "dda47289bc846a6a3e07824e9ec3aef8"
+SRC_URI[sha256sum] = "c557abbe4c7d45268f0541ee3d8f9a1a8799692fcc28aa33f39db93cc2e65007"
Signature · 1 line
1.7.4.1
Applied
#5 lore raw
In reply to Marko Katic
Quoted 27 lines · Marko Katic

Xcb-util was split into separate packages during the 0.3.6 -> 0.3.8 transition. Update xcb_util.inc to reflect that by removing the older packaging. Libxcbatom, libxcbaux and libxcbevent are merged into libxcbutil. Libxcbicccm, libxcbimage, libxcbkeysyms and libxcbwm are now separate packages. Libxcbproperty and libxcbreply were made obsolete with this commit:

http://cgit.freedesktop.org/xcb/util/commit/?id=81c62e7a04213abefa1ea82819887aaaa3c31a74

---
  meta/recipes-graphics/xcb/xcb-util.inc |   16 +---------------
  1 files changed, 1 insertions(+), 15 deletions(-)
meta/recipes-graphics/xcb/xcb-util.inc +0 -8
index cd9923d..7dad545 100644
@@ -18,20 +18,6 @@ DEPENDS += "gperf-native"
 
  PARALLEL_MAKE = ""
 
-SRC_URI = "http://xcb.freedesktop.org/dist/xcb-util-${PV}.tar.bz2"
-
-PACKAGES =+ "libxcbatom libxcbaux libxcbevent libxcbicccm \
-             libxcbimage libxcbkeysyms libxcbproperty \
-             libxcbreply libxcbwm"
-
-FILES_libxcbatom = "${libdir}/libXCBAtom.so.*"
-FILES_libxcbaux = "${libdir}/libXCBAux.so.*"

meta/recipes-graphics/xcb/xcb-util.inc DEPENDS += "gperf-native" · line 23

Quoted 10 lines
meta/recipes-graphics/xcb/xcb-util.inc +1 -7
-FILES_libxcbevent = "${libdir}/libXCBEvent.so.*"
-FILES_libxcbicccm = "${libdir}/libXCBICCCM.so.*"
-FILES_libxcbimage = "${libdir}/libXCBImage.so.*"
-FILES_libxcbkeysyms = "${libdir}/libXCBKeysyms.so.*"
-FILES_libxcbproperty = "${libdir}/libXCBProperty.so.*"
-FILES_libxcbreply = "${libdir}/libXCBReply.so.*"
-FILES_libxcbwm = "${libdir}/libXCBWM.so.*"
+SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2"
 
  inherit autotools pkgconfig

Merged into OE-Core

Thanks
Sau!