Hello community, here is the log from the commit of package gnome-characters for openSUSE:Factory checked in at 2015-05-18 21:26:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-characters (Old) and /work/SRC/openSUSE:Factory/.gnome-characters.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-characters" Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-characters/gnome-characters.changes 2015-04-23 07:58:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-characters.new/gnome-characters.changes 2015-05-18 21:26:57.000000000 +0200 @@ -1,0 +2,7 @@ +Mon May 11 12:41:34 UTC 2015 - zai...@opensuse.org + +- Update to version 3.16.2: + + Fix bgo#748124: build failure. + + Updated translations. + +------------------------------------------------------------------- Old: ---- gnome-characters-3.16.1.tar.xz New: ---- gnome-characters-3.16.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-characters.spec ++++++ --- /var/tmp/diff_new_pack.hI7fGt/_old 2015-05-18 21:26:58.000000000 +0200 +++ /var/tmp/diff_new_pack.hI7fGt/_new 2015-05-18 21:26:58.000000000 +0200 @@ -17,7 +17,7 @@ Name: gnome-characters -Version: 3.16.1 +Version: 3.16.2 Release: 0 Summary: Character Map License: GPL-3.0+ ++++++ gnome-characters-3.16.1.tar.xz -> gnome-characters-3.16.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/Makefile.in new/gnome-characters-3.16.2/Makefile.in --- old/gnome-characters-3.16.1/Makefile.in 2015-04-13 09:24:58.000000000 +0200 +++ new/gnome-characters-3.16.2/Makefile.in 2015-05-11 10:05:31.000000000 +0200 @@ -336,6 +336,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ +PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ +PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/NEWS new/gnome-characters-3.16.2/NEWS --- old/gnome-characters-3.16.1/NEWS 2015-04-13 09:23:31.000000000 +0200 +++ new/gnome-characters-3.16.2/NEWS 2015-05-11 10:04:44.000000000 +0200 @@ -1,3 +1,13 @@ +3.16.2 +=== + +- Bug 748124 - build failure + +New And Updated Translations +============================ +Dean Chen (zh_CN) +Rafael Ferreira (pt_BR) + 3.16.1 === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/config.h.in new/gnome-characters-3.16.2/config.h.in --- old/gnome-characters-3.16.1/config.h.in 2015-04-13 09:24:57.000000000 +0200 +++ new/gnome-characters-3.16.2/config.h.in 2015-05-11 10:05:30.000000000 +0200 @@ -45,6 +45,9 @@ /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H +/* Define if you want to enable pangoft2 support */ +#undef HAVE_PANGOFT2 + /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ #undef HAVE_SIGNED_SIG_ATOMIC_T diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/configure new/gnome-characters-3.16.2/configure --- old/gnome-characters-3.16.1/configure 2015-04-13 09:24:56.000000000 +0200 +++ new/gnome-characters-3.16.2/configure 2015-05-11 10:05:30.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for org.gnome.Characters 3.16.1. +# Generated by GNU Autoconf 2.69 for org.gnome.Characters 3.16.2. # # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-characters>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='org.gnome.Characters' PACKAGE_TARNAME='gnome-characters' -PACKAGE_VERSION='3.16.1' -PACKAGE_STRING='org.gnome.Characters 3.16.1' +PACKAGE_VERSION='3.16.2' +PACKAGE_STRING='org.gnome.Characters 3.16.2' PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-characters' PACKAGE_URL='' @@ -641,6 +641,8 @@ am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +PANGOFT2_LIBS +PANGOFT2_CFLAGS LIBGC_LIBS LIBGC_CFLAGS GLIB_COMPILE_RESOURCES @@ -1205,6 +1207,7 @@ enable_coverage enable_installed_tests enable_always_build_tests +enable_pangoft2 ' ac_precious_vars='build_alias host_alias @@ -1222,7 +1225,9 @@ DEPS_CFLAGS DEPS_LIBS LIBGC_CFLAGS -LIBGC_LIBS' +LIBGC_LIBS +PANGOFT2_CFLAGS +PANGOFT2_LIBS' # Initialize some variables set by options. @@ -1763,7 +1768,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures org.gnome.Characters 3.16.1 to adapt to many kinds of systems. +\`configure' configures org.gnome.Characters 3.16.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1834,7 +1839,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of org.gnome.Characters 3.16.1:";; + short | recursive ) echo "Configuration of org.gnome.Characters 3.16.2:";; esac cat <<\_ACEOF @@ -1866,6 +1871,7 @@ Enable installation of some test cases --enable-always-build-tests Enable always building tests during 'make all' + --disable-pangoft2 disable pangoft2 support Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1906,6 +1912,10 @@ LIBGC_CFLAGS C compiler flags for LIBGC, overriding pkg-config LIBGC_LIBS linker flags for LIBGC, overriding pkg-config + PANGOFT2_CFLAGS + C compiler flags for PANGOFT2, overriding pkg-config + PANGOFT2_LIBS + linker flags for PANGOFT2, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1973,7 +1983,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -org.gnome.Characters configure 3.16.1 +org.gnome.Characters configure 3.16.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2579,7 +2589,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by org.gnome.Characters $as_me 3.16.1, which was +It was created by org.gnome.Characters $as_me 3.16.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3449,7 +3459,7 @@ # Define the identity of the package. PACKAGE='gnome-characters' - VERSION='3.16.1' + VERSION='3.16.2' # Some tools Automake needs. @@ -24531,6 +24541,127 @@ fi +# Check whether --enable-pangoft2 was given. +if test "${enable_pangoft2+set}" = set; then : + enableval=$enable_pangoft2; +else + enable_pangoft2=auto + +fi + + +if test "$enable_pangoft2" = "yes"; then : + have_pangoft2=yes +elif test "$enable_pangoft2" = "auto"; then : + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + have_pangoft2=yes +fi +fi + +if test "$have_pangoft2" = "yes"; then : + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5 +$as_echo_n "checking for PANGOFT2... " >&6; } + +if test -n "$PANGOFT2_CFLAGS"; then + pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$PANGOFT2_LIBS"; then + pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 + ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pangoft2" 2>&1` + else + PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pangoft2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$PANGOFT2_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (pangoft2) were not met: + +$PANGOFT2_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables PANGOFT2_CFLAGS +and PANGOFT2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables PANGOFT2_CFLAGS +and PANGOFT2_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see <http://pkg-config.freedesktop.org/>. +See \`config.log' for more details" "$LINENO" 5; } +else + PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS + PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +$as_echo "#define HAVE_PANGOFT2 1" >>confdefs.h + + +fi + ac_config_files="$ac_config_files Makefile data/Makefile data/icons/Makefile gllib/Makefile lib/Makefile src/Makefile tests/Makefile po/Makefile.in" cat >confcache <<\_ACEOF @@ -25727,7 +25858,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by org.gnome.Characters $as_me 3.16.1, which was +This file was extended by org.gnome.Characters $as_me 3.16.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -25793,7 +25924,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -org.gnome.Characters config.status 3.16.1 +org.gnome.Characters config.status 3.16.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/configure.ac new/gnome-characters-3.16.2/configure.ac --- old/gnome-characters-3.16.1/configure.ac 2015-04-13 09:23:14.000000000 +0200 +++ new/gnome-characters-3.16.2/configure.ac 2015-05-11 10:03:47.000000000 +0200 @@ -1,5 +1,5 @@ AC_PREREQ(2.63) -AC_INIT([org.gnome.Characters], [3.16.1], +AC_INIT([org.gnome.Characters], [3.16.2], [https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-characters], [gnome-characters]) @@ -83,6 +83,19 @@ PKG_CHECK_MODULES([LIBGC], [gio-2.0 gtk+-3.0 pango]) +AC_ARG_ENABLE(pangoft2, + AS_HELP_STRING([--disable-pangoft2], [disable pangoft2 support]),, + enable_pangoft2=auto +) + +AS_IF([test "$enable_pangoft2" = "yes"], [have_pangoft2=yes], + [test "$enable_pangoft2" = "auto"], PKG_CHECK_EXISTS([pangoft2], [have_pangoft2=yes])) + +AS_IF([test "$have_pangoft2" = "yes"], [ + PKG_CHECK_MODULES([PANGOFT2], [pangoft2]) + AC_DEFINE([HAVE_PANGOFT2],[1],[Define if you want to enable pangoft2 support]) +]) + AC_CONFIG_FILES([ Makefile data/Makefile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/data/Makefile.in new/gnome-characters-3.16.2/data/Makefile.in --- old/gnome-characters-3.16.1/data/Makefile.in 2015-04-13 09:24:58.000000000 +0200 +++ new/gnome-characters-3.16.2/data/Makefile.in 2015-05-11 10:05:31.000000000 +0200 @@ -348,6 +348,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ +PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ +PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/data/icons/Makefile.in new/gnome-characters-3.16.2/data/icons/Makefile.in --- old/gnome-characters-3.16.1/data/icons/Makefile.in 2015-04-13 09:24:58.000000000 +0200 +++ new/gnome-characters-3.16.2/data/icons/Makefile.in 2015-05-11 10:05:31.000000000 +0200 @@ -284,6 +284,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ +PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ +PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/gllib/Makefile.in new/gnome-characters-3.16.2/gllib/Makefile.in --- old/gnome-characters-3.16.1/gllib/Makefile.in 2015-04-13 09:24:58.000000000 +0200 +++ new/gnome-characters-3.16.2/gllib/Makefile.in 2015-05-11 10:05:32.000000000 +0200 @@ -809,6 +809,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ +PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ +PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/lib/Makefile.am new/gnome-characters-3.16.2/lib/Makefile.am --- old/gnome-characters-3.16.1/lib/Makefile.am 2015-03-02 09:49:45.000000000 +0100 +++ new/gnome-characters-3.16.2/lib/Makefile.am 2015-05-11 10:03:30.000000000 +0200 @@ -7,11 +7,12 @@ -DG_LOG_DOMAIN=\"libgc\" \ -DG_DISABLE_DEPRECATED \ $(LIBGC_CFLAGS) \ + $(PANGOFT2_CFLAGS) \ $(NULL) pkglib_LTLIBRARIES = libgc.la -libgc_la_LIBADD = $(LIBGC_LIBS) $(LTLIBICONV) $(LTLIBUNISTRING) $(builddir)/../gllib/libgnu.la +libgc_la_LIBADD = $(LIBGC_LIBS) $(LTLIBICONV) $(LTLIBUNISTRING) $(PANGOFT2_LIBS) $(builddir)/../gllib/libgnu.la libgc_la_LDFLAGS = -avoid-version libgc_la_sources = gc.h gc.c libgc_la_SOURCES = $(libgc_la_sources) confusables.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/lib/Makefile.in new/gnome-characters-3.16.2/lib/Makefile.in --- old/gnome-characters-3.16.1/lib/Makefile.in 2015-04-13 09:24:58.000000000 +0200 +++ new/gnome-characters-3.16.2/lib/Makefile.in 2015-05-11 10:05:32.000000000 +0200 @@ -140,7 +140,8 @@ LTLIBRARIES = $(pkglib_LTLIBRARIES) am__DEPENDENCIES_1 = libgc_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ - $(am__DEPENDENCIES_1) $(builddir)/../gllib/libgnu.la + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(builddir)/../gllib/libgnu.la am__objects_1 = gc.lo am_libgc_la_OBJECTS = $(am__objects_1) libgc_la_OBJECTS = $(am_libgc_la_OBJECTS) @@ -341,6 +342,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ +PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ +PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ @@ -435,10 +438,11 @@ -DG_LOG_DOMAIN=\"libgc\" \ -DG_DISABLE_DEPRECATED \ $(LIBGC_CFLAGS) \ + $(PANGOFT2_CFLAGS) \ $(NULL) pkglib_LTLIBRARIES = libgc.la -libgc_la_LIBADD = $(LIBGC_LIBS) $(LTLIBICONV) $(LTLIBUNISTRING) $(builddir)/../gllib/libgnu.la +libgc_la_LIBADD = $(LIBGC_LIBS) $(LTLIBICONV) $(LTLIBUNISTRING) $(PANGOFT2_LIBS) $(builddir)/../gllib/libgnu.la libgc_la_LDFLAGS = -avoid-version libgc_la_sources = gc.h gc.c libgc_la_SOURCES = $(libgc_la_sources) confusables.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/lib/gc.c new/gnome-characters-3.16.2/lib/gc.c --- old/gnome-characters-3.16.1/lib/gc.c 2015-04-13 09:23:02.000000000 +0200 +++ new/gnome-characters-3.16.2/lib/gc.c 2015-05-11 10:03:30.000000000 +0200 @@ -805,36 +805,37 @@ PangoFont *font, gunichar uc) { + PangoLayout *layout; + GError *error; + gchar *utf8; + glong items_written; + int retval; + +#ifdef HAVE_PANGOFT2 if (PANGO_IS_FC_FONT (font)) /* Fast path when the font is loaded as PangoFcFont. */ { PangoFcFont *fcfont = PANGO_FC_FONT (font); return pango_fc_font_has_char (fcfont, uc); } - else - /* Slow path performing actual rendering. */ - { - PangoLayout *layout; - GError *error; - gchar *utf8; - glong items_written; - int retval; +#endif - utf8 = g_ucs4_to_utf8 (&uc, 1, NULL, &items_written, &error); - if (!utf8) - { - g_printerr ("error in decoding: %s\n", error->message); - g_error_free (error); - } + /* Slow path performing actual rendering. */ + utf8 = g_ucs4_to_utf8 (&uc, 1, NULL, &items_written, &error); + if (!utf8) + { + g_printerr ("error in decoding: %s\n", error->message); + g_error_free (error); + return FALSE; + } - layout = pango_layout_new (context); - gc_pango_layout_disable_fallback (layout); - pango_layout_set_text (layout, utf8, items_written); - g_free (utf8); + layout = pango_layout_new (context); + gc_pango_layout_disable_fallback (layout); + pango_layout_set_text (layout, utf8, items_written); + g_free (utf8); - retval = pango_layout_get_unknown_glyphs_count (layout); - g_object_unref (layout); + retval = pango_layout_get_unknown_glyphs_count (layout); + g_object_unref (layout); - return retval == 0; - } + return retval == 0; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/po/LINGUAS new/gnome-characters-3.16.2/po/LINGUAS --- old/gnome-characters-3.16.1/po/LINGUAS 2015-04-13 09:22:26.000000000 +0200 +++ new/gnome-characters-3.16.2/po/LINGUAS 2015-05-11 10:03:30.000000000 +0200 @@ -14,4 +14,5 @@ sr sr@latin uk +zh_CN zh_TW diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/po/pt_BR.po new/gnome-characters-3.16.2/po/pt_BR.po --- old/gnome-characters-3.16.1/po/pt_BR.po 2015-02-10 04:28:53.000000000 +0100 +++ new/gnome-characters-3.16.2/po/pt_BR.po 2015-05-11 10:03:30.000000000 +0200 @@ -8,29 +8,45 @@ "Project-Id-Version: gnome-characters master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-" "characters&keywords=I18N+L10N&component=general\n" -"POT-Creation-Date: 2014-11-25 22:41+0000\n" -"PO-Revision-Date: 2015-01-12 13:21-0300\n" -"Last-Translator: Enrico Nicoletto <live...@gmail.com>\n" +"POT-Creation-Date: 2015-04-23 18:27+0000\n" +"PO-Revision-Date: 2015-04-23 21:31-0300\n" +"Last-Translator: Rafael Ferreira <rafael.f...@gmail.com>\n" "Language-Team: Brazilian Portuguese <gnome-pt_br-l...@gnome.org>\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -"X-Generator: Poedit 1.7.3\n" +"X-Generator: Poedit 1.7.5\n" #: ../data/app-menu.ui.h:1 -msgid "_New" -msgstr "_Novo" - -#: ../data/app-menu.ui.h:2 msgid "About Characters" msgstr "Sobre o Caracteres" -#: ../data/app-menu.ui.h:3 +#: ../data/app-menu.ui.h:2 msgid "Quit" msgstr "Sair" +#: ../data/characterlist.ui.h:1 +msgid "Search produced empty result" +msgstr "A pesquisa produziu resultado vazio" + +#: ../data/characterlist.ui.h:2 +msgid "Try another search criteria." +msgstr "Tente outro critério de pesquisa." + +#: ../data/characterlist.ui.h:3 +msgid "Loading..." +msgstr "Carregando..." + +#: ../data/characterlist.ui.h:4 +msgid "No recent characters found" +msgstr "Não foram localizados caracteres recentes" + +#: ../data/characterlist.ui.h:5 +msgid "Characters will appear here if you use them." +msgstr "Caracteres irão aparecer aqui se você usá-los." + #: ../data/character.ui.h:1 msgid "Copy Character" msgstr "Copiar caractere" @@ -39,23 +55,29 @@ msgid "Current page" msgstr "Página atual" -#: ../data/mainview.ui.h:1 -msgid "Type to Search" -msgstr "Digite para pesquisar" - -#: ../data/mainview.ui.h:2 -msgid "Loading..." -msgstr "Carregando..." +#: ../data/menu.ui.h:1 +msgid "Filter by font" +msgstr "Filtrar por fonte" #: ../data/org.gnome.Characters.appdata.xml.in.h:1 msgid "" "Characters is a simple utility application to find and insert unusual " -"characters." +"characters. It allows you to quickly find the character you are looking for by " +"searching for keywords." msgstr "" "O aplicativo Caracteres é um utilitário simples para localizar e inserir " -"caracteres incomuns." +"caracteres incomuns. Ele permite que você localize de forma rápida o caractere " +"desejado ao pesquisar por palavras-chaves." -#: ../data/org.gnome.Characters.desktop.in.h:1 +#: ../data/org.gnome.Characters.appdata.xml.in.h:2 +msgid "" +"You can also browse characters by categories, such as Punctuation, Pictures, " +"etc." +msgstr "" +"Você também pode navegar entre caracteres através de categorias, como " +"pontuação, imagens, etc." + +#: ../data/org.gnome.Characters.desktop.in.h:1 ../src/service.js:51 msgid "Characters" msgstr "Caracteres" @@ -75,6 +97,10 @@ msgid "Use the font to render characters on the character list." msgstr "Use a fonte para renderizar caracteres na lista de caracteres." +#: ../data/org.gnome.Characters.gschema.xml.h:3 +msgid "Maximum recent characters" +msgstr "Máximo de caracteres recentes" + #: ../src/categoryList.js:31 msgid "Recently Used" msgstr "Usados recentemente" @@ -111,11 +137,16 @@ msgid "Emoticons" msgstr "Carinhas" -#: ../src/character.js:83 +#: ../src/categoryList.js:94 +#, javascript-format +msgid "%s Category List Row" +msgstr "Linha %s da lista de categoria" + +#: ../src/character.js:52 msgid "See Also" msgstr "Veja também" -#: ../src/character.js:142 +#: ../src/character.js:114 #, javascript-format msgid "Unicode U+%04s" msgstr "Unicode U+%04s" @@ -124,35 +155,62 @@ msgid "Characters Application" msgstr "Aplicativo de caracteres" -#: ../src/main.js:86 +#: ../src/main.js:95 msgid "Characters Application started" msgstr "O Aplicativo de caracteres foi iniciado" -#: ../src/main.js:94 +#: ../src/main.js:103 msgid "Characters Application exiting" msgstr "Encerrando o aplicativo de caracteres" -#: ../src/window.js:149 +#: ../src/menu.js:39 +msgid "None" +msgstr "Nenhum" + +#: ../src/searchProvider.js:94 +msgid "Unknown character name" +msgstr "Nome de caractere desconhecido" + +#: ../src/searchProvider.js:97 +#, javascript-format +msgid "U+%s, %s: %s" +msgstr "U+%s, %s: %s" + +#: ../src/window.js:165 msgid "translator-credits" msgstr "Enrico Nicoletto <live...@gmail.com>" -#: ../src/window.js:150 +#: ../src/window.js:166 msgid "GNOME Characters" msgstr "Caracteres do GNOME" -#: ../src/window.js:151 +#: ../src/window.js:167 msgid "Character Map" msgstr "Mapa de caracteres" -#: ../src/window.js:203 +#: ../src/window.js:187 +#, javascript-format +msgid "%s (%s only)" +msgstr "%s (apenas %s)" + +#: ../src/window.js:276 #, javascript-format msgid "%s Character List" msgstr "Lista de caracteres %s" -#: ../src/window.js:211 +#: ../src/window.js:283 msgid "Search Result Character List" msgstr "Resultado da pesquisa da lista de caracteres" +#~ msgid "Loading…" +#~ msgstr "Carregando…" + +#~ msgid "_New" +#~ msgstr "_Novo" + +#~ msgid "Type to Search" +#~ msgstr "Digite para pesquisar" + #~ msgid "About Example" #~ msgstr "Sobre o exemplo" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/po/zh_CN.po new/gnome-characters-3.16.2/po/zh_CN.po --- old/gnome-characters-3.16.1/po/zh_CN.po 1970-01-01 01:00:00.000000000 +0100 +++ new/gnome-characters-3.16.2/po/zh_CN.po 2015-05-11 10:03:30.000000000 +0200 @@ -0,0 +1,199 @@ +# Chinese (China) translation for gnome-characters. +# Copyright (C) 2015 gnome-characters's COPYRIGHT HOLDER +# This file is distributed under the same license as the gnome-characters package. +# Dean Chen <wsxy...@gmail.com>, 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: gnome-characters gnome-3-16\n" +"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-" +"characters&keywords=I18N+L10N&component=general\n" +"POT-Creation-Date: 2015-04-26 06:16+0000\n" +"PO-Revision-Date: 2015-04-26 16:29+0800\n" +"Last-Translator: Dingzhong Chen <wsxy...@gmail.com>\n" +"Language-Team: Chinese (China) <i18n...@googlegroups.com>\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.7.5\n" + +#: ../data/app-menu.ui.h:1 +msgid "About Characters" +msgstr "关于 字符" + +#: ../data/app-menu.ui.h:2 +msgid "Quit" +msgstr "退出" + +#: ../data/characterlist.ui.h:1 +msgid "Search produced empty result" +msgstr "搜索结果为空" + +#: ../data/characterlist.ui.h:2 +msgid "Try another search criteria." +msgstr "尝试其他搜索条件。" + +#: ../data/characterlist.ui.h:3 +msgid "Loading..." +msgstr "正在加载…" + +#: ../data/characterlist.ui.h:4 +msgid "No recent characters found" +msgstr "未找到最近使用的字符" + +#: ../data/characterlist.ui.h:5 +msgid "Characters will appear here if you use them." +msgstr "你使用的字符将会在这里显示。" + +#: ../data/character.ui.h:1 +msgid "Copy Character" +msgstr "复制字符" + +#: ../data/mainwindow.ui.h:1 +msgid "Current page" +msgstr "当前页" + +#: ../data/menu.ui.h:1 +msgid "Filter by font" +msgstr "按字体筛选" + +#: ../data/org.gnome.Characters.appdata.xml.in.h:1 +msgid "" +"Characters is a simple utility application to find and insert unusual " +"characters. It allows you to quickly find the character you are looking for " +"by searching for keywords." +msgstr "" +"字符 是一个简单的查找并插入特殊字符的实用程序。它可以让你通过通过搜索关键字快" +"速找到你正在寻找的字符。" + +#: ../data/org.gnome.Characters.appdata.xml.in.h:2 +msgid "" +"You can also browse characters by categories, such as Punctuation, Pictures, " +"etc." +msgstr "你也可以按照目录浏览字符,比如 标点、图片等。" + +#: ../data/org.gnome.Characters.desktop.in.h:1 ../src/service.js:51 +msgid "Characters" +msgstr "字符" + +#: ../data/org.gnome.Characters.desktop.in.h:2 +msgid "Utility application to find and insert unusual characters" +msgstr "查找和插入特殊字符的实用程序" + +#: ../data/org.gnome.Characters.desktop.in.h:3 +msgid "characters;unicode;" +msgstr "characters;unicode;字符;统一码;" + +#: ../data/org.gnome.Characters.gschema.xml.h:1 +msgid "Font to display characters" +msgstr "显示字符的字体" + +#: ../data/org.gnome.Characters.gschema.xml.h:2 +msgid "Use the font to render characters on the character list." +msgstr "使用字体渲染字符列表上的字符。" + +#: ../data/org.gnome.Characters.gschema.xml.h:3 +msgid "Maximum recent characters" +msgstr "最近字符的最大数" + +#: ../src/categoryList.js:31 +msgid "Recently Used" +msgstr "最近使用" + +#: ../src/categoryList.js:37 +msgid "Punctuation" +msgstr "标点" + +#: ../src/categoryList.js:43 +msgid "Arrows" +msgstr "箭头" + +#: ../src/categoryList.js:49 +msgid "Bullets" +msgstr "项目符号" + +#: ../src/categoryList.js:55 +msgid "Pictures" +msgstr "图片" + +#: ../src/categoryList.js:61 +msgid "Currencies" +msgstr "货币" + +#: ../src/categoryList.js:67 +msgid "Math" +msgstr "数学" + +#: ../src/categoryList.js:73 +msgid "Latin" +msgstr "拉丁字母" + +#: ../src/categoryList.js:79 +msgid "Emoticons" +msgstr "表情" + +#: ../src/categoryList.js:94 +#, javascript-format +msgid "%s Category List Row" +msgstr "%s 分类列表行" + +#: ../src/character.js:52 +msgid "See Also" +msgstr "另见" + +#: ../src/character.js:114 +#, javascript-format +msgid "Unicode U+%04s" +msgstr "Unicode U+%04s" + +#: ../src/main.js:58 +msgid "Characters Application" +msgstr "字符 应用程序" + +#: ../src/main.js:95 +msgid "Characters Application started" +msgstr "字符 应用程序已打开" + +#: ../src/main.js:103 +msgid "Characters Application exiting" +msgstr "字符 应用程序正在退出" + +#: ../src/menu.js:39 +msgid "None" +msgstr "无" + +#: ../src/searchProvider.js:94 +msgid "Unknown character name" +msgstr "未知的字符名称" + +#: ../src/searchProvider.js:97 +#, javascript-format +msgid "U+%s, %s: %s" +msgstr "U+%s, %s: %s" + +#: ../src/window.js:165 +msgid "translator-credits" +msgstr "Dean Chen <wsxy...@gmail.com>, 2015" + +#: ../src/window.js:166 +msgid "GNOME Characters" +msgstr "GNOME 字符" + +#: ../src/window.js:167 +msgid "Character Map" +msgstr "字符映射表" + +#: ../src/window.js:187 +#, javascript-format +msgid "%s (%s only)" +msgstr "%s (限 %s)" + +#: ../src/window.js:276 +#, javascript-format +msgid "%s Character List" +msgstr "%s 字符列表" + +#: ../src/window.js:283 +msgid "Search Result Character List" +msgstr "字符列表搜索结果" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/src/Makefile.in new/gnome-characters-3.16.2/src/Makefile.in --- old/gnome-characters-3.16.1/src/Makefile.in 2015-04-13 09:24:58.000000000 +0200 +++ new/gnome-characters-3.16.2/src/Makefile.in 2015-05-11 10:05:32.000000000 +0200 @@ -286,6 +286,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ +PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ +PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-characters-3.16.1/tests/Makefile.in new/gnome-characters-3.16.2/tests/Makefile.in --- old/gnome-characters-3.16.1/tests/Makefile.in 2015-04-13 09:24:58.000000000 +0200 +++ new/gnome-characters-3.16.2/tests/Makefile.in 2015-05-11 10:05:32.000000000 +0200 @@ -355,6 +355,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ +PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@ +PANGOFT2_LIBS = @PANGOFT2_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@