Hello community,
here is the log from the commit of package kdebase4-workspace for openSUSE:Factory
checked in at Mon Sep 19 17:28:07 CEST 2011.
--------
--- KDE/kdebase4-workspace/kdebase4-workspace.changes 2011-09-07 14:11:09.000000000 +0200
+++ /mounts/work_src_done/STABLE/kdebase4-workspace/kdebase4-workspace.changes 2011-09-17 12:41:12.000000000 +0200
@@ -1,0 +2,10 @@
+Fri Sep 16 20:38:31 UTC 2011 - ctrippe@opensuse.org
+
+- Report the correct height/width of the panel (bnc#653499)
+
+-------------------------------------------------------------------
+Wed Sep 14 22:38:25 UTC 2011 - javier@opensuse.org
+
+- Add upstream patch to improve kwin performance.
+
+-------------------------------------------------------------------
@@ -161 +171 @@
-Sun Apr 3 05:19:55 CET 2011 - gryffus@hkfree.org
+Sun Apr 3 05:19:55 CET 2011 - gryffus@hkfree.org
--- KDE/kdebase4-workspace/python-kdebase4.changes 2011-09-12 21:58:45.000000000 +0200
+++ /mounts/work_src_done/STABLE/kdebase4-workspace/python-kdebase4.changes 2011-09-17 12:44:56.000000000 +0200
@@ -1,0 +2,17 @@
+Sun Sep 17 12:43:10 UTC 2011 - toddrme2178@gmail.com
+
+- Removed check for obsolete openSUSE version (fix for RPMLINT warning)
+- Added py_requires macro (fix for RPMLINT warning)
+- Cleaned up spec file formatting
+
+-------------------------------------------------------------------
+Fri Sep 16 20:38:31 UTC 2011 - ctrippe@opensuse.org
+
+- Report the correct height/width of the panel (bnc#653499)
+
+-------------------------------------------------------------------
+Wed Sep 14 22:38:25 UTC 2011 - javier@opensuse.org
+
+- Add upstream patch to improve kwin performance.
+
+-------------------------------------------------------------------
@@ -161 +178 @@
-Sun Apr 3 05:19:55 CET 2011 - gryffus@hkfree.org
+Sun Apr 3 05:19:55 CET 2011 - gryffus@hkfree.org
Package does not exist at destination yet. Using Fallback KDE/kdebase4-workspace
Destination is kdebase4-workspace
calling whatdependson for head-i586
New:
----
kwin-performance.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdebase4-workspace.spec ++++++
--- /var/tmp/diff_new_pack.8HCT94/_old 2011-09-19 17:28:00.000000000 +0200
+++ /var/tmp/diff_new_pack.8HCT94/_new 2011-09-19 17:28:00.000000000 +0200
@@ -99,6 +99,7 @@
Patch125: pam-translate.diff
Patch201: plasma-notifications-kill-timer.diff
Patch211: disable-python-support.diff
+Patch212: kwin-performance.diff
Requires: kde4-kgreeter-plugins = %version
Requires: kdebase4-workspace-liboxygenstyle = %version
%kde4_runtime_requires
@@ -177,6 +178,7 @@
#%patch125
%patch201 -p1
%patch211
+%patch212 -p1
cp %{SOURCE3} kwin/effects/cube/data/cubecap.png
%build
++++++ python-kdebase4.spec ++++++
--- /var/tmp/diff_new_pack.8HCT94/_old 2011-09-19 17:28:00.000000000 +0200
+++ /var/tmp/diff_new_pack.8HCT94/_new 2011-09-19 17:28:00.000000000 +0200
@@ -15,37 +15,36 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-
-
Name: python-kdebase4
-BuildRequires: NetworkManager-devel bluez-devel libQtWebKit-devel libdbusmenu-qt-devel libkdepimlibs4-devel libqimageblitz-devel
-BuildRequires: libknotificationitem-devel libsmbclient-devel libxklavier-devel python-kde4-devel
-%if %suse_version > 1030
-BuildRequires: ConsoleKit-devel libpolkit-qt-devel
-%endif
-BuildRequires: libusb-devel
+Version: 4.7.1
+Release: 2
License: GPLv2+
-Group: System/GUI/KDE
Summary: Python bindings for KDE 4 desktop shell
Url: http://www.kde.org/
-Version: 4.7.1
-Release: 2
-Source0: kde-workspace-%version.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Group: System/GUI/KDE
+Source0: kde-workspace-%{version}.tar.bz2
+BuildRequires: ConsoleKit-devel
+BuildRequires: NetworkManager-devel
+BuildRequires: bluez-devel
+BuildRequires: libdbusmenu-qt-devel
+BuildRequires: libkdepimlibs4-devel
+BuildRequires: libknotificationitem-devel
+BuildRequires: libpolkit-qt-devel
+BuildRequires: libqimageblitz-devel
+BuildRequires: libsmbclient-devel
+BuildRequires: libusb-devel
+BuildRequires: python-kde4-devel
+BuildRequires: pkgconfig(libxklavier)
Requires: python-kde4 = %{version}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%py_requires
%description
Python bindings for Plasma, the KDE 4 desktop shell. These bindings
allow Plasmoids written in Python
-
-
-Authors:
---------
- The KDE Team
-
%prep
-%setup -q -n kde-workspace-%version
+%setup -q -n kde-workspace-%{version}
%build
%cmake_kde4 -d build
@@ -54,17 +53,17 @@
%install
cd build/plasma/generic/scriptengines/python
- %makeinstall
+ %make_install
%kde_post_install
%clean
- rm -rf $RPM_BUILD_ROOT
+ rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING README
-%py_sitedir/PyKDE4
-%_kde_share_dir/apps/plasma_scriptengine_python
-%_kde_share_dir/services/plasma-*.desktop
+%{py_sitedir}/PyKDE4
+%{_kde4_appsdir}/plasma_scriptengine_python
+%{_kde4_servicesdir}/plasma-*.desktop
%changelog
++++++ kwin-performance.diff ++++++
commit e142a1a142cbc8b87f021223e6abc947f456a7f9
Author: Thomas Lübking
Date: Thu Sep 8 22:20:35 2011 +0200
replace non-const QVector::operator[] accesses with const ::at() to avoid maaany deep vecor copies
diff --git a/kwin/effects.cpp b/kwin/effects.cpp
index e0c76cb..f5863fc0 100644
--- a/kwin/effects.cpp
+++ b/kwin/effects.cpp
@@ -200,7 +200,7 @@ void EffectsHandlerImpl::reconfigure()
void EffectsHandlerImpl::prePaintScreen(ScreenPrePaintData& data, int time)
{
if (current_paint_screen < loaded_effects.size()) {
- loaded_effects[current_paint_screen++].second->prePaintScreen(data, time);
+ loaded_effects.at(current_paint_screen++).second->prePaintScreen(data, time);
--current_paint_screen;
}
// no special final code
@@ -209,7 +209,7 @@ void EffectsHandlerImpl::prePaintScreen(ScreenPrePaintData& data, int time)
void EffectsHandlerImpl::paintScreen(int mask, QRegion region, ScreenPaintData& data)
{
if (current_paint_screen < loaded_effects.size()) {
- loaded_effects[current_paint_screen++].second->paintScreen(mask, region, data);
+ loaded_effects.at(current_paint_screen++).second->paintScreen(mask, region, data);
--current_paint_screen;
} else
scene->finalPaintScreen(mask, region, data);
@@ -218,7 +218,7 @@ void EffectsHandlerImpl::paintScreen(int mask, QRegion region, ScreenPaintData&
void EffectsHandlerImpl::postPaintScreen()
{
if (current_paint_screen < loaded_effects.size()) {
- loaded_effects[current_paint_screen++].second->postPaintScreen();
+ loaded_effects.at(current_paint_screen++).second->postPaintScreen();
--current_paint_screen;
}
// no special final code
@@ -227,7 +227,7 @@ void EffectsHandlerImpl::postPaintScreen()
void EffectsHandlerImpl::prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time)
{
if (current_paint_window < loaded_effects.size()) {
- loaded_effects[current_paint_window++].second->prePaintWindow(w, data, time);
+ loaded_effects.at(current_paint_window++).second->prePaintWindow(w, data, time);
--current_paint_window;
}
// no special final code
@@ -236,7 +236,7 @@ void EffectsHandlerImpl::prePaintWindow(EffectWindow* w, WindowPrePaintData& dat
void EffectsHandlerImpl::paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data)
{
if (current_paint_window < loaded_effects.size()) {
- loaded_effects[current_paint_window++].second->paintWindow(w, mask, region, data);
+ loaded_effects.at(current_paint_window++).second->paintWindow(w, mask, region, data);
--current_paint_window;
} else
scene->finalPaintWindow(static_cast(w), mask, region, data);
@@ -245,7 +245,7 @@ void EffectsHandlerImpl::paintWindow(EffectWindow* w, int mask, QRegion region,
void EffectsHandlerImpl::paintEffectFrame(EffectFrame* frame, QRegion region, double opacity, double frameOpacity)
{
if (current_paint_effectframe < loaded_effects.size()) {
- loaded_effects[current_paint_effectframe++].second->paintEffectFrame(frame, region, opacity, frameOpacity);
+ loaded_effects.at(current_paint_effectframe++).second->paintEffectFrame(frame, region, opacity, frameOpacity);
--current_paint_effectframe;
} else {
const EffectFrameImpl* frameImpl = static_cast(frame);
@@ -256,7 +256,7 @@ void EffectsHandlerImpl::paintEffectFrame(EffectFrame* frame, QRegion region, do
void EffectsHandlerImpl::postPaintWindow(EffectWindow* w)
{
if (current_paint_window < loaded_effects.size()) {
- loaded_effects[current_paint_window++].second->postPaintWindow(w);
+ loaded_effects.at(current_paint_window++).second->postPaintWindow(w);
--current_paint_window;
}
// no special final code
@@ -273,7 +273,7 @@ bool EffectsHandlerImpl::provides(Effect::Feature ef)
void EffectsHandlerImpl::drawWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data)
{
if (current_draw_window < loaded_effects.size()) {
- loaded_effects[current_draw_window++].second->drawWindow(w, mask, region, data);
+ loaded_effects.at(current_draw_window++).second->drawWindow(w, mask, region, data);
--current_draw_window;
} else
scene->finalDrawWindow(static_cast(w), mask, region, data);
@@ -282,7 +282,7 @@ void EffectsHandlerImpl::drawWindow(EffectWindow* w, int mask, QRegion region, W
void EffectsHandlerImpl::buildQuads(EffectWindow* w, WindowQuadList& quadList)
{
if (current_build_quads < loaded_effects.size()) {
- loaded_effects[current_build_quads++].second->buildQuads(w, quadList);
+ loaded_effects.at(current_build_quads++).second->buildQuads(w, quadList);
--current_build_quads;
}
}
++++++ plasma-panel-resize-hint.diff ++++++
--- /var/tmp/diff_new_pack.8HCT94/_old 2011-09-19 17:28:00.000000000 +0200
+++ /var/tmp/diff_new_pack.8HCT94/_new 2011-09-19 17:28:00.000000000 +0200
@@ -1,41 +1,41 @@
Index: plasma/desktop/shell/panelcontroller.cpp
===================================================================
---- plasma/desktop/shell/panelcontroller.cpp.orig
-+++ plasma/desktop/shell/panelcontroller.cpp
-@@ -654,6 +654,8 @@ void PanelController::mouseMoveFilter(QM
+--- plasma/desktop/shell/panelcontroller.cpp.orig 2010-10-05 13:39:06.000000000 +0200
++++ plasma/desktop/shell/panelcontroller.cpp 2010-11-21 20:47:03.782718456 +0100
+@@ -627,6 +627,8 @@ void PanelController::mouseMoveFilter(QM
newX = qMin(newX, screenGeom.left() + screenGeom.width()/3);
move(newX, pos().y());
resizeFrameHeight(geometry().left() - screenGeom.left());
-+ m_sizeTool->setText(i18n("Width: %1", screenGeom.left() + (mapToGlobal(event->pos()).x() -
-+ m_startDragControllerPos.x())));
++ m_sizeTool->setText(i18n("Width: %1", geometry().left() - screenGeom.left()));
++
break;
}
case Plasma::RightEdge: {
-@@ -662,6 +664,8 @@ void PanelController::mouseMoveFilter(QM
+@@ -635,6 +637,8 @@ void PanelController::mouseMoveFilter(QM
newX = qMax(newX, screenGeom.left() + 2*(screenGeom.width()/3) - width());
move(newX, pos().y());
resizeFrameHeight(screenGeom.right() - geometry().right());
-+ m_sizeTool->setText(i18n("Width: %1", screenGeom.right() - (mapToGlobal(event->pos()).x() -
-+ m_startDragControllerPos.x()) - width() + 1));
++ m_sizeTool->setText(i18n("Width: %1", screenGeom.right() - geometry().right()));
++
break;
}
case Plasma::TopEdge: {
-@@ -670,6 +674,9 @@ void PanelController::mouseMoveFilter(QM
+@@ -643,6 +647,9 @@ void PanelController::mouseMoveFilter(QM
newY = qMin(newY, screenGeom.top() + screenGeom.height()/3);
move(pos().x(), newY);
resizeFrameHeight(geometry().top() - screenGeom.top());
-+ m_sizeTool->setText(i18n("Height: %1", screenGeom.top() + (mapToGlobal(event->pos()).y() -
-+ m_startDragControllerPos.y())));
++ m_sizeTool->setText(i18n("Height: %1", geometry().top() - screenGeom.top()));
++
+
break;
}
case Plasma::BottomEdge:
-@@ -679,6 +686,8 @@ void PanelController::mouseMoveFilter(QM
+@@ -652,6 +659,8 @@ void PanelController::mouseMoveFilter(QM
newY = qMax(newY, screenGeom.top() + 2*(screenGeom.height()/3) - height());
move(pos().x(), newY);
resizeFrameHeight(screenGeom.bottom() - geometry().bottom());
-+ m_sizeTool->setText(i18n("Height: %1", screenGeom.bottom() - (mapToGlobal(event->pos()).y() -
-+ m_startDragControllerPos.y()) - height() + 1));
++ m_sizeTool->setText(i18n("Height: %1", screenGeom.bottom() - geometry().bottom()));
++
break;
}
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org