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,52 @@
|
||||
From e5d8f6d4a7652ea95c8d069ce9333494f2db868c Mon Sep 17 00:00:00 2001
|
||||
From: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Fri, 16 Sep 2011 15:35:48 -0700
|
||||
Subject: [PATCH] texinfo: several changes to build without zlib and ncurses
|
||||
|
||||
We already DEPEND on the native texinfo being present before building so
|
||||
there isn't any need to try and build the required native texinfo binaries
|
||||
before cross-compiling. This simplifies the recipe somewhat!
|
||||
|
||||
Upstream-Status: Inappropriate oe specific
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
---
|
||||
configure.ac | 24 +-----------------------
|
||||
1 file changed, 1 insertion(+), 23 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 6fcd3a0..c108df7 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -180,29 +180,7 @@ AC_CANONICAL_BUILD
|
||||
# $native_tools is also added to SUBDIRS in the main Makefile.am,
|
||||
# so that make compiles the native tools first.
|
||||
#
|
||||
-if test "$cross_compiling" = no; then
|
||||
- native_tools=
|
||||
-else
|
||||
- native_tools=tools
|
||||
- test -d "$native_tools" || mkdir "$native_tools"
|
||||
- confdir=`(cd "$srcdir";pwd)`
|
||||
- # Make sure the secondary configure won't fail with
|
||||
- # "error: source directory already configured".
|
||||
- rm -f config.status
|
||||
- AC_MSG_NOTICE([[Doing configure of native tools (${build}).]])
|
||||
- cd "$native_tools" || exit 1
|
||||
- # Run secondary configure in alternate environment or
|
||||
- # it gets the wrong CC etc.
|
||||
- # env -i gives this build host configure a clean environment;
|
||||
- # consequently, we have to re-initialize $PATH.
|
||||
- env -i CC="$BUILD_CC" AR="$BUILD_AR" RANLIB="$BUILD_RANLIB" \
|
||||
- PATH="$PATH" \
|
||||
- tools_only=1 \
|
||||
- ${confdir}/configure --build=${build} --host=${build} \
|
||||
- --disable-rpath --disable-nls
|
||||
- cd .. || exit 1
|
||||
- AC_MSG_NOTICE([[Continuing with main configure (${host}).]])
|
||||
-fi
|
||||
+native_tools=
|
||||
AC_SUBST(native_tools)
|
||||
AM_CONDITIONAL(TOOLS_ONLY, [[test "x$tools_only" = x1]])
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
From 451a9b9c3874872d575693fc7733fae02690a7d3 Mon Sep 17 00:00:00 2001
|
||||
From: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
|
||||
Date: Tue, 29 Nov 2016 13:43:24 -0600
|
||||
Subject: [PATCH] dont-depend-on-help2man
|
||||
|
||||
Upstream-Status: Inappropriate
|
||||
|
||||
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
|
||||
Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
|
||||
|
||||
---
|
||||
doc/Makefile.am | 2 +-
|
||||
man/Makefile.am | 12 ++++++------
|
||||
2 files changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/doc/Makefile.am b/doc/Makefile.am
|
||||
index 407a38c..6b5ff3e 100644
|
||||
--- a/doc/Makefile.am
|
||||
+++ b/doc/Makefile.am
|
||||
@@ -55,7 +55,7 @@ refcard_files = refcard/Makefile refcard/txicmdcheck \
|
||||
# Include our texinfo.tex, not Automake's.
|
||||
EXTRA_DIST = epsf.tex texinfo.tex \
|
||||
fdl.texi \
|
||||
- $(man_MANS) $(TXI_XLATE) \
|
||||
+ $(TXI_XLATE) \
|
||||
$(refcard_files) \
|
||||
gendocs.chapter/gendocs_template \
|
||||
texinfo-tex-test.texi texinfo-tex-test.WIDOWs \
|
||||
diff --git a/man/Makefile.am b/man/Makefile.am
|
||||
index d0cd72c..a19e52a 100644
|
||||
--- a/man/Makefile.am
|
||||
+++ b/man/Makefile.am
|
||||
@@ -11,27 +11,27 @@
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
# These are generated using help2man.
|
||||
-man_MANS = install-info.1 makeinfo.1 texindex.1 texi2dvi.1
|
||||
+#man_MANS = install-info.1 makeinfo.1 texindex.1 texi2dvi.1
|
||||
|
||||
# These require the build in info/, thus can't do if we failed to find a
|
||||
# terminal library.
|
||||
if HAVE_TERMLIBS
|
||||
-man_MANS += info.1
|
||||
+#man_MANS += info.1
|
||||
endif
|
||||
|
||||
# These are hand-written.
|
||||
-man_MANS += info.5 texinfo.5
|
||||
+#man_MANS += info.5 texinfo.5
|
||||
|
||||
-man_MANS += pod2texi.1
|
||||
+#man_MANS += pod2texi.1
|
||||
|
||||
pod2texi.1: $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl
|
||||
$(POD2MAN) $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl >"$@"
|
||||
|
||||
|
||||
# These are just .so's to the common program.
|
||||
-man_MANS += texi2any.1 texi2pdf.1 pdftexi2dvi.1
|
||||
+#man_MANS += texi2any.1 texi2pdf.1 pdftexi2dvi.1
|
||||
|
||||
-EXTRA_DIST = $(man_MANS) ginfo.h2m
|
||||
+EXTRA_DIST = ginfo.h2m
|
||||
|
||||
# Maintainers should be able to regenerate.
|
||||
MAINTAINERCLEANFILES = $(man_MANS)
|
||||
@@ -0,0 +1,23 @@
|
||||
From c5050ac84c8a3cc3ff8c7e558f8c2fdb57f410d9 Mon Sep 17 00:00:00 2001
|
||||
From: Joshua Lock <josh@linux.intel.com>
|
||||
Date: Mon, 29 Jul 2013 15:02:34 -0700
|
||||
Subject: [PATCH] install-info uses symbols from zlib so must link against it.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
||||
|
||||
---
|
||||
install-info/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/install-info/Makefile.am b/install-info/Makefile.am
|
||||
index 9bcff71..68247f9 100644
|
||||
--- a/install-info/Makefile.am
|
||||
+++ b/install-info/Makefile.am
|
||||
@@ -33,4 +33,4 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/gnulib/lib \
|
||||
-I$(top_builddir)/gnulib/lib \
|
||||
-DLOCALEDIR=\"$(localedir)\"
|
||||
-LDADD = $(top_builddir)/gnulib/lib/libgnu.a $(LIBINTL) $(LIBTHREAD)
|
||||
+LDADD = $(top_builddir)/gnulib/lib/libgnu.a $(LIBINTL) $(LIBTHREAD) -lz
|
||||
@@ -0,0 +1,26 @@
|
||||
From 81ccd162b869c20e450073fa834b5cabbea8e3d4 Mon Sep 17 00:00:00 2001
|
||||
From: Saul Wold <sgw@linux.intel.com>
|
||||
Date: Mon, 29 Jul 2013 15:02:34 -0700
|
||||
Subject: [PATCH] texinfo: Update to 5.1
|
||||
|
||||
Upstream-Status: Inappropriate [cross build specific]
|
||||
|
||||
Signed-off-by: Saul Wold <sgw@linux.intel.com>
|
||||
|
||||
---
|
||||
info/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/info/Makefile.am b/info/Makefile.am
|
||||
index 35596b1..cae1421 100644
|
||||
--- a/info/Makefile.am
|
||||
+++ b/info/Makefile.am
|
||||
@@ -69,7 +69,7 @@ cmd_sources = $(srcdir)/session.c $(srcdir)/echo-area.c $(srcdir)/infodoc.c \
|
||||
# more than once.
|
||||
funs.h: makedoc$(EXEEXT) $(cmd_sources)
|
||||
rm -f $(generated_sources)
|
||||
- $(top_builddir)/$(native_tools)/info/makedoc $(cmd_sources)
|
||||
+ makedoc $(cmd_sources)
|
||||
|
||||
# The following hack is necessary to hint make before the automatic
|
||||
# dependencies are built.
|
||||
90
sources/poky/meta/recipes-extended/texinfo/texinfo_7.0.3.bb
Normal file
90
sources/poky/meta/recipes-extended/texinfo/texinfo_7.0.3.bb
Normal file
@@ -0,0 +1,90 @@
|
||||
SUMMARY = "Documentation system for on-line information and printed output"
|
||||
DESCRIPTION = "Texinfo is a documentation system that can produce both \
|
||||
online information and printed output from a single source file. The \
|
||||
GNU Project uses the Texinfo file format for most of its documentation."
|
||||
HOMEPAGE = "http://www.gnu.org/software/texinfo/"
|
||||
SECTION = "console/utils"
|
||||
LICENSE = "GPL-3.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
|
||||
|
||||
PROVIDES:append:class-native = " texinfo-replacement-native"
|
||||
|
||||
def compress_pkg(d):
|
||||
if bb.data.inherits_class('compress_doc', d):
|
||||
compress = d.getVar("DOC_COMPRESS")
|
||||
if compress == "gz":
|
||||
return "gzip"
|
||||
elif compress == "bz2":
|
||||
return "bzip2"
|
||||
elif compress == "xz":
|
||||
return "xz"
|
||||
return ""
|
||||
|
||||
RDEPENDS:info += "${@compress_pkg(d)}"
|
||||
|
||||
DEPENDS = "zlib ncurses texinfo-replacement-native"
|
||||
DEPENDS:class-native = "zlib-native ncurses-native"
|
||||
|
||||
TARGET_PATCH = "file://use_host_makedoc.patch"
|
||||
TARGET_PATCH:class-native = ""
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/texinfo/${BP}.tar.gz \
|
||||
file://disable-native-tools.patch \
|
||||
file://link-zip.patch \
|
||||
file://dont-depend-on-help2man.patch \
|
||||
${TARGET_PATCH} \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "3cc5706fb086b895e1dc2b407aade9f95a3a233ff856273e2b659b089f117683"
|
||||
|
||||
tex_texinfo = "texmf/tex/texinfo"
|
||||
|
||||
inherit gettext autotools multilib_script
|
||||
|
||||
MULTILIB_SCRIPTS = "${PN}:${bindir}/texi2any"
|
||||
|
||||
EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"
|
||||
|
||||
do_configure:prepend () {
|
||||
# autotools_do_configure updates po/Makefile.in.in, we also need
|
||||
# update po_document.
|
||||
cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/po_document/
|
||||
}
|
||||
|
||||
do_compile:prepend() {
|
||||
if [ -d tools ];then
|
||||
oe_runmake -C tools/gnulib/lib
|
||||
fi
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
mkdir -p ${D}${datadir}/${tex_texinfo}
|
||||
install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo}
|
||||
sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2any ${D}${bindir}/pod2texi
|
||||
sed -i -e 's,${HOSTTOOLS_DIR},,' ${D}${bindir}/texindex
|
||||
}
|
||||
|
||||
do_install:append:class-native() {
|
||||
install -m 755 info/makedoc ${D}${bindir}
|
||||
}
|
||||
|
||||
PACKAGES += "info info-doc"
|
||||
|
||||
FILES:info = "${bindir}/info ${bindir}/infokey ${bindir}/install-info"
|
||||
FILES:info-doc = "${infodir}/info.info* ${infodir}/dir ${infodir}/info-*.info* \
|
||||
${mandir}/man1/info.1* ${mandir}/man5/info.5* \
|
||||
${mandir}/man1/infokey.1* ${mandir}/man1/install-info.1*"
|
||||
|
||||
FILES:${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo"
|
||||
RDEPENDS:${PN} = "perl"
|
||||
FILES:${PN}-doc = "${infodir}/texi* \
|
||||
${datadir}/${tex_texinfo} \
|
||||
${mandir}/man1 ${mandir}/man5"
|
||||
|
||||
# Lie about providing the Locale::gettext_xs module. It is not actually built,
|
||||
# but the code will test for it and if not found use Locale::gettext_pp instead.
|
||||
# However, this causes a file dependency on perl(Locale::gettext_xs) to be
|
||||
# generated, which must be satisfied.
|
||||
RPROVIDES:${PN} += "perl(Locale::gettext_xs)"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user