Package: calibre
Version: 0.8.51+dfsg-4
Severity: minor
Tags: patch l10n

Dear Maintainer,

The localization of calibre is inside a zip, locales.zip. While the calibre and 
calibre-bin are built from source, this file is not updated with the content of 
the src/calibre/translations/*.po files. It means that the translations are not 
updated properly.

(I tried to change debian/rules to do the update of the file but it didn't work 
out, that's why my version number of calibre is 0.8.51+dfsg-4)

Using this sh to update the zip is working. It should be used as an inspiration 
for the debian/rules if I understand correctly how package are made.

#!/bin/sh

cd src/calibre/translations
mkdir tmp
for locale in *.po
do
        mkdir tmp/${locale%.po}
        msgfmt $locale -o tmp/${locale%.po}/messages.mo
done

cd tmp
zip -urm ../../../../resources/localization/locales.zip .
cd ..
rm -rf tmp

cd ../../..

-- System Information:
Debian Release: wheezy/sid
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages calibre depends on:
ii  calibre-bin                        0.8.51+dfsg-4
ii  fonts-liberation [ttf-liberation]  1.07.2-2
ii  imagemagick                        8:6.7.4.0-5
ii  poppler-utils                      0.16.7-3
ii  python-beautifulsoup               3.2.0-2
ii  python-chardet                     2.0.1-2
ii  python-cherrypy3                   3.2.2-2
ii  python-cssutils                    0.9.9-1
ii  python-dateutil                    1.5-1
ii  python-dbus                        1.1.0-1
ii  python-feedparser                  5.0.1-1
ii  python-imaging                     1.1.7-4
ii  python-lxml                        2.3.2-1
ii  python-mechanize                   1:0.2.5-2
ii  python-pkg-resources               0.6.24-1
ii  python-pyparsing                   1.5.2-2
ii  python-qt4                         4.9.1-3
ii  python-routes                      1.13-1
ii  python2.7                          2.7.3~rc2-2.1
ii  ttf-liberation                     1.07.2-2
ii  xdg-utils                          1.1.0~rc1+git20111210-6

Versions of packages calibre recommends:
ii  python-dnspython  1.9.4-1

calibre suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to