https://bugs.documentfoundation.org/show_bug.cgi?id=149249

            Bug ID: 149249
           Summary: Ship LibreOfficeKit headers and library files with the
                    LibreOffice community packages
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: hoss...@libreoffice.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to