#3123 closed enhancement (fixed)
JOSM should have a .desktop file for KDE/Gnome/etc
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | minor | Milestone: | 14.08 |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
It is standard for GUI apps to have a .desktop file so the GUI environments can list it in the menu. The attachment is a starting point; the Name entry needs to be L10N'd into more languages, but it works and is a starting point. The osm_logo.png that I use on my system was just downloaded from the OSM home page; this needs to be vetted for copyright, but presumably is "OK" as JOSM is now part of OSM??
Attachments (2)
Change History (9)
by , 15 years ago
Attachment: | josm.desktop added |
---|
by , 15 years ago
Attachment: | josm.2.desktop added |
---|
comment:1 by , 15 years ago
There is also a desktop file in the debian dir of the debian package. I attached the file.
comment:2 by , 15 years ago
Actually I think this is a plain packaging issue. Debian dir is outdated a lot I assume. Packages in OpenSUSE BuildService (including packages for SUSE, Fedora and Mandriva) have their own .desktop file.
comment:3 by , 15 years ago
Either way, the .desktop file should be in the SVN repo; I just checked out the /trunk/ and it is not there.
"Common" packaging files like the desktop file are needed not just on Linux but also OpenBSD (the one I did this for), Solaris, HP/UX and others. Obviously distribution-specific files like the OpenBSD makefile or the Debian RPM stuff doesn't need to be in SVN as it is distro-specific, and are at least 50-50% likely to be maintained by the distribution rather than by JOSM, but the desktop file is (barring path issues, which can be fixed with sed) universally required on all *NIX platforms. It and the PNG that it needs should be in a subdirectory called, say, packaging, or similar.
Thanks.
comment:4 by , 10 years ago
Milestone: | → 14.08 |
---|
desktop file from debian