Currently we have to build two copies of 'basegfx' in order to link one dymamically, and one statically into the "PDF import" plugin. The latter used to be an extension we'd ship separately, but for LibreOffice this is always built-in so the separate library is un-necessary. So: what needs doing ? :-) The pdf importer is in sdext/source/pdfimport/ - we need to turn it, from an extension, into a normal component, and link against a non-static version of basegfx. That involves a few tweaks to the makefile.mk to drop rules that create the .oxt and tweak the linking a little. [ the dmake includes that make all those rules work are in solenv/inc/ ]. It would be worth re-basing that top-level makefile.mk on eg. ucb/source/ucp/webdav/makefile.mk - that generates a component that will be bundled. Then we need to tweak 'scp2' to distribute the shared library instead of the extension; git grep for 'dav' in scp2 to see how to do that. Finally we need to register this built-in component in: postprocess/packcomponents/makefile.mk if it is enabled. Test compiling from clean is prolly a good idea to check it. Thanks ! :-) it should clean the code, and shrink the install size too.
Deteted "Easyhack" from summary
In 4.0 PDF Import was turned into a core feature. Can this issue be closed?
Yes - quite right; this is fixed now :-)
Migrating Whiteboard tags to Keywords: (EasyHack,DifficultyInteresting,SkillCpp,TopicCleanup) [NinjaEdit]