doxygen: Upgrade 1.8.17 -> 1.8.20
PATCH 1/3 doxygen: Upgrade 1.8.17 -> 1.8.20
Upgrade to release 1.8.20:
- Add configuration setting to have docstrings not as preformatted text but as normal documentation
- Bug fix: void return type reported as not documented
- Bug fix: Doxywizard 1.8.19 (Windows): Source code directory seems to be ignored
- Bug fix: The Doxygen uses too much memory (or has probably a memory leak)
- Bug fix: Doxygen doesn't stop on errors
- Bug fix: C++ grouped functions in namespace have disappeard
- Improvement of line count for e.g. warnings
- Improved layout on the bibliography page
- Updated the swedish language translation to 1.8.19
---
.../doxygen/{doxygen_1.8.17.bb => doxygen_1.8.20.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-devtools/doxygen/{doxygen_1.8.17.bb => doxygen_1.8.20.bb} (79%)meta-oe/recipes-devtools/doxygen/doxygen_1.8.20.bb renamed from meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb +2 -2
@@ -10,8 +10,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \ file://0001-build-don-t-look-for-Iconv.patch \ " SRC_URI_append_class-native = " file://doxygen-native-only-check-python3.patch" -SRC_URI[md5sum] = "7997a15c73a8bd6d003eaba5c2ee2b47" -SRC_URI[sha256sum] = "2cba988af2d495541cbbe5541b3bee0ee11144dcb23a81eada19f5501fd8b599" +SRC_URI[md5sum] = "8729936a843232a66fe970ef65f3c3e4" +SRC_URI[sha256sum] = "e0db6979286fd7ccd3a99af9f97397f2bae50532e4ecb312aa18862f8401ddec" inherit cmake python3native
Signature · 1 line
2.17.1
PATCH 2/3 lshw: Upgrade 2.18 -> 2.19
Upgrade to release B.02.19:
- detection of NVMe disks
- detection of SD/MMC and SDIO devices
- bug fixes
- code cleanup
- updated data files
---
.../lshw/files/0001-Fix-musl-build.patch | 125 ++++++++++++++++++
.../0001-Makefile-Fix-cross-compilation.patch | 57 --------
...plied-LDFLAGS-to-silence-OE-GNU_HASH.patch | 34 -----
...3-sysfs-Fix-basename-build-with-musl.patch | 92 -------------
.../lshw/{lshw_02.18.bb => lshw_02.19.2.bb} | 8 +-
5 files changed, 128 insertions(+), 188 deletions(-)
create mode 100644 meta-oe/recipes-devtools/lshw/files/0001-Fix-musl-build.patch
delete mode 100644 meta-oe/recipes-devtools/lshw/files/0001-Makefile-Fix-cross-compilation.patch
delete mode 100644 meta-oe/recipes-devtools/lshw/files/0002-Makefile-Use-supplied-LDFLAGS-to-silence-OE-GNU_HASH.patch
delete mode 100644 meta-oe/recipes-devtools/lshw/files/0003-sysfs-Fix-basename-build-with-musl.patch
rename meta-oe/recipes-devtools/lshw/{lshw_02.18.bb => lshw_02.19.2.bb} (71%)meta-oe/recipes-devtools/lshw/files/0001-Fix-musl-build.patch new file +125 -0
@@ -0,0 +1,125 @@ +From a5a4bb4254b2109bd3e272174946f0bb36ee99a8 Mon Sep 17 00:00:00 2001 +From: Leon Anavi <[email protected]> +Date: Tue, 25 Aug 2020 11:45:45 +0300 +Subject: [PATCH] Fix musl build + +Apply the following fixes for musl: + +- Fix basename() is in libgen.h +- Fix wrong usage of LONG_BIT + +Same fixes have been submitted to the upstream of lshw by Sergio +Prado but they have not been merged yet. + +Upstream-Status: Submitted + +Co-Authored-By: Sergio Prado <[email protected]> +Signed-off-by: Leon Anavi <[email protected]> +--- + src/core/abi.cc | 4 +--- + src/core/sysfs.cc | 19 ++++++++++--------- + 2 files changed, 11 insertions(+), 12 deletions(-) + +diff --git a/src/core/abi.cc b/src/core/abi.cc +index adff7b5..76c664c 100644 +--- a/src/core/abi.cc ++++ b/src/core/abi.cc +@@ -20,9 +20,7 @@ __ID("@(#) $Id: mem.cc 1352 2006-05-27 23:54:13Z ezix $"); + bool scan_abi(hwNode & system) + { + // are we compiled as 32- or 64-bit process ? +- long sc = sysconf(LONG_BIT); +- if(sc==-1) sc = sysconf(_SC_LONG_BIT); +- if(sc!=-1) system.setWidth(sc); ++ system.setWidth(LONG_BIT); + + pushd(PROC_SYS); + +diff --git a/src/core/sysfs.cc b/src/core/sysfs.cc +index 32d6564..c2fa84f 100644 +--- a/src/core/sysfs.cc ++++ b/src/core/sysfs.cc +@@ -16,6 +16,7 @@ + #include <sys/stat.h> + #include <sys/types.h> + #include <sys/mount.h> ++#include <libgen.h> + + + __ID("@(#) $Id$"); +@@ -100,7 +101,7 @@ static string sysfs_getbustype(const string & path) + { + devname = + string(fs.path + "/bus/") + string(namelist[i]->d_name) + +- "/devices/" + basename(path.c_str()); ++ "/devices/" + basename(const_cast<char*>(path.c_str())); + + if (samefile(devname, path)) + return string(namelist[i]->d_name); +@@ -140,7 +141,7 @@ static string sysfstobusinfo(const string & path) + + if (bustype == "usb") + { +- string name = basename(path.c_str()); ++ string name = basename(const_cast<char*>(path.c_str())); + if (matches(name, "^[0-9]+-[0-9]+(\\.[0-9]+)*:[0-9]+\\.[0-9]+$")) + { + size_t colon = name.rfind(":"); +@@ -151,7 +152,7 @@ static string sysfstobusinfo(const string & path) + + if (bustype == "virtio") + { +- string name = basename(path.c_str()); ++ string name = basename(const_cast<char*>(path.c_str())); + if (name.compare(0, 6, "virtio") == 0) + return "virtio@" + name.substr(6); + else +@@ -159,10 +160,10 @@ static string sysfstobusinfo(const string & path) + } + + if (bustype == "vio") +- return string("vio@") + basename(path.c_str()); ++ return string("vio@") + basename(const_cast<char*>(path.c_str())); + + if (bustype == "ccw") +- return string("ccw@") + basename(path.c_str()); ++ return string("ccw@") + basename(const_cast<char*>(path.c_str())); + + if (bustype == "ccwgroup") + { +@@ -240,7 +241,7 @@ string entry::driver() const + string driverlink = This->devpath + "/driver"; + if (!exists(driverlink)) + return ""; +- return basename(readlink(driverlink).c_str()); ++ return basename(const_cast<char*>(readlink(driverlink).c_str())); + } + + +@@ -328,7 +329,7 @@ string entry::name_in_class(const string & classname) const + + string entry::name() const + { +- return basename(This->devpath.c_str()); ++ return basename(const_cast<char*>(This->devpath.c_str())); + } + + +@@ -340,12 +341,12 @@ entry entry::parent() const + + string entry::classname() const + { +- return basename(dirname(This->devpath).c_str()); ++ return basename(const_cast<char*>(dirname(This->devpath).c_str())); + } + + bool entry::isvirtual() const + { +- return string(basename(dirname(dirname(This->devpath)).c_str())) == "virtual"; ++ return string(basename(const_cast<char*>(dirname(dirname(This->devpath)).c_str()))) == "virtual"; + } + + string entry::string_attr(const string & name, const string & def) const +-- +2.17.1 +
meta-oe/recipes-devtools/lshw/files/0001-Makefile-Fix-cross-compilation.patch deleted +0 -57
57 lines not on this page · raw message
meta-oe/recipes-devtools/lshw/files/0002-Makefile-Use-supplied-LDFLAGS-to-silence-OE-GNU_HASH.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From 75667f8a0ae4f1689ff03eb1768b1ee8cdfbf00d Mon Sep 17 00:00:00 2001 -From: Krzysztof Kozlowski <[email protected]> -Date: Wed, 6 Jun 2018 12:49:30 +0200 -Subject: [PATCH 2/2] Makefile: Use supplied LDFLAGS to silence OE GNU_HASH QA - warning - -Fix OpenEmbedded/Yocto QA warning: - - ERROR: lshw-02.16-r1 do_package_qa: QA Issue: No GNU_HASH in the elf binary: 'build/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/lshw/02.16-r1/packages-split/lshw/usr/sbin/lshw' [ldflags] - ERROR: lshw-02.16-r1 do_package_qa: QA run found fatal errors. Please consider fixing them. - ERROR: lshw-02.16-r1 do_package_qa: Function failed: do_package_qa - -Upstream-Status: Submitted -Signed-off-by: Krzysztof Kozlowski <[email protected]> ---- - src/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Makefile b/src/Makefile -index 654b786dd899..a441ba2bb666 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -25,7 +25,7 @@ CXXFLAGS=-g -Wall -g $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS) - ifeq ($(SQLITE), 1) - CXXFLAGS+= -DSQLITE $(shell pkg-config --cflags sqlite3) - endif --LDFLAGS=-L./core/ -g -+LDFLAGS+=-L./core/ -g - ifneq ($(shell $(LD) --help 2| grep -- --as-needed), ) - LDFLAGS+= -Wl,--as-needed - endif --- -2.7.4 -
meta-oe/recipes-devtools/lshw/files/0003-sysfs-Fix-basename-build-with-musl.patch deleted +0 -92
92 lines not on this page · raw message
meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb renamed from meta-oe/recipes-devtools/lshw/lshw_02.18.bb +3 -5
@@ -13,12 +13,10 @@ COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" SRC_URI = " \ http://ezix.org/software/files/lshw-B.${PV}.tar.gz \ - file://0001-Makefile-Fix-cross-compilation.patch \ - file://0002-Makefile-Use-supplied-LDFLAGS-to-silence-OE-GNU_HASH.patch \ - file://0003-sysfs-Fix-basename-build-with-musl.patch \ + file://0001-Fix-musl-build.patch \ " -SRC_URI[md5sum] = "8671c6d94d6324a744b7f21f1bfecfd2" -SRC_URI[sha256sum] = "ae22ef11c934364be4fd2a0a1a7aadf4495a0251ec6979da280d342a89ca3c2f" +SRC_URI[md5sum] = "8c70d46e906688309095c73ecb9396e3" +SRC_URI[sha256sum] = "9bb347ac87142339a366a1759ac845e3dbb337ec000aa1b99b50ac6758a80f80" S = "${WORKDIR}/lshw-B.${PV}"
Signature · 1 line
2.17.1
PATCH 3/3 mercurial: Upgrade 5.4 -> 5.5
In reply to Leon AnaviUpgrade to release 5.5:
- clonebundles can be annotated with the expected memory requirements using the REQUIREDRAM option. This allows clients to skip bundles created with large zstd windows and fallback to larger, but less demanding bundles.
- The phabricator extension now provides more functionality of the arcanist CLI like changing the status of a differential.
- Phases processing is much faster, especially for repositories with old non-public changesets.
- For the case when connected to a TTY, stdout was fixed to be line-buffered on Python 3
- Subversion sources of the convert extension were fixed to work on Python 3
- Subversion sources of the convert extension now interpret the encoding of URLs like Subversion.
- The empty changeset check of in-memory rebases was fixed to match that of normal rebases (and that of the commit command).
- The push command now checks the correct set of outgoing changesets for obsolete and unstable changesets. Previously, it could happen that the check prevented pushing changesets which were already on the server.
More details are available at:
https://www.mercurial-scm.org/wiki/Release5.5
---
.../mercurial/{mercurial_5.4.bb => mercurial_5.5.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-devtools/mercurial/{mercurial_5.4.bb => mercurial_5.5.bb} (87%)meta-oe/recipes-devtools/mercurial/mercurial_5.5.bb renamed from meta-oe/recipes-devtools/mercurial/mercurial_5.4.bb +2 -2
@@ -10,8 +10,8 @@ RDEPENDS_${PN} = "python3 python3-modules" inherit python3native SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz" -SRC_URI[md5sum] = "0859029d0bb54bcf7c583c55680573cb" -SRC_URI[sha256sum] = "1df8d1978aefcbb65dc51e3666a452583f47aeaf3c5682e4c00a3b23cd805d6a" +SRC_URI[md5sum] = "17b21729cbc61dda80b2e3dfc046319f" +SRC_URI[sha256sum] = "c1ed28e1534304a7a4981ed59905286d1c56acd5b75755eedd184171a4a782b4" S = "${WORKDIR}/mercurial-${PV}"
Signature · 1 line
2.17.1
Fails to patch doxygen-native :(
Quoted 44 lines · Leon Anavi
Upgrade to release 1.8.20:
- Add configuration setting to have docstrings not as preformatted text but as normal documentation
- Bug fix: void return type reported as not documented
- Bug fix: Doxywizard 1.8.19 (Windows): Source code directory seems to be ignored
- Bug fix: The Doxygen uses too much memory (or has probably a memory leak)
- Bug fix: Doxygen doesn't stop on errors
- Bug fix: C++ grouped functions in namespace have disappeard
- Improvement of line count for e.g. warnings
- Improved layout on the bibliography page
- Updated the swedish language translation to 1.8.19Signed-off-by Leon Anavi <[email protected]>--- .../doxygen/{doxygen_1.8.17.bb => doxygen_1.8.20.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-devtools/doxygen/{doxygen_1.8.17.bb => doxygen_1.8.20.bb} (79%)meta-oe/recipes-devtools/doxygen/doxygen_1.8.20.bb renamed from meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb +2
-3@@ -10,8 +10,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \ file://0001-build-don-t-look-for-Iconv.patch \ " SRC_URI_append_class-native = " file://doxygen-native-only-check-python3.patch" -SRC_URI[md5sum] = "7997a15c73a8bd6d003eaba5c2ee2b47" -SRC_URI[sha256sum] = "2cba988af2d495541cbbe5541b3bee0ee11144dcb23a81eada19f5501fd8b599" +SRC_URI[md5sum] = "8729936a843232a66fe970ef65f3c3e4" +SRC_URI[sha256sum] = "e0db6979286fd7ccd3a99af9f97397f2bae50532e4ecb312aa18862f8401ddec" inherit cmake python3native --2.17.1
Hi Khem,
Quoted 1 line · Khem Raj
Fails to patch doxygen-native :(
Thank you for reporting this issue. I fixed it and I've just submitted v2 of this patch.
Thanks,
Leon
Quoted 46 lines · Leon Anavi
Quoted 43 lines
Upgrade to release 1.8.20:
- Add configuration setting to have docstrings not as preformatted text but as normal documentation
- Bug fix: void return type reported as not documented
- Bug fix: Doxywizard 1.8.19 (Windows): Source code directory seems to be ignored
- Bug fix: The Doxygen uses too much memory (or has probably a memory leak)
- Bug fix: Doxygen doesn't stop on errors
- Bug fix: C++ grouped functions in namespace have disappeard
- Improvement of line count for e.g. warnings
- Improved layout on the bibliography page
- Updated the swedish language translation to 1.8.19Signed-off-by Leon Anavi <[email protected]>--- .../doxygen/{doxygen_1.8.17.bb => doxygen_1.8.20.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)rename meta-oe/recipes-devtools/doxygen/{doxygen_1.8.17.bb => doxygen_1.8.20.bb} (79%)
meta-oe/recipes-devtools/doxygen/doxygen_1.8.20.bb renamed from meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb +2
-3@@ -10,8 +10,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \ file://0001-build-don-t-look-for-Iconv.patch \ " SRC_URI_append_class-native = " file://doxygen-native-only-check-python3.patch" -SRC_URI[md5sum] = "7997a15c73a8bd6d003eaba5c2ee2b47" -SRC_URI[sha256sum] = "2cba988af2d495541cbbe5541b3bee0ee11144dcb23a81eada19f5501fd8b599" +SRC_URI[md5sum] = "8729936a843232a66fe970ef65f3c3e4" +SRC_URI[sha256sum] = "e0db6979286fd7ccd3a99af9f97397f2bae50532e4ecb312aa18862f8401ddec" inherit cmake python3native --2.17.1
Signature · 3 lines
Leon Anavi Software Engineer konsulko.com
Quoted 6 lines · Leon Anavi
Hi Khem,
Quoted 1 line · Khem Raj
Fails to patch doxygen-native :(
Thank you for reporting this issue. I fixed it and I've just submitted v2 of this patch.
Thanks this now fails on riscv64 as well. but I think thats a binutils problem which is rv64 specific.
see
http://jenkins.nas-admin.org/view/OE/job/oe_world_qemuriscv64/407/console
http://errors.yoctoproject.org/Errors/Build/109092/
Quoted 53 lines
Thanks,
LeonQuoted 49 lines · Leon Anavi
Quoted 46 lines
Upgrade to release 1.8.20:
- Add configuration setting to have docstrings not as preformatted text but as normal documentation
- Bug fix: void return type reported as not documented
- Bug fix: Doxywizard 1.8.19 (Windows): Source code directory seems to be ignored
- Bug fix: The Doxygen uses too much memory (or has probably a memory leak)
- Bug fix: Doxygen doesn't stop on errors
- Bug fix: C++ grouped functions in namespace have disappeard
- Improvement of line count for e.g. warnings
- Improved layout on the bibliography page
- Updated the swedish language translation to 1.8.19Signed-off-by Leon Anavi <[email protected]>---
.../doxygen/{doxygen_1.8.17.bb => doxygen_1.8.20.bb} | 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)rename meta-oe/recipes-devtools/doxygen/{doxygen_1.8.17.bb => doxygen_1.8.20.bb} (79%)
meta-oe/recipes-devtools/doxygen/doxygen_1.8.20.bb renamed from meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb +0
-0@@ -10,8 +10,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \ file://0001-build-don-t-look-for-Iconv.patch \"
SRC_URI_append_class-native = " file://doxygen-native-only-check-python3.patch"meta-oe/recipes-devtools/doxygen/doxygen_1.8.20.bb renamed from meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb +0
-2-SRC_URI[md5sum] = "7997a15c73a8bd6d003eaba5c2ee2b47" -SRC_URI[sha256sum] ="
2cba988af2d495541cbbe5541b3bee0ee11144dcb23a81eada19f5501fd8b599"meta-oe/recipes-devtools/doxygen/doxygen_1.8.20.bb renamed from meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb +2
-0+SRC_URI[md5sum] = "8729936a843232a66fe970ef65f3c3e4" +SRC_URI[sha256sum] ="
e0db6979286fd7ccd3a99af9f97397f2bae50532e4ecb312aa18862f8401ddec"inherit cmake python3native
Signature · 1 line
2.17.1