diff mbox series

[meta-oe] libtorrent-rasterbar: upgrade 2.0.11 -> 2.0.12

Message ID 20260331092729.12455-1-liuyd.fnst@fujitsu.com
State Under Review
Headers show
Series [meta-oe] libtorrent-rasterbar: upgrade 2.0.11 -> 2.0.12 | expand

Commit Message

Liu Yiding March 31, 2026, 9:27 a.m. UTC
1.Changelog
  https://github.com/arvidn/libtorrent/releases/tag/v2.0.12

2. Add 0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch to fix package QA Issue:
libtorrent-rasterbar-2.0.12-r0 do_package: QA Issue: libtorrent-rasterbar: Files/directories were installed but not shipped in any package:
  /lib/python3.14/site-packages/libtorrent.so

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
---
 ...-packages-path-to-fix-package-QA-Iss.patch | 27 +++++++++++++++++++
 ...0.11.bb => libtorrent-rasterbar_2.0.12.bb} |  5 ++--
 2 files changed, 30 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch
 rename meta-oe/recipes-connectivity/libtorrent-rasterbar/{libtorrent-rasterbar_2.0.11.bb => libtorrent-rasterbar_2.0.12.bb} (88%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch b/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch
new file mode 100644
index 0000000000..2ed6ab8500
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch
@@ -0,0 +1,27 @@ 
+Subject: [PATCH] Fix Python3 site packages path to fix package QA Issue
+
+libtorrent-rasterbar-2.0.12-r0 do_package: QA Issue: libtorrent-rasterbar: Files/directories were installed but not shipped in any package:
+  /lib/python3.14/site-packages/libtorrent.so
+
+Upstream-Status: Inappropriate [ OE specific ]
+Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
+---
+ bindings/python/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt
+index 4e8ee816b..ee9566afc 100644
+--- a/bindings/python/CMakeLists.txt
++++ b/bindings/python/CMakeLists.txt
+@@ -96,7 +96,7 @@ else()
+ 	execute_process(
+ 		COMMAND "${Python3_EXECUTABLE}" -c [=[
+ import sysconfig
+-print(sysconfig.get_path('platlib', vars={'platbase': '', 'base': ''}))
++print(sysconfig.get_path('platlib', vars={'platbase': '/usr', 'base': ''}))
+ ]=]
+ 		OUTPUT_VARIABLE _PYTHON3_SITE_ARCH
+ 		OUTPUT_STRIP_TRAILING_WHITESPACE
+-- 
+2.43.0
+
diff --git a/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.11.bb b/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.12.bb
similarity index 88%
rename from meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.11.bb
rename to meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.12.bb
index ca3fe2c8ee..6a61286f7a 100644
--- a/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.11.bb
+++ b/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.12.bb
@@ -7,9 +7,10 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=d8b6cb42d66e6b3c47a909c3ce678a7b"
 DEPENDS = "boost openssl"
 
 SRC_URI = "git://github.com/arvidn/libtorrent.git;branch=master;protocol=https;tag=v${PV} \
-	git://github.com/arvidn/try_signal.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/try_signal;name=try_signal"
+	git://github.com/arvidn/try_signal.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/try_signal;name=try_signal \
+           file://0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch"
 
-SRCREV = "9d7443f467147d1784fb7516d2a882db1abb5a8b"
+SRCREV = "740a0b9aeabe00e762cc0efe4a0f27593db2550b"
 SRCREV_try_signal = "105cce59972f925a33aa6b1c3109e4cd3caf583d"
 SRCREV_FORMAT .= "_try_signal"