[clutter/f16] Fix critical warning on clutter application startup

Bastien Nocera hadess at fedoraproject.org
Thu Dec 1 18:54:15 UTC 2011


commit 5dde5ea1b380a3f8e125f913fe4e4e03350e4f9f
Author: Bastien Nocera <hadess at hadess.net>
Date:   Thu Dec 1 19:54:11 2011 +0100

    Fix critical warning on clutter application startup

 0001-Fix-Brazilian-Portuguese-translation.patch |   36 +++++++++++++++++++++++
 clutter.spec                                    |    9 +++++-
 2 files changed, 44 insertions(+), 1 deletions(-)
---
diff --git a/0001-Fix-Brazilian-Portuguese-translation.patch b/0001-Fix-Brazilian-Portuguese-translation.patch
new file mode 100644
index 0000000..139ec18
--- /dev/null
+++ b/0001-Fix-Brazilian-Portuguese-translation.patch
@@ -0,0 +1,36 @@
+From 1e58833e6be631244af05d4404f09d7619966320 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess at hadess.net>
+Date: Thu, 1 Dec 2011 19:29:58 +0100
+Subject: [PATCH] Fix Brazilian Portuguese translation
+
+Once you add the missing translator comments, it makes a lot
+more sense...
+---
+ po/pt_BR.po |    9 ++++++++-
+ 1 files changed, 8 insertions(+), 1 deletions(-)
+
+diff --git a/po/pt_BR.po b/po/pt_BR.po
+index dbcd663..24c290b 100644
+--- a/po/pt_BR.po
++++ b/po/pt_BR.po
+@@ -1178,9 +1178,16 @@ msgstr "Gerenciador"
+ msgid "The manager that created this data"
+ msgstr "O gerenciador que criou estes dados"
+ 
++#. Translators: Leave this UNTRANSLATED if your language is
++#. * left-to-right.  If your language is right-to-left
++#. * (e.g. Hebrew, Arabic), translate it to "default:RTL".
++#. *
++#. * Do NOT translate it to non-English e.g. "predefinito:LTR"! If
++#. * it isn't default:LTR or default:RTL it will not work.
++#.
+ #: clutter/clutter-main.c:492
+ msgid "default:LTR"
+-msgstr "default: LTR"
++msgstr "default:LTR"
+ 
+ #: clutter/clutter-main.c:1323
+ msgid "Show frames per second"
+-- 
+1.7.7.3
+
diff --git a/clutter.spec b/clutter.spec
index 4ca06ce..893b097 100644
--- a/clutter.spec
+++ b/clutter.spec
@@ -1,6 +1,6 @@
 Name:          clutter
 Version:       1.8.2
-Release:       2%{?dist}
+Release:       3%{?dist}
 Summary:       Open Source software library for creating rich graphical user interfaces
 
 Group:         Development/Libraries
@@ -16,6 +16,9 @@ BuildRequires: json-glib-devel >= 0.12.0
 BuildRequires: libXdamage-devel libXcomposite-devel
 Requires:      gobject-introspection
 
+# Upstream patch
+Patch0: 0001-Fix-Brazilian-Portuguese-translation.patch
+
 %description
 Clutter is an open source software library for creating fast,
 visually rich graphical user interfaces. The most obvious example
@@ -49,6 +52,7 @@ This package contains documentation for clutter.
 
 %prep
 %setup -q
+%patch0 -p1 -b .translation
 
 %build
 (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
@@ -93,6 +97,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
 %{_datadir}/gtk-doc/html/cally
 
 %changelog
+* Thu Dec 01 2011 Bastien Nocera <bnocera at redhat.com> 1.8.2-3
+- Fix critical warning on clutter application startup
+
 * Wed Oct 26 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.2-2
 - Rebuilt for glibc bug#747377
 


More information about the scm-commits mailing list