summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/groff
Commit message (Collapse)AuthorAgeFilesLines
* groff: replace "perl -w" with "use warnings"Robert Yang2017-04-102-0/+105
| | | | | | | | | | | | | | | | | | | The shebang's max length is usually 128 as defined in /usr/include/linux/binfmts.h: #define BINPRM_BUF_SIZE 128 There would be errors when @PERL@ (hostools/perl) is longer than 128, use '/usr/bin/env perl' can fix the problem, but '/usr/bin/env perl -w' doesn't work: /usr/bin/env: perl -w: No such file or directory So replace "perl -w" with "use warnings" to make it work. (From OE-Core rev: f3408bcf9d2710b07f5825683931e28571de130c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Move out stale GPLv2 versions to a seperate layeruninative-1.5Richard Purdie2017-03-076-261/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are recipes where the upstream has moved to GPLv3 and these old versions are the last ones under the GPLv2 license. There are several reasons for making this move. There is a different quality of service with these recipes in that they don't get security fixes and upstream no longer care about them, in fact they're actively hostile against people using old versions. The recipes tend to need a different kind of maintenance to work with changes in the wider ecosystem and there needs to be isolation between changes made in the v3 versions and those in the v2 versions. There are probably better ways to handle a "non-GPLv3" system but right now having these in OE-Core makes them look like a first class citizen when I believe they have potential for a variety of undesireable issues. Moving them into a separate layer makes their different needs clearer, it also makes it clear how many of these there are. Some are probably not needed (e.g. mc), I also wonder whether some are useful (e.g. gmp) since most things that use them are GPLv3 only already. Someone could now more clearly see how to streamline the list of recipes here. I'm proposing we mmove to this separate layer for 2.3 with its future maintinership and testing to be determined in 2.4 and beyond. (From OE-Core rev: 19b7e950346fb1dde6505c45236eba6cd9b33b4b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: not ship /usr/bin/glilypondMingli Yu2016-09-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | Not ship /usr/bin/glilypond and related files such as man file /usr/share/man/man1/glilypond.1 and other three files related to glilypond under /usr/lib/groff/glilypond in embedded system, it is because: - Remove the confusion about glilypond fails to run because it lacks dependency on File::HomeDir perl module - We don't often have need for sheet music conversion in groff in embedded or IoT devices (glilypond transforms sheet music written in the lilypond language into the groff language using the .PSPIC request, such that groff can transform it into a format that can be displayed directly). (From OE-Core rev: 9a0bf9567f80f06ea067189bf5c27bb5155a85b0) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: correct the location path for awkZhenbo Gao2016-08-251-0/+6
| | | | | | | | | | awk is located at /usr/bin/, but not /bin/ (From OE-Core rev: a3d9d310866fe37f9c072bc81203cbf1b7ca688b) Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff_1.18.1.4: fix narrowing conversion errorHongxu Jia2016-08-042-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | While gcc6 used, build old groff (for anti-GPLv3 reasons) failed: ..... |groff-1.18.1.4/src/devices/grolbp/charset.h:69:1: error: narrowing conversion of '130' from 'int' to 'char' inside { } [-Wnarrowing] ...... In upstream git://git.savannah.gnu.org/groff.git, the following commit fix the issue, but the license is GPLV3, we could not backport it to the old groff which license is GPLV2. ... commit d180038ae0da19655bc2760ae2043efa0550a76c Author: Werner LEMBERG <wl@gnu.org> Date: Wed Apr 16 21:11:07 2003 +0000 * src/devices/grolbp/charset.h (symset): Use `unsigned char'. ... We use another different way to fix the issue. [YOCTO #9896] (From OE-Core rev: 0d79e7b4373053a7f20f18ed962c5a17a969e57e) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix Upstream-Status statementsRoss Burton2015-09-121-1/+1
| | | | | | | | | | Fix a variety of problems such as typos, bad punctuations, or incorrect Upstream-Status values. (From OE-Core rev: bd220fe6ce8c3a0805f13a14706d3130ea872604) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use die() or bbfatal_log() where the log should definitely be printedPaul Eggleton2015-07-161-1/+1
| | | | | | | | | | | | | Change calls to bbfatal() to either die() or bbfatal_log() where we know we want the full log to be printed by the UI (calling bberror or bbfatal would otherwise suppress it since the change to connect these functions through to the UI.) bbfatal() is still fine to use where there is enough context information in the message such that the log isn't needed. (From OE-Core rev: 04ed9a19e1b08003329138b8ab83691d13c11fd9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Fix charset.alias for muslKhem Raj2015-04-212-0/+34
| | | | | | | | | | This is same gnulib fix replicated across needed recipes Change-Id: I756713407111a726eae98e26c9c1ff64981371c0 (From OE-Core rev: fbe6d2c12aa9f7956bc87efeb68cb64b26b60c7a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: fix RDEPENDSDmitry Eremin-Solenikov2015-04-191-3/+1
| | | | | | | | | | RDEPENDS_${PN} is appended with "sed" and on the following line it's fixed to just "perl". Merge both lines to have correct RDEPENDS. (From OE-Core rev: 5519d245dcf698b57949d29fc777928952a3f992) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: add runtime dependency on sedDmitry Eremin-Solenikov2015-04-131-0/+1
| | | | | | | | | | This is to suppress the following QA warning: groff-1.22.2: groff requires /bin/sed, but no providers in its RDEPENDS [file-rdeps] (From OE-Core rev: 1763ff614d11c78bf36d80d27dd6a4f45cbea070) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: 1.22.2 -> 1.22.3Robert Yang2015-04-133-36/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated groff-1.22.2-correct-man.local-install-path.patch * Add perl to RDEPENDS_groff since there are a few perl scripts: groff/usr/bin/roff2pdf:#! /usr/bin/env perl groff/usr/bin/afmtodit:#! /usr/bin/env perl -w groff/usr/bin/roff2dvi:#! /usr/bin/env perl groff/usr/bin/roff2text:#! /usr/bin/env perl groff/usr/bin/glilypond:#! /usr/bin/env perl groff/usr/bin/roff2ps:#! /usr/bin/env perl groff/usr/bin/gperl:#! /usr/bin/env perl groff/usr/bin/mmroff:#! /usr/bin/env perl groff/usr/bin/gpinyin:#! /usr/bin/env perl groff/usr/bin/roff2html:#! /usr/bin/env perl groff/usr/bin/grog:#! /usr/bin/env perl groff/usr/bin/gropdf:#! /usr/bin/env perl -w groff/usr/bin/pdfmom:#! /usr/bin/env perl -w groff/usr/bin/chem:#! /usr/bin/env perl groff/usr/bin/roff2x:#! /usr/bin/env perl groff/usr/bin/groffer:#! /usr/bin/env perl groff/usr/lib64/groff/gpinyin/subs.pl:#! /usr/bin/env perl groff/usr/lib64/groff/grog/subs.pl:#! /usr/bin/env perl groff/usr/lib64/groff/groffer/subs.pl:#! /usr/bin/env perl groff/usr/lib64/groff/groffer/man.pl:#! /usr/bin/env perl groff/usr/lib64/groff/groffer/main_subs.pl:#! /usr/bin/env perl * Fix the dangling /usr/bin/perl or /bin/perl for grog. (From OE-Core rev: f516c288d37e53856bce273af2cdbf24f3f5a6e1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: fix HOMEPAGERobert Yang2015-03-221-1/+1
| | | | | | | (From OE-Core rev: 55d0a51a683e00eb129521c74c1d8adc27ce2dea) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff 1.18.1.4: fix HOMEPAGE and SRC_URIRobert Yang2015-02-081-2/+2
| | | | | | | | | The upstream has moved tarball to "old" dir. (From OE-Core rev: 22c5aa534943b6f6e801da2cf33b66b739c0e22e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: fix PERLPATHRobert Yang2014-07-161-1/+1
| | | | | | | | | | There is no PERLPATH, but "${USRBINPATH}/env perl". (From OE-Core rev: 103d668cece420447c12987119459ebd49c208df) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: fix bindir transaction errorMing Liu2014-07-082-1/+42
| | | | | | | | | | bindir is transfered to Makefile as ${D}${bindir}, hence it should not use DESTDIR as the prefix directory any more during the install. (From OE-Core rev: c050e5c9490e9e8e07db7fbd5e6c1e1dbef3bf8c) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: Fix build on Fedora 17 for 1.18.1.4Ming Liu2014-07-031-0/+8
| | | | | | | | | | | | | The commit 79fc5576: [ groff: Fix build on Fedora 17 ] was applied to 1.22.2, but it's also needed by 1.18.1.4 to solve a same issue. (From OE-Core rev: b019f2cdacfb64f149483df8a5b6b7b3f7943222) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: remove redundant code snippetMing Liu2014-07-031-8/+0
| | | | | | | | | | | | The exact same code snippet exists both in do_install_append and do_install_append_class-native which is not necessary. Remove it from do_install_append_class-native. (From OE-Core rev: 0f107a76713cebb49004d48fd410d9f014dda4b3) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser2014-05-022-2/+2
| | | | | | | | | | | | | The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. (From OE-Core rev: e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: fix pkg_postinst and remove unneeded do_install_prependChen Qi2013-11-011-9/+3
| | | | | | | | | | | | | | | Fix to take $D into consideration in pkg_postinst so that the postinst script could run at rootfs time. The existence of ${D} is ensured by the in base.bbclass. do_install[dirs] = "${D} ${S} ${B}" So there's no need for this do_install_prepend. (From OE-Core rev: 4facf4df0bc0d71d11ba53737faff6f2c6e5863b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: Add GPLv2 versionSaul Wold2013-08-134-0/+156
| | | | | | | | | Apparrently a LICENSE change was missed, so we add the GPLv2 version back in (From OE-Core rev: 002818712fab5c6325b1f7205512945ea87ad76c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: Fix License to be GPLv3Saul Wold2013-08-131-1/+1
| | | | | | | (From OE-Core rev: 4090c4d9b204118ec9826db02b0739ce60563dd4) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: correct the install path of man.localZhenhua Luo2013-06-282-2/+36
| | | | | | | | | | | | | | | openvswitch build failed due to wrong install path of man.local which is provided by groff. Error log: /yocto/build/tmp/sysroots/x86_64-linux/usr/share/groff/1.22.2/tmac/an-old.tmac:690: warning: can't find macro file `man.local' (From OE-Core rev: 5f2dd65e758ead8177a1cdda047bdb105b96e208) Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: upgrade to 1.22.2Constantin Musca2013-02-221-4/+12
| | | | | | | | | | | - add code for generating the gnulib configure script - replace /usr/bin/perl with /usr/bin/env perl (From OE-Core rev: c205124d135935855b9b479125f5bddce96a2872) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-extended: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-021-2/+2
| | | | | | | | | | | | | The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] (From OE-Core rev: 528b4ab831c7b0bc1412318d29e2b7f9cf711d57) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Define USRBINPATH globally instead of individuallyRichard Purdie2012-07-181-6/+2
| | | | | | | | | | | | | Many recipes are now having to define PERLPATH and PYTHONPATH variables. Creating USRBINPATH in bitbake.conf means we can remove all these lines from the many recipes now needing this and simplify the code changes needed in each case, reducing the chance of errors being introduced. Also fixup glib python binary location issue and fix function indentation. (From OE-Core rev: cf63d9068c3a8c635dfc240d30dfff278be9b0e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: clean up FILE after PACKAGE reorderSaul Wold2012-06-211-0/+2
| | | | | | | (From OE-Core rev: 12d33832a56fc47db47acec1ac497ce015ef6b80) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: Fix build on Fedora 17Song.Li2012-06-081-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | Generally distros keep perl at /usr/bin/perl But Fedora 17 also has /bin/perl, this causes groff_1.20.1 build to put perl interpreter path as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | bin/perl is needed by groff-1.20.1-r1.ppc603e (From OE-Core rev: 79fc557683d4eeadaebeb00dfba53762956e4910) Signed-off-by: Song.Li <song.li@windriver.com> Sync up with the do_install_append_virtclass-native chunk. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: Fix sstate relocation issueSaul Wold2011-09-051-1/+8
| | | | | | | | | | | | | [YOCTO #1439] This fixes a problem where the native groff has a path hard coded into it, therefor add a wrapper to set the command line with the correct paths for fonts and tmac directories. (From OE-Core rev: 9106e2922ba5972e3b87436372a12c2e04e9eb65) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: Disable x11 supportTom Rini2011-07-141-0/+1
| | | | | | | | | | groff will build with, or without x11 support depending on if X has been built already or not. Disable x11 support for consistency. (From OE-Core rev: f0cf02ac0fae12cad8895fa1a9f49b0bc68c356d) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: update to 1.20.1Kang Kai2011-05-045-144/+36
| | | | | | | | | | | Update groff to 1.20.1, add SUMMARY and LICENSE info From OE 70bf94cd8669f549ca90581e9592d409b6e24e2e Fixes [Yocto 879] (From OE-Core rev: 6c5cbb73550639ec71cb9564883253dbe1c09f36) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Switch to using GNU_MIRRORTom Rini2011-03-231-1/+1
| | | | | | | (From OE-Core rev: bd9e899d1b07813c78f2dc2e5c46a67937839065) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-extended: Add Summary informationMark Hatle2010-12-161-1/+3
| | | | | | Add Summary information and update descriptions as necessary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Correct LIC_FILES_CHKSUM typosDarren Hart2010-12-101-1/+1
| | | | | | | An investigation into undocumented variables uncovered a handful of LIC_FILES_CHKSUM spelling errors Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* [#BUG298]:Fix some bugs during compiling based on x86_64Xiaofeng Yan2010-09-221-21/+16
| | | | | fix a problem that compliation failed for groff on machine x86_64 Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* groff:Add new groff packageXiaofeng Yan2010-09-084-0/+144
groff allows for a short reference for the GNU roff language Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>