Flatpak now allows dashes in the app id
Alexander Larsson
alexl at redhat.com
Thu Oct 6 08:10:02 UTC 2016
On fre, 2016-09-16 at 17:11 +0200, Alexander Larsson wrote:
> Flatpak has long disagreed with dbus on whether dashes are allowed in
> names (bus name vs flatpak app ids). DBus allows them (but not in
> object paths) and flatpak doesn't.
>
> However, a lot of pre-existing apps *do* use dashes, and recently
> GApplication was changed to allowed this (and the details were made
> more clear in the dbus spec), so today I landed a change in flatpak
> that allows this.
>
> However, for "special" reasons, we additionally disallow application
> ids to end with "-symbolic", in order to be able to handle exporting
> symbolic application icons.
>
> For details, see:
>
> https://github.com/flatpak/flatpak/commit/5c075525a8b14aefbaf7f3d459
> 20bd1d8f7e110c
So, it turns out this breaks the libreoffice flatpaks:
https://github.com/flatpak/flatpak/issues/336
Because they export multiple desktop files from one app, by appending
"-foo" (i.e. org.libreoffice.LibreOffice-writer.desktop). This is no
longer allowed due to the above change.
Maybe we should consider reverting this change. The alternative is to
switch libreoffice to use "org.libreoffice.LibreOffice.writer.desktop"
instead, which should work fine.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alexander.larsson at gmail.com
He's an underprivileged moralistic master criminal with nothing left to
lose. She's a mentally unstable renegade fairy princess with the power to
bend men's minds. They fight crime!
More information about the xdg-app
mailing list