Should this provide nroff since
it provides that binary and for
example fish depends on nroff or
should fish depend on groff
directly instead?
No. The core repository PKGBUILD doesn't create such meta-provides and neither does mandoc.
Git Clone URL: | https://aur.archlinux.org/groff-git.git (read-only, click to copy) |
---|---|
Package Base: | groff-git |
Description: | GNU Troff. Official git trunk. |
Upstream URL: | http://www.gnu.org/software/groff/ |
Licenses: | GPL |
Conflicts: | groff |
Provides: | groff |
Replaces: | groff |
Submitter: | toropisco |
Maintainer: | toropisco |
Last Packager: | toropisco |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2014-10-31 17:27 (UTC) |
Last Updated: | 2023-11-30 00:46 (UTC) |
Should this provide nroff since
it provides that binary and for
example fish depends on nroff or
should fish depend on groff
directly instead?
No. The core repository PKGBUILD doesn't create such meta-provides and neither does mandoc.
Should this provide nroff
since it provides that binary and for example fish
depends on nroff
or should fish
depend on groff
directly instead?
@NikitaIvanov, the patch is irrelevant insofar as this PKGBUILD tracks the tip of the master development branch both of groff and gnulib. If it doesn't compile, you just have to wait a few hours or days and the bug will be fixed upstream. Else, you report it upstream and have it fixed.
As of the time I'm posting this, groff-git and gnulib-git compile flawlessly. Cheers.
The package is somehow broken, I get an error that groff.txt was not found
. This patch fixed it for me:
diff --git a/PKGBUILD b/PKGBUILD
index b042fa4..8dc56f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
CLANG=0
pkgname=groff-git
-pkgver=1.23.0.rc1.2913.g27568d6e3
+pkgver=1.23.0.rc4.156.g9e52384a1
pkgrel=1
pkgdesc="GNU Troff. Official git trunk."
arch=('x86_64')
@@ -24,6 +24,7 @@ provides=('groff')
source=(
"$pkgname::git://git.savannah.gnu.org/groff.git"
"gnulib-git::git://git.sv.gnu.org/gnulib.git"
+ 'groff-txt-fix.patch'
'site.tmac'
)
@@ -37,6 +38,7 @@ fi
b2sums=('SKIP'
'SKIP'
+ '91099e2766ecf90818eb431fb6fc09cf52dc52742977732b693d5933d6d132c8b8405e8c678d5c0ef0bbbac4c47a8db10651a8642491c69cc1f235b4a87250f5'
'c2906f83259261ba3927ca4870ce1035f04a66e9e2331a30961373d0b5dc2f62955b2cdf2ed8cebf927912a9b689fc9a3a25891dee0bdb301a41acea9dac56c3')
pkgver() {
@@ -50,6 +52,7 @@ prepare() {
./bootstrap \
--gnulib-srcdir="$srcdir"/gnulib-git \
--force
+ patch -d "$srcdir/$pkgname" -N -p1 -i "$srcdir/groff-txt-fix.patch"
}
build() {
diff --git a/groff-txt-fix.patch b/groff-txt-fix.patch
new file mode 100644
index 0000000..bce0f42
--- /dev/null
+++ b/groff-txt-fix.patch
@@ -0,0 +1,13 @@
+diff --git a/doc/doc.am b/doc/doc.am
+index cddc51907..9626dbb28 100644
+--- a/doc/doc.am
++++ b/doc/doc.am
+@@ -624,7 +624,7 @@ install-data-local: install-txt
+ install-txt:
+ -test -d $(DESTDIR)$(docdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(docdir)
+- cp $(top_srcdir)/doc/groff.txt $(DESTDIR)$(docdir)
++ cp $(top_builddir)/doc/groff.txt $(DESTDIR)$(docdir)
+
+ install-data-local: install_infodoc
+ install_infodoc: doc/groff.info
@bittin, did you read the warning that shows up when you try to flag a git package? Please don't waste my time with frivolous requests.
Thanks.
Please add perl-file-homedir as a dependency because glilypond doesn't work without it.
Pinned Comments
toropisco commented on 2023-02-22 13:41 (UTC)
@bittin, did you read the warning that shows up when you try to flag a git package? Please don't waste my time with frivolous requests.
Thanks.