diff options
author | 2020-03-30 09:24:26 +0900 | |
---|---|---|
committer | 2020-03-30 09:24:26 +0900 | |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/poky/meta/recipes-graphics/xorg-proto | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'external/poky/meta/recipes-graphics/xorg-proto')
4 files changed, 561 insertions, 0 deletions
diff --git a/external/poky/meta/recipes-graphics/xorg-proto/xcb-proto_1.13.bb b/external/poky/meta/recipes-graphics/xorg-proto/xcb-proto_1.13.bb new file mode 100644 index 00000000..d5037868 --- /dev/null +++ b/external/poky/meta/recipes-graphics/xorg-proto/xcb-proto_1.13.bb @@ -0,0 +1,51 @@ +SUMMARY = "XCB: The X protocol C binding headers" +DESCRIPTION = "Function prototypes for the X protocol C-language Binding \ +(XCB). XCB is a replacement for Xlib featuring a small footprint, \ +latency hiding, direct access to the protocol, improved threading \ +support, and extensibility." +HOMEPAGE = "http://xcb.freedesktop.org" +BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB" + +SECTION = "x11/libs" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7 \ + file://src/dri2.xml;beginline=2;endline=28;md5=f8763b13ff432e8597e0d610cf598e65" + +SRC_URI = "http://xcb.freedesktop.org/dist/${BP}.tar.bz2" + +SRC_URI[md5sum] = "abe9aa4886138150bbc04ae4f29b90e3" +SRC_URI[sha256sum] = "7b98721e669be80284e9bbfeab02d2d0d54cd11172b72271e47a2fe875e2bde1" + +inherit autotools pkgconfig + +# Force the use of Python 3 and a specific library path so we don't need to +# depend on python3-native +CACHED_CONFIGUREVARS += "PYTHON=python3 am_cv_python_pythondir=${libdir}/xcb-proto" + +PACKAGES += "python-xcbgen" + +FILES_${PN} = "" +FILES_${PN}-dev += "${datadir}/xcb/*.xml ${datadir}/xcb/*.xsd" +FILES_python-xcbgen = "${libdir}/xcb-proto" + +RDEPENDS_${PN}-dev = "" +RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" + +BBCLASSEXTEND = "native nativesdk" + +# Need to do this dance because we're forcing the use of host Python above and +# if xcb-proto is built with Py3.5 and then re-used from sstate on a host with +# Py3.6 the second build will write new cache files into the sysroot which won't +# be listed in the manifest so won't be deleted, resulting in an error on +# rebuilds. Solve this by deleting the entire cache directory when this package +# is removed from the sysroot. +SSTATEPOSTINSTFUNCS += "xcb_sstate_postinst" +xcb_sstate_postinst() { + if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] + then + cat <<EOF >${SSTATE_INST_POSTRM} +#!/bin/sh +rm -rf ${libdir}/xcb-proto/xcbgen/__pycache__ +EOF + fi +} diff --git a/external/poky/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc b/external/poky/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc new file mode 100644 index 00000000..7a417c97 --- /dev/null +++ b/external/poky/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc @@ -0,0 +1,26 @@ +SUMMARY = "X protocol headers: ${XORG_PN}" +HOMEPAGE = "http://www.x.org" +BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" + +SECTION = "x11/libs" +LICENSE = "MIT-X" + +XORG_PN = "${BPN}" + +SRC_URI = "${XORG_MIRROR}/individual/proto/${XORG_PN}-${PV}.tar.bz2" + +S = "${WORKDIR}/${XORG_PN}-${PV}" + +DEPENDS = "util-macros" + +inherit autotools pkgconfig +EXTRA_OECONF = "--without-fop" + +UNKNOWN_CONFIGURE_WHITELIST += "--without-fop --without-xmlto --with-xmlto" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" + +# ${PN} is empty so we need to tweak -dev and -dbg package dependencies +RDEPENDS_${PN}-dev = "" +RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" diff --git a/external/poky/meta/recipes-graphics/xorg-proto/xorgproto/0001-Remove-libdir-specification.patch b/external/poky/meta/recipes-graphics/xorg-proto/xorgproto/0001-Remove-libdir-specification.patch new file mode 100644 index 00000000..48296f78 --- /dev/null +++ b/external/poky/meta/recipes-graphics/xorg-proto/xorgproto/0001-Remove-libdir-specification.patch @@ -0,0 +1,468 @@ +Upstream-Status: Submitted + +https://cgit.freedesktop.org/xorg/proto/xorgproto/commit/?id=91c1c8e1490c970379efb16784003426faec806e + +From 6feb974e0deb3355908c30e07293d82a3f6996ed Mon Sep 17 00:00:00 2001 +From: Jeremy Puhlman <jpuhlman@mvista.com> +Date: Mon, 11 Jun 2018 16:42:43 +0000 +Subject: [PATCH] Remove libdir specification. + +Currently the pc files define libdir, however they are installed into +/usr/share, which means they should be architecture agnostic. In a +multilib system, xorg-proto built for each multilib abi, the value of +libdir is going to be different. These should either be installed in +<libdir>/pkgconfig or they shouldn't define libdir, espeically since +they don't actually use the definition. This specifically causes an +issue when trying to install both abis at the same time, since they are +not binary identical, something like rpm will complain that they + +--- + applewmproto.pc.in | 1 - + bigreqsproto.pc.in | 1 - + compositeproto.pc.in | 1 - + damageproto.pc.in | 1 - + dmxproto.pc.in | 1 - + dri2proto.pc.in | 1 - + dri3proto.pc.in | 1 - + evieproto.pc.in | 1 - + fixesproto.pc.in | 1 - + fontcacheproto.pc.in | 1 - + fontsproto.pc.in | 1 - + glproto.pc.in | 1 - + inputproto.pc.in | 1 - + kbproto.pc.in | 1 - + lg3dproto.pc.in | 1 - + presentproto.pc.in | 1 - + printproto.pc.in | 1 - + randrproto.pc.in | 1 - + recordproto.pc.in | 1 - + renderproto.pc.in | 1 - + resourceproto.pc.in | 1 - + scrnsaverproto.pc.in | 1 - + trapproto.pc.in | 1 - + videoproto.pc.in | 1 - + windowswmproto.pc.in | 1 - + xcalibrateproto.pc.in | 1 - + xcmiscproto.pc.in | 1 - + xextproto.pc.in | 1 - + xf86bigfontproto.pc.in | 1 - + xf86dgaproto.pc.in | 1 - + xf86driproto.pc.in | 1 - + xf86miscproto.pc.in | 1 - + xf86rushproto.pc.in | 1 - + xf86vidmodeproto.pc.in | 1 - + xineramaproto.pc.in | 1 - + xproto.pc.in | 1 - + xproxymngproto.pc.in | 1 - + 37 files changed, 37 deletions(-) + +diff --git a/applewmproto.pc.in b/applewmproto.pc.in +index 17841ac..3227b21 100644 +--- a/applewmproto.pc.in ++++ b/applewmproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: AppleWMProto +diff --git a/bigreqsproto.pc.in b/bigreqsproto.pc.in +index 94577ed..e21bb59 100644 +--- a/bigreqsproto.pc.in ++++ b/bigreqsproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: BigReqsProto +diff --git a/compositeproto.pc.in b/compositeproto.pc.in +index da429c7..b0dada1 100644 +--- a/compositeproto.pc.in ++++ b/compositeproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: CompositeExt +diff --git a/damageproto.pc.in b/damageproto.pc.in +index 6fd9ef1..bfd5244 100644 +--- a/damageproto.pc.in ++++ b/damageproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: DamageProto +diff --git a/dmxproto.pc.in b/dmxproto.pc.in +index e82ee7d..d140e1c 100644 +--- a/dmxproto.pc.in ++++ b/dmxproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: DMXProto +diff --git a/dri2proto.pc.in b/dri2proto.pc.in +index cb5b171..fa9d24d 100644 +--- a/dri2proto.pc.in ++++ b/dri2proto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: DRI2Proto +diff --git a/dri3proto.pc.in b/dri3proto.pc.in +index e42d60e..20da358 100644 +--- a/dri3proto.pc.in ++++ b/dri3proto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: DRI3Proto +diff --git a/evieproto.pc.in b/evieproto.pc.in +index 64e0ec4..fd5442b 100644 +--- a/evieproto.pc.in ++++ b/evieproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: EvIEExt +diff --git a/fixesproto.pc.in b/fixesproto.pc.in +index f8258e2..c7fcb81 100644 +--- a/fixesproto.pc.in ++++ b/fixesproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: FixesProto +diff --git a/fontcacheproto.pc.in b/fontcacheproto.pc.in +index eb4238b..8ffffe9 100644 +--- a/fontcacheproto.pc.in ++++ b/fontcacheproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: FontcacheProto +diff --git a/fontsproto.pc.in b/fontsproto.pc.in +index 9d22354..ebb61a4 100644 +--- a/fontsproto.pc.in ++++ b/fontsproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: FontsProto +diff --git a/glproto.pc.in b/glproto.pc.in +index b951db5..e97bfc9 100644 +--- a/glproto.pc.in ++++ b/glproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: GLProto +diff --git a/inputproto.pc.in b/inputproto.pc.in +index 1eb6619..270b95c 100644 +--- a/inputproto.pc.in ++++ b/inputproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: InputProto +diff --git a/kbproto.pc.in b/kbproto.pc.in +index bdd39f1..32a172d 100644 +--- a/kbproto.pc.in ++++ b/kbproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: KBProto +diff --git a/lg3dproto.pc.in b/lg3dproto.pc.in +index 3930ad7..43fba29 100644 +--- a/lg3dproto.pc.in ++++ b/lg3dproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: Lg3dProto +diff --git a/presentproto.pc.in b/presentproto.pc.in +index 6ec4b7d..55b84dc 100644 +--- a/presentproto.pc.in ++++ b/presentproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: PresentProto +diff --git a/printproto.pc.in b/printproto.pc.in +index 8a2e2d6..a2da66d 100644 +--- a/printproto.pc.in ++++ b/printproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: PrintProto +diff --git a/randrproto.pc.in b/randrproto.pc.in +index 5a5edb2..6d60cbb 100644 +--- a/randrproto.pc.in ++++ b/randrproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: RandrProto +diff --git a/recordproto.pc.in b/recordproto.pc.in +index 0ff4c0b..a87aa82 100644 +--- a/recordproto.pc.in ++++ b/recordproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: RecordProto +diff --git a/renderproto.pc.in b/renderproto.pc.in +index e6028ac..34b15e0 100644 +--- a/renderproto.pc.in ++++ b/renderproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: RenderProto +diff --git a/resourceproto.pc.in b/resourceproto.pc.in +index a409db9..f927cbb 100644 +--- a/resourceproto.pc.in ++++ b/resourceproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: ResourceProto +diff --git a/scrnsaverproto.pc.in b/scrnsaverproto.pc.in +index 6556a2c..fd9d368 100644 +--- a/scrnsaverproto.pc.in ++++ b/scrnsaverproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: ScrnSaverProto +diff --git a/trapproto.pc.in b/trapproto.pc.in +index 8cb0aa8..8a220b9 100644 +--- a/trapproto.pc.in ++++ b/trapproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: TrapProto +diff --git a/videoproto.pc.in b/videoproto.pc.in +index 14b907a..5c22f7a 100644 +--- a/videoproto.pc.in ++++ b/videoproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: VideoProto +diff --git a/windowswmproto.pc.in b/windowswmproto.pc.in +index 0a2ec0b..ec56e82 100644 +--- a/windowswmproto.pc.in ++++ b/windowswmproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: WindowsWMProto +diff --git a/xcalibrateproto.pc.in b/xcalibrateproto.pc.in +index 40b6fd0..f1ea5de 100644 +--- a/xcalibrateproto.pc.in ++++ b/xcalibrateproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XCalibrate +diff --git a/xcmiscproto.pc.in b/xcmiscproto.pc.in +index 0dfbf21..b72bbc6 100644 +--- a/xcmiscproto.pc.in ++++ b/xcmiscproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XCMiscProto +diff --git a/xextproto.pc.in b/xextproto.pc.in +index f66eeae..9419c91 100644 +--- a/xextproto.pc.in ++++ b/xextproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XExtProto +diff --git a/xf86bigfontproto.pc.in b/xf86bigfontproto.pc.in +index 18c5647..4a67be6 100644 +--- a/xf86bigfontproto.pc.in ++++ b/xf86bigfontproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XF86BigFontProto +diff --git a/xf86dgaproto.pc.in b/xf86dgaproto.pc.in +index 5c5f8b1..e029cd4 100644 +--- a/xf86dgaproto.pc.in ++++ b/xf86dgaproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XF86DGAProto +diff --git a/xf86driproto.pc.in b/xf86driproto.pc.in +index 93df292..c8faf14 100644 +--- a/xf86driproto.pc.in ++++ b/xf86driproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XF86DRIProto +diff --git a/xf86miscproto.pc.in b/xf86miscproto.pc.in +index af73fa3..05d5d9e 100644 +--- a/xf86miscproto.pc.in ++++ b/xf86miscproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XF86MiscProto +diff --git a/xf86rushproto.pc.in b/xf86rushproto.pc.in +index fc5f63b..1c7ff1b 100644 +--- a/xf86rushproto.pc.in ++++ b/xf86rushproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XF86RushProto +diff --git a/xf86vidmodeproto.pc.in b/xf86vidmodeproto.pc.in +index fcb74f2..ef062b3 100644 +--- a/xf86vidmodeproto.pc.in ++++ b/xf86vidmodeproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XF86VidModeProto +diff --git a/xineramaproto.pc.in b/xineramaproto.pc.in +index 1ffd37d..9172f1e 100644 +--- a/xineramaproto.pc.in ++++ b/xineramaproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XineramaProto +diff --git a/xproto.pc.in b/xproto.pc.in +index 8ff2d3d..899316a 100644 +--- a/xproto.pc.in ++++ b/xproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + includex11dir=@includedir@/X11 + +diff --git a/xproxymngproto.pc.in b/xproxymngproto.pc.in +index 5c6fad6..1a81e28 100644 +--- a/xproxymngproto.pc.in ++++ b/xproxymngproto.pc.in +@@ -1,6 +1,5 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ + includedir=@includedir@ + + Name: XProxyManagementProtocol +-- +2.11.1 + diff --git a/external/poky/meta/recipes-graphics/xorg-proto/xorgproto_2018.4.bb b/external/poky/meta/recipes-graphics/xorg-proto/xorgproto_2018.4.bb new file mode 100644 index 00000000..cec6e875 --- /dev/null +++ b/external/poky/meta/recipes-graphics/xorg-proto/xorgproto_2018.4.bb @@ -0,0 +1,16 @@ +require xorg-proto-common.inc + +SUMMARY = "XCalibrate: Touchscreen calibration headers" + +DESCRIPTION = "This package provides the headers and specification documents defining \ +the core protocol and (many) extensions for the X Window System" + +LICENSE = "MIT-style" +LIC_FILES_CHKSUM = "file://COPYING-x11proto;md5=b9e051107d5628966739a0b2e9b32676" + +SRC_URI += "file://0001-Remove-libdir-specification.patch" + +SRC_URI[md5sum] = "81557ca47ee66a4e54590fcdadd28114" +SRC_URI[sha256sum] = "fee885e0512899ea5280c593fdb2735beb1693ad170c22ebcc844470eec415a0" + +BBCLASSEXTEND = "native nativesdk" |