Hey Guys,

        I've been looking at why ubuntu-mobile is uninstallable under Hardy,
and have discovered why, and what needs to happen to correct it.

        The core of the problem is moblin-applets, which depends on
libgnomekbd1. libgnomekbd1 depends on a particular version of
libgnomekbd-common which doesn't exist any more, so it all falls over.

        This is a normal occurrence, since libgnomekbd has undergone an API and
ABI change, and as such the package name has changed from libgnomekbd1
to libgnomekbd2.

        The problem now is that the moblin-applets in Hardy is 0.9, which
doesn't build against the new libgnomekbd. Neither does the current git
tree, so I am attaching a patch that corrects cause of the build
failure. I've also test-built a moblin-applets against Gutsy, and it
builds fine as well, so I suspect the code in question wasn't needed.

        Todd, can you apply this patch to git and liaise directly with me in
terms of getting a new moblin-applets to land in Hardy as soon as possible?

Thanks,
-- 
                                        Steve
Ubuntu Mobile Developer
Canonical, Ltd
diff --git a/moblin-settings-daemon/moblin-settings-keyboard-xkb.c b/moblin-settings-daemon/moblin-settings-keyboard-xkb.c
index c45dfa3..90b1b04 100644
--- a/moblin-settings-daemon/moblin-settings-keyboard-xkb.c
+++ b/moblin-settings-daemon/moblin-settings-keyboard-xkb.c
@@ -35,7 +35,6 @@
 #include <string.h>
 #include <time.h>
 
-#include <libgnomekbd/gkbd-config-registry.h>
 #include <libgnomekbd/gkbd-desktop-config.h>
 #include <libgnomekbd/gkbd-keyboard-config.h>
 
@@ -391,7 +390,6 @@ moblin_settings_keyboard_xkb_evt_filter (GdkXEvent * xev, GdkEvent * event)
 void
 moblin_settings_keyboard_xkb_init (GConfClient * client)
 {
-	GObject *reg = NULL;
 #ifdef MSDKX
 	xkl_set_debug_level (200);
 	logfile = fopen ("/tmp/gsdkx.log", "a");
@@ -419,9 +417,6 @@ moblin_settings_keyboard_xkb_init (GConfClient * client)
 		xkl_engine_start_listen (xkl_engine,
 					 XKLL_MANAGE_LAYOUTS |
 					 XKLL_MANAGE_WINDOW_STATES);
-
-		reg =
-		    g_object_new (gkbd_config_registry_get_type (), NULL);
 	}
 }
 

-- 
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to