aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
AgeCommit message (Collapse)Author
2012-09-12perl-native: PROVIDE libmodule-build-perl-native for consistency with ↵Phil Blundell
non-native perl This module is, apparently, included in the standard perl distribution since 5.10.1 or so. The regular perl recipe has had this PROVIDES for a while but it seems to have been overlooked in the native version. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-10perl: package modules Pod-Html and Tie-Hash-NamedCaptureKang Kai
Package modules Pod-Html and Tie-Hash-NamedCapture. Without module Tie::Hash::NameCapture.pm, call "use English;" will fail. Module Pod::Html is required by LSB perl test 4.1 case all/tst_perlModPresent.pl 1. [Yocto #3031] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-31perl: Fix various nativesdk build issuesRichard Purdie
The config.sh lists -fstack-protector but this isn't in LDFLAGS. This can result in perl compilation failures due to the mismatch. Adding the flag to LDFLAGS solves makes all the flags consistent and avoids build failures from missing symbols. It was also found that the path substitutions made by the sed statement can conflict with each other and you can end up with $prefix$prefix type expressions in config.sh-X which can break the build in unusual ways. This patch anchors the expressions to ensure only true matches are replaced. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-31nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26liburi-perl: update to 1.60Kang Kai
Update to 1.60 Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09libxml-parser-perl_2.41.bb: fix MakeMaker issues with using wrong CC/LD/etcMatthew McClintock
MakeMaker has a bug where it does not propagate CC/LD/etc information down to subproject it generates Makefiles for... this recipe has has an Expat subproject which has issues building if we are using sstate-cache and it will reference the old sysroots and be unable to build properly. There is an upstream MakeMaker bug for this issue but we can work around it by fixing up the Makefiles for now See: https://rt.cpan.org/Public/Bug/Display.html?id=28632 Signed-off-by: Matthew McClintock <msm@freescale.com>
2012-07-04perl: use @STAGINGDIR@ in config.shTom Zanussi
archlibexp in the snapshotted config.sh needs to be relative to staging dir - it gets generated into Config_heavy.pl as one of the settings and is used by ExtUtils::Embed during the target build. The substituted setting doesn't make it into the target package because it's removed by perl_package_preprocess() before packaging. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perl: add @STAGINGDIR@ for config.sh substitionsTom Zanussi
For some config.sh substitions, we'd like to be able to use STAGING_DIR_HOST; add @STAGINGDIR@ to allow for that. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perl: keep original libperl locationTom Zanussi
Things like ExtTools expect to find libperl at the original (${libdir}/perl/${PV}/CORE/libperl.so) location, so keep it there but symlink to it for the original (?) reason. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-06-25libxml-simple-perl: Upgrade to 2.20Saul Wold
Change license file to LICENSE, which now contails both Artistic-1.0 and GPL-1.0 License text Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-05perl: Allow perl to cross build and native build in a directory named "t"Jason Wessel
If any directory in leading up to your tmp directory has the name "t" perl will fail to build with a very cryptic error shown below: pod/buildtoc: no pods at pod/buildtoc line 305. make[1]: *** [pod/perltoc.pod] Error 255 This is a result of the perl file checking making an assumption that it is only looking at files and directories with in the perl source directory. This assumption fails with the way bitbake sets up perl to properly cross compile. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-17perl: fix re-execution of compile taskVenkata ramana gollamudi
After building perl package, re-execution of compile task recursively substitutes the path, making it an invalid path. Fixed to prevent recursive substitution. Similar case as [Yocto #2194] Signed-off-by: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-16perl: fix re-execution of patch/configurePaul Eggleton
The perl recipe's do_configure() does some manual sed replacements over the entire WORKDIR. Fix the following issues with this: * Skip patches, which fixes re-execution of do_patch after do_configure has run once * Ensure that the replacement operation does nothing if do_configure is re-executed * Avoid unnecessarily modifying /usr/include paths within documentation that will end up being packaged * Fix a quoting issue in the expression used in the grep command that ended up causing files that did not contain .*\.h after /usr/include to be matched and modified. The files modified during do_configure have been compared before and after this patch to ensure there are no unexpected changes. Some /usr/include paths that are not within documentation are no longer being substituted however these are all within comments or scripts for other Unix operating systems that are not applicable. [YOCTO #2194] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-13PR bump packages with gdbm in DEPENDSAndrei Gherzan
This is done because of this change in gdbm: "gdbm: Package compat libs in gdbm-compat" Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-22Fix common typoes "existant", "dependant" and variationsRobert P. J. Day
Fix a couple common typoes, all contained within comments so there should be no effect on functionality. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14perl-modules: Fix LICENSE fields to mention the correct license versionsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-13perl: Clarify LICENSE with versions. Yes, its really GPLv1Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie
sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie
Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-01perl: remove empty directories to clean QA WarningsSaul Wold
WARNING: For recipe perl, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/perl/site_perl WARNING: /usr/lib/perl/site_perl/5.14.2 Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-01-03perl: mark upstream status for all patchesNitin A Kamble
All the patches imported from debian source packages are marked accordingly. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-12-15perl: add .pl, pm, pod, sh files to SSTATE_SCANE_FILESSaul Wold
This fixes problems where hardcoded paths in the file were incorrect during sstate reusage of the task output. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-30perl: bump PR for gdbm SOVERSION changeKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie
This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-25libxml-parser-perl, libxml-simple-perl, expat, sgmlspl-native, git: bump PR ↵Martin Jansa
to rebuild after perl upgrade * this isn't probably complete list.. just what failed here Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-24perl: upgrade from 5.12.3 to 5.14.2Nitin A Kamble
parallel build fix patches are not needed as they are upstream now. Got a new set of debian patch set for 5.14.2 perl-rpdepends: fix the autogenerated rdepends mistakes take out some mdoules which are not going to be built. [Saul Wold: Remove debug] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-10-20liburi-perl: update to 1.59Kang Kai
Update liburi-perl to 1.59 Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-10-20libxml-parser-perl: upgrade from 2.40 to 2.41Nitin A Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-10-06liburi-perl: Add SRC_URI ChecksumSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-10-06libxml-perl: Add SRC_URI ChecksumSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-22perl: Fix a few perl binaries to use target interpreter pathsMark Hatle
A small number of target installed programs, "${bindir}/pod*", were incorrectly using the perl-native paths to access perl. This caused a dependency failure during RPM rootfs install, and also prevented those specific components from functioning. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-23recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj
Some place pnum=1 is used which is removed as well since striplevel=1 is default Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-19perl-native: Update find_perl to find the perl wrapperWenzong Fan
[YOCTO #1157] [YOCTO #829] This is a common issue to the packages which using 'MakeMaker.pm' to generate their Makefiles. The function 'find_perl()' in 'MM_Unix.pm' will be used to figure out the path/link of 'PERL/FULLPERL', but it always find the 'perl.real' instead of perl wrapper. Just update it to find the perl wrapper correctly. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-08-03libxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipeDongxiao Xu
It's not appropriate to require xxx.bb in xxx-native.bb, causing that xxx-native depends on target recipe. Use BBCLASSEXTEND to solve this issue. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-26meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESSKhem Raj
There is this discrepency in spelling. Lets fix it in core. There are lot of layers using SITEINFO_ENDIANNESS This was shielded since meta-oe had its own copy of siteinfo class. But that class has now been deleted in favor of oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-25perl-dynloader.patch: Fix multilib issue for perlMei Lei
The perl-dynloader.patch can't support lib64 lib32, libx32, etc. Relax the regular expression to fix this issue. Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-21cpan.bbclass: Perform more mangling for perl pathTom Rini
On hosts where we may already be past the #! limit this is required and this is safe on the target as well. This is be7fe31 in oe.dev. Related to this we now bump all PRs for recipes that inherit cpan. Note that in oe.dev we mangle for perl but here we use the new nativeperl script. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-21perl-native: Add a perl-native wrapper in the normal bindirTom Rini
We need this to allow for scripts to do #!/usr/bin/env perl-native and not require an 'inherit perlnative' per user of a package. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-20perl: revise the RRECOMMENDS_perl-modules for multilib caseYu Ke
current RRECOMMENDS_perl-modules replace the hardcode "perl-dbg", "perl-misc" etc. which does not work in multilib case. Instead, it should replace the "lib64-perl-dbg", "lib-64-perl-misc". without doing this, current code will produce RRECOMMENDS=lib64-lib64-xxx etc This patch revise the code to fix this issue Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
2011-07-14perl: Use SITEINFO variables not functionsTom Rini
Switch from SITEINFO_BITS / SITEINFO_ENDIANESS rather than siteinfo_get... Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-12perl: fix for non /usr/lib libdir caseYu Ke
the config.sh is hardcoded to be /usr/lib, which does not work in non /usr/lib libdir case. This patch replace the hard code /usr/lib with ${libdir} to fix this issue Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05libxml-parser-perl: convert to BBCLASSEXTEND, merge in OE fixesKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01Drop PRIORITY variableRichard Purdie
As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-01perl: Fix package qa rpath warnings.Nitin A Kamble
Fix these kinds of Package QA warnings before they are converted into fetal errors: WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so This fixes this warning for perl recipe as well as libxml-parser-perl recipe. It is a fix to MakeMaker within perl, so all such perl recipes will get fixed with this perl fix. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-06-23libxml-parser-perl: Fix debug packageMark Hatle
Certain files were being missed in the -dbg package, fix this. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-14perl-native: populate into its own dirDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14perl: inherit perlnativeDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14libxml-parser-perl: inherit perlnativeDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-06-14libxml-simple-perl: fix EXTRA_PERLFLAGS due the the perlnative changeDexuan Cui
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>