#! /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