https://bugs.freedesktop.org/show_bug.cgi?id=65859
Priority: medium
Bug ID: 65859
Assignee: [email protected]
Summary: version VCL plugins to avoid crashes ...
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: 4.1.0.0.beta1
Component: Libreoffice
Product: LibreOffice
bug#65541 - shows that we have a packaging problem around version skew in
plugins. We could try to solve this with some EPM dependency line - but that's
likely to be more difficult than adding a generally useful version check.
vcl/unx/generic/plugadapt/salplug.cxx (tryInstance)
is the magic that loads our GUI backends; we should check for another symbol
here and fail if it is not present, and export it in the same way (don't forget
the SAL_DLLPUBLIC_EXPORT macros (or their per-backend equivalents)) for:
git grep create_SalInstance
say: get_Version
or whatever. We should implement that method in each of the modules [ ie.
having a shared impl. in vcl/ will not cut it ;-].
Include <config_version.h> from core/config_host/ and just return a const char*
containing LIBO_VERSION_DOTTED - would do the trick I think.
The of course some code to check for that; and (ideally) - we would warn on
STDERR as soon as we saw that, and queue up a message dialog to show with
"ShowNativeDialog" later - as/when/if we found a valid backend.
Thanks !
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs