Home GnuPG

Use blue app icon for Kleopatra in GnuPG Desktop

Description

Use blue app icon for Kleopatra in GnuPG Desktop

* Makefile.am (EXTRA_DIST): Update list of patches.
* patches/breeze-icons/add-the-nose.patch: Replace with...
* patches/breeze-icons/remove-kleopatra-icons.patch: ...this.
* patches/kleopatra-202501091104/
0000-Also-install-the-scalable-kleopatra-icon.patch,
patches/kleopatra-202501091104/
0001-Make-it-possible-to-run-different-flavors-of-Kleopat.patch,
patches/kleopatra-202501091104/
0002-Allow-to-use-different-icons-for-a-customized-build.patch,
patches/kleopatra-202501091104/
0003-On-Windows-embed-our-app-icon-as-Breeze-icon.patch: New.
* src/Makefile.am (EXTRA_DIST): Update list of icons.
(gpg4win_pkg_kleopatra_configure): Add -DKLEOPATRA_ICON_DIR option.
* src/appimage/build-appimage.sh (kleopatra_icon): Update path of
icon.
* src/gpg4win.mk.in (kleo_icon_dir): New.
* src/icons/gpd/1024-apps-kleopatra.png,
src/icons/gpd/128-apps-kleopatra.png,
src/icons/gpd/16-apps-kleopatra.png,
src/icons/gpd/22-apps-kleopatra.png,
src/icons/gpd/24-apps-kleopatra.png,
src/icons/gpd/32-apps-kleopatra.png,
src/icons/gpd/48-apps-kleopatra.png,
src/icons/gpd/64-apps-kleopatra.png,
src/icons/gpd/sc-apps-kleopatra.svg: New.
src/icons/kleopatra-gpd.svg: Remove.
* src/nsis/inst-kleopatra.nsi: Don't install kleopatra icons.
* src/nsis/uninst-kleopatra.nsi: Don't uninstall kleopatra icons.

Instead of patching the Breeze icon for Kleopatra we remove the icon
(and its *-symbolic variant). For GPD we update the SVG of the blue
head, add PNGs in different sizes, and configure kleopatra to use the
blue icons. The PNGs are embedded as Windows resources and the SVG is
embedded as Qt resource under the path of the (removed) Breeze icon.
We don't install any kleopatra icons anymore because kiconthemes
only looks at embedded icons anyway.