compiz: Changes to 'debian-unstable'
debian/changelog | 4
debian/patches/016_fix-dbus-plugin.patch | 153 -------------------------------
debian/patches/series | 1
3 files changed, 1 insertion(+), 157 deletions(-)
New commits:
commit 1cc02c3304cf4daa13addd79339fd2eee639f541
Author: Thierry Reding <thierry@gilfi.de>
Date: Fri Jan 5 08:04:45 2007 +0100
Remove 016_fix-dbus-plugin.patch. It doesn't actually fix anything.
The problem turns out to be a corrupted gconf database... again.
diff --git a/debian/changelog b/debian/changelog
index 4b2b050..25cfa0d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,12 +21,10 @@ compiz (0.3.6-1) experimental; urgency=l
* Add patch 015_optional-fbo which adds a command-line option for disabling
the use of FBOs (work around buggy drivers). Add the --no-fbo option to
command-line in the compiz wrapper.
- * Add patch 016_fix-dbus-plugin which should make compiz work with dbus
- again.
* Remove the --strict-binding and --use-cow options from the command-line in
the compiz wrapper. These are now the defaults.
- -- Thierry Reding <thierry@gilfi.de> Thu, 4 Jan 2007 15:55:57 +0100
+ -- Thierry Reding <thierry@gilfi.de> Fri, 5 Jan 2007 08:03:01 +0100
compiz (0.3.4-1) experimental; urgency=low
diff --git a/debian/patches/016_fix-dbus-plugin.patch b/debian/patches/016_fix-dbus-plugin.patch
deleted file mode 100644
index a7dcad3..0000000
--- a/debian/patches/016_fix-dbus-plugin.patch
+++ /dev/null
@@ -1,153 +0,0 @@
-diff --git a/plugins/dbus.c b/plugins/dbus.c
-index 68213dc..1fcbe67 100644
---- a/plugins/dbus.c
-+++ b/plugins/dbus.c
-@@ -317,6 +317,18 @@ dbusHandleActionMessage (DBusConnection *connection,
- if (argument)
- free (argument);
-
-+ if (!dbus_message_get_no_reply (message))
-+ {
-+ DBusMessage *reply;
-+
-+ reply = dbus_message_new_method_return (message);
-+
-+ dbus_connection_send (connection, reply, NULL);
-+ dbus_connection_flush (connection);
-+
-+ dbus_message_unref (reply);
-+ }
-+
- return TRUE;
- }
-
-@@ -443,20 +455,19 @@ dbusHandleSetOptionMessage (DBusConnection *connection,
- if (strcmp (option->name, path[2]) == 0)
- {
- DBusMessageIter iter;
-+ CompOptionValue value, tmpValue;
-+ Bool status = FALSE;
-
-- if (dbus_message_iter_init (message, &iter))
-- {
-- CompOptionValue value, tmpValue;
-- DbusActionIndex actionIndex = DbusActionIndexKeyBinding;
-- Bool status = FALSE;
-+ memset (&value, 0, sizeof (value));
-
-- memset (&value, 0, sizeof (value));
--
-- do
-+ if (option->type == CompOptionTypeList)
-+ {
-+ if (dbus_message_iter_init (message, &iter))
- {
-- if (option->type == CompOptionTypeList)
-+ do
- {
-- if (dbusGetOptionValue (&iter, option->type, &tmpValue))
-+ if (dbusGetOptionValue (&iter, option->value.list.type,
-+ &tmpValue))
- {
- CompOptionValue *v;
-
-@@ -467,11 +478,20 @@ dbusHandleSetOptionMessage (DBusConnection *connection,
- {
- v[value.list.nValue++] = tmpValue;
- value.list.value = v;
-- status |= TRUE;
- }
- }
-- }
-- else if (option->type == CompOptionTypeAction)
-+ } while (dbus_message_iter_next (&iter));
-+ }
-+
-+ status = TRUE;
-+ }
-+ else if (dbus_message_iter_init (message, &iter))
-+ {
-+ DbusActionIndex actionIndex = DbusActionIndexKeyBinding;
-+
-+ do
-+ {
-+ if (option->type == CompOptionTypeAction)
- {
- CompAction *a = &value.action;
- char *str;
-@@ -555,40 +575,48 @@ dbusHandleSetOptionMessage (DBusConnection *connection,
- status |= TRUE;
- }
- } while (dbus_message_iter_next (&iter));
-+ }
-
-- if (status)
-+ if (status)
-+ {
-+ if (s)
- {
-- if (s)
-- {
-- if (strcmp (path[0], "core"))
-- status =
-- (*s->setScreenOptionForPlugin) (s,
-- path[0],
-- option->name,
-- &value);
-- else
-- status = (*s->setScreenOption) (s, option->name,
-- &value);
-- }
-+ if (strcmp (path[0], "core"))
-+ (*s->setScreenOptionForPlugin) (s,
-+ path[0],
-+ option->name,
-+ &value);
- else
-- {
-- if (strcmp (path[0], "core"))
-- status =
-- (*d->setDisplayOptionForPlugin) (d,
-- path[0],
-- option->name,
-- &value);
-- else
-- status = (*d->setDisplayOption) (d, option->name,
-- &value);
-- }
--
-- return status;
-+ (*s->setScreenOption) (s, option->name, &value);
- }
- else
- {
-- return FALSE;
-+ if (strcmp (path[0], "core"))
-+ (*d->setDisplayOptionForPlugin) (d,
-+ path[0],
-+ option->name,
-+ &value);
-+ else
-+ (*d->setDisplayOption) (d, option->name, &value);
- }
-+
-+ if (!dbus_message_get_no_reply (message))
-+ {
-+ DBusMessage *reply;
-+
-+ reply = dbus_message_new_method_return (message);
-+
-+ dbus_connection_send (connection, reply, NULL);
-+ dbus_connection_flush (connection);
-+
-+ dbus_message_unref (reply);
-+ }
-+
-+ return TRUE;
-+ }
-+ else
-+ {
-+ return FALSE;
- }
- }
-
diff --git a/debian/patches/series b/debian/patches/series
index baa0b6a..bf6a47f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,4 +3,3 @@
013_set-qtdir-fallback.patch
014_tfp-server-extension.patch
015_optional-fbo.patch
-016_fix-dbus-plugin.patch
Reply to: