Hrvoje Senjan 2014-09-24 20:25:35 +00:00 committed by Git OBS Bridge
parent d78b14c077
commit 2f7e687231
5 changed files with 18 additions and 49 deletions

View File

@ -1,42 +0,0 @@
diff --git a/kstyle/oxygenshadowhelper.cpp b/kstyle/oxygenshadowhelper.cpp
index b15ebcb..0821625 100644
--- a/kstyle/oxygenshadowhelper.cpp
+++ b/kstyle/oxygenshadowhelper.cpp
@@ -63,14 +63,6 @@ namespace Oxygen
ShadowHelper::~ShadowHelper( void )
{
- #if HAVE_X11
- if( _helper.isX11() )
- {
- foreach( const uint32_t& value, _pixmaps ) xcb_free_pixmap( _helper.xcbConnection(), value );
- foreach( const uint32_t& value, _dockPixmaps ) xcb_free_pixmap( _helper.xcbConnection(), value );
- }
- #endif
-
delete _shadowCache;
}
@@ -78,14 +70,6 @@ namespace Oxygen
//______________________________________________
void ShadowHelper::reset( void )
{
- #if HAVE_X11
- if( _helper.isX11() )
- {
- // round pixmaps
- foreach( const uint32_t& value, _pixmaps ) xcb_free_pixmap( _helper.xcbConnection(), value );
- foreach( const uint32_t& value, _dockPixmaps ) xcb_free_pixmap( _helper.xcbConnection(), value );
- }
- #endif
_pixmaps.clear();
_dockPixmaps.clear();
@@ -321,6 +305,7 @@ namespace Oxygen
// create X11 pixmap
xcb_pixmap_t pixmap = xcb_generate_id( _helper.xcbConnection() );
xcb_create_pixmap( _helper.xcbConnection(), 32, pixmap, QX11Info::appRootWindow(), width, height );
+ //xcb_free_pixmap( _helper.xcbConnection(), pixmap );
// create gc
if( !_gc )

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16e1c724b29f32e931cfecdc4844743f2c939b0d11385c39e088599a96d2622a
size 3015404

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c960e02b3509c46cb2fe892ba92cc4c4a9acd2a171abf502012a94e1c37002e
size 4225760

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Sep 24 20:20:57 UTC 2014 - hrvoje.senjan@gmail.com
- Update to 5.0.95~git20140924 (rbc60753):
* Streamline of the style
* New Oxygen Look-and-feel package
- Drop crasher.diff, obsoleted by the update
- Swap libxcb-devel BuildRequires with pkgconfig(x11-xcb) and
pkgconfig(xcb)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 10 21:41:30 UTC 2014 - hrvoje.senjan@gmail.com Sun Aug 10 21:41:30 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -19,15 +19,15 @@
%define kwin_deco 1 %define kwin_deco 1
Name: oxygen5 Name: oxygen5
Version: 5.0.1 Version: 5.0.95~git20140924
Release: 0 Release: 0
Summary: Oxygen style, KWin decoration, cursors and sounds Summary: Oxygen style, KWin decoration, cursors and sounds
License: GPL-2.0+ License: GPL-2.0+
Group: System/GUI/KDE Group: System/GUI/KDE
Url: http://www.kde.org Url: http://www.kde.org
Source: http://download.kde.org/stable/plasma/%{version}/oxygen-%{version}.tar.xz Source: http://download.kde.org/stable/plasma/%{version}/oxygen-%{version}.tar.xz
Source: oxygen-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
Patch1: crasher.diff
BuildRequires: frameworkintegration-devel BuildRequires: frameworkintegration-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: kcompletion-devel BuildRequires: kcompletion-devel
@ -41,7 +41,6 @@ BuildRequires: kwindowsystem-devel
%if %kwin_deco %if %kwin_deco
BuildRequires: libkdecorations-devel BuildRequires: libkdecorations-devel
%endif %endif
BuildRequires: libxcb-devel
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(Qt5Core) >= 5.3.0 BuildRequires: pkgconfig(Qt5Core) >= 5.3.0
@ -49,6 +48,8 @@ BuildRequires: pkgconfig(Qt5DBus) >= 5.3.0
BuildRequires: pkgconfig(Qt5Test) >= 5.3.0 BuildRequires: pkgconfig(Qt5Test) >= 5.3.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.3.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.3.0
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.3.0 BuildRequires: pkgconfig(Qt5X11Extras) >= 5.3.0
BuildRequires: pkgconfig(x11-xcb)
BuildRequires: pkgconfig(xcb)
Requires: oxygen5-decoration Requires: oxygen5-decoration
Requires: oxygen5-style Requires: oxygen5-style
Recommends: oxygen5-sounds Recommends: oxygen5-sounds
@ -117,7 +118,6 @@ This package contains the libraries Oxygen's KWin decoration.
%prep %prep
%setup -q -n oxygen-%{version} %setup -q -n oxygen-%{version}
%patch1 -p1
sed -i '/^ecm_optional_add_subdirectory(po)/d' CMakeLists.txt sed -i '/^ecm_optional_add_subdirectory(po)/d' CMakeLists.txt
%build %build
@ -151,6 +151,7 @@ sed -i '/^ecm_optional_add_subdirectory(po)/d' CMakeLists.txt
%{_kf5_plugindir}/kstyle_oxygen_config.so %{_kf5_plugindir}/kstyle_oxygen_config.so
%{_kf5_plugindir}/styles/ %{_kf5_plugindir}/styles/
%{_kf5_sharedir}/kstyle/ %{_kf5_sharedir}/kstyle/
%{_kf5_plasmadir}/
%if %kwin_deco %if %kwin_deco
%files decoration %files decoration