[opensuse-factory] What yast rpm maps icon-names to groups and modules in yast2-control-center?
All, I'm working the loss of icons in yast2-control-center-qt3 from 15.0 -> 15.1 (http://bugzilla.suse.com/show_bug.cgi?id=1136295). I have been successful in restoring most icons using the png icons and symlinks, e.g.: yast-hardware-group.png -> yast-hardware.png yast-misc-group.png -> yast-sysconfig.png yast-network-group.png -> yast-network.png yast-security-group.png -> yast-security.png yast-software-group.png -> yast-software.png yast-support-group.png -> yast-support.png yast-system-group.png -> yast-system.png yast-update-online-configuration.png -> yast-online_update.png yast-update-online.png -> yast-online_update.png The links are needed as there was somewhat of a random renaming of icon basenames between 15.0 and 15.1. Some Yast package uses the basename of the icon in searching for the appropriate icon to use. Does anyone know what package holds this mapping so I can see what additional mappings were renamed? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On wto, Jun 4, 2019 at 8:59 PM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
All,
I'm working the loss of icons in yast2-control-center-qt3 from 15.0 -> 15.1 (http://bugzilla.suse.com/show_bug.cgi?id=1136295). I have been successful in restoring most icons using the png icons and symlinks, e.g.:
yast-hardware-group.png -> yast-hardware.png yast-misc-group.png -> yast-sysconfig.png yast-network-group.png -> yast-network.png yast-security-group.png -> yast-security.png yast-software-group.png -> yast-software.png yast-support-group.png -> yast-support.png yast-system-group.png -> yast-system.png yast-update-online-configuration.png -> yast-online_update.png yast-update-online.png -> yast-online_update.png
The links are needed as there was somewhat of a random renaming of icon basenames between 15.0 and 15.1. Some Yast package uses the basename of the icon in searching for the appropriate icon to use. Does anyone know what package holds this mapping so I can see what additional mappings were renamed?
The renaming was hardly random, and it was a cleanup after years of negligence of yast-theme. No package in particular holds that mapping, the closer you will get is breeze5-icons, which has majority of YaST icons supported upstream. Icons for modules are loaded based on desktop file in each module, and each module provides its own icon (at least they should do that). Otherwise the best bet is to go through 70 repos that provide desktop files and icons and get that info from there. I just did that a few days ago when updating YaST desktop files to reverse dns schema [1], with swap for Name -> GenericName and GenericName -> Comment for the sake of having a different name for modules on the desktop than in ycc (Now modules mention that they are from YaST, which makes searching through them in desktop environments with other applications that might have shared the same name before a little bit easier). Now I need to figure out translations there properly, and probably a million other fixes to make YaST work better with everything else in the systems. Also from my pov, ycc-qt3 is not sustainable, but I break YaST every week, so I might not be the best arbitrator. [1] https://github.com/yast/yast-yast2/issues/934 LCP [Stasiek] https://lcp.world -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 06/04/2019 03:06 PM, Stasiek Michalski wrote:
The renaming was hardly random, and it was a cleanup after years of negligence of yast-theme. No package in particular holds that mapping, the closer you will get is breeze5-icons, which has majority of YaST icons supported upstream. Icons for modules are loaded based on desktop file in each module, and each module provides its own icon (at least they should do that). Otherwise the best bet is to go through 70 repos that provide desktop files and icons and get that info from there. I just did that a few days ago when updating YaST desktop files to reverse dns schema [1], with swap for Name -> GenericName and GenericName -> Comment for the sake of having a different name for modules on the desktop than in ycc (Now modules mention that they are from YaST, which makes searching through them in desktop environments with other applications that might have shared the same name before a little bit easier).
Now I need to figure out translations there properly, and probably a million other fixes to make YaST work better with everything else in the systems.
Also from my pov, ycc-qt3 is not sustainable, but I break YaST every week, so I might not be the best arbitrator.
[1] https://github.com/yast/yast-yast2/issues/934
LCP [Stasiek] https://lcp.world
Thank you that helps. ycc-qt3 provides the seamless theme integration for KDE3. At least from my pov, it is worth putting the time in to fix it since it was flawless in 15.0, but all the icons disappeared in 15.1. Since there isn't anything broken in ycc-qt3 other than getting the new icon names figured out, it's simply a cosmetic issue. openSuSE should be proud that is able to offer the best KDE3 desktop with 15.1, and a little effort spent keeping it that way is a small price to pay. It provides the most capable "light-weight" desktop for aging x86_64 processors. (and for new hardware, you go from powered-off to full desktop in 11 sec. on SSD) I'll work through the desktop files and see what else I need to pull in to fix it. It looks like the easiest fix is just to build a ycc-qt3-icons package to add the .png icons and symlinks. coolo did a good job with ycc-qt3. Worst case we just have to add a .svg to QImage routine to use the new icons. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
2019.06.05 09:18, David C. Rankin rašė:
<...> Worst case we just have to add a .svg to QImage routine to use the new icons.
If you create icon theme for KDE3, you can use PNG icons. Such way is with current Oxygen YaST icons – all Oxygen icons are PNG. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
2019.06.04 21:59, David C. Rankin rašė:
The links are needed as there was somewhat of a random renaming of icon basenames between 15.0 and 15.1. Some Yast package uses the basename of the icon in searching for the appropriate icon to use. Does anyone know what package holds this mapping so I can see what additional mappings were renamed?
Hi, Some icon names are same, some changed. Below are about Oxygen icons, I hope this will help to create the same for KDE3/Crystal theme. You can reuse my helper script while restoring Oxygen icons for YaST: http://opensuse.lt/images/YaST2-icons/2019/copy_oxygen_icons.sh.txt Some list of new YaST icons: http://opensuse.lt/images/YaST2-icons/2019/scalable.txt http://opensuse.lt/images/YaST2-icons/2019/symbolic.txt You can look into old icons (hicolor + oxygen + crystal) table (as was for openSUSE Leap 15.0, 42.x and older): http://opensuse.lt/images/YaST2-icons/ this table with images can be downloaded as http://opensuse.lt/images/YaST2-icons/YaST2-icons.zip You can download Oxygen icons archive for current YaST (openSUSE Leap 15.1 / TW): http://opensuse.lt/images/YaST2-icons/2019/YaST-Oxygen-icons-2019.zip See structure for Oxygen icons also here: https://github.com/yast/yast-theme/tree/master/icons/oxygen - main icons https://bugzilla.suse.com/attachment.cgi?id=796992 - aditional icons for YaST Partitioning https://bugzilla.suse.com/attachment.cgi?id=796993 - aditional icons for YaST Snapper See also bugs about Oxygen icons: https://bugzilla.suse.com/show_bug.cgi?id=1125450 - Oxygen icon theme for new YaST https://bugzilla.suse.com/show_bug.cgi?id=1125594 - some hardcoded (PNG) icons are missing even in new YaST Regards -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
David C. Rankin
-
opensuse.lietuviu.kalba
-
Stasiek Michalski