From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/groff/
Date: Sat, 4 Feb 2023 22:50:12 +0000 (UTC) [thread overview]
Message-ID: <1675550975.3a518db711b5ef99457f0e0d1718a8003d418e29.sam@gentoo> (raw)
commit: 3a518db711b5ef99457f0e0d1718a8003d418e29
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 4 22:02:50 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 4 22:49:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a518db7
sys-apps/groff: add 1.23.0_rc2 (unkeyworded)
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/groff/Manifest | 1 +
sys-apps/groff/groff-1.23.0_rc2.ebuild | 108 +++++++++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
diff --git a/sys-apps/groff/Manifest b/sys-apps/groff/Manifest
index 67a1953b5d4d..0c2d3d45c64e 100644
--- a/sys-apps/groff/Manifest
+++ b/sys-apps/groff/Manifest
@@ -1 +1,2 @@
DIST groff-1.22.4.tar.gz 4137480 BLAKE2B cdda8a7e8e42b8d8991656ecfbffe0cd0ed5d8932467cab2f3c1eecb3365f4a5c03321b6ed929d451c3dfb00a46046a781303a1c55c4aa65eb7d178fb36b1cbc SHA512 1c42d3cd71efaf067b5850945d9097fa1f0fadd5e2b6ba7446bd9d4f439fe1ad058e4ddb0d4e0f503682137dfc7c822944ce1e3e5cf981673f8ba197ea77126d
+DIST groff-1.23.0.rc2.tar.gz 7330614 BLAKE2B 5f9ffd19a6742fae0162c956e8c736bd5f72df5ef2a53a274957bd6caa40b40d73783acee319ff7bcb12942fae2c420d2f7a267bb0cdcb0bc2527b28cd17f9fd SHA512 dfa3c9fa6a76a6bd1496e9e0e4145b7d694383fd3b339a065b7aa63c9507aea331ef90e1ef98cf3eae81b24cb177ee7a9a8be2c91e30296ffe4da0c68aa3e793
diff --git a/sys-apps/groff/groff-1.23.0_rc2.ebuild b/sys-apps/groff/groff-1.23.0_rc2.ebuild
new file mode 100644
index 000000000000..0d90fdb18750
--- /dev/null
+++ b/sys-apps/groff/groff-1.23.0_rc2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P="${P/_/.}"
+DESCRIPTION="Text formatter used for man pages"
+HOMEPAGE="https://www.gnu.org/software/groff/groff.html"
+
+if [[ ${PV} == *_rc* ]] ; then
+ SRC_URI="https://alpha.gnu.org/gnu/groff/${MY_P}.tar.gz"
+else
+ SRC_URI="mirror://gnu/groff/${MY_P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="examples uchardet X"
+
+RDEPEND="
+ uchardet? ( app-i18n/uchardet )
+ X? (
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXt
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-lang/perl
+ sys-apps/texinfo
+"
+
+DOCS=( BUG-REPORT ChangeLog MORE.STUFF NEWS PROBLEMS PROJECTS README TODO )
+
+PATCHES=(
+ # bug #16108, bug #17580, bug #121502
+ "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch
+)
+
+src_prepare() {
+ default
+
+ # Honor Gentoo's docdir
+ sed -i -e "s|^docdir =.*|docdir = \"${EPREFIX}/usr/share/doc/${PF}\"|g" \
+ Makefile.in \
+ || die "failed to modify Makefile.in"
+
+ local pfx=$(usex prefix ' Prefix' '')
+ cat <<-EOF >> tmac/mdoc.local || die
+ .ds volume-operating-system Gentoo${pfx}
+ .ds operating-system Gentoo${pfx}/${KERNEL}
+ .ds default-operating-system Gentoo${pfx}/${KERNEL}
+ EOF
+
+ # make sure we don't get a crappy `g' nameprefix on UNIX systems with real
+ # troff (GROFF_G macro runs some test to see, its own troff doesn't satisfy)
+ sed -i -e 's/^[ \t]\+g=g$/g=/' configure || die
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-appdefdir="${EPREFIX}"/usr/share/X11/app-defaults
+ $(use_with uchardet)
+ $(use_with X x)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ local -a CROSS_ARGS
+ tc-is-cross-compiler && CROSS_ARGS+=(
+ GROFFBIN="$(type -P groff)"
+ TROFFBIN="$(type -P troff)"
+ GROFF_BIN_DIR=
+ GROFF_BIN_PATH=
+ )
+
+ emake AR="$(tc-getAR)" "${CROSS_ARGS[@]}"
+}
+
+src_install() {
+ default
+
+ # The following links are required for man, bug #123674
+ dosym eqn /usr/bin/geqn
+ dosym tbl /usr/bin/gtbl
+
+ if ! use examples ; then
+ # The pdf files might not be generated if ghostscript is unavailable, bug #602020
+ local pdf="${ED}/usr/share/doc/${PF}/examples/mom/mom-pdf.pdf"
+ if [[ -e ${pdf} ]] ; then
+ # Keep mom-pdf.pdf since it's more of a manual than an example
+ # bug #454196 and bug #516732
+ mv "${pdf}" "${ED}/usr/share/doc/${PF}/pdf/" || die
+ fi
+ rm -rf "${ED}/usr/share/doc/${PF}/examples"
+ fi
+}
next reply other threads:[~2023-02-04 22:50 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-04 22:50 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-20 15:19 [gentoo-commits] repo/gentoo:master commit in: sys-apps/groff/ Sam James
2023-12-18 9:01 Arthur Zamarin
2023-12-16 20:56 Sam James
2023-12-16 19:16 Arthur Zamarin
2023-12-16 19:16 Arthur Zamarin
2023-12-16 11:33 Sam James
2023-12-16 11:29 Arthur Zamarin
2023-12-16 11:26 Sam James
2023-11-12 10:25 Fabian Groffen
2023-07-06 8:29 Sam James
2023-07-06 8:29 Sam James
2023-04-16 4:38 Sam James
2023-02-24 18:36 Sam James
2023-02-13 23:24 Sam James
2023-02-09 0:57 Sam James
2022-10-20 3:50 Sam James
2022-10-18 2:18 Sam James
2021-08-30 2:03 Sam James
2021-03-14 18:55 Mike Gilbert
2021-02-23 19:17 Fabian Groffen
2021-01-19 18:14 Georgy Yakovlev
2021-01-06 15:26 Fabian Groffen
2020-12-27 18:13 Fabian Groffen
2020-07-11 21:09 Sam James
2020-06-20 14:08 Thomas Deutschmann
2020-06-09 20:06 Michał Górny
2020-06-04 20:39 Mart Raudsepp
2020-05-30 19:20 Sergei Trofimovich
2020-05-30 8:45 Sergei Trofimovich
2020-05-25 12:21 Mikle Kolyada
2020-05-25 9:36 Sergei Trofimovich
2020-05-22 8:02 Sergei Trofimovich
2020-02-08 16:53 David Seifert
2019-05-04 13:18 Mikle Kolyada
2019-01-25 21:43 James Le Cuirot
2019-01-08 19:19 Thomas Deutschmann
2019-01-08 19:19 Thomas Deutschmann
2018-12-24 22:15 Lars Wendler
2018-12-23 9:47 Lars Wendler
2018-12-08 15:45 Mikle Kolyada
2018-12-03 0:08 Thomas Deutschmann
2018-11-28 21:22 Tobias Klausmann
2018-11-25 15:48 Mart Raudsepp
2018-11-18 16:01 Sergei Trofimovich
2018-11-18 11:36 Mikle Kolyada
2018-11-18 10:52 Sergei Trofimovich
2018-11-18 10:41 Sergei Trofimovich
2018-11-18 10:38 Sergei Trofimovich
2018-11-12 1:14 Thomas Deutschmann
2018-11-10 15:31 Sergei Trofimovich
2018-11-09 17:46 Mikle Kolyada
2018-11-09 13:35 Lars Wendler
2017-05-09 14:33 William Hubbs
2016-12-09 4:21 Mike Frysinger
2016-12-07 18:50 Mike Frysinger
2016-06-24 21:28 Ulrich Müller
2016-01-12 18:05 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1675550975.3a518db711b5ef99457f0e0d1718a8003d418e29.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox