summaryrefslogtreecommitdiff
path: root/extra/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-02 00:01:22 +0000
committerroot <root@rshg054.dnsready.net>2012-05-02 00:01:22 +0000
commitdefe74c9cba07c321ad2869d8f6872e64a167324 (patch)
tree22377a98049a863983b9a28d9d79fc737f665cc3 /extra/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch
parent752015395fc8b95cc4a86b68189cb747fe9a8499 (diff)
Wed May 2 00:01:22 UTC 2012
Diffstat (limited to 'extra/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch')
-rw-r--r--extra/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/extra/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch b/extra/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch
new file mode 100644
index 000000000..5054dd2bd
--- /dev/null
+++ b/extra/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch
@@ -0,0 +1,42 @@
+From: Daniel Drake <dsd@laptop.org>
+
+Fix build against metacity-2.34.2. The port to GSettings
+removed these constants from the codebase.
+
+Index: gnome-python-desktop-2.32.0/metacity/metacity.defs
+===================================================================
+--- gnome-python-desktop-2.32.0.orig/metacity/metacity.defs
++++ gnome-python-desktop-2.32.0/metacity/metacity.defs
+@@ -120,32 +120,6 @@
+ )
+ )
+
+-(define-enum FocusMode
+- (in-module "Meta")
+- (c-name "MetaFocusMode")
+-; (gtype-id "META_TYPE_FOCUS_MODE")
+- (values
+- '("click" "META_FOCUS_MODE_CLICK")
+- '("sloppy" "META_FOCUS_MODE_SLOPPY")
+- '("mouse" "META_FOCUS_MODE_MOUSE")
+- )
+-)
+-
+-(define-enum ActionTitlebar
+- (in-module "Meta")
+- (c-name "MetaActionTitlebar")
+-; (gtype-id "META_TYPE_ACTION_TITLEBAR")
+- (values
+- '("toggle-shade" "META_ACTION_TITLEBAR_TOGGLE_SHADE")
+- '("toggle-maximize" "META_ACTION_TITLEBAR_TOGGLE_MAXIMIZE")
+- '("minimize" "META_ACTION_TITLEBAR_MINIMIZE")
+- '("none" "META_ACTION_TITLEBAR_NONE")
+- '("lower" "META_ACTION_TITLEBAR_LOWER")
+- '("menu" "META_ACTION_TITLEBAR_MENU")
+- '("last" "META_ACTION_TITLEBAR_LAST")
+- )
+-)
+-
+ (define-enum FrameType
+ (in-module "Meta")
+ (c-name "MetaFrameType")