summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-proto/xcb-proto_1.14.1.bb
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2020-10-28 10:43:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-30 13:22:48 +0000
commit6a8d75d478f3b6db4e679b3e5e662439ec5611f2 (patch)
tree1fc1c1d3a180eb5ecf76d340850abb4c3a347d67 /meta/recipes-graphics/xorg-proto/xcb-proto_1.14.1.bb
parentcc24bcf076c509bc5b36d7412505f5ba6a3f39de (diff)
downloadpoky-6a8d75d478f3b6db4e679b3e5e662439ec5611f2.tar.gz
xcb-proto: update to 1.14.1
This fixes [1] the following build error for nativesdk on Fedora 33 which is caused by the removal of fractions.gcd() in favor of math.gcd() in python 3.9 [2]: ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib64/python3.9/fractions.py) Furthermore the SRC_URI is adapted as the old one doesn't provide the 1.14.1 archive. [1] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/426ae35bee1fa0fdb8b5120b1dcd20cee6e34512 [2] https://bugs.python.org/issue39350 (From OE-Core rev: 1476d40d3ef4f959f7c0e61a3c1dc63acaa90b31) Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-proto/xcb-proto_1.14.1.bb')
-rw-r--r--meta/recipes-graphics/xorg-proto/xcb-proto_1.14.1.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.14.1.bb b/meta/recipes-graphics/xorg-proto/xcb-proto_1.14.1.bb
new file mode 100644
index 0000000000..52e474a2e9
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.14.1.bb
@@ -0,0 +1,28 @@
1SUMMARY = "XCB: The X protocol C binding headers"
2DESCRIPTION = "Function prototypes for the X protocol C-language Binding \
3(XCB). XCB is a replacement for Xlib featuring a small footprint, \
4latency hiding, direct access to the protocol, improved threading \
5support, and extensibility."
6HOMEPAGE = "http://xcb.freedesktop.org"
7BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
8
9SECTION = "x11/libs"
10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7 \
12 file://src/dri2.xml;beginline=2;endline=28;md5=f8763b13ff432e8597e0d610cf598e65"
13
14SRC_URI = "https://xorg.freedesktop.org/archive/individual/proto/${BP}.tar.xz"
15SRC_URI[sha256sum] = "f04add9a972ac334ea11d9d7eb4fc7f8883835da3e4859c9afa971efdf57fcc3"
16
17inherit autotools pkgconfig python3native
18
19PACKAGES += "python-xcbgen"
20
21FILES_${PN} = ""
22FILES_${PN}-dev += "${datadir}/xcb/*.xml ${datadir}/xcb/*.xsd"
23FILES_python-xcbgen = "${PYTHON_SITEPACKAGES_DIR}"
24
25RDEPENDS_${PN}-dev = ""
26RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
27
28BBCLASSEXTEND = "native nativesdk"