Hello community,
here is the log from the commit of package compiz for openSUSE:Factory
checked in at Sat Aug 22 03:32:28 CEST 2009.
--------
--- compiz/compiz.changes 2009-04-17 19:04:50.000000000 +0200
+++ compiz/compiz.changes 2009-08-21 17:25:53.000000000 +0200
@@ -1,0 +2,15 @@
+Wed Aug 19 15:33:17 CEST 2009 - dominique-obs@leuenberger.net
+
+- The -devel package requires startup-notification-devel in plus.
+- BuildRequire libgnome-window-settings-devel on openSUSE 11.2
+ and newer.
+- Add compiz-metacity-private.patch, fixes bnc#481519
+- Add gnome-desktop-devel BuildRequires
+
+-------------------------------------------------------------------
+Fri May 8 16:51:48 EDT 2009 - davidr@novell.com
+
+- Fix texture allocation that caused compiz to crash when
+ using some applications (e.g. googleearth) (bnc#502416)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
compiz-metacity-private.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ compiz.spec ++++++
--- /var/tmp/diff_new_pack.retkMv/_old 2009-08-22 03:29:09.000000000 +0200
+++ /var/tmp/diff_new_pack.retkMv/_new 2009-08-22 03:29:09.000000000 +0200
@@ -20,6 +20,7 @@
Name: compiz
BuildRequires: Mesa-devel freeglut-devel fuse-devel gcc-c++ gconf2-devel gtk2-devel intltool kdebase3-devel kdelibs3-devel librsvg-devel libwnck-devel metacity pango-devel perl-XML-Parser update-desktop-files xorg-x11-devel
+BuildRequires: gnome-desktop-devel
%if "%_repository" == "SUSE_Linux_10.1" || "%_repository" == "SLE_10"
BuildRequires: xorg-x11-compat70-devel
%endif
@@ -34,9 +35,10 @@
%endif
%if 0%{suse_version} >= 01120
BuildRequires: libgnomeui-devel
+BuildRequires: libgnome-window-settings-devel
%endif
Url: http://www.compiz.org
-License: GPL v2 or later; LGPL v2.1 or later; X11/MIT
+License: GPL v2 or later ; LGPL v2.1 or later ; MIT License (or similar)
Group: System/GUI/Other
PreReq: %fillup_prereq
%if 0%{suse_version} <= 01100
@@ -44,10 +46,10 @@
%endif
AutoReqProv: on
Version: 0.7.8
-Release: 37
+Release: 38
Requires: compiz-decorator = %{version} compiz-branding = %{version}
Provides: windowmanager
-Summary: OpenGL window and compositing manager.
+Summary: OpenGL window and compositing manager
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64
# To be nuked: MesaLib, patch60 $mesagl
@@ -77,6 +79,8 @@
Patch64: bug-475349-moveInputFocusToOtherWindow.diff
Patch65: compiz-dmx-ignore-glx.diff
Patch80: compiz-0.7.8-NOMAD.diff
+# PATCH-FIX-UPSTREAM compiz-metacity-private.patch bnc#481519 dominique-obs@leuenberger.net -- Fix missing window decoration with newer metacity private (taken from upstream git)
+Patch81: compiz-metacity-private.patch
%if "%(xft-config --prefix)" == "/usr"
%define xorg_prefix %_prefix
%else
@@ -98,13 +102,8 @@
to run well on most graphics hardware.
-
-Authors:
---------
- David Reveman
From 9fddbce130442354cdcc7d575c0c747e2c1c3a0f Mon Sep 17 00:00:00 2001 From: Christopher Williams
Date: Wed, 11 Feb 2009 08:23:11 +0000 Subject: Fix compatibility with newer libmetacity-private versions.
GtkStyle is colormap specific, so we can't use a new colormap each time we create a pixmap. --- diff --git a/gtk/window-decorator/gtk-window-decorator.c b/gtk/window-decorator/gtk-window-decorator.c index 5b14eb6..0ab118c 100644 --- a/gtk/window-decorator/gtk-window-decorator.c +++ b/gtk/window-decorator/gtk-window-decorator.c @@ -637,32 +637,10 @@ static GdkPixmap * create_pixmap (int w, int h) { - GdkPixmap *pixmap; - GdkVisual *visual; - GdkColormap *colormap; - - visual = gdk_visual_get_best_with_depth (32); - if (!visual) - return NULL; - if (w == 0 || h ==0) abort (); - pixmap = gdk_pixmap_new (NULL, w, h, 32); - if (!pixmap) - return NULL; - - colormap = gdk_colormap_new (visual, FALSE); - if (!colormap) - { - g_object_unref (G_OBJECT (pixmap)); - return NULL; - } - - gdk_drawable_set_colormap (GDK_DRAWABLE (pixmap), colormap); - g_object_unref (G_OBJECT (colormap)); - - return pixmap; + return gdk_pixmap_new (GDK_DRAWABLE (style_window->window), w, h, 32); } #define CORNER_TOPLEFT (1 << 0) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org