Package: pybliographer
Version: 1.2.12-2
Severity: minor

pybliographic main gui is not getting translated properly since 1.2.12 though 
valid translation exists. It seems to be related to the upstream switch from 
automake 1.9 to 1.10, which seems to cause a breakage in the source-scripts to 
determine the localedir. I'm attaching a patch to fix this.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pybliographer depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-bibtex                 1.2.4-1    Python interfaces to BibTeX and th
ii  python-glade2                 2.14.1-3   GTK+ bindings: Glade support
ii  python-gnome2                 2.26.1-1   Python bindings for the GNOME desk
ii  python-support                1.0.3      automated rebuilding support for P

Versions of packages pybliographer recommends:
ii  yelp                          2.26.0-2   Help browser for GNOME

pybliographer suggests no packages.

-- no debconf information


      
--- pybliographer-1.2.12.orig/pybliographer.py
+++ pybliographer-1.2.12/pybliographer.py
@@ -24,7 +24,7 @@
 progname = "@package@"
 
 data_pybdir = "@datapyb@"
-localedir   = "@localedir@"
+localedir   = "@p_localedir@"
 
 import sys
 
--- pybliographer-1.2.12.orig/Pyblio/version.py.in
+++ pybliographer-1.2.12/Pyblio/version.py.in
@@ -2,6 +2,6 @@
 
 datadir   = "@p_datadir@"
 pybdir    = "@datapyb@"
-localedir = "@localedir@"
+localedir = "@p_localedir@"
 version   = "@version@"
 
--- pybliographer-1.2.12.orig/etc/installer.in
+++ pybliographer-1.2.12/etc/installer.in
@@ -31,7 +31,7 @@
 datadir="@datadir@"
 libpyb="${libdir}/@PACKAGE@"
 datapyb="${datadir}/@PACKAGE@"
-localedir="${datadir}/locale"
+localedir="@localedir@"
 
 bindir="@bindir@"
 
@@ -44,6 +44,6 @@
 s...@python_path@%...@python@%g
 s...@package@%...@package@%g
 s...@version@%...@version@%g
-...@localedir@%${localedir}%g
+...@p_localedir@%${localedir}%g
 s...@p_datadir@%${datadir}%g
 "

Reply via email to