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,33 @@
|
||||
From 7aba7c690fd84ca1e48d0cb6829410eeb658c594 Mon Sep 17 00:00:00 2001
|
||||
From: Markus Volk <f_l_k@t-online.de>
|
||||
Date: Fri, 24 Nov 2023 17:53:49 +0100
|
||||
Subject: [PATCH] Fix a Makefile race condition
|
||||
|
||||
utils/driverless-fax script may be written before utils directory was created
|
||||
|
||||
| make[2]: Entering directory '/home/flk/poky/build/tmp/work/corei7-64-poky-linux/cups-filters/2.0.0/build'
|
||||
| sed \
|
||||
| -e "s|\@CUPS_SERVERBIN\@|/usr/libexec/cups|" \
|
||||
| ../cups-filters-2.0.0/utils/driverless-fax.in > utils/driverless-fax
|
||||
| /bin/bash: line 2: utils/driverless-fax: No such file or directory
|
||||
|
||||
Upstream-Status: Pending
|
||||
---
|
||||
Makefile.am | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
--- a/Makefile.am 2023-09-22 18:14:03.000000000 +0200
|
||||
+++ b/Makefile.am 2023-11-24 19:09:09.339653936 +0100
|
||||
@@ -62,7 +62,7 @@
|
||||
# "driverless" utility
|
||||
# ====================
|
||||
utils/driverless-fax: utils/driverless-fax.in Makefile
|
||||
- sed \
|
||||
+ mkdir -p utils && sed \
|
||||
-e "s|\@CUPS_SERVERBIN\@|$(CUPS_SERVERBIN)|" \
|
||||
$< > $@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
DESCRIPTION = "CUPS backends, filters, and other software"
|
||||
HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6d5b952b53dbe7752199903d082e5f07"
|
||||
|
||||
DEPENDS = "libcupsfilters libppd glib-2.0 poppler"
|
||||
|
||||
SRC_URI = " \
|
||||
https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
|
||||
file://fix-make-race.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8"
|
||||
|
||||
inherit autotools gettext pkgconfig github-releases
|
||||
|
||||
EXTRA_OECONF += " \
|
||||
--enable-imagefilters \
|
||||
--enable-ghostscript --with-gs-path=${bindir}/gs \
|
||||
--with-fontdir=${datadir}/fonts \
|
||||
--localstatedir=${localstatedir} \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)}"
|
||||
PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
FILES:${PN}-dev += "${datadir}/ppdc"
|
||||
|
||||
RDEPENDS:${PN} += "bash"
|
||||
RDEPENDS:${PN} += "ghostscript"
|
||||
@@ -0,0 +1,26 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
--- a/src/meson.build 2023-01-24 09:22:59.874074134 +0100
|
||||
+++ b/src/meson.build 2023-01-24 09:27:00.494627305 +0100
|
||||
@@ -73,12 +73,12 @@
|
||||
|
||||
|
||||
# Translate and install policy file
|
||||
-i18n.merge_file (
|
||||
- input: 'org.opensuse.cupspkhelper.mechanism.policy.in',
|
||||
- output: 'org.opensuse.cupspkhelper.mechanism.policy',
|
||||
- type: 'xml',
|
||||
- data_dirs: join_paths (meson.source_root (), 'src'),
|
||||
- po_dir: join_paths (meson.source_root (), 'po'),
|
||||
- install: true,
|
||||
- install_dir: join_paths (prefix, datadir, 'polkit-1', 'actions')
|
||||
-)
|
||||
+#i18n.merge_file (
|
||||
+# input: 'org.opensuse.cupspkhelper.mechanism.policy.in',
|
||||
+# output: 'org.opensuse.cupspkhelper.mechanism.policy',
|
||||
+# type: 'xml',
|
||||
+# data_dirs: join_paths (meson.source_root (), 'src'),
|
||||
+# po_dir: join_paths (meson.source_root (), 'po'),
|
||||
+# install: true,
|
||||
+# install_dir: join_paths (prefix, datadir, 'polkit-1', 'actions')
|
||||
+#)
|
||||
@@ -0,0 +1,23 @@
|
||||
DESCRIPTION = "CUPS polkit helper"
|
||||
HOMEPAGE = "https://www.freedesktop.org/software/cups-pk-helper/releases/"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
DEPENDS = "cups polkit glib-2.0"
|
||||
|
||||
inherit meson pkgconfig gettext features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES ="polkit"
|
||||
|
||||
SRC_URI = " \
|
||||
https://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-${PV}.tar.xz \
|
||||
file://dont-localize-org.opensuse.CupsPkHelper.Mechanism.service.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "66070ddb448fe9fcee76aa26be2ede5a80f85563e3a4afd59d2bfd79fbe2e831"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${datadir}/polkit-1/actions
|
||||
install -m 644 ${S}/src/org.opensuse.cupspkhelper.mechanism.policy.in ${D}${datadir}/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
@@ -0,0 +1,36 @@
|
||||
From 104fba23b1c0c67c92777b3165c6dca99558a656 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 6 Feb 2023 18:13:52 -0800
|
||||
Subject: [PATCH] use noexcept(false) instead of throw() from c++17 onwards
|
||||
|
||||
C++17 removed dynamic exception specifications [1]
|
||||
they had been deprecated since C++11, replace
|
||||
throw(whatever) with noexcept(false).
|
||||
|
||||
[1] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/OpenPrinting/cups-filters/pull/505]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
filter/pdftoraster.cxx | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/cupsfilters/pdftoraster.cxx b/cupsfilters/pdftoraster.cxx
|
||||
index e8af184fb..e91e22459 100755
|
||||
@@ -2198,7 +2198,11 @@
|
||||
// For compatibility with g++ >= 4.7 compilers _GLIBCXX_THROW
|
||||
// should be used as a guard, otherwise use traditional definition
|
||||
#ifndef _GLIBCXX_THROW
|
||||
-#define _GLIBCXX_THROW throw
|
||||
+#if __cplusplus < 201703L
|
||||
+#define _GLIBCXX_THROW throw
|
||||
+#else
|
||||
+#define _GLIBCXX_THROW(x) noexcept(false)
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
void * operator new(size_t size) _GLIBCXX_THROW (std::bad_alloc)
|
||||
|
||||
--
|
||||
2.39.1
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
DESCRIPTION = "OpenPrinting libcupsfilters"
|
||||
HOMEPAGE = "https://github.com/OpenPrinting"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=aab2024bd2a475438a154cd1640c9684"
|
||||
|
||||
DEPENDS = "cups fontconfig libexif dbus lcms qpdf poppler libpng jpeg tiff"
|
||||
|
||||
SRC_URI = " \
|
||||
https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
|
||||
file://0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "542f2bfbc58136a4743c11dc8c86cee03c9aca705612654e36ac34aa0d9aa601"
|
||||
|
||||
inherit autotools gettext pkgconfig github-releases
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
RDEPENDS:${PN} += "ghostscript"
|
||||
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION = "OpenPrinting libppd"
|
||||
HOMEPAGE = "https://github.com/OpenPrinting"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c1fca671047153ce6825c4ab06f2ab49"
|
||||
|
||||
DEPENDS = "libcupsfilters"
|
||||
|
||||
SRC_URI = "https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz"
|
||||
SRC_URI[sha256sum] = "882d3c659a336e91559de8f3c76fc26197fe6e5539d9b484a596e29a5a4e0bc8"
|
||||
|
||||
inherit autotools gettext pkgconfig github-releases
|
||||
|
||||
do_install:append() {
|
||||
rm -r ${D}${bindir}
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
SUMMARY = "CUPS bindings for Python"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3961efb54421653518521529853444c4"
|
||||
|
||||
RDEPENDS:${PN} = "python3"
|
||||
|
||||
inherit setuptools3 pypi
|
||||
|
||||
PV = "2.0.1"
|
||||
|
||||
SRC_URI[sha256sum] = "e880d7d7147959ead5cb34764f08b97b41385b36eb8256e8af1ce163dbcccce8"
|
||||
@@ -0,0 +1,63 @@
|
||||
# Recipe for building gutenprint
|
||||
#
|
||||
# Uses the gutenprint-native extracted strings and disable local build stuff
|
||||
#
|
||||
# Copyright (c) Ambu A/S - All rights reserved
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Author(s)
|
||||
# clst@ambu.com (Claus Stovgaard)
|
||||
#
|
||||
|
||||
DESCRIPTION = "Gutenprint printer drivers"
|
||||
HOMEPAGE = "http://gimp-print.sourceforge.net/"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
||||
|
||||
SRC_URI = "https://downloads.sourceforge.net/gimp-print/${BP}.tar.xz"
|
||||
SRC_URI[sha256sum] = "db44a701d2b8e6a8931c83cec06c91226be266d23e5c189d20a39dd175f2023b"
|
||||
|
||||
inherit autotools gettext pkgconfig
|
||||
|
||||
DEPENDS += "glib-2.0-native cups gutenprint-native tiff libusb libpng libjpeg-turbo ghostscript"
|
||||
# autogen.sh needs autopoint
|
||||
DEPENDS:class-native = "glib-2.0-native gettext-native"
|
||||
|
||||
EXTRA_OECONF = "--without-doc --disable-test PERL=/usr/bin/perl"
|
||||
EXTRA_OECONF:append:class-native = " --without-cups"
|
||||
|
||||
do_configure:prepend:class-target() {
|
||||
# Disable the xmli18n-tmp.h rule
|
||||
# It depend on the local build extract-strings, we are not able to run this
|
||||
# So we are using the xmli18n-tmp.h created by gutenprint-native
|
||||
sed -i 's/all-local: xmli18n-tmp.h xml-stamp/all-local: xml-stamp/' ${S}/src/xml/Makefile.am
|
||||
sed -i 's/dist-hook: xmli18n-tmp.h xml-stamp/dist-hook: xml-stamp/' ${S}/src/xml/Makefile.am
|
||||
sed -i '/$(AM_TESTS_ENVIRONMENT) .\/check_duplicate_printers.test/d' ${S}/src/xml/printers/Makefile.am
|
||||
# Despite being a generated file, this needs to be in S.
|
||||
cp ${STAGING_DATADIR_NATIVE}/gutenprint/xmli18n-tmp.h ${S}/src/xml/
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
# This file contains build paths and isn't very useful, remove it
|
||||
rm -f ${D}${libdir}/gutenprint/*/config.summary
|
||||
# Match ownership to cups
|
||||
chgrp lp ${D}${sysconfdir}/cups
|
||||
}
|
||||
|
||||
do_compile:class-native() {
|
||||
oe_runmake -C ${B}/src/xml
|
||||
}
|
||||
|
||||
do_install:class-native() {
|
||||
install -d ${D}${datadir}/gutenprint/
|
||||
install -m644 ${B}/src/xml/xmli18n-tmp.h ${D}${datadir}/gutenprint/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/cups/*"
|
||||
RDEPENDS:${PN} = "perl"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
# Pull in base-passwd for the lp user
|
||||
DEPENDS:append:class-target = " base-passwd"
|
||||
PACKAGE_WRITE_DEPS += "base-passwd"
|
||||
@@ -0,0 +1,31 @@
|
||||
DESCRIPTION = "PDF transformation/inspection software"
|
||||
HOMEPAGE = "http://qpdf.sourceforge.net"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
DEPENDS = "zlib jpeg ${@bb.utils.contains('PACKAGECONFIG', 'gnutls', 'gnutls', 'openssl', d)}"
|
||||
|
||||
SRC_URI = "git://github.com/qpdf/qpdf.git;protocol=https;branch=main"
|
||||
SRCREV = "452e1f5c20ec6adf62cd296cb9dddacbc06e6ffa"
|
||||
|
||||
inherit cmake pkgconfig gettext
|
||||
|
||||
EXTRA_OECMAKE = ' \
|
||||
-DRANDOM_DEVICE="/dev/random" \
|
||||
-DBUILD_STATIC_LIBS=OFF \
|
||||
-DALLOW_CRYPTO_NATIVE=OFF \
|
||||
-DUSE_IMPLICIT_CRYPTO=OFF \
|
||||
'
|
||||
|
||||
LDFLAGS:append:mipsarch = " -latomic"
|
||||
LDFLAGS:append:riscv32 = " -latomic"
|
||||
|
||||
S="${WORKDIR}/git"
|
||||
|
||||
PACKAGECONFIG ?= "gnutls"
|
||||
PACKAGECONFIG[gnutls] = "-DREQUIRE_CRYPTO_GNUTLS=ON,-DREQUIRE_CRYPTO_OPENSSL=ON"
|
||||
|
||||
do_install:append() {
|
||||
# Change the fully defined path on the target
|
||||
sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/${BPN}/libqpdfTargets.cmake
|
||||
}
|
||||
Reference in New Issue
Block a user