summaryrefslogtreecommitdiff
path: root/extra/xfce4-power-manager
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-15 00:01:28 +0000
committerroot <root@rshg054.dnsready.net>2012-04-15 00:01:28 +0000
commitf06b9295f0e60a0faa0d3231a0d0b3f2358d8459 (patch)
tree4bef4a67030f8ef621aaeeb16cc8d7f313c9eb67 /extra/xfce4-power-manager
parentcaa3e47071c8516ac31afaa0b654f5aaa4911939 (diff)
Sun Apr 15 00:01:28 UTC 2012
Diffstat (limited to 'extra/xfce4-power-manager')
-rw-r--r--extra/xfce4-power-manager/PKGBUILD14
-rw-r--r--extra/xfce4-power-manager/fix-french-translation.patch46
2 files changed, 56 insertions, 4 deletions
diff --git a/extra/xfce4-power-manager/PKGBUILD b/extra/xfce4-power-manager/PKGBUILD
index a1ab3f404..ed75076a0 100644
--- a/extra/xfce4-power-manager/PKGBUILD
+++ b/extra/xfce4-power-manager/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 154458 2012-03-28 18:59:06Z foutrelis $
+# $Id: PKGBUILD 156097 2012-04-13 12:06:18Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Tobias Kieslich <tobias funnychar archlinux.org>
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 @@ depends=('xfce4-panel' 'upower' 'udisks' 'libnotify' 'hicolor-icon-theme'
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 \
diff --git a/extra/xfce4-power-manager/fix-french-translation.patch b/extra/xfce4-power-manager/fix-french-translation.patch
new file mode 100644
index 000000000..063e533bb
--- /dev/null
+++ b/extra/xfce4-power-manager/fix-french-translation.patch
@@ -0,0 +1,46 @@
+From 634c5c016d3b6e152e20173263790a3bfbbe0640 Mon Sep 17 00:00:00 2001
+From: Mike Massonnet <mmassonnet@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