Package: po4a
Version: 0.34-2
Severity: wishlist

Can you consider to add "custom" module for po4a.
This is something I want for squeeze.

Here is my idea.  All po4a* programs assume the actual location of
custom perl module is at:

  $PWD/po4a/Custom.pm

(instead of /usr/share/perl5/Locale/Po4a/Custom.pm).

Then Chooser.pm is modified to something like (I did not check...):

- return "Locale::Po4a::$modname"->new(%options) ;
+ return $module eq 'custom' ? "PWD/po4a/Custom.pm"->new(%options) : 
"Locale::Po4a::$modname"->new(%options);

Other parts should be changed in the same way.  You may add option to
specify alternative module location instead of default one proposed
here.

This way, po4a using package does not need to wait for bug fix.  You can
locally fix issues or develop module by it self.  Similar hook for
debiandoc2sgml really helped for me to debug its modules.

osamu

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages po4a depends on:
ii  gettext                   0.17-4         GNU Internationalization utilities
ii  libsgmls-perl             1.03ii-32      Perl modules for processing SGML p
ii  perl                      5.10.0-15      Larry Wall's Practical Extraction 
ii  perl-modules              5.10.0-15      Core Perl modules
ii  sp                        1.3.4-1.2.1-47 James Clark's SGML parsing tools

Versions of packages po4a recommends:
ii  liblocale-gettext-perl        1.05-4     Using libc functions for internati
ii  libterm-readkey-perl          2.30-4     A perl module for simple terminal 
ii  libtext-wrapi18n-perl         0.06-6     internationalized substitute of Te

po4a suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to