Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45175 - [plan9port] build HTML manual pages

Attached to Project: Community Packages
Opened by Neven Sajko (Neven) - Tuesday, 02 June 2015, 17:03 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 01 July 2015, 18:22 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Could you add

cd "$pkgdir/usr/lib/plan9/dist"
9 mk man

to package() in PKGBUILD?
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Wednesday, 01 July 2015, 18:22 GMT
Reason for closing:  Implemented
Additional comments about closing:  Already included
Comment by Neven Sajko (Neven) - Tuesday, 02 June 2015, 17:54 GMT Comment by Alexander F. Rødseth (xyproto) - Wednesday, 03 June 2015, 07:50 GMT
Thanks, I'll make the suggested changes.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 30 June 2015, 11:46 GMT
Adding "9 mk man" would require "9" to be installed and available already.

I tried adding the following:

# Build man pages
export PLAN9="$pkgdir/usr/lib/plan9"
export PATH="$PLAN9/bin:/usr/bin"
cd "$pkgdir/usr/lib/plan9/dist"
9 mk man

But the result was hundreds of lines of: "usage: file [-m] [file...]"

Suggestions for how to best add this are welcome.
Comment by Neven Sajko (Neven) - Tuesday, 30 June 2015, 23:17 GMT
Oops, I didn't think about that :)
I think the problem is that bin/9 hardcodes the PLAN9 dir (i.e. it does not use pkgdir internally).
So the building of HTML manuals should probably be done post_install and post_upgrade or left to the user to do.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 01 July 2015, 14:27 GMT
I'll see if I can make it work in post_upgrade/post_install.
Comment by Neven Sajko (Neven) - Wednesday, 01 July 2015, 18:06 GMT
I just built plan9port on my machine and realized that the HTML manuals are actually built by INSTALL, and so already in the package.
I'm really very sorry :(
I must have misread the man page, or it's outdated.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 01 July 2015, 18:22 GMT
No worries! Thanks for caring about the plan9port package. Please let me know if there should be other issues with the plan9port package in the future, and I'll try to fix them.

Loading...