Package: fluxbox
Version: 1.3.5-1
Severity: normal
Tags: upstream l10n patch

Hi,

Thanks a lot for maintaining fluxbox!

There's a minor issue with the uptsream Bulgarian translation of the
navigation menu that has been bugging me for years, and I finally took
the time to track it down.  Here are two patches against the head of the
Debian fluxbox Git repository that will fix it; the issue has also been
reported to the upstream bug tracker at SourceForge.

I guess it's up to you now to decide whether to add this patch to the
Debian package, wait for a new upstream release with it included, or at
least wait for upstream to comment on it in SourceForge bug #169 :)

Thanks again for all that you've been doing for fluxbox and Debian in
general, and keep up the great work!

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net r...@freebsd.org p.penc...@storpool.com
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
I had to translate this sentence into English because I could not read the 
original Sanskrit.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)
Foreign Architectures: amd64

Kernel: Linux 3.12-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fluxbox depends on:
ii  libc6           2.17-97
ii  libfontconfig1  2.11.0-2
ii  libfreetype6    2.5.2-1
ii  libfribidi0     0.19.6-1
ii  libgcc1         1:4.8.2-14
ii  libice6         2:1.0.8-2
ii  libimlib2       1.4.6-2
ii  libsm6          2:1.2.1-2
ii  libstdc++6      4.8.2-14
ii  libx11-6        2:1.6.2-1
ii  libxext6        2:1.3.2-1
ii  libxft2         2.3.1-2
ii  libxinerama1    2:1.1.3-1
ii  libxpm4         1:3.5.10-1
ii  libxrandr2      2:1.4.2-1
ii  libxrender1     1:0.9.8-1
ii  menu            2.1.46

Versions of packages fluxbox recommends:
pn  feh | eterm | hsetroot | xloadimage  <none>
ii  xfonts-terminus                      4.38-1

Versions of packages fluxbox suggests:
pn  fbautostart  <none>
pn  fbdesk       <none>
pn  fbpager      <none>

-- no debconf information
From 6568f95f96e3e75966a21cca76865d16721d844e Mon Sep 17 00:00:00 2001
From: Peter Pentchev <r...@ringlet.net>
Date: Wed, 5 Feb 2014 13:37:47 +0200
Subject: [PATCH 1/2] Fix the encoding of the Bulgarian translation.

The Bulgarian fluxbox translation (in the upstream source) has an
incorrect codeset specified - ISO-8859-1 instead of CP1251.  This leads
to incorrect transcoding to UTF-8 and to the display of wrong characters
in the fluxbox menu.

The patch was forwarded to upstream's SourceForge bugtracker.
---
 debian/patches/bg-cp1251.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 debian/patches/bg-cp1251.patch

diff --git a/debian/patches/bg-cp1251.patch b/debian/patches/bg-cp1251.patch
new file mode 100644
index 0000000..861087f
--- /dev/null
+++ b/debian/patches/bg-cp1251.patch
@@ -0,0 +1,26 @@
+Description: The Bulgarian translation actually uses CP1251, not ISO-8859-1
+Author: Peter Pentchev <r...@ringlet.net>
+Forwarded: http://sourceforge.net/p/fluxbox/patches/169/
+Last-Update: 2014-02-05
+
+--- a/nls/bg_BG/Makefile.am
++++ b/nls/bg_BG/Makefile.am
+@@ -1,8 +1,8 @@
+ # nls/bg_BG/Makefile.am for Fluxbox - www.fluxbox.org
+ 
+ THE_LANG = bg_BG
+-SRC_CODESET = ISO-8859-1
+-DEST_CODESETS = ISO-8859-1 UTF-8
++SRC_CODESET = CP1251
++DEST_CODESETS = CP1251 UTF-8
+ 
+ LOCALE_PATH = @LOCALE_PATH@
+ NLSTEST = @NLS@
+--- a/nls/bg_BG/Translation.m
++++ b/nls/bg_BG/Translation.m
+@@ -1,4 +1,4 @@
+-$ codeset=ISO-8859-1
++$ codeset=CP1251
+ 
+ $set 1 #Align
+ 
diff --git a/debian/patches/series b/debian/patches/series
index dc537f1..9347442 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix-xterm-keybinding.patch
 fix-startup-check-fbautostart.patch
 fix-home-detection.patch
+bg-cp1251.patch
-- 
1.8.5.3

From 62d59f404d3d86e3fb7e0c7965f22d259ba34c58 Mon Sep 17 00:00:00 2001
From: Peter Pentchev <r...@ringlet.net>
Date: Wed, 5 Feb 2014 13:39:17 +0200
Subject: [PATCH 2/2] Temporarily clean up the Bulgarian translation files.

Remove generated-CP1251.m, since it is not present in the upstream source.
Remove generated-UTF-8.m, since the codeset specification has changed.
---
 debian/clean | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 debian/clean

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..836d655
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+nls/bg_BG/generated-CP1251.m
+nls/bg_BG/generated-UTF-8.m
-- 
1.8.5.3

Attachment: signature.asc
Description: Digital signature

Reply via email to