All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] V3: Patches for LSB perl test
@ 2012-09-06  2:28 Kang Kai
  2012-09-06  2:28 ` [PATCH 1/9] meta-lsb: add layer meta-lsb Kang Kai
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Kang Kai @ 2012-09-06  2:28 UTC (permalink / raw)
  To: sgw; +Cc: Zhenfeng.Zhao, openembedded-core

Hi Saul,

V3 just update packagegroup-core-lsb.bbappend commit that I missed the task --> packagegoups rename.

V2:
I create layer meta-lsb and put the new added recipes for LSB test there.
Patch for perl is just modify the file in layer meta.

Regards,
Kai

The following changes since commit 99c85ba93075a1aff789cafabbacf42e6a93bd32:

  build-appliance-image: Update to latest poky master (2012-09-04 18:04:40 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib kangkai/lsb
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/lsb

Kang Kai (9):
  meta-lsb: add layer meta-lsb
  libclass-isa-perl: add it
  perl: package modules Pod-Html and Tie-Hash-NamedCapture
  libpod-plainer-perl: add it
  libdumpvalue-perl: add it
  libenv-perl: add it
  libfile-checktree-perl: add it
  libi18n-collate-perl: add it
  packagegroup-core-lsb.bbappend: add bbappend file

 meta-lsb/README                                    |    4 ++
 meta-lsb/conf/layer.conf                           |   10 ++++++
 .../packagegroups/packagegroup-core-lsb.bbappend   |   15 +++++++++
 .../perl/libclass-isa-perl_0.36.bb                 |   32 +++++++++++++++++++
 .../perl/libdumpvalue-perl_1.16.bb                 |   20 ++++++++++++
 meta-lsb/recipes-devtools/perl/libenv-perl_1.03.bb |   22 +++++++++++++
 .../perl/libfile-checktree-perl_4.41.bb            |   33 ++++++++++++++++++++
 .../perl/libi18n-collate-perl_1.02.bb              |   22 +++++++++++++
 .../perl/libpod-plainer-perl_1.03.bb               |   24 ++++++++++++++
 meta/recipes-devtools/perl/perl-5.14.2/config.sh   |    2 +-
 10 files changed, 183 insertions(+), 1 deletions(-)
 create mode 100644 meta-lsb/README
 create mode 100644 meta-lsb/conf/layer.conf
 create mode 100644 meta-lsb/recipes-core/packagegroups/packagegroup-core-lsb.bbappend
 create mode 100644 meta-lsb/recipes-devtools/perl/libclass-isa-perl_0.36.bb
 create mode 100644 meta-lsb/recipes-devtools/perl/libdumpvalue-perl_1.16.bb
 create mode 100644 meta-lsb/recipes-devtools/perl/libenv-perl_1.03.bb
 create mode 100644 meta-lsb/recipes-devtools/perl/libfile-checktree-perl_4.41.bb
 create mode 100644 meta-lsb/recipes-devtools/perl/libi18n-collate-perl_1.02.bb
 create mode 100644 meta-lsb/recipes-devtools/perl/libpod-plainer-perl_1.03.bb

-- 
1.7.5.4




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/9] meta-lsb: add layer meta-lsb
  2012-09-06  2:28 [PATCH 0/9] V3: Patches for LSB perl test Kang Kai
@ 2012-09-06  2:28 ` Kang Kai
  2012-09-06  2:28 ` [PATCH 2/9] libclass-isa-perl: add it Kang Kai
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Kang Kai @ 2012-09-06  2:28 UTC (permalink / raw)
  To: sgw; +Cc: Zhenfeng.Zhao, openembedded-core

Create layer meta-lsb and put extra packages that required by lsb test
here.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta-lsb/README          |    4 ++++
 meta-lsb/conf/layer.conf |   10 ++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 meta-lsb/README
 create mode 100644 meta-lsb/conf/layer.conf

diff --git a/meta-lsb/README b/meta-lsb/README
new file mode 100644
index 0000000..70acaf2
--- /dev/null
+++ b/meta-lsb/README
@@ -0,0 +1,4 @@
+meta-lsb
+==========
+
+This is the location for packages that required by LSB test suit.
diff --git a/meta-lsb/conf/layer.conf b/meta-lsb/conf/layer.conf
new file mode 100644
index 0000000..1008075
--- /dev/null
+++ b/meta-lsb/conf/layer.conf
@@ -0,0 +1,10 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH := "${BBPATH}:${LAYERDIR}"
+
+# We have a packages directory, add to BBFILES
+BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
+            ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "lsb"
+BBFILE_PATTERN_lsb := "^${LAYERDIR}/"
+BBFILE_PRIORITY_lsb = "5"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/9] libclass-isa-perl: add it
  2012-09-06  2:28 [PATCH 0/9] V3: Patches for LSB perl test Kang Kai
  2012-09-06  2:28 ` [PATCH 1/9] meta-lsb: add layer meta-lsb Kang Kai
@ 2012-09-06  2:28 ` Kang Kai
  2012-09-06  2:28 ` [PATCH 3/9] perl: package modules Pod-Html and Tie-Hash-NamedCapture Kang Kai
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Kang Kai @ 2012-09-06  2:28 UTC (permalink / raw)
  To: sgw; +Cc: Zhenfeng.Zhao, openembedded-core

perl module Class::ISA is needed by LSB 4.1 perl test, so add it.
When LSB 5.0 release, it will be deprecated. But we need it now.

[Yocto #3030]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../perl/libclass-isa-perl_0.36.bb                 |   32 ++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 meta-lsb/recipes-devtools/perl/libclass-isa-perl_0.36.bb

diff --git a/meta-lsb/recipes-devtools/perl/libclass-isa-perl_0.36.bb b/meta-lsb/recipes-devtools/perl/libclass-isa-perl_0.36.bb
new file mode 100644
index 0000000..0a9c5cc
--- /dev/null
+++ b/meta-lsb/recipes-devtools/perl/libclass-isa-perl_0.36.bb
@@ -0,0 +1,32 @@
+SUMMARY = "Perl module for reporting the search path for a class's ISA tree"
+DESCRIPTION = "Suppose you have a class (like Food::Fish::Fishstick) that is derived, \
+via its @ISA, from one or more superclasses (as Food::Fish::Fishstick is from Food::Fish,\
+Life::Fungus, and Chemicals), and some of those superclasses may themselves each be\
+derived, via its @ISA, from one or more superclasses (as above).\
+\
+When, then, you call a method in that class ($fishstick->calories), Perl first searches\
+there for that method, but if it's not there, it goes searching in its superclasses, and\
+so on, in a depth-first (or maybe "height-first" is the word) search. In the above example,\
+it'd first look in Food::Fish, then Food, then Matter, then Life::Fungus, then Life, then\
+Chemicals.\
+\
+This library, Class::ISA, provides functions that return that list -- the list\
+(in order) of names of classes Perl would search to find a method, with no duplicates."
+
+HOMEPAGE = "http://search.cpan.org/dist/Class-ISA/"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://README;beginline=107;endline=111;md5=6a5c6842a63cfe4dab1f66e2350e4d25"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/Class-ISA-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "3a2ad203c8dc87d6c9de16215d00af47"
+SRC_URI[sha256sum] = "8816f34e9a38e849a10df756030dccf9fe061a196c11ac3faafd7113c929b964"
+
+S = "${WORKDIR}/Class-ISA-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/9] perl: package modules Pod-Html and Tie-Hash-NamedCapture
  2012-09-06  2:28 [PATCH 0/9] V3: Patches for LSB perl test Kang Kai
  2012-09-06  2:28 ` [PATCH 1/9] meta-lsb: add layer meta-lsb Kang Kai
  2012-09-06  2:28 ` [PATCH 2/9] libclass-isa-perl: add it Kang Kai
@ 2012-09-06  2:28 ` Kang Kai
  2012-09-06  2:28 ` [PATCH 4/9] libpod-plainer-perl: add it Kang Kai
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Kang Kai @ 2012-09-06  2:28 UTC (permalink / raw)
  To: sgw; +Cc: Zhenfeng.Zhao, openembedded-core

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>
---
 meta/recipes-devtools/perl/perl-5.14.2/config.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh b/meta/recipes-devtools/perl/perl-5.14.2/config.sh
index 75dc2d0..ed946d3 100644
--- a/meta/recipes-devtools/perl/perl-5.14.2/config.sh
+++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh
@@ -846,7 +846,7 @@ netdb_net_type='in_addr_t'
 nm='nm'
 nm_opt=''
 nm_so_opt='--dynamic'
-nonxs_ext='Archive/Extract Archive/Tar Attribute/Handlers AutoLoader B/Debug B/Deparse B/Lint CGI CPAN CPANPLUS CPANPLUS/Dist/Build Class/ISA Devel/SelfStubber Digest Errno ExtUtils/CBuilder ExtUtils/Command ExtUtils/Constant ExtUtils/Install ExtUtils/MakeMaker ExtUtils/Manifest ExtUtils/ParseXS File/Fetch File/Path File/Temp FileCache Filter/Simple Getopt/Long I18N/LangTags IO/Compress IO/Zlib IPC/Cmd IPC/Open2 IPC/Open3 Locale/Codes Locale/Maketext Locale/Maketext/Simple Log/Message Log/Message/Simple Math/BigInt Math/BigRat Math/Complex Memoize Module/Build Module/CoreList Module/Load Module/Load/Conditional Module/Loaded Module/Pluggable NEXT Net/Ping Object/Accessor Package/Constants Params/Check Parse/CPAN/Meta PerlIO/via/QuotedPrint Pod/Escapes Pod/LaTeX Pod/Parser Pod/Perldoc Pod/Plainer Pod/Simple Safe SelfLoader Shell Switch Term/ANSIColor Term/Cap Term/UI Test Test/Harness Test/Simple Text/Balanced Text/ParseWords Text/Tabs Thread/Queue Thread/Semaphore Tie/File Tie/Memoize Tie/RefHash Time/Local Unicode/Collate XSLoader autodie autouse base bignum constant encoding/warnings if lib libnet parent podlators'
+nonxs_ext='Archive/Extract Archive/Tar Attribute/Handlers AutoLoader B/Debug B/Deparse B/Lint CGI CPAN CPANPLUS CPANPLUS/Dist/Build Class/ISA Devel/SelfStubber Digest Errno ExtUtils/CBuilder ExtUtils/Command ExtUtils/Constant ExtUtils/Install ExtUtils/MakeMaker ExtUtils/Manifest ExtUtils/ParseXS File/Fetch File/Path File/Temp FileCache Filter/Simple Getopt/Long I18N/LangTags IO/Compress IO/Zlib IPC/Cmd IPC/Open2 IPC/Open3 Locale/Codes Locale/Maketext Locale/Maketext/Simple Log/Message Log/Message/Simple Math/BigInt Math/BigRat Math/Complex Memoize Module/Build Module/CoreList Module/Load Module/Load/Conditional Module/Loaded Module/Pluggable NEXT Net/Ping Object/Accessor Package/Constants Params/Check Parse/CPAN/Meta PerlIO/via/QuotedPrint Pod/Escapes Pod/Html Pod/LaTeX Pod/Parser Pod/Perldoc Pod/Plainer Pod/Simple Safe SelfLoader Shell Switch Term/ANSIColor Term/Cap Term/UI Test Test/Harness Test/Simple Text/Balanced Text/ParseWords Text/Tabs Thread/Queue Thread/Semaphore Tie/File Tie/Hash/NamedCapture Tie/Memoize Tie/RefHash Time/Local Unicode/Collate XSLoader autodie autouse base bignum constant encoding/warnings if lib libnet parent podlators'
 nroff='nroff'
 nvEUformat='"E"'
 nvFUformat='"F"'
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 4/9] libpod-plainer-perl: add it
  2012-09-06  2:28 [PATCH 0/9] V3: Patches for LSB perl test Kang Kai
                   ` (2 preceding siblings ...)
  2012-09-06  2:28 ` [PATCH 3/9] perl: package modules Pod-Html and Tie-Hash-NamedCapture Kang Kai
@ 2012-09-06  2:28 ` Kang Kai
  2012-09-06  2:28 ` [PATCH 5/9] libdumpvalue-perl: " Kang Kai
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Kang Kai @ 2012-09-06  2:28 UTC (permalink / raw)
  To: sgw; +Cc: Zhenfeng.Zhao, openembedded-core

LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with:
test 190 'use Pod::Plainer;' failed

Add libpod-plainer-perl to fix it, but it will be deprecated in LSB 5.0.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../perl/libpod-plainer-perl_1.03.bb               |   24 ++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta-lsb/recipes-devtools/perl/libpod-plainer-perl_1.03.bb

diff --git a/meta-lsb/recipes-devtools/perl/libpod-plainer-perl_1.03.bb b/meta-lsb/recipes-devtools/perl/libpod-plainer-perl_1.03.bb
new file mode 100644
index 0000000..809c740
--- /dev/null
+++ b/meta-lsb/recipes-devtools/perl/libpod-plainer-perl_1.03.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Perl extension for converting Pod to old-style Pod."
+DESCRIPTION = "Pod::Plainer uses Pod::Parser which takes Pod with the (new) 'C<< .. >>' \
+constructs and returns the old(er) style with just 'C<>'; '<' and '>' are replaced by \
+'E<lt>' and 'E<gt>'. \
+\
+This can be used to pre-process Pod before using tools which do not recognise the new style Pods."
+
+HOMEPAGE = "http://search.cpan.org/dist/Pod-Plainer/"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://README;beginline=27;md5=80b4a99d477135bfcd1d0a44a041c63c"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RM/RMBARKER/Pod-Plainer-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "15d42071d6bd861cb72daa8cc3111cd3"
+SRC_URI[sha256sum] = "9d153b1d8609606a3424f07a7f4ce955af32131d484cb9602812122bb1ee745b"
+
+S = "${WORKDIR}/Pod-Plainer-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 5/9] libdumpvalue-perl: add it
  2012-09-06  2:28 [PATCH 0/9] V3: Patches for LSB perl test Kang Kai
                   ` (3 preceding siblings ...)
  2012-09-06  2:28 ` [PATCH 4/9] libpod-plainer-perl: add it Kang Kai
@ 2012-09-06  2:28 ` Kang Kai
  2012-09-06  2:28 ` [PATCH 6/9] libenv-perl: " Kang Kai
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Kang Kai @ 2012-09-06  2:28 UTC (permalink / raw)
  To: sgw; +Cc: Zhenfeng.Zhao, openembedded-core

LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with:
test 44 'use Dumpvalue;' failed

So add libdumpvalue-perl to fix it.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../perl/libdumpvalue-perl_1.16.bb                 |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 meta-lsb/recipes-devtools/perl/libdumpvalue-perl_1.16.bb

diff --git a/meta-lsb/recipes-devtools/perl/libdumpvalue-perl_1.16.bb b/meta-lsb/recipes-devtools/perl/libdumpvalue-perl_1.16.bb
new file mode 100644
index 0000000..8476b94
--- /dev/null
+++ b/meta-lsb/recipes-devtools/perl/libdumpvalue-perl_1.16.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Perl module for provides screen dump of Perl data."
+DESCRIPTION = "Perl module for provides screen dump of Perl data."
+
+HOMEPAGE = "http://search.cpan.org/~flora/Dumpvalue/"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=31013c0a67276e1ca20f358868cf99ab"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Dumpvalue-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "bef29bf25717db250929bf2b065c4183"
+SRC_URI[sha256sum] = "8204ea8f95dc6b137e225702e9bacaa23646ffa8c1c9eef45fa06a7f19f338f2"
+
+S = "${WORKDIR}/Dumpvalue-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 6/9] libenv-perl: add it
  2012-09-06  2:28 [PATCH 0/9] V3: Patches for LSB perl test Kang Kai
                   ` (4 preceding siblings ...)
  2012-09-06  2:28 ` [PATCH 5/9] libdumpvalue-perl: " Kang Kai
@ 2012-09-06  2:28 ` Kang Kai
  2012-09-06  2:28 ` [PATCH 7/9] libfile-checktree-perl: " Kang Kai
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Kang Kai @ 2012-09-06  2:28 UTC (permalink / raw)
  To: sgw; +Cc: Zhenfeng.Zhao, openembedded-core

LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl 1 fails with:
test 67 'use Env;' failed

So add it for fix this issue.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta-lsb/recipes-devtools/perl/libenv-perl_1.03.bb |   22 ++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 meta-lsb/recipes-devtools/perl/libenv-perl_1.03.bb

diff --git a/meta-lsb/recipes-devtools/perl/libenv-perl_1.03.bb b/meta-lsb/recipes-devtools/perl/libenv-perl_1.03.bb
new file mode 100644
index 0000000..6cc4ed4
--- /dev/null
+++ b/meta-lsb/recipes-devtools/perl/libenv-perl_1.03.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Perl module that imports environment variables as scalars or arrays."
+DESCRIPTION = "Perl maintains environment variables in a special hash named %ENV. \
+For when this access method is inconvenient, the Perl module Env allows environment \
+variables to be treated as scalar or array variables."
+
+HOMEPAGE = "http://search.cpan.org/~flora/Env/"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=421c6c0cda752f4977b8287ecebf6061"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Env-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "471070589ae99415d8956e042c2f12da"
+SRC_URI[sha256sum] = "de4134ed0c4485e64e7f0fe3e65bab81917cb400cc0d316979df8322d0bdaecc"
+
+S = "${WORKDIR}/Env-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 7/9] libfile-checktree-perl: add it
  2012-09-06  2:28 [PATCH 0/9] V3: Patches for LSB perl test Kang Kai
                   ` (5 preceding siblings ...)
  2012-09-06  2:28 ` [PATCH 6/9] libenv-perl: " Kang Kai
@ 2012-09-06  2:28 ` Kang Kai
  2012-09-06  2:28 ` [PATCH 8/9] libi18n-collate-perl: " Kang Kai
  2012-09-06  2:28 ` [PATCH 9/9] packagegroup-core-lsb.bbappend: add bbappend file Kang Kai
  8 siblings, 0 replies; 10+ messages in thread
From: Kang Kai @ 2012-09-06  2:28 UTC (permalink / raw)
  To: sgw; +Cc: Zhenfeng.Zhao, openembedded-core

LSB perl test 4.1.6-2, all/tst_perlModPresent.pl 1 fails with:
test 88 'use File::CheckTree;' failed

Add it to fix this issue.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../perl/libfile-checktree-perl_4.41.bb            |   33 ++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 meta-lsb/recipes-devtools/perl/libfile-checktree-perl_4.41.bb

diff --git a/meta-lsb/recipes-devtools/perl/libfile-checktree-perl_4.41.bb b/meta-lsb/recipes-devtools/perl/libfile-checktree-perl_4.41.bb
new file mode 100644
index 0000000..f11db5e
--- /dev/null
+++ b/meta-lsb/recipes-devtools/perl/libfile-checktree-perl_4.41.bb
@@ -0,0 +1,33 @@
+SUMMARY = "Perl module that run many filetest checks on a tree"
+DESCRIPTION = "The validate() routine takes a single multiline string consisting \
+of directives, each containing a filename plus a file test to try on it. (The file \
+test may also be a "cd", causing subsequent relative filenames to be interpreted \
+relative to that directory.) After the file test you may put || die to make it a \
+fatal error if the file test fails. The default is || warn. The file test may \
+optionally have a "!' prepended to test for the opposite condition. If you do a \
+cd and then list some relative filenames, you may want to indent them slightly for \
+readability. If you supply your own die() or warn() message, you can use $file to \
+interpolate the filename. \
+\
+Filetests may be bunched: "-rwx" tests for all of -r, -w, and -x. Only the first failed \
+test of the bunch will produce a warning. \
+\
+The routine returns the number of warnings issued."
+
+HOMEPAGE = "http://search.cpan.org/~flora/File-CheckTree/"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c6fcacc5df80e037060300a7f4b93bf9"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/File-CheckTree-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "519c82aa7e5b7f752b4da14a6c8ad740"
+SRC_URI[sha256sum] = "fc99ab6bb5af4664832715974b5a19e328071dc9202ab72e5d5a594ebd46a729"
+
+S = "${WORKDIR}/File-CheckTree-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 8/9] libi18n-collate-perl: add it
  2012-09-06  2:28 [PATCH 0/9] V3: Patches for LSB perl test Kang Kai
                   ` (6 preceding siblings ...)
  2012-09-06  2:28 ` [PATCH 7/9] libfile-checktree-perl: " Kang Kai
@ 2012-09-06  2:28 ` Kang Kai
  2012-09-06  2:28 ` [PATCH 9/9] packagegroup-core-lsb.bbappend: add bbappend file Kang Kai
  8 siblings, 0 replies; 10+ messages in thread
From: Kang Kai @ 2012-09-06  2:28 UTC (permalink / raw)
  To: sgw; +Cc: Zhenfeng.Zhao, openembedded-core

LSB perl test 4.1.6-2, all/tst_perlModPresent.pl 1 fails with:
test 109 'use I18N::Collate;' failed

This module is deprecated from perl 5.003_06. But LSB perl test
4.1.6-2 still test it. So add it to fix this issue.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../perl/libi18n-collate-perl_1.02.bb              |   22 ++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 meta-lsb/recipes-devtools/perl/libi18n-collate-perl_1.02.bb

diff --git a/meta-lsb/recipes-devtools/perl/libi18n-collate-perl_1.02.bb b/meta-lsb/recipes-devtools/perl/libi18n-collate-perl_1.02.bb
new file mode 100644
index 0000000..2722ec0
--- /dev/null
+++ b/meta-lsb/recipes-devtools/perl/libi18n-collate-perl_1.02.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Perl module that compare 8-bit scalar data according to the current locale"
+DESCRIPTION = "This module provides you with objects that will collate according to \
+your national character set, provided that the POSIX setlocale() function is supported \
+on your system."
+
+HOMEPAGE = "http://search.cpan.org/~flora/I18N-Collate/"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ff6d629144a6ec1ea8c300f75760184f"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/I18N-Collate-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "72ddb6d1c59cfdf31aa3b04799b86af0"
+SRC_URI[sha256sum] = "9174506bc903eda89690394e3f45558ab7e013114227896d8569d6164648fe37"
+
+S = "${WORKDIR}/I18N-Collate-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 9/9] packagegroup-core-lsb.bbappend: add bbappend file
  2012-09-06  2:28 [PATCH 0/9] V3: Patches for LSB perl test Kang Kai
                   ` (7 preceding siblings ...)
  2012-09-06  2:28 ` [PATCH 8/9] libi18n-collate-perl: " Kang Kai
@ 2012-09-06  2:28 ` Kang Kai
  8 siblings, 0 replies; 10+ messages in thread
From: Kang Kai @ 2012-09-06  2:28 UTC (permalink / raw)
  To: sgw; +Cc: Zhenfeng.Zhao, openembedded-core

Add file packagegroup-core-lsb.bbappend. Packages added in layer meta-lsb should
put in this file.

Add package wget and perl modules.

LSB needs wget to download packages. But wget provided by busybox doesn't
support some options such as '-N'.

LSB perl test 4.1.6-2 case all/tst_perlModPresent.pl,
../lib/Class/ISA/t/00_about_verbose and
../lib/Class/ISA/t/01_old_junk.t
fail because of lack of these modules, add them to make test pass.

[Yocto #3030 #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../packagegroups/packagegroup-core-lsb.bbappend   |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 meta-lsb/recipes-core/packagegroups/packagegroup-core-lsb.bbappend

diff --git a/meta-lsb/recipes-core/packagegroups/packagegroup-core-lsb.bbappend b/meta-lsb/recipes-core/packagegroups/packagegroup-core-lsb.bbappend
new file mode 100644
index 0000000..9fba0b0
--- /dev/null
+++ b/meta-lsb/recipes-core/packagegroups/packagegroup-core-lsb.bbappend
@@ -0,0 +1,15 @@
+#
+# Copyright (c) 2012 Wind River Systems, Inc.
+#
+
+RDEPENDS_packagegroup-core-lsb-core_append += "wget"
+
+RDEPENDS_packagegroup-core-lsb-perl_append += "\
+    libclass-isa-perl \
+    libenv-perl \
+    libdumpvalue-perl \
+    libfile-checktree-perl \
+    libi18n-collate-perl \
+    libpod-plainer-perl"
+
+
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-09-06  2:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06  2:28 [PATCH 0/9] V3: Patches for LSB perl test Kang Kai
2012-09-06  2:28 ` [PATCH 1/9] meta-lsb: add layer meta-lsb Kang Kai
2012-09-06  2:28 ` [PATCH 2/9] libclass-isa-perl: add it Kang Kai
2012-09-06  2:28 ` [PATCH 3/9] perl: package modules Pod-Html and Tie-Hash-NamedCapture Kang Kai
2012-09-06  2:28 ` [PATCH 4/9] libpod-plainer-perl: add it Kang Kai
2012-09-06  2:28 ` [PATCH 5/9] libdumpvalue-perl: " Kang Kai
2012-09-06  2:28 ` [PATCH 6/9] libenv-perl: " Kang Kai
2012-09-06  2:28 ` [PATCH 7/9] libfile-checktree-perl: " Kang Kai
2012-09-06  2:28 ` [PATCH 8/9] libi18n-collate-perl: " Kang Kai
2012-09-06  2:28 ` [PATCH 9/9] packagegroup-core-lsb.bbappend: add bbappend file Kang Kai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.