Hi Richard, Il giorno Wed, 20 Apr 2022 12:55:09 +0100 "Richard Purdie" <[email protected]> ha scritto:
> Rather than duplicating SRC_URI, change the compression to a variable. > > Signed-off-by: Richard Purdie <[email protected]> > --- > meta/recipes-graphics/xorg-app/mkfontscale_1.2.2.bb | 3 +-- > meta/recipes-graphics/xorg-app/xdpyinfo_1.3.3.bb | 3 +-- > meta/recipes-graphics/xorg-app/xorg-app-common.inc | 3 ++- > meta/recipes-graphics/xorg-app/xrandr_1.5.1.bb | 3 +-- > 4 files changed, 5 insertions(+), 7 deletions(-) > > diff --git a/meta/recipes-graphics/xorg-app/mkfontscale_1.2.2.bb > b/meta/recipes-graphics/xorg-app/mkfontscale_1.2.2.bb index > 573b05128e4..cd658ab219c 100644 --- > a/meta/recipes-graphics/xorg-app/mkfontscale_1.2.2.bb +++ > b/meta/recipes-graphics/xorg-app/mkfontscale_1.2.2.bb @@ -15,8 +15,7 > @@ RPROVIDES:${PN} += "mkfontdir" > BBCLASSEXTEND = "native" > > -SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.xz" > - > LIC_FILES_CHKSUM = > "file://COPYING;md5=99b1e1269aba5179139b9e4380fc0934" > +SRC_URI_EXT = "xz" > SRC_URI[sha256sum] = > "8ae3fb5b1fe7436e1f565060acaa3e2918fe745b0e4979b5593968914fe2d5c4" > diff --git a/meta/recipes-graphics/xorg-app/xdpyinfo_1.3.3.bb > b/meta/recipes-graphics/xorg-app/xdpyinfo_1.3.3.bb index > fa0fe36451a..e75a840b7de 100644 --- > a/meta/recipes-graphics/xorg-app/xdpyinfo_1.3.3.bb +++ > b/meta/recipes-graphics/xorg-app/xdpyinfo_1.3.3.bb @@ -8,14 +8,13 @@ > predefined values for various parameters used in communicating > between \ clients and the server, and the different types of screens > and visuals \ that are available." -SRC_URI = > "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.xz" - > LIC_FILES_CHKSUM = > "file://COPYING;md5=f3d09e6b9e203a1af489e16c708f4fb3" DEPENDS += > "libxtst libxext libxxf86vm libxi libxrender libxinerama libdmx > libxau libxcomposite" PE = "1" > SRC_URI += "file://disable-xkb.patch" > > +SRC_URI_EXT = "xz" > SRC_URI[sha256sum] = > "356d5fd62f3e98ee36d6becf1b32d4ab6112d618339fb4b592ccffbd9e0fc206" > EXTRA_OECONF = "--disable-xkb" > diff --git a/meta/recipes-graphics/xorg-app/xorg-app-common.inc > b/meta/recipes-graphics/xorg-app/xorg-app-common.inc index > 1c64e20aac7..6a9ebe842de 100644 --- > a/meta/recipes-graphics/xorg-app/xorg-app-common.inc +++ > b/meta/recipes-graphics/xorg-app/xorg-app-common.inc @@ -8,7 +8,8 @@ > DEPENDS = "util-macros-native virtual/libx11" # depends on > virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11" > > -SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2" > +SRC_URI_EXT = ".bz2" > +SRC_URI = > "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.${SRC_URI_EXT}" There's an extra '.' in ".bz2" that causes fetch failures. https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/725/steps/12/logs/errors stdio: WARNING: xkbcomp-1.4.5-r0 do_fetch: Failed to fetch URL https://www.x.org/releases//individual/app/xkbcomp-1.4.5.tar..bz2, attempting MIRRORS if available I'm dropping this patch from my master-next branch for now. -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#164750): https://lists.openembedded.org/g/openembedded-core/message/164750 Mute This Topic: https://lists.openembedded.org/mt/90581932/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
