From 79ce2f0f63238bd1f93e5d130f3bfa28608e39c6 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 19 Aug 2019 12:02:39 +0200 Subject: [PATCH] LibreOffice Viewer Beta: rewrite to .yml !5262 --- metadata/com.collabora.libreoffice.txt | 126 ----------------- metadata/com.collabora.libreoffice.yml | 178 +++++++++++++++++++++++++ 2 files changed, 178 insertions(+), 126 deletions(-) delete mode 100644 metadata/com.collabora.libreoffice.txt create mode 100644 metadata/com.collabora.libreoffice.yml diff --git a/metadata/com.collabora.libreoffice.txt b/metadata/com.collabora.libreoffice.txt deleted file mode 100644 index f09c9ccf10..0000000000 --- a/metadata/com.collabora.libreoffice.txt +++ /dev/null @@ -1,126 +0,0 @@ -Categories:Multimedia -License:MPL-2.0 -Web Site:https://wiki.documentfoundation.org/Android -Source Code:http://cgit.freedesktop.org/libreoffice/core/tree -Issue Tracker:https://bugs.documentfoundation.org -Donate:https://donate.libreoffice.org - -Name:LibreOffice Viewer Beta -Summary:Document Viewer -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, .odp, .ods, .ots, .ott, .otp) -* Microsoft Office 2007/2010/2013 (.docx, .pptx, .xlsx, .dotx, .xltx, .ppsx) -* Microsoft Office 97/2000/XP/2003 (.doc, .ppt, .xls, .dot, .xlt, .pps) - -Coming in future releases: - -* Interactive document elements (e.g. URLs) -* Support for browsing external SD storage -* Many more features planned - -Usability: - -* Beta status, has crashing bugs - -This package is the preview version. To download the last release see -[[org.documentfoundation.libreoffice]]. -. - -Repo Type:git -Repo:git://anongit.freedesktop.org/libreoffice/core - -Build:4.5.0.0.alpha0+/7f68f67,6 - disable=Remove old alpha build - commit=7f68f67 - output=android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk - srclibs=LOTarballs@c873ae6f - prebuild=sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared && \ - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac && \ - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac - build=ln -s ../$$LOTarballs$$ external/tarballs && \ - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no --with-system-libxml=no --with-x=no --disable-gconf --disable-python" && \ - make versionCode=6 - -Build:4.5.0.0.alpha0+/3f1713b,7 - commit=3f1713b - output=android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk - srclibs=LOTarballs@c873ae6f - prebuild=sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared && \ - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac && \ - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac - build=ln -s ../$$LOTarballs$$ external/tarballs && \ - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no --with-system-libxml=no --with-x=no --disable-gconf --disable-python" && \ - make versionCode=7 - -Build:4.5.0.0.alpha0+/3f1713b,8 - commit=3f1713b - output=android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk - srclibs=LOTarballs@c873ae6f - prebuild=sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared && \ - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac && \ - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac - build=ln -s ../$$LOTarballs$$ external/tarballs && \ - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroidX86 --with-build-platform-configure-options="--with-system-jpeg=no --with-system-libxml=no --with-x=no --disable-gconf --disable-python" && \ - make versionCode=8 - -Build:4.5.0.0.alpha0+/2f6bc9c,9 - commit=2f6bc9c - output=android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk - srclibs=LOTarballs@c873ae6f - prebuild=sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared && \ - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac && \ - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac - build=ln -s ../$$LOTarballs$$ external/tarballs && \ - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no --with-system-libxml=no --with-x=no --disable-gconf --disable-python" && \ - make versionCode=9 - -Build:4.5.0.0.alpha0+/2f6bc9c,10 - commit=2f6bc9c - output=android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk - srclibs=LOTarballs@c873ae6f - prebuild=sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared && \ - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac && \ - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac - build=ln -s ../$$LOTarballs$$ external/tarballs && \ - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroidX86 --with-build-platform-configure-options="--with-system-jpeg=no --with-system-libxml=no --with-x=no --disable-gconf --disable-python" && \ - make versionCode=10 - -Build:4.5.0.0.alpha0+/2d6e16f,11 - commit=2d6e16f - output=android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk - srclibs=LOTarballs@187cf421 - prebuild=sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared && \ - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac && \ - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac && \ - echo "***HOTFIX***" && \ - sed -i -e '/windowActionBar/d' android/experimental/LOAndroid3/res/values/themes.xml && \ - sed -i -e 's/"Theme.AppCompat.Light"/"Theme.AppCompat.Light.NoActionBar"/g' android/experimental/LOAndroid3/res/values/themes.xml - build=ln -s ../$$LOTarballs$$ external/tarballs && \ - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no --with-system-libxml=no --with-x=no --disable-gconf --disable-python" && \ - make versionCode=11 - -Build:4.5.0.0.alpha0+/2d6e16f,12 - commit=2d6e16f - output=android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk - srclibs=LOTarballs@187cf421 - prebuild=sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared && \ - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac && \ - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac && \ - echo "***HOTFIX***" && \ - sed -i -e '/windowActionBar/d' android/experimental/LOAndroid3/res/values/themes.xml && \ - sed -i -e 's/"Theme.AppCompat.Light"/"Theme.AppCompat.Light.NoActionBar"/g' android/experimental/LOAndroid3/res/values/themes.xml - build=ln -s ../$$LOTarballs$$ external/tarballs && \ - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroidX86 --with-build-platform-configure-options="--with-system-jpeg=no --with-system-libxml=no --with-x=no --disable-gconf --disable-python" && \ - make versionCode=12 - -Archive Policy:0 versions -Auto Update Mode:None -Update Check Mode:None -Current Version:4.5.0.0.alpha0+/2d6e16f -Current Version Code:12 diff --git a/metadata/com.collabora.libreoffice.yml b/metadata/com.collabora.libreoffice.yml new file mode 100644 index 0000000000..b12cd3d28f --- /dev/null +++ b/metadata/com.collabora.libreoffice.yml @@ -0,0 +1,178 @@ +Categories: + - Multimedia +License: MPL-2.0 +WebSite: https://wiki.documentfoundation.org/Android +SourceCode: http://cgit.freedesktop.org/libreoffice/core/tree +IssueTracker: https://bugs.documentfoundation.org +Donate: https://donate.libreoffice.org + +Name: LibreOffice Viewer Beta +Summary: Document Viewer +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, .odp, .ods, .ots, .ott, .otp) + * Microsoft Office 2007/2010/2013 (.docx, .pptx, .xlsx, .dotx, .xltx, .ppsx) + * Microsoft Office 97/2000/XP/2003 (.doc, .ppt, .xls, .dot, .xlt, .pps) + + Coming in future releases: + + * Interactive document elements (e.g. URLs) + * Support for browsing external SD storage + * Many more features planned + + Usability: + + * Beta status, has crashing bugs + + This package is the preview version. To download the last release see + [[org.documentfoundation.libreoffice]]. + +RepoType: git +Repo: git://anongit.freedesktop.org/libreoffice/core + +Builds: + - versionName: 4.5.0.0.alpha0+/7f68f67 + versionCode: 6 + disable: Remove old alpha build + commit: 7f68f67 + output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk + srclibs: + - LOTarballs@c873ae6f + prebuild: + - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared + - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac + - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac + build: + - ln -s ../$$LOTarballs$$ external/tarballs + - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" + --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 + --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no + --with-system-libxml=no --with-x=no --disable-gconf --disable-python" + - make versionCode=6 + + - versionName: 4.5.0.0.alpha0+/3f1713b + versionCode: 7 + commit: 3f1713b + output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk + srclibs: + - LOTarballs@c873ae6f + prebuild: + - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared + - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac + - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac + build: + - ln -s ../$$LOTarballs$$ external/tarballs + - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" + --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 + --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no + --with-system-libxml=no --with-x=no --disable-gconf --disable-python" + - make versionCode=7 + + - versionName: 4.5.0.0.alpha0+/3f1713b + versionCode: 8 + commit: 3f1713b + output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk + srclibs: + - LOTarballs@c873ae6f + prebuild: + - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared + - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac + - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac + build: + - ln -s ../$$LOTarballs$$ external/tarballs + - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" + --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 + --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroidX86 --with-build-platform-configure-options="--with-system-jpeg=no + --with-system-libxml=no --with-x=no --disable-gconf --disable-python" + - make versionCode=8 + + - versionName: 4.5.0.0.alpha0+/2f6bc9c + versionCode: 9 + commit: 2f6bc9c + output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk + srclibs: + - LOTarballs@c873ae6f + prebuild: + - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared + - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac + - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac + build: + - ln -s ../$$LOTarballs$$ external/tarballs + - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" + --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 + --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no + --with-system-libxml=no --with-x=no --disable-gconf --disable-python" + - make versionCode=9 + + - versionName: 4.5.0.0.alpha0+/2f6bc9c + versionCode: 10 + commit: 2f6bc9c + output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk + srclibs: + - LOTarballs@c873ae6f + prebuild: + - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared + - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac + - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac + build: + - ln -s ../$$LOTarballs$$ external/tarballs + - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" + --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 + --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroidX86 --with-build-platform-configure-options="--with-system-jpeg=no + --with-system-libxml=no --with-x=no --disable-gconf --disable-python" + - make versionCode=10 + + - versionName: 4.5.0.0.alpha0+/2d6e16f + versionCode: 11 + commit: 2d6e16f + output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk + srclibs: + - LOTarballs@187cf421 + prebuild: + - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared + - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac + - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac + - echo "***HOTFIX***" + - sed -i -e '/windowActionBar/d' android/experimental/LOAndroid3/res/values/themes.xml + - sed -i -e 's/"Theme.AppCompat.Light"/"Theme.AppCompat.Light.NoActionBar"/g' + android/experimental/LOAndroid3/res/values/themes.xml + build: + - ln -s ../$$LOTarballs$$ external/tarballs + - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" + --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 + --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroid --with-build-platform-configure-options="--with-system-jpeg=no + --with-system-libxml=no --with-x=no --disable-gconf --disable-python" + - make versionCode=11 + + - versionName: 4.5.0.0.alpha0+/2d6e16f + versionCode: 12 + commit: 2d6e16f + output: android/experimental/LOAndroid3/bin/LibreOfficeViewer-release-unsigned.apk + srclibs: + - LOTarballs@187cf421 + prebuild: + - sed -i -e 's/\/$(OOO_VENDOR)//g' android/Bootstrap/Makefile.shared + - sed -i -e 's/test_fontconfig=yes/test_fontconfig=no/g' configure.ac + - sed -i -e 's/test_freetype=yes/test_freetype=no/g' configure.ac + - echo "***HOTFIX***" + - sed -i -e '/windowActionBar/d' android/experimental/LOAndroid3/res/values/themes.xml + - sed -i -e 's/"Theme.AppCompat.Light"/"Theme.AppCompat.Light.NoActionBar"/g' + android/experimental/LOAndroid3/res/values/themes.xml + build: + - ln -s ../$$LOTarballs$$ external/tarballs + - ./autogen.sh --enable-release-build --with-vendor=F-Droid --with-android-package-name="com.collabora.libreoffice" + --enable-fetch-external=no --with-android-ndk=$$NDK$$ --with-android-ndk-toolchain-version=4.9 + --with-android-sdk=$$SDK$$ --with-distro=LibreOfficeAndroidX86 --with-build-platform-configure-options="--with-system-jpeg=no + --with-system-libxml=no --with-x=no --disable-gconf --disable-python" + - make versionCode=12 + +ArchivePolicy: 0 versions +AutoUpdateMode: None +UpdateCheckMode: None +CurrentVersion: 4.5.0.0.alpha0+/2d6e16f +CurrentVersionCode: 12