summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/groff/files
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-extended/groff/files
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/groff/files')
-rw-r--r--meta/recipes-extended/groff/files/0001-Make-manpages-mulitlib-identical.patch25
-rw-r--r--meta/recipes-extended/groff/files/0001-build-Fix-Savannah-64681-webpage.ps-deps.patch51
-rw-r--r--meta/recipes-extended/groff/files/0001-build-meintro_fr.ps-depends-on-tbl.patch31
-rw-r--r--meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch31
-rw-r--r--meta/recipes-extended/groff/files/0001-getopt-Fix-type-signature-for-getenv.patch27
-rw-r--r--meta/recipes-extended/groff/files/0001-hdtbl-Fix-Savannah-66316-missing-grn-dep.patch38
-rw-r--r--meta/recipes-extended/groff/files/groff-not-search-fonts-on-build-host.patch39
7 files changed, 0 insertions, 242 deletions
diff --git a/meta/recipes-extended/groff/files/0001-Make-manpages-mulitlib-identical.patch b/meta/recipes-extended/groff/files/0001-Make-manpages-mulitlib-identical.patch
deleted file mode 100644
index 6dc84c9062..0000000000
--- a/meta/recipes-extended/groff/files/0001-Make-manpages-mulitlib-identical.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From aa1f37f1e0ff0dc0eeb199b52959e0deb275721e Mon Sep 17 00:00:00 2001
2From: Jeremy Puhlman <jpuhlman@mvista.com>
3Date: Sat, 7 Mar 2020 00:59:13 +0000
4Subject: [PATCH] Make manpages mulitlib identical
5
6Upstream-Status: Submitted [by email to g.branden.robinson@gmail.com]
7Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
8
9---
10 Makefile.am | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/Makefile.am b/Makefile.am
14index f7ab410..7e1f3fb 100644
15--- a/Makefile.am
16+++ b/Makefile.am
17@@ -891,7 +891,7 @@ SUFFIXES += .man
18 -e "s|[@]PAGE[@]|\\\\%$(PAGE)|g" \
19 -e "s|[@]PDFDOCDIR[@]|`echo $(pdfdocdir) | sed -f $(makevarescape)`|g" \
20 -e "s|[@]PSPRINT[@]|`echo $(PSPRINT) | sed -f $(makevarescape)`|g" \
21- -e "s|[@]SYSTEMMACRODIR[@]|`echo $(systemtmacdir) | sed -f $(makevarescape)`|g" \
22+ -e "s|[@]SYSTEMMACRODIR[@]|`echo $(systemtmacdir) | sed -e 's,$(libdir),$(prefix)/lib*,' | sed -f $(makevarescape)`|g" \
23 -e "s|[@]TMAC_AN_PREFIX[@]|\\\\%$(tmac_an_prefix)|g" \
24 -e "s|[@]TMAC_M_PREFIX[@]|\\\\%$(tmac_m_prefix)|g" \
25 -e "s|[@]TMAC_MDIR[@]|`echo $(tmacdir) | sed -f $(makevarescape)`/mm|g" \
diff --git a/meta/recipes-extended/groff/files/0001-build-Fix-Savannah-64681-webpage.ps-deps.patch b/meta/recipes-extended/groff/files/0001-build-Fix-Savannah-64681-webpage.ps-deps.patch
deleted file mode 100644
index eae5dc9998..0000000000
--- a/meta/recipes-extended/groff/files/0001-build-Fix-Savannah-64681-webpage.ps-deps.patch
+++ /dev/null
@@ -1,51 +0,0 @@
1From c75965053124149381ada3c394da74be078076cf Mon Sep 17 00:00:00 2001
2From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
3Date: Sat, 16 Sep 2023 16:28:00 -0500
4Subject: [PATCH] [build]: Fix Savannah #64681 (webpage.ps deps).
5
6* doc/doc.am (doc/webpage.ps, doc/webpage.html): Update and parallelize
7 target dependencies. Resolve race by requiring "grn" and "soelim" to
8 be built first. Also add dependency on `$(TMAC_PACKAGE_MS)`.
9
10Fixes <https://savannah.gnu.org/bugs/?64681>. Thanks to Alexander
11Kanavin for the report.
12
13ANNOUNCE: Acknowledge Alexander.
14
15Upstream-Status: Backport
16Signed-off-by: Alexander Kanavin <alex@linutronix.de>
17---
18 doc/doc.am | 12 ++++++++----
19 1 file changed, 8 insertions(+), 4 deletions(-)
20
21diff --git a/doc/doc.am b/doc/doc.am
22index cddc51907..d3c9ab6b7 100644
23--- a/doc/doc.am
24+++ b/doc/doc.am
25@@ -346,6 +346,9 @@ doc/pic.ps: $(doc_srcdir)/pic.ms eqn pic tbl
26 $(GROFF_V)$(MKDIR_P) `dirname $@` \
27 && $(DOC_GROFF) -pet -Tps -ms $(doc_srcdir)/pic.ms >$@
28
29+# groff(1)'s `-I` implies `-g` and `-s`, so we must depend on grn and
30+# soelim even though the document doesn't require them.
31+doc/webpage.ps: grn soelim
32 doc/webpage.ps: $(DOC_GNU_EPS) tmac/www.tmac tbl
33 doc/webpage.ps: $(doc_srcdir)/webpage.ms
34 $(GROFF_V)$(MKDIR_P) `dirname $@` \
35@@ -365,11 +368,12 @@ doc/pic.html: $(doc_srcdir)/pic.ms
36 && $(DOC_GROFF) -pet -P-Ipic -P-Dimg -P-jpic -Thtml -ms \
37 $(doc_srcdir)/pic.ms > pic.html
38
39-doc/webpage.html: tbl
40-doc/webpage.html: tmac/www.tmac
41-doc/webpage.html: $(DOC_GNU_EPS)
42+# groff(1)'s `-I` implies `-g` and `-s`, so we must depend on grn and
43+# soelim even though the document doesn't require them.
44+doc/webpage.html: grn soelim
45+doc/webpage.html: $(DOC_GNU_EPS) tmac/www.tmac tbl
46 doc/webpage.html: $(doc_srcdir)/groff.css
47-doc/webpage.html: $(doc_srcdir)/webpage.ms
48+doc/webpage.html: $(doc_srcdir)/webpage.ms $(TMAC_PACKAGE_MS)
49 $(GROFF_V)$(MKDIR_P) $(doc_builddir) \
50 && cd $(doc_builddir) \
51 && $(DOC_GROFF) -t -I $(doc_srcdir) -P-jwebpage -P-nrb \
diff --git a/meta/recipes-extended/groff/files/0001-build-meintro_fr.ps-depends-on-tbl.patch b/meta/recipes-extended/groff/files/0001-build-meintro_fr.ps-depends-on-tbl.patch
deleted file mode 100644
index 3e81b86ac8..0000000000
--- a/meta/recipes-extended/groff/files/0001-build-meintro_fr.ps-depends-on-tbl.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From f21e9f13beb57a1e0666edf9693d7c83f2189897 Mon Sep 17 00:00:00 2001
2From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
3Date: Fri, 22 Sep 2023 01:27:57 -0500
4Subject: [PATCH] [build]: meintro_fr.ps depends on tbl.
5
6* doc/doc.am (doc/meintro_fr.ps): Depend on tbl, resolving race in
7 sufficiently parallelized builds. Overlooked in commit 92349ae223,
8 2022-05-30.
9
10Fixes <https://savannah.gnu.org/bugs/?64695>. Thanks to Alexander
11Kanavin for the report.
12
13Upstream-Status: Backport
14Signed-off-by: Alexander Kanavin <alex@linutronix.de>
15---
16 doc/doc.am | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/doc/doc.am b/doc/doc.am
20index d3c9ab6b7..0f95c7774 100644
21--- a/doc/doc.am
22+++ b/doc/doc.am
23@@ -334,7 +334,7 @@ SUFFIXES += .me.in .me
24
25 # Use '-K utf8', not '-k', in case 'configure' didn't find uchardet.
26 # The French translation uses tbl; its English counterpart does not.
27-doc/meintro_fr.ps: doc/meintro_fr.me preconv
28+doc/meintro_fr.ps: doc/meintro_fr.me preconv tbl
29 $(GROFF_V)$(MKDIR_P) `dirname $@` \
30 && $(DOC_GROFF) -K utf8 -t -Tps -me -mfr $< >$@
31
diff --git a/meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch b/meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch
deleted file mode 100644
index de4a55bbab..0000000000
--- a/meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 771686c042d5f494550d0399f36e00b1ca557b2d Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Mon, 11 Nov 2024 14:12:51 +0000
4Subject: [PATCH] contrib/hdtbl/hdtbl.am: Fix race issues for parallel build
5
6Fixed race issues for parallel build:
7groff: error: couldn't exec soelim: Permission
8
9And:
10groff: error: couldn't exec grn: Permission denied
11
12Upstream-Status: Submitted [https://lists.gnu.org/archive/html/groff/2024-11/msg00097.html]
13
14Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
15---
16 contrib/hdtbl/hdtbl.am | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/contrib/hdtbl/hdtbl.am b/contrib/hdtbl/hdtbl.am
20index 9384fac..70f7bc9 100644
21--- a/contrib/hdtbl/hdtbl.am
22+++ b/contrib/hdtbl/hdtbl.am
23@@ -119,7 +119,7 @@ SUFFIXES += .roff .in .ps
24 -e "s|[@]EGREP[@]|$(EGREP)|" $< >$@
25
26 $(HDTBLPROCESSEDEXAMPLEFILES): $(DOC_GNU_EPS) groff troff eqn pic tbl \
27- grops grn font/devps/stamp contrib/hdtbl/examples/common.roff
28+ grops grn soelim font/devps/stamp contrib/hdtbl/examples/common.roff
29
30 uninstall_groffdirs: uninstall-hdtbl-hook
31 uninstall-hdtbl-hook:
diff --git a/meta/recipes-extended/groff/files/0001-getopt-Fix-type-signature-for-getenv.patch b/meta/recipes-extended/groff/files/0001-getopt-Fix-type-signature-for-getenv.patch
deleted file mode 100644
index c69a2b4f67..0000000000
--- a/meta/recipes-extended/groff/files/0001-getopt-Fix-type-signature-for-getenv.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From b68b3c6157c531bdcf5812fd93aadff9c18de6bd Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 22 Mar 2025 14:41:23 -0700
4Subject: [PATCH] getopt: Fix type signature for getenv()
5
6This fixes build on musl with GCC 15
7
8Upstream-Status: Inappropriate [Next version is use getopt.c from gnulib]
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/libs/libgroff/getopt.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/src/libs/libgroff/getopt.c b/src/libs/libgroff/getopt.c
16index 6efa529..ce39115 100644
17--- a/src/libs/libgroff/getopt.c
18+++ b/src/libs/libgroff/getopt.c
19@@ -122,7 +122,7 @@ static struct _getopt_data getopt_data;
20 whose names are inconsistent. */
21
22 #ifndef getenv
23-extern char *getenv ();
24+extern char *getenv (const char *);
25 #endif
26
27 #endif /* not __GNU_LIBRARY__ */
diff --git a/meta/recipes-extended/groff/files/0001-hdtbl-Fix-Savannah-66316-missing-grn-dep.patch b/meta/recipes-extended/groff/files/0001-hdtbl-Fix-Savannah-66316-missing-grn-dep.patch
deleted file mode 100644
index d9455af2ac..0000000000
--- a/meta/recipes-extended/groff/files/0001-hdtbl-Fix-Savannah-66316-missing-grn-dep.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From 12169aa269341753d491a69e9adb86c58dca039a Mon Sep 17 00:00:00 2001
2From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
3Date: Thu, 10 Oct 2024 18:17:08 -0500
4Subject: [PATCH] [hdtbl]: Fix Savannah #66316 (missing `grn` dep).
5
6* hdtbl.am (HDTBLPROCESSEDEXAMPLEFILES): Declare dependency on `grn`;
7 because `-I` flags are used, it is dragged in even though not
8 explicitly needed. Resolves race against `grn`'s availability in the
9 build tree.
10
11Fixes <https://savannah.gnu.org/bugs/?66316>. Thanks to Ross Burton for
12the report.
13
14Upstream-Status: Backport
15Signed-off-by: Ross Burton <ross.burton@arm.com>
16---
17 contrib/hdtbl/ChangeLog | 10 ++++++++++
18 contrib/hdtbl/hdtbl.am | 3 +--
19 2 files changed, 11 insertions(+), 2 deletions(-)
20
21diff --git a/contrib/hdtbl/hdtbl.am b/contrib/hdtbl/hdtbl.am
22index b6c334c18..3c37174f2 100644
23--- a/contrib/hdtbl/hdtbl.am
24+++ b/contrib/hdtbl/hdtbl.am
25@@ -119,9 +119,8 @@ SUFFIXES += .roff .in .ps
26 && sed -e "s|[@]fontdir[@]|$(fontdir)|" \
27 -e "s|[@]EGREP[@]|$(EGREP)|" $< >$@
28
29-
30 $(HDTBLPROCESSEDEXAMPLEFILES): $(DOC_GNU_EPS) groff troff eqn pic tbl \
31- grops font/devps/stamp contrib/hdtbl/examples/common.roff
32+ grops grn font/devps/stamp contrib/hdtbl/examples/common.roff
33
34 uninstall_groffdirs: uninstall-hdtbl-hook
35 uninstall-hdtbl-hook:
36--
372.34.1
38
diff --git a/meta/recipes-extended/groff/files/groff-not-search-fonts-on-build-host.patch b/meta/recipes-extended/groff/files/groff-not-search-fonts-on-build-host.patch
deleted file mode 100644
index 23992576f9..0000000000
--- a/meta/recipes-extended/groff/files/groff-not-search-fonts-on-build-host.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From eb16276c3e2e34aa2e57f6a0e68554657b90cd28 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sat, 11 May 2019 17:06:29 +0800
4Subject: [PATCH] groff searchs fonts which are provided by ghostscript on
5 build host. It causes non-determinism issue. So not search font dirs on host.
6
7Upstream-Status: Inappropriate [cross build specific]
8
9Signed-off-by: Kai Kang <kai.kang@windriver.com>
10
11Rebase to 1.22.4
12Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13
14---
15 font/devpdf/Foundry.in | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/font/devpdf/Foundry.in b/font/devpdf/Foundry.in
19index e5aba65..5441734 100644
20--- a/font/devpdf/Foundry.in
21+++ b/font/devpdf/Foundry.in
22@@ -20,7 +20,7 @@
23
24 #=======================================================================
25 #Foundry|Name|Search path
26-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
27+foundry||(gs)
28
29 # Enable the font description files for grops (generated from Adobe
30 # foundry font files) to be used with gropdf. afmtodit must not be
31@@ -72,7 +72,7 @@ EURO|N||||*../devps/freeeuro.pfa
32 # URW fonts are typically shipped with Ghostscript, but can be replaced.
33
34 #Foundry|Name|Search path
35-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)
36+foundry|U|(gs)
37
38 # Define flags for afmtodit.
39