FS#62714 - [nmap] [7.70-3] Icon in .desktop file is hardlinked
Attached to Project:
Arch Linux
Opened by Zen M (zenm) - Wednesday, 22 May 2019, 21:09 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 16 September 2019, 18:26 GMT
Opened by Zen M (zenm) - Wednesday, 22 May 2019, 21:09 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 16 September 2019, 18:26 GMT
|
Details
The .desktop files in /usr/share/applications
(zenmap.desktop & zenmap-root.desktop) are hardlinking
the Icon property to "/usr/share/zenmap/pixmaps/zenmap.png"
instead of simply writing zenmap in order to get an themed
icon when you're using an icon pack. This was fixed a long
time in upstream
(https://github.com/nmap/nmap/blob/a0418c0b892faded3b57a4c301d6d741e3281aeb/zenmap/install_scripts/unix/zenmap.desktop)
so that the misconduct occurs propably during packaging.
|
This task depends upon
cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)")
And in `zenmap/setup.py` you have a bunch of code that start with the comment:
# Rewrite the zenmap.desktop and zenmap-root.desktop files to point to
# the installed locations of the su-to-zenmap.sh script and application
# icon.
Cheers.