<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/gswitchit/patches/" rel="alternate"/><link href="https://sourceforge.net/p/gswitchit/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/gswitchit/patches/</id><updated>2009-08-04T13:17:59Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Doesn't handle BadMatch errors</title><link href="https://sourceforge.net/p/gswitchit/patches/15/" rel="alternate"/><published>2009-08-04T13:17:59Z</published><updated>2009-08-04T13:17:59Z</updated><author><name>Ross Burton</name><uri>https://sourceforge.net/u/burtonini/</uri></author><id>https://sourceforge.netc961812c741f69d55062fb88978d586da326b46d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It's possible for libxklavier to get XGetWindowProperties on a window and receive a BadMatch error.  We're seeing that occasionally and it causes gnome-settings-daemon to crash.  Although the documentation doesn't say it, BadMatch is a valid error response from XGetWindowProperties so it should be cleanly handled like BadWindow.&lt;/p&gt;
&lt;p&gt;Attaching a patch to do this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>expansion of PKG_CONFIG variable fix</title><link href="https://sourceforge.net/p/gswitchit/patches/14/" rel="alternate"/><published>2009-06-28T23:27:51Z</published><updated>2009-06-28T23:27:51Z</updated><author><name>casaxa</name><uri>https://sourceforge.net/u/casaxa/</uri></author><id>https://sourceforge.net5858d73738a0a8744c1ae050db36474142bc4867</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi I have always a compile error that it cant find command KG_CONFIG...... and so on. This is due to the wrong expansion of the PKG_CONFIG variable in the makefile.&lt;br /&gt;
So attached is a patch which fixes that. Please put parenthesis() on $PKG_CONFIG so it is $(PKG_CONFIG) and everything works ok.&lt;/p&gt;
&lt;p&gt;Rgds&lt;br /&gt;
Saxa&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>libgnomekbd: fails to build with -z defs</title><link href="https://sourceforge.net/p/gswitchit/patches/13/" rel="alternate"/><published>2007-02-22T20:00:15Z</published><updated>2007-02-22T20:00:15Z</updated><author><name>Loïc Minier</name><uri>https://sourceforge.net/u/lool/</uri></author><id>https://sourceforge.net9904214b60fed7f14cfc6705c8d1edd47873e218</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When building libgnomekbd with -z defs in LDFLAGS, it fails to build with:&lt;br /&gt;
gcc -shared  .libs/libgnomekbd_la-gkbd-config-registry.o .libs/libgnomekbd_la-gkbd-desktop-config.o .libs/libgnomekbd_la-gkbd-keyboard-config.o .libs/libgnomekbd_la-gkbd-util.o  -Wl,--rpath -Wl,/home/lool/jhbuild-gnome-2.18/prefix/lib -Wl,--rpath -Wl,/home/lool/jhbuild-gnome-2.18/prefix/lib -L/home/lool/jhbuild-gnome-2.18/prefix/lib /home/lool/jhbuild-gnome-2.18/prefix/lib/libdbus-glib-1.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libdbus-1.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libgdk-x11-2.0.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libgdk_pixbuf-2.0.so -lm /home/lool/jhbuild-gnome-2.18/prefix/lib/libpangocairo-1.0.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libpango-1.0.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libcairo.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libgmodule-2.0.so -ldl /home/lool/jhbuild-gnome-2.18/prefix/lib/libgconf-2.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libORBit-2.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libgthread-2.0.so -lrt /home/lool/jhbuild-gnome-2.18/prefix/lib/libxklavier.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libgobject-2.0.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libglib-2.0.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libxml2.so  -pthread -pthread -pthread -Wl,-O1 -Wl,-z -Wl,defs -Wl,-soname -Wl,libgnomekbd.so.1 -o .libs/libgnomekbd.so.1.0.0&lt;br /&gt;
.libs/libgnomekbd_la-gkbd-config-registry.o: In function `gkbd_config_registry_init':&lt;br /&gt;
gkbd-config-registry.c:(.text+0x246): undefined reference to `XOpenDisplay'&lt;br /&gt;
collect2: ld returned 1 exit status&lt;br /&gt;
make[3]: *** [libgnomekbd.la] Erreur 1&lt;/p&gt;
&lt;p&gt;This is due to a missing link flag to libX11 despite direct use of XFree() and others.&lt;/p&gt;
&lt;p&gt;I'll attach a patch which adds X detection to configure.in and the necessary X_LIBS to libgnomekbd/Makefile.am.&lt;/p&gt;
&lt;p&gt;Bye,&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>libxk: Fails to build with -z defs + broken configure.in</title><link href="https://sourceforge.net/p/gswitchit/patches/12/" rel="alternate"/><published>2007-02-22T19:42:29Z</published><updated>2007-02-22T19:42:29Z</updated><author><name>Loïc Minier</name><uri>https://sourceforge.net/u/lool/</uri></author><id>https://sourceforge.net5b6b26c3998d1eb79b42471e4a63cc89669f6f74</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;libxklavier 3.0 fails to build with -z defs:&lt;br /&gt;
l/jhbuild-gnome-2.18/prefix/share/libxklavier\" -I. -I/home/lool/jhbuild-gnome-2.18/prefix/include  -I.. -I/home/lool/jhbuild-gnome-2.18/prefix/include/libxml2   -I/home/lool/jhbuild-gnome-2.18/prefix/include/glib-2.0 -I/home/lool/jhbuild-gnome-2.18/prefix/lib/glib-2.0/include   -DLIBXKBFILE_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMODMAP_SUPPORT=1 -Os  -Wl,-O1 -Wl,-z,defs -o libxklavier.la -rpath /home/lool/jhbuild-gnome-2.18/prefix/lib -version-info 11:0:0 -L/home/lool/jhbuild-gnome-2.18/prefix/lib -lxml2   -L/home/lool/jhbuild-gnome-2.18/prefix/lib -lgobject-2.0 -lglib-2.0   -lxkbfile    xklavier.lo xklavier_evt.lo xklavier_config.lo xklavier_xkb.lo xklavier_evt_xkb.lo xklavier_config_xkb.lo xklavier_toplevel.lo xklavier_xmm.lo xklavier_xmm_opts.lo xklavier_evt_xmm.lo xklavier_config_xmm.lo xklavier_util.lo xklavier_config_i18n.lo xklavier_props.lo xklavier_dump.lo xkl_engine_marshal.lo  &lt;br /&gt;
gcc -shared  .libs/xklavier.o .libs/xklavier_evt.o .libs/xklavier_config.o .libs/xklavier_xkb.o .libs/xklavier_evt_xkb.o .libs/xklavier_config_xkb.o .libs/xklavier_toplevel.o .libs/xklavier_xmm.o .libs/xklavier_xmm_opts.o .libs/xklavier_evt_xmm.o .libs/xklavier_config_xmm.o .libs/xklavier_util.o .libs/xklavier_config_i18n.o .libs/xklavier_props.o .libs/xklavier_dump.o .libs/xkl_engine_marshal.o  -Wl,--rpath -Wl,/home/lool/jhbuild-gnome-2.18/prefix/lib -Wl,--rpath -Wl,/home/lool/jhbuild-gnome-2.18/prefix/lib -L/home/lool/jhbuild-gnome-2.18/prefix/lib /home/lool/jhbuild-gnome-2.18/prefix/lib/libxml2.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libgobject-2.0.so /home/lool/jhbuild-gnome-2.18/prefix/lib/libglib-2.0.so -lxkbfile  -Wl,-O1 -Wl,-z -Wl,defs -Wl,-soname -Wl,libxklavier.so.11 -o .libs/libxklavier.so.11.0.0&lt;br /&gt;
.libs/xklavier.o: In function `xkl_engine_finalize':&lt;br /&gt;
xklavier.c:(.text+0x5fc): undefined reference to `XSetErrorHandler'&lt;br /&gt;
.libs/xklavier.o: In function `xkl_engine_select_input':&lt;br /&gt;
xklavier.c:(.text+0x8b9): undefined reference to `XSelectInput'&lt;br /&gt;
.libs/xklavier.o: In function `xkl_engine_select_input_merging':&lt;br /&gt;
xklavier.c:(.text+0x8fb): undefined reference to `XGetWindowAttributes'&lt;br /&gt;
.libs/xklavier.o: In function `xkl_engine_load_window_tree':&lt;/p&gt;
&lt;p&gt;This is due to a missing -lX11 flag.&lt;/p&gt;
&lt;p&gt;I'll attach a patch which reworks X detection completely and which works for Xorg's pkg-config files as well as the compatibility AC_PATH_XTRA.&lt;/p&gt;
&lt;p&gt;It also cleans up useless configure.in stuff and updates to the default location of the Xorg xkb dir.&lt;/p&gt;
&lt;p&gt;Bye,&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>fix for two compile errors</title><link href="https://sourceforge.net/p/gswitchit/patches/11/" rel="alternate"/><published>2006-09-26T16:02:07Z</published><updated>2006-09-26T16:02:07Z</updated><author><name>Marc Brockschmidt</name><uri>https://sourceforge.net/u/mmjb/</uri></author><id>https://sourceforge.neta29825193c12eb59cd89593181ca6b4b90ac4842</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Heya,&lt;/p&gt;
&lt;p&gt;When compiling libxklavier on OpenBSD, I had to fix two&lt;br /&gt;
simple compile errors. It would be nice if you could&lt;br /&gt;
include the needed changes in the next release.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fix bad use of realloc on libxklavier</title><link href="https://sourceforge.net/p/gswitchit/patches/10/" rel="alternate"/><published>2006-04-03T21:37:09Z</published><updated>2006-04-03T21:37:09Z</updated><author><name>Joe Clarke</name><uri>https://sourceforge.net/u/jmarcus/</uri></author><id>https://sourceforge.net83ef8ff5800572dd7ae41a10293a14c7ed9720d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When libxklavier encounters a layout with a variant, it&lt;br /&gt;
uses realloc to strip the variant off of the layout&lt;br /&gt;
name.  However, the use of realloc is wrong in that the&lt;br /&gt;
newly allocated memory is not reassigned to the layout.&lt;br /&gt;
The end result is a double free when the layouts are&lt;br /&gt;
destroyed.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fix for gcc 2.95</title><link href="https://sourceforge.net/p/gswitchit/patches/9/" rel="alternate"/><published>2005-05-23T06:50:56Z</published><updated>2005-05-23T06:50:56Z</updated><author><name>Jens Granseuer</name><uri>https://sourceforge.net/u/fizzet/</uri></author><id>https://sourceforge.net8fca0176e3eb5b9a9a361cc78263dc9975cf42c9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;libxklavier 2.0 does not compile with gcc 2.95. See&lt;br /&gt;
&lt;a href="http://bugzilla.gnome.org/show_bug.cgi?id=169567" rel="nofollow"&gt;http://bugzilla.gnome.org/show_bug.cgi?id=169567&lt;/a&gt; for a&lt;br /&gt;
patch.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>libxklavier should support uninstalled.pc file</title><link href="https://sourceforge.net/p/gswitchit/patches/8/" rel="alternate"/><published>2005-05-13T21:34:50Z</published><updated>2005-05-13T21:34:50Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net2b90ae41d976b1e270b6d786ee371941f091521a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It would be nice if libxklavier supported an&lt;br /&gt;
uninstalled.pc file so you could build with it even if&lt;br /&gt;
it isn't installed.  I've attached a patch, though I&lt;br /&gt;
forgot to add the uninstalled.pc file to the EXTRA_DIST&lt;br /&gt;
in the Makefile.am, but this is easy enough to add for&lt;br /&gt;
the person who commits the patch.&lt;/p&gt;
&lt;p&gt;Request posted by Brian.Cameron@sun.com&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fix for GCC 4 builds</title><link href="https://sourceforge.net/p/gswitchit/patches/7/" rel="alternate"/><published>2005-05-05T19:51:12Z</published><updated>2005-05-05T19:51:12Z</updated><author><name>Jeramy Rutley</name><uri>https://sourceforge.net/u/jrutley/</uri></author><id>https://sourceforge.net6051090b1fef5a202a72bec22be9cbbab4dc04df</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A few "differ in signedness" errors are fixed.  This&lt;br /&gt;
error still occurs even after the patch.  I just got&lt;br /&gt;
lazy.  :P&lt;/p&gt;
&lt;p&gt;if /bin/sh ../libtool --tag=CC --mode=compile gcc&lt;br /&gt;
-DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror&lt;br /&gt;
-DDATA_DIR=\"/opt/gnome2/share/libxklavier\" -I.&lt;br /&gt;
-I/opt/gnome2/include -I/opt/gnome2/include/libxml2&lt;br /&gt;
-I/usr/X11R6/include -I.. -DXKB_HEADERS_PRESENT=1&lt;br /&gt;
-DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -O2 -MT&lt;br /&gt;
xklavier_config.lo -MD -MP -MF&lt;br /&gt;
".deps/xklavier_config.Tpo" -c -o xklavier_config.lo&lt;br /&gt;
xklavier_config.c; \
then mv -f ".deps/xklavier_config.Tpo"&lt;br /&gt;
".deps/xklavier_config.Plo"; else rm -f&lt;br /&gt;
".deps/xklavier_config.Tpo"; exit 1; fi&lt;br /&gt;
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror&lt;br /&gt;
-DDATA_DIR=\"/opt/gnome2/share/libxklavier\" -I.&lt;br /&gt;
-I/opt/gnome2/include -I/opt/gnome2/include/libxml2&lt;br /&gt;
-I/usr/X11R6/include -I.. -DXKB_HEADERS_PRESENT=1&lt;br /&gt;
-DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -O2 -MT&lt;br /&gt;
xklavier_config.lo -MD -MP -MF&lt;br /&gt;
.deps/xklavier_config.Tpo -c xklavier_config.c  -fPIC&lt;br /&gt;
-DPIC -o .libs/xklavier_config.o&lt;br /&gt;
cc1: warnings being treated as errors&lt;br /&gt;
xklavier_config.c: In function 'XklConfigFindOptionGroup':&lt;br /&gt;
xklavier_config.c:523: warning: pointer targets in&lt;br /&gt;
passing argument 1 of 'strlen' differ in signedness&lt;br /&gt;
xklavier_config.c:523: warning: pointer targets in&lt;br /&gt;
passing argument 1 of '__builtin_strcmp' differ in&lt;br /&gt;
signedness&lt;br /&gt;
xklavier_config.c:523: warning: pointer targets in&lt;br /&gt;
passing argument 1 of 'strlen' differ in signedness&lt;br /&gt;
xklavier_config.c:523: warning: pointer targets in&lt;br /&gt;
passing argument 1 of '__builtin_strcmp' differ in&lt;br /&gt;
signedness&lt;br /&gt;
xklavier_config.c:523: warning: pointer targets in&lt;br /&gt;
passing argument 1 of '__builtin_strcmp' differ in&lt;br /&gt;
signedness&lt;br /&gt;
xklavier_config.c:523: warning: pointer targets in&lt;br /&gt;
passing argument 1 of '__builtin_strcmp' differ in&lt;br /&gt;
signedness&lt;br /&gt;
make[2]: *** [xklavier_config.lo] Error 1&lt;br /&gt;
make[2]: Leaving directory&lt;br /&gt;
`/home/jeramy/cvs/gnome2/libxklavier/libxklavier'&lt;br /&gt;
make[1]: *** [all-recursive] Error 1&lt;br /&gt;
make[1]: Leaving directory&lt;br /&gt;
`/home/jeramy/cvs/gnome2/libxklavier'&lt;br /&gt;
make: *** [all] Error 2&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>gnome-keyboard-properties has some unlocalized keyboards</title><link href="https://sourceforge.net/p/gswitchit/patches/6/" rel="alternate"/><published>2005-01-11T14:01:36Z</published><updated>2005-01-11T14:01:36Z</updated><author><name>fujiwara</name><uri>https://sourceforge.net/u/tfujiwara/</uri></author><id>https://sourceforge.netffce9c2b73b881d7d0c2c1d9307b2549aae480d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;gnome-keyboard-properties has some unlocalized keyboards.&lt;/p&gt;
&lt;p&gt;To reproduce:&lt;/p&gt;
&lt;p&gt;1. Invoke gnome-keyboard-properties&lt;br /&gt;
2. Choose [Layouts] tab in the application.&lt;/p&gt;
&lt;p&gt;Then all models "ACPI Standard", "Acer AirKey V" and&lt;br /&gt;
etc and all layouts &lt;br /&gt;
"Japanese", "Albanian" and etc is not localized.&lt;/p&gt;
&lt;p&gt;3. Choose [Layout Options] tab.&lt;/p&gt;
&lt;p&gt;Then avaliable options, e.g. "Alt/Win key behavior" are&lt;br /&gt;
not localized.&lt;/p&gt;
&lt;p&gt;1. Right click on gnome-panel and choose [Add to Panel]&lt;br /&gt;
-&amp;gt; [Utility] -&amp;gt; [Keyboard Indicator].&lt;/p&gt;
&lt;p&gt;Then the icon label "Jpn" is not localized.&lt;/p&gt;
&lt;p&gt;I attached the patch.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>