[arch-commits] Commit in xfce4-power-manager/trunk (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Apr 13 08:05:52 EDT 2012


    Date: Friday, April 13, 2012 @ 08:05:51
  Author: foutrelis
Revision: 156095

upgpkg: xfce4-power-manager 1.0.11-2

Fix crashes caused by the French .po file. (FS#29294)

Added:
  xfce4-power-manager/trunk/fix-french-translation.patch
Modified:
  xfce4-power-manager/trunk/PKGBUILD

------------------------------+
 PKGBUILD                     |   12 ++++++++--
 fix-french-translation.patch |   46 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-13 12:05:22 UTC (rev 156094)
+++ PKGBUILD	2012-04-13 12:05:51 UTC (rev 156095)
@@ -4,7 +4,7 @@
 
 pkgname=xfce4-power-manager
 pkgver=1.0.11
-pkgrel=1
+pkgrel=2
 pkgdesc="Power manager for Xfce desktop"
 arch=('i686' 'x86_64')
 url="http://xfce-goodies.berlios.de/"
@@ -15,12 +15,18 @@
 makedepends=('pkgconfig' 'intltool')
 options=('!libtool')
 install=$pkgname.install
-source=(http://archive.xfce.org/src/apps/$pkgname/1.0/$pkgname-$pkgver.tar.bz2)
-sha256sums=('cfa85d839458fa2e9c2ee874d7d64ab00a95d6d51e6acf0ac082ffc700fe4339')
+source=(http://archive.xfce.org/src/apps/$pkgname/1.0/$pkgname-$pkgver.tar.bz2
+        fix-french-translation.patch)
+sha256sums=('cfa85d839458fa2e9c2ee874d7d64ab00a95d6d51e6acf0ac082ffc700fe4339'
+            'acae23105905f13d65eafac2a7a03b2f15a1b143e7606ef077ace30497f6c448')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
+  # Fix crashes caused by the French .po file
+  # https://bugs.archlinux.org/task/29294
+  patch -Np1 -i "$srcdir/fix-french-translation.patch"
+
   ./configure \
     --prefix=/usr \
     --sysconfdir=/etc \

Added: fix-french-translation.patch
===================================================================
--- fix-french-translation.patch	                        (rev 0)
+++ fix-french-translation.patch	2012-04-13 12:05:51 UTC (rev 156095)
@@ -0,0 +1,46 @@
+From 634c5c016d3b6e152e20173263790a3bfbbe0640 Mon Sep 17 00:00:00 2001
+From: Mike Massonnet <mmassonnet at gmail.com>
+Date: Sun, 08 Apr 2012 11:52:33 +0000
+Subject: l10n: Updated French (fr) translation to 100%
+
+New status: 211 messages complete with 0 fuzzies and 0 untranslated.
+
+Transmitted-via: Transifex (translations.xfce.org).
+---
+diff --git a/po/fr.po b/po/fr.po
+index 78dc6d3..285393f 100644
+--- a/po/fr.po
++++ b/po/fr.po
+@@ -559,9 +559,8 @@ msgid ""
+ "%s (%i%%)\n"
+ "%s until is fully charged."
+ msgstr ""
+-"%s\n"
+-"Votre %s est en charge (%i%%)\n"
+-"%s jusqu'a ce qu'il soit complétement chargé."
++"%s (%i%%)\n"
++"%s jusqu'a ce qu'il soit complètement chargé."
+ 
+ #: ../src/xfpm-battery.c:230 ../src/xfpm-battery.c:266
+ #, c-format
+@@ -579,8 +578,7 @@ msgid ""
+ "%s (%i%%)\n"
+ "Estimated time left is %s."
+ msgstr ""
+-"%s\n"
+-"Votre %s est en décharge (%i%%)\n"
++"%s (%i%%)\n"
+ "Temps restant estimé est de %s."
+ 
+ #: ../src/xfpm-battery.c:248 ../src/xfpm-battery.c:269
+@@ -622,7 +620,7 @@ msgid ""
+ msgstr ""
+ "%s\n"
+ "Votre %s est en charge (%i%%)\n"
+-"%s jusqu'a ce qu'il soit complétement chargé."
++"%s jusqu'a ce qu'il soit complètement chargé."
+ 
+ #: ../src/xfpm-battery.c:444
+ #, c-format
+--
+cgit v0.9.0.3



More information about the arch-commits mailing list