Hello everyone!
Here's real-world breakage due to the old vendor prefix in .desktop file names.
$ rpmls empathy|grep desktop$ -rw-r--r-- /usr/share/applications/fedora-empathy.desktop
GNOME Shell wants "empathy.desktop" instead for its default Dash favourites: http://forums.fedoraforum.org/showthread.php?t=287759&goto=newpost
[...]
I've not opened a bugzilla report about this, because there are over 200 open tickets for empathy, and I can't tell whether the empathy packagers would like the suggestion to rename the .desktop file instead of gnome-shell having to be patched.
[...]
It's time to get rid of the old vendor prefix, even if that causes minor breakage for app links on desktops.
On 01/20/2013 06:54 AM, Michael Schwendt wrote:
Hello everyone!
Here's real-world breakage due to the old vendor prefix in .desktop file names.
$ rpmls empathy|grep desktop$ -rw-r--r-- /usr/share/applications/fedora-empathy.desktop
GNOME Shell wants "empathy.desktop" instead for its default Dash favourites: http://forums.fedoraforum.org/showthread.php?t=287759&goto=newpost
[...]
I've not opened a bugzilla report about this, because there are over 200 open tickets for empathy, and I can't tell whether the empathy packagers would like the suggestion to rename the .desktop file instead of gnome-shell having to be patched.
[...]
It's time to get rid of the old vendor prefix, even if that causes minor breakage for app links on desktops.
I would tend to agree. The existing guidelines already strongly discourage their use, except in the case of a prefix already existing in a release.
These legacy packages and packagers may well be unaware of the issue.
In this particular case, imo, gnome-shell probably ought to be patched in f18, but for f19+, empathy's prefix certainly should be dropped.
-- rex
Hi, I have some packages where desktop files are being installed using fedora prefix. I want to drop it provided no other packages are needing this fedora prefixed filename. Thus, no breakage. Should I remove fedora prefix?
Regards, Parag.
On Wed, 30 Jan 2013 20:32:22 +0530, Parag N(पराग़) wrote:
Hi, I have some packages where desktop files are being installed using fedora prefix. I want to drop it provided no other packages are needing this fedora prefixed filename. Thus, no breakage. Should I remove fedora prefix?
It's not only "other packages".
With some desktop environments, it's the user's desktop configuration that can break. When it uses symlinks for custom launchers, menu entries, for example. It's minor breakage, IMO, and much better than continueing to deviate from upstream file naming after many years. Anyone who wants to refer to a desktop file (for whatever reason there may be), would need to handle the possibly Fedora-specific fedora- prefix.
In Rawhide:
$ repoquery --whatprovides /usr/share/applications/fedora-*.desktop --qf "%{name}"|sort|uniq|wc -l 618
Uh oh...
On 01/30/2013 04:36 PM, Michael Schwendt wrote:
On Wed, 30 Jan 2013 20:32:22 +0530, Parag N(पराग़) wrote:
Hi, I have some packages where desktop files are being installed using fedora prefix. I want to drop it provided no other packages are needing this fedora prefixed filename. Thus, no breakage. Should I remove fedora prefix?
It's not only "other packages".
With some desktop environments, it's the user's desktop configuration that can break. When it uses symlinks for custom launchers, menu entries, for example. It's minor breakage, IMO, and much better than continueing to deviate from upstream file naming after many years. Anyone who wants to refer to a desktop file (for whatever reason there may be), would need to handle the possibly Fedora-specific fedora- prefix.
In Rawhide:
$ repoquery --whatprovides /usr/share/applications/fedora-*.desktop --qf "%{name}"|sort|uniq|wc -l 618
Uh oh...
A lot of my packages employ vendor prefixes - I can see no reason why they cannot be removed
packaging@lists.fedoraproject.org