Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#48066 - [libreoffice-fresh] add libreofficekit to libreoffice-fresh-sdk.

Attached to Project: Arch Linux
Opened by Stef Bon (stefbon) - Sunday, 07 February 2016, 10:52 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 12 February 2016, 14:39 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Since some time it's possible to use the libreoffice functionality with LibreOfficeKit, a C/C++ api to handle lo documents.
Maybe I've overlooked, but I cannot find it in the arch packages db.

Searching using pacman -Ss libreoffice gives libreoffice-fresh-sdk, but that does not include libreofficekit.

Please add, I want to develop a viewer to compare differences using LO using qt.

Thanks in advance,


This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 12 February 2016, 14:39 GMT
Reason for closing:  Implemented
Comment by Andreas Radke (AndyRTR) - Sunday, 07 February 2016, 18:13 GMT
There's no upstream file list what needs to be shipped. Looking how Debian and Fedora ship Lo-Kit this is what they do:

/usr/lib/libreoffice/program/ is part of the main libreoffice-fresh pkg in Arch and Debian. ships additional header:
/usr/include/LibreOfficeKit/LibreOfficeKitTypes.h + Debian doc files.

Fedora does something different:
install -m 0755 -d %{buildroot}%{_libdir}/girepository-1.0
install -m 0644 -p LOKDocView-%{girapiversion}.typelib %{buildroot}%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib
install -m 0755 -d %{buildroot}%{_libdir}/gir-1.0
install -m 0644 -p gir-1.0/LOKDocView-%{girapiversion}.gir %{buildroot}%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir
mv %{buildroot}%{baseinstdir}/program/ %{buildroot}%{_libdir}

%files -n libreofficekit

%files -n libreofficekit-devel

Reading the doc here: - I guess it's enough to include the headers. That can be done easily.