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
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
|
Details
Description:
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, Stef |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Friday, 12 February 2016, 14:39 GMT
Reason for closing: Implemented
Friday, 12 February 2016, 14:39 GMT
Reason for closing: Implemented
/usr/lib/libreoffice/program/liblibreofficekitgtk.so is part of the main libreoffice-fresh pkg in Arch and Debian.
https://packages.debian.org/jessie-backports/all/libreofficekit-dev/filelist ships additional header:
/usr/include/LibreOfficeKit/LibreOfficeKit.h
/usr/include/LibreOfficeKit/LibreOfficeKit.hxx
/usr/include/LibreOfficeKit/LibreOfficeKitEnums.h
/usr/include/LibreOfficeKit/LibreOfficeKitGtk.h
/usr/include/LibreOfficeKit/LibreOfficeKitInit.h
/usr/include/LibreOfficeKit/LibreOfficeKitTypes.h + Debian doc files.
Fedora does something different:
http://pkgs.fedoraproject.org/cgit/rpms/libreoffice.git/tree/libreoffice.spec?id=73ecbc7997c92f483811733dcacba315edf59787
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/liblibreofficekitgtk.so %{buildroot}%{_libdir}
%files -n libreofficekit
%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib
%{_libdir}/liblibreofficekitgtk.so
%files -n libreofficekit-devel
%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir
Reading the doc here: https://docs.libreoffice.org/libreofficekit.html - I guess it's enough to include the headers. That can be done easily.