Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groff: update to 1.23.0. #45300

Merged
merged 1 commit into from
Aug 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 0 additions & 79 deletions srcpkgs/groff/files/musl.patch

This file was deleted.

6 changes: 0 additions & 6 deletions srcpkgs/groff/files/site.tmac
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,5 @@
. char \- \N'45'
. char - \N'45'
. char ' \N'39'
. char \' \N'39'
. \}
.
. \" Shut off SGR by default (groff colors)
. \" Require GROFF_SGR envvar defined to turn it on
. if '\V[GROFF_SGR]'' \
. output x X tty: sgr 0
.\}
32 changes: 7 additions & 25 deletions srcpkgs/groff/template
Original file line number Diff line number Diff line change
@@ -1,35 +1,24 @@
# Template file for 'groff'
pkgname=groff
version=1.22.4
revision=3
version=1.23.0
revision=1
build_style=gnu-configure
configure_args="--without-x --disable-rpath"
hostmakedepends="texinfo perl bison ghostscript"
hostmakedepends="perl bison ghostscript"
makedepends="zlib-devel"
short_desc="GNU troff text-formatting system"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/groff/groff.html"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=e78e7b4cb7dec310849004fa88847c44701e8d133b5d4c13057d876c1bad0293

subpackages="libgroff"
changelog="https://git.savannah.gnu.org/cgit/groff.git/plain/NEWS"
distfiles="${GNU_SITE}/groff/groff-${version}.tar.gz"
checksum=6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13

if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" groff"
configure_args+=" --with-doc=no"
else
subpackages+=" groff-doc"
make_build_args+=" GROFFBIN=/usr/bin/groff GROFF_BIN_PATH=/usr/bin"
fi

pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*musl)
patch -p0 -i ${FILESDIR}/musl.patch
;;
esac
}

post_install() {
# From Arch:
#
Expand All @@ -41,13 +30,6 @@ post_install() {
done
}

libgroff_package() {
short_desc+=" - libraries"
pkg_install() {
vmove usr/lib
}
}

groff-doc_package() {
short_desc+=" - documentation"
pkg_install() {
Expand Down
1 change: 1 addition & 0 deletions srcpkgs/removed-packages/template
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ replaces="
libglademm-devel<=2.6.7_6
libglademm<=2.6.7_6
libglib-static<=2.58.3_5
libgroff<=1.22.4_3
libgtkhtml<=4.10.0_1
liblrzip<=0.641_1
libmagick6-devel<=6.9.12.12_2
Expand Down