Closed Baldomo closed 6 years ago
I don't think PKGBUILD supports optional makedepends. Am i wrong?
From what I understood in the Arch wiki about PKGBUILD the 'optdepends' array let's you add dependencies that are not strictly required to the build.
I don't think optdepends is supposed to be for dependencies during build. Most AUR helpers don't support that. I'll look into making it optional in the configure script. Maybe i can make it a file variable in the PKGBUILD then.
Would that be acceptable?
Sounds fine by me :)
But what about 'makedepends'? Also, which helpers do you think are gonna support this?
Makedepends is what asciidoc already is listed as, which means it's marked no longer needed after build. Makedepends doesn't have any support for optional dependencies during build, at least to my knowledge.
Bummer. What is it that requires asciidoc to build? Isn't documentation and stuff optional, functionality-wise speaking?
man pages are usually part of the default build, and that's what i use asciidoc to generate.
If you don't care about man pages it really don't serve and functional purpose, But it's a hard dependency in the automake configuration used to build the project currently.
Ok, I see. Will work my way around not to include asciidoc in the build. What should I modify apart from the configure and configure.ac scripts?
So i updated the rewire branch, hopefully it works. You should be able to set WANT_DOC=no
to disable documentation.
Lovely, thank you! Will test tomorrow (on multiple machines) and keep this issue updated.
So, did you ever get it to work?
Sorry for keeping you waiting but my laptop broke and my Raspi Pi 3 doesn't boot for whatever reason. As soon as I have some spare time to fix everything, the first thing I'll do is build bard. I will close this issue if everything goes fine, don't worry.
That's unfortunate, I hope you get it working again. Anyway, thanks for the update.
As of now, bard requires Asciidoc to build documentation, however I believe it should be optional because Asciidoc will install a lot of its missing depedencies and in my case it would take up about 1.2 gb of storage. This is not really worth it nor strictly necessary for this kind of program.
Example output: