Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
From 5d6db56791d326e6b486dca54fe2335af0225229 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Thu, 24 Nov 2016 14:33:07 +0200
|
||||
Subject: [PATCH] FindGtkDoc.cmake: drop the requirement for
|
||||
GTKDOC_SCANGOBJ_WRAPPER
|
||||
|
||||
For some reason cmake is not able to find it when building in openembedded,
|
||||
and it's bundled with the source code anyway.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/312]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
cmake/modules/FindGtkDoc.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmake/modules/FindGtkDoc.cmake b/cmake/modules/FindGtkDoc.cmake
|
||||
index 92b2cc7e..39f34bd5 100644
|
||||
--- a/cmake/modules/FindGtkDoc.cmake
|
||||
+++ b/cmake/modules/FindGtkDoc.cmake
|
||||
@@ -52,7 +52,7 @@ find_program(GTKDOC_MKHTML_EXE gtkdoc-mkhtml PATH "${GLIB_PREFIX}/bin")
|
||||
find_program(GTKDOC_FIXXREF_EXE gtkdoc-fixxref PATH "${GLIB_PREFIX}/bin")
|
||||
|
||||
find_package_handle_standard_args(GtkDoc
|
||||
- REQUIRED_VARS GTKDOC_SCAN_EXE GTKDOC_SCANGOBJ_EXE GTKDOC_SCANGOBJ_WRAPPER GTKDOC_MKDB_EXE GTKDOC_MKHTML_EXE GTKDOC_FIXXREF_EXE
|
||||
+ REQUIRED_VARS GTKDOC_SCAN_EXE GTKDOC_SCANGOBJ_EXE GTKDOC_MKDB_EXE GTKDOC_MKHTML_EXE GTKDOC_FIXXREF_EXE
|
||||
VERSION_VAR GtkDoc_VERSION)
|
||||
|
||||
# ::
|
||||
@@ -0,0 +1,26 @@
|
||||
From bf9bde4af952b67cc357d25b9863889099ea9665 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Tue, 7 Feb 2017 12:16:03 +0200
|
||||
Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is
|
||||
|
||||
using both)
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/312]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index e99b28d0..548a9137 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -51,7 +51,7 @@ endif()
|
||||
|
||||
|
||||
# build dependencies
|
||||
-PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
|
||||
+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv libsolvext)
|
||||
set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
|
||||
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
From a6b3bc4fb3db996cd6c5616a99c16d085704dae0 Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Tue, 1 Jun 2021 10:23:59 +0800
|
||||
Subject: [PATCH] drop FindPythonInstDir.cmake
|
||||
|
||||
Since commit [1] applied, PYTHON_INSTALL_DIR is not right
|
||||
on nativesdk build
|
||||
...
|
||||
|Building for python3
|
||||
|-- Python install dir is
|
||||
|tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-libdnf/0.63.0-r0/
|
||||
recipe-sysroot-native/usr/lib/python3.9/site-packages
|
||||
...
|
||||
|
||||
Yocto manually set PYTHON_INSTALL_DIR from recipe, it is not
|
||||
necessary to call FindPythonInstDir.cmake which will override
|
||||
Yocto setting
|
||||
|
||||
[1] https://github.com/rpm-software-management/libdnf/commit/f1cffbfb9f338da827e233c2d8ac3a25a6a59a69
|
||||
|
||||
Upstream-Status: Inappropriate [Yocto specific]
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
cmake/modules/FindPythonInstDir.cmake | 7 +------
|
||||
1 file changed, 1 insertion(+), 6 deletions(-)
|
||||
|
||||
diff --git a/cmake/modules/FindPythonInstDir.cmake b/cmake/modules/FindPythonInstDir.cmake
|
||||
index ed098ded..8b137891 100644
|
||||
--- a/cmake/modules/FindPythonInstDir.cmake
|
||||
+++ b/cmake/modules/FindPythonInstDir.cmake
|
||||
@@ -1,6 +1 @@
|
||||
-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
|
||||
-from sys import stdout
|
||||
-from sysconfig import get_path
|
||||
-path=get_path(name='platlib', vars={'platbase':'${CMAKE_INSTALL_PREFIX}'})
|
||||
-stdout.write(path)"
|
||||
-OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
|
||||
+
|
||||
@@ -0,0 +1,27 @@
|
||||
From e40def862bdeb10da295b15c5904fe2829d391c7 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Fri, 30 Dec 2016 18:24:50 +0200
|
||||
Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module
|
||||
|
||||
doesn't work properly).
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/312]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 6444c374..e99b28d0 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -51,7 +51,8 @@ endif()
|
||||
|
||||
|
||||
# build dependencies
|
||||
-find_package(LibSolv 0.7.21 REQUIRED COMPONENTS ext)
|
||||
+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
|
||||
+set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
|
||||
|
||||
|
||||
# build dependencies via pkg-config
|
||||
@@ -0,0 +1,50 @@
|
||||
From aa0f8b65feec64420a9b7b61cfcc8bcce161e14b Mon Sep 17 00:00:00 2001
|
||||
From: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
Date: Thu, 9 Nov 2023 10:29:31 +0000
|
||||
Subject: [PATCH] libdnf: Fix arm arch mapping issues for qemuarmv5
|
||||
|
||||
We change the way rpm architectures work, we make the machine name the default machine
|
||||
specific package architecture.
|
||||
|
||||
This arm mapping code can work or in the case of qemuarmv5, it doesn't as it creates
|
||||
armv5hl which doesn't exist and causes errrors. We can simply remove it, we don't need it.
|
||||
|
||||
Upstream-Status: Inappropriate [Relies on OE rpm config]
|
||||
---
|
||||
libdnf/hy-util.cpp | 23 -----------------------
|
||||
1 file changed, 23 deletions(-)
|
||||
|
||||
diff --git a/libdnf/hy-util.cpp b/libdnf/hy-util.cpp
|
||||
index 9978c8e9..aa1369b6 100644
|
||||
--- a/libdnf/hy-util.cpp
|
||||
+++ b/libdnf/hy-util.cpp
|
||||
@@ -117,29 +117,6 @@ hy_detect_arch(char **arch)
|
||||
if (uname(&un) < 0)
|
||||
return DNF_ERROR_FAILED;
|
||||
|
||||
- if (!strncmp(un.machine, "armv", 4)) {
|
||||
- /* un.machine is armvXE, where X is version number and E is
|
||||
- * endianness (b or l); we need to add modifiers such as
|
||||
- * h (hardfloat), n (neon). Neon is a requirement of armv8 so
|
||||
- * as far as rpm is concerned armv8l is the equivilent of armv7hnl
|
||||
- * (or 7hnb) so we don't explicitly add 'n' for 8+ as it's expected. */
|
||||
- char endian = un.machine[strlen(un.machine)-1];
|
||||
- char *modifier = un.machine + 5;
|
||||
- while(isdigit(*modifier)) /* keep armv7, armv8, armv9, armv10, armv100, ... */
|
||||
- modifier++;
|
||||
- if (getauxval(AT_HWCAP) & HWCAP_ARM_VFP)
|
||||
- *modifier++ = 'h';
|
||||
- if ((atoi(un.machine+4) == 7) && (getauxval(AT_HWCAP) & HWCAP_ARM_NEON))
|
||||
- *modifier++ = 'n';
|
||||
- *modifier++ = endian;
|
||||
- *modifier = 0;
|
||||
- }
|
||||
-#ifdef __MIPSEL__
|
||||
- if (!strcmp(un.machine, "mips"))
|
||||
- strcpy(un.machine, "mipsel");
|
||||
- else if (!strcmp(un.machine, "mips64"))
|
||||
- strcpy(un.machine, "mips64el");
|
||||
-#endif
|
||||
*arch = g_strdup(un.machine);
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
From 25229773a9d4472235278bb45f75439e56630cee Mon Sep 17 00:00:00 2001
|
||||
From: Joe Slater <joe.slater@windriver.com>
|
||||
Date: Wed, 22 Jul 2020 13:31:11 -0700
|
||||
Subject: [PATCH] libdnf: allow reproducible binary builds
|
||||
|
||||
Use a dummy directory for test data if not built WITH_TESTS. Allow for overriding
|
||||
TESTDATADIR, since the default is guaranteed to be wrong for target builds.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
||||
---
|
||||
CMakeLists.txt | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 548a9137..c378e7d9 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -132,7 +132,12 @@ add_definitions(-DGETTEXT_DOMAIN=\\"libdnf\\")
|
||||
add_definitions(-DG_LOG_DOMAIN=\\"libdnf\\")
|
||||
|
||||
# tests
|
||||
-add_definitions(-DTESTDATADIR=\\"${CMAKE_SOURCE_DIR}/data/tests\\")
|
||||
+if(NOT WITH_TESTS)
|
||||
+ set(TEST_DATA_DIR "/notests")
|
||||
+elseif(NOT DEFINED TEST_DATA_DIR)
|
||||
+ set(TEST_DATA_DIR "${CMAKE_SOURCE_DIR}/data/tests")
|
||||
+endif()
|
||||
+add_definitions(-DTESTDATADIR=\\"${TEST_DATA_DIR}\\")
|
||||
|
||||
# librhsm
|
||||
if(ENABLE_RHSM_SUPPORT)
|
||||
36
sources/poky/meta/recipes-devtools/libdnf/libdnf_0.73.2.bb
Normal file
36
sources/poky/meta/recipes-devtools/libdnf/libdnf_0.73.2.bb
Normal file
@@ -0,0 +1,36 @@
|
||||
SUMMARY = "Library providing simplified C and Python API to libsolv"
|
||||
HOMEPAGE = "https://github.com/rpm-software-management/libdnf"
|
||||
DESCRIPTION = "This library provides a high level package-manager. It's core library of dnf, PackageKit and rpm-ostree. It's replacement for deprecated hawkey library which it contains inside and uses librepo under the hood."
|
||||
LICENSE = "LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;protocol=https \
|
||||
file://0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch \
|
||||
file://0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch \
|
||||
file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \
|
||||
file://enable_test_data_dir_set.patch \
|
||||
file://0001-drop-FindPythonInstDir.cmake.patch \
|
||||
file://armarch.patch \
|
||||
"
|
||||
|
||||
SRCREV = "86bbb159732e43dd6dff98c96e99382843f7c63b"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native util-linux"
|
||||
|
||||
inherit gtk-doc gobject-introspection cmake pkgconfig setuptools3-base
|
||||
|
||||
EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DWITH_MAN=OFF -DPYTHON_DESIRED=3 \
|
||||
${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DWITH_GIR=ON', '-DWITH_GIR=OFF', d)} \
|
||||
-DWITH_TESTS=OFF \
|
||||
-DWITH_ZCHUNK=OFF \
|
||||
-DWITH_HTML=OFF \
|
||||
"
|
||||
EXTRA_OECMAKE:append:class-native = " -DWITH_GIR=OFF"
|
||||
EXTRA_OECMAKE:append:class-nativesdk = " -DWITH_GIR=OFF"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
SKIP_RECIPE[libdnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'Does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv', d)}"
|
||||
|
||||
Reference in New Issue
Block a user