org.documentfoundation.libreoffice

From F-Droid
(Redirected from LibreOffice Viewer)
Jump to: navigation, search

LibreOffice Viewer

Name: LibreOffice Viewer

ID: org.documentfoundation.libreoffice

License: MPL-2.0

Site: https://www.libreoffice.org/download/android-viewer/

Issues: https://bugs.documentfoundation.org

Source: http://cgit.freedesktop.org/libreoffice/core/tree

Activity: https://gitlab.com/search?group_id=28397&scope=issues&search=org.documentfoundation.libreoffice

Donate: https://donate.libreoffice.org

Bitcoin: None

Added: 2015-06-08

Updated: 2018-07-02 (buildlog)

Document Viewer - view in repository

Description

LibreOffice Viewer uses the same engine as LibreOffice for Windows, Mac, and Linux. This, combined with a new front-end based on Firefox for Android, reads documents similarly to LibreOffice desktop.

Supported files:

  • Open Document Format (odt, ods and odp)
  • Microsoft Office 2007/2010/2013 (docx, xlsx and pptx)
  • Microsoft Office 97/2000/XP/2003 (doc, xls and ppt)

LibreOffice Viewer also comes with a first preview of the editing functionality, which is considered an experimental feature and not stable enough for mission critical tasks. Feedback and bug reports are very welcome, to help developers improve the quality of the application on its way to a fully-fledged editor.

Maintainer Notes

To fix crashes on Tegra2 device, we might need to `sed -i -e 's/mfpu=neon/mfpu=vfpv3-d16/g' configure.ac`, but this might have consequences for other devices. Since we use our own versioncodes, maybe have a third flavor?

Two flavours of each version: X86 and not X86, hence two builds with different version codes for each underlying libreoffice version. The builds only differ in a command line flag to autogen.sh.

Compilation success is quite sensitive to the commit used in my experience. It's probably best to check Google Play and note the commit hash used in the version number. Other tagged versions may fail.

The cd/mkdir/touch commands near the end of the prebuild are to enable fdroid to run the project clean command, which expects these dependencies.

The last line sets the version code. Make sure this is correct (i.e. matches what Google Play says). The version needs to be in the format a.b.c.d<blah>/<commit hash>. Crucially, without the right portion of the commit hash, it will fail at the end of the build with "unexpected version/version code".

In the build section, the first thing done is creating a gradlew symlink for the android/source directory. This is because makefiles generated elsewhere during the build for the owncloud external use the android/source/gradlew as the build tool for owncloud. Then the touch-ed files from the prebuild are removed before making the libreoffice core.

Some build scripts use python2 -- make sure your system does as default.

The libreoffice build scripts spit out warning about the NDK version, so keep an eye out to make sure you have the right one. It's usually pretty recent.

LOTarballs: first compile with --enable-fetch-external=yes and remove the line from the build commands that links workdir/external to LOTarballs. After the build succeeds look in external/tarballs and see which archives have a new version or commit hash. For any that have changed, first check they do not contain precompiled code (if so remove it), then copy them to a clone of the LOTarballs respository. The following find command may be useful for spotting binaries:

find -type f -not -empty -exec sh -c "file -i '{}' | grep -q 'charset=binary'" \; -print

Though you may want to filter png, jpg, gif, &c. and ignore empty files.

Files in external/tarballs but not already in LOTarballs may not be needed. Try without them first.

Once the right contents of LOTarballs has been figured out, don't forget to set --enable-fetch-external=no and add back the symlink command to LOTarballs (and update the LOTarballs commit hash to the new one).

Metadata: current history

Versions

We have the current version of this app. (Check mode: None) (Auto-update mode: None)

The current (recommended) version is 5.2.3.1/01ec8f3 (version code 11).

6.1.0.0.alpha0+/484d0ea842da

This version is built and signed by F-Droid, and guaranteed to correspond to the source tarball published with it.

Version code: 15

6.1.0.0.alpha0+/484d0ea842da

This version is built and signed by F-Droid, and guaranteed to correspond to the source tarball published with it.

Version code: 14

5.2.3.1/01ec8f3

This version is built and signed by F-Droid, and guaranteed to correspond to the source tarball published with it.

Version code: 11

5.2.3.1/01ec8f3

This version is built and signed by F-Droid, and guaranteed to correspond to the source tarball published with it.

Version code: 10

5.1.0.0.alpha1+/5b791ec

We can't build this version: The build for this version was manually disabled. Reason: failing build

Version code: 5

5.1.0.0.alpha1+/5b791ec

We can't build this version: The build for this version was manually disabled. Reason: failing build

Version code: 4

5.0.0.0.alpha1+/ab465b9

This version is built and signed by F-Droid, and guaranteed to correspond to the source tarball published with it.

Version code: 2

5.0.0.0.alpha1+/ab465b9

This version is built and signed by F-Droid, and guaranteed to correspond to the source tarball published with it.

Version code: 1