Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2011 01:07:43 +0200
From:      George Liaskos <geo.liaskos@gmail.com>
To:        ports@freebsd.org
Subject:   Update xfce4-xkb-plugin to 0.5.3.3
Message-ID:  <AANLkTinotNJfWYjMipLUF-S9NSBxphGoVHhQuUj3iHB9@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
The latest version has a GUI option to set the shortcut for switching
between keyboard layouts. Handy for newcomers.
It has an added dependency to librsvg2 because the country flags are
in svg format now, the following patch takes care of the compilation
errors.

--- xkb-config.c.orig	2011-03-06 04:02:24.000000000 +0200
+++ xkb-config.c	2011-03-06 04:09:26.000000000 +0200
@@ -150,7 +150,7 @@
     config->application_map = g_hash_table_new (g_direct_hash, NULL);

     registry = xkl_config_registry_get_instance (config->engine);
-    xkl_config_registry_load (registry);
+    xkl_config_registry_load (registry, FALSE);

     config_item = xkl_config_item_new ();

@@ -214,7 +214,8 @@

     gdk_window_remove_filter (NULL, (GdkFilterFunc) handle_xevent, NULL);

-    xkl_engine_stop_listen (config->engine);
+    xkl_engine_stop_listen (config->engine,
+      XKLL_MANAGE_LAYOUTS | XKLL_MANAGE_WINDOW_STATES);
 }

 gint
@@ -547,7 +548,7 @@
     if (!config) return NULL;

     registry = xkl_config_registry_get_instance (config->engine);
-    xkl_config_registry_load (registry);
+    xkl_config_registry_load (registry, FALSE);

     return registry;
 }

Regards



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinotNJfWYjMipLUF-S9NSBxphGoVHhQuUj3iHB9>