mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
The locale data in the recipe is generated using cpp, which results in differing amounts of whitespace depending on what compiler is used. This means that the files may differ in just whitespace, which is sufficient for RPM's multilib code to consider them different and not allow lib32-libx11-locale and lib64-libx11-locale to be installed at the same time. [ YOCTO #13647 ] (From OE-Core rev: 6768d0d7988294769a41c7ba40f29874366da00f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
965 B
BlitzBasic
37 lines
965 B
BlitzBasic
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 & MIT-style & BSD"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
|
|
|
|
SRC_URI[md5sum] = "c5fa5a86a20e3591bed6c046498d4b8f"
|
|
SRC_URI[sha256sum] = "b289a845c189e251e0e884cc0f9269bbe97c238df3741e854ec4c17c21e473d5"
|
|
|
|
SRC_URI += "file://0001-Drop-x11-dependencies.patch \
|
|
file://libx11-whitespace.patch"
|
|
|
|
XORG_PN = "libX11"
|
|
|
|
EXTRA_OECONF += "--disable-xkb"
|
|
|
|
PACKAGES = "${PN}"
|
|
|
|
FILES_${PN} = "${datadir}/X11/locale ${libdir}/X11/locale"
|
|
|
|
do_compile() {
|
|
oe_runmake -C nls
|
|
}
|
|
|
|
do_install() {
|
|
oe_runmake DESTDIR=${D} -C nls install
|
|
}
|
|
|
|
REQUIRED_DISTRO_FEATURES = ""
|