Hello community, here is the log from the commit of package qtcurve-kde4 for openSUSE:Factory checked in at Tue Sep 13 12:31:12 CEST 2011.
-------- --- KDE/qtcurve-kde4/qtcurve-kde4.changes 2011-05-16 16:46:11.000000000 +0200 +++ /mounts/work_src_done/STABLE/qtcurve-kde4/qtcurve-kde4.changes 2011-09-12 21:08:52.000000000 +0200 @@ -1,0 +2,11 @@ +Mon Sep 12 15:08:22 UTC 2011 - [email protected] + +- Added %kde_post_install macro (fix for RPMLINT warning) +- Cleaned up spec file formatting +- Update to 1.8.8 + 1. Disable window dragging from QGraphicsView. + 2. Respect "_kde_no_window_grab" property to disable window drag for certain widgets. + 3. Workaround dialog placement issues when using transparent dialogs. Attempt to place dialog in centre of its parent + - if it has one. This only works for dialogs, windows will still (unfortunately) be moved to top left :-( + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- QtCurve-KDE4-1.8.7.tar.bz2 New: ---- QtCurve-KDE4-1.8.8.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qtcurve-kde4.spec ++++++ --- /var/tmp/diff_new_pack.pIvDeF/_old 2011-09-13 12:31:06.000000000 +0200 +++ /var/tmp/diff_new_pack.pIvDeF/_new 2011-09-13 12:31:06.000000000 +0200 @@ -15,31 +15,24 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: qtcurve-kde4 -BuildRequires: kdebase4-workspace-devel libkde4-devel -Url: http://www.kde-look.org/content/show.php?content=40492 +Version: 1.8.8 +Release: 1 License: GPLv2+ -Group: System/GUI/KDE Summary: QtCurve style for KDE 4 -Version: 1.8.7 -Release: 1 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: http://www.kde-look.org/content/show.php?content=40492 +Group: System/GUI/KDE Source0: QtCurve-KDE4-%{version}.tar.bz2 +BuildRequires: kdebase4-workspace-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires %description This is the QtCurve style for KDE 4. QtCurve is available for both Gtk2+ and Qt3. - - -Authors: --------- - Craig Drummond <[email protected]> - %prep %setup -q -n QtCurve-KDE4-%{version} @@ -49,9 +42,10 @@ %install pushd build - %makeinstall + %make_install popd %find_lang qtcurve + %kde_post_install %post -p /sbin/ldconfig @@ -60,14 +54,14 @@ %files -f qtcurve.lang %defattr(-,root,root) %doc ChangeLog COPYING README TODO -/usr/%_lib/kde4/kstyle_qtcurve_config.so -/usr/%_lib/kde4/kwin_qtcurve_config.so -/usr/%_lib/kde4/kwin3_qtcurve.so -/usr/%_lib/kde4/plugins/styles -%_kde_share_dir/apps/QtCurve -%_kde_share_dir/apps/kstyle -%_kde_share_dir/apps/color-schemes/QtCurve.colors -%_kde_share_dir/apps/color-schemes/QtCurveAgua.colors -%_kde_share_dir/apps/kwin/qtcurve.desktop +%{_kde4_modulesdir}/kstyle_qtcurve_config.so +%{_kde4_modulesdir}/kwin_qtcurve_config.so +%{_kde4_modulesdir}/kwin3_qtcurve.so +%{_kde4_modulesdir}/plugins/styles +%{_kde4_appsdir}/QtCurve +%{_kde4_appsdir}/kstyle +%{_kde4_appsdir}/color-schemes/QtCurve.colors +%{_kde4_appsdir}/color-schemes/QtCurveAgua.colors +%{_kde4_appsdir}/kwin/qtcurve.desktop %changelog ++++++ QtCurve-KDE4-1.8.7.tar.bz2 -> QtCurve-KDE4-1.8.8.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QtCurve-KDE4-1.8.7/CMakeLists.txt new/QtCurve-KDE4-1.8.8/CMakeLists.txt --- old/QtCurve-KDE4-1.8.7/CMakeLists.txt 2011-04-06 21:22:59.000000000 +0200 +++ new/QtCurve-KDE4-1.8.8/CMakeLists.txt 2011-07-03 20:14:51.000000000 +0200 @@ -8,7 +8,7 @@ set(CPACK_SOURCE_GENERATOR "TBZ2") set(CPACK_PACKAGE_VERSION_MAJOR "1") set(CPACK_PACKAGE_VERSION_MINOR "8") -set(CPACK_PACKAGE_VERSION_PATCH "7") +set(CPACK_PACKAGE_VERSION_PATCH "8") set(CPACK_PACKAGE_CONTACT "Craig Drummond <[email protected]>") set(QTCURVE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}") set(QTCURVE_VERSION_FULL "${QTCURVE_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QtCurve-KDE4-1.8.7/ChangeLog new/QtCurve-KDE4-1.8.8/ChangeLog --- old/QtCurve-KDE4-1.8.7/ChangeLog 2011-04-06 21:22:59.000000000 +0200 +++ new/QtCurve-KDE4-1.8.8/ChangeLog 2011-07-03 20:14:51.000000000 +0200 @@ -1,3 +1,13 @@ +1.8.8 +----- +1. Disable window dragging from QGraphicsView. +2. Respect "_kde_no_window_grab" property to disable window drag for + certain widgets. +3. Workaround dialog placement issues when using transparent dialogs. + Attempt to place dialog in centre of its parent - if it has one. + This only works for dialogs, windows will still (unfortunately) + be moved to top left :-( + 1.8.7 ----- 1. Fix QtDesigner crash when using transparent background - thanks to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QtCurve-KDE4-1.8.7/style/qtcurve.cpp new/QtCurve-KDE4-1.8.8/style/qtcurve.cpp --- old/QtCurve-KDE4-1.8.7/style/qtcurve.cpp 2011-04-06 21:22:59.000000000 +0200 +++ new/QtCurve-KDE4-1.8.8/style/qtcurve.cpp 2011-07-03 20:14:51.000000000 +0200 @@ -1794,7 +1794,22 @@ // WORKAROUND: somehow the window gets repositioned to <1,<1 and thus always appears in the upper left corner // we just move it faaaaar away so kwin will take back control and apply smart placement or whatever if(!widget->isVisible()) - widget->move(900000, 900000); + { + QWidget *pw=Qt::Dialog==(widget->windowFlags() & Qt::WindowType_Mask) + ? widget->parentWidget() + ? widget->parentWidget()->topLevelWidget() + : QApplication::activeWindow() + : 0L; + + if(pw && pw!=widget) + { + widget->adjustSize(); + widget->move(pw->pos()+QPoint((pw->size().width()-widget->size().width())/2, + (pw->size().height()-widget->size().height())/2)); + } + else + widget->move(900000, 900000); + } // PE_Widget is not called for transparent widgets, so need event filter here... Utils::addEventFilter(widget, this); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QtCurve-KDE4-1.8.7/style/windowmanager.cpp new/QtCurve-KDE4-1.8.8/style/windowmanager.cpp --- old/QtCurve-KDE4-1.8.7/style/windowmanager.cpp 2011-04-06 21:22:59.000000000 +0200 +++ new/QtCurve-KDE4-1.8.8/style/windowmanager.cpp 2011-07-03 20:14:51.000000000 +0200 @@ -393,8 +393,8 @@ if( QTreeView* treeView = qobject_cast<QTreeView*>( widget->parentWidget() ) ) { if( treeView->viewport() == widget && !isBlackListed( treeView ) ) return true; } - if( QGraphicsView* graphicsView = qobject_cast<QGraphicsView*>( widget->parentWidget() ) ) - { if( graphicsView->viewport() == widget && !isBlackListed( graphicsView ) ) return true; } + //if( QGraphicsView* graphicsView = qobject_cast<QGraphicsView*>( widget->parentWidget() ) ) + //{ if( graphicsView->viewport() == widget && !isBlackListed( graphicsView ) ) return true; } /* catch labels in status bars. @@ -421,6 +421,10 @@ bool WindowManager::isBlackListed( QWidget* widget ) { + // check against noAnimations propery + QVariant propertyValue( widget->property( "_kde_no_window_grab" ) ); + if( propertyValue.isValid() && propertyValue.toBool() ) return true; + // list-based blacklisted widgets QString appName( qApp->applicationName() ); foreach( const ExceptionId& id, _blackList ) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
