Skip to content

LibreOffice Viewer: Update to 24.2.4

  • Update to new major upstream version 24.2.4

  • Switch to NDK 25.1.8937393 and drop comment on NDK version from maintainer notes.

  • Update path of files to remove in the "rm" section according to LibreOffice commit 3a445cb49795fabe0d8caaf12bfc38eb9e12d5fc [1] ("Turn onlineupdate into external/onlineupdate")

  • Use 7zip instead of tar and unzip/zip to extract and repack the archive files for externals. This unifies handling for all archive formats and unzip would exit with a return code of 1 when unzipping NotoNaskhArabic-v2.016.zip added in LibreOffice commit 4d6533a5babd23262f27eb65fd4b5b12a5d889c0 [2] ("tdf#124591: Update Noto Naskh Arabic to v2.016"), which according to the unzip man page means

    1 one or more warning errors were encountered, but processing completed successfully anyway. This includes zipfiles where one or more files was skipped due to unsupported compression method or encryption with an un‐ known password.

    In this case, it's just warnings and not really an error, but it would result in the F-Droid build aborting anyway.

  • Specify the versionCode for the make command in the build section (as is already done in the prebuild section). The app would otherwise use the default versionCode of 1 again as liboSettings.gradle gets regenerated.

  • Drop external/lcms2/lcms2_sln from scanignore section. It has been removed in LibreOffice commit e1473bc935b68147cb019572928e19a03f188f18 [3] ("Upgrade lcms2 to 2.15").

  • Drop sd/res/buttons/*.zip from scanignore section. Those files were dropped in LibreOffice commit 28b6480c6bdd179f3943f768926b7f196226c768 [4] ("tdf#105303: Drop html export wizard").

Also tweak the entries from the previous update according to fdroid lint's expectations.

[1] https://git.libreoffice.org/core/commit/3a445cb49795fabe0d8caaf12bfc38eb9e12d5fc [2] https://git.libreoffice.org/core/commit/4d6533a5babd23262f27eb65fd4b5b12a5d889c0 [3] https://git.libreoffice.org/core/commit/e1473bc935b68147cb019572928e19a03f188f18 [4] https://git.libreoffice.org/core/commit/28b6480c6bdd179f3943f768926b7f196226c768

Required

Strongly Recommended

  • The upstream app source code repo contains the app metadata (summary/description/images/changelog/etc) in a Fastlane or Triple-T folder structure
  • Releases are tagged

Suggested

  • External repos are added as git submodules instead of srclibs
  • Multiple apks for native code

Merge request reports