> Am 11.03.2016 um 10:41 schrieb Catalin Enache <catalin.ena...@windriver.com>: > > "perl-misc" package is adding tens of perl utilities which have > depencies on perl-modules. > > For example, in order for "prove" to work correctly following modules > are needed: > > RDEPENDS_perl-misc += "perl perl-module-app-prove > perl-module-overloading perl-module-tap-base perl-module-file-glob > perl-module-tap-formatter-console perl-module-tap-formatter-base > perl-module-tap-formatter-file perl-module-tap-formatter-session > perl-module-tap-parser perl-module-tap-parser-aggregator > perl-module-tap-parser-scheduler" > > If we compile a list of modules needed by the utilities added by > "perl-misc" we may end up having to add hundreds of modules to > RDEPENDS_perl-misc. > > Rather than adding hundreds of dependencies only perl-modules was added.
Beside of that - perl5.x.x bundles several modules with reason: Programms written in Perl need them and very often rely on what's bundled. Modern author kits like Dist::Zilla prove Perl-Version (when author specifies MIN_PERL: 5.10) which module is bundled and don't explicitly add dependencies on that. Nowadays it's not reasonable to distribute perl without core. What might be sane is: RDEPENDS_perl += "libperl perl-interpreter perl-modules" This would allow maximum reduce for those who need and default dependency as meant by Perl5 Porters (those who care since 5.10). Just a side-note - catch me in IRC if wanted for a plan how to "fix" perl after 2.1 release (maybe with 5.24 update). > Signed-off-by: Catalin Enache <catalin.ena...@windriver.com> > --- > meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc > b/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc > index 033d4e3..830ecce 100644 > --- a/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc > +++ b/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc > @@ -13,7 +13,7 @@ > #| sed > 's/^/RDEPENDS_/;s/perl-module-/${PN}-module-/g;s/module-\(module-\)/\1/g;s/\(module-load\)-conditional/\1/g;s/encode-configlocal/&-pm/;' > #| egrep -wv > '=>|module-a|module-apache.?|module-apr|module-authen-sasl|module-b-asmdata|module-convert-ebcdic|module-devel-size|module-digest-perl-md5|module-dumpvalue|module-extutils-constant-aaargh56hash|module-extutils-xssymset|module-file-bsdglob|module-for|module-it|module-io-string|module-ipc-system-simple|module-lexical|module-local-lib|metadata|module-modperl-util|module-pluggable-object|module-test-builder-io-scalar|module-text-unidecode|module-win32|objects\sload|syscall.ph|systeminfo.ph|%s' > > /tmp/perl-rdepends > > -RDEPENDS_perl-misc += "perl" > +RDEPENDS_perl-misc += "perl perl-modules" > RDEPENDS_${PN}-pod += "perl" > > # Some additional dependencies that the above doesn't manage to figure out > -- > 1.9.1 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- Jens Rehsack - rehs...@gmail.com
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core