Edit Package yast2-control-center-qt3

YaST2 using the Qt3 toolkit (icon fix for 15.1)

This package contains the menu selection component for YaST2 using the Qt3 toolkit.

Refresh
Refresh
Source Files
Filename Size Changed
fix-aclocal-amflags.diff 0000001062 1.04 KB over 6 years
fix_makefile.am_icons.diff 0000000441 441 Bytes over 2 years
fix_makefile.in_icons.diff 0000000496 496 Bytes over 2 years
fix_yastmodules_icons.diff 0000001173 1.15 KB over 2 years
yast2-control-center-2.17.3.tar.bz2 0000251708 246 KB almost 13 years
yast2-control-center-qt3.spec 0000015990 15.6 KB over 2 years
Comments for yast2-control-center-qt3 2

David Rankin's avatar

drankinatty wrote over 2 years ago

Currently builds locally with rpmbuild -ba, but not here on buildservice. In addition to the Makefile.{am,in} patches above, we will have to patch additional files to look for .svg icons instead of .png. The list to consider is:

Makefile.am:20:self_icon_DATA=yast.png Makefile.in:263:self_icon_DATA = yast.png y2controlcenter.cpp:43: QString iconName( ICON_DIR "/yast.png" ); y2controlcenterview.cpp:63: // show titlebar only if title-bar-gradient.png exists y2controlcenterview.cpp:64: if ( !QPixmap( PIXMAP_DIR "/title-bar-gradient.png" ).isNull() ) y2controlcenterview.cpp:206: QPixmap titleBarGradientPixmap = QPixmap( PIXMAP_DIR "/title-bar-gradient.png" ); y2controlcenterview.cpp:220: QPixmap leftLogo( PIXMAP_DIR "/title-bar-left.png" ); y2controlcenterview.cpp:246: QPixmap rightLogo( PIXMAP_DIR "/title-bar-right.png" ); yastmodules.cpp:55:#define DEFAULT_GROUP_ICON "yast-default-group.png" yastmodules.cpp:251: QRegExp extension( "\.(png|jpg)$", false ); // case insensitive yastmodules.cpp:253: if ( icon.find( extension ) < 0 ) // no .png or .jpg extension? yastmodules.cpp:254: icon += ".png"; // assume .png yastmodules.cpp:326: QRegExp extension( "\.(png|jpg)$", false ); // case insensitive yastmodules.cpp:328: if ( icon.find( extension ) < 0 ) // no .png or .jpg extension? yastmodules.cpp:329: icon += ".png"; // assume .png yastmodules.cpp:540: iconfilename = "default.png";


David Rankin's avatar

drankinatty wrote over 2 years ago

Looks like there will need to be a new svg interface written for yast2-control-center-qt3, since Qt3 support says: QImageIO contains a QIODevice object that is used for image data I/O. The programmer can install new image file formats in addition to those that Qt provides.

Qt currently supports the following image file formats: PNG, BMP, XBM, XPM and PNM. It may also support JPEG, MNG and GIF, if specially configured during compilation. The different PNM formats are: PBM (P1 or P4), PGM (P2 or P5), and PPM (P3 or P6).

openSUSE Build Service is sponsored by