solenv/bin/ |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 6e004cce495713164778d035e00a39b5465b1c55
Author: Stephan Bergmann <>
Date:   Fri Feb 9 15:44:16 2018 +0100

    Include <release> in Flatpak appdata.xml
    ...fixing <>
    "No version information".  This is only minimal release information (cf.
    tag-releases>), but is what is available directly in the build without
    additional manual input.  Lack of either a date or timestamp attribute 
causes a
    failure "org.libreoffice.LibreOffice.desktop: AppData problem: 
    : <release> has no timestamp", so include the current date in ISO 8601 
format to
    silence that.
    It is assumed that the LIBO_VERSION_* variables will only contain numeric
    values, so don't need to be encoded when included in an XML attribute.
    Change-Id: I442a01d5093ab2621897685c3bc1eeda4ee08fa9

diff --git a/solenv/bin/ b/solenv/bin/
index 3eade815b11b..67cf47bad33d 100755
--- a/solenv/bin/
+++ b/solenv/bin/
@@ -43,7 +43,7 @@ done
 ## doesn't show more than five screenshots anyway, so restrict to one each from
 ## the five libreoffice-*.appdata.xml: Writer, Calc, Impress, Draw, Base):
 mkdir /app/share/appdata
-cat <<\EOF >/app/share/appdata/org.libreoffice.LibreOffice.appdata.xml
+cat <<EOF >/app/share/appdata/org.libreoffice.LibreOffice.appdata.xml
 <?xml version="1.0" encoding="UTF-8"?>
 <component type="desktop">
@@ -98,6 +98,11 @@ cat <<\EOF 
+ <releases>
+  <release
+    date="$(date +%Y-%m-%d)"/>
+ </releases>
Libreoffice-commits mailing list

Reply via email to