Commit Graph

41 Commits

Author SHA1 Message Date
Tom Rini 5a3d24e6bf perl-native: create_wrapper on perl${PV} too
perl${PV} becomes hostperl when building for the target so we need a wrapper
on that too.

This is 1e255fbd296e95ff178d66c4a1fe4875a988d7e1 in OE.

(From OE-Core rev: 8e601cfb307bc9064a2478a87ad3097e21871ff7)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-17 15:14:44 +01:00
Nitin A Kamble 42d2170f86 recipes: Update upstream-status of patches
python: update upstream-status for patches
binutils: update upstream-status for patches
gcc 4.5.1 4.6.0: update upstream-status for patches
autoconf: update upstream-status for patches
automake: update upstream-status for patches
bison: update upstream-status for patches
distcc: update upstream-status of patches
fstests: update upstream-status for patches
gdb: update upstream-status of patches
intltool: update upstream-status of patches
libtool: update upstream status of patches
linux-libc-headers: update upstream-status for patches
make: update upstream-status for patches
perl: update upstream-status for patches
python-pycurl: update upstream-status for patches
python-pygobject: update upstream status for patches
python-pyrex: update upstream-status for patches
quilt: update upstream-status of patches
tcl: update upstream-status for patches
gnu-config: update upstream-status for patches
gmp: update upstream-status for patches

(From OE-Core rev: a62fa9b213b09bf48c48499d2e3c66a9ee306deb)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-13 11:02:19 +01:00
Paul Eggleton bbd6999a72 Remove distro-specific metadata for distros not in oe-core
(From OE-Core rev: ea2cd4b8e9bc013a007fe2a1a605ecb59db5a896)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-05 12:26:30 +01:00
Saul Wold 49e2fcc604 perl: fix Configure-multilib.patch
Thanks to Gary Thomas for his input on fixing this for Ubuntu 11.04

(From OE-Core rev: 041a10722b7311c57a03d5a032621d8c32e4fc7e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-04 00:54:51 +01:00
Khem Raj 7050587909 perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha
Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and
/lib/${arch}-linux-gnu so we need that to be added to glibpth in
Configure.

Currently we set LD=ld in environment for recipes inheriting native
class. This overrides the LD settings in the Makefiles of perl and
it tries to link by calling ld which does not work since its using
-l<x> on commandline and ubuntu linker seems not to look into
the new location for these libraries. Its better to use gcc for linking
here anyway

[With tweak from Tom Rini to use CCLD, not LD]
(From OE-Core rev: 8ba700a4c593fd52bd01b6272b4c8285a71964f7)

(From OE-Core rev: 9260c1b9d04a88d15ab5376c7cd56f381fe3e53b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Further tweaks to Configure-multilib.patch for x86_64 vs x86
from Gary Thomas

Cc: gary@mlbassoc.com
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-04 00:54:51 +01:00
Khem Raj fbdbdb161e perl_5.12.2.bb: Undefine features not found in uclibc
[sgw: cleaned whitespace issue, removed unneeded ;patch=1]
(From OE-Core rev: b868f6784f57db569bf300722324b3c8869de7bc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-28 10:45:51 +01:00
Khem Raj bffd29b0da perl_5.12.2.bb: Undefine features not found in uclibc
(From OE-Core rev: 75fea9d4064985de26316021e0fc4fd81fa341ef)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-28 10:44:38 +01:00
Nitin A Kamble 829b985eb5 perl: upgrade from 5.12.2 to 5.12.3
And changed the perl tarball URL to more stable cpan location.

(From OE-Core rev: 3a08c401f298095840a2aee9079845f5ff434410)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-28 10:44:22 +01:00
Nitin A Kamble af25aea6f1 libxml-parser-perl: upgrade from 2.36 to 2.40
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-24 22:50:38 +01:00
Nitin A Kamble 345de20815 perl-5.12.2: use of PERLHOSTLIB var fix
PERLHOSTLIB var is used to build target perl. It let perl use the native
perl .so module files at the time of compilation of target perl.

These changes to perl make the PERLHOSTLIB variable also useful for
building perl modules to use native .so perl module.

(From OE-Core rev: f4d51e63c0df777bbcbe9ad160eb3ba41ae74c6e)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-24 22:50:36 +01:00
Saul Wold 7850838486 liburi-perl: update to 1.58
(From OE-Core rev: 26b5332372513bfd70abd8d8e5fe0a5880eb0791)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-08 06:14:59 -07:00
Khem Raj 0af5e13667 perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha
Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and
/lib/${arch}-linux-gnu so we need that to be added to glibpth in
Configure.

Currently we set LD=ld in environment for recipes inheriting native
class. This overrides the LD settings in the Makefiles of perl and
it tries to link by calling ld which does not work since its using
-l<x> on commandline and ubuntu linker seems not to look into
the new location for these libraries. Its better to use gcc for linking
here anyway

[With tweak from Tom Rini to use CCLD, not LD]
(From OE-Core rev: 8ba700a4c593fd52bd01b6272b4c8285a71964f7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:43:59 +00:00
Richard Purdie 257a9edb4b Update SRC_URIs to use BPN instead of PN
[YOCTO #860]

(From OE-Core rev: 09ed5de9624be38c0fa5cb3f943691c3b4a50686)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-14 22:36:25 +00:00
Nitin A Kamble 4817a48523 perl: another set of parallel build fixes
[YOCTO #784]

Imported more commits from the perl upstream tree

(From OE-Core rev: c3b74b0c3833541ab5e89a7f9597f1ef8a413a70)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-11 15:07:33 -08:00
Jingdong Lu 00dee01d4b libxml-parser-perl: remove FILES_${PN}
Because of the error path in FILES_${PN} we got nothing in libxml-parser-perl package.
Romove "FILES_${PN}"

[sgw Bump PR]
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-25 19:08:03 -08:00
Nitin A Kamble 9eb9125de8 perl: import parallel build fixes from upstream git tree
The parallel build issue is fixed in the upstream perl git tree
differently. Replacing our fix with the upstream fix.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-24 14:34:48 -08:00
Richard Purdie be92622339 Remove all comments from multiline expressions (as mentioned in bug #704)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-22 21:45:28 +00:00
Nitin A Kamble 265bd1ce61 perl-native: fix parallel build
perl native recipe was failing on 40-way system with the parallel build turned
on. With this patch the parallel build on 40 way build system is not failing.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>

Passed 31 clean/build cycles on the 40-way.

Tested-by: Darren Hart <dvhart@linux.intel.com>
2011-02-17 23:19:39 +00:00
Nitin A Kamble 7b9ae9c045 perl perl-native: turn on parallel make
tested this on all architectures, and build works fine.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-16 11:55:08 -08:00
Richard Purdie c7c4c6678b Revert "perl-native: Update for userelocatableinc and non-shared libperl"
This reverts commit fe59ca31ac.

This broke builds for various people as reported in the bugzilla and on the
mailing list so we're reverting the change until Tom has a chance to make it
work properly for 5.12 (5.10 seems to work differently).

The DEPENDS change is left in since that part was valid.
2011-02-01 23:20:47 +00:00
Tom Rini fe59ca31ac perl-native: Update for userelocatableinc and non-shared libperl
Rather than using a wrapper switch to using upstreams support for
relocation.  While in here, bring in the mangling to use
/usr/bin/env perl rather than /full/path/to in order to work
in deep directory paths.

Also drop the DEPENDS on gpbm and db since we disable these in the configure
and don't use them.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-31 16:29:50 +00:00
Dongxiao Xu b02a4addca perl: Remove ${MACHINE} dependency in compile and package.
The judgement on ${MACHINE} is meaningless, remove it in order to avoid
being rebuild on second machine.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-01-27 11:25:17 +00:00
Richard Purdie d332f1881f perl: Remove MACHINE reference in do_configure, it causes perl to be rebuild many times
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-26 11:37:31 +00:00
Jingdong Lu 562789455d liburi-perl: Rename liburi-perl
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-01-25 12:25:45 +00:00
Jingdong Lu d075d14b7d perl: Add GDBM module for perl
Add GDBM_File module and add it into perl extension in config.sh in order to fix failure of lsb-perl-test.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2011-01-20 21:37:02 +00:00
Richard Purdie a7fa6dbb91 perl-native: Ensure the wrapper appends to any existing PERL5LIB
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-17 15:15:13 +00:00
Richard Purdie fad5c8a332 perl-native: Wrap the perl binary and set the LIB directory correctly removing the need to hardcode the paths and rebuild it
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-12 17:29:40 +00:00
Nitin A Kamble cebc043e2e libxml-simple-perl: fix build failure with perl 5.12.2
for hostperl needing to load .so files (for module scalar::util) the host/native
perl library path is placed 1st in the @INC with the -I parameter to perl.
  Otherwise hostperl gives error can not load module scalar::util.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-01-12 00:55:48 -08:00
Nitin A Kamble f57e9daf74 perl, perl-native: upgrade from 5.8.8 to 5.12.2
Deleted these patches as they are part of the upstream code now.
    deleted:    files/perl-5.8.8-gcc-4.2.patch
    deleted:    perl-5.12.2/makedepend-dash.patch
    deleted:    perl-5.12.2/native-no-gdbminc.patch
    deleted:    perl-5.12.2/54_debian_perldoc-r.patch

And rebased these patches to the newer source code
    modified:   files/letgcc-find-errno.patch
    modified:   perl-5.12.2/Makefile.patch
    modified:   perl-5.12.2/asm-pageh-fix.patch
    modified:   perl-5.12.2/native-nopacklist.patch
    modified:   perl-5.12.2/native-perlinc.patch
    modified:   perl-5.12.2/Makefile.SH.patch
    modified:   perl-5.12.2/installperl.patch
    modified:   perl-5.12.2/perl-dynloader.patch
    modified:   perl-5.12.2/09_fix_installperl.patch

get patches from debian perl ver 5.12.2-2
   the fakeroot.diff patch from debian is conflicting with our
   Makefile.SH.patch, hence disabling the fakeroot patch

use newly created config files
   Created with current milestone branch on qemu machines
      modified:   config.sh
      modified:   config.sh-32
      modified:   config.sh-64

get some changes from oe's perl 5.10.1 recipe
   fix the Makefile.SH.patch use miniperl instead of perl
   import a OE 5.10.1 patch: uudmap_cross

fix install issues
   add /usr in the destdir, so that perl gets installed in
   /usr/bin/perl and not in /bin/perl

   link /usr/lib/perl to /usr/lib/perl5 so that operations with
   /usr/lib/perl path in them keep on working.

Fix/Improve perl packaging
   avoid perl-module-module-* kind of packages
   recreate perl-rdepends_5.12.2.inc file with new set of packages
   import from oe perl-rprovide_5.12.2.inc
   combine all unicore perl scripts in one package
   simplify perl-lib
   reduce no of perl recipe packages greatly.

Add zlib to depedancy

fix buildtime host contamination

This also fixes [BUGID #384]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-01-12 00:55:48 -08:00
Kevin Tian 16fa641f99 perl: use ${CCLD} instead of its own LD definition
perl explicitly assigns LD to a bogus value:
    oe_runmake perl LD="${TARGET_SYS}-gcc"
which breaks sstate-based build when toolchain is not generated locally,
due to lacking of --sysroot option. Use ${CCLD} instead to make this
relocatable.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2011-01-07 11:09:48 +00:00
Saul Wold 8b08c0d398 perl: Add LIC_FILES_CHKSUM to native recipe
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-23 14:28:22 +00:00
Richard Purdie 9975c00c1a perl-native: Make the sstate checksum for perl depend on the hardcoded path until this is fixed
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-20 22:45:01 +00:00
Mark Hatle 8bcb64c073 recipes-devtools: Add Summary information
Add Summary information and update Descripts as necessary.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-12-16 15:53:08 +00:00
Jingdong Lu 4806041a85 liburi-perl: Add perl-uri
Add perl-uri in order to enable graphic LSB test(OLVER-Core test).

[sgw@linux.intel.com: fixed name and LICENSE]
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-10 23:13:00 +00:00
Jingdong Lu d905d18fe7 libxml-perl: Add libxml-perl
Add libxml-perl in order to enable graphic LSB test(OLVER-Core test).

[sgw@linux.intel.com: fixed LICENSE]
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-10 23:13:00 +00:00
Jingdong Lu 6e4bfac48a perl: Fix adding GDBM_File module for LSB test.
No GDBM_File module will cause 2 perl test cases of LSB failed.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2010-12-10 23:13:00 +00:00
Saul Wold 3d08b9f2c6 SRC_URI Checksums Additionals
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-09 08:18:17 -08:00
Mei Lei 6d70138787 libxml-simple-perl:Add license checksum to bb file
Add README file checksu  to bb file

Signed-off-by: Mei Lei <lei.mei@intel.com>
2010-12-02 05:24:50 -08:00
Mei Lei 96a1ab021b perl:Add license checksum to bb file
Add Copying file and Artistic file checksum to bb file

Signed-off-by: Mei Lei <lei.mei@intel.com>
2010-12-02 05:24:48 -08:00
Mei Lei 41b9ce7d81 libxml-parser-perl:Add license checksum to bb file
Add README file checksum to bb file

Signed-off-by: Mei Lei <lei.mei@intel.com>
2010-12-02 05:24:45 -08:00
Richard Purdie 29d6678fd5 Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.

The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.

Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-27 15:29:45 +01:00