Your message dated Thu, 26 Dec 2019 14:55:42 +0900 with message-id <[email protected]> and subject line Re: Bug#674104: calibre: localization zip file is not updated on package build has caused the Debian Bug report #674104, regarding calibre: localization zip file is not updated on package build to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 674104: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674104 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---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
--- End Message ---
--- Begin Message ---Thanks, agreed. Closing this bug. Best Norbert On Wed, 25 Dec 2019, Eli Schwartz wrote: > This makes no sense -- the locales.zip file is by definition the > precompiled translations, and the translations/ directory is simply the > sources for this. > > If for some reason you desire to rebuild these *anyway*, calibre has a > built-in buildsystem command to regenerate it: > > python2 setup.py translations > > This bug should be closed as invalid. > > -- > Eli Schwartz > Arch Linux Bug Wrangler and Trusted User -- PREINING Norbert http://www.preining.info Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
--- End Message ---

