Bug 149249 - Ship LibreOfficeKit headers and library files with the LibreOffice community packages
Summary: Ship LibreOfficeKit headers and library files with the LibreOffice community ...
Status: RESOLVED DUPLICATE of bug 149256
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-23 21:09 UTC by Hossein
Modified: 2023-01-17 09:48 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2022-05-23 21:09:09 UTC
With LibreOfficeKit (LOK), it is possible to create C++ applications that can access LibreOffice functionality.

Documentation for LibreOfficeKit module:
https://docs.libreoffice.org/libreofficekit.html

As there are few dependencies for creating applications with LOK, it would be beneficial to have LibreOfficeKit headers and pre-built library files shipped with the SDK. In this way, one can build LOK C++ apps without building LibreOffice, and just by installing SDK and build tools.

These are the header files for LibreOfficeKit:

LibreOfficeKit/LibreOfficeKitEnums.h \
LibreOfficeKit/LibreOfficeKit.h \
LibreOfficeKit/LibreOfficeKitInit.h \
LibreOfficeKit/LibreOfficeKitGtk.h \
LibreOfficeKit/LibreOfficeKit.hxx \
LibreOfficeKit/LibreOfficeKitTypes.h \

Although Debian and Ubuntu provide the above headers in the libreofficekit-dev packages, these headers are not shipped with the LibreOffice community packages:

https://packages.debian.org/stretch/all/libreofficekit-dev/filelist
https://packages.ubuntu.com/jammy/amd64/libreofficekit-dev/filelist

$ dpkg -S LibreOfficeKit.hxx
dpkg-query: no path found matching pattern *LibreOfficeKit*

$ dpkg -S liblibreofficekitgtk.so
libobasis7.3-core: /opt/libreoffice7.3/program/liblibreofficekitgtk.so

I think it would be better to ship both the headers and library files in the SDK or a separate package.

$ dpkg -L libobasis7.3-libreofficekit-data
/.
/opt
/opt/libreoffice7.3
/opt/libreoffice7.3/share
/opt/libreoffice7.3/share/libreofficekit
/opt/libreoffice7.3/share/libreofficekit/handle_image_end.png
/opt/libreoffice7.3/share/libreofficekit/handle_image_middle.png
/opt/libreoffice7.3/share/libreofficekit/handle_image_start.png

On Windows, both headers and library files are missing from an installation of LibreOffice plus SDK.
Comment 1 Hossein 2023-01-17 09:48:21 UTC
I have mistakenly reported this issue twice, but the second report contains replies. Therefore, I mark this one as a duplicate.

*** This bug has been marked as a duplicate of bug 149256 ***