https://bugs.freedesktop.org/show_bug.cgi?id=44732
Bug #: 44732 Summary: EasyHack: linking / PDF import cleanups Classification: Unclassified Product: LibreOffice Version: unspecified Platform: Other OS/Version: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Libreoffice AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: michael.me...@novell.com 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. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs