hwdata: use github instead of fedorahosted.org
PATCH 1/9 hwdata: use github instead of fedorahosted.org
* fedorahosted is retired
https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement
---
.../recipes-support/hwdata/{hwdata_0.291.bb => hwdata_git.bb} | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
rename meta-oe/recipes-support/hwdata/{hwdata_0.291.bb => hwdata_git.bb} (57%)meta-oe/recipes-support/hwdata/hwdata_git.bb renamed from meta-oe/recipes-support/hwdata/hwdata_0.291.bb +6 -4
@@ -1,13 +1,15 @@ DESCRIPTION = "Hardware identification and configuration data" -HOMEPAGE = "http://git.fedorahosted.org/git/hwdata.git" +HOMEPAGE = "https://github.com/vcrhonek/hwdata" SECTION = "System/Base" LICENSE = "GPL-2.0+" LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57" -SRC_URI = "https://git.fedorahosted.org/cgit/${BPN}.git/snapshot/${BP}.tar.gz" -SRC_URI[md5sum] = "90ffce584bbcb1a5e77eac8503949f71" -SRC_URI[sha256sum] = "e1007a96645cb3390aa9c0ed3f090a69d2302ce4d801914b6af1ab4ec85ede4e" +PV = "0.291+git${SRCPV}" +SRCREV = "4bfbdcf5913d6dd53336d31b8035708075e6fdfa" +SRC_URI = "git://github.com/vcrhonek/${BPN}.git" + +S = "${WORKDIR}/git" do_configure() { ${S}/configure --datadir=${datadir} --libdir=${libdir}
Signature · 1 line
2.12.2
PATCH 2/9 mailcap: use pagure.org instead of retired fedorahosted.org
* https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement
--- meta-oe/recipes-support/mailcap/mailcap_2.1.46.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
meta-oe/recipes-support/mailcap/mailcap_2.1.46.bb +6 -4
@@ -12,12 +12,14 @@ by several applications e.g. to determine MIME types for filenames." SECTION = "System Environment/Base" -SRC_URI = "https://git.fedorahosted.org/cgit/${BPN}.git/snapshot/${BPN}-r2-1-46.tar.gz" -SRC_URI[md5sum] = "eee03824bf86480dc1db20be4f78237f" -SRC_URI[sha256sum] = "309059163fa3ef368f8a43fc38f7a45d9345fd725970d5b437ba175a0ee7ebc9" LICENSE = "PD & MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=100fcfb84512ccc03ffc7d89ac391305" -S = "${WORKDIR}/${BPN}-r2-1-46" + +SRC_URI = "https://releases.pagure.org/${BPN}/${BP}.tar.xz" + +SRC_URI[md5sum] = "d865a1baf574ae5d309f5c1f79315800" +SRC_URI[sha256sum] = "c68eb3b531d731476d5980c9b7cc287bd64c2a13bec5a537009a2c4af63f9bb0" + do_install() { oe_runmake install DESTDIR=${D} sysconfdir=${sysconfdir} mandir=${mandir} }
Signature · 1 line
2.12.2
PATCH 3/9 libqb: use github.com instead of retired fedorahosted.org
In reply to Martin Jansa* https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement
--- meta-oe/recipes-extended/libqb/libqb_0.17.2.bb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)
meta-oe/recipes-extended/libqb/libqb_0.17.2.bb +7 -8
@@ -3,20 +3,19 @@ DESCRIPTION = "libqb is a library with the primary purpose of providing high per It provides high performance logging, tracing, ipc, and poll." HOMEPAGE = "https://github.com/clusterlabs/libqb/wiki" - SECTION = "libs" -inherit autotools pkgconfig +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785" -SRC_URI = "https://fedorahosted.org/releases/q/u/quarterback/${BP}.tar.xz \ - " +inherit autotools pkgconfig -SRC_URI[md5sum] = "de1e5d38fa449b4d127940c10d117260" -SRC_URI[sha256sum] = "9a419c649ed51f275dc780da8a15babb8a5d33633567bd9e0cb6193b6e21f4fe" +PV = "0.17.2+git${SRCPV}" -LICENSE = "LGPL-2.1" +SRCREV = "bd2c587f6ccacd8a5644b275d99324d200c2b378" +SRC_URI = "git://github.com/ClusterLabs/${BPN}.git" -LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785" +S = "${WORKDIR}/git" do_configure_prepend() { ( cd ${S}
Signature · 1 line
2.12.2
Re: [PATCH][meta-oe 3/9] libqb: use github.com instead of retired fedorahosted.org
I have another patch which upgrades it to 1.0.1
https://github.com/kraj/meta-openembedded/commit/9778fde842b81991293a3a032d23d41da661210e
I am going to send another request soon which will have this patch also fixes build with musl and clang.
Quoted 47 lines · Martin Jansa
* https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement
Signed-off-by Martin Jansa <[email protected]>--- meta-oe/recipes-extended/libqb/libqb_0.17.2.bb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)meta-oe/recipes-extended/libqb/libqb_0.17.2.bb +7
-9@@ -3,20 +3,19 @@ DESCRIPTION = "libqb is a library with the primary purpose of providing high per It provides high performance logging, tracing, ipc, and poll." HOMEPAGE = "https://github.com/clusterlabs/libqb/wiki" - SECTION = "libs" -inherit autotools pkgconfig +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785" -SRC_URI = "https://fedorahosted.org/releases/q/u/quarterback/${BP}.tar.xz \ - " +inherit autotools pkgconfig -SRC_URI[md5sum] = "de1e5d38fa449b4d127940c10d117260" -SRC_URI[sha256sum] = "9a419c649ed51f275dc780da8a15babb8a5d33633567bd9e0cb6193b6e21f4fe" +PV = "0.17.2+git${SRCPV}" -LICENSE = "LGPL-2.1" +SRCREV = "bd2c587f6ccacd8a5644b275d99324d200c2b378" +SRC_URI = "git://github.com/ClusterLabs/${BPN}.git" -LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785" +S = "${WORKDIR}/git" do_configure_prepend() { ( cd ${S} --2.12.2
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
PATCH 4/9 ttf-abyssinica: fix SRC_URI
In reply to Martin Jansa--- meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_1.500.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_1.500.bb +1 -1
@@ -6,7 +6,7 @@ LICENSE = "OFL-1.1" LIC_FILES_CHKSUM = "file://OFL.txt;md5=1694c7fc245cdc85c9971db707928159" SRCNAME = "AbyssinicaSIL" -SRC_URI = "http://software.sil.org/downloads/d/abyssinica/${SRCNAME}-${PV}.zip" +SRC_URI = "http://software.sil.org/downloads/r/abyssinica/${SRCNAME}-${PV}.zip" S = "${WORKDIR}/${SRCNAME}-${PV}" SRC_URI[md5sum] = "a3d943d18e303197c8d3d92d2de54d1e"
Signature · 1 line
2.12.2
PATCH 5/9 ttf-liberation-sans-narrow: use pagure.org instead of retired fedorahosted.org
In reply to Martin Jansa* https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement
--- meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb +1 -1
@@ -9,7 +9,7 @@ HOMEPAGE = "https://fedorahosted.org/liberation-fonts/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-${PV}.tar.gz \ +SRC_URI = "https://releases.pagure.org/liberation-fonts/liberation-fonts-ttf-${PV}.tar.gz \ file://30-0-liberation-sans-narrow.conf \ "
Signature · 1 line
2.12.2
PATCH 6/9 vboxguestdrivers: make sure that do_compile fails when some module failed to build
In reply to Martin Jansa* otherwise we get the failure from do_install with useless log:
DEBUG: Executing shell function do_install
install: cannot stat 'vboxsf.ko': No such file or directory
WARNING: exit code 1 from a shell command.
* instead of the real issue like 5.1.14 currently has with default linux-yocto
version:
CC [M] qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.o
qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.c:93:23: error: 'generic_readlink' undeclared here (not in a function)
.readlink = generic_readlink,
^~~~~~~~~~~~~~~~
--- meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_4.3.36.bb | 4 ++++ meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_5.1.14.bb | 4 ++++ 2 files changed, 8 insertions(+)
meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_4.3.36.bb +4 -0
@@ -41,6 +41,10 @@ do_export_sources() { # compile and install mount utility do_compile_append() { oe_runmake 'LD=${CC}' 'LDFLAGS=${LDFLAGS}' -C ${S}/utils + if ! [ -e vboxguest.ko -a -e vboxsf.ko -a -e vboxvideo.ko ] ; then + echo "ERROR: One of vbox*.ko modules wasn't built" + exit 1 + fi } module_do_install() {
meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_5.1.14.bb +4 -0
@@ -41,6 +41,10 @@ do_export_sources() { # compile and install mount utility do_compile_append() { oe_runmake 'LD=${CC}' 'LDFLAGS=${LDFLAGS}' -C ${S}/utils + if ! [ -e vboxguest.ko -a -e vboxsf.ko -a -e vboxvideo.ko ] ; then + echo "ERROR: One of vbox*.ko modules wasn't built" + exit 1 + fi } module_do_install() {
Signature · 1 line
2.12.2
PATCH 7/9 vboxguestdrivers: upgrade to 5.1.18 to fix compatibility with 4.10 kernel
In reply to Martin Jansa* 5.1.14 fails with default linux-yocto version:
CC [M] qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.o
qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.c:93:23: error: 'generic_readlink' undeclared here (not in a function)
.readlink = generic_readlink,
^~~~~~~~~~~~~~~~
---
.../{vboxguestdrivers_5.1.14.bb => vboxguestdrivers_5.1.18.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-support/vboxguestdrivers/{vboxguestdrivers_5.1.14.bb => vboxguestdrivers_5.1.18.bb} (93%)meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_5.1.18.bb renamed from meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_5.1.14.bb +2 -2
@@ -14,8 +14,8 @@ VBOX_NAME = "VirtualBox-${PV}" SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/${VBOX_NAME}.tar.bz2 \ file://Makefile.utils \ " -SRC_URI[md5sum] = "21eaec9f21477d555559a63761779880" -SRC_URI[sha256sum] = "8267bb026717c6e55237eb798210767d9c703cfcdf01224d9bc26f7dac9f228a" +SRC_URI[md5sum] = "1a7db64cd69ba6d39574fb333e031251" +SRC_URI[sha256sum] = "7ed0959bbbd02826b86b3d5dc8348931ddfab267c31f8ed36ee53c12f5522cd9" S = "${WORKDIR}/vbox_module"
Signature · 1 line
2.12.2
PATCH 8/9 tcsh, dt: blacklist because tcsh doesn't respect CC variable
In reply to Martin Jansa--- meta-oe/recipes-devtools/dt/dt_18.32.bb | 2 ++ meta-oe/recipes-extended/tcsh/tcsh_6.18.01.bb | 2 ++ 2 files changed, 4 insertions(+)
meta-oe/recipes-devtools/dt/dt_18.32.bb +2 -0
@@ -45,3 +45,5 @@ do_install() { } RDEPENDS_${PN} += "tcsh" + +PNBLACKLIST[dt] ?= "Rdepends on blacklisted tcsh"
meta-oe/recipes-extended/tcsh/tcsh_6.18.01.bb +2 -0
@@ -51,3 +51,5 @@ pkg_postinst_${PN} () { #!/bin/sh -e echo /usr/bin/tcsh >> $D/etc/shells } + +PNBLACKLIST[tcsh] ?= "Doesn't respect CC variable and fails with HOSTTOOLS http://errors.yoctoproject.org/Errors/Details/138244/"
Signature · 1 line
2.12.2
PATCH 9/9 zile: fix do_install
In reply to Martin Jansa* --ignore-fail-on-non-empty works when the directory isn't empty, but still reports failure when the directory doesn't exist at all, like in:
http://errors.yoctoproject.org/Errors/Details/138248/
--- meta-oe/recipes-support/zile/zile_2.4.11.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/zile/zile_2.4.11.bb +2 -2
@@ -15,8 +15,8 @@ SRC_URI[sha256sum] = "1fd27bbddc61491b1fbb29a345d0d344734aa9e80cfa07b02892eedf83 inherit autotools pkgconfig do_install_append() { - rm -rf ${D}${libdir}/charset.alias - rmdir --ignore-fail-on-non-empty ${D}${libdir} + rm -rf ${D}${libdir}/charset.alias + rmdir --ignore-fail-on-non-empty ${D}${libdir} || true } PACKAGECONFIG ??= ""
Signature · 1 line
2.12.2