termux-user-repository / tur

A place for all types of Termux packages.
Other
481 stars 87 forks source link

[Package]: LibreOffice #1135

Open nyemot opened 3 months ago

nyemot commented 3 months ago

Name

LibreOffice

Home page URL

https://www.libreoffice.org/

Source code URL

https://git.libreoffice.org/core

Packaging policy acknowledgement

Additional information

checking for XOpenDisplay in -lX11... yes
checking for X11/extensions/shape.h... no configure: error: libXext headers not found
~/.../libreoffice/core $ pkg search libxext
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo' Checking availability of current mirror: [*] https://mirrors.aliyun.com/termux/termux-main: ok Sorting... Done Full Text Search... Done libxext/stable,now 1.3.6 aarch64 [installed,automatic] X11 miscellaneous extensions library

libxext-static/stable 1.3.6 aarch64 Static libraries for libxext
~/.../libreoffice/core $

knyipab commented 3 months ago

Many of dependencies aren't packaged by Termux would need to be compiled by libreoffice using arguments like --without-system-libexttextcat. One may start with this draft: https://github.com/knyipab/tur/tree/bff3aed612dedfa0582a44e3e0aedebd25fd5ea1/tur-on-device/libreoffice

LibreOffice's in-house build system makes cross-compiling quite difficult, so I began with on device building but still weird errors were seen. Now I wait for proot-distro to provide a Termux rootfs for easier debugging workflow (https://github.com/termux/proot-distro/issues/419), as I don't want to contaminate my own device.