[opensuse-kde3] yast2 control center Icons - new icons package (and symlink) solution
All, I have created an icons package that restores the .png icons for the yast2-control-center-qt3 (I have also patched the control center to create the symlink to the icons -- but buildservice has issues finding the KDE3/leap_15.1 repo for the qt3-devel dependency -- so you have to create the symlink for now) To restore most (I haven't found the online-update icon yet), you can grab the package yast2-control-center-qt3-icons from http://download.opensuse.org/repositories/home:/drankinatty/openSUSE_Leap_15... Then *create the symlink* to the hicolor icon theme, e.g. # ln -sf /usr/share/icons/hicolor /usr/share/YaST2/theme/current/icons That's it, start yast2-control-center and the icons re-appear. (now we can work on finding where the rest went) The bottom line to this problem is 15.1 dropped the yast2-branding-openSUSE package (which provided .png icons) and now provides the yast2-theme package that uses .svg icons. Qt3 cannot use .svg natively to create a QPixmap. So to use the .svg icons, a .svg input routine that renders to QImage will have to be written and then the resulting QImage can be converted to QPixmap for display as icons. (In the meantime -- I just added the .png icons back) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 06/03/2019 02:39 AM, David C. Rankin wrote:
To restore most (I haven't found the online-update icon yet), you can grab the package
OK, I have found the online-update icons and they are missing for the bewilderingly stupid reason that in 15.1, somebody renamed the icon name from: yast-online_update.png to yast-update-online.png and somebody renamed: yast-sw_source.png to yast-update-online-configuration.png (they actually use .svg icons, but the base yast logic to find the icon uses the name-part without the extension, so by renaming the icon, they broke the relationship to the traditional icon names) So to restore the online update icons (and repository configuration) all you need is two symlinks in /usr/share/icons/hicolor/32x32/apps (after installing the yast2-control-center-qt3-icons rpm) is: yast-update-online-configuration.png -> yast-sw_source.png yast-update-online.png -> yast-online_update.png -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On 06/04/2019 02:43 AM, David C. Rankin wrote:
So to restore the online update icons (and repository configuration) all you need is two symlinks in /usr/share/icons/hicolor/32x32/apps (after installing the yast2-control-center-qt3-icons rpm) is:
yast-update-online-configuration.png -> yast-sw_source.png yast-update-online.png -> yast-online_update.png
And... somebody renamed all the icons on the left side by appending -group to the end of the normal icon names, so to restore all the icons you need to add the following: 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 susepaste.com (image) is down, so I've attached the image to show the yast2-control-center-qt3 interface with the links in place: -- David C. Rankin, J.D.,P.E.
participants (1)
-
David C. Rankin