[vorbis-tools] Resolves: #1116650 - translate the newly added .po files

Kamil Dudka kdudka at fedoraproject.org
Mon Jul 7 21:16:16 UTC 2014


commit c7902c2bf63cbaa7d3a48e5e29689bbbd9a0f0cc
Author: Kamil Dudka <kdudka at redhat.com>
Date:   Mon Jul 7 23:02:07 2014 +0200

    Resolves: #1116650 - translate the newly added .po files
    
    ... into .gmo files during build

 vorbis-tools-1.4.0-bz1116650.patch |   48 +++++++++++++++++++++++++++++++++++-
 vorbis-tools.spec                  |    7 ++++-
 2 files changed, 53 insertions(+), 2 deletions(-)
---
diff --git a/vorbis-tools-1.4.0-bz1116650.patch b/vorbis-tools-1.4.0-bz1116650.patch
index e4a9b85..3013336 100644
--- a/vorbis-tools-1.4.0-bz1116650.patch
+++ b/vorbis-tools-1.4.0-bz1116650.patch
@@ -1,7 +1,7 @@
 From ec8e0fb56511d28828b8529f9d159a0adcfb48a3 Mon Sep 17 00:00:00 2001
 From: Kamil Dudka <kdudka at redhat.com>
 Date: Mon, 7 Jul 2014 17:15:53 +0200
-Subject: [PATCH] Resolves: #1116650 - update po files from
+Subject: [PATCH 1/2] Resolves: #1116650 - update po files from
  translationproject.org
 
 ---
@@ -72159,3 +72159,49 @@ index 6a77528..207399e 100644
 -- 
 1.9.3
 
+
+From 7d9dab9fd24778bbe168e3578019e269bd8324f9 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka at redhat.com>
+Date: Mon, 7 Jul 2014 22:57:33 +0200
+Subject: [PATCH 2/2] configure{.ac,}: remember to update the list of all
+ languages
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Reported-by: Mario Blättermann
+Bug: https://bugzilla.redhat.com/1116650#c2
+---
+ configure    | 2 +-
+ configure.ac | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index 95e48d0..5309d46 100755
+--- a/configure
++++ b/configure
+@@ -12170,7 +12170,7 @@ CC="$lt_save_CC"
+ 
+ 
+ 
+-ALL_LINGUAS="be cs da en_GB eo es fr hr hu nl pl ro ru sk sv uk vi"
++ALL_LINGUAS="be cs da de en_GB eo es fr hr hu id nl pl ro ru sk sl sr sv uk vi"
+ 
+   { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
+ echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
+diff --git a/configure.ac b/configure.ac
+index 725a495..f9cc724 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -30,7 +30,7 @@ CFLAGS="$cflags_save"
+ 
+ AC_PROG_LIBTOOL
+ 
+-ALL_LINGUAS="be cs da en_GB eo es fr hr hu nl pl ro ru sk sv uk vi"
++ALL_LINGUAS="be cs da de en_GB eo es fr hr hu id nl pl ro ru sk sl sr sv uk vi"
+ AM_GNU_GETTEXT
+ 
+ dnl --------------------------------------------------
+-- 
+1.9.3
+
diff --git a/vorbis-tools.spec b/vorbis-tools.spec
index d17ea77..a879622 100644
--- a/vorbis-tools.spec
+++ b/vorbis-tools.spec
@@ -1,7 +1,7 @@
 Summary:	The Vorbis General Audio Compression Codec tools
 Name:		vorbis-tools
 Version:	1.4.0
-Release:	15%{?dist}
+Release:	16%{?dist}
 Epoch:		1
 Group:		Applications/Multimedia
 License:	GPLv2
@@ -19,6 +19,7 @@ Patch2:		vorbis-tools-1.4.0-bz1003607.patch
 Patch3:		vorbis-tools-1.4.0-bz1116650.patch
 
 BuildRequires:	flac-devel
+BuildRequires:	gettext
 BuildRequires:	libao-devel
 BuildRequires:	libcurl-devel
 BuildRequires:	libvorbis-devel
@@ -49,6 +50,7 @@ export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security"
 
 %configure
 make %{?_smp_mflags}
+make %{?_smp_mflags} update-gmo -C po
 
 
 %install
@@ -64,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
 
 
 %changelog
+* Mon Jul 07 2014 Kamil Dudka <kdudka at redhat.com> - 1:1.4.0-16
+- translate the newly added .po files into .gmo files during build (#1116650)
+
 * Mon Jul 07 2014 Kamil Dudka <kdudka at redhat.com> - 1:1.4.0-15
 - update po files from translationproject.org (#1116650)
 


More information about the scm-commits mailing list