site  contact  subhomenews

Ghostscript compiled with libgs in OE

December 02, 2018 — BarryK

The official OpenEmbedded/Yocto project compiles the ghostscript package with a big monolithic 'gs' binary. However, there are some packages that want 'libgs' as a dependency. So, the recipe in OE needs to be modified to generate a small 'gs' with shared 'libgs'.

Fortunately, Andrew has figured out the required changes to the recipe:

https://patchwork.openembedded.org/patch/137913/

https://patchwork.openembedded.org/patch/137914/

I used that as a basis, and my recipe is here:

https://github.com/bkauler/oe-qky-src/tree/master/quirky/meta-quirky/recipes-extended/ghostscript

And a modification to fix compile fail:

https://github.com/bkauler/oe-qky-src/blob/master/create-oe-quirky

There was a package that I wanted to compile recently, that had libgs as a dependency, which prompted this revisit to OE. 

Tags: oe