Skip to content

Commit

Permalink
groff: update to 1.23.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
icp1994 committed Jul 28, 2023
1 parent 23a67d6 commit ba284c4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 112 deletions.
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
.\}
39 changes: 12 additions & 27 deletions srcpkgs/groff/template
Original file line number Diff line number Diff line change
@@ -1,33 +1,25 @@
# Template file for 'groff'
pkgname=groff
version=1.22.4
revision=3
version=1.23.0
revision=1
build_style=gnu-configure
build_helper="qemu"
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
changelog="https://git.savannah.gnu.org/cgit/groff.git/plain/NEWS"
distfiles="${GNU_SITE}/groff/groff-${version}.tar.gz"
checksum=6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13

subpackages="libgroff"

if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" groff"
configure_args+=" --with-doc=no"
else
subpackages+=" groff-doc"
fi

pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*musl)
patch -p0 -i ${FILESDIR}/musl.patch
;;
esac
post_patch() {
if [ "$CROSS_BUILD" ]; then
vsed -i Makefile.in \
-e 's|GROFF_COMMAND_PREFIX=|&/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static|'
fi
}

post_install() {
Expand All @@ -41,13 +33,6 @@ post_install() {
done
}

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

groff-doc_package() {
short_desc+=" - documentation"
pkg_install() {
Expand Down

0 comments on commit ba284c4

Please sign in to comment.