* [gentoo-dev] desktop.eclass: allow 1024 as a size for icons
@ 2023-01-28 12:59 Pacho Ramos
0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2023-01-28 12:59 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]
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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-28 13:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-28 12:59 [gentoo-dev] desktop.eclass: allow 1024 as a size for icons Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox