aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-30 03:05:40 +0100
committerSam James <sam@gentoo.org>2021-08-30 03:05:43 +0100
commit117bc03336b9512438a02e324c34d55dc41d9271 (patch)
tree128828c07f2620faaf3b23096545e93a834ad82e
parentmedia-libs/mesa: sync with current stable ::gentoo (diff)
downloadmusl-117bc033.tar.gz
musl-117bc033.tar.bz2
musl-117bc033.zip
sys-apps/groff: treeclean
See: 3d9ac4116142cf74cd8a37906d70a778bdd82569 in ::gentoo. Bug: https://bugs.gentoo.org/678026 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-apps/groff/Manifest1
-rw-r--r--sys-apps/groff/files/groff-1.19.2-man-unicode-dashes.patch24
-rw-r--r--sys-apps/groff/files/groff-1.22.4-musl.patch52
-rw-r--r--sys-apps/groff/groff-1.22.4.ebuild105
-rw-r--r--sys-apps/groff/metadata.xml11
5 files changed, 0 insertions, 193 deletions
diff --git a/sys-apps/groff/Manifest b/sys-apps/groff/Manifest
deleted file mode 100644
index 67a1953b..00000000
--- a/sys-apps/groff/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST groff-1.22.4.tar.gz 4137480 BLAKE2B cdda8a7e8e42b8d8991656ecfbffe0cd0ed5d8932467cab2f3c1eecb3365f4a5c03321b6ed929d451c3dfb00a46046a781303a1c55c4aa65eb7d178fb36b1cbc SHA512 1c42d3cd71efaf067b5850945d9097fa1f0fadd5e2b6ba7446bd9d4f439fe1ad058e4ddb0d4e0f503682137dfc7c822944ce1e3e5cf981673f8ba197ea77126d
diff --git a/sys-apps/groff/files/groff-1.19.2-man-unicode-dashes.patch b/sys-apps/groff/files/groff-1.19.2-man-unicode-dashes.patch
deleted file mode 100644
index 276460f1..00000000
--- a/sys-apps/groff/files/groff-1.19.2-man-unicode-dashes.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-format dashes as dashes so as to not confuse people
-
-http://bugs.gentoo.org/16108
-http://bugs.gentoo.org/17580
-http://bugs.gentoo.org/121502
-
---- a/tmac/man.local
-+++ b/tmac/man.local
-@@ -1,2 +1,6 @@
- .\" This file is loaded after an-old.tmac.
- .\" Put any local modifications to an-old.tmac here.
-+.if '\*[.T]'utf8' \{\
-+. char \- \N'45'
-+. char - \N'45'
-+.\}
---- a/tmac/mdoc.local
-+++ b/tmac/mdoc.local
-@@ -1,2 +1,6 @@
- .\" This file is loaded after doc.tmac.
- .\" Put any local modifications to doc.tmac here.
-+.if '\*[.T]'utf8' \{\
-+. char \- \N'45'
-+. char - \N'45'
-+.\}
diff --git a/sys-apps/groff/files/groff-1.22.4-musl.patch b/sys-apps/groff/files/groff-1.22.4-musl.patch
deleted file mode 100644
index 0ed0e09e..00000000
--- a/sys-apps/groff/files/groff-1.22.4-musl.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff --git a/gnulib_m4/signbit.m4 b/gnulib_m4/signbit.m4
-index 9e7884d..ef1ed6f 100644
---- a/gnulib_m4/signbit.m4
-+++ b/gnulib_m4/signbit.m4
-@@ -29,12 +29,12 @@ AC_DEFUN([gl_SIGNBIT],
- [gl_cv_func_signbit=yes],
- [gl_cv_func_signbit=no],
- [case "$host_os" in
-- # Guess yes on glibc systems.
-- *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;;
-- # Guess yes on native Windows.
-- mingw*) gl_cv_func_signbit="guessing yes" ;;
-- # If we don't know, assume the worst.
-- *) gl_cv_func_signbit="guessing no" ;;
-+ # Guess yes on glibc systems.
-+ *-gnu* | gnu* | *musl*) gl_cv_func_signbit="guessing yes" ;;
-+ # Guess yes on native Windows.
-+ mingw*) gl_cv_func_signbit="guessing yes" ;;
-+ # If we don't know, assume the worst.
-+ *) gl_cv_func_signbit="guessing no" ;;
- esac
- ])
- ])
-@@ -60,17 +60,17 @@ AC_DEFUN([gl_SIGNBIT],
- [gl_cv_func_signbit_gcc=yes],
- [gl_cv_func_signbit_gcc=no],
- [case "$host_os" in
-- # Guess yes on glibc systems.
-- *-gnu* | gnu*) gl_cv_func_signbit_gcc="guessing yes" ;;
-- # Guess yes on mingw, no on MSVC.
-- mingw*) if test -n "$GCC"; then
-- gl_cv_func_signbit_gcc="guessing yes"
-- else
-- gl_cv_func_signbit_gcc="guessing no"
-- fi
-- ;;
-- # If we don't know, assume the worst.
-- *) gl_cv_func_signbit_gcc="guessing no" ;;
-+ # Guess yes on glibc systems.
-+ *-gnu* | gnu* | *musl*) gl_cv_func_signbit_gcc="guessing yes" ;;
-+ # Guess yes on mingw, no on MSVC.
-+ mingw*) if test -n "$GCC"; then
-+ gl_cv_func_signbit_gcc="guessing yes"
-+ else
-+ gl_cv_func_signbit_gcc="guessing no"
-+ fi
-+ ;;
-+ # If we don't know, assume the worst.
-+ *) gl_cv_func_signbit_gcc="guessing no" ;;
- esac
- ])
- ])
diff --git a/sys-apps/groff/groff-1.22.4.ebuild b/sys-apps/groff/groff-1.22.4.ebuild
deleted file mode 100644
index 195f215b..00000000
--- a/sys-apps/groff/groff-1.22.4.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MY_P="${P/_/.}"
-
-DESCRIPTION="Text formatter used for man pages"
-HOMEPAGE="https://www.gnu.org/software/groff/groff.html"
-SRC_URI="mirror://gnu/groff/${MY_P}.tar.gz
- https://alpha.gnu.org/gnu/groff/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-[[ "${PV}" == *_rc* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-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 )
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch #16108 #17580 #121502
-)
-
-src_prepare() {
- default
-
- if use elibc_musl ; then
- eapply "${FILESDIR}"/${PN}-1.22.4-musl.patch
- fi
-
- # 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
- .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-appresdir="${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 #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. #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. #454196 #516732
- mv "${pdf}" "${ED}/usr/share/doc/${PF}/pdf/" || die
- fi
- rm -rf "${ED}/usr/share/doc/${PF}/examples"
- fi
-}
diff --git a/sys-apps/groff/metadata.xml b/sys-apps/groff/metadata.xml
deleted file mode 100644
index b96055e1..00000000
--- a/sys-apps/groff/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>base-system@gentoo.org</email>
- <name>Gentoo Base System</name>
-</maintainer>
-<use>
- <flag name="uchardet">Enable automatic encoding detection via <pkg>app-i18n/uchardet</pkg></flag>
-</use>
-</pkgmetadata>