Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kvantum for openSUSE:Factory checked in at 2024-05-16 17:16:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kvantum (Old) and /work/SRC/openSUSE:Factory/.kvantum.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kvantum" Thu May 16 17:16:04 2024 rev:20 rq:1174374 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kvantum/kvantum.changes 2024-03-19 17:32:22.131927818 +0100 +++ /work/SRC/openSUSE:Factory/.kvantum.new.1880/kvantum.changes 2024-05-16 17:18:21.066828397 +0200 @@ -1,0 +2,11 @@ +Thu May 16 06:02:54 UTC 2024 - Konstantin Voinov <[email protected]> + +- Version 1.1.1 + * A workaround is added for a backward incompatible change in how + Qt 6.7 draws item views. + * Fixed an old issue in drawing radio buttons under mouse cursor + without animation. + * The support for qmake is back but without KWindowSystem (and + without being advertised). + +------------------------------------------------------------------- Old: ---- kvantum-1.1.0.tar.gz New: ---- kvantum-1.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kvantum.spec ++++++ --- /var/tmp/diff_new_pack.n3dhNP/_old 2024-05-16 17:18:22.126866816 +0200 +++ /var/tmp/diff_new_pack.n3dhNP/_new 2024-05-16 17:18:22.130866962 +0200 @@ -31,7 +31,7 @@ %define dsc_suffix Qt5 %endif Name: kvantum%{?pkg_suffix} -Version: 1.1.0 +Version: 1.1.1 Release: 0 Summary: SVG-based theme engine for Qt5 and Qt6 License: GPL-3.0-or-later ++++++ kvantum-1.1.0.tar.gz -> kvantum-1.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/ChangeLog new/Kvantum-1.1.1/Kvantum/ChangeLog --- old/Kvantum-1.1.0/Kvantum/ChangeLog 2024-03-17 05:18:34.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/ChangeLog 2024-04-18 21:21:32.000000000 +0200 @@ -1,3 +1,9 @@ +V1.1.1 +--------- + * The support for qmake is back without KWindowSystem and without being advertised. + * Added a workaround for a backward incompatible change in how Qt 6.7 draws item views. + * Fixed an old issue in drawing radio buttons under mouse cursor without animation. + V1.1.0 --------- * Made the default compilation be against Qt6. (For Qt5, set "ENABLE_QT5" to "ON", as in `cmake .. -DENABLE_QT5=ON`.) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/NEWS new/Kvantum-1.1.1/Kvantum/NEWS --- old/Kvantum-1.1.0/Kvantum/NEWS 2024-03-17 05:18:34.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/NEWS 2024-04-18 21:21:32.000000000 +0200 @@ -1,5 +1,5 @@ Latest version: - 17 Mar 2024, V1.1.0 + 18 Apr 2024, V1.1.1 See "ChangeLog" for changes. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/kvantum.pro new/Kvantum-1.1.1/Kvantum/kvantum.pro --- old/Kvantum-1.1.0/Kvantum/kvantum.pro 1970-01-01 01:00:00.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/kvantum.pro 2024-04-18 21:21:32.000000000 +0200 @@ -0,0 +1,12 @@ +SUBDIRS += style + +equals(QT_MAJOR_VERSION, 6) { + SUBDIRS += kvantumpreview \ + kvantummanager \ + themes +} + +TEMPLATE = subdirs + +CONFIG += qt \ + warn_on diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/kvantummanager/about.ui new/Kvantum-1.1.1/Kvantum/kvantummanager/about.ui --- old/Kvantum-1.1.0/Kvantum/kvantummanager/about.ui 2024-03-17 05:18:34.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/kvantummanager/about.ui 2024-04-18 21:21:32.000000000 +0200 @@ -125,7 +125,7 @@ <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Greek:</span> Dimitrios Glentadakis <a href="https://github.com/dglent"><span;>(dglent at GitHub)</a></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Hebrew:</span> itay alush <a href="https://github.com/itayalush1">(itayalush1 at GitHub)</a>, Omer I.S. <a href="https://github.com/omeritzics">(omeritzics at GitHub)</a></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Hebrew:</span> itay alush <a href="https://github.com/itayalush1">(itayalush1 at GitHub)</a>, Omer I.S. <a href="https://github.com/omeritzics">(omeritzics at GitHub)</a>, Yaron Shahrabani <a href="https://github.com/yarons">(yarons at GitHub)</a></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Hungarian:</span> <a href="https://github.com/zoli111">zoli111 at GitHub</a>, Ãcs Zoltán</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/kvantummanager/data/translations/kvantummanager_he.ts new/Kvantum-1.1.1/Kvantum/kvantummanager/data/translations/kvantummanager_he.ts --- old/Kvantum-1.1.0/Kvantum/kvantummanager/data/translations/kvantummanager_he.ts 2024-03-17 05:18:34.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/kvantummanager/data/translations/kvantummanager_he.ts 2024-04-18 21:21:32.000000000 +0200 @@ -479,12 +479,12 @@ <message> <location filename="../../kvantummanager.ui" line="821"/> <source>Menu:</source> - <translation type="unfinished"></translation> + <translation>תפר××:</translation> </message> <message> <location filename="../../kvantummanager.ui" line="828"/> <source>Tooltip:</source> - <translation type="unfinished"></translation> + <translation>×××× ×ת צצ×:</translation> </message> <message> <location filename="../../kvantummanager.ui" line="852"/> @@ -517,7 +517,7 @@ <message> <location filename="../../kvantummanager.ui" line="955"/> <source>Blurring for menus and tooltips</source> - <translation type="unfinished"></translation> + <translation>×ש××ש ×תפר×××× ××××× ××ת צצ×ת</translation> </message> <message> <location filename="../../kvantummanager.ui" line="962"/> @@ -535,7 +535,7 @@ <message> <location filename="../../kvantummanager.ui" line="979"/> <source>Translucent windows</source> - <translation type="unfinished"></translation> + <translation>×××× ×ת שק×פ×× ×××צ×</translation> </message> <message> <location filename="../../kvantummanager.ui" line="1053"/> @@ -1606,7 +1606,7 @@ <message> <location filename="../../KvantumManager.cpp" line="2816"/> <source>Restored the root default settings of %1</source> - <translation type="unfinished"></translation> + <translation>ש××××¨× ×××ר×ת ×ר×רת ××××× ×××§×ר××ת ×©× %1</translation> </message> <message> <location filename="../../KvantumManager.cpp" line="2817"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/kvantummanager/kvantummanager.pro new/Kvantum-1.1.1/Kvantum/kvantummanager/kvantummanager.pro --- old/Kvantum-1.1.0/Kvantum/kvantummanager/kvantummanager.pro 1970-01-01 01:00:00.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/kvantummanager/kvantummanager.pro 2024-04-18 21:21:32.000000000 +0200 @@ -0,0 +1,74 @@ +lessThan(QT_MAJOR_VERSION, 5) { + error("Kvantum Manager needs at least Qt 5.15.0.") +} else { + lessThan(QT_MAJOR_VERSION, 6) { + lessThan(QT_MINOR_VERSION, 15) { + error("Kvantum Manager needs at least Qt 5.15.0.") + } + } else { + equals(QT_MAJOR_VERSION, 6) { + lessThan(QT_MINOR_VERSION, 2) { + error("Kvantum needs at least Qt 6.2.0.") + } + } else { + error("Kvantum cannot be compiled against this version of Qt.") + } + } +} + +QT += core gui widgets \ + svg + +TARGET = kvantummanager +TEMPLATE = app +CONFIG += c++11 + +SOURCES += main.cpp \ + KvantumManager.cpp \ + KvCommand.cpp \ + svgicons.cpp + +RESOURCES += kvantummanager.qrc + +HEADERS += KvantumManager.h \ + combobox.h \ + KvCommand.h \ + svgicons.h + +FORMS += \ + kvantummanager.ui \ + about.ui + +unix { + #TRANSLATIONS + exists($$[QT_INSTALL_BINS]/lrelease) { + TRANSLATIONS = $$system("find data/translations/ -name 'kvantummanager_*.ts'") + updateqm.input = TRANSLATIONS + updateqm.output = data/translations/translations/${QMAKE_FILE_BASE}.qm + updateqm.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN} -qm data/translations/translations/${QMAKE_FILE_BASE}.qm + updateqm.CONFIG += no_link target_predeps + QMAKE_EXTRA_COMPILERS += updateqm + } + + #VARIABLES + isEmpty(PREFIX) { + PREFIX = /usr + } + BINDIR = $$PREFIX/bin + DATADIR =$$PREFIX/share + + DEFINES += DATADIR=\\\"$$DATADIR\\\" + + #MAKE INSTALL + iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps + iconsvg.files += ../kvantumpreview/data/kvantum.svg + + desktop.path = $$DATADIR/applications + desktop.files += ./data/$${TARGET}.desktop + + trans.path = $$DATADIR/kvantummanager + trans.files += ./data/translations/translations + + target.path =$$BINDIR + INSTALLS += target desktop iconsvg trans +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/kvantummanager/main.cpp new/Kvantum-1.1.1/Kvantum/kvantummanager/main.cpp --- old/Kvantum-1.1.0/Kvantum/kvantummanager/main.cpp 2024-03-17 05:18:34.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/kvantummanager/main.cpp 2024-04-18 21:21:32.000000000 +0200 @@ -27,7 +27,7 @@ int main (int argc, char *argv[]) { const QString name = "Kvantum Manager"; - const QString version = "1.1.0"; + const QString version = "1.1.1"; QStringList options; for (int i = 1; i < argc; ++i) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/kvantumpreview/data/translations/kvantumpreview_de.ts new/Kvantum-1.1.1/Kvantum/kvantumpreview/data/translations/kvantumpreview_de.ts --- old/Kvantum-1.1.0/Kvantum/kvantumpreview/data/translations/kvantumpreview_de.ts 2024-03-17 05:18:34.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/kvantumpreview/data/translations/kvantumpreview_de.ts 2024-04-18 21:21:32.000000000 +0200 @@ -151,7 +151,7 @@ <message> <location filename="../../KvantumPreviewBase.ui" line="366"/> <source>Push button with menu</source> - <translation type="unfinished"></translation> + <translation>Druckknopf mit Menü</translation> </message> <message> <location filename="../../KvantumPreviewBase.ui" line="415"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/kvantumpreview/kvantumpreview.pro new/Kvantum-1.1.1/Kvantum/kvantumpreview/kvantumpreview.pro --- old/Kvantum-1.1.0/Kvantum/kvantumpreview/kvantumpreview.pro 1970-01-01 01:00:00.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/kvantumpreview/kvantumpreview.pro 2024-04-18 21:21:32.000000000 +0200 @@ -0,0 +1,55 @@ +lessThan(QT_MAJOR_VERSION, 5) { + error("Kvantum Preview needs at least Qt 5.15.0.") +} else { + lessThan(QT_MAJOR_VERSION, 6) { + lessThan(QT_MINOR_VERSION, 15) { + error("Kvantum Preview needs at least Qt 5.15.0.") + } + } else { + equals(QT_MAJOR_VERSION, 6) { + lessThan(QT_MINOR_VERSION, 2) { + error("Kvantum needs at least Qt 6.2.0.") + } + } else { + error("Kvantum cannot be compiled against this version of Qt.") + } + } +} + +TEMPLATE = app +TARGET = kvantumpreview +DEPENDPATH += . +INCLUDEPATH += . + +# Input +HEADERS += KvantumPreview.h +FORMS += KvantumPreviewBase.ui +SOURCES += main.cpp +RESOURCES += KvantumPreviewResources.qrc +QT += widgets +unix { + #TRANSLATIONS + exists($$[QT_INSTALL_BINS]/lrelease) { + TRANSLATIONS = $$system("find data/translations/ -name 'kvantumpreview_*.ts'") + updateqm.input = TRANSLATIONS + updateqm.output = data/translations/translations/${QMAKE_FILE_BASE}.qm + updateqm.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN} -qm data/translations/translations/${QMAKE_FILE_BASE}.qm + updateqm.CONFIG += no_link target_predeps + QMAKE_EXTRA_COMPILERS += updateqm + } + + #VARIABLES + isEmpty(PREFIX) { + PREFIX = /usr + } + BINDIR = $$PREFIX/bin + DATADIR =$$PREFIX/share + + DEFINES += DATADIR=\\\"$$DATADIR\\\" + + trans.path = $$DATADIR/kvantumpreview + trans.files += ./data/translations/translations + + target.path =$$BINDIR + INSTALLS += target trans +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/style/Kvantum.cpp new/Kvantum-1.1.1/Kvantum/style/Kvantum.cpp --- old/Kvantum-1.1.0/Kvantum/style/Kvantum.cpp 2024-03-17 05:18:34.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/style/Kvantum.cpp 2024-04-18 21:21:32.000000000 +0200 @@ -2744,11 +2744,15 @@ else suffix = "-normal"; } - bool animate(opacityTimer_ && !qstyleoption_cast<const QStyleOptionMenuItem*>(option)); - if (!animate && widget != nullptr // not QML or Libreoffice's unstyled menu - && elementExists("menu-"+ispec.element+suffix)) + bool animate(opacityTimer_); + if (qstyleoption_cast<const QStyleOptionMenuItem*>(option)) { - prefix = "menu-"; // make exception for menuitems + animate = false; // no animation for menuitems + if (widget != nullptr // not QML or Libreoffice's unstyled menu + && elementExists("menu-"+ispec.element+suffix)) + { + prefix = "menu-"; // make exception for menuitems + } } if (isWidgetInactive(widget)) suffix.append("-inactive"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/style/style.pro new/Kvantum-1.1.1/Kvantum/style/style.pro --- old/Kvantum-1.1.0/Kvantum/style/style.pro 1970-01-01 01:00:00.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/style/style.pro 2024-04-18 21:21:32.000000000 +0200 @@ -0,0 +1,106 @@ +CONFIG += qt \ + plugin \ + x11 \ + warn_on + +QT += svg + +greaterThan(QT_MAJOR_VERSION, 4) { + lessThan(QT_MAJOR_VERSION, 6) { + lessThan(QT_MINOR_VERSION, 15) { + error("Kvantum needs at least Qt 5.15.0.") + } + QT += x11extras + } else { + equals(QT_MAJOR_VERSION, 6) { + lessThan(QT_MINOR_VERSION, 2) { + error("Kvantum needs at least Qt 6.2.0.") + } else { + QT += widgets + } + } else { + error("Kvantum cannot be compiled against this version of Qt.") + } + } +} + +TARGET = kvantum +TEMPLATE = lib +CONFIG += c++11 + +VERSION = 0.1 + +greaterThan(QT_MAJOR_VERSION, 4) { + DEFINES += NO_KF + message("Compiling without KDE Frameworks...") + + SOURCES += Kvantum.cpp \ + eventFiltering.cpp \ + polishing.cpp \ + rendering.cpp \ + standardIcons.cpp \ + viewItems.cpp \ + KvantumPlugin.cpp \ + shortcuthandler.cpp \ + drag/windowmanager.cpp \ + blur/blurhelper.cpp \ + animation/animation.cpp \ + themeconfig/ThemeConfig.cpp + HEADERS += Kvantum.h \ + KvantumPlugin.h \ + shortcuthandler.h \ + drag/windowmanager.h \ + blur/blurhelper.h \ + animation/animation.h \ + themeconfig/ThemeConfig.h \ + themeconfig/specs.h + OTHER_FILES += kvantum.json +} else { + SOURCES += qt4/Kvantum4.cpp \ + qt4/KvantumPlugin4.cpp \ + qt4/shortcuthandler4.cpp \ + qt4/x11wmmove4.cpp \ + qt4/windowmanager4.cpp \ + qt4/blurhelper4.cpp \ + qt4/ThemeConfig4.cpp + HEADERS += qt4/Kvantum4.h \ + qt4/KvantumPlugin4.h \ + qt4/shortcuthandler4.h \ + qt4/x11wmmove4.h \ + qt4/windowmanager4.h \ + qt4/blurhelper4.h \ + qt4/ThemeConfig4.h \ + qt4/specs4.h +} + +RESOURCES += themeconfig/defaulttheme.qrc + +unix:!macx: LIBS += -lX11 + +unix { + #VARIABLES + isEmpty(PREFIX) { + PREFIX = /usr + } + COLORSDIR =$$PREFIX/share/kde4/apps/color-schemes + KFCOLORSDIR =$$PREFIX/share/color-schemes + DATADIR =$$PREFIX/share + + DEFINES += DATADIR=\\\"$$DATADIR\\\" + + #MAKE INSTALL + target.path = $$[QT_INSTALL_PLUGINS]/styles + colors.path = $$COLORSDIR + colors.files += ../color/Kvantum.colors + kfcolors.path = $$KFCOLORSDIR + kfcolors.files += ../color/Kvantum.colors + lessThan(QT_MAJOR_VERSION, 5) { + INSTALLS += target colors + } else { + lessThan(QT_MAJOR_VERSION, 6) { + INSTALLS += target + } else { + INSTALLS += target kfcolors + } + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/style/viewItems.cpp new/Kvantum-1.1.1/Kvantum/style/viewItems.cpp --- old/Kvantum-1.1.0/Kvantum/style/viewItems.cpp 2024-03-17 05:18:34.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/style/viewItems.cpp 2024-04-18 21:21:32.000000000 +0200 @@ -1,7 +1,7 @@ // Adapted from Qt -> "qcommonstyle.cpp" to control how view-items are drawn. /* - * Copyright (C) Pedram Pourang (aka Tsu Jan) 2021 <[email protected]> + * Copyright (C) Pedram Pourang (aka Tsu Jan) 2021-2024 <[email protected]> * * Kvantum is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -592,7 +592,12 @@ checkRect->size(), check); *pixmapRect = QStyle::alignedRect(opt->direction, opt->decorationAlignment, pixmapRect->size(), decoration); +#if (QT_VERSION >= QT_VERSION_CHECK(6,7,0)) + if (opt->showDecorationSelected + || emptyText) // WARNING: There is a backward incompatible change in Qt 6.7. +#else if (opt->showDecorationSelected) +#endif *textRect = display; // the text takes all available space else *textRect = QStyle::alignedRect(opt->direction, opt->displayAlignment, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Kvantum-1.1.0/Kvantum/themes/themes.pro new/Kvantum-1.1.1/Kvantum/themes/themes.pro --- old/Kvantum-1.1.0/Kvantum/themes/themes.pro 1970-01-01 01:00:00.000000000 +0100 +++ new/Kvantum-1.1.1/Kvantum/themes/themes.pro 2024-04-18 21:21:32.000000000 +0200 @@ -0,0 +1,18 @@ +TEMPLATE = aux + +unix { + #VARIABLES + isEmpty(PREFIX) { + PREFIX = /usr + } + KVDIR = $$PREFIX/share/Kvantum + KFCOLORSDIR = $$PREFIX/share/color-schemes + + #MAKE INSTALL + QMAKE_INSTALL_DIR = cp -f -R --no-preserve=mode + kv.path = $$KVDIR + kv.files += ./kvthemes/* + kfcolors.path = $$KFCOLORSDIR + kfcolors.files += ./colors/*.colors + INSTALLS += kv kfcolors +}
