Hello,

As discussed in https://bugs.gentoo.org/888635 , 1024x1024 icons are
starting to be deployed in some apps as they start to be used in MacOSX
environment. Some weeks ago I needed to skip their installation for
net-im/rocketchat-desktop-bin and I saw that net-analyzer/wireshark is
workarounding the problem by manually installing them without
desktop.eclass helpers.

I would then simply add 1024 to the list of allowed sizes too

Thanks

diff --git a/desktop.eclass~ b/desktop.eclass
index aa1b9ac..ea5c84c 100644
--- a/desktop.eclass~
+++ b/desktop.eclass
@@ -311,7 +311,7 @@ _iconins() {
                                size=${2}
                        fi
                        case ${size} in
-                       16|22|24|32|36|48|64|72|96|128|192|256|512)
+                      
16|22|24|32|36|48|64|72|96|128|192|256|512|1024)
                                size=${size}x${size};;
                        symbolic|scalable)
                                ;;
@@ -369,7 +369,7 @@ _iconins() {
 #    !!! must specify to install into /usr/share/icons/... !!!
 #    size of the icon, like 48 or 48x48
 #    supported icon sizes are:
-#    16 22 24 32 36 48 64 72 96 128 192 256 512 scalable
+#    16 22 24 32 36 48 64 72 96 128 192 256 512 1024 scalable
 #  -c, --context
 #    defaults to "apps"
 #  -t, --theme

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to