rpms/compiz/devel kde4_decorator_build.patch, NONE, 1.1 compiz.spec, 1.188, 1.189

Leigh Scott leigh123linux at fedoraproject.org
Sat Jan 16 13:53:43 UTC 2010


Author: leigh123linux

Update of /cvs/pkgs/rpms/compiz/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13821

Modified Files:
	compiz.spec 
Added Files:
	kde4_decorator_build.patch 
Log Message:
* Sat Jan 16 2010 Leigh Scott <leigh123linux at googlemail.com> - 0.8.4-2
- add patch to fix kde decorator build error


kde4_decorator_build.patch:
 window.h |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

--- NEW FILE kde4_decorator_build.patch ---
From: Danny Baumann <dannybaumann at web.de>
Date: Wed, 9 Dec 2009 15:33:14 +0000 (+0100)
Subject: Don't pull in unstable API, it's not needed any longer.
X-Git-Url: http://gitweb.compiz.org/?p=compiz%2Fcore;a=commitdiff_plain;h=9cb2dffa18f711a8515e65612721900ba5cd22e3

Don't pull in unstable API, it's not needed any longer.
---

diff --git a/kde/window-decorator-kde4/window.h b/kde/window-decorator-kde4/window.h
index 40a5076..4422a15 100644
--- a/kde/window-decorator-kde4/window.h
+++ b/kde/window-decorator-kde4/window.h
@@ -50,7 +50,7 @@ namespace KWin
 
 namespace KWD
 {
-class Window: public QObject, public KDecorationBridgeUnstable {
+class Window: public QObject, public KDecorationBridge {
     Q_OBJECT public:
 
 	enum Type
@@ -108,10 +108,8 @@ class Window: public QObject, public KDecorationBridgeUnstable {
 	virtual QWidget *initialParentWidget (void) const;
 	virtual Qt::WFlags initialWFlags (void) const;
 	virtual void grabXServer (bool grab);
+	virtual bool compositingActive() const;
 
-	/* unstable API */
-	virtual bool compositingActive () const;
-	
 	virtual bool eventFilter (QObject* o, QEvent* e);
 
 	void handleActiveChange (void);


Index: compiz.spec
===================================================================
RCS file: /cvs/pkgs/rpms/compiz/devel/compiz.spec,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -p -r1.188 -r1.189
--- compiz.spec	16 Jan 2010 13:01:42 -0000	1.188
+++ compiz.spec	16 Jan 2010 13:53:43 -0000	1.189
@@ -13,7 +13,7 @@ URL:            http://www.go-compiz.org
 License:        GPLv2+ and LGPLv2+ and MIT
 Group:          User Interface/Desktops
 Version:        0.8.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 
 Summary:        OpenGL window and compositing manager
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -60,6 +60,7 @@ Patch107: compiz-0.8.4-wall.patch
 
 
 Patch127: unknown-key.patch
+Patch128: kde4_decorator_build.patch
 
 %description
 Compiz is one of the first OpenGL-accelerated compositing window
@@ -127,6 +128,7 @@ and other kde integration related stuff.
 #%patch110 -p1 -b .scale-key
 
 %patch127 -p1 -b .unknown-key
+%patch128 -p1 -b .kde4_decorator_build
 
 %build
 rm -rf $RPM_BUILD_ROOT
@@ -305,6 +307,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Jan 16 2010 Leigh Scott <leigh123linux at googlemail.com> - 0.8.4-2
+- add patch to fix kde decorator build error
+
 * Sat Jan 16 2010 Leigh Scott <leigh123linux at googlemail.com> - 0.8.4-1
 - update to 0.8.4
 - update compiz-0.8.2-wall patch



More information about the scm-commits mailing list