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,25 @@
|
||||
From aa1f37f1e0ff0dc0eeb199b52959e0deb275721e Mon Sep 17 00:00:00 2001
|
||||
From: Jeremy Puhlman <jpuhlman@mvista.com>
|
||||
Date: Sat, 7 Mar 2020 00:59:13 +0000
|
||||
Subject: [PATCH] Make manpages mulitlib identical
|
||||
|
||||
Upstream-Status: Submitted [by email to g.branden.robinson@gmail.com]
|
||||
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
|
||||
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index f7ab410..7e1f3fb 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -891,7 +891,7 @@ SUFFIXES += .man
|
||||
-e "s|[@]PAGE[@]|\\\\%$(PAGE)|g" \
|
||||
-e "s|[@]PDFDOCDIR[@]|`echo $(pdfdocdir) | sed -f $(makevarescape)`|g" \
|
||||
-e "s|[@]PSPRINT[@]|`echo $(PSPRINT) | sed -f $(makevarescape)`|g" \
|
||||
- -e "s|[@]SYSTEMMACRODIR[@]|`echo $(systemtmacdir) | sed -f $(makevarescape)`|g" \
|
||||
+ -e "s|[@]SYSTEMMACRODIR[@]|`echo $(systemtmacdir) | sed -e 's,$(libdir),$(prefix)/lib*,' | sed -f $(makevarescape)`|g" \
|
||||
-e "s|[@]TMAC_AN_PREFIX[@]|\\\\%$(tmac_an_prefix)|g" \
|
||||
-e "s|[@]TMAC_M_PREFIX[@]|\\\\%$(tmac_m_prefix)|g" \
|
||||
-e "s|[@]TMAC_MDIR[@]|`echo $(tmacdir) | sed -f $(makevarescape)`/mm|g" \
|
||||
@@ -0,0 +1,51 @@
|
||||
From c75965053124149381ada3c394da74be078076cf Mon Sep 17 00:00:00 2001
|
||||
From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
|
||||
Date: Sat, 16 Sep 2023 16:28:00 -0500
|
||||
Subject: [PATCH] [build]: Fix Savannah #64681 (webpage.ps deps).
|
||||
|
||||
* doc/doc.am (doc/webpage.ps, doc/webpage.html): Update and parallelize
|
||||
target dependencies. Resolve race by requiring "grn" and "soelim" to
|
||||
be built first. Also add dependency on `$(TMAC_PACKAGE_MS)`.
|
||||
|
||||
Fixes <https://savannah.gnu.org/bugs/?64681>. Thanks to Alexander
|
||||
Kanavin for the report.
|
||||
|
||||
ANNOUNCE: Acknowledge Alexander.
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
doc/doc.am | 12 ++++++++----
|
||||
1 file changed, 8 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/doc/doc.am b/doc/doc.am
|
||||
index cddc51907..d3c9ab6b7 100644
|
||||
--- a/doc/doc.am
|
||||
+++ b/doc/doc.am
|
||||
@@ -346,6 +346,9 @@ doc/pic.ps: $(doc_srcdir)/pic.ms eqn pic tbl
|
||||
$(GROFF_V)$(MKDIR_P) `dirname $@` \
|
||||
&& $(DOC_GROFF) -pet -Tps -ms $(doc_srcdir)/pic.ms >$@
|
||||
|
||||
+# groff(1)'s `-I` implies `-g` and `-s`, so we must depend on grn and
|
||||
+# soelim even though the document doesn't require them.
|
||||
+doc/webpage.ps: grn soelim
|
||||
doc/webpage.ps: $(DOC_GNU_EPS) tmac/www.tmac tbl
|
||||
doc/webpage.ps: $(doc_srcdir)/webpage.ms
|
||||
$(GROFF_V)$(MKDIR_P) `dirname $@` \
|
||||
@@ -365,11 +368,12 @@ doc/pic.html: $(doc_srcdir)/pic.ms
|
||||
&& $(DOC_GROFF) -pet -P-Ipic -P-Dimg -P-jpic -Thtml -ms \
|
||||
$(doc_srcdir)/pic.ms > pic.html
|
||||
|
||||
-doc/webpage.html: tbl
|
||||
-doc/webpage.html: tmac/www.tmac
|
||||
-doc/webpage.html: $(DOC_GNU_EPS)
|
||||
+# groff(1)'s `-I` implies `-g` and `-s`, so we must depend on grn and
|
||||
+# soelim even though the document doesn't require them.
|
||||
+doc/webpage.html: grn soelim
|
||||
+doc/webpage.html: $(DOC_GNU_EPS) tmac/www.tmac tbl
|
||||
doc/webpage.html: $(doc_srcdir)/groff.css
|
||||
-doc/webpage.html: $(doc_srcdir)/webpage.ms
|
||||
+doc/webpage.html: $(doc_srcdir)/webpage.ms $(TMAC_PACKAGE_MS)
|
||||
$(GROFF_V)$(MKDIR_P) $(doc_builddir) \
|
||||
&& cd $(doc_builddir) \
|
||||
&& $(DOC_GROFF) -t -I $(doc_srcdir) -P-jwebpage -P-nrb \
|
||||
@@ -0,0 +1,31 @@
|
||||
From f21e9f13beb57a1e0666edf9693d7c83f2189897 Mon Sep 17 00:00:00 2001
|
||||
From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
|
||||
Date: Fri, 22 Sep 2023 01:27:57 -0500
|
||||
Subject: [PATCH] [build]: meintro_fr.ps depends on tbl.
|
||||
|
||||
* doc/doc.am (doc/meintro_fr.ps): Depend on tbl, resolving race in
|
||||
sufficiently parallelized builds. Overlooked in commit 92349ae223,
|
||||
2022-05-30.
|
||||
|
||||
Fixes <https://savannah.gnu.org/bugs/?64695>. Thanks to Alexander
|
||||
Kanavin for the report.
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
doc/doc.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/doc/doc.am b/doc/doc.am
|
||||
index d3c9ab6b7..0f95c7774 100644
|
||||
--- a/doc/doc.am
|
||||
+++ b/doc/doc.am
|
||||
@@ -334,7 +334,7 @@ SUFFIXES += .me.in .me
|
||||
|
||||
# Use '-K utf8', not '-k', in case 'configure' didn't find uchardet.
|
||||
# The French translation uses tbl; its English counterpart does not.
|
||||
-doc/meintro_fr.ps: doc/meintro_fr.me preconv
|
||||
+doc/meintro_fr.ps: doc/meintro_fr.me preconv tbl
|
||||
$(GROFF_V)$(MKDIR_P) `dirname $@` \
|
||||
&& $(DOC_GROFF) -K utf8 -t -Tps -me -mfr $< >$@
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From 771686c042d5f494550d0399f36e00b1ca557b2d Mon Sep 17 00:00:00 2001
|
||||
From: Robert Yang <liezhi.yang@windriver.com>
|
||||
Date: Mon, 11 Nov 2024 14:12:51 +0000
|
||||
Subject: [PATCH] contrib/hdtbl/hdtbl.am: Fix race issues for parallel build
|
||||
|
||||
Fixed race issues for parallel build:
|
||||
groff: error: couldn't exec soelim: Permission
|
||||
|
||||
And:
|
||||
groff: error: couldn't exec grn: Permission denied
|
||||
|
||||
Upstream-Status: Submitted [https://lists.gnu.org/archive/html/groff/2024-11/msg00097.html]
|
||||
|
||||
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
||||
---
|
||||
contrib/hdtbl/hdtbl.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/contrib/hdtbl/hdtbl.am b/contrib/hdtbl/hdtbl.am
|
||||
index 9384fac..70f7bc9 100644
|
||||
--- a/contrib/hdtbl/hdtbl.am
|
||||
+++ b/contrib/hdtbl/hdtbl.am
|
||||
@@ -119,7 +119,7 @@ SUFFIXES += .roff .in .ps
|
||||
-e "s|[@]EGREP[@]|$(EGREP)|" $< >$@
|
||||
|
||||
$(HDTBLPROCESSEDEXAMPLEFILES): $(DOC_GNU_EPS) groff troff eqn pic tbl \
|
||||
- grops grn font/devps/stamp contrib/hdtbl/examples/common.roff
|
||||
+ grops grn soelim font/devps/stamp contrib/hdtbl/examples/common.roff
|
||||
|
||||
uninstall_groffdirs: uninstall-hdtbl-hook
|
||||
uninstall-hdtbl-hook:
|
||||
@@ -0,0 +1,38 @@
|
||||
From 12169aa269341753d491a69e9adb86c58dca039a Mon Sep 17 00:00:00 2001
|
||||
From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
|
||||
Date: Thu, 10 Oct 2024 18:17:08 -0500
|
||||
Subject: [PATCH] [hdtbl]: Fix Savannah #66316 (missing `grn` dep).
|
||||
|
||||
* hdtbl.am (HDTBLPROCESSEDEXAMPLEFILES): Declare dependency on `grn`;
|
||||
because `-I` flags are used, it is dragged in even though not
|
||||
explicitly needed. Resolves race against `grn`'s availability in the
|
||||
build tree.
|
||||
|
||||
Fixes <https://savannah.gnu.org/bugs/?66316>. Thanks to Ross Burton for
|
||||
the report.
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||
---
|
||||
contrib/hdtbl/ChangeLog | 10 ++++++++++
|
||||
contrib/hdtbl/hdtbl.am | 3 +--
|
||||
2 files changed, 11 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/contrib/hdtbl/hdtbl.am b/contrib/hdtbl/hdtbl.am
|
||||
index b6c334c18..3c37174f2 100644
|
||||
--- a/contrib/hdtbl/hdtbl.am
|
||||
+++ b/contrib/hdtbl/hdtbl.am
|
||||
@@ -119,9 +119,8 @@ SUFFIXES += .roff .in .ps
|
||||
&& sed -e "s|[@]fontdir[@]|$(fontdir)|" \
|
||||
-e "s|[@]EGREP[@]|$(EGREP)|" $< >$@
|
||||
|
||||
-
|
||||
$(HDTBLPROCESSEDEXAMPLEFILES): $(DOC_GNU_EPS) groff troff eqn pic tbl \
|
||||
- grops font/devps/stamp contrib/hdtbl/examples/common.roff
|
||||
+ grops grn font/devps/stamp contrib/hdtbl/examples/common.roff
|
||||
|
||||
uninstall_groffdirs: uninstall-hdtbl-hook
|
||||
uninstall-hdtbl-hook:
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
From eb16276c3e2e34aa2e57f6a0e68554657b90cd28 Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Sat, 11 May 2019 17:06:29 +0800
|
||||
Subject: [PATCH] groff searchs fonts which are provided by ghostscript on
|
||||
build host. It causes non-determinism issue. So not search font dirs on host.
|
||||
|
||||
Upstream-Status: Inappropriate [cross build specific]
|
||||
|
||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||
|
||||
Rebase to 1.22.4
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
|
||||
---
|
||||
font/devpdf/Foundry.in | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/font/devpdf/Foundry.in b/font/devpdf/Foundry.in
|
||||
index e5aba65..5441734 100644
|
||||
--- a/font/devpdf/Foundry.in
|
||||
+++ b/font/devpdf/Foundry.in
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#=======================================================================
|
||||
#Foundry|Name|Search path
|
||||
-foundry||@urwfontsdir@:(gs):/usr/share/fonts/type1/gsfonts:/usr/share/fonts/default/Type1:/usr/share/fonts/default/Type1/adobestd35:/usr/share/fonts/type1/urw-base35:/opt/local/share/fonts/urw-fonts:/usr/local/share/fonts/ghostscript
|
||||
+foundry||(gs)
|
||||
|
||||
# Enable the font description files for grops (generated from Adobe
|
||||
# foundry font files) to be used with gropdf. afmtodit must not be
|
||||
@@ -72,7 +72,7 @@ EURO|N||||*../devps/freeeuro.pfa
|
||||
# URW fonts are typically shipped with Ghostscript, but can be replaced.
|
||||
|
||||
#Foundry|Name|Search path
|
||||
-foundry|U|@urwfontsdir@:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/default/Type1:/usr/share/fonts/default/Type1/adobestd35:/usr/share/fonts/type1/urw-base35:/opt/local/share/fonts/urw-fonts:/usr/local/share/fonts/ghostscript:(gs)
|
||||
+foundry|U|(gs)
|
||||
|
||||
# Define flags for afmtodit.
|
||||
|
||||
80
sources/poky/meta/recipes-extended/groff/groff_1.23.0.bb
Normal file
80
sources/poky/meta/recipes-extended/groff/groff_1.23.0.bb
Normal file
@@ -0,0 +1,80 @@
|
||||
SUMMARY = "GNU Troff software"
|
||||
DESCRIPTION = "The groff (GNU troff) software is a typesetting package which reads plain text mixed with \
|
||||
formatting commands and produces formatted output."
|
||||
SECTION = "base"
|
||||
HOMEPAGE = "http://www.gnu.org/software/groff/"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz \
|
||||
file://groff-not-search-fonts-on-build-host.patch \
|
||||
file://0001-Make-manpages-mulitlib-identical.patch \
|
||||
file://0001-build-Fix-Savannah-64681-webpage.ps-deps.patch \
|
||||
file://0001-build-meintro_fr.ps-depends-on-tbl.patch \
|
||||
file://0001-hdtbl-Fix-Savannah-66316-missing-grn-dep.patch \
|
||||
file://0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13"
|
||||
|
||||
DEPENDS = "bison-native groff-native"
|
||||
RDEPENDS:${PN} += "perl sed"
|
||||
|
||||
inherit autotools-brokensep texinfo multilib_script pkgconfig
|
||||
|
||||
MULTILIB_SCRIPTS = "${PN}:${bindir}/gpinyin ${PN}:${bindir}/grog"
|
||||
|
||||
EXTRA_OECONF = "--without-x --with-urw-fonts-dir=/completely/bogus/dir/"
|
||||
EXTRA_OEMAKE:class-target = "GROFFBIN=groff GROFF_BIN_PATH=${STAGING_BINDIR_NATIVE}"
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl' ac_cv_path_BASH_PROG='no' PAGE=A4"
|
||||
|
||||
# Delete these generated files since we depend on bison-native
|
||||
# and regenerate them. Do it deterministically (always).
|
||||
do_configure:prepend() {
|
||||
rm -f ${S}/src/preproc/eqn/eqn.cpp
|
||||
rm -f ${S}/src/preproc/eqn/eqn.hpp
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
# Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
|
||||
# for target as /usr/bin/perl, so fix it to /usr/bin/perl.
|
||||
for i in afmtodit mmroff gropdf pdfmom grog; do
|
||||
if [ -f ${D}${bindir}/$i ]; then
|
||||
sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/$i
|
||||
fi
|
||||
done
|
||||
if [ -e ${D}${libdir}/charset.alias ]; then
|
||||
rm -rf ${D}${libdir}/charset.alias
|
||||
fi
|
||||
|
||||
# awk is located at /usr/bin/, not /bin/
|
||||
SPECIAL_AWK=`find ${D} -name special.awk`
|
||||
if [ -f ${SPECIAL_AWK} ]; then
|
||||
sed -i -e 's:#!.*awk:#! ${USRBINPATH}/awk:' ${SPECIAL_AWK}
|
||||
fi
|
||||
|
||||
# not ship /usr/bin/glilypond and its releated files in embedded target system
|
||||
rm -rf ${D}${bindir}/glilypond
|
||||
rm -rf ${D}${libdir}/groff/glilypond
|
||||
rm -rf ${D}${mandir}/man1/glilypond*
|
||||
|
||||
# not ship /usr/bin/grap2graph and its releated man files
|
||||
rm -rf ${D}${bindir}/grap2graph
|
||||
rm -rf ${D}${mandir}/man1/grap2graph*
|
||||
|
||||
# strip hosttool path out of generated files
|
||||
sed -i -e 's:${HOSTTOOLS_DIR}/::g' ${D}${docdir}/${BP}/examples/hdtbl/*.roff
|
||||
}
|
||||
|
||||
do_install:append:class-native() {
|
||||
create_cmdline_wrapper ${D}/${bindir}/groff \
|
||||
-F${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/font \
|
||||
-M${STAGING_DIR_NATIVE}${datadir_native}/groff/${PV}/tmac
|
||||
}
|
||||
|
||||
FILES:${PN} += "${libdir}/${BPN}/site-tmac \
|
||||
${libdir}/${BPN}/groffer/"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user