Skip to contentSkip to conversation

xorg-lib-common: Add variable to set tarball type

PATCH New Robert Joslyn 1 participant 3 messages Sep 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 xorg-lib-common: Add variable to set tarball type

Upstream has switched some new releases from bz2 to xz compression. Add an XORG_EXT variable so recipes can set the file name extension needed for the compression type.

---
 meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-graphics/xorg-lib/xorg-lib-common.inc +2 -1
index 60bc8c76fa..68137c4147 100644
@@ -6,8 +6,9 @@ LICENSE = "MIT"
 DEPENDS = "util-macros"
 
 XORG_PN = "${BPN}"
+XORG_EXT ?= "tar.bz2"
 
-SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.bz2"
+SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.${XORG_EXT}"
 
 S = "${WORKDIR}/${XORG_PN}-${PV}"
 
Signature · 1 line
2.35.1
#1 lore raw

PATCH 2/3 libxfont2: Update 2.0.5 to 2.0.6

Tarball switched from bz2 to xz.

---
 .../xorg-lib/{libxfont2_2.0.5.bb => libxfont2_2.0.6.bb}        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-lib/{libxfont2_2.0.5.bb => libxfont2_2.0.6.bb} (85%)
meta/recipes-graphics/xorg-lib/libxfont2_2.0.6.bb renamed from meta/recipes-graphics/xorg-lib/libxfont2_2.0.5.bb +2 -1
similarity index 85%
rename from meta/recipes-graphics/xorg-lib/libxfont2_2.0.5.bb
rename to meta/recipes-graphics/xorg-lib/libxfont2_2.0.6.bb
index 10e44c39ba..59d63e7150 100644
@@ -12,10 +12,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a46c8040f2f737bcd0c435feb2ab1c2c"
 DEPENDS += "freetype xtrans xorgproto libfontenc zlib"
 
 XORG_PN = "libXfont2"
+XORG_EXT = "tar.xz"
 
 BBCLASSEXTEND = "native"
 
-SRC_URI[sha256sum] = "aa7c6f211cf7215c0ab4819ed893dc98034363d7b930b844bb43603c2e10b53e"
+SRC_URI[sha256sum] = "74ca20017eb0fb3f56d8d5e60685f560fc85e5ff3d84c61c4cb891e40c27aef4"
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
Signature · 1 line
2.35.1
#2 lore raw

PATCH 3/3 libxau: Update 1.0.9 to 1.0.10

In reply to Robert Joslyn

Tarball switched from bz2 to xz.

---
 .../xorg-lib/{libxau_1.0.9.bb => libxau_1.0.10.bb}            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{libxau_1.0.9.bb => libxau_1.0.10.bb} (76%)
meta/recipes-graphics/xorg-lib/libxau_1.0.10.bb renamed from meta/recipes-graphics/xorg-lib/libxau_1.0.9.bb +2 -2
similarity index 76%
rename from meta/recipes-graphics/xorg-lib/libxau_1.0.9.bb
rename to meta/recipes-graphics/xorg-lib/libxau_1.0.10.bb
index 3fbc3a5b44..a62c9f088a 100644
@@ -17,8 +17,8 @@ PROVIDES = "xau"
 PE = "1"
 
 XORG_PN = "libXau"
+XORG_EXT = "tar.xz"
 
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI[md5sum] = "c5f16288f2da9f071b29111d68797480"
-SRC_URI[sha256sum] = "ccf8cbf0dbf676faa2ea0a6d64bcc3b6746064722b606c8c52917ed00dcb73ec"
+SRC_URI[sha256sum] = "8be6f292334d2f87e5b919c001e149a9fdc27005d6b3e053862ac6ebbf1a0c0a"
Signature · 1 line
2.35.1