[Libreoffice-commits] core.git: Branch 'libreoffice-6-0-4' - solenv/flatpak-manifest.in

Stephan Bergmann sbergman at redhat.com
Wed May 2 14:00:49 UTC 2018


 solenv/flatpak-manifest.in |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 705cc3266e5662aa0b6cd752ae0b7fdda6c2da10
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Apr 20 08:56:47 2018 +0200

    Merge in Flatpak improvements
    
    ...from <https://github.com/flathub/org.libreoffice.LibreOffice/>:
    
    commit 715fbcfb4e5c51d40387998932984e54639476a1
    Author: Robert McQueen <rob at endlessm.com>
    Date:   Tue Apr 17 10:26:32 2018 +0100
    
        edit .desktop files to add X-Endless-Alias with original names
    
        Endless OS uses this to update icon grids & taskbar pins if the original files
        have been removed. (Happy to update this to a more standardised key if a
        consensus emerges.)
    
    Change-Id: I646350090c38d84d1930c5afbec0ee500b60d0fb
    (cherry picked from commit a161e41439fc6f9093c212a523154e5146bb1502)
    Reviewed-on: https://gerrit.libreoffice.org/53199
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/solenv/flatpak-manifest.in b/solenv/flatpak-manifest.in
index 679ffa773872..52b4c163c207 100644
--- a/solenv/flatpak-manifest.in
+++ b/solenv/flatpak-manifest.in
@@ -577,7 +577,9 @@
                 "./autogen.sh --prefix=/run/build/libreoffice/inst --with-distro=LibreOfficeFlatpak --disable-symbols $(if test \"$(uname -m)\" = aarch64; then printf %s --disable-pdfium; fi)",
                 "make $(if test \"$(uname -i)\" = i386; then printf build-nocheck; fi)",
                 "make distro-pack-install",
-                "make cmd cmd='$(SRCDIR)/solenv/bin/assemble-flatpak.sh'"
+                "make cmd cmd='$(SRCDIR)/solenv/bin/assemble-flatpak.sh'",
+                "desktop-file-edit --set-key=X-Endless-Alias --set-value=libreoffice-startcenter /app/share/applications/org.libreoffice.LibreOffice.desktop",
+                "for i in base calc draw impress math writer xsltfilter; do desktop-file-edit --set-key=X-Endless-Alias --set-value=libreoffice-$i /app/share/applications/org.libreoffice.LibreOffice-$i.desktop; done"
             ]
         }
     ],


More information about the Libreoffice-commits mailing list