[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] desktop.eclass: allow 1024 as a size for icons
From:       Pacho Ramos <pacho () gentoo ! org>
Date:       2023-01-28 12:59:33
Message-ID: e4b4934eaf20baf00245f1c95b39cac50bd44247.camel () gentoo ! org
[Download RAW message or body]


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


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic