From owner-freebsd-ports@FreeBSD.ORG Thu Mar 10 11:10:36 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 099F1106564A for ; Thu, 10 Mar 2011 11:10:36 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mx.critical.ch (cl-8.zrh-02.ch.sixxs.net [IPv6:2001:1620:f00:7::2]) by mx1.freebsd.org (Postfix) with ESMTP id 95EC68FC12 for ; Thu, 10 Mar 2011 11:10:35 +0000 (UTC) Received: from wiggles.bwns.ch (localhost [IPv6:::1]) by mx.critical.ch (8.14.4/8.14.4/critical-1.0) with SMTP id p2ABAX0w070853; Thu, 10 Mar 2011 12:10:34 +0100 (CET) (envelope-from ehaupt@FreeBSD.org) Date: Thu, 10 Mar 2011 12:10:33 +0100 From: Emanuel Haupt To: George Liaskos Message-Id: <20110310121033.2d5a5190.ehaupt@FreeBSD.org> In-Reply-To: References: X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: Update xfce4-xkb-plugin to 0.5.3.3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2011 11:10:36 -0000 George Liaskos wrote: > 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 Hi George, thanks for the update. Could you please create a PR so that it doesn't get lost? Emanuel