From 6c6643eb4a7cee924acfb5cbffc828b2936e6f50 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 6 Sep 2023 18:56:23 +0200 Subject: groff: update 1.22.4 -> 1.23.0 Drop backports. Rebase 0001-Make-manpages-mulitlib-identical.patch groff-not-search-fonts-on-build-host.patch --without-doc has been removed upstream; replace that with a dependency on groff-native and substitution of groff executable from that. Drop serial make; this was introduced in 2010 without explanation and likely been solved long time ago. Set urw fonts directory to something bogus to avoid host contamination. (From OE-Core rev: 8ce301b6f62c3be4bdaf4fd03009e79095163010) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- meta/recipes-extended/groff/groff_1.22.4.bb | 81 ----------------------------- 1 file changed, 81 deletions(-) delete mode 100644 meta/recipes-extended/groff/groff_1.22.4.bb (limited to 'meta/recipes-extended/groff/groff_1.22.4.bb') diff --git a/meta/recipes-extended/groff/groff_1.22.4.bb b/meta/recipes-extended/groff/groff_1.22.4.bb deleted file mode 100644 index 244c0e1625..0000000000 --- a/meta/recipes-extended/groff/groff_1.22.4.bb +++ /dev/null @@ -1,81 +0,0 @@ -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://0001-replace-perl-w-with-use-warnings.patch \ - file://groff-not-search-fonts-on-build-host.patch \ - file://0001-support-musl.patch \ - file://0001-Include-config.h.patch \ - file://0001-Make-manpages-mulitlib-identical.patch \ - file://0001-Fix-code-style-issues.patch \ -" - -SRC_URI[md5sum] = "08fb04335e2f5e73f23ea4c3adbf0c5f" -SRC_URI[sha256sum] = "e78e7b4cb7dec310849004fa88847c44701e8d133b5d4c13057d876c1bad0293" - -# Remove at the next upgrade -PR = "r1" - -DEPENDS = "bison-native" -RDEPENDS:${PN} += "perl sed" - -inherit autotools-brokensep texinfo multilib_script pkgconfig - -MULTILIB_SCRIPTS = "${PN}:${bindir}/gpinyin ${PN}:${bindir}/groffer ${PN}:${bindir}/grog" - -EXTRA_OECONF = "--without-x --without-doc" -PARALLEL_MAKE = "" - -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* -} - -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" -- cgit v1.2.3-54-g00ecf