With LibreOfficeKit (LOK), it is possible to create C++ applications that can access LibreOffice functionality. LibreOfficeKit module documentation: 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 the 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. The headers and library files are available on Ubuntu and Debian packages, but the headers are not available through LibreOffice community packages. Please note that I have LibreOffice 7.3 + SDK installed on my Ubuntu system. $ dpkg -S liblibreofficekitgtk.so libobasis7.3-core: /opt/libreoffice7.3/program/liblibreofficekitgtk.so $ dpkg -S LibreOfficeKit.h dpkg-query: no path found matching pattern *LibreOfficeKit.h* https://packages.ubuntu.com/jammy/amd64/libreofficekit-dev/filelist https://packages.ubuntu.com/jammy/amd64/liblibreofficekitgtk/filelist https://packages.debian.org/stretch/all/libreofficekit-dev/filelist https://packages.debian.org/stretch/all/liblibreofficekitgtk/filelist Neither the headers, nor the library files are available on LibreOffice community packages for Windows.
Maybe something to be discussed in the ESC meeting ?
(In reply to Xisco Faulí from comment #1) > Maybe something to be discussed in the ESC meeting ? Yes. This was discussed in the ESC call: ESC meeting minutes: 2022-05-26 https://lists.freedesktop.org/archives/libreoffice/2022-May/088940.html + LibreOfficeKit question (Hossein) + the headers are not part of the binary packages + but Debian/Ubuntu packages it + sounds like a good idea to put the headers into the SDK (Caolan) + https://bugs.documentfoundation.org/show_bug.cgi?id=149256 https://gerrit.libreoffice.org/c/core/+/134863 + happy to help with packaging (Cloph) As a result, I am setting the status as NEW.
*** Bug 149249 has been marked as a duplicate of this bug. ***
This part was in the duplicate report: 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 + SDK.
Hossein committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/1305edfbc27121d7fc8973ccafb92f76d5401ac1 tdf#149256 Ship LibreOfficeKit headers in packages It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Hossein committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b7a5d0e5669863033156ef15190c9fd509c45fa3 tdf#149256 Ship LibreOfficeKit headers in packages It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Hossein committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/f41c106764cfed80c31d13a49ad879491eaad738 tdf#149256 Ship LibreOfficeKit headers in packages It will be available in 24.8.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Hossein committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/eb3ba1bb539815e39533a9d2f604527f1e5dcd15 tdf#149256 Ship LibreOfficeKit headers in packages It will be available in 24.8.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.