![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package libxklavier checked in at Fri Sep 12 22:17:52 CEST 2008. -------- --- GNOME/libxklavier/libxklavier.changes 2008-06-20 19:46:28.000000000 +0200 +++ libxklavier/libxklavier.changes 2008-09-11 00:55:44.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Sep 10 17:54:39 CDT 2008 - maw@suse.de + +- Update to version 3.7: + + Several bugfixes + + Convert all translated strings to UTF-8. + +------------------------------------------------------------------- Old: ---- libxklavier-3.6.tar.bz2 New: ---- libxklavier-3.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libxklavier.spec ++++++ --- /var/tmp/diff_new_pack.Iw2878/_old 2008-09-12 22:17:15.000000000 +0200 +++ /var/tmp/diff_new_pack.Iw2878/_new 2008-09-12 22:17:15.000000000 +0200 @@ -1,10 +1,17 @@ # -# spec file for package libxklavier (Version 3.6) +# spec file for package libxklavier (Version 3.7) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -16,7 +23,7 @@ License: GPL v2 or later; LGPL v2.1 or later Group: Development/Libraries/X11 AutoReqProv: on -Version: 3.6 +Version: 3.7 Release: 1 Summary: Library with X keyboard related functions Source: %{name}-%{version}.tar.bz2 @@ -121,6 +128,10 @@ %{_datadir}/gtk-doc/html/libxklavier %changelog +* Wed Sep 10 2008 maw@suse.de +- Update to version 3.7: + + Several bugfixes + + Convert all translated strings to UTF-8. * Fri Jun 20 2008 maw@suse.de - Update to version 3.6: + Added API for countries and languages. @@ -158,9 +169,9 @@ * Thu Nov 16 2006 danw@suse.de - Add patch from CVS to fix a crash in the keyboard layout indicator [#216201] -* Sat Oct 14 2006 danw@suse.de +* Fri Oct 13 2006 danw@suse.de - Remove dead patch (fixed differently upstream) -* Thu Oct 12 2006 danw@suse.de +* Wed Oct 11 2006 danw@suse.de - Fix xkb-base to match xkeyboard-config package. #204368, etc - Remove some disabled patches that have been committed upstream * Wed Aug 30 2006 jhargadon@suse.de @@ -174,7 +185,7 @@ - Bugfixes - XML processing improved - Better compatibility with modular X.org filesystem layout -* Fri Jul 21 2006 danw@suse.de +* Thu Jul 20 2006 danw@suse.de - Use AC_PATH_XTRA rather than AC_PATH_X to make it easier to deal correctly with xorg-modular (which installs into /usr and so doesn't require -I or -L flags) @@ -192,15 +203,15 @@ * Wed Dec 07 2005 rodrigo@suse.de - Added unreleased patch libxklavier-waitpid.patch, needed for control-center2-2.12.2. -* Thu Nov 03 2005 dmueller@suse.de +* Wed Nov 02 2005 dmueller@suse.de - don't build as root * Wed Jun 01 2005 sbrabec@suse.cz - Fixed devel requirements. -* Wed Apr 27 2005 gekker@suse.de +* Tue Apr 26 2005 gekker@suse.de - Disable -Werror for now. -* Thu Mar 10 2005 gekker@suse.de +* Wed Mar 09 2005 gekker@suse.de - Update to version 2.0 (GNOME 2.10). -* Sat Jan 22 2005 gekker@suse.de +* Fri Jan 21 2005 gekker@suse.de - Update to version 1.14 - Remove patch, already upstream * Wed Dec 22 2004 ro@suse.de @@ -209,7 +220,7 @@ - Update to version 1.04 * Thu Aug 12 2004 ro@suse.de - added libpng to neededforbuild (for doxygen) -* Thu May 13 2004 clahey@suse.de +* Wed May 12 2004 clahey@suse.de - Add --with-xkb-base=/usr/lib/X11/xkb to configure to make this build on 64 bit platforms. * Fri Apr 30 2004 clahey@suse.de @@ -219,7 +230,7 @@ not yet released). * Thu Feb 12 2004 sbrabec@suse.cz - Updated to version 0.97. -* Fri Sep 05 2003 ro@suse.de +* Thu Sep 04 2003 ro@suse.de - run autoreconf - use configure to detect X11R6 libdir * Thu Sep 04 2003 sbrabec@suse.cz ++++++ libxklavier-3.6.tar.bz2 -> libxklavier-3.7.tar.bz2 ++++++ ++++ 55317 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxklavier-3.6/ChangeLog new/libxklavier-3.7/ChangeLog --- old/libxklavier-3.6/ChangeLog 2008-04-27 16:01:02.000000000 +0200 +++ new/libxklavier-3.7/ChangeLog 2008-09-05 21:57:14.000000000 +0200 @@ -1,8 +1,30 @@ +2008-09-05 svu + + * NEWS, configure.in: preparing 3.7 + +2008-09-03 svu + + * libxklavier/xklavier_config.c: enforcing UTF-8 output of gettext, + http://bugzilla.gnome.org/show_bug.cgi?id=529773 + +2008-06-17 svu + + * configure.in: fixing glib version requirement, + http://bugs.freedesktop.org/show_bug.cgi?id=16207 + +2008-06-09 svu + + * libxklavier/xklavier_config_iso.c: take languages from variants into + account + 2008-04-27 svu * libxklavier/xkl_config_item.h, libxklavier/xkl_config_registry.h, doc/reference: a bit of cleanup for gtkdoc * NEWS: preparing 3.6 + * libxklavier/xklavier_config_iso.c, libxklavier/xklavier_config.c, + libxklavier/xklavier_config_xkb.c, libxklavier/xklavier_util.c, + libxklavier/xklavier_xmm.c: C99 fixes 2008-04-26 svu diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxklavier-3.6/config.h.in new/libxklavier-3.7/config.h.in --- old/libxklavier-3.6/config.h.in 2008-04-21 22:13:46.000000000 +0200 +++ new/libxklavier-3.7/config.h.in 2008-09-05 21:50:09.000000000 +0200 @@ -51,6 +51,10 @@ /* ISO codes prefix */ #undef ISO_CODES_PREFIX +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#undef LT_OBJDIR + /* Name of package */ #undef PACKAGE diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxklavier-3.6/configure.in new/libxklavier-3.7/configure.in --- old/libxklavier-3.6/configure.in 2008-04-22 00:30:42.000000000 +0200 +++ new/libxklavier-3.7/configure.in 2008-09-05 21:56:33.000000000 +0200 @@ -2,7 +2,7 @@ PACKAGE=libxklavier MAJOR_VERSION=3 -MINOR_VERSION=6 +MINOR_VERSION=7 VERSION=$MAJOR_VERSION.$MINOR_VERSION VERSION_INFO=13:0:1 @@ -151,7 +151,7 @@ AC_SUBST(XML_CFLAGS) PKG_CHECK_MODULES(GLIB, \ - glib-2.0 >= 2.6.0 gobject-2.0 >= 2.6.0) + glib-2.0 >= 2.16.0 gobject-2.0 >= 2.16.0) AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_CFLAGS) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxklavier-3.6/libxklavier/xklavier_config.c new/libxklavier-3.7/libxklavier/xklavier_config.c --- old/libxklavier-3.6/libxklavier/xklavier_config.c 2008-04-23 00:46:03.000000000 +0200 +++ new/libxklavier-3.7/libxklavier/xklavier_config.c 2008-09-05 21:56:33.000000000 +0200 @@ -35,7 +35,7 @@ static xmlXPathCompExprPtr layouts_xpath; static xmlXPathCompExprPtr option_groups_xpath; -// gettext domain for translations +/* gettext domain for translations */ #define XKB_DOMAIN "xkeyboard-config" enum { @@ -272,7 +272,7 @@ if (!xkl_config_registry_is_initialized(config)) return; - snprintf(xpath_expr, sizeof xpath_expr, format, value); + g_snprintf(xpath_expr, sizeof xpath_expr, format, value); xpath_obj = xmlXPathEval((unsigned char *) xpath_expr, xkl_config_registry_priv(config, xpath_context)); @@ -300,7 +300,8 @@ if (!xkl_config_registry_is_initialized(config)) return FALSE; - snprintf(xpath_expr, sizeof xpath_expr, format, arg1, pitem->name); + g_snprintf(xpath_expr, sizeof xpath_expr, format, arg1, + pitem->name); xpath_obj = xmlXPathEval((unsigned char *) xpath_expr, xkl_config_registry_priv(config, xpath_context)); @@ -890,6 +891,8 @@ object_class->set_property = xkl_config_registry_set_property; object_class->get_property = xkl_config_registry_get_property; + bind_textdomain_codeset (XKB_DOMAIN, "UTF-8"); + engine_param_spec = g_param_spec_object("engine", "Engine", "XklEngine", diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxklavier-3.6/libxklavier/xklavier_config_iso.c new/libxklavier-3.7/libxklavier/xklavier_config_iso.c --- old/libxklavier-3.6/libxklavier/xklavier_config_iso.c 2008-04-26 01:11:34.000000000 +0200 +++ new/libxklavier-3.7/libxklavier/xklavier_config_iso.c 2008-09-05 21:56:33.000000000 +0200 @@ -37,7 +37,7 @@ typedef struct { const gchar *domain; - const gchar *attr_names[]; + const gchar **attr_names; } LookupParams; typedef struct { @@ -46,9 +46,11 @@ LookupParams *params; } CodeBuildStruct; -static LookupParams countryLookup = { "iso_3166", {"alpha_2_code", NULL} }; -static LookupParams languageLookup = - { "iso_639", {"iso_639_2B_code", "iso_639_2T_code", NULL} }; +static const char *countryLookupNames[] = { "alpha_2_code", NULL }; +static const char *languageLookupNames[] = { "iso_639_2B_code", "iso_639_2T_code", NULL }; + +static LookupParams countryLookup = { "iso_3166", countryLookupNames }; +static LookupParams languageLookup = { "iso_639", languageLookupNames }; static void iso_codes_parse_start_tag(GMarkupParseContext * ctx, @@ -291,6 +293,7 @@ { const gchar *xpath_exprs[] = { XKBCR_LAYOUT_PATH "/configItem/languageList/iso639Id", + XKBCR_VARIANT_PATH "/configItem/languageList/iso639Id", NULL }; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxklavier-3.6/libxklavier/xklavier_config_xkb.c new/libxklavier-3.7/libxklavier/xklavier_config_xkb.c --- old/libxklavier-3.6/libxklavier/xklavier_config_xkb.c 2008-02-28 15:41:04.000000000 +0100 +++ new/libxklavier-3.7/libxklavier/xklavier_config_xkb.c 2008-09-05 21:56:33.000000000 +0200 @@ -65,7 +65,7 @@ locale = setlocale(LC_ALL, NULL); - snprintf(file_name, sizeof file_name, XKB_BASE "/rules/%s", rf); + g_snprintf(file_name, sizeof file_name, XKB_BASE "/rules/%s", rf); xkl_debug(160, "Loading rules from [%s]\n", file_name); rules_set = XkbRF_Load(file_name, locale, True, True); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxklavier-3.6/libxklavier/xklavier_util.c new/libxklavier-3.7/libxklavier/xklavier_util.c --- old/libxklavier-3.6/libxklavier/xklavier_util.c 2008-03-01 22:42:49.000000000 +0100 +++ new/libxklavier-3.7/libxklavier/xklavier_util.c 2008-09-05 21:56:33.000000000 +0200 @@ -121,7 +121,7 @@ if (win != (Window) NULL) { name = xkl_engine_get_window_title(engine, win); if (name != NULL) { - snprintf(sname, sizeof(sname), "%.32s", name); + g_snprintf(sname, sizeof(sname), "%.32s", name); g_free(name); } } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxklavier-3.6/libxklavier/xklavier_xmm.c new/libxklavier-3.7/libxklavier/xklavier_xmm.c --- old/libxklavier-3.6/libxklavier/xklavier_xmm.c 2007-05-31 23:06:20.000000000 +0200 +++ new/libxklavier-3.7/libxklavier/xklavier_xmm.c 2008-09-05 21:56:33.000000000 +0200 @@ -263,8 +263,8 @@ xkl_engine_backend(engine, XklXmm, current_config).layouts[group]; - snprintf(cmd, sizeof cmd, - "xmodmap %s/xmodmap.%s", XMODMAP_BASE, layout_name); + g_snprintf(cmd, sizeof cmd, + "xmodmap %s/xmodmap.%s", XMODMAP_BASE, layout_name); res = system(cmd); if (res > 0) { diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxklavier-3.6/libxklavier.spec new/libxklavier-3.7/libxklavier.spec --- old/libxklavier-3.6/libxklavier.spec 2008-04-27 14:28:22.000000000 +0200 +++ new/libxklavier-3.7/libxklavier.spec 2008-09-05 21:50:22.000000000 +0200 @@ -1,6 +1,6 @@ Name: libxklavier Summary: libXklavier library -Version: 3.6 +Version: 3.7 Release: 1 License: LGPL Group: Development/Libraries diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libxklavier-3.6/NEWS new/libxklavier-3.7/NEWS --- old/libxklavier-3.6/NEWS 2008-04-27 16:00:29.000000000 +0200 +++ new/libxklavier-3.7/NEWS 2008-09-05 21:56:33.000000000 +0200 @@ -1,3 +1,5 @@ +3.7 A couple of essential bugfixes. Now all translated strings are in + UTF-8 (even in 8-bit locales). 3.6 Added API for countries and languages 3.5 Got rid of the fallback xml file (some code cleanup). Fixed a couple of bugs (one crasher) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de