FS#50422 - [ghostscript] replace statically linked binary with dynamic one
Attached to Project:
Arch Linux
Opened by userwithuid (userwithuid) - Wednesday, 17 August 2016, 14:32 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 24 August 2016, 16:04 GMT
Opened by userwithuid (userwithuid) - Wednesday, 17 August 2016, 14:32 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 24 August 2016, 16:04 GMT
|
Details
1.
ghostscript's "make install-so" ships a dynamically linked ghostscript binary (/bin/gsc linked to libgs.so.9). This makes the statically linked binary (/bin/gs) from "make install" useless 13MiB bloat. Other distributions like debian or fedora [1] simply do a mv -f gsc gs but since arch ships gsc until now, a symlink might be preferred. ln -sf "${pkgdir}"/bin/gsc "${pkgdir}"/bin/gs 2. Additionally, the PKGBUILD is missing a "make so" below "make" in build(). Currently, "make install-so" in package() does the compiling as well. [1] http://pkgs.fedoraproject.org/cgit/rpms/ghostscript.git/tree/ghostscript.spec#n242 |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Wednesday, 24 August 2016, 16:04 GMT
Reason for closing: Fixed
Additional comments about closing: 9.19-3 - thanks for the report and proper solution.
Wednesday, 24 August 2016, 16:04 GMT
Reason for closing: Fixed
Additional comments about closing: 9.19-3 - thanks for the report and proper solution.
ln -sf gsc "${pkgdir}"/usr/bin/gs
of course, sorry.