From cb5cc514b3ccb1cf0788b8ac2f24d075b4e36055 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 24 Feb 2023 16:28:28 +0100 Subject: [PATCH] Adapt for renamed app ID Upstream has renamed the app ID from darktable.desktop to org.darktable.darktable, which is sadly different from org.darktable.Darktable that the flatpak is using. For now, keep on using org.darktable.Darktable. When we update the runtime to F38, that would be a good point to rename the flatpak app ID if we want to go ahead with the rename to match the new upstream naming. Looks like flathub is also sticking with org.darktable.Darktable for now. https://github.com/darktable-org/darktable/pull/13193 https://github.com/flathub/org.darktable.Darktable/pull/101 --- container.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/container.yaml b/container.yaml index 4ed585d..6832f47 100644 --- a/container.yaml +++ b/container.yaml @@ -5,8 +5,8 @@ flatpak: id: org.darktable.Darktable branch: stable command: darktable - rename-appdata-file: darktable.appdata.xml - rename-desktop-file: darktable.desktop + rename-appdata-file: org.darktable.darktable.appdata.xml + rename-desktop-file: org.darktable.darktable.desktop rename-icon: darktable copy-icon: true finish-args: |- @@ -21,3 +21,7 @@ flatpak: --filesystem=xdg-run/gvfs --filesystem=xdg-run/gvfsd --device=all + + cleanup-commands: | + sed -i 's@org\.darktable\.darktable@org.darktable.Darktable@' \ + /app/share/metainfo/org.darktable.darktable.appdata.xml