From 3b9aca7d65b301803999c56bd585f8cc4ce2ea00e3ac67f094c6be1fcc1cc881 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 8 Nov 2015 19:33:30 +0000 Subject: [PATCH 1/3] 5.4.3 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/breeze?expand=0&rev=73 --- breeze-5.4.2.tar.xz | 3 --- breeze-5.4.3.tar.xz | 3 +++ breeze.changes | 7 +++++++ breeze.spec | 2 +- breeze4-style.changes | 7 +++++++ breeze4-style.spec | 2 +- 6 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 breeze-5.4.2.tar.xz create mode 100644 breeze-5.4.3.tar.xz diff --git a/breeze-5.4.2.tar.xz b/breeze-5.4.2.tar.xz deleted file mode 100644 index 827765d..0000000 --- a/breeze-5.4.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d2861867f133006ac7e1644c9b932a0f8cdf79ba912898f565d301a362e859e -size 36567028 diff --git a/breeze-5.4.3.tar.xz b/breeze-5.4.3.tar.xz new file mode 100644 index 0000000..9d841ac --- /dev/null +++ b/breeze-5.4.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc89d5edcc8c3c13263d1b1759f0f8400ea79c76df0eeafcce91d462d4cf93fa +size 36568668 diff --git a/breeze.changes b/breeze.changes index 37f29d0..082a479 100644 --- a/breeze.changes +++ b/breeze.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Nov 8 18:09:42 UTC 2015 - hrvoje.senjan@gmail.com + +- Update to 5.4.3: + * For more details please see: + https://www.kde.org/announcements/plasma-5.4.3.php + ------------------------------------------------------------------- Sun Oct 18 14:50:37 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/breeze.spec b/breeze.spec index 8de70ee..8ff9e62 100644 --- a/breeze.spec +++ b/breeze.spec @@ -18,7 +18,7 @@ %bcond_without lang Name: breeze -Version: 5.4.2 +Version: 5.4.3 Release: 0 BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= 0.0.12 diff --git a/breeze4-style.changes b/breeze4-style.changes index 967969e..c44aa0a 100644 --- a/breeze4-style.changes +++ b/breeze4-style.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Nov 8 18:09:42 UTC 2015 - hrvoje.senjan@gmail.com + +- Update to 5.4.3: + * For more details please see: + https://www.kde.org/announcements/plasma-5.4.3.php + ------------------------------------------------------------------- Sat Oct 10 13:52:44 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/breeze4-style.spec b/breeze4-style.spec index c885c8f..d30704e 100644 --- a/breeze4-style.spec +++ b/breeze4-style.spec @@ -17,7 +17,7 @@ Name: breeze4-style -Version: 5.4.2 +Version: 5.4.3 Release: 0 BuildRequires: automoc4 BuildRequires: cmake >= 2.8.12 From 23ff378ca160958f908d0cd8afc70bdfc2332a1ae6dc8c9d5f939310e06b64f1 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 8 Nov 2015 19:45:56 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/breeze?expand=0&rev=74 --- ...s-directories-of-the-dark-icon-theme.patch | 22 --- ...otInfo-to-initiate-wm-move-operation.patch | 163 ------------------ breeze.changes | 3 + breeze.spec | 8 +- breeze4-style.changes | 1 + breeze4-style.spec | 3 - 6 files changed, 5 insertions(+), 195 deletions(-) delete mode 100644 Install-emotes-and-mimtetypes-directories-of-the-dark-icon-theme.patch delete mode 100644 Use-NETRootInfo-to-initiate-wm-move-operation.patch diff --git a/Install-emotes-and-mimtetypes-directories-of-the-dark-icon-theme.patch b/Install-emotes-and-mimtetypes-directories-of-the-dark-icon-theme.patch deleted file mode 100644 index 2e08f76..0000000 --- a/Install-emotes-and-mimtetypes-directories-of-the-dark-icon-theme.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: Harald Sitter -Date: Mon, 05 Oct 2015 13:14:00 +0000 -Subject: Install emotes and mimtetypes directories of the dark icon theme -X-Git-Url: http://quickgit.kde.org/?p=breeze.git&a=commitdiff&h=12d8b9a9907b28ba1cbaffc380f4eeae4de9774d ---- -Install emotes and mimtetypes directories of the dark icon theme - -CCMAIL: kainz.a@gmail.com ---- - - ---- a/icons-dark/CMakeLists.txt -+++ b/icons-dark/CMakeLists.txt -@@ -11,7 +11,7 @@ - - ########### install files ############### - --set( breeze_icon_dark_dirs actions apps categories devices emblems places status) -+set( breeze_icon_dark_dirs actions apps categories devices emblems emotes mimetypes places status) - - - set(BREEZE_INSTALL_DIR ${ICON_INSTALL_DIR}/breeze-dark) diff --git a/Use-NETRootInfo-to-initiate-wm-move-operation.patch b/Use-NETRootInfo-to-initiate-wm-move-operation.patch deleted file mode 100644 index 00b3449..0000000 --- a/Use-NETRootInfo-to-initiate-wm-move-operation.patch +++ /dev/null @@ -1,163 +0,0 @@ -From: David Rosca -Date: Thu, 08 Oct 2015 18:46:45 +0000 -Subject: Use NETRootInfo to initiate wm move operation -X-Git-Url: http://quickgit.kde.org/?p=breeze.git&a=commitdiff&h=ca72ca904f7fb8872667322bf5143e2b81eaf2f3 ---- -Use NETRootInfo to initiate wm move operation - -Also remove hack that messes with cursor position, which results in -window sometimes rendered in wrong position for a moment after starting -window move. - -REVIEW: 125522 -BUG: 353749 ---- - - ---- a/kstyle/breezewindowmanager.cpp -+++ b/kstyle/breezewindowmanager.cpp -@@ -83,6 +83,14 @@ - - #if BREEZE_HAVE_X11 - #include -+#include -+ -+#if BREEZE_USE_KDE4 -+#include -+#else -+#include -+#endif -+ - #endif - - namespace Breeze -@@ -139,11 +147,8 @@ - - //* application-wise event. - /** needed to catch end of XMoveResize events */ -- bool appMouseEvent( QObject*, QEvent* event ) -- { -- -- // store target window (see later) -- QWidget* window( _parent->_target.data()->window() ); -+ bool appMouseEvent( QObject*, QEvent* ) -+ { - - /* - post some mouseRelease event to the target, in order to counter balance -@@ -151,19 +156,6 @@ - */ - QMouseEvent mouseEvent( QEvent::MouseButtonRelease, _parent->_dragPoint, Qt::LeftButton, Qt::LeftButton, Qt::NoModifier ); - qApp->sendEvent( _parent->_target.data(), &mouseEvent ); -- -- if( event->type() == QEvent::MouseMove ) -- { -- /* -- HACK: quickly move the main cursor out of the window and back -- this is needed to get the focus right for the window children -- the origin of this issue is unknown at the moment -- */ -- const QPoint cursor = QCursor::pos(); -- QCursor::setPos(window->mapToGlobal( window->rect().topRight() ) + QPoint(1, 0) ); -- QCursor::setPos(cursor); -- -- } - - return false; - -@@ -194,19 +186,6 @@ - _appEventFilter = new AppEventFilter( this ); - qApp->installEventFilter( _appEventFilter ); - -- #if BREEZE_HAVE_X11 -- _moveResizeAtom = 0; -- if( Helper::isX11() ) -- { -- // create move-resize atom -- xcb_connection_t* connection( Helper::connection() ); -- const QString atomName( QStringLiteral( "_NET_WM_MOVERESIZE" ) ); -- xcb_intern_atom_cookie_t cookie( xcb_intern_atom( connection, false, atomName.size(), qPrintable( atomName ) ) ); -- ScopedPointer reply( xcb_intern_atom_reply( connection, cookie, nullptr) ); -- _moveResizeAtom = reply ? reply->atom:0; -- } -- #endif -- - } - - //_____________________________________________________________ -@@ -755,43 +734,15 @@ - const qreal dpiRatio = 1; - #endif - -- // from bespin/virtuality -- xcb_button_release_event_t releaseEvent; -- memset(&releaseEvent, 0, sizeof(releaseEvent)); -- -- releaseEvent.response_type = XCB_BUTTON_RELEASE; -- releaseEvent.event = window; -- releaseEvent.child = XCB_WINDOW_NONE; -- releaseEvent.root = QX11Info::appRootWindow(); -- releaseEvent.event_x = _dragPoint.x()*dpiRatio; -- releaseEvent.event_y = _dragPoint.y()*dpiRatio; -- releaseEvent.root_x = position.x()*dpiRatio; -- releaseEvent.root_y = position.y()*dpiRatio; -- releaseEvent.detail = XCB_BUTTON_INDEX_1; -- releaseEvent.state = XCB_BUTTON_MASK_1; -- releaseEvent.time = XCB_CURRENT_TIME; -- releaseEvent.same_screen = true; -- xcb_send_event( connection, false, window, XCB_EVENT_MASK_BUTTON_RELEASE, reinterpret_cast(&releaseEvent)); -+ #if BREEZE_USE_KDE4 -+ Display* net_connection = QX11Info::display(); -+ #else -+ xcb_connection_t* net_connection = connection; -+ #endif - - xcb_ungrab_pointer( connection, XCB_TIME_CURRENT_TIME ); -- -- // from QtCurve -- xcb_client_message_event_t clientMessageEvent; -- memset(&clientMessageEvent, 0, sizeof(clientMessageEvent)); -- -- clientMessageEvent.response_type = XCB_CLIENT_MESSAGE; -- clientMessageEvent.format = 32; -- clientMessageEvent.window = window; -- clientMessageEvent.type = _moveResizeAtom; -- clientMessageEvent.data.data32[0] = position.x()*dpiRatio; -- clientMessageEvent.data.data32[1] = position.y()*dpiRatio; -- clientMessageEvent.data.data32[2] = 8; // NET::Move -- clientMessageEvent.data.data32[3] = XCB_KEY_BUT_MASK_BUTTON_1; -- xcb_send_event( connection, false, QX11Info::appRootWindow(), -- XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | -- XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT, reinterpret_cast(&clientMessageEvent) ); -- -- xcb_flush( connection ); -+ NETRootInfo rootInfo( net_connection, NET::WMMoveResize ); -+ rootInfo.moveResizeRequest( window, position.x() * dpiRatio, position.y() * dpiRatio, NET::Move ); - - #else - - ---- a/kstyle/breezewindowmanager.h -+++ b/kstyle/breezewindowmanager.h -@@ -31,10 +31,6 @@ - #include - #include - --#if BREEZE_HAVE_X11 --#include --#endif -- - namespace Breeze - { - -@@ -260,10 +256,6 @@ - //* application event filter - QObject* _appEventFilter; - -- #if BREEZE_HAVE_X11 -- xcb_atom_t _moveResizeAtom; -- #endif -- - //* allow access of all private members to the app event filter - friend class AppEventFilter; - diff --git a/breeze.changes b/breeze.changes index 082a479..525d7e9 100644 --- a/breeze.changes +++ b/breeze.changes @@ -4,6 +4,9 @@ Sun Nov 8 18:09:42 UTC 2015 - hrvoje.senjan@gmail.com - Update to 5.4.3: * For more details please see: https://www.kde.org/announcements/plasma-5.4.3.php +- Drop Use-NETRootInfo-to-initiate-wm-move-operation.patch and + Install-emotes-and-mimtetypes-directories-of-the-dark-icon-theme.patch, + upstreamed ------------------------------------------------------------------- Sun Oct 18 14:50:37 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/breeze.spec b/breeze.spec index 8ff9e62..845c9ce 100644 --- a/breeze.spec +++ b/breeze.spec @@ -50,12 +50,8 @@ Url: http://www.kde.org #Source: http://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz Source99: %{name}-rpmlintrc -# PATCH-FIX-UPSTREAM Use-NETRootInfo-to-initiate-wm-move-operation.patch -Patch0: Use-NETRootInfo-to-initiate-wm-move-operation.patch -# PATCH-FIX-UPSTREAM Install-emotes-and-mimtetypes-directories-of-the-dark-icon-theme.patch -Patch1: Install-emotes-and-mimtetypes-directories-of-the-dark-icon-theme.patch # PATCH-FIX-OPENSUSE set-breezyGTK-as-default-gtk-theme.patch -Patch2: set-breezyGTK-as-default-gtk-theme.patch +Patch0: set-breezyGTK-as-default-gtk-theme.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -116,8 +112,6 @@ This package provides Breeze KWin decoration. %prep %setup -q %patch0 -p1 -%patch1 -p1 -%patch2 -p1 %build %cmake_kf5 -d build -- -DBUILD_po=OFF -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 diff --git a/breeze4-style.changes b/breeze4-style.changes index c44aa0a..4720f7d 100644 --- a/breeze4-style.changes +++ b/breeze4-style.changes @@ -4,6 +4,7 @@ Sun Nov 8 18:09:42 UTC 2015 - hrvoje.senjan@gmail.com - Update to 5.4.3: * For more details please see: https://www.kde.org/announcements/plasma-5.4.3.php +. Drop Use-NETRootInfo-to-initiate-wm-move-operation.patch, upstreamed ------------------------------------------------------------------- Sat Oct 10 13:52:44 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/breeze4-style.spec b/breeze4-style.spec index d30704e..4843cf4 100644 --- a/breeze4-style.spec +++ b/breeze4-style.spec @@ -31,8 +31,6 @@ Group: System/GUI/KDE Url: http://www.kde.org #Source: http://download.kde.org/stable/plasma/%{version}/breeze-%{version}.tar.xz Source: breeze-%{version}.tar.xz -# PATCH-FIX-UPSTREAM Use-NETRootInfo-to-initiate-wm-move-operation.patch -Patch0: Use-NETRootInfo-to-initiate-wm-move-operation.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -41,7 +39,6 @@ This package contains kde4 backport of new default Plasma 5 style. %prep %setup -q -n breeze-%{version} -%patch0 -p1 %build %cmake_kde4 -d build -- -DBUILD_po=OFF -DUSE_KDE4=ON From 9fd0a79839145000efbeb824539831384af85602cb703a0037d669867db61517 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 15 Nov 2015 16:43:45 +0000 Subject: [PATCH 3/3] changelogs OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/breeze?expand=0&rev=75 --- breeze.changes | 2 +- breeze4-style.changes | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/breeze.changes b/breeze.changes index 525d7e9..09a9293 100644 --- a/breeze.changes +++ b/breeze.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Sun Nov 8 18:09:42 UTC 2015 - hrvoje.senjan@gmail.com -- Update to 5.4.3: +- Update to 5.4.3 (boo#955068): * For more details please see: https://www.kde.org/announcements/plasma-5.4.3.php - Drop Use-NETRootInfo-to-initiate-wm-move-operation.patch and diff --git a/breeze4-style.changes b/breeze4-style.changes index 4720f7d..fe98b36 100644 --- a/breeze4-style.changes +++ b/breeze4-style.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Sun Nov 8 18:09:42 UTC 2015 - hrvoje.senjan@gmail.com -- Update to 5.4.3: +- Update to 5.4.3 (boo#955068): * For more details please see: https://www.kde.org/announcements/plasma-5.4.3.php . Drop Use-NETRootInfo-to-initiate-wm-move-operation.patch, upstreamed