Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jozef (8299)

  (email not shown publicly)

Journal of jozef (8299)

Sunday July 19, 2009
04:59 PM

patching Debian /usr/share/perl/5.10.0/

[ #39317 ]

apt-get install libtest-exception-perl libfile-find-rule-perl libcarp-clan-perl
apt-get install libjson-xs-perl libclass-accessor-perl libwww-perl
cpan -i dbedia::Debian
mkdir /var/cache/apt/apt-pm
apt-pm update
# try:
# apt-pm find Test::More
# will output:
# libtest-simple-perl/0.62-1: /usr/share/perl5/Test/ 0.62
# libtest-simple-perl/0.88+dfsg-1: /usr/share/perl5/Test/ 0.88
# libtest-simple-perl/0.90-1: /usr/share/perl5/Test/ 0.90
# perl-modules/5.10.0-24: /usr/share/perl/5.10.0/Test/ 0.72
# libtest-simple-perl/0.80-1: /usr/share/perl5/Test/ 0.80
cd /usr/share/perl/5.10.0/
patch -p1 <

So what? With this patch CPAN shell will install Debian package of module prerequisity if available taking in account also required version. Then it is possible to do `cpan -i Xacobeo` and most of the dependecies (all except Gtk2::SourceView, that is not packaged) will be installed directly from Debian packages.

`apt-pm` has all the Debian .pm files indexed, so feel free to ask about `apt-pm find SVN::Core` which will return 'libsvn-perl/1.6.1dfsg-1' or `apt-pm find Pidgin` that will tell 'pidgin/2.4.3-4lenny2'. :)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Is there any way to convert this to a full plugin?


    Adam K

    • Hmm, this should be more like take-or-leave question for Debian developers, as if it is useful then it should be one of the Debian packaging patches to perl-modules. It will be hard to keep up with stable/testing/unstable versions via CPAN module mechanism.