Skip to contentSkip to conversation

jack: Revert to 1.9.22

PATCH In review Peter Kjellerstedt 2 participants 17 messages Nov 7, 2023 – Nov 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/16 jack: Revert to 1.9.22

There is no version "2". The tag "jack2-control-api-relicense-nedko" incorrectly triggered AUH to identify it as version "2". Additionally, the previous recipe version "1.19.22" was also incorrect. It should actually have been "1.9.22".

License-Update: Update the licenses based on analysis of the code

---
 .../jack/{jack_2.bb => jack_1.9.22.bb}          | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
 rename meta-oe/recipes-multimedia/jack/{jack_2.bb => jack_1.9.22.bb} (67%)
meta-oe/recipes-multimedia/jack/jack_1.9.22.bb renamed from meta-oe/recipes-multimedia/jack/jack_2.bb +11 -6
similarity index 67%
rename from meta-oe/recipes-multimedia/jack/jack_2.bb
rename to meta-oe/recipes-multimedia/jack/jack_1.9.22.bb
index 1d197b32c..b5c52a6ed 100644
@@ -6,15 +6,20 @@ flow model and lock-free programming techniques for graph access have \
 been used to have a more dynamic and robust system."
 SECTION = "libs/multimedia"
 
-LICENSE = "GPL-2.0-or-later | LGPL-2.1-or-later | MIT | AFL-2.1"
-LIC_FILES_CHKSUM = "file://common/jack/control.h;beginline=2;endline=21;md5=9edb8b99b7a0dcd49dbf8741444f123d \
-                    file://common/jack/jack.h;beginline=1;endline=19;md5=6b736ed6b810592b135480a5e853392e \
-                    "
+LICENSE = "GPL-2.0-only & GPL-2.0-or-later & LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = " \
+    file://common/JackControlAPI.cpp;beginline=5;endline=19;md5=9d1921199e203163f160313243f853d6 \
+    file://common/JackControlAPI.h;beginline=4;endline=18;md5=9d1921199e203163f160313243f853d6 \
+    file://common/jack/jack.h;beginline=2;endline=17;md5=0a668d22ce661159cad28d1c3b8e66af \
+    file://common/JackServer.h;beginline=2;endline=17;md5=9bf0870727804a994ee2d19fd368d940 \
+"
 
 DEPENDS = "libsamplerate0 libsndfile1"
 
-SRC_URI = "git://github.com/jackaudio/jack2.git;branch=develop;protocol=https"
-SRCREV = "520dfa0ac5a72d292f5b9fc5835926f925129764"
+SRC_URI = "git://github.com/jackaudio/jack2.git;branch=master;protocol=https"
+SRCREV = "4f58969432339a250ce87fe855fb962c67d00ddb"
+
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 S = "${WORKDIR}/git"
 
#1 lore raw

PATCH 2/16 pahole: Correct the version in the recipe file name

---
 .../recipes-devtools/pahole/{pahole_1.24.bb => pahole_1.25.bb} | 3 ---
 1 file changed, 3 deletions(-)
 rename meta-oe/recipes-devtools/pahole/{pahole_1.24.bb => pahole_1.25.bb} (96%)
meta-oe/recipes-devtools/pahole/pahole_1.25.bb renamed from meta-oe/recipes-devtools/pahole/pahole_1.24.bb +0 -3
similarity index 96%
rename from meta-oe/recipes-devtools/pahole/pahole_1.24.bb
rename to meta-oe/recipes-devtools/pahole/pahole_1.25.bb
index a57053c7c..1334c850e 100644
@@ -9,7 +9,6 @@ DEPENDS = "elfutils zlib libbpf"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_HOST = "(x86_64|i.86|aarch64).*-linux"
 
-PV .= "+1.25+git${SRCPV}"
 SRCREV = "81558a5a996005df0d607dd33f74ec5b7bdb619d"
 SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \
            file://0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch"
@@ -31,5 +30,3 @@ FILES:${PN}-extra = "${datadir} ${bindir} ${libdir}/libdwarves_emit.so*"
 RDEPENDS:${PN}-extra += "bash python3-core"
 
 BBCLASSEXTEND = "native nativesdk"
-
-PV = "1.25"
#2 lore raw

PATCH 3/16 neatvnc: Specify the version in the recipe file name

In reply to Peter Kjellerstedt
---
 .../neatvnc/{neatvnc_git.bb => neatvnc_0.7.0.bb}                | 2 --
 1 file changed, 2 deletions(-)
 rename meta-oe/recipes-graphics/neatvnc/{neatvnc_git.bb => neatvnc_0.7.0.bb} (98%)
meta-oe/recipes-graphics/neatvnc/neatvnc_0.7.0.bb renamed from meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb +0 -2
similarity index 98%
rename from meta-oe/recipes-graphics/neatvnc/neatvnc_git.bb
rename to meta-oe/recipes-graphics/neatvnc/neatvnc_0.7.0.bb
index 0c95f7e4c..c8ac09f23 100644
@@ -8,8 +8,6 @@ SRC_URI = "git://github.com/any1/neatvnc;branch=v0.7;protocol=https"
 
 SRCREV = "112391140a76f0b362fa0df92fc1183c4a48ef3d"
 
-PV = "0.7.0"
-
 S = "${WORKDIR}/git"
 
 DEPENDS = "libdrm pixman aml zlib"
#3 lore raw

PATCH 4/16 mstpd: Update to 0.1.0+

In reply to Peter Kjellerstedt

The "update" to 0.05 in commit d0dbeb580f was actually a revert, since version "0.05" in reality corresponds to "0.0.5".

Also do some clean up:
* Unify SRC_URI.
* Correct the indentation of shell code.

---
 .../recipes-extended/networking/mstpd_git.bb  | 26 ++++++++++---------
 1 file changed, 14 insertions(+), 12 deletions(-)
meta-oe/recipes-extended/networking/mstpd_git.bb +14 -12
index ed5669e55..b2043ef06 100644
@@ -1,15 +1,17 @@
-PV = "0.05"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4325afd396febcb659c36b49533135d4"
 
-SRC_URI = "git://github.com/mstpd/mstpd;branch=master;protocol=https"
+PV = "0.1.0+git"
+
+SRC_URI = " \
+    git://github.com/mstpd/mstpd;branch=master;protocol=https \
+    file://bridge-stp \
+    file://mstpd.service \
+"
 SRCREV = "181c453fc1a00573e19f14960dcc54ad84beea7c"
 S = "${WORKDIR}/git"
 
-SRC_URI:append = " \
-  file://bridge-stp \
-  file://mstpd.service \
-"
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+){2,})"
 
 inherit autotools pkgconfig systemd
 
@@ -20,12 +22,12 @@ SYSTEMD_PACKAGES = "${PN}-mstpd"
 SYSTEMD_SERVICE:${PN}-mstpd = "mstpd.service"
 
 do_install:append() {
-  rm -rf ${D}${libexecdir} ${D}${libdir}/NetworkManager
-  rmdir ${D}${libdir} || true
+    rm -rf ${D}${libexecdir} ${D}${libdir}/NetworkManager
+    rmdir ${D}${libdir} || true
 
-  install -d -m 0755 ${D}/${sbindir}
-  install -m 0755 ${WORKDIR}/bridge-stp ${D}/${sbindir}
+    install -d -m 0755 ${D}${sbindir}
+    install -m 0755 ${WORKDIR}/bridge-stp ${D}${sbindir}
 
-  install -d -m 0755 ${D}${systemd_system_unitdir}
-  install -m 0644 ${WORKDIR}/mstpd.service ${D}${systemd_system_unitdir}/
+    install -d -m 0755 ${D}${systemd_system_unitdir}
+    install -m 0644 ${WORKDIR}/mstpd.service ${D}${systemd_system_unitdir}
 }
#4 lore raw

PATCH 5/16 Revert "libtorrent: upgrade 0.13.8 -> 1"

In reply to Peter Kjellerstedt

This reverts commit 3259bc75f5cbe83623e340efd4518414ae2f7593.

AUH incorrectly identified the tag "pre-merge-1" as version "1".

---
 ...issue-with-gcc-v6.x-and-empty-CXXFLA.patch |   44 -
 ...c-v6.x-fix-for-empty-CXXFLAGS-See-10.patch |   56 -
 ...pace-to-fmt-str-in-log_gz_file_write.patch |   27 -
 ...ncement-11IPv4-filter-enhancement-Cl.patch |  379 -
 ...extents-test-to-pass-TravisCI-See-11.patch |   47 -
 .../0006-Bumped-version-to-0.13.7.patch       |   30 -
 .../0007-Added-support-for-openssl-1.1.patch  |  105 -
 ...nstead-of-AC_RUN-to-check-for-execin.patch |   24 -
 ...-to-prevent-unnecessary-kqueue-check.patch |   46 -
 ...failed-tracker-bencode-parsing-See-9.patch |   58 -
 ...when-displaying-info-on-failed-track.patch |   60 -
 ...tch-to-C-11-MRT-RNG-for-random-bytes.patch |   45 -
 ...m_ipv6_socket-attribute-which-led-to.patch |   45 -
 ...-creation-AF_INET6-failes-initialize.patch |   27 -
 ...hub.com-rakshasa-rtorrent-issues-731.patch |   29 -
 ...ottle.min_peers-settings-in-rtorrent.patch |   40 -
 .../0017-increase-piece-length-max.patch      |   22 -
 .../0018-Set-max-piece-size-512mb.patch       |   22 -
 .../0019-Fixed-compiler-warning.patch         |   22 -
 ..._GNU_SOURCE-to-fallocate-test.-neheb.patch |   74 -
 ...-Fixed-diffie-hellman-implementation.patch |  293 -
 ...sed-max-timeout-for-tracker-requests.patch |   64 -
 ...-Close-log-files-when-reusing-a-name.patch |  123 -
 .../0024-Bumped-to-version-0.13.8.patch       |   30 -
 ...-be-appended-rather-than-overwritten.patch |  109 -
 ...nd-function.-Added-append-parameter-.patch |  101 -
 ...kport-changes-from-feature-bind.-200.patch | 7365 -----------------
 ...ibtorrent.pc.in-add-Libs.Private-202.patch |   26 -
 ...fy-missing-quickly-renamed-files-203.patch |   27 -
 .../0030-Fix-compiler-warnings.-204.patch     |  470 --
 ...-log-format-so-GCC-can-check-it.-205.patch |   33 -
 ...e-make-script-to-optimize-build.-206.patch |  843 --
 .../0033-Refactor-make-process.-207.patch     | 2710 ------
 ...0034-Changes-automake-required-files.patch |   22 -
 ...placed-custom-execinfo-autoconf-test.patch |   48 -
 ...option-to-disable-pthread_setname_np.patch |  135 -
 ...37-Improved-backtrace-error-checking.patch |  594 --
 ...-multiple-connections-from-NAT-not-w.patch |  199 -
 ...disable-execinfo-option-to-configure.patch |   32 -
 .../libtorrent/0040-Detect-ip-address.patch   |  457 -
 .../libtorrent/0041-Added-ipv6-options.patch  |   85 -
 .../0042-Removed-obsolete-files.patch         |  444 -
 ...Updated-and-cleaned-up-automake.-224.patch | 2979 -------
 .../libtorrent/0044-Create-FUNDING.yml.patch  |   29 -
 .../libtorrent/libtorrent_git.bb              |   51 +-
 45 files changed, 3 insertions(+), 18468 deletions(-)
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0001-Fix-compilation-issue-with-gcc-v6.x-and-empty-CXXFLA.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0002-Modfiy-gcc-v6.x-fix-for-empty-CXXFLAGS-See-10.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0003-Add-space-to-fmt-str-in-log_gz_file_write.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0004-IPv4-filter-enhancement-11IPv4-filter-enhancement-Cl.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0005-Disable-extents-test-to-pass-TravisCI-See-11.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0006-Bumped-version-to-0.13.7.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0007-Added-support-for-openssl-1.1.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0008-Use-AC_COMPILE-instead-of-AC_RUN-to-check-for-execin.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0009-Modify-configure-to-prevent-unnecessary-kqueue-check.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0010-Display-info-on-failed-tracker-bencode-parsing-See-9.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0011-Strip-tags-also-when-displaying-info-on-failed-track.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0012-Switch-to-C-11-MRT-RNG-for-random-bytes.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0013-Prevent-loss-of-m_ipv6_socket-attribute-which-led-to.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0014-If-during-socket-creation-AF_INET6-failes-initialize.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0015-Fixes-https-github.com-rakshasa-rtorrent-issues-731.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0016-Fix-honoring-throttle.min_peers-settings-in-rtorrent.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0017-increase-piece-length-max.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0018-Set-max-piece-size-512mb.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0019-Fixed-compiler-warning.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0020-Added-_GNU_SOURCE-to-fallocate-test.-neheb.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0021-Fixed-diffie-hellman-implementation.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0022-Increased-max-timeout-for-tracker-requests.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0023-Close-log-files-when-reusing-a-name.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0024-Bumped-to-version-0.13.8.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0025-Allow-logs-to-be-appended-rather-than-overwritten.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0026-Removed-log-append-function.-Added-append-parameter-.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0027-Backport-changes-from-feature-bind.-200.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0028-libtorrent.pc.in-add-Libs.Private-202.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0029-Fix-for-inotify-missing-quickly-renamed-files-203.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0030-Fix-compiler-warnings.-204.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0031-Fix-log-format-so-GCC-can-check-it.-205.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0032-Consolidate-make-script-to-optimize-build.-206.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0033-Refactor-make-process.-207.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0034-Changes-automake-required-files.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0035-Replaced-custom-execinfo-autoconf-test.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0036-Added-option-to-disable-pthread_setname_np.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0037-Improved-backtrace-error-checking.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0038-Fixed-issue-with-multiple-connections-from-NAT-not-w.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0039-Added-disable-execinfo-option-to-configure.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0040-Detect-ip-address.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0041-Added-ipv6-options.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0042-Removed-obsolete-files.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0043-Updated-and-cleaned-up-automake.-224.patch
 delete mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0044-Create-FUNDING.yml.patch
meta-oe/recipes-connectivity/libtorrent/libtorrent/0001-Fix-compilation-issue-with-gcc-v6.x-and-empty-CXXFLA.patch deleted +0 -44
deleted file mode 100644
index bc4bade51..000000000
@@ -1,44 +0,0 @@
-From c2b119de0e66fb047bb20e445ac8e25824448858 Mon Sep 17 00:00:00 2001
-From: chros <chros@chrosGX620>
-Date: Sun, 30 Jul 2017 20:34:47 +0100
-Subject: [PATCH] Fix compilation issue with gcc v6.x and empty CXXFLAGS (See
- #10)
-
----
- configure.ac            |  1 +
- scripts/rak_compiler.m4 | 13 +++++++++++++
- 2 files changed, 14 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index 65e34872..2f29e3f9 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -28,6 +28,7 @@ AC_C_BIGENDIAN(
-     AC_MSG_ERROR([Could not determine endianness])
- )
- 
-+RAK_CHECK_CXXFLAGS
- RAK_ENABLE_DEBUG
- RAK_ENABLE_EXTRA_DEBUG
- RAK_ENABLE_WERROR
-diff --git a/scripts/rak_compiler.m4 b/scripts/rak_compiler.m4
-index 39bd19a7..87871abf 100644
---- a/scripts/rak_compiler.m4
-+++ b/scripts/rak_compiler.m4
-@@ -1,3 +1,16 @@
-+AC_DEFUN([RAK_CHECK_CXXFLAGS], [
-+
-+  AC_MSG_CHECKING([for user-defined CXXFLAGS])
-+
-+  if test -n "$CXXFLAGS"; then
-+    AC_MSG_RESULT([user-defined "$CXXFLAGS"])
-+  else
-+    CXXFLAGS="-O2"
-+    AC_MSG_RESULT([default "$CXXFLAGS"])
-+  fi
-+])
-+
-+
- AC_DEFUN([RAK_ENABLE_DEBUG], [
-   AC_ARG_ENABLE(debug,
-     AC_HELP_STRING([--enable-debug], [enable debug information [[default=yes]]]),
meta-oe/recipes-connectivity/libtorrent/libtorrent/0002-Modfiy-gcc-v6.x-fix-for-empty-CXXFLAGS-See-10.patch deleted +0 -56

56 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0003-Add-space-to-fmt-str-in-log_gz_file_write.patch deleted +0 -27
deleted file mode 100644
index 810b4d4ca..000000000
@@ -1,27 +0,0 @@
-From 48635a0fdb06b8572809dc54c630109db1e6e85c Mon Sep 17 00:00:00 2001
-From: Matt Traudt <[email protected]>
-Date: Mon, 20 Nov 2017 15:22:51 -0500
-Subject: [PATCH] Add space to fmt str in log_gz_file_write
-
-Without this space, the log level identifier ('D', 'I', etc.)
-would be right next to actual content.
-
-Before: <timestamp> Depoll->pcb(17): Open event.
-After: <timestamp> D epoll->pcb(17): Open event.
----
- src/torrent/utils/log.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/torrent/utils/log.cc b/src/torrent/utils/log.cc
-index 646d36e3..58b563a6 100644
---- a/src/torrent/utils/log.cc
-+++ b/src/torrent/utils/log.cc
-@@ -381,7 +381,7 @@ log_gz_file_write(std::shared_ptr<log_gz_output>& outfile, const char* data, siz
- 
-   // Normal groups are nul-terminated strings.
-   if (group >= 0) {
--    const char* fmt = (group >= LOG_NON_CASCADING) ? ("%" PRIi32 " ") : ("%" PRIi32 " %c");
-+    const char* fmt = (group >= LOG_NON_CASCADING) ? ("%" PRIi32 " ") : ("%" PRIi32 " %c ");
- 
-     int buffer_length = snprintf(buffer, 64, fmt,
-                                  cachedTime.seconds(),
meta-oe/recipes-connectivity/libtorrent/libtorrent/0004-IPv4-filter-enhancement-11IPv4-filter-enhancement-Cl.patch deleted +0 -379

379 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0005-Disable-extents-test-to-pass-TravisCI-See-11.patch deleted +0 -47

47 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0006-Bumped-version-to-0.13.7.patch deleted +0 -30
deleted file mode 100644
index 645cf0f99..000000000
@@ -1,30 +0,0 @@
-From da7db7db29a8488e29d3b0f02906c5db379d4b6d Mon Sep 17 00:00:00 2001
-From: rakshasa <[email protected]>
-Date: Thu, 7 Jun 2018 13:18:03 +0900
-Subject: [PATCH] Bumped version to 0.13.7.
-
----
- configure.ac | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index a6df6b80..5b1ea237 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1,12 +1,12 @@
--AC_INIT(libtorrent, 0.13.6, [email protected])
-+AC_INIT(libtorrent, 0.13.7, [email protected])
- 
- LT_INIT([disable-static])
- 
- dnl Find a better way to do this
--AC_DEFINE(PEER_NAME, "-lt0D60-", Identifier that is part of the default peer id)
--AC_DEFINE(PEER_VERSION, "lt\x0D\x60", 4 byte client and version identifier for DHT)
-+AC_DEFINE(PEER_NAME, "-lt0D70-", Identifier that is part of the default peer id)
-+AC_DEFINE(PEER_VERSION, "lt\x0D\x70", 4 byte client and version identifier for DHT)
- 
--LIBTORRENT_CURRENT=19
-+LIBTORRENT_CURRENT=20
- LIBTORRENT_REVISION=0
- LIBTORRENT_AGE=0
- 
meta-oe/recipes-connectivity/libtorrent/libtorrent/0007-Added-support-for-openssl-1.1.patch deleted +0 -105

105 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0008-Use-AC_COMPILE-instead-of-AC_RUN-to-check-for-execin.patch deleted +0 -24
deleted file mode 100644
index 6625fb55c..000000000
@@ -1,24 +0,0 @@
-From c2ec5e0fb8ce7a0df513b5f4086e23d92049ef0e Mon Sep 17 00:00:00 2001
-From: Stephen Shkardoon <[email protected]>
-Date: Mon, 25 Jun 2018 20:05:18 +1200
-Subject: [PATCH] Use AC_COMPILE instead of AC_RUN to check for execinfo.h
-
-This way enables cross compiling, since we don't need to run anything
-during the configure script.
----
- scripts/common.m4 | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/scripts/common.m4 b/scripts/common.m4
-index ff023928..b6d051f5 100644
---- a/scripts/common.m4
-+++ b/scripts/common.m4
-@@ -153,7 +153,7 @@ dnl   Need to fix this so that it uses the stuff defined by the system.
- AC_DEFUN([TORRENT_CHECK_EXECINFO], [
-   AC_MSG_CHECKING(for execinfo.h)
- 
--  AC_RUN_IFELSE([AC_LANG_SOURCE([
-+  AC_COMPILE_IFELSE([AC_LANG_SOURCE([
-       #include <execinfo.h>
-       int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
-       ])],
meta-oe/recipes-connectivity/libtorrent/libtorrent/0009-Modify-configure-to-prevent-unnecessary-kqueue-check.patch deleted +0 -46

46 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0010-Display-info-on-failed-tracker-bencode-parsing-See-9.patch deleted +0 -58

58 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0011-Strip-tags-also-when-displaying-info-on-failed-track.patch deleted +0 -60

60 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0012-Switch-to-C-11-MRT-RNG-for-random-bytes.patch deleted +0 -45

45 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0013-Prevent-loss-of-m_ipv6_socket-attribute-which-led-to.patch deleted +0 -45

45 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0014-If-during-socket-creation-AF_INET6-failes-initialize.patch deleted +0 -27
deleted file mode 100644
index 4bb1ed21c..000000000
@@ -1,27 +0,0 @@
-From 1890bde5c051d932d1b2940e815d0c82964c474c Mon Sep 17 00:00:00 2001
-From: Gleb Smirnoff <[email protected]>
-Date: Tue, 2 Oct 2018 18:57:43 -0700
-Subject: [PATCH] If during socket creation AF_INET6 failes initialize sockaddr
- as AF_INET. Otherwise any bind(2) would fail due to sockaddr address family
- not matching socket address family.
-
----
- src/net/listen.cc | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/net/listen.cc b/src/net/listen.cc
-index da1c2e84..d424e94c 100644
---- a/src/net/listen.cc
-+++ b/src/net/listen.cc
-@@ -75,7 +75,10 @@ Listen::open(uint16_t first, uint16_t last, int backlog, const rak::socket_addre
- 
-   // TODO: Temporary until we refactor:
-   if (bindAddress->family() == 0) {
--    sa.sa_inet6()->clear();
-+    if (m_ipv6_socket)
-+      sa.sa_inet6()->clear();
-+    else
-+      sa.sa_inet()->clear();
-   } else {
-     sa.copy(*bindAddress, bindAddress->length());
-   }
meta-oe/recipes-connectivity/libtorrent/libtorrent/0015-Fixes-https-github.com-rakshasa-rtorrent-issues-731.patch deleted +0 -29
deleted file mode 100644
index a33a0103b..000000000
@@ -1,29 +0,0 @@
-From cbd946b6cad8c93b3d39ab4f338b3640f684cbfc Mon Sep 17 00:00:00 2001
-From: Adam Fontenot <[email protected]>
-Date: Sat, 7 Jul 2018 16:52:07 -0700
-Subject: [PATCH] Fixes https://github.com/rakshasa/rtorrent/issues/731
-
----
- src/tracker/tracker_http.cc | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/tracker/tracker_http.cc b/src/tracker/tracker_http.cc
-index eefe5a17..1bf94107 100644
---- a/src/tracker/tracker_http.cc
-+++ b/src/tracker/tracker_http.cc
-@@ -145,13 +145,13 @@ TrackerHttp::send_state(int state) {
-   if (!localAddress->is_address_any())
-     s << "&ip=" << localAddress->address_str();
-   
--  if (localAddress->is_address_any() || localAddress->family() != rak::socket_address::pf_inet6) {
-+  if (localAddress->is_address_any() && localAddress->family() == rak::socket_address::pf_inet) {
-     rak::socket_address local_v6;
-     if (get_local_address(rak::socket_address::af_inet6, &local_v6))
-       s << "&ipv6=" << rak::copy_escape_html(local_v6.address_str());
-   }
- 
--  if (localAddress->is_address_any() || localAddress->family() != rak::socket_address::pf_inet) {
-+  if (localAddress->is_address_any() && localAddress->family() == rak::socket_address::pf_inet6) {
-     rak::socket_address local_v4;
-     if (get_local_address(rak::socket_address::af_inet, &local_v4))
-       s << "&ipv4=" << local_v4.address_str();
meta-oe/recipes-connectivity/libtorrent/libtorrent/0016-Fix-honoring-throttle.min_peers-settings-in-rtorrent.patch deleted +0 -40
deleted file mode 100644
index 6ef5f1ad4..000000000
@@ -1,40 +0,0 @@
-From d49316117401cff4045b1d1194cec60909e45555 Mon Sep 17 00:00:00 2001
-From: chros <chros@chrosGX620>
-Date: Sun, 13 May 2018 11:34:33 +0100
-Subject: [PATCH] Fix honoring throttle.min_peers* settings in rtorrent (See
- #13)
-
----
- src/download/download_main.cc | 17 ++++++-----------
- 1 file changed, 6 insertions(+), 11 deletions(-)
-
-diff --git a/src/download/download_main.cc b/src/download/download_main.cc
-index 48222c38..efe91d66 100644
---- a/src/download/download_main.cc
-+++ b/src/download/download_main.cc
-@@ -355,19 +355,14 @@ DownloadMain::receive_tracker_success() {
- 
- void
- DownloadMain::receive_tracker_request() {
--  bool should_stop = false;
--  bool should_start = false;
-+  if (info()->is_pex_enabled() && info()->size_pex() > 0
-+      || connection_list()->size() + peer_list()->available_list()->size() / 2 >= connection_list()->min_size()) {
- 
--  if (info()->is_pex_enabled() && info()->size_pex() > 0)
--    should_stop = true;
--
--  if (connection_list()->size() + peer_list()->available_list()->size() / 2 < connection_list()->min_size())
--    should_start = true;
--
--  if (should_stop)
-     m_tracker_controller->stop_requesting();
--  else if (should_start)
--    m_tracker_controller->start_requesting();
-+    return;
-+  }
-+
-+  m_tracker_controller->start_requesting();
- }
- 
- struct SocketAddressCompact_less {
meta-oe/recipes-connectivity/libtorrent/libtorrent/0017-increase-piece-length-max.patch deleted +0 -22
deleted file mode 100644
index 7108507a1..000000000
@@ -1,22 +0,0 @@
-From 9fd2f35f86397b9259e0c9b7c54444c0ec3c8965 Mon Sep 17 00:00:00 2001
-From: adam <[email protected]>
-Date: Mon, 26 Feb 2018 16:04:34 +0200
-Subject: [PATCH] increase piece length max
-
----
- src/download/download_constructor.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/download/download_constructor.cc b/src/download/download_constructor.cc
-index 1bb261bd..67ef4276 100644
---- a/src/download/download_constructor.cc
-+++ b/src/download/download_constructor.cc
-@@ -157,7 +157,7 @@ DownloadConstructor::parse_info(const Object& b) {
-   } else {
-     chunkSize = b.get_key_value("piece length");
- 
--    if (chunkSize <= (1 << 10) || chunkSize > (128 << 20))
-+    if (chunkSize <= (1 << 10) || chunkSize > (128 << 22))
-       throw input_error("Torrent has an invalid \"piece length\".");
-   }
- 
meta-oe/recipes-connectivity/libtorrent/libtorrent/0018-Set-max-piece-size-512mb.patch deleted +0 -22
deleted file mode 100644
index f864d23c3..000000000
@@ -1,22 +0,0 @@
-From b263b347f14b9d0ca54d04ca92367a98d791dc17 Mon Sep 17 00:00:00 2001
-From: Jari Sundell <[email protected]>
-Date: Sun, 9 Jun 2019 14:53:32 +0900
-Subject: [PATCH] Set max piece size 512mb.
-
----
- src/download/download_constructor.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/download/download_constructor.cc b/src/download/download_constructor.cc
-index 67ef4276..1bf362fa 100644
---- a/src/download/download_constructor.cc
-+++ b/src/download/download_constructor.cc
-@@ -157,7 +157,7 @@ DownloadConstructor::parse_info(const Object& b) {
-   } else {
-     chunkSize = b.get_key_value("piece length");
- 
--    if (chunkSize <= (1 << 10) || chunkSize > (128 << 22))
-+    if (chunkSize <= (1 << 10) || chunkSize > (512 << 20))
-       throw input_error("Torrent has an invalid \"piece length\".");
-   }
- 
meta-oe/recipes-connectivity/libtorrent/libtorrent/0019-Fixed-compiler-warning.patch deleted +0 -22
deleted file mode 100644
index 0a06a2688..000000000
@@ -1,22 +0,0 @@
-From cdfb4381bedb278dabb8ca75c10858d16b895355 Mon Sep 17 00:00:00 2001
-From: Jari Sundell <[email protected]>
-Date: Sun, 9 Jun 2019 14:55:44 +0900
-Subject: [PATCH] Fixed compiler warning.
-
----
- src/download/download_main.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/download/download_main.cc b/src/download/download_main.cc
-index efe91d66..9a3f9df2 100644
---- a/src/download/download_main.cc
-+++ b/src/download/download_main.cc
-@@ -355,7 +355,7 @@ DownloadMain::receive_tracker_success() {
- 
- void
- DownloadMain::receive_tracker_request() {
--  if (info()->is_pex_enabled() && info()->size_pex() > 0
-+  if ((info()->is_pex_enabled() && info()->size_pex()) > 0
-       || connection_list()->size() + peer_list()->available_list()->size() / 2 >= connection_list()->min_size()) {
- 
-     m_tracker_controller->stop_requesting();
meta-oe/recipes-connectivity/libtorrent/libtorrent/0020-Added-_GNU_SOURCE-to-fallocate-test.-neheb.patch deleted +0 -74

74 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0021-Fixed-diffie-hellman-implementation.patch deleted +0 -293

293 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0022-Increased-max-timeout-for-tracker-requests.patch deleted +0 -64

64 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0023-Close-log-files-when-reusing-a-name.patch deleted +0 -123

123 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0024-Bumped-to-version-0.13.8.patch deleted +0 -30
deleted file mode 100644
index ffe6b3f22..000000000
@@ -1,30 +0,0 @@
-From 7faa9c58ce098bbdeff83b6add72f3075b47881d Mon Sep 17 00:00:00 2001
-From: rakshasa <[email protected]>
-Date: Fri, 19 Jul 2019 13:38:12 +0200
-Subject: [PATCH] Bumped to version 0.13.8.
-
----
- configure.ac | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index b885714d..4ed08124 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1,12 +1,12 @@
--AC_INIT(libtorrent, 0.13.7, [email protected])
-+AC_INIT(libtorrent, 0.13.8, [email protected])
- 
- LT_INIT([disable-static])
- 
- dnl Find a better way to do this
--AC_DEFINE(PEER_NAME, "-lt0D70-", Identifier that is part of the default peer id)
--AC_DEFINE(PEER_VERSION, "lt\x0D\x70", 4 byte client and version identifier for DHT)
-+AC_DEFINE(PEER_NAME, "-lt0D80-", Identifier that is part of the default peer id)
-+AC_DEFINE(PEER_VERSION, "lt\x0D\x80", 4 byte client and version identifier for DHT)
- 
--LIBTORRENT_CURRENT=20
-+LIBTORRENT_CURRENT=21
- LIBTORRENT_REVISION=0
- LIBTORRENT_AGE=0
- 
meta-oe/recipes-connectivity/libtorrent/libtorrent/0025-Allow-logs-to-be-appended-rather-than-overwritten.patch deleted +0 -109

109 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0026-Removed-log-append-function.-Added-append-parameter-.patch deleted +0 -101

101 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0027-Backport-changes-from-feature-bind.-200.patch deleted +0 -7365

1,078 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0028-libtorrent.pc.in-add-Libs.Private-202.patch deleted +0 -26
deleted file mode 100644
index d81548ceb..000000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-connectivity/libtorrent/libtorrent/0029-Fix-for-inotify-missing-quickly-renamed-files-203.patch deleted +0 -27
deleted file mode 100644
index 59cf76cad..000000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-connectivity/libtorrent/libtorrent/0030-Fix-compiler-warnings.-204.patch deleted +0 -470

470 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0031-Fix-log-format-so-GCC-can-check-it.-205.patch deleted +0 -33
deleted file mode 100644
index 0ecc0cfe5..000000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-connectivity/libtorrent/libtorrent/0032-Consolidate-make-script-to-optimize-build.-206.patch deleted +0 -843

843 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0033-Refactor-make-process.-207.patch deleted +0 -2710

2,710 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0034-Changes-automake-required-files.patch deleted +0 -22
deleted file mode 100644
index e860045a7..000000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-connectivity/libtorrent/libtorrent/0035-Replaced-custom-execinfo-autoconf-test.patch deleted +0 -48

48 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0036-Added-option-to-disable-pthread_setname_np.patch deleted +0 -135

135 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0037-Improved-backtrace-error-checking.patch deleted +0 -594

594 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0038-Fixed-issue-with-multiple-connections-from-NAT-not-w.patch deleted +0 -199

199 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0039-Added-disable-execinfo-option-to-configure.patch deleted +0 -32
deleted file mode 100644
index a631b8de9..000000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-connectivity/libtorrent/libtorrent/0040-Detect-ip-address.patch deleted +0 -457

457 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0041-Added-ipv6-options.patch deleted +0 -85

85 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0042-Removed-obsolete-files.patch deleted +0 -444

444 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0043-Updated-and-cleaned-up-automake.-224.patch deleted +0 -2979

2,979 lines not on this page · raw message

meta-oe/recipes-connectivity/libtorrent/libtorrent/0044-Create-FUNDING.yml.patch deleted +0 -29
deleted file mode 100644
index b9378f503..000000000

Lines of this file are not shown. View the raw message.

meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb +3 -48

51 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.

#5 lore raw

PATCH 6/16 libtorrent: Add UPSTREAM_CHECK_GITTAGREGEX

In reply to Peter Kjellerstedt

This makes sure only tags like "vX.Y.Z" are identified as releases.

---
 meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb +4 -3
index fec05571d..c235547fe 100644
@@ -6,16 +6,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
 
 DEPENDS = "zlib libsigc++-2.0 openssl cppunit"
 
+PV = "0.13.8+git"
+
 SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https"
 SRCREV = "e60f222241319aaae482789517ad00ae9344bd13"
 
-CVE_STATUS[CVE-2009-1760] = "backported-patch: patched in our product"
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
-PV = "0.13.8+git${SRCPV}"
+CVE_STATUS[CVE-2009-1760] = "backported-patch: patched in our product"
 
 S = "${WORKDIR}/git"
 
-
 PACKAGECONFIG ??= "instrumentation aligned"
 
 PACKAGECONFIG:remove:mipsarch = "instrumentation"
#6 lore raw

PATCH 7/16 mksh: Update to 59c properly

In reply to Peter Kjellerstedt

The "update" in commit 2df786211a only changed the version without actually changing the downloaded tar ball.

---
 meta-oe/recipes-shells/mksh/{mksh_R59c.bb => mksh_59c.bb} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-shells/mksh/{mksh_R59c.bb => mksh_59c.bb} (82%)
meta-oe/recipes-shells/mksh/mksh_59c.bb renamed from meta-oe/recipes-shells/mksh/mksh_R59c.bb +4 -2
similarity index 82%
rename from meta-oe/recipes-shells/mksh/mksh_R59c.bb
rename to meta-oe/recipes-shells/mksh/mksh_59c.bb
index a45107316..e3a8ca8b5 100644
@@ -7,9 +7,11 @@ LIC_FILES_CHKSUM = "file://main.c;beginline=6;endline=26;md5=6efc2c249328e4d2bd3
                     file://strlcpy.c;beginline=1;endline=17;md5=d953f28f0c43ee29e238ec9bc15df2a0 \
                    "
 
-SRC_URI = "http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R59b.tgz"
+SRC_URI = "http://www.mirbsd.org/MirOS/dist/mir/${BPN}/${BPN}-R${PV}.tgz"
 
-SRC_URI[sha256sum] = "907ed1a9586e7f18bdefdd4a763aaa8397b755e15034aa54f4d753bfb272e0e6"
+SRC_URI[sha256sum] = "77ae1665a337f1c48c61d6b961db3e52119b38e58884d1c89684af31f87bc506"
+
+UPSTREAM_CHECK_REGEX = "${BPN}-R(?P<pver>.*)\.tgz"
 
 inherit update-alternatives
 
#7 lore raw

PATCH 8/16 fluidsynth: Specify the version in the recipe file name

In reply to Peter Kjellerstedt

Also unify the SRC_URI.

---
 .../{fluidsynth_git.bb => fluidsynth_2.3.4.bb}    | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
 rename meta-multimedia/recipes-multimedia/fluidsynth/{fluidsynth_git.bb => fluidsynth_2.3.4.bb} (94%)
meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.3.4.bb renamed from meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb +7 -8
similarity index 94%
rename from meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_git.bb
rename to meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.3.4.bb
index 26b199943..dc05832e8 100644
@@ -4,19 +4,18 @@ SECTION = "libs/multimedia"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
 
-SRC_URI = "git://github.com/FluidSynth/fluidsynth.git;branch=master;protocol=https"
-SRCREV = "5ecdc4568e45123216c6888892caad07918ef127"
-S = "${WORKDIR}/git"
-PV = "2.3.4"
-
-inherit cmake pkgconfig lib_package
-
 DEPENDS = "glib-2.0"
 
-SRC_URI += " \
+SRC_URI = " \
+    git://github.com/FluidSynth/fluidsynth.git;branch=master;protocol=https \
     file://0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch \
     file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \
 "
+SRCREV = "5ecdc4568e45123216c6888892caad07918ef127"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig lib_package
 
 EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
 
#8 lore raw

PATCH 9/16 libuvc: Specify the version in the recipe file name

In reply to Peter Kjellerstedt
---
 .../recipes-multimedia/libuvc/{libuvc.bb => libuvc_0.0.7.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-multimedia/recipes-multimedia/libuvc/{libuvc.bb => libuvc_0.0.7.bb} (97%)
meta-multimedia/recipes-multimedia/libuvc/libuvc_0.0.7.bb renamed from meta-multimedia/recipes-multimedia/libuvc/libuvc.bb +1 -1
similarity index 97%
rename from meta-multimedia/recipes-multimedia/libuvc/libuvc.bb
rename to meta-multimedia/recipes-multimedia/libuvc/libuvc_0.0.7.bb
index dacb57c79..b1572b32a 100644
@@ -3,11 +3,11 @@ HOMEPAGE = "https://github.com/libuvc/libuvc.git"
 SECTION = "libs"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2f1963e0bb88c93463af750daf9ba0c2"
+
 DEPENDS = "libusb jpeg"
 
 SRC_URI = "git://github.com/libuvc/libuvc.git;branch=master;protocol=https"
 SRCREV = "68d07a00e11d1944e27b7295ee69673239c00b4b"
-PV = "0.0.7"
 
 S = "${WORKDIR}/git"
 
#9 lore raw

PATCH 10/16 gst-shark: Update to 0.8.1 properly

In reply to Peter Kjellerstedt

The "update" in commit 60726d77d5 added a SRCREV rather than updating SRCREV_base. Change the recipe to actually use SRCREV so that it is compatible with future AUH updates.

Also specify the version in the recipe file name, and correct somw whitespace.

---
 .../{gst-shark_git.bb => gst-shark_0.8.1.bb}  | 21 ++++++++-----------
 1 file changed, 9 insertions(+), 12 deletions(-)
 rename meta-multimedia/recipes-multimedia/gstreamer-1.0/{gst-shark_git.bb => gst-shark_0.8.1.bb} (69%)
meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_0.8.1.bb renamed from meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_git.bb +9 -12
similarity index 69%
rename from meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_git.bb
rename to meta-multimedia/recipes-multimedia/gstreamer-1.0/gst-shark_0.8.1.bb
index c75d0965d..8a839e0d1 100644
@@ -2,36 +2,33 @@ SUMMARY = "Gst-Shark Tracers"
 DESCRIPTION = "Benchmarks and profiling tools for GStreamer"
 HOMEPAGE = "https://developer.ridgerun.com/wiki/index.php?title=GstShark"
 SECTION = "multimedia"
-LICENSE = "GPL-2.0-or-later"
 
+LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e1caa368743492879002ad032445fa97"
 
 DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad "
 
 SRCBRANCH ?= "master"
 
-PV = "0.8.1"
-
 SRCREV = "09ba05865dacd2824b5b40ab75a4b9545fcc1366"
-SRCREV_base = "5413ef5475e5b70476c2480a75ca3746d91d4caf"
 SRCREV_common = "b64f03f6090245624608beb5d2fff335e23a01c0"
-SRCREV_FORMAT = "base_common"
+SRCREV_FORMAT = "default_common"
 SRC_URI = " \
-    git://github.com/RidgeRun/gst-shark.git;protocol=https;branch=${SRCBRANCH};name=base \
-    git://gitlab.freedesktop.org/gstreamer/common.git;protocol=https;destsuffix=git/common;name=common;;branch=master \
+    git://github.com/RidgeRun/gst-shark.git;protocol=https;branch=${SRCBRANCH} \
+    git://gitlab.freedesktop.org/gstreamer/common.git;protocol=https;branch=master;destsuffix=git/common;name=common \
     file://0001-tracers-Fix-buffer-overflow.patch \
-    "
+"
 
 S = "${WORKDIR}/git"
 
 EXTRA_OECONF += " \
-       --disable-graphviz \
-       --enable-gtk-doc=no \
+    --disable-graphviz \
+    --enable-gtk-doc=no \
 "
 
 FILES:${PN} += "\
-       ${libdir}/gstreamer-1.0/libgstsharktracers.so  \
-       ${libdir}/gstreamer-1.0/libgstsharktracers.la \
+    ${libdir}/gstreamer-1.0/libgstsharktracers.so  \
+    ${libdir}/gstreamer-1.0/libgstsharktracers.la \
 "
 
 inherit autotools gettext pkgconfig
#10 lore raw

PATCH 11/16 xarchiver: Specify the version in the recipe file name

In reply to Peter Kjellerstedt
---
 .../xarchiver/{xarchiver_git.bb => xarchiver_0.5.4.21.bb}       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-xfce/recipes-apps/xarchiver/{xarchiver_git.bb => xarchiver_0.5.4.21.bb} (98%)
meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.21.bb renamed from meta-xfce/recipes-apps/xarchiver/xarchiver_git.bb +1 -1
similarity index 98%
rename from meta-xfce/recipes-apps/xarchiver/xarchiver_git.bb
rename to meta-xfce/recipes-apps/xarchiver/xarchiver_0.5.4.21.bb
index e325e5d02..abb5c14e6 100644
@@ -9,7 +9,7 @@ DEPENDS = "gtk+3 glib-2.0 xfce4-dev-tools-native intltool-native"
 
 SRC_URI = "git://github.com/ib/xarchiver.git;branch=master;protocol=https"
 SRCREV = "55f923ebc623bcc8f53368543847350a23688189"
-PV = "0.5.4.21"
+
 S = "${WORKDIR}/git"
 
 inherit gettext pkgconfig autotools gtk-icon-cache features_check mime-xdg
#11 lore raw

PATCH 12/16 xfstests: Update to 2023.10.29 properly

In reply to Peter Kjellerstedt

The "update" in commit 2af7d3f63e added a SRCREV rather than updating SRCREV_xfstests. Change the recipe to actually use SRCREV so that it is compatible with future AUH updates.

Also replace "/usr" with "${prefix}".

---

I wonder if this recipe really should have been updated to 2023.10.29, since that tag is on the "for-next" branch, which I assume means it is not released yet. But I cannot find a way to make devtool upgrade only look for revisions that are available from a specific branch.

 ...itly-use-int-for-return-type-for-aio.patch | 30 -------------------
 .../xfstests/xfstests_2023.10.29.bb           | 17 +++++------
 2 files changed, 7 insertions(+), 40 deletions(-)
 delete mode 100644 meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch
meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch deleted +0 -30
deleted file mode 100644
index 5e9e9d9a7..000000000
@@ -1,30 +0,0 @@
-From 0927d0def968ea7e19905c7e39182f65961c11cf Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Sun, 5 Nov 2023 01:17:52 -0700
-Subject: [PATCH] ltp/fsx.h: Explicitly use int for return type for aio_rw()
-
-Fixes build with clang-17+
-error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
-
-Upstream-Status: Submitted [https://marc.info/?l=fstests&m=169917222008646&w=2]
-Signed-off-by: Khem Raj <[email protected]>
----
- ltp/fsx.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ltp/fsx.c b/ltp/fsx.c
-index ee4b8fe4..c0aec23f 100644
---- a/ltp/fsx.c
-+++ b/ltp/fsx.c
-@@ -2581,7 +2581,7 @@ out_error:
- 	return -1;
- }
- #else
--aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
-+int aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
- {
- 	fprintf(stderr, "io_rw: need AIO support!\n");
- 	exit(111);
--- 
-2.42.1
-
meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb +7 -10
index 4e8e31840..be7c2d473 100644
@@ -3,18 +3,15 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038"
 
 SRCREV = "11914614784735c504f43b5b6baabaa713375984"
-SRCREV_FORMAT = "xfstests_unionmount"
+SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914"
+SRCREV_FORMAT = "default_unionmount"
 
-SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next;name=xfstests \
+SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next \
            git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite \
-           file://0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch \
            file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \
            file://0001-add-missing-FTW_-macros-when-not-available-in-libc.patch \
            "
 
-SRCREV_xfstests = "f7765774a1b5cb98c2f21a892e82b3421f40e791"
-SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914"
-
 S = "${WORKDIR}/git"
 
 inherit autotools-brokensep useradd
@@ -53,14 +50,14 @@ do_configure:prepend() {
 }
 
 do_install:append() {
-    unionmount_target_dir=${D}/usr/xfstests/unionmount-testsuite
-    install -d ${D}/usr/xfstests/unionmount-testsuite/tests
-    install -D ${WORKDIR}/unionmount-testsuite/tests/* -t $unionmount_target_dir/tests
+    unionmount_target_dir=${D}${prefix}/xfstests/unionmount-testsuite
+    install -d $unionmount_target_dir/tests
+    install ${WORKDIR}/unionmount-testsuite/tests/* $unionmount_target_dir/tests
     install ${WORKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir
     install ${WORKDIR}/unionmount-testsuite/run -t $unionmount_target_dir
     install ${WORKDIR}/unionmount-testsuite/README -t $unionmount_target_dir
 }
 
 FILES:${PN} += "\
-    /usr/xfstests \
+    ${prefix}/xfstests \
 "
#12 lore raw

Re: [oe] [meta-filesystems][PATCH 12/16] xfstests: Update to 2023.10.29 properly

this seems to fail a QA check

ERROR: xfstests-2023.10.29-r0 do_package_qa: QA Issue:
/usr/xfstests/src/soak_duration.awk contained in package xfstests requires /usr/bin/awk, but no providers found in RDEPENDS:xfstests? [file-rdeps]
ERROR: xfstests-2023.10.29-r0 do_package_qa: Fatal QA errors were found, failing task.

Quoted 110 lines · Peter Kjellerstedt

The "update" in commit 2af7d3f63e added a SRCREV rather than updating SRCREV_xfstests. Change the recipe to actually use SRCREV so that it is compatible with future AUH updates.

Also replace "/usr" with "${prefix}".

---

I wonder if this recipe really should have been updated to 2023.10.29, since that tag is on the "for-next" branch, which I assume means it is not released yet. But I cannot find a way to make devtool upgrade only look for revisions that are available from a specific branch.

 ...itly-use-int-for-return-type-for-aio.patch | 30 -------------------
 .../xfstests/xfstests_2023.10.29.bb           | 17 +++++------
 2 files changed, 7 insertions(+), 40 deletions(-)
 delete mode 100644 meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch
meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch deleted +0 -30
deleted file mode 100644
index 5e9e9d9a7..000000000
@@ -1,30 +0,0 @@
-From 0927d0def968ea7e19905c7e39182f65961c11cf Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Sun, 5 Nov 2023 01:17:52 -0700
-Subject: [PATCH] ltp/fsx.h: Explicitly use int for return type for aio_rw()
-
-Fixes build with clang-17+
-error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
-
-Upstream-Status: Submitted [https://marc.info/?l=fstests&m=169917222008646&w=2]
-Signed-off-by: Khem Raj <[email protected]>
----
- ltp/fsx.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ltp/fsx.c b/ltp/fsx.c
-index ee4b8fe4..c0aec23f 100644
---- a/ltp/fsx.c
-+++ b/ltp/fsx.c
-@@ -2581,7 +2581,7 @@ out_error:
-       return -1;
- }
- #else
--aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
-+int aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
- {
-       fprintf(stderr, "io_rw: need AIO support!\n");
-       exit(111);
---
-2.42.1
-
meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb +7 -11
index 4e8e31840..be7c2d473 100644
@@ -3,18 +3,15 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038"
 
 SRCREV = "11914614784735c504f43b5b6baabaa713375984"
-SRCREV_FORMAT = "xfstests_unionmount"
+SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914"
+SRCREV_FORMAT = "default_unionmount"
 
-SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next;name=xfstests \
+SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next \
            git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite \
-           file://0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch \
            file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \
            file://0001-add-missing-FTW_-macros-when-not-available-in-libc.patch \
            "
 
-SRCREV_xfstests = "f7765774a1b5cb98c2f21a892e82b3421f40e791"
-SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914"
-
 S = "${WORKDIR}/git"
 
 inherit autotools-brokensep useradd
@@ -53,14 +50,14 @@ do_configure:prepend() {
 }
 
 do_install:append() {
-    unionmount_target_dir=${D}/usr/xfstests/unionmount-testsuite
-    install -d ${D}/usr/xfstests/unionmount-testsuite/tests
-    install -D ${WORKDIR}/unionmount-testsuite/tests/* -t $unionmount_target_dir/tests
+    unionmount_target_dir=${D}${prefix}/xfstests/unionmount-testsuite
+    install -d $unionmount_target_dir/tests
+    install ${WORKDIR}/unionmount-testsuite/tests/* $unionmount_target_dir/tests
     install ${WORKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir
     install ${WORKDIR}/unionmount-testsuite/run -t $unionmount_target_dir
     install ${WORKDIR}/unionmount-testsuite/README -t $unionmount_target_dir
 }
 
 FILES:${PN} += "\
-    /usr/xfstests \
+    ${prefix}/xfstests \
 "
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#106427): https://lists.openembedded.org/g/openembedded-devel/message/106427
Mute This Topic: https://lists.openembedded.org/mt/102438671/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#13 lore raw

PATCH 13/16 python3-kivy: Move a comment so it makes more sense

In reply to Peter Kjellerstedt
---
 meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python3-kivy_2.2.1.bb +4 -4
index 67ab9a017..a72ee14f6 100644
@@ -7,14 +7,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ed5cd0f2cfda42852c332e3b88c85fea"
 inherit setuptools3 pkgconfig features_check
 PIP_INSTALL_PACKAGE = "Kivy"
 
+# Kivy's setup files only look for GLES libraries for Android, iOS, RPi,
+# and mali-based OS's. We need to patch the setup file to tell Kivy setup
+# that our machine has GLES libaries installed as well
+# Also, if using SDL2 as backend, SDL2 needs to be configured with gles
 SRC_URI = "git://github.com/kivy/kivy.git;protocol=https;branch=stable \
            file://0001-add-support-for-glesv2.patch \
            "
 
-# Kivy's setup files only look for GLES libraries for Android, iOS, RPi,
-# and mali-based OS's. We need to patch the setup file to tell Kivy setup
-# that our machine has GLES libaries installed as well
-# Also, if using SDL2 as backend, SDL2 needs to be configured wth gles
 SRCREV = "344768bfefd2e8f5302cc9dfb8ca41991ce6f7e7"
 
 S = "${WORKDIR}/git"
#14 lore raw

PATCH 14/16 python3-greenlet: Avoid duplicate URI in SRC_URI

In reply to Peter Kjellerstedt

${PYPI_SRC_URI} is prepended to SRC_URI by the pypi class so there is no reason to also do it in the recipe.

---
 meta-python/recipes-devtools/python/python3-greenlet_3.0.1.bb | 1 -
 1 file changed, 1 deletion(-)
meta-python/recipes-devtools/python/python3-greenlet_3.0.1.bb +0 -1
index fbabf12a3..523c2b6b2 100644
@@ -4,7 +4,6 @@ LICENSE = "MIT & PSF-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e95668d68e4329085c7ab3535e6a7aee \
                     file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a"
 
-SRC_URI += "${PYPI_SRC_URI}"
 SRC_URI[sha256sum] = "816bd9488a94cba78d93e1abb58000e8266fa9cc2aa9ccdd6eb0696acb24005b"
 
 inherit pypi setuptools3
#15 lore raw

PATCH 15/16 python3-pylint: Only set SRCREV once

In reply to Peter Kjellerstedt
---
 meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-pylint_3.0.2.bb +1 -3
index 03e878b2b..8af74b7cb 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
 SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.0.x;protocol=https \
            file://run-ptest \
            "
-SRCREV ?= "f2cded41f7f3d4b45236cbe107b366b6caf84bde"
+SRCREV = "efee9618894795cc8847727108522aa79431ee25"
 
 inherit python_setuptools_build_meta ptest
 
@@ -49,5 +49,3 @@ do_install_ptest() {
 }
 
 BBCLASSEXTEND = "native nativesdk"
-
-SRCREV = "efee9618894795cc8847727108522aa79431ee25"
#16 lore raw

PATCH 16/16 python3-pytest-mock: Only set SRCREV once

In reply to Peter Kjellerstedt
---
 .../recipes-devtools/python/python3-pytest-mock_3.12.0.bb     | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb +1 -3
index f95ebecdd..ac6f8e831 100644
@@ -11,7 +11,7 @@ SRC_URI = " \
     file://0001-test_pytest_mock-skip-args-introspection-tests.patch \
 "
 
-SRCREV ?= "d3e73f2e93f7b93eba0a36e17e43bafd969da4fe"
+SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e"
 
 SRC_URI[sha256sum] = "fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f"
 
@@ -32,5 +32,3 @@ do_install_ptest() {
     install -d ${D}${PTEST_PATH}/tests
     cp -rf ${S}/tests ${D}${PTEST_PATH}/
 }
-
-SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e"