FS#19899 - [nasm] documentation and RDOFF tools missing

Attached to Project: Arch Linux
Opened by Robert Ransom (rransom) - Tuesday, 22 June 2010, 12:52 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 11 December 2010, 05:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The info documentation for NASM and the RDOFF tools are not included in the nasm package, and should be.

It looks to me like the only easy way to install the info docs is to make ‘doc’ (or ‘everything’) and ‘install_doc’ (or ‘install_everything’), which also builds and installs documentation in other formats. This would require makedepends=(groff ghostscript) (the documentation build fails unless ghostscript(ps2pdf) or texlive-bin(pstopdf) is installed; configure looks for nroff, but I'm not sure groff is really needed), and some cleanup to move /usr/doc to /usr/share/doc. See the attached patch.

With the attached patch, namcap suggests to split out a docs package; I'll look up how to do that next.
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 11 December 2010, 05:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in nasm and nasm-doc 2.09.04-1
Comment by Robert Ransom (rransom) - Tuesday, 22 June 2010, 13:02 GMT
My patch also doesn't install the info files properly; improved patch to follow.
Comment by Ionut Biru (wonder) - Tuesday, 22 June 2010, 13:43 GMT
if the documentation is more than 50% from the actually size i guess you might want to add it in a separate package

pkgbase=nasm
pkgname=(nasm nasm-docs)

package_nams-docs(){

make install_doc

}

note, the above was just an example, you actually need more things in package function
Comment by Robert Ransom (rransom) - Tuesday, 22 June 2010, 13:46 GMT
I have attached a corrected patch to this comment. This PKGBUILD builds the info docs only, and installs them manually for now, so ghostscript is not needed as a makedep. It requires the attached nasm.install, which is equivalent to the output of ‘sed -e '/^filelist=/s/sed/nasm/' /var/abs/core/sed/sed.install’.
Comment by Robert Ransom (rransom) - Tuesday, 22 June 2010, 13:49 GMT
> if the documentation is more than 50% from the actually size i guess you might want to add it in a separate package

namcap reported 68%.

I'm just installing the info docs for now, because the other formats are redundant. Do you want a split -docs package? (I can use kdebase as an example.)
Comment by Robert Ransom (rransom) - Thursday, 08 July 2010, 11:03 GMT
The attached PKGBUILD produces a split -docs package. It also fixes the license string (now BSD), and installs the LICENSE file in the usual Arch location.
   PKGBUILD (1.5 KiB)

Loading...