Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] new package: libreoffice-still #1217

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

knyipab
Copy link
Contributor

@knyipab knyipab commented Sep 24, 2024

Would be grateful for turning this to be cross compilation. I tried but couldn't even after looking for clues at https://github.com/LibreOffice/core/blob/master/README.cross

Running make debugrun on my phone encounters a lot of runtime path issues. Running make install will contaminate my environment. While there is no easy way to proot a Termux userspace, perhaps the only clean way to use a deb package.

@knyipab
Copy link
Contributor Author

knyipab commented Sep 24, 2024

@licy183 TUR's tur-on-device facility seems to have unstable connection issue.

Currently, it is a pain to debug runtime errors and then recompile the code base. After building on my phone, make debugrun does not seem to launch the app in right way, requiring some workarounds like

export gb_DBGARGS="-env:BRAND_BASE_DIR=file://$(realpath .)/instdir -env:UserInstallation=file://$(realpath .)/instdir -env:CONFIGURATION_LAYERS=xcsxcu:file://$(realpath .)/instdir/share/registry res:file://$(realpath .)/instdir/share/registry"

and just barely makes progress launching the libreoffice app.

But using make install will contaminate my $TERMUX directory. Meanwhile, isolated environments like proot Termux userspace or docker-like tool e.g. udocker, or Termux dual app should help a lot but none of them are readily available. Any suggestions?

@IntinteDAO
Copy link
Contributor

But using make install will contaminate my $TERMUX directory.

make uninstall should revert that

@knyipab
Copy link
Contributor Author

knyipab commented Sep 27, 2024

Libreoffice does not seem to provide make uninstall.
Ref: https://github.com/LibreOffice/core/blob/master/Makefile.in

@IntinteDAO
Copy link
Contributor

Libreoffice does not seem to provide make uninstall. Ref: https://github.com/LibreOffice/core/blob/master/Makefile.in

Sad :( In theory you can use DESTDIR variable to install a LibreOffice on other directory, get file list and using rm - delete it if you want.

Or somehow using Virtual Machine

@knyipab
Copy link
Contributor Author

knyipab commented Oct 3, 2024

I do not have much confidence simply relying on DESTDIR.

I gave up a local ubuntu machine for cross-compilation as an unknown network issue causes ./build-package.sh to download debs so slowly, even if debs files are downloaded previously. Github actions would even be faster.

Android Virtual Device (AVD) is super inconvenient in coding and debugging. E.g. the Ctrl key is used for purpose and not sent to the android device (and no workaround found), making the a proper control and keyboard input so unpleasant.

@knyipab
Copy link
Contributor Author

knyipab commented Oct 3, 2024

This Libreoffice PR should be meaningful for Termux GUI users. It builds but has runtime error. My setup only allows me to use either Github actions build, or on device build (without installation). This restrains me from debugging and fixing a large app efficiently. licy183 is probably too busy to help.

@Biswa96, forgive me for being abrupt, would you by any chance be interested (or perhaps anyone interested) in working on this Libreoffice package? I don't mind this work being taken over or bringing to termux-packages. Help is much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants