From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- solenv/bin/assemble-flatpak-appdata-step1.sh | 96 ++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100755 solenv/bin/assemble-flatpak-appdata-step1.sh (limited to 'solenv/bin/assemble-flatpak-appdata-step1.sh') diff --git a/solenv/bin/assemble-flatpak-appdata-step1.sh b/solenv/bin/assemble-flatpak-appdata-step1.sh new file mode 100755 index 000000000..4896cf3f2 --- /dev/null +++ b/solenv/bin/assemble-flatpak-appdata-step1.sh @@ -0,0 +1,96 @@ +#! /bin/bash +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +# Part of solenv/bin/assemble-flatpak.sh that is shared with a downstream mechanism of building a +# Flatpak from a Fedora libreoffice.spec file. +# +# Arguments: +# $1 pathname, ending in a slash, of the directory into which to put the target +# org.libreoffice.LibreOffice.appdata.xml file +# $2 "1" if a section shall be included in the target +# org.libreoffice.LibreOffice.appdata.xml file, "0" if not + +set -e + +## org.libreoffice.LibreOffice.appdata.xml is manually derived from the various +## inst/share/metainfo/libreoffice-*.appdata.xml (at least recent GNOME Software +## doesn't show more than five screenshots anyway, so restrict to one each from +## the five libreoffice-*.appdata.xml: Writer, Calc, Impress, Draw, Base): +cat <<\EOF >"${1?}"org.libreoffice.LibreOffice.appdata.xml + + + org.libreoffice.LibreOffice.desktop + CC0-1.0 + MPL-2.0 + LibreOffice + The LibreOffice productivity suite + +

LibreOffice is a powerful office suite. Its clean interface and + feature-rich tools help you unleash your creativity and enhance your + productivity. LibreOffice includes several applications that make it the most + powerful Free and Open Source office suite on the market: Writer (word + processing), Calc (spreadsheets), Impress (presentations), Draw (vector + graphics and flowcharts), Base (databases), and Math (formula editing).

+

LibreOffice supports opening and saving into a wide variety of formats, so + you can easily share documents with users of other popular office suites + without worrying about compatibility.

+
+ http://www.libreoffice.org/discover/libreoffice/ + https://bugs.documentfoundation.org/ + https://donate.libreoffice.org/ + https://wiki.documentfoundation.org/Faq + http://www.libreoffice.org/get-help/documentation/ + https://wiki.documentfoundation.org/Translating_LibreOffice + + + https://hub.libreoffice.org/screenshots/writer-01.png + + + + https://hub.libreoffice.org/screenshots/calc-02.png + + + + https://hub.libreoffice.org/screenshots/impress-01.png + + + + https://hub.libreoffice.org/screenshots/draw-02.png + + + + https://hub.libreoffice.org/screenshots/base-02.png + + + + The Document Foundation + libreoffice_at_lists.freedesktop.org + + HiDpiIcon + HighContrast + ModernToolkit + UserDocs + + +EOF + +if [ "${2?}" = 1 ] +then + cat <>"${1?}"org.libreoffice.LibreOffice.appdata.xml + + + +EOF +fi + +cat <<\EOF >>"${1?}"org.libreoffice.LibreOffice.appdata.xml +
+EOF -- cgit v1.2.3