From owner-freebsd-gnome@FreeBSD.ORG Wed Nov 24 21:21:44 2010 Return-Path: Delivered-To: freebsd-gnome@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 9A89B1065670; Wed, 24 Nov 2010 21:21:43 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-gnome@FreeBSD.org Date: Wed, 24 Nov 2010 16:21:33 -0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011241621.35784.jkim@FreeBSD.org> Cc: AN , Daichi GOTO , rnoland@FreeBSD.org Subject: [PATCH] Fix Compiz and Emerald with GTK+ 2.22 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 21:21:44 -0000 I found that gtk-window-decorator and emerald are seriously broken since GTK+ 2.22. It seems Gnome people have deprecated GdkDrawable in favor of Cairo from 2.22. However, it is pretty rot now, it seems. :-( So, I did some research and found solutions. Patch for x11-wm/compiz: http://people.freebsd.org/~jkim/compiz.diff This patch is essentially the following upstream commit: http://git.compiz.org/compiz/core/commit/?id=64ee56f3619a537f29cfe34a37678b947e1532fd Patch for x11-wm/emerald: http://people.freebsd.org/~jkim/emerald.diff This patch removes GDK_DIABLE_DEPRECATED definition from emerald.h, which totally broke gdk_draw_drawable() and stuff. Also, it includes the following upstream commits: http://git.compiz.org/fusion/decorators/emerald/commit/?id=f3070c32ba428935ef2c69888d0194e2ae31e777 http://git.compiz.org/fusion/decorators/emerald/commit/?id=bc53f574ccc06a5366ccb8c8f0fa558836e68d00 Cheers, Jung-uk Kim