Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
SUMMARY = "X font encoding library"
|
||||
|
||||
DESCRIPTION = "libfontenc is a library which helps font libraries \
|
||||
portably determine and deal with different encodings of fonts."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=96254c20ab81c63e65b26f0dbcd4a1c1"
|
||||
|
||||
DEPENDS += "zlib xorgproto font-util"
|
||||
PE = "1"
|
||||
|
||||
SRC_URI[sha256sum] = "c0d36991faee06551ddbaf5d99266e97becdc05edfae87a833c3ff7bf73cfec2"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
27
sources/poky/meta/recipes-graphics/xorg-lib/libice_1.1.1.bb
Normal file
27
sources/poky/meta/recipes-graphics/xorg-lib/libice_1.1.1.bb
Normal file
@@ -0,0 +1,27 @@
|
||||
SUMMARY = "ICE: Inter-Client Exchange library"
|
||||
|
||||
DESCRIPTION = "The Inter-Client Exchange (ICE) protocol provides a \
|
||||
generic framework for building protocols on top of reliable, byte-stream \
|
||||
transport connections. It provides basic mechanisms for setting up and \
|
||||
shutting down connections, for performing authentication, for \
|
||||
negotiating versions, and for reporting errors. "
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d162b1b3c6fa812da9d804dcf8584a93"
|
||||
|
||||
DEPENDS += "xorgproto xtrans"
|
||||
PROVIDES = "ice"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libICE"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI[sha256sum] = "03e77afaf72942c7ac02ccebb19034e6e20f456dcf8dddadfeb572aa5ad3e451"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
|
||||
PACKAGECONFIG[arc4] = "ac_cv_lib_bsd_arc4random_buf=yes,ac_cv_lib_bsd_arc4random_buf=no,libbsd"
|
||||
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||
@@ -0,0 +1,26 @@
|
||||
SUMMARY = "Generic PCI access library for X"
|
||||
|
||||
DESCRIPTION = "libpciaccess provides functionality for X to access the \
|
||||
PCI bus and devices in a platform-independent way."
|
||||
|
||||
HOMEPAGE = "http://www.x.org"
|
||||
BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
|
||||
|
||||
SECTION = "x11/libs"
|
||||
LICENSE = "MIT"
|
||||
DEPENDS = "util-macros"
|
||||
|
||||
SRC_URI = "${XORG_MIRROR}/individual/lib/${BP}.tar.xz"
|
||||
|
||||
inherit features_check pkgconfig meson
|
||||
|
||||
REQUIRED_DISTRO_FEATURES ?= "x11"
|
||||
|
||||
SRC_URI[sha256sum] = "5461b0257d495254346f52a9c329b44b346262663675d3fecdb204a7e7c262a9"
|
||||
|
||||
LICENSE = "MIT & MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=54c978968e565218eea36cf03ef24352"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = ""
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Library that provides weak aliases for pthread functions"
|
||||
DESCRIPTION = "This library provides weak aliases for pthread functions \
|
||||
not provided in libc or otherwise available by default."
|
||||
HOMEPAGE = "http://xcb.freedesktop.org"
|
||||
BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=XCB"
|
||||
SECTION = "x11/libs"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6edc1fea03d959f0c2d743fe5ca746ad"
|
||||
|
||||
SRC_URI = "http://xcb.freedesktop.org/dist/${BP}.tar.xz"
|
||||
SRC_URI[sha256sum] = "59da566decceba7c2a7970a4a03b48d9905f1262ff94410a649224e33d2442bc"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DEV_PKG_DEPENDENCY = ""
|
||||
RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
30
sources/poky/meta/recipes-graphics/xorg-lib/libsm_1.2.4.bb
Normal file
30
sources/poky/meta/recipes-graphics/xorg-lib/libsm_1.2.4.bb
Normal file
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "SM: Session Management library"
|
||||
|
||||
DESCRIPTION = "The Session Management Library (SMlib) is a low-level \"C\" \
|
||||
language interface to XSMP. The purpose of the X Session Management \
|
||||
Protocol (XSMP) is to provide a uniform mechanism for users to save and \
|
||||
restore their sessions. A session is a group of clients, each of which \
|
||||
has a particular state."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb37f44e02bdbde80546024400728d"
|
||||
|
||||
DEPENDS += "libice xorgproto xtrans"
|
||||
|
||||
# libSM can work without libuuid, we explicitly disable it to break the following circular dependency
|
||||
# when DISTRO_FEATURES contains 'systemd' and 'x11'.
|
||||
# systemd -> dbus -> libsm -> util-linux -> systemd
|
||||
EXTRA_OECONF += "--without-libuuid"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libSM"
|
||||
|
||||
SRC_URI[sha256sum] = "fdcbe51e4d1276b1183da77a8a4e74a137ca203e0bcfb20972dd5f3347e97b84"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
|
||||
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,90 @@
|
||||
From e1f9b0b531c6ddb11a85c0664051e2e4efc589fb Mon Sep 17 00:00:00 2001
|
||||
From: Ming Liu <ming.liu@toradex.com>
|
||||
Date: Sun, 5 May 2019 11:55:14 +0200
|
||||
Subject: [PATCH] Drop x11 dependencies
|
||||
|
||||
Upstream-Status: Inappropriate [OE-Specific]
|
||||
|
||||
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
||||
|
||||
Rebase for version 1.8.3.
|
||||
|
||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||
---
|
||||
configure.ac | 44 --------------------------------------------
|
||||
1 file changed, 44 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 33d0102..50e2d93 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -76,27 +76,8 @@ fi
|
||||
AC_SUBST([EXEEXT_FOR_BUILD])
|
||||
|
||||
# Checks for pkg-config packages
|
||||
-
|
||||
-# Always required
|
||||
-X11_REQUIRES='xproto >= 7.0.25 xextproto xtrans xcb >= 1.11.1'
|
||||
-X11_EXTRA_DEPS="xcb >= 1.11.1"
|
||||
-
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
|
||||
-AC_SUBST(X11_EXTRA_DEPS)
|
||||
-
|
||||
-# Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
|
||||
-# was not expanded, since libX11 with no transport types is rather useless.
|
||||
-#
|
||||
-# If you're seeing an error here, be sure you installed the lib/xtrans module
|
||||
-# first and if it's not in the default location, that you set the ACLOCAL
|
||||
-# environment variable to find it, such as:
|
||||
-# ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
|
||||
-m4_pattern_forbid([^XTRANS_CONNECTION_FLAGS$])
|
||||
-
|
||||
-# Transport selection macro from xtrans.m4
|
||||
-XTRANS_CONNECTION_FLAGS
|
||||
-
|
||||
# Check for dlopen
|
||||
AC_MSG_CHECKING([if run-time linking is supported])
|
||||
AC_SEARCH_LIBS(dlopen,[dl svld])
|
||||
@@ -255,30 +236,6 @@ AC_SUBST(USE_THREAD_LIBS)
|
||||
|
||||
AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
|
||||
|
||||
-#
|
||||
-# Find keysymdef.h
|
||||
-#
|
||||
-AC_MSG_CHECKING([keysym definitions])
|
||||
-AC_ARG_WITH([keysymdefdir],
|
||||
- [AC_HELP_STRING([--with-keysymdefdir=DIR], [The location of keysymdef.h (defaults to xproto include dir)])],
|
||||
- [KEYSYMDEFDIR=$withval],
|
||||
- [KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11])
|
||||
-
|
||||
-if test ! -d "$KEYSYMDEFDIR"; then
|
||||
- AC_MSG_ERROR([$KEYSYMDEFDIR doesn't exist or isn't a directory])
|
||||
-fi
|
||||
-
|
||||
-FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
|
||||
-for i in $FILES; do
|
||||
- if test -f "$KEYSYMDEFDIR/$i"; then
|
||||
- KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
|
||||
- elif test "x$i" = "xkeysymdef.h"; then
|
||||
- AC_MSG_ERROR([Cannot find keysymdef.h])
|
||||
- fi
|
||||
-done
|
||||
-AC_MSG_RESULT([$KEYSYMDEFS])
|
||||
-AC_SUBST(KEYSYMDEFS)
|
||||
-
|
||||
AC_ARG_ENABLE(xcms,
|
||||
AS_HELP_STRING([--disable-xcms],
|
||||
[Disable Xlib support for CMS *EXPERIMENTAL*]),
|
||||
@@ -358,7 +315,6 @@ X11_LIBDIR="${libdir}/X11"
|
||||
AX_DEFINE_DIR(X11_LIBDIR, X11_LIBDIR, [Location of libX11 library data])
|
||||
AC_SUBST(X11_LIBDIR)
|
||||
|
||||
-PKG_CHECK_MODULES(X11, [$X11_REQUIRES])
|
||||
X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
|
||||
|
||||
#
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "Xlib: Compose data files for libx11"
|
||||
DESCRIPTION = "This package provides the compose data files for libx11."
|
||||
|
||||
python () {
|
||||
if bb.utils.contains('DISTRO_FEATURES', 'x11', True, False, d):
|
||||
raise bb.parse.SkipRecipe("libx11-compose-data is incompatible with x11 distro feature, use libx11 instead.")
|
||||
}
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT & BSD-1-Clause & HPND & HPND-sell-variant & ISC"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1d49cdd2b386c5db11ec636d680b7116"
|
||||
|
||||
XORG_PN = "libX11"
|
||||
|
||||
SRC_URI += "file://0001-Drop-x11-dependencies.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "c9a287a5aefa9804ce3cfafcf516fe96ed3f7e8e45c0e2ee59e84c86757df518"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = ""
|
||||
|
||||
EXTRA_OECONF += "--disable-xkb"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake -C nls
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} -C nls install
|
||||
}
|
||||
|
||||
PACKAGES = "${PN}"
|
||||
|
||||
FILES:${PN} = "${datadir}/X11/locale ${libdir}/X11/locale"
|
||||
@@ -0,0 +1,22 @@
|
||||
Upstream-Status: Inappropriate [disable feature]
|
||||
|
||||
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
|
||||
|
||||
Update for 1.6.1
|
||||
|
||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||
|
||||
diff -Nurd libX11-1.5.0/nls/Makefile.am libX11-1.5.0/nls/Makefile.am
|
||||
--- libX11-1.5.0/nls/Makefile.am 2012-06-02 09:37:18.000000000 +0300
|
||||
+++ libX11-1.5.0/nls/Makefile.am 2013-01-02 16:10:24.960156131 +0200
|
||||
@@ -36,11 +36,6 @@
|
||||
< locale.dir.l1 > locale.dir.l2
|
||||
cat locale.dir.l2 locale.dir.l1 > locale.dir
|
||||
|
||||
-if HAVE_PERL
|
||||
-LOG_COMPILER = $(PERL)
|
||||
-TESTS = compose-check.pl
|
||||
-endif HAVE_PERL
|
||||
-
|
||||
|
||||
# Per-locale data files
|
||||
43
sources/poky/meta/recipes-graphics/xorg-lib/libx11_1.8.9.bb
Normal file
43
sources/poky/meta/recipes-graphics/xorg-lib/libx11_1.8.9.bb
Normal file
@@ -0,0 +1,43 @@
|
||||
SUMMARY = "Xlib: C Language X Interface library"
|
||||
|
||||
DESCRIPTION = "This package provides a client interface to the X Window \
|
||||
System, otherwise known as 'Xlib'. It provides a complete API for the \
|
||||
basic functions of the window system."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT & BSD-1-Clause & HPND & HPND-sell-variant & ISC"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1d49cdd2b386c5db11ec636d680b7116"
|
||||
|
||||
DEPENDS += "xorgproto \
|
||||
xtrans \
|
||||
libxcb \
|
||||
xorgproto-native \
|
||||
autoconf-archive-native \
|
||||
"
|
||||
|
||||
PROVIDES = "virtual/libx11"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libX11"
|
||||
|
||||
SRC_URI += "file://disable_tests.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "779d8f111d144ef93e2daa5f23a762ce9555affc99592844e71c4243d3bd3262"
|
||||
|
||||
inherit gettext
|
||||
|
||||
EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11/ --disable-xf86bigfont"
|
||||
EXTRA_OEMAKE += 'CWARNFLAGS=""'
|
||||
|
||||
PACKAGECONFIG ??= "xcms"
|
||||
PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms"
|
||||
|
||||
PACKAGES =+ "${PN}-xcb"
|
||||
|
||||
FILES:${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt"
|
||||
FILES:${PN}-xcb += "${libdir}/libX11-xcb.so.*"
|
||||
FILES:${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
23
sources/poky/meta/recipes-graphics/xorg-lib/libxau_1.0.11.bb
Normal file
23
sources/poky/meta/recipes-graphics/xorg-lib/libxau_1.0.11.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "Xau: X Authority Database library"
|
||||
|
||||
DESCRIPTION = "libxau provides the main interfaces to the X11 \
|
||||
authorisation handling, which controls authorisation for X connections, \
|
||||
both client-side and server-side."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
inherit gettext
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7908e342491198401321cec1956807ec"
|
||||
|
||||
DEPENDS += " xorgproto"
|
||||
PROVIDES = "xau"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXau"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI[sha256sum] = "f3fa3282f5570c3f6bd620244438dbfbdd580fc80f02f549587a0f8ab329bbeb"
|
||||
@@ -0,0 +1,45 @@
|
||||
From d55b6b1fa87700f3eae3a29522972d2e7be7d53e Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 14 Jan 2023 10:11:35 -0800
|
||||
Subject: [PATCH] use _Alignof to avoid UB in ALIGNOF
|
||||
|
||||
WG14 N2350 clearly says that it is an UB having type definitions
|
||||
within "offsetof" [1]. Clang 16+ has started diagnosing it [2].
|
||||
This patch changes the implementation of macro
|
||||
"ALIGNOF" to builtin "_Alignof" to avoid undefined behavior.
|
||||
|
||||
_Alignof() return the ABI required minimum alignment.
|
||||
|
||||
[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm
|
||||
[2] https://reviews.llvm.org/D133574
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.freedesktop.org/xorg/lib/libxcb/-/merge_requests/42]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/c_client.py | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/c_client.py b/src/c_client.py
|
||||
index fd256f0..4e48f13 100644
|
||||
--- a/src/c_client.py
|
||||
+++ b/src/c_client.py
|
||||
@@ -288,7 +288,6 @@ def c_open(self):
|
||||
_c('#include "%s.h"', _ns.header)
|
||||
|
||||
_c('')
|
||||
- _c('#define ALIGNOF(type) offsetof(struct { char dummy; type member; }, member)')
|
||||
|
||||
if _ns.is_ext:
|
||||
for (n, h) in self.direct_imports:
|
||||
@@ -1266,7 +1265,7 @@ def _c_serialize_helper_fields(context, self,
|
||||
count += 1
|
||||
|
||||
code_lines.append(
|
||||
- '%s xcb_align_to = ALIGNOF(%s);'
|
||||
+ '%s xcb_align_to = _Alignof(%s);'
|
||||
% (space,
|
||||
'char'
|
||||
if field.c_field_type == 'void' or field.type.is_switch
|
||||
--
|
||||
2.39.0
|
||||
|
||||
38
sources/poky/meta/recipes-graphics/xorg-lib/libxcb_1.16.bb
Normal file
38
sources/poky/meta/recipes-graphics/xorg-lib/libxcb_1.16.bb
Normal file
@@ -0,0 +1,38 @@
|
||||
SUMMARY = "XCB: The X protocol C binding library"
|
||||
DESCRIPTION = "The X protocol C-language Binding (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"
|
||||
|
||||
SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.xz \
|
||||
file://0001-use-_Alignof-to-avoid-UB-in-ALIGNOF.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "4348566aa0fbf196db5e0a576321c65966189210cb51328ea2bb2be39c711d71"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
DEPENDS = "xcb-proto xorgproto libxau libpthread-stubs libxdmcp"
|
||||
|
||||
PACKAGES_DYNAMIC = "^${PN}-.*"
|
||||
|
||||
FILES:${PN} = "${libdir}/libxcb.so.*"
|
||||
|
||||
inherit autotools pkgconfig features_check
|
||||
|
||||
# The libxau and others requires x11 in DISTRO_FEATURES
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
export PYTHON = "python3"
|
||||
|
||||
do_install:append () {
|
||||
chown root.root ${D}${datadir}/doc/${BPN}/tutorial -R
|
||||
}
|
||||
|
||||
python populate_packages:prepend () {
|
||||
do_split_packages(d, '${libdir}', r'^libxcb-(.*)\.so\..*$', '${PN}-%s', 'XCB library module for %s', allow_links=True)
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "Xcomposite: X Composite extension library"
|
||||
|
||||
DESCRIPTION = "The composite extension provides three related \
|
||||
mechanisms: per-hierarchy storage, automatic shadow update, and external \
|
||||
parent. In per-hierarchy storage, the rendering of an entire hierarchy \
|
||||
of windows is redirected to off-screen storage. In automatic shadow \
|
||||
update, when a hierarchy is rendered off-screen, the X server provides \
|
||||
an automatic mechanism for presenting those contents within the parent \
|
||||
window. In external parent, a mechanism for providing redirection of \
|
||||
compositing transformations through a client."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=3f2907aad541f6f226fbc58cc1b3cdf1"
|
||||
|
||||
DEPENDS += " xorgproto virtual/libx11 libxfixes libxext"
|
||||
PROVIDES = "xcomposite"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXcomposite"
|
||||
|
||||
SRC_URI[sha256sum] = "fe40bcf0ae1a09070eba24088a5eb9810efe57453779ec1e20a55080c6dc2c87"
|
||||
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "Xcursor: X Cursor management library"
|
||||
|
||||
DESCRIPTION = "Xcursor is a simple library designed to help locate and \
|
||||
load cursors. Cursors can be loaded from files or memory. A library of \
|
||||
common cursors exists which map to the standard X cursor names. Cursors \
|
||||
can exist in several sizes and the library automatically picks the best \
|
||||
size."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.xz"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=dbf3bd0f2348eeccd0f217146ba26250"
|
||||
|
||||
DEPENDS += "libxrender libxfixes"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXcursor"
|
||||
|
||||
SRC_URI[sha256sum] = "53d071bd2cc56e517a30998d5e685c8a74556ddada43c6985d14da9a023a88ee"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
19
sources/poky/meta/recipes-graphics/xorg-lib/libxcvt_0.1.2.bb
Normal file
19
sources/poky/meta/recipes-graphics/xorg-lib/libxcvt_0.1.2.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "Library providing a standalone version of the X server \
|
||||
implementation of the VESA CVT standard timing modelines generator"
|
||||
HOMEPAGE = "https://gitlab.freedesktop.org/xorg/lib/libxcvt"
|
||||
BUGTRACKER = "https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/issues"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=129947a06984d6faa6f9a9788fa2a03f"
|
||||
SECTION = "x11/libs"
|
||||
|
||||
SRC_URI = "git://gitlab.freedesktop.org/xorg/lib/libxcvt.git;protocol=https;branch=master"
|
||||
SRCREV = "d9ca87eea9eecddaccc3a77227bcb3acf84e89df"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson
|
||||
|
||||
FILES:${PN} = " \
|
||||
${libdir}/libxcvt.so.0* \
|
||||
${bindir}/cvt \
|
||||
"
|
||||
@@ -0,0 +1,28 @@
|
||||
SUMMARY = "Xdamage: X Damage extension library"
|
||||
|
||||
DESCRIPTION = "'Damage' is a term that describes changes make to pixel \
|
||||
contents of windows and pixmaps. Damage accumulates as drawing occurs \
|
||||
in the drawable. Each drawing operation 'damages' one or more \
|
||||
rectangular areas within the drawable. The rectangles are guaranteed to \
|
||||
include the set of pixels modified by each operation, but may include \
|
||||
significantly more than just those pixels. The DAMAGE extension allows \
|
||||
applications to either receive the raw rectangles as a stream of events, \
|
||||
or to have them partially processed within the X server to reduce the \
|
||||
amount of data transmitted as well as reduce the processing latency once \
|
||||
the repaint operation has started."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=9fe101f30dd24134cf43146863241868"
|
||||
|
||||
DEPENDS += "virtual/libx11 xorgproto libxfixes"
|
||||
PROVIDES = "xdamage"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXdamage"
|
||||
|
||||
SRC_URI[sha256sum] = "52733c1f5262fca35f64e7d5060c6fcd81a880ba8e1e65c9621cf0727afb5d11"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,28 @@
|
||||
SUMMARY = "XDMCP: X Display Manager Control Protocol library"
|
||||
|
||||
DESCRIPTION = "The purpose of the X Display Manager Control Protocol \
|
||||
(XDMCP) is to provide a uniform mechanism for an autonomous display to \
|
||||
request login service from a remote host. An X terminal (screen, \
|
||||
keyboard, mouse, processor, network interface) is a prime example of an \
|
||||
autonomous display."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
inherit gettext
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d559fb26e129626022e052a5e6e0e123"
|
||||
|
||||
DEPENDS += "xorgproto"
|
||||
PROVIDES = "xdmcp"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXdmcp"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI[sha256sum] = "2dce5cc317f8f0b484ec347d87d81d552cdbebb178bd13c5d8193b6b7cd6ad00"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[arc4] = "ac_cv_lib_bsd_arc4random_buf=yes,ac_cv_lib_bsd_arc4random_buf=no,libbsd"
|
||||
24
sources/poky/meta/recipes-graphics/xorg-lib/libxext_1.3.6.bb
Normal file
24
sources/poky/meta/recipes-graphics/xorg-lib/libxext_1.3.6.bb
Normal file
@@ -0,0 +1,24 @@
|
||||
SUMMARY = "XExt: X Extension library"
|
||||
|
||||
DESCRIPTION = "libXext provides an X Window System client interface to \
|
||||
several extensions to the X protocol. The supported protocol extensions \
|
||||
are DOUBLE-BUFFER, DPMS, Extended-Visual-Information, LBX, MIT_SHM, \
|
||||
MIT_SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP, \
|
||||
XC-APPGROUP, XC-MISC, XTEST. libXext also provides a small set of \
|
||||
utility functions to aid authors of client APIs for X protocol \
|
||||
extensions."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4234bb3b2f1521ea101e4e9db7c33c69"
|
||||
|
||||
DEPENDS += "xorgproto virtual/libx11"
|
||||
PROVIDES = "xext"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXext"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI[sha256sum] = "edb59fa23994e405fdc5b400afdf5820ae6160b94f35e3dc3da4457a16e89753"
|
||||
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "XFixes: X Fixes extension library"
|
||||
|
||||
DESCRIPTION = "X applications have often needed to work around various \
|
||||
shortcomings in the core X window system. This extension is designed to \
|
||||
provide the minimal server-side support necessary to eliminate problems \
|
||||
caused by these workarounds."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
SRC_URI[sha256sum] = "b695f93cd2499421ab02d22744458e650ccc88c1d4c8130d60200213abc02d58"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=a5a9755c8921cc7dc08a5cfe4267d0ff"
|
||||
|
||||
DEPENDS += "virtual/libx11 xorgproto"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXfixes"
|
||||
XORG_EXT = "tar.xz"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "XFont2: X Font rasterisation library"
|
||||
|
||||
DESCRIPTION = "libXfont2 provides various services for X servers, most \
|
||||
notably font selection and rasterisation (through external libraries \
|
||||
such as freetype)."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT & MIT & BSD-4-Clause & BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=a46c8040f2f737bcd0c435feb2ab1c2c"
|
||||
|
||||
DEPENDS += "freetype xtrans xorgproto libfontenc zlib"
|
||||
|
||||
XORG_PN = "libXfont2"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
SRC_URI[sha256sum] = "74ca20017eb0fb3f56d8d5e60685f560fc85e5ff3d84c61c4cb891e40c27aef4"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
|
||||
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||
|
||||
CVE_PRODUCT = "libxfont libxfont2"
|
||||
@@ -0,0 +1,26 @@
|
||||
SUMMARY = "XFont: X Font rasterisation library"
|
||||
|
||||
DESCRIPTION = "libXfont provides various services for X servers, most \
|
||||
notably font selection and rasterisation (through external libraries \
|
||||
such as freetype)."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT & MIT & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=a46c8040f2f737bcd0c435feb2ab1c2c"
|
||||
|
||||
DEPENDS += "freetype xtrans xorgproto libfontenc zlib"
|
||||
PROVIDES = "xfont"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXfont"
|
||||
XORG_EXT = "tar.bz2"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
SRC_URI[md5sum] = "16eaf156edd79b68038b6a7c44aa9e9b"
|
||||
SRC_URI[sha256sum] = "1a7f7490774c87f2052d146d1e0e64518d32e6848184a18654e8d0bb57883242"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
|
||||
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||
32
sources/poky/meta/recipes-graphics/xorg-lib/libxft_2.3.8.bb
Normal file
32
sources/poky/meta/recipes-graphics/xorg-lib/libxft_2.3.8.bb
Normal file
@@ -0,0 +1,32 @@
|
||||
SUMMARY = "XFt: X FreeType libary"
|
||||
|
||||
DESCRIPTION = "Xft was designed to provide good support for scalable \
|
||||
fonts, and to do so efficiently. Unlike the core fonts system, it \
|
||||
supports features such as anti-aliasing and sub-pixel rasterisation. \
|
||||
Perhaps more importantly, it gives applications full control over the \
|
||||
way glyphs are rendered, making fine typesetting and WYSIWIG display \
|
||||
possible. Finally, it allows applications to use fonts that are not \
|
||||
installed system-wide for displaying documents with embedded fonts. Xft \
|
||||
is not compatible with the core fonts system: usage of Xft requires \
|
||||
fairly extensive changes to toolkits (user-interface libraries)."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=90b90b60eb30f65fc9c2673d7cf59e24"
|
||||
|
||||
DEPENDS += "virtual/libx11 libxrender freetype fontconfig"
|
||||
PROVIDES = "xft"
|
||||
|
||||
PE = "1"
|
||||
|
||||
SRC_URI[sha256sum] = "5e8c3c4bc2d4c0a40aef6b4b38ed2fb74301640da29f6528154b5009b1c6dd49"
|
||||
|
||||
XORG_PN = "libXft"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
python populate_packages:prepend () {
|
||||
if d.getVar('DEBIAN_NAMES'):
|
||||
d.setVar('PKG:${PN}', '${MLPREFIX}libxft2')
|
||||
}
|
||||
23
sources/poky/meta/recipes-graphics/xorg-lib/libxi_1.8.1.bb
Normal file
23
sources/poky/meta/recipes-graphics/xorg-lib/libxi_1.8.1.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
require xorg-lib-common.inc
|
||||
|
||||
SUMMARY = "XI: X Input extension library"
|
||||
|
||||
DESCRIPTION = "libxi is an extension to the X11 protocol to support \
|
||||
input devices other than the core X keyboard and pointer. It allows \
|
||||
client programs to select input from these devices independently from \
|
||||
each other and independently from the core devices."
|
||||
|
||||
LICENSE = "MIT & MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=17b064789fab936a1c58c4e13d965b0f \
|
||||
file://src/XIGetDevFocus.c;endline=23;md5=cdfb0d435a33ec57ea0d1e8e395b729f"
|
||||
|
||||
DEPENDS += "libxext xorgproto libxfixes"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXi"
|
||||
XORG_EXT = "tar.xz"
|
||||
|
||||
SRC_URI[sha256sum] = "89bfc0e814f288f784202e6e5f9b362b788ccecdeb078670145eacd8749656a7"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,20 @@
|
||||
require xorg-lib-common.inc
|
||||
|
||||
SUMMARY = "Xinerama: Xinerama extension library"
|
||||
|
||||
DESCRIPTION = "Xinerama is a simple library designed to interface the \
|
||||
Xinerama Extension for retrieving information about physical output \
|
||||
devices which may be combined into a single logical X screen."
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6f4f634d1643a2e638bba3fcd19c2536 \
|
||||
file://src/Xinerama.c;beginline=2;endline=25;md5=fcef273bfb66339256411dd06ea79c02"
|
||||
|
||||
DEPENDS += "libxext xorgproto"
|
||||
PROVIDES = "xinerama"
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXinerama"
|
||||
SRC_URI[sha256sum] = "5094d1f0fcc1828cb1696d0d39d9e866ae32520c54d01f618f1a3c1e30c2085c"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,40 @@
|
||||
SUMMARY = "Generic XKB keymap library"
|
||||
DESCRIPTION = "libxkbcommon is a keymap compiler and support library which \
|
||||
processes a reduced subset of keymaps as defined by the XKB specification."
|
||||
HOMEPAGE = "http://www.xkbcommon.org"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e525ed9809e1f8a07cf4bce8b09e8b87"
|
||||
LICENSE = "MIT & MIT"
|
||||
|
||||
DEPENDS = "flex-native bison-native"
|
||||
|
||||
SRC_URI = "http://xkbcommon.org/download/${BPN}-${PV}.tar.xz"
|
||||
|
||||
SRC_URI[sha256sum] = "0edc14eccdd391514458bc5f5a4b99863ed2d651e4dd761a90abf4f46ef99c2b"
|
||||
|
||||
UPSTREAM_CHECK_URI = "http://xkbcommon.org/"
|
||||
|
||||
inherit meson pkgconfig bash-completion
|
||||
|
||||
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)} xkbregistry"
|
||||
|
||||
PACKAGECONFIG[docs] = "-Denable-docs=true,-Denable-docs=false,doxygen-native"
|
||||
PACKAGECONFIG[wayland] = "-Denable-wayland=true,-Denable-wayland=false,wayland-native wayland wayland-protocols,"
|
||||
PACKAGECONFIG[x11] = "-Denable-x11=true,-Denable-x11=false,libxcb xkeyboard-config,"
|
||||
PACKAGECONFIG[xkbregistry] = "-Denable-xkbregistry=true,-Denable-xkbregistry=false,libxml2"
|
||||
|
||||
PACKAGE_BEFORE_PN += "xkbcli"
|
||||
FILES:${PN} = ""
|
||||
FILES:xkbcli = "${bindir}/xkbcli ${libexecdir}/xkbcommon/xkbcli-*"
|
||||
|
||||
python populate_packages:prepend () {
|
||||
# Put the libraries into separate packages to avoid dependency creep
|
||||
do_split_packages(d, d.expand('${libdir}'), r'^(lib.*)\.so\.*', '%s', '%s library', extra_depends='', allow_links=True)
|
||||
}
|
||||
|
||||
# Fix a following runtime error:
|
||||
# xkbcommon: ERROR: couldn't find a Compose file for locale "C"
|
||||
RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', 'libx11-compose-data', d)}"
|
||||
|
||||
BBCLASSEXTEND += "native"
|
||||
|
||||
CVE_PRODUCT += "xkbcommon:libxkbcommon"
|
||||
@@ -0,0 +1,16 @@
|
||||
SUMMARY = "XKB: X Keyboard File manipulation library"
|
||||
|
||||
DESCRIPTION = "libxkbfile provides an interface to read and manipulate \
|
||||
description files for XKB, the X11 keyboard configuration extension."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=8be7367f7e5d605a426f76bb37d4d61f"
|
||||
|
||||
DEPENDS += "virtual/libx11 xorgproto"
|
||||
|
||||
PE = "1"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
SRC_URI[sha256sum] = "a9b63eea997abb9ee6a8b4fbb515831c841f471af845a09de443b28003874bec"
|
||||
30
sources/poky/meta/recipes-graphics/xorg-lib/libxmu_1.1.4.bb
Normal file
30
sources/poky/meta/recipes-graphics/xorg-lib/libxmu_1.1.4.bb
Normal file
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "Xmu and Xmuu: X Miscellaneous Utility libraries"
|
||||
|
||||
DESCRIPTION = "The Xmu Library is a collection of miscellaneous (some \
|
||||
might say random) utility functions that have been useful in building \
|
||||
various applications and widgets. This library is required by the Athena \
|
||||
Widgets. A subset of the functions that do not rely on the Athena \
|
||||
Widgets (libXaw) or X Toolkit Instrinsics (libXt) are provided in a \
|
||||
second library, libXmuu."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT & MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=e79ad4fcc53b9bfe0fc38507a56446b9"
|
||||
|
||||
DEPENDS += "libxt libxext"
|
||||
PROVIDES = "xmu"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXmu"
|
||||
|
||||
LEAD_SONAME = "libXmu"
|
||||
|
||||
PACKAGES =+ "libxmuu"
|
||||
|
||||
FILES:libxmuu = "${libdir}/libXmuu.so.*"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
SRC_URI[sha256sum] = "210de3ab9c3e9382572c25d17c2518a854ce6e2c62c5f8315deac7579e758244"
|
||||
27
sources/poky/meta/recipes-graphics/xorg-lib/libxpm_3.5.17.bb
Normal file
27
sources/poky/meta/recipes-graphics/xorg-lib/libxpm_3.5.17.bb
Normal file
@@ -0,0 +1,27 @@
|
||||
require xorg-lib-common.inc
|
||||
|
||||
# libxpm requires xgettext to build
|
||||
inherit gettext
|
||||
|
||||
SUMMARY = "Xpm: X Pixmap extension library"
|
||||
|
||||
DESCRIPTION = "libXpm provides support and common operation for the XPM \
|
||||
pixmap format, which is commonly used in legacy X applications. XPM is \
|
||||
an extension of the monochrome XBM bitmap specificied in the X \
|
||||
protocol."
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=903942ebc9d807dfb68540f40bae5aff"
|
||||
DEPENDS += "libxext libsm libxt gettext-native"
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXpm"
|
||||
EXTRA_OECONF += "--disable-open-zfile"
|
||||
|
||||
PACKAGES =+ "sxpm cxpm"
|
||||
FILES:cxpm = "${bindir}/cxpm"
|
||||
FILES:sxpm = "${bindir}/sxpm"
|
||||
|
||||
SRC_URI[sha256sum] = "64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,22 @@
|
||||
SUMMARY = "XRandR: X Resize, Rotate and Reflect extension library"
|
||||
|
||||
DESCRIPTION = "The X Resize, Rotate and Reflect Extension, called RandR \
|
||||
for short, brings the ability to resize, rotate and reflect the root \
|
||||
window of a screen. It is based on the X Resize and Rotate Extension as \
|
||||
specified in the Proceedings of the 2001 Usenix Technical Conference \
|
||||
[RANDR]."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c9d1a2118a6cd5727521db8e7a2fee69"
|
||||
|
||||
DEPENDS += "virtual/libx11 xorgproto libxrender libxext"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXrandr"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI[sha256sum] = "1ad5b065375f4a85915aa60611cc6407c060492a214d7f9daf214be752c3b4d3"
|
||||
@@ -0,0 +1,22 @@
|
||||
SUMMARY = "XRender: X Rendering Extension library"
|
||||
|
||||
DESCRIPTION = "The X Rendering Extension (Render) introduces digital \
|
||||
image composition as the foundation of a new rendering model within the \
|
||||
X Window System. Rendering geometric figures is accomplished by \
|
||||
client-side tessellation into either triangles or trapezoids. Text is \
|
||||
drawn by loading glyphs into the server and rendering sets of them."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d8bc71986d3b9b3639f6dfd6fac8f196"
|
||||
|
||||
DEPENDS += "virtual/libx11 xorgproto"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXrender"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
SRC_URI[sha256sum] = "bc53759a3a83d1ff702fb59641b3d2f7c56e05051fa0cfa93501166fa782dc24"
|
||||
|
||||
19
sources/poky/meta/recipes-graphics/xorg-lib/libxres_1.2.2.bb
Normal file
19
sources/poky/meta/recipes-graphics/xorg-lib/libxres_1.2.2.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "XRes: X Resource extension library"
|
||||
|
||||
DESCRIPTION = "libXRes provides an X Window System client interface to \
|
||||
the Resource extension to the X protocol. The Resource extension allows \
|
||||
for X clients to see and monitor the X resource usage of various clients \
|
||||
(pixmaps, et al)."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=8c89441a8df261bdc56587465e13c7fa"
|
||||
|
||||
DEPENDS += "libxext xorgproto"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXres"
|
||||
|
||||
SRC_URI[sha256sum] = "9a7446f3484b9b7538ac5ee30d2c1ce9e5b7fbbaf1440e02f6cca186a1fa745f"
|
||||
@@ -0,0 +1,22 @@
|
||||
require xorg-lib-common.inc
|
||||
|
||||
SUMMARY = "Xscrnsaver: X Screen Saver extension library"
|
||||
|
||||
DESCRIPTION = "The X Window System provides support for changing the \
|
||||
image on a display screen after a user-settable period of inactivity to \
|
||||
avoid burning the cathode ray tube phosphors. However, no interfaces are \
|
||||
provided for the user to control the image that is drawn. This extension \
|
||||
allows an external \"screen saver\" client to detect when the alternate \
|
||||
image is to be displayed and to provide the graphics."
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=21fd154ee757813632ada871a34113fb"
|
||||
|
||||
DEPENDS += "libxext xorgproto"
|
||||
PROVIDES = "libxss"
|
||||
RREPLACES:${PN} = "libxss"
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXScrnSaver"
|
||||
|
||||
SRC_URI[sha256sum] = "75cd2859f38e207a090cac980d76bc71e9da99d48d09703584e00585abc920fe"
|
||||
@@ -0,0 +1,39 @@
|
||||
From 5827f6389a227157958d14a687fb29223cb3a03a Mon Sep 17 00:00:00 2001
|
||||
From: Mingli Yu <mingli.yu@windriver.com>
|
||||
Date: Wed, 7 Apr 2021 07:48:42 +0000
|
||||
Subject: [PATCH] xshmfence_futex.h: Define SYS_futex if it does not exist
|
||||
|
||||
_NR_futex is not defines by newer architectures e.g. riscv32 as
|
||||
they only have 64bit variant of time_t. Glibc defines SYS_futex
|
||||
interface based on __NR_futex, since this is used in applications,
|
||||
such applications start to fail to build for these newer architectures.
|
||||
This patch defines a fallback to alias __NR_futex to __NR_futex_time64
|
||||
to make SYS_futex keep working.
|
||||
|
||||
Reference: https://git.openembedded.org/openembedded-core/commit/?id=7a218adf9990f5e18d0b6a33eb34091969f979c7
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
||||
---
|
||||
src/xshmfence_futex.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/xshmfence_futex.h b/src/xshmfence_futex.h
|
||||
index 673ac0e..a71efa5 100644
|
||||
--- a/src/xshmfence_futex.h
|
||||
+++ b/src/xshmfence_futex.h
|
||||
@@ -53,6 +53,10 @@ static inline int futex_wait(int32_t *addr, int32_t value) {
|
||||
#include <sys/time.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
+#if !defined(SYS_futex) && defined(SYS_futex_time64)
|
||||
+#define SYS_futex SYS_futex_time64
|
||||
+#endif
|
||||
+
|
||||
static inline long sys_futex(void *addr1, int op, int val1, struct timespec *timeout, void *addr2, int val3)
|
||||
{
|
||||
return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3);
|
||||
--
|
||||
2.29.2
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
SUMMARY = "Shared memory 'SyncFence' synchronization primitive"
|
||||
|
||||
DESCRIPTION = "This library offers a CPU-based synchronization primitive compatible \
|
||||
with the X SyncFence objects that can be shared between processes \
|
||||
using file descriptor passing."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "HPND"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=47e508ca280fde97906eacb77892c3ac"
|
||||
|
||||
DEPENDS += "virtual/libx11"
|
||||
|
||||
EXTRA_OECONF += "--with-shared-memory-dir=/dev/shm"
|
||||
|
||||
SRC_URI += "file://0001-xshmfence_futex.h-Define-SYS_futex-if-it-does-not-ex.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "870df257bc40b126d91b5a8f1da6ca8a524555268c50b59c0acd1a27f361606f"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,29 @@
|
||||
From f069b0a430fe96f3ece2106d34375008833599d3 Mon Sep 17 00:00:00 2001
|
||||
From: Nitin A Kamble <nitin.a.kamble@intel.com>
|
||||
Date: Fri, 2 Dec 2011 12:20:05 -0800
|
||||
Subject: [PATCH] libxt: fix compilatoin with x32 toolchain
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
This fixes compilation with x32 toolchain.
|
||||
|
||||
Received this patch from H.J. Lu <hjl.tools@gmail.com>
|
||||
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/1
|
||||
|
||||
---
|
||||
include/X11/Xtos.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/X11/Xtos.h b/include/X11/Xtos.h
|
||||
index 64b2da8..44f52c2 100644
|
||||
--- a/include/X11/Xtos.h
|
||||
+++ b/include/X11/Xtos.h
|
||||
@@ -59,7 +59,7 @@ SOFTWARE.
|
||||
defined(__sparc64__) || \
|
||||
defined(__s390x__) || \
|
||||
(defined(__hppa__) && defined(__LP64__)) || \
|
||||
- defined(__amd64__) || defined(amd64) || \
|
||||
+ ((defined(__amd64__) || defined(amd64)) && defined(__LP64__)) || \
|
||||
defined(__powerpc64__) || \
|
||||
(defined(sgi) && (_MIPS_SZLONG == 64))
|
||||
#define LONG64
|
||||
32
sources/poky/meta/recipes-graphics/xorg-lib/libxt_1.3.0.bb
Normal file
32
sources/poky/meta/recipes-graphics/xorg-lib/libxt_1.3.0.bb
Normal file
@@ -0,0 +1,32 @@
|
||||
SUMMARY = "Xt: X Toolkit Intrinsics library"
|
||||
|
||||
DESCRIPTION = "The Intrinsics are a programming library tailored to the \
|
||||
special requirements of user interface construction within a network \
|
||||
window system, specifically the X Window System. The Intrinsics and a \
|
||||
widget set make up an X Toolkit. The Intrinsics provide the base \
|
||||
mechanism necessary to build a wide variety of interoperating widget \
|
||||
sets and application environments. The Intrinsics are a layer on top of \
|
||||
Xlib, the C Library X Interface. They extend the fundamental \
|
||||
abstractions provided by the X Window System while still remaining \
|
||||
independent of any particular user interface policy or style."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT & MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d6e9ca2c4b2276625afe025b0a2a4d8c"
|
||||
|
||||
DEPENDS += "util-linux libxcb libsm virtual/libx11 xorgproto libxdmcp"
|
||||
PROVIDES = "xt"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXt"
|
||||
XORG_EXT = "tar.xz"
|
||||
|
||||
SRC_URI += "file://libxt_fix_for_x32.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "52820b3cdb827d08dc90bdfd1b0022a3ad8919b57a39808b12591973b331bf91"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
EXTRA_OECONF += "--disable-xkb"
|
||||
20
sources/poky/meta/recipes-graphics/xorg-lib/libxtst_1.2.4.bb
Normal file
20
sources/poky/meta/recipes-graphics/xorg-lib/libxtst_1.2.4.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
require xorg-lib-common.inc
|
||||
|
||||
SUMMARY = "XTest: X Test extension library"
|
||||
|
||||
DESCRIPTION = "This extension is a minimal set of client and server \
|
||||
extensions required to completely test the X11 server with no user \
|
||||
intervention."
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=bb4f89972c3869f617f61c1a79ad1952 \
|
||||
file://src/XTest.c;beginline=2;endline=32;md5=b1c8c9dff842b4d5b89ca5fa32c40e99"
|
||||
|
||||
DEPENDS += "libxext xorgproto libxi"
|
||||
PROVIDES = "xtst"
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXtst"
|
||||
SRC_URI[sha256sum] = "84f5f30b9254b4ffee14b5b0940e2622153b0d3aed8286a3c5b7eeb340ca33c8"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
18
sources/poky/meta/recipes-graphics/xorg-lib/libxv_1.0.12.bb
Normal file
18
sources/poky/meta/recipes-graphics/xorg-lib/libxv_1.0.12.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Xv: X Video extension library"
|
||||
|
||||
DESCRIPTION = "libXv provides an X Window System client interface to the \
|
||||
X Video extension to the X protocol. The X Video extension allows for \
|
||||
accelerated drawing of videos. Hardware adaptors are exposed to \
|
||||
clients, which may draw in a number of colourspaces, including YUV."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=827da9afab1f727f2a66574629e0f39c"
|
||||
|
||||
DEPENDS += "libxext xorgproto"
|
||||
|
||||
XORG_PN = "libXv"
|
||||
|
||||
SRC_URI[sha256sum] = "aaf7fa09f689f7a2000fe493c0d64d1487a1210db154053e9e2336b860c63848"
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "XvMC: X Video Motion Compensation extension library"
|
||||
|
||||
DESCRIPTION = "XvMC extends the X Video extension (Xv) and enables \
|
||||
hardware rendered motion compensation support."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.xz"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=0a207f08d4961489c55046c9a5e500da \
|
||||
file://wrapper/XvMCWrapper.c;endline=26;md5=5151daa8172a3f1bb0cb0e0ff157d9de"
|
||||
|
||||
DEPENDS += "libxext libxv xorgproto"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXvMC"
|
||||
|
||||
SRC_URI[sha256sum] = "e4be9eb6b6bafdbbf81f47f7163047215376e45e2dc786d0ea6181c930725ed9"
|
||||
@@ -0,0 +1,20 @@
|
||||
SUMMARY = "XFree86-VM: XFree86 video mode extension library"
|
||||
|
||||
DESCRIPTION = "libXxf86vm provides an interface to the \
|
||||
XFree86-VidModeExtension extension, which allows client applications to \
|
||||
get and set video mode timings in extensive detail. It is used by the \
|
||||
xvidtune program in particular."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=fa0b9c462d8f2f13eba26492d42ea63d"
|
||||
|
||||
DEPENDS += "libxext xorgproto"
|
||||
|
||||
PE = "1"
|
||||
|
||||
XORG_PN = "libXxf86vm"
|
||||
SRC_URI[sha256sum] = "247fef48b3e0e7e67129e41f1e789e8d006ba47dba1c0cdce684b9b703f888e7"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,144 @@
|
||||
From a0f53e1dbb3851bb0f0efcfdbd565b05e4be9cac Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Thu, 23 Aug 2012 18:10:57 +0200
|
||||
Subject: [PATCH 1/2] ARM: qemu related workarounds in cpu features detection
|
||||
code
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This was ported from meta-oe's patch [1]. The original pixman patch is found
|
||||
at [2].
|
||||
|
||||
[1] http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-graphics/xorg-lib/pixman-0.26.2/0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch
|
||||
[2] http://lists.freedesktop.org/archives/pixman/2011-January/000906.html
|
||||
|
||||
Upstream-Status: Inappropriate [other] qemu fix
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
pixman/pixman-arm.c | 82 ++++++++++++++++++++++++++++++++++++++++----------
|
||||
1 files changed, 65 insertions(+), 17 deletions(-)
|
||||
|
||||
diff --git a/pixman/pixman-arm.c b/pixman/pixman-arm.c
|
||||
index 23374e4..d98bda6 100644
|
||||
--- a/pixman/pixman-arm.c
|
||||
+++ b/pixman/pixman-arm.c
|
||||
@@ -129,16 +129,35 @@ detect_cpu_features (void)
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
+#include <sys/utsname.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <elf.h>
|
||||
|
||||
+/*
|
||||
+ * The whole CPU capabilities detection is a bit ugly: when running in
|
||||
+ * userspace qemu, we see /proc/self/auxv from the host system. To make
|
||||
+ * everything even worse, the size of each value is 64-bit when running
|
||||
+ * on a 64-bit host system. So the data is totally bogus because we expect
|
||||
+ * 32-bit values. As AT_PLATFORM value is used as a pointer, it may cause
|
||||
+ * segfault (null pointer dereference on x86-64 host). So in order to be
|
||||
+ * on a safe side, we require that AT_PLATFORM value is found only once,
|
||||
+ * and it has non-zero value (this is still not totally reliable for a big
|
||||
+ * endian 64-bit host system running qemu and may theoretically fail).
|
||||
+ */
|
||||
+#define ARM_HWCAP_VFP 64
|
||||
+#define ARM_HWCAP_IWMMXT 512
|
||||
+#define ARM_HWCAP_NEON 4096
|
||||
+
|
||||
static arm_cpu_features_t
|
||||
detect_cpu_features (void)
|
||||
{
|
||||
arm_cpu_features_t features = 0;
|
||||
Elf32_auxv_t aux;
|
||||
int fd;
|
||||
+ uint32_t hwcap = 0;
|
||||
+ const char *plat = NULL;
|
||||
+ int plat_cnt = 0;
|
||||
|
||||
fd = open ("/proc/self/auxv", O_RDONLY);
|
||||
if (fd >= 0)
|
||||
@@ -147,32 +166,61 @@ detect_cpu_features (void)
|
||||
{
|
||||
if (aux.a_type == AT_HWCAP)
|
||||
{
|
||||
- uint32_t hwcap = aux.a_un.a_val;
|
||||
-
|
||||
- /* hardcode these values to avoid depending on specific
|
||||
- * versions of the hwcap header, e.g. HWCAP_NEON
|
||||
- */
|
||||
- if ((hwcap & 64) != 0)
|
||||
- features |= ARM_VFP;
|
||||
- if ((hwcap & 512) != 0)
|
||||
- features |= ARM_IWMMXT;
|
||||
- /* this flag is only present on kernel 2.6.29 */
|
||||
- if ((hwcap & 4096) != 0)
|
||||
- features |= ARM_NEON;
|
||||
+ hwcap = aux.a_un.a_val;
|
||||
}
|
||||
else if (aux.a_type == AT_PLATFORM)
|
||||
{
|
||||
- const char *plat = (const char*) aux.a_un.a_val;
|
||||
-
|
||||
- if (strncmp (plat, "v7l", 3) == 0)
|
||||
+ plat = (const char*) aux.a_un.a_val;
|
||||
+ plat_cnt++;
|
||||
+ }
|
||||
+ }
|
||||
+ close (fd);
|
||||
+ if (plat == NULL || plat_cnt != 1 || *plat != 'v')
|
||||
+ {
|
||||
+ /*
|
||||
+ * Something seems to be really wrong, most likely we are
|
||||
+ * running under qemu. Let's use machine type from "uname" for
|
||||
+ * CPU capabilities detection:
|
||||
+ * http://www.mail-archive.com/qemu-devel at nongnu.org/msg22212.html
|
||||
+ */
|
||||
+ struct utsname u;
|
||||
+ hwcap = 0; /* clear hwcap, because it is bogus */
|
||||
+ if (uname (&u) == 0)
|
||||
+ {
|
||||
+ if (strcmp (u.machine, "armv7l") == 0)
|
||||
+ {
|
||||
features |= (ARM_V7 | ARM_V6);
|
||||
- else if (strncmp (plat, "v6l", 3) == 0)
|
||||
+ hwcap |= ARM_HWCAP_VFP; /* qemu is supposed to emulate vfp */
|
||||
+ hwcap |= ARM_HWCAP_NEON; /* qemu is supposed to emulate neon */
|
||||
+ }
|
||||
+ else if (strcmp (u.machine, "armv6l") == 0)
|
||||
+ {
|
||||
features |= ARM_V6;
|
||||
+ hwcap |= ARM_HWCAP_VFP; /* qemu is supposed to emulate vfp */
|
||||
+ }
|
||||
}
|
||||
}
|
||||
- close (fd);
|
||||
+ else if (strncmp (plat, "v7l", 3) == 0)
|
||||
+ {
|
||||
+ features |= (ARM_V7 | ARM_V6);
|
||||
+ }
|
||||
+ else if (strncmp (plat, "v6l", 3) == 0)
|
||||
+ {
|
||||
+ features |= ARM_V6;
|
||||
+ }
|
||||
}
|
||||
|
||||
+ /* hardcode these values to avoid depending on specific
|
||||
+ * versions of the hwcap header, e.g. HWCAP_NEON
|
||||
+ */
|
||||
+ if ((hwcap & ARM_HWCAP_VFP) != 0)
|
||||
+ features |= ARM_VFP;
|
||||
+ if ((hwcap & ARM_HWCAP_IWMMXT) != 0)
|
||||
+ features |= ARM_IWMMXT;
|
||||
+ /* this flag is only present on kernel 2.6.29 */
|
||||
+ if ((hwcap & ARM_HWCAP_NEON) != 0)
|
||||
+ features |= ARM_NEON;
|
||||
+
|
||||
return features;
|
||||
}
|
||||
|
||||
--
|
||||
1.7.6.5
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
From 1e32984ccd58da1a66ca918d170a6b1829ef9df2 Mon Sep 17 00:00:00 2001
|
||||
From: Changqing Li <changqing.li@windriver.com>
|
||||
Date: Tue, 16 Jul 2024 15:31:16 +0800
|
||||
Subject: [PATCH] pixman-combine-float.c: fix inlining failed in call to
|
||||
always_inline
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Refer [1], always-inline is not suggested to be used if you have indirect
|
||||
calls. so replace force_inline with inline to fix error:
|
||||
In function ‘combine_inner’,
|
||||
inlined from ‘combine_soft_light_ca_float’ at ../pixman/pixman-combine-float.c:655:511:
|
||||
../pixman/pixman-combine-float.c:655:211: error: inlining failed in call to ‘always_inline’ ‘combine_soft_light_c’: function not considered for inlining
|
||||
|
||||
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679
|
||||
|
||||
Upstream-Status: Submitted [https://www.mail-archive.com/pixman@lists.freedesktop.org/msg04812.html]
|
||||
|
||||
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
||||
---
|
||||
pixman/pixman-combine-float.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/pixman/pixman-combine-float.c b/pixman/pixman-combine-float.c
|
||||
index f5145bc..f65eb5f 100644
|
||||
--- a/pixman/pixman-combine-float.c
|
||||
+++ b/pixman/pixman-combine-float.c
|
||||
@@ -261,7 +261,7 @@ get_factor (combine_factor_t factor, float sa, float da)
|
||||
}
|
||||
|
||||
#define MAKE_PD_COMBINERS(name, a, b) \
|
||||
- static float force_inline \
|
||||
+ static float inline \
|
||||
pd_combine_ ## name (float sa, float s, float da, float d) \
|
||||
{ \
|
||||
const float fa = get_factor (a, sa, da); \
|
||||
@@ -360,13 +360,13 @@ MAKE_PD_COMBINERS (conjoint_xor, ONE_MINUS_DA_OVER_SA, ONE_MINUS_SA_OVER_DA)
|
||||
*/
|
||||
|
||||
#define MAKE_SEPARABLE_PDF_COMBINERS(name) \
|
||||
- static force_inline float \
|
||||
+ static inline float \
|
||||
combine_ ## name ## _a (float sa, float s, float da, float d) \
|
||||
{ \
|
||||
return da + sa - da * sa; \
|
||||
} \
|
||||
\
|
||||
- static force_inline float \
|
||||
+ static inline float \
|
||||
combine_ ## name ## _c (float sa, float s, float da, float d) \
|
||||
{ \
|
||||
float f = (1 - sa) * d + (1 - da) * s; \
|
||||
--
|
||||
2.25.1
|
||||
|
||||
48
sources/poky/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
Normal file
48
sources/poky/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
Normal file
@@ -0,0 +1,48 @@
|
||||
SUMMARY = "Pixman: Pixel Manipulation library"
|
||||
DESCRIPTION = "Pixman provides a library for manipulating pixel regions \
|
||||
-- a set of Y-X banded rectangles, image compositing using the \
|
||||
Porter/Duff model and implicit mask generation for geometric primitives \
|
||||
including trapezoids, triangles, and rectangles."
|
||||
HOMEPAGE = "http://www.pixman.org"
|
||||
SECTION = "x11/libs"
|
||||
DEPENDS = "zlib"
|
||||
|
||||
SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.gz \
|
||||
file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \
|
||||
file://0001-pixman-combine-float.c-fix-inlining-failed-in-call-t.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "ea1480efada2fd948bc75366f7c349e1c96d3297d09a3fe62626e38e234a625e"
|
||||
|
||||
# see http://cairographics.org/releases/ - only even minor versions are stable
|
||||
UPSTREAM_CHECK_REGEX = "pixman-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
|
||||
|
||||
PE = "1"
|
||||
|
||||
LICENSE = "MIT & PD"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \
|
||||
file://pixman/pixman-matrix.c;endline=21;md5=4a018dff3e4e25302724c88ff95c2456 \
|
||||
file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \
|
||||
"
|
||||
|
||||
inherit meson pkgconfig
|
||||
|
||||
# These are for the tests and demos, which we don't install
|
||||
EXTRA_OEMESON = "-Dgtk=disabled -Dlibpng=disabled"
|
||||
# ld: pixman/libpixman-mmx.a(pixman-mmx.c.o):
|
||||
# linking mips:loongson_2f module with previous mips:isa64 modules
|
||||
EXTRA_OEMESON += "-Dloongson-mmi=disabled"
|
||||
# disable iwmmxt due to compile fails on most arm platforms.
|
||||
EXTRA_OEMESON += "-Diwmmxt=disabled"
|
||||
|
||||
EXTRA_OEMESON:append:class-target:powerpc = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
|
||||
EXTRA_OEMESON:append:class-target:powerpc64 = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
|
||||
EXTRA_OEMESON:append:class-target:powerpc64le = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "-Dvmx=enabled", "-Dvmx=disabled", d)}"
|
||||
|
||||
EXTRA_OEMESON:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon",""," -Dneon=disabled",d)}"
|
||||
EXTRA_OEMESON:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon",""," -Dneon=disabled",d)}"
|
||||
|
||||
EXTRA_OEMESON:append:class-native = " -Dopenmp=disabled"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
CVE_STATUS[CVE-2023-37769] = "not-applicable-config: stress-test is an uninstalled test"
|
||||
@@ -0,0 +1,10 @@
|
||||
require recipes-graphics/xorg-lib/xcb-util.inc
|
||||
|
||||
SUMMARY = "XCB port of libXcursor"
|
||||
|
||||
DEPENDS += "xcb-util xcb-util-renderutil xcb-util-image"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ce469b61c70ff8d7cce0547476891974"
|
||||
|
||||
SRC_URI[sha256sum] = "28dcfe90bcab7b3561abe0dd58eb6832aa9cc77cfe42fcdfa4ebe20d605231fb"
|
||||
@@ -0,0 +1,24 @@
|
||||
Make clang happy since it squashes the control warning, ideally it will never reach that return value due to assert
|
||||
but there is a chance when NDEBUG is defined
|
||||
|
||||
| In file included from ../../xcb-util-image-0.4.0/image/xcb_image.c:37:
|
||||
| ../../xcb-util-image-0.4.0/image/xcb_bitops.h:210:1: error: control may reach end of non-void function [-Werror,-Wreturn-type]
|
||||
| }
|
||||
| ^
|
||||
| 1 error generated.
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: xcb-util-image-0.4.0/image/xcb_bitops.h
|
||||
===================================================================
|
||||
--- xcb-util-image-0.4.0.orig/image/xcb_bitops.h
|
||||
+++ xcb-util-image-0.4.0/image/xcb_bitops.h
|
||||
@@ -207,6 +207,7 @@ xcb_host_byte_order(void) {
|
||||
return XCB_IMAGE_ORDER_LSB_FIRST;
|
||||
}
|
||||
assert(0);
|
||||
+ return -1;
|
||||
}
|
||||
|
||||
#endif /* __XCB_BITOPS_H__ */
|
||||
@@ -0,0 +1,12 @@
|
||||
require xcb-util.inc
|
||||
|
||||
DEPENDS += "xcb-util"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://image/xcb_image.c;endline=24;md5=eafdf965cfb89955fdedf75054223fb4 \
|
||||
file://image/xcb_image.h;beginline=4;endline=27;md5=48cd25ae55e7de525fe1e1a3a7672e1c"
|
||||
|
||||
SRC_URI += "file://clang.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d"
|
||||
@@ -0,0 +1,8 @@
|
||||
require xcb-util.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://keysyms/keysyms.c;endline=30;md5=2f8de023ed823bb92f0b47900574ea9e \
|
||||
"
|
||||
SRC_URI[sha256sum] = "7c260a5294412aed429df1da2f8afd3bd07b7cba3fec772fba15a613a6d5c638"
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
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;endline=24;md5=d0ddab3052dd4949c93cfcb0891c96df \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "3e15d4f0e22d8ddbfbb9f5d77db43eacd7a304029bf25a6166cc63caa96d04ba"
|
||||
@@ -0,0 +1,10 @@
|
||||
require xcb-util.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://ewmh/ewmh.c.m4;endline=27;md5=63fd80552d7dc886f4eb267610d5bb9d \
|
||||
file://ewmh/xcb_ewmh.h.m4;beginline=4;endline=30;md5=73b589f90ef90b4a43998955daad5cd8 \
|
||||
file://icccm/icccm.c;endline=28;md5=e2b3240a0c197e8977adde2a5cf18d50 \
|
||||
file://icccm/xcb_icccm.h;beginline=4;endline=31;md5=393772b7b07b9868d479d538238c1d8a \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "62c34e21d06264687faea7edbf63632c9f04d55e72114aa4a57bb95e4f888a0b"
|
||||
23
sources/poky/meta/recipes-graphics/xorg-lib/xcb-util.inc
Normal file
23
sources/poky/meta/recipes-graphics/xorg-lib/xcb-util.inc
Normal file
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "XCB: The X protocol C binding utilities"
|
||||
DESCRIPTION = "The xcb-util module provides a number of libraries which \
|
||||
sit on top of libxcb, the core X protocol library, and some of the \
|
||||
extension libraries. These experimental libraries provide convenience \
|
||||
functions and interfaces which make the raw X protocol more usable. Some \
|
||||
of the libraries also provide client-side code which is not strictly \
|
||||
part of the X protocol but which have traditionally been provided by \
|
||||
Xlib."
|
||||
HOMEPAGE = "http://xcb.freedesktop.org/XcbUtil/"
|
||||
BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
SECTION = "x11/libs"
|
||||
|
||||
DEPENDS = "libxcb"
|
||||
DEPENDS += "gperf-native"
|
||||
|
||||
SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.xz"
|
||||
|
||||
inherit autotools pkgconfig features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
@@ -0,0 +1,9 @@
|
||||
require xcb-util.inc
|
||||
|
||||
SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.xz"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://src/xcb_aux.c;endline=30;md5=ae305b9c2a38f9ba27060191046a6460 \
|
||||
file://src/xcb_event.h;endline=27;md5=627be355aee59e1b8ade80d5bd90fad9"
|
||||
|
||||
SRC_URI[sha256sum] = "5abe3bbbd8e54f0fa3ec945291b7e8fa8cfd3cccc43718f8758430f94126e512"
|
||||
@@ -0,0 +1,32 @@
|
||||
SUMMARY = "Keyboard configuration database for X Window"
|
||||
|
||||
DESCRIPTION = "The non-arch keyboard configuration database for X \
|
||||
Window. The goal is to provide the consistent, well-structured, \
|
||||
frequently released open source of X keyboard configuration data for X \
|
||||
Window System implementations. The project is targeted to XKB-based \
|
||||
systems."
|
||||
|
||||
HOMEPAGE = "http://freedesktop.org/wiki/Software/XKeyboardConfig"
|
||||
BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xkeyboard-config"
|
||||
|
||||
LICENSE = "MIT & MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=8fc8ae699974c360e2e2e883a63ce264"
|
||||
|
||||
SRC_URI = "${XORG_MIRROR}/individual/data/xkeyboard-config/${BPN}-${PV}.tar.xz"
|
||||
SRC_URI[sha256sum] = "f02cd6b957295e0d50236a3db15825256c92f67ef1f73bf1c77a4b179edf728f"
|
||||
|
||||
SECTION = "x11/libs"
|
||||
DEPENDS = "util-macros libxslt-native"
|
||||
|
||||
EXTRA_OECONF = "--with-xkb-rules-symlink=xorg --disable-runtime-deps"
|
||||
|
||||
FILES:${PN} += "${datadir}/X11/xkb"
|
||||
|
||||
inherit meson pkgconfig gettext python3native
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}${datadir}/X11/xkb/compiled
|
||||
cd ${D}${datadir}/X11/xkb/rules && ln -sf base xorg
|
||||
}
|
||||
|
||||
BBCLASSEXTEND += "native"
|
||||
@@ -0,0 +1,27 @@
|
||||
HOMEPAGE = "http://www.x.org"
|
||||
BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
|
||||
|
||||
SECTION = "x11/libs"
|
||||
LICENSE = "MIT"
|
||||
DEPENDS = "util-macros"
|
||||
|
||||
XORG_PN = "${BPN}"
|
||||
XORG_EXT ?= "tar.xz"
|
||||
|
||||
SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.${XORG_EXT}"
|
||||
|
||||
S = "${WORKDIR}/${XORG_PN}-${PV}"
|
||||
|
||||
inherit autotools features_check pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--disable-specs --without-groff --without-ps2pdf --without-fop"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
|
||||
|
||||
UNKNOWN_CONFIGURE_OPT_IGNORE += "--enable-malloc0returnsnull --disable-malloc0returnsnull \
|
||||
--disable-specs --without-groff --without-ps2pdf --without-fop \
|
||||
--without-xmlto --with-xmlto \
|
||||
"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES ?= "x11"
|
||||
@@ -0,0 +1,18 @@
|
||||
The xtrans.pc file is installed into a non-arch directory yet contains libdir
|
||||
which can vary depending on which multilib is configured. The .pc file does
|
||||
not require libdir so remove this to fix multilib builds.
|
||||
|
||||
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: xtrans-1.3.5/xtrans.pc.in
|
||||
===================================================================
|
||||
--- xtrans-1.3.5.orig/xtrans.pc.in
|
||||
+++ xtrans-1.3.5/xtrans.pc.in
|
||||
@@ -1,6 +1,5 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
-libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XTrans
|
||||
25
sources/poky/meta/recipes-graphics/xorg-lib/xtrans_1.5.0.bb
Normal file
25
sources/poky/meta/recipes-graphics/xorg-lib/xtrans_1.5.0.bb
Normal file
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "XTrans: X Transport library"
|
||||
|
||||
DESCRIPTION = "The X Transport Interface is intended to combine all \
|
||||
system and transport specific code into a single place. This API should \
|
||||
be used by all libraries, clients and servers of the X Window System. \
|
||||
Use of this API should allow the addition of new types of transports and \
|
||||
support for new platforms without making any changes to the source \
|
||||
except in the X Transport Interface code."
|
||||
|
||||
require xorg-lib-common.inc
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=bc875e1c864f4f62b29f7d8651f627fa"
|
||||
|
||||
SRC_URI += "file://multilibfix.patch"
|
||||
|
||||
PE = "1"
|
||||
|
||||
DEV_PKG_DEPENDENCY = ""
|
||||
|
||||
inherit gettext
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI[sha256sum] = "1ba4b703696bfddbf40bacf25bce4e3efb2a0088878f017a50e9884b0c8fb1bd"
|
||||
Reference in New Issue
Block a user