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
This commit is contained in:
Kalev Lember 2023-02-24 16:28:28 +01:00
commit cb5cc514b3

View file

@ -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@<id>org\.darktable\.darktable</id>@<id>org.darktable.Darktable</id>@' \
/app/share/metainfo/org.darktable.darktable.appdata.xml