All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-perl][PATCH v2 00/10]
@ 2014-02-03  6:51 Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019 Tim Orling
                   ` (10 more replies)
  0 siblings, 11 replies; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

This series of recipes is the first step towards the ultimate
goal of getting Slic3r to build in OE.

Original submission was missing Algorithm::Diff which Text::Diff depends on.

Resubmitted to follow Debian Perl Policy.
See 4.2 Module Package Names [http://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html]

Tim Orling (10):
  libmodule-metadata-perl: add 1.000019
  libtext-diff-perl: add 1.41
  libcapture-tiny-perl: add 0.23
  libmodule-runtime-perl: add 0.013
  libextutils-config-perl: add 0.007
  libextutils-helpers-perl: add 0.021
  libextutils-installpaths-perl: add 0.010
  libmodule-build-tiny-perl: add 0.030
  libextutils-cppguess-perl: add 0.07
  libalgorithm-diff-perl: add 1.15

 .../libalgorithm/libalgorithm-diff-perl_1.15.bb    |   23 +++++++++
 .../libcapture/libcapture-tiny-perl_0.23.bb        |   36 +++++++++++++
 .../libextutils/libextutils-config-perl_0.007.bb   |   24 +++++++++
 .../libextutils/libextutils-cppguess-perl_0.07.bb  |   38 ++++++++++++++
 .../libextutils/libextutils-helpers-perl_0.021.bb  |   29 +++++++++++
 .../libextutils-installpaths-perl_0.010.bb         |   25 +++++++++
 .../libmodule/libmodule-build-tiny-perl_0.030.bb   |   54 ++++++++++++++++++++
 .../libmodule/libmodule-metadata-perl_1.000019.bb  |   33 ++++++++++++
 .../libmodule/libmodule-runtime-perl_0.013.bb      |   35 +++++++++++++
 .../recipes-perl/libtext/libtext-diff-perl_1.41.bb |   27 ++++++++++
 10 files changed, 324 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb
 create mode 100644 meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.23.bb
 create mode 100644 meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.007.bb
 create mode 100644 meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.07.bb
 create mode 100644 meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.021.bb
 create mode 100644 meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.010.bb
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.013.bb
 create mode 100644 meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb

-- 
1.7.9.5



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

* [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
@ 2014-02-03  6:51 ` Tim Orling
  2014-03-29  6:44   ` Hongxu Jia
  2014-03-31  3:30   ` Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 02/10] libtext-diff-perl: add 1.41 Tim Orling
                   ` (9 subsequent siblings)
  10 siblings, 2 replies; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

[Description from CPAN]
This module provides a standard way to gather metadata about a .pm file through (mostly) static analysis and (some) code execution. When determining the version of a module, the $VERSION assignment is "eval"ed, as is traditional in the CPAN toolchain.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libmodule/libmodule-metadata-perl_1.000019.bb  |   33 ++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb

diff --git a/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb b/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
new file mode 100644
index 0000000..668f0c4
--- /dev/null
+++ b/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
@@ -0,0 +1,33 @@
+SUMMARY = "Module::Metadata - Gather package and POD information from perl module files"
+DESCRIPTION = "This module provides a standard way to gather metadata about \
+a .pm files through (mostly) static analysis and (some) code execution. When \
+determining the version of a module, the $VERSION assignment is eval-ed, as \
+is traditional in the CPAN toolchain."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~ether/Module-Metadata/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;beginline=185;endline=190;md5=e1b24eebe5d819b40bb68ad06b72d3ee"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Metadata-${PV}.tar.gz"
+SRC_URI[md5sum] = "838ecf97f7daff79e0f81e104a6be823"
+SRC_URI[sha256sum] = "5afca94dc0213608101ad519eb1b25133cdc9e44c2a053a45a5a59422c2ee554"
+
+S = "${WORKDIR}/Module-Metadata-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-io-file \
+                   perl-module-data-dumper \
+                   perl-module-extutils-makemaker \
+                   perl-module-file-spec \
+                   perl-module-version \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-test-more \
+                   perl-module-file-temp \
+                   perl-module-file-path \
+"
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* [meta-perl][PATCH v2 02/10] libtext-diff-perl: add 1.41
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019 Tim Orling
@ 2014-02-03  6:51 ` Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 03/10] libcapture-tiny-perl: add 0.23 Tim Orling
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

[Description from CPAN]
diff() provides a basic set of services akin to the GNU diff
utility. It is not anywhere near as feature complete as GNU diff, but it is
better integrated with Perl and available on all platforms. It is often
faster than shelling out to a system's diff executable for small files,
and generally slower on larger files.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../recipes-perl/libtext/libtext-diff-perl_1.41.bb |   27 ++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb

diff --git a/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb b/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb
new file mode 100644
index 0000000..1960ee0
--- /dev/null
+++ b/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Text::Diff - Perform diffs on files and record sets"
+DESCRIPTION = "diff() provides a basic set of services akin to the GNU diff \
+utility. It is not anywhere near as feature complete as GNU diff, but it is \
+better integrated with Perl and available on all platforms. It is often \
+faster than shelling out to a system's diff executable for small files, \
+and generally slower on larger files."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~ovid/Text-Diff/"
+
+LICENSE = "Artistic-1.0 | GPL-2.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-${PV}.tar.gz"
+SRC_URI[md5sum] = "30d56e6dd5551ca16b8e16cc7299dc21"
+SRC_URI[sha256sum] = "a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa"
+
+S = "${WORKDIR}/Text-Diff-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " libalgorithm-diff-perl \
+                   perl-module-extutils-makemaker \
+                   perl-module-exporter \
+"
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* [meta-perl][PATCH v2 03/10] libcapture-tiny-perl: add 0.23
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019 Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 02/10] libtext-diff-perl: add 1.41 Tim Orling
@ 2014-02-03  6:51 ` Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 04/10] libmodule-runtime-perl: add 0.013 Tim Orling
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

[Description from CPAN]
Capture::Tiny provies a simple, portable way to capture
almost anything sent to STDOUT or STDERR, regardless of whether it comes
from Perl, from XS code or from an external program. Optionally, output can
be teed so that it is captured while being passed through to the original
filehandles. Yes, it even works on Windows (usually). Stop guessing which of
a dozen capturing modules to use in any particular situation and just use
this one.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libcapture/libcapture-tiny-perl_0.23.bb        |   36 ++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.23.bb

diff --git a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.23.bb b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.23.bb
new file mode 100644
index 0000000..b2f1ff9
--- /dev/null
+++ b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.23.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Capture::Tiny - Capture STDOUT and STDERR from Perl, XS or external programs."
+DESCRIPTION = "Capture::Tiny provies a simple, portable way to capture \
+almost anything sent to STDOUT or STDERR, regardless of whether it comes \
+from Perl, from XS code or from an external program. Optionally, output can \
+be teed so that it is captured while being passed through to the original \
+filehandles. Yes, it even works on Windows (usually). Stop guessing which of \
+a dozen capturing modules to use in any particular situation and just use \
+this one."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~dagolden/Capture-Tiny/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Capture-Tiny-${PV}.tar.gz"
+SRC_URI[md5sum] = "7c6f63671802d004c0df5dbcba93e5b4"
+SRC_URI[sha256sum] = "427814015824014b41f666c16afadab0ea551db946e494fdfbc59c44c9569bdf"
+
+S = "${WORKDIR}/Capture-Tiny-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-scalar-util \
+                   perl-module-io-file \
+                   perl-module-extutils-makemaker \
+                   perl-module-file-spec \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-test-more \
+                   perl-module-file-temp \
+                   perl-module-lib \
+                   perl-module-build \
+"
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* [meta-perl][PATCH v2 04/10] libmodule-runtime-perl: add 0.013
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
                   ` (2 preceding siblings ...)
  2014-02-03  6:51 ` [meta-perl][PATCH v2 03/10] libcapture-tiny-perl: add 0.23 Tim Orling
@ 2014-02-03  6:51 ` Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 05/10] libextutils-config-perl: add 0.007 Tim Orling
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

[Description from CPAN]
The functions exported by this module deal with runtime
handling of Perl modules, which are normally handled at compile time. This
module avoids using any other modules, so that it can be used in low-level
infrastructure.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libmodule/libmodule-runtime-perl_0.013.bb      |   35 ++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.013.bb

diff --git a/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.013.bb b/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.013.bb
new file mode 100644
index 0000000..58b72af
--- /dev/null
+++ b/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.013.bb
@@ -0,0 +1,35 @@
+SUMMARY = "Module::Runtime - runtime module handling"
+DESCRIPTION = "The functions exported by this module deal with runtime \
+handling of Perl modules, which are normally handled at compile time. This \
+module avoids using any other modules, so that it can be used in low-level \
+infrastructure. \
+The parts of this module that work with module names apply the same syntax \
+that is used for barewords in Perl source. In principle this syntax can vary \
+between versions of Perl, and this module applies the syntax of the Perl on \
+which it is running. In practice the usable syntax hasn't changed yet, but \
+there's a good chance of it changing in Perl 5.18. \
+The functions of this module whose purpose is to load modules include \
+workarounds for three old Perl core bugs regarding require. These workarounds \
+are applied on any Perl version where the bugs exist, except for a case where \
+one of the bugs cannot be adequately worked around in pure Perl."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~zefram/Module-Runtime/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;beginline=42;endline=43;md5=62e24a93342fede7221d66335c716f34"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Module-Runtime-${PV}.tar.gz"
+SRC_URI[md5sum] = "62b88b1f5f0e975a5d7c80cd46167b97"
+SRC_URI[sha256sum] = "ec37e03d90dc905679dab62a82f42cf0897ed79244b87fd9d531438dc3c31023"
+
+S = "${WORKDIR}/Module-Runtime-${PV}"
+
+inherit cpan_build
+
+RDEPENDS_${PN} = " perl-module-test-more \
+                   perl-module-strict \
+                   perl-module-build \
+"
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* [meta-perl][PATCH v2 05/10] libextutils-config-perl: add 0.007
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
                   ` (3 preceding siblings ...)
  2014-02-03  6:51 ` [meta-perl][PATCH v2 04/10] libmodule-runtime-perl: add 0.013 Tim Orling
@ 2014-02-03  6:51 ` Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 06/10] libextutils-helpers-perl: add 0.021 Tim Orling
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

[Description from CPAN]
ExtUtils::Config is an abstraction around the %Config hash.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libextutils/libextutils-config-perl_0.007.bb   |   24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.007.bb

diff --git a/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.007.bb b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.007.bb
new file mode 100644
index 0000000..8276d28
--- /dev/null
+++ b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.007.bb
@@ -0,0 +1,24 @@
+SUMMARY = "ExtUtils::Config - A wrapper for perl's configuration"
+DESCRIPTION = "ExtUtils::Config is an abstraction around the %Config hash."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Config/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b1b813683bd988732e7fd6a796bf7f47"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/ExtUtils-Config-${PV}.tar.gz"
+SRC_URI[md5sum] = "2829c0dfa8a7e51b3f582efbee4bb128"
+SRC_URI[sha256sum] = "2c1465078b876fd16a90507092805265528c2532d4937b03547a6dbdb8ac0eef"
+
+S = "${WORKDIR}/ExtUtils-Config-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-extutils-makemaker \
+                   perl-module-data-dumper \
+                   perl-module-test-more \
+                   perl-module-file-temp \
+"
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* [meta-perl][PATCH v2 06/10] libextutils-helpers-perl: add 0.021
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
                   ` (4 preceding siblings ...)
  2014-02-03  6:51 ` [meta-perl][PATCH v2 05/10] libextutils-config-perl: add 0.007 Tim Orling
@ 2014-02-03  6:51 ` Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 07/10] libextutils-installpaths-perl: add 0.010 Tim Orling
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

[Description from CPAN]
This module provides various portable helper function for
module building modules.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libextutils/libextutils-helpers-perl_0.021.bb  |   29 ++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.021.bb

diff --git a/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.021.bb b/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.021.bb
new file mode 100644
index 0000000..20f3283
--- /dev/null
+++ b/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.021.bb
@@ -0,0 +1,29 @@
+SUMMARY = "ExtUtils::Helpers - Various portability utilities for module builders"
+DESCRIPTION = "This module provides various portable helper function for module building modules."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Helpers/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=307057ce232899f5caa8858560c7274b"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/ExtUtils-Helpers-${PV}.tar.gz"
+SRC_URI[md5sum] = "94aa8eaf92def26d9af0cb25fcb1570f"
+SRC_URI[sha256sum] = "26b85077f4197b30e62ffec87d3f78111522619d62858d2ab45a64687351892a"
+
+S = "${WORKDIR}/ExtUtils-Helpers-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-file-copy \
+                   perl-module-extutils-makemaker \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-test-more \
+                   perl-module-text-parsewords \
+                   perl-module-module-load \
+                   perl-module-file-temp \
+                   perl-module-file-spec-functions \
+"
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* [meta-perl][PATCH v2 07/10] libextutils-installpaths-perl: add 0.010
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
                   ` (5 preceding siblings ...)
  2014-02-03  6:51 ` [meta-perl][PATCH v2 06/10] libextutils-helpers-perl: add 0.021 Tim Orling
@ 2014-02-03  6:51 ` Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 08/10] libmodule-build-tiny-perl: add 0.030 Tim Orling
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

[Description from CPAN]
This module tries to make install path resolution as easy
as possible.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libextutils-installpaths-perl_0.010.bb         |   25 ++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.010.bb

diff --git a/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.010.bb b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.010.bb
new file mode 100644
index 0000000..4cfdfc4
--- /dev/null
+++ b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.010.bb
@@ -0,0 +1,25 @@
+SUMMARY = "ExtUtils::InstallPaths - Build.PL install path logic made easy"
+DESCRIPTION = "This module tries to make install path resolution as easy \
+as possible."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-InstallPaths/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=15bbcc2806d297df9e944b8955b38d82"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-${PV}.tar.gz"
+SRC_URI[md5sum] = "f0b00cc6c04653588a6298fa1f16c07f"
+SRC_URI[sha256sum] = "d14cbff118e467900c2c488b55b83ef697d6eb1b8f592c0521f1d82848bf2156"
+
+S = "${WORKDIR}/ExtUtils-InstallPaths-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-extutils-makemaker \
+                   perl-module-data-dumper \
+                   perl-module-test-more \
+                   perl-module-file-temp \
+"
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* [meta-perl][PATCH v2 08/10] libmodule-build-tiny-perl: add 0.030
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
                   ` (6 preceding siblings ...)
  2014-02-03  6:51 ` [meta-perl][PATCH v2 07/10] libextutils-installpaths-perl: add 0.010 Tim Orling
@ 2014-02-03  6:51 ` Tim Orling
  2014-03-29  6:24   ` Hongxu Jia
  2014-02-03  6:51 ` [meta-perl][PATCH v2 09/10] libextutils-cppguess-perl: add 0.07 Tim Orling
                   ` (2 subsequent siblings)
  10 siblings, 1 reply; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

[Description from CPAN]
Many Perl distributions use a Build.PL file instead of a
Makefile.PL file to drive distribution configuration, build, test and
installation. Traditionally, Build.PL uses Module::Build as the underlying
build system. This module provides a simple, lightweight, drop-in replacement.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libmodule/libmodule-build-tiny-perl_0.030.bb   |   54 ++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb

diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
new file mode 100644
index 0000000..fadd9c7
--- /dev/null
+++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
@@ -0,0 +1,54 @@
+SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build"
+DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \
+Makefile.PL file to drive distribution configuration, build, test and \
+installation. Traditionally, Build.PL uses Module::Build as the underlying \
+build system. This module provides a simple, lightweight, drop-in replacement. \
+Whereas Module::Build has over 6,700 lines of code; this module has less than \
+120, yet supports the features needed by most distributions."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=aaca61412962cf972aec0cdad99d0a84"
+
+DEPENDS = "libextutils-config-native libextutils-helpers-native libextutils-installpaths-native"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz"
+SRC_URI[md5sum] = "1c54bf4c602eec87f98950314699402e"
+SRC_URI[sha256sum] = "dfd418ad0e8290cf645ab11be209a1bf6865e5a562c5a1592da99d5fd24718a8"
+
+S = "${WORKDIR}/Module-Build-Tiny-${PV}"
+
+inherit cpan_build
+
+do_install () {
+        cpan_build_do_install
+}
+
+RDEPENDS_${PN} = " libextutils-config-perl \
+                   libextutils-helpers-perl \
+                   libextutils-installpaths-perl \
+                   perl-module-xsloader \
+                   perl-module-file-spec \
+                   perl-module-io-handle \
+                   perl-module-tap-harness-env \
+                   perl-module-ipc-open3 \
+                   perl-module-file-path \
+                   perl-module-cpan-meta \
+                   perl-module-extutils-cbuilder \
+                   perl-module-getopt-long \
+                   perl-module-extutils-makemaker \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-test-more \
+                   perl-module-text-parsewords \
+                   perl-module-module-load \
+                   perl-module-file-temp \
+                   perl-module-data-dumper \
+                   perl-module-extutils-parsexs \
+                   perl-module-pod-man \
+                   perl-module-json-pp \
+"
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* [meta-perl][PATCH v2 09/10] libextutils-cppguess-perl: add 0.07
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
                   ` (7 preceding siblings ...)
  2014-02-03  6:51 ` [meta-perl][PATCH v2 08/10] libmodule-build-tiny-perl: add 0.030 Tim Orling
@ 2014-02-03  6:51 ` Tim Orling
  2014-02-03  6:51 ` [meta-perl][PATCH v2 10/10] libalgorithm-diff-perl: add 1.15 Tim Orling
  2014-02-26 10:03 ` [meta-perl][PATCH v2 00/10] Paul Eggleton
  10 siblings, 0 replies; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

[Description from CPAN]
ExtUtils::CppGuess attempts to guess the system's C++
compiler that is compatible with the C compiler that your perl was built
with.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libextutils/libextutils-cppguess-perl_0.07.bb  |   38 ++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.07.bb

diff --git a/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.07.bb b/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.07.bb
new file mode 100644
index 0000000..0e5e304
--- /dev/null
+++ b/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.07.bb
@@ -0,0 +1,38 @@
+SUMMARY = "ExtUtils::CppGuess - guess C++ compiler and flags"
+DESCRIPTION = "ExtUtils::CppGuess attempts to guess the system's C++ \
+compiler that is compatible with the C compiler that your perl was built \
+with. \
+It can generate the necessary options to the Module::Build constructor or \
+to ExtUtils::MakeMaker's WriteMakefile function."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~smueller/ExtUtils-CppGuess/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;beginline=81;endline=84;md5=84c0390b90ea8c6702ce659b67bed699"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/ExtUtils-CppGuess-${PV}.tar.gz"
+SRC_URI[md5sum] = "350dd7c661189ea770d6c9354ebbc6c2"
+SRC_URI[sha256sum] = "1cd83ee8452351219b987c79ddb25cc25ee8c396318ba36c5211a92b5c87e7a8"
+
+S = "${WORKDIR}/ExtUtils-CppGuess-${PV}"
+
+inherit cpan_build
+
+do_install () {
+        cpan_build_do_install
+}
+
+RDEPENDS_${PN} = " libcapture-tiny-perl \
+                   perl-module-scalar-util \
+                   perl-module-io-file \
+                   perl-module-extutils-makemaker \
+                   perl-module-file-spec \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-file-temp \
+                   perl-module-lib \
+                   perl-module-build \
+"
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* [meta-perl][PATCH v2 10/10] libalgorithm-diff-perl: add 1.15
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
                   ` (8 preceding siblings ...)
  2014-02-03  6:51 ` [meta-perl][PATCH v2 09/10] libextutils-cppguess-perl: add 0.07 Tim Orling
@ 2014-02-03  6:51 ` Tim Orling
  2014-02-26 10:03 ` [meta-perl][PATCH v2 00/10] Paul Eggleton
  10 siblings, 0 replies; 26+ messages in thread
From: Tim Orling @ 2014-02-03  6:51 UTC (permalink / raw)
  To: openembedded-devel

[from README]
This is a module for computing the difference between two files, two
strings, or any other two lists of things.  It uses an  intelligent
algorithm similar to (or identical to) the one used by the Unix `diff'
program.   It is guaranteed to find the *smallest possible* set of
differences.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libalgorithm/libalgorithm-diff-perl_1.15.bb    |   23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb

diff --git a/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb b/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb
new file mode 100644
index 0000000..554a6b0
--- /dev/null
+++ b/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Algorithm::Diff - Compute 'intelligent' differences between two \
+files/lists"
+DESCRIPTION = "This is a module for computing the difference between two files, \
+two strings, or any other two lists of things.  It uses an  intelligent \
+algorithm similar to (or identical to) the one used by the Unix `diff' \
+program.   It is guaranteed to find the *smallest possible* set of \
+differences. \
+"
+SECTION = "libs"
+HOMEPAGE = "http://search.cpan.org/~nedkonz/Algorithm-Diff/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://lib/Algorithm/Diff.pm;beginline=406;endline=409;md5=d393b8ad3b8994b9d0ae9299b8a8a1ee"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NE/NEDKONZ/Algorithm-Diff-${PV}.tar.gz"
+SRC_URI[md5sum] = "457cd497a0411a88b47d3741eb176071"
+SRC_URI[sha256sum] = "aa848b75ad3ecc32d31e8651909551e851cceef74a32822c7a3cb35c259f5190"
+
+S = "${WORKDIR}/Algorithm-Diff-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* Re: [meta-perl][PATCH v2 00/10]
  2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
                   ` (9 preceding siblings ...)
  2014-02-03  6:51 ` [meta-perl][PATCH v2 10/10] libalgorithm-diff-perl: add 1.15 Tim Orling
@ 2014-02-26 10:03 ` Paul Eggleton
  2014-03-09 11:49   ` Paul Eggleton
  10 siblings, 1 reply; 26+ messages in thread
From: Paul Eggleton @ 2014-02-26 10:03 UTC (permalink / raw)
  To: Hongxu Jia; +Cc: openembedded-devel

On Sunday 02 February 2014 22:51:05 Tim Orling wrote:
> This series of recipes is the first step towards the ultimate
> goal of getting Slic3r to build in OE.
> 
> Original submission was missing Algorithm::Diff which Text::Diff depends on.
> 
> Resubmitted to follow Debian Perl Policy.
> See 4.2 Module Package Names
> [http://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages
> .html]
> 
> Tim Orling (10):
>   libmodule-metadata-perl: add 1.000019
>   libtext-diff-perl: add 1.41
>   libcapture-tiny-perl: add 0.23
>   libmodule-runtime-perl: add 0.013
>   libextutils-config-perl: add 0.007
>   libextutils-helpers-perl: add 0.021
>   libextutils-installpaths-perl: add 0.010
>   libmodule-build-tiny-perl: add 0.030
>   libextutils-cppguess-perl: add 0.07
>   libalgorithm-diff-perl: add 1.15

Hongxu, do these look OK? If so do you need me to apply them, or do you have 
access to do that now?

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [meta-perl][PATCH v2 00/10]
  2014-02-26 10:03 ` [meta-perl][PATCH v2 00/10] Paul Eggleton
@ 2014-03-09 11:49   ` Paul Eggleton
  2014-03-17 11:06     ` Paul Eggleton
  0 siblings, 1 reply; 26+ messages in thread
From: Paul Eggleton @ 2014-03-09 11:49 UTC (permalink / raw)
  To: Hongxu Jia; +Cc: openembedded-devel

On Wednesday 26 February 2014 10:03:46 Paul Eggleton wrote:
> On Sunday 02 February 2014 22:51:05 Tim Orling wrote:
> > This series of recipes is the first step towards the ultimate
> > goal of getting Slic3r to build in OE.
> > 
> > Original submission was missing Algorithm::Diff which Text::Diff depends
> > on.
> > 
> > Resubmitted to follow Debian Perl Policy.
> > See 4.2 Module Package Names
> > [http://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_package
> > s
> > .html]
> > 
> > Tim Orling (10):
> >   libmodule-metadata-perl: add 1.000019
> >   libtext-diff-perl: add 1.41
> >   libcapture-tiny-perl: add 0.23
> >   libmodule-runtime-perl: add 0.013
> >   libextutils-config-perl: add 0.007
> >   libextutils-helpers-perl: add 0.021
> >   libextutils-installpaths-perl: add 0.010
> >   libmodule-build-tiny-perl: add 0.030
> >   libextutils-cppguess-perl: add 0.07
> >   libalgorithm-diff-perl: add 1.15
> 
> Hongxu, do these look OK? If so do you need me to apply them, or do you have
> access to do that now?

Hongxu - ping

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [meta-perl][PATCH v2 00/10]
  2014-03-09 11:49   ` Paul Eggleton
@ 2014-03-17 11:06     ` Paul Eggleton
  0 siblings, 0 replies; 26+ messages in thread
From: Paul Eggleton @ 2014-03-17 11:06 UTC (permalink / raw)
  To: Hongxu Jia; +Cc: openembedded-devel

On Sunday 09 March 2014 11:49:49 Paul Eggleton wrote:
> On Wednesday 26 February 2014 10:03:46 Paul Eggleton wrote:
> > On Sunday 02 February 2014 22:51:05 Tim Orling wrote:
> > > This series of recipes is the first step towards the ultimate
> > > goal of getting Slic3r to build in OE.
> > > 
> > > Original submission was missing Algorithm::Diff which Text::Diff depends
> > > on.
> > > 
> > > Resubmitted to follow Debian Perl Policy.
> > > See 4.2 Module Package Names
> > > [http://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packa
> > > ge
> > > s
> > > .html]
> > > 
> > > Tim Orling (10):
> > >   libmodule-metadata-perl: add 1.000019
> > >   libtext-diff-perl: add 1.41
> > >   libcapture-tiny-perl: add 0.23
> > >   libmodule-runtime-perl: add 0.013
> > >   libextutils-config-perl: add 0.007
> > >   libextutils-helpers-perl: add 0.021
> > >   libextutils-installpaths-perl: add 0.010
> > >   libmodule-build-tiny-perl: add 0.030
> > >   libextutils-cppguess-perl: add 0.07
> > >   libalgorithm-diff-perl: add 1.15
> > 
> > Hongxu, do these look OK? If so do you need me to apply them, or do you
> > have access to do that now?
> 
> Hongxu - ping

ping...

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [meta-perl][PATCH v2 08/10] libmodule-build-tiny-perl: add 0.030
  2014-02-03  6:51 ` [meta-perl][PATCH v2 08/10] libmodule-build-tiny-perl: add 0.030 Tim Orling
@ 2014-03-29  6:24   ` Hongxu Jia
       [not found]     ` <CANx9H-Bc+6QxLGkr5Kv68_ag161n9gc-0bBQ0PrjTheSCZUZ1w@mail.gmail.com>
  0 siblings, 1 reply; 26+ messages in thread
From: Hongxu Jia @ 2014-03-29  6:24 UTC (permalink / raw)
  To: Tim Orling, Paul Eggleton; +Cc: openembedded-devel

On 02/03/2014 02:51 PM, Tim Orling wrote:
> [Description from CPAN]
> Many Perl distributions use a Build.PL file instead of a
> Makefile.PL file to drive distribution configuration, build, test and
> installation. Traditionally, Build.PL uses Module::Build as the underlying
> build system. This module provides a simple, lightweight, drop-in replacement.
>
> Signed-off-by: Tim Orling <ticotimo@gmail.com>
> ---
>   .../libmodule/libmodule-build-tiny-perl_0.030.bb   |   54 ++++++++++++++++++++
>   1 file changed, 54 insertions(+)
>   create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
>
> diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
> new file mode 100644
> index 0000000..fadd9c7
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
> @@ -0,0 +1,54 @@
> +SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build"
> +DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \
> +Makefile.PL file to drive distribution configuration, build, test and \
> +installation. Traditionally, Build.PL uses Module::Build as the underlying \
> +build system. This module provides a simple, lightweight, drop-in replacement. \
> +Whereas Module::Build has over 6,700 lines of code; this module has less than \
> +120, yet supports the features needed by most distributions."
> +SECTION = "libs"
> +
> +HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/"
> +
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=aaca61412962cf972aec0cdad99d0a84"
> +
> +DEPENDS = "libextutils-config-native libextutils-helpers-native libextutils-installpaths-native"
> +
Hi Tim,

Not found '"libextutils-config-native libextutils-helpers-native 
libextutils-installpaths-native"',

Is '*-perl-*' missing ?

$ bitbake libmodule-build-tiny-perl
Loading cache: 100% 
|#########################################################################################################| 
ETA:  00:00:00
Loaded 1243 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'libextutils-config-native' (but 
/home/jiahongxu/yocto/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb 
DEPENDS on or otherwise requires it). Close matches:
   libextutils-config-perl-native
   libextutils-config-perl
   libextutils-cppguess-perl-native
ERROR: Required build target 'libmodule-build-tiny-perl' has no 
buildable providers.
Missing or unbuildable dependency chain was: 
['libmodule-build-tiny-perl', 'libextutils-config-native']

Hi Paul & Tim,

Sorry for the late reply, the inaccurate email fillter
rules caused me missing the meta-perl mail, I have fixed it,
and put them as prior.

//Hongxu

> +SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz"
> +SRC_URI[md5sum] = "1c54bf4c602eec87f98950314699402e"
> +SRC_URI[sha256sum] = "dfd418ad0e8290cf645ab11be209a1bf6865e5a562c5a1592da99d5fd24718a8"
> +
> +S = "${WORKDIR}/Module-Build-Tiny-${PV}"
> +
> +inherit cpan_build
> +
> +do_install () {
> +        cpan_build_do_install
> +}
> +
> +RDEPENDS_${PN} = " libextutils-config-perl \
> +                   libextutils-helpers-perl \
> +                   libextutils-installpaths-perl \
> +                   perl-module-xsloader \
> +                   perl-module-file-spec \
> +                   perl-module-io-handle \
> +                   perl-module-tap-harness-env \
> +                   perl-module-ipc-open3 \
> +                   perl-module-file-path \
> +                   perl-module-cpan-meta \
> +                   perl-module-extutils-cbuilder \
> +                   perl-module-getopt-long \
> +                   perl-module-extutils-makemaker \
> +                   perl-module-exporter \
> +                   perl-module-carp \
> +                   perl-module-test-more \
> +                   perl-module-text-parsewords \
> +                   perl-module-module-load \
> +                   perl-module-file-temp \
> +                   perl-module-data-dumper \
> +                   perl-module-extutils-parsexs \
> +                   perl-module-pod-man \
> +                   perl-module-json-pp \
> +"
> +
> +BBCLASSEXTEND = "native"



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

* Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-02-03  6:51 ` [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019 Tim Orling
@ 2014-03-29  6:44   ` Hongxu Jia
  2014-03-31  3:30   ` Tim Orling
  1 sibling, 0 replies; 26+ messages in thread
From: Hongxu Jia @ 2014-03-29  6:44 UTC (permalink / raw)
  To: Tim Orling; +Cc: Paul Eggleton, openembedded-devel

Hi Tim,

The 'Metadata.pm' in libmodule-metadata-perl-native conflicted
with the one in perl-native, is that ok?

$ bitbake libmodule-metadata-perl-native

WARNING: The recipe libmodule-metadata-perl-native is trying to install 
files into a shared area when those files already exist. Those files and 
their manifest location are:
/home/jiahongxu/yocto/build-20140329-meta-perl/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/Module/Metadata.pm
    Matched in manifest-x86_64-perl-native.populate_sysroot
Please verify which package should provide the above files.

//Hongxu

On 02/03/2014 02:51 PM, Tim Orling wrote:
> [Description from CPAN]
> This module provides a standard way to gather metadata about a .pm file through (mostly) static analysis and (some) code execution. When determining the version of a module, the $VERSION assignment is "eval"ed, as is traditional in the CPAN toolchain.
>
> Signed-off-by: Tim Orling <ticotimo@gmail.com>
> ---
>   .../libmodule/libmodule-metadata-perl_1.000019.bb  |   33 ++++++++++++++++++++
>   1 file changed, 33 insertions(+)
>   create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
>
> diff --git a/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb b/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
> new file mode 100644
> index 0000000..668f0c4
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
> @@ -0,0 +1,33 @@
> +SUMMARY = "Module::Metadata - Gather package and POD information from perl module files"
> +DESCRIPTION = "This module provides a standard way to gather metadata about \
> +a .pm files through (mostly) static analysis and (some) code execution. When \
> +determining the version of a module, the $VERSION assignment is eval-ed, as \
> +is traditional in the CPAN toolchain."
> +SECTION = "libs"
> +
> +HOMEPAGE = "http://search.cpan.org/~ether/Module-Metadata/"
> +
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +LIC_FILES_CHKSUM = "file://README;beginline=185;endline=190;md5=e1b24eebe5d819b40bb68ad06b72d3ee"
> +
> +SRC_URI = "http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Metadata-${PV}.tar.gz"
> +SRC_URI[md5sum] = "838ecf97f7daff79e0f81e104a6be823"
> +SRC_URI[sha256sum] = "5afca94dc0213608101ad519eb1b25133cdc9e44c2a053a45a5a59422c2ee554"
> +
> +S = "${WORKDIR}/Module-Metadata-${PV}"
> +
> +inherit cpan
> +
> +RDEPENDS_${PN} = " perl-module-io-file \
> +                   perl-module-data-dumper \
> +                   perl-module-extutils-makemaker \
> +                   perl-module-file-spec \
> +                   perl-module-version \
> +                   perl-module-exporter \
> +                   perl-module-carp \
> +                   perl-module-test-more \
> +                   perl-module-file-temp \
> +                   perl-module-file-path \
> +"
> +
> +BBCLASSEXTEND = "native"



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

* Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-02-03  6:51 ` [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019 Tim Orling
  2014-03-29  6:44   ` Hongxu Jia
@ 2014-03-31  3:30   ` Tim Orling
  2014-03-31  8:54     ` Paul Eggleton
  1 sibling, 1 reply; 26+ messages in thread
From: Tim Orling @ 2014-03-31  3:30 UTC (permalink / raw)
  To: openembedded-devel

Yes. It updates the version built into perl. I will submit a patch with
insane skip.

--Tim


On Sun, Feb 2, 2014 at 10:51 PM, Tim Orling <ticotimo@gmail.com> wrote:

> [Description from CPAN]
> This module provides a standard way to gather metadata about a .pm file
> through (mostly) static analysis and (some) code execution. When
> determining the version of a module, the $VERSION assignment is "eval"ed,
> as is traditional in the CPAN toolchain.
>
> Signed-off-by: Tim Orling <ticotimo@gmail.com>
> ---
>  .../libmodule/libmodule-metadata-perl_1.000019.bb  |   33
> ++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>  create mode 100644 meta-perl/recipes-perl/libmodule/
> libmodule-metadata-perl_1.000019.bb
>
> diff --git a/meta-perl/recipes-perl/libmodule/
> libmodule-metadata-perl_1.000019.bb b/meta-perl/recipes-perl/libmodule/
> libmodule-metadata-perl_1.000019.bb
> new file mode 100644
> index 0000000..668f0c4
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
> @@ -0,0 +1,33 @@
> +SUMMARY = "Module::Metadata - Gather package and POD information from
> perl module files"
> +DESCRIPTION = "This module provides a standard way to gather metadata
> about \
> +a .pm files through (mostly) static analysis and (some) code execution.
> When \
> +determining the version of a module, the $VERSION assignment is eval-ed,
> as \
> +is traditional in the CPAN toolchain."
> +SECTION = "libs"
> +
> +HOMEPAGE = "http://search.cpan.org/~ether/Module-Metadata/"
> +
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +LIC_FILES_CHKSUM =
> "file://README;beginline=185;endline=190;md5=e1b24eebe5d819b40bb68ad06b72d3ee"
> +
> +SRC_URI = "
> http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Metadata-${PV}.tar.gz
> "
> +SRC_URI[md5sum] = "838ecf97f7daff79e0f81e104a6be823"
> +SRC_URI[sha256sum] =
> "5afca94dc0213608101ad519eb1b25133cdc9e44c2a053a45a5a59422c2ee554"
> +
> +S = "${WORKDIR}/Module-Metadata-${PV}"
> +
> +inherit cpan
> +
> +RDEPENDS_${PN} = " perl-module-io-file \
> +                   perl-module-data-dumper \
> +                   perl-module-extutils-makemaker \
> +                   perl-module-file-spec \
> +                   perl-module-version \
> +                   perl-module-exporter \
> +                   perl-module-carp \
> +                   perl-module-test-more \
> +                   perl-module-file-temp \
> +                   perl-module-file-path \
> +"
> +
> +BBCLASSEXTEND = "native"
> --
> 1.7.9.5
>
>


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

* Re: [meta-perl][PATCH v2 08/10] libmodule-build-tiny-perl: add 0.030
       [not found]     ` <CANx9H-Bc+6QxLGkr5Kv68_ag161n9gc-0bBQ0PrjTheSCZUZ1w@mail.gmail.com>
@ 2014-03-31  5:39       ` Hongxu Jia
  0 siblings, 0 replies; 26+ messages in thread
From: Hongxu Jia @ 2014-03-31  5:39 UTC (permalink / raw)
  To: Tim Orling; +Cc: openembedded-devel

On 03/31/2014 11:35 AM, Tim Orling wrote:
> Yes, -perl is missing. Didn't quite fix the Debian-izing of that 
> recipe :)
>
> I will submit a patch.
>
> --Tim
>
> BTW,  I did not create the info for the Readme for the layer. With 
> these 10 recipes, about 14 more I have in the wings and about 80 I am 
> working on that Paul has pointed me to (from Emil), that Readme is 
> going to get VERY long. Do we want to maintain the practice or ...? 
> Don't get me wrong, it is helpful.
>

Yes, any README for the practice is welcomed, there is a README in 
meta-perl/,
if yours is very long, you could put it in the involved recipes dir or
summarize it to take an simple example to add to meta-perl/README.

//Hongxu

>
> On Fri, Mar 28, 2014 at 11:24 PM, Hongxu Jia <hongxu.jia@windriver.com 
> <mailto:hongxu.jia@windriver.com>> wrote:
>
>     On 02/03/2014 02:51 PM, Tim Orling wrote:
>
>         [Description from CPAN]
>         Many Perl distributions use a Build.PL file instead of a
>         Makefile.PL file to drive distribution configuration, build,
>         test and
>         installation. Traditionally, Build.PL uses Module::Build as
>         the underlying
>         build system. This module provides a simple, lightweight,
>         drop-in replacement.
>
>         Signed-off-by: Tim Orling <ticotimo@gmail.com
>         <mailto:ticotimo@gmail.com>>
>         ---
>           .../libmodule/libmodule-build-tiny-perl_0.030.bb
>         <http://libmodule-build-tiny-perl_0.030.bb>   |   54
>         ++++++++++++++++++++
>           1 file changed, 54 insertions(+)
>           create mode 100644
>         meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
>         <http://libmodule-build-tiny-perl_0.030.bb>
>
>         diff --git
>         a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
>         <http://libmodule-build-tiny-perl_0.030.bb>
>         b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
>         <http://libmodule-build-tiny-perl_0.030.bb>
>         new file mode 100644
>         index 0000000..fadd9c7
>         --- /dev/null
>         +++
>         b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
>         <http://libmodule-build-tiny-perl_0.030.bb>
>         @@ -0,0 +1,54 @@
>         +SUMMARY = "Module::Build::Tiny - A tiny replacement for
>         Module::Build"
>         +DESCRIPTION = "Many Perl distributions use a Build.PL file
>         instead of a \
>         +Makefile.PL file to drive distribution configuration, build,
>         test and \
>         +installation. Traditionally, Build.PL uses Module::Build as
>         the underlying \
>         +build system. This module provides a simple, lightweight,
>         drop-in replacement. \
>         +Whereas Module::Build has over 6,700 lines of code; this
>         module has less than \
>         +120, yet supports the features needed by most distributions."
>         +SECTION = "libs"
>         +
>         +HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/
>         <http://search.cpan.org/%7Eleont/Module-Build-Tiny/>"
>         +
>         +LICENSE = "Artistic-1.0 | GPL-1.0+"
>         +LIC_FILES_CHKSUM =
>         "file://LICENSE;md5=aaca61412962cf972aec0cdad99d0a84"
>         +
>         +DEPENDS = "libextutils-config-native
>         libextutils-helpers-native libextutils-installpaths-native"
>         +
>
>     Hi Tim,
>
>     Not found '"libextutils-config-native libextutils-helpers-native
>     libextutils-installpaths-native"',
>
>     Is '*-perl-*' missing ?
>
>     $ bitbake libmodule-build-tiny-perl
>     Loading cache: 100%
>     |#########################################################################################################|
>     ETA:  00:00:00
>     Loaded 1243 entries from dependency cache.
>     NOTE: Resolving any missing task queue dependencies
>     ERROR: Nothing PROVIDES 'libextutils-config-native' (but
>     /home/jiahongxu/yocto/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb
>     <http://libmodule-build-tiny-perl_0.030.bb> DEPENDS on or
>     otherwise requires it). Close matches:
>       libextutils-config-perl-native
>       libextutils-config-perl
>       libextutils-cppguess-perl-native
>     ERROR: Required build target 'libmodule-build-tiny-perl' has no
>     buildable providers.
>     Missing or unbuildable dependency chain was:
>     ['libmodule-build-tiny-perl', 'libextutils-config-native']
>
>     Hi Paul & Tim,
>
>     Sorry for the late reply, the inaccurate email fillter
>     rules caused me missing the meta-perl mail, I have fixed it,
>     and put them as prior.
>
>     //Hongxu
>
>
>         +SRC_URI =
>         "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz
>         <http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-Tiny-$%7BPV%7D.tar.gz>"
>         +SRC_URI[md5sum] = "1c54bf4c602eec87f98950314699402e"
>         +SRC_URI[sha256sum] =
>         "dfd418ad0e8290cf645ab11be209a1bf6865e5a562c5a1592da99d5fd24718a8"
>         +
>         +S = "${WORKDIR}/Module-Build-Tiny-${PV}"
>         +
>         +inherit cpan_build
>         +
>         +do_install () {
>         +        cpan_build_do_install
>         +}
>         +
>         +RDEPENDS_${PN} = " libextutils-config-perl \
>         +                   libextutils-helpers-perl \
>         +                   libextutils-installpaths-perl \
>         +                   perl-module-xsloader \
>         +                   perl-module-file-spec \
>         +                   perl-module-io-handle \
>         +                   perl-module-tap-harness-env \
>         +                   perl-module-ipc-open3 \
>         +                   perl-module-file-path \
>         +                   perl-module-cpan-meta \
>         +                   perl-module-extutils-cbuilder \
>         +                   perl-module-getopt-long \
>         +                   perl-module-extutils-makemaker \
>         +                   perl-module-exporter \
>         +                   perl-module-carp \
>         +                   perl-module-test-more \
>         +                   perl-module-text-parsewords \
>         +                   perl-module-module-load \
>         +                   perl-module-file-temp \
>         +                   perl-module-data-dumper \
>         +                   perl-module-extutils-parsexs \
>         +                   perl-module-pod-man \
>         +                   perl-module-json-pp \
>         +"
>         +
>         +BBCLASSEXTEND = "native"
>
>
>



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

* Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-03-31  3:30   ` Tim Orling
@ 2014-03-31  8:54     ` Paul Eggleton
  2014-04-20 20:19       ` Tim Orling
  0 siblings, 1 reply; 26+ messages in thread
From: Paul Eggleton @ 2014-03-31  8:54 UTC (permalink / raw)
  To: Tim Orling; +Cc: openembedded-devel

Hi Tim,

On Sunday 30 March 2014 20:30:28 Tim Orling wrote:
> Yes. It updates the version built into perl. I will submit a patch with
> insane skip.

INSANE_SKIP isn't the right fix for this - if this recipe is staging duplicate 
files, it should be prevented from doing that by simply deleting the files 
within a do_install_append.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-03-31  8:54     ` Paul Eggleton
@ 2014-04-20 20:19       ` Tim Orling
  2014-04-21  2:17         ` Hongxu Jia
  0 siblings, 1 reply; 26+ messages in thread
From: Tim Orling @ 2014-04-20 20:19 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-devel

On Mon, Mar 31, 2014 at 1:54 AM, Paul Eggleton <
paul.eggleton@linux.intel.com> wrote:

> Hi Tim,
>
> On Sunday 30 March 2014 20:30:28 Tim Orling wrote:
> > Yes. It updates the version built into perl. I will submit a patch with
> > insane skip.
>
> INSANE_SKIP isn't the right fix for this - if this recipe is staging
> duplicate
> files, it should be prevented from doing that by simply deleting the files
> within a do_install_append.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>

(1) I am thinking about dropping this patch. perl-native provides
Module::Metadata 1.00004, so if subsequent packages are being
cross-compiled I have not yet proven there is a need for the updated
v1.000019 provided here.

(2) The question is, if one wanted to build subsequent packages in-situ,
how to provide Module::Metadata 1.00004 on a target system, since it is
only provided by perl-native?

--Tim


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

* Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-04-20 20:19       ` Tim Orling
@ 2014-04-21  2:17         ` Hongxu Jia
  2014-04-21  3:01           ` Tim Orling
  0 siblings, 1 reply; 26+ messages in thread
From: Hongxu Jia @ 2014-04-21  2:17 UTC (permalink / raw)
  To: openembedded-devel, Paul Eggleton

On 04/21/2014 04:19 AM, Tim Orling wrote:
> (1) I am thinking about dropping this patch. perl-native provides
> Module::Metadata 1.00004, so if subsequent packages are being
> cross-compiled I have not yet proven there is a need for the updated
> v1.000019 provided here.
>
> (2) The question is, if one wanted to build subsequent packages in-situ,
> how to provide Module::Metadata 1.00004 on a target system, since it is
> only provided by perl-native?

It is also provided by perl, for target.

//Hongxu

>
> --Tim
> -- 



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

* Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-04-21  2:17         ` Hongxu Jia
@ 2014-04-21  3:01           ` Tim Orling
  2014-04-21  3:05             ` Hongxu Jia
  0 siblings, 1 reply; 26+ messages in thread
From: Tim Orling @ 2014-04-21  3:01 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Paul Eggleton

On Sun, Apr 20, 2014 at 7:17 PM, Hongxu Jia <hongxu.jia@windriver.com>wrote:

> On 04/21/2014 04:19 AM, Tim Orling wrote:
>
>> (1) I am thinking about dropping this patch. perl-native provides
>> Module::Metadata 1.00004, so if subsequent packages are being
>> cross-compiled I have not yet proven there is a need for the updated
>> v1.000019 provided here.
>>
>> (2) The question is, if one wanted to build subsequent packages in-situ,
>> how to provide Module::Metadata 1.00004 on a target system, since it is
>> only provided by perl-native?
>>
>
> It is also provided by perl, for target.
>
> //Hongxu
>
>
I am not seeing it. Am I missing something?

root@beaglebone:~# perl -mModule::Metadata

Can't locate Module/Metadata.pm in @INC (@INC contains: /etc/perl
/usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3
/usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3
/usr/lib/perl/5.14.3/ /usr/lib/perl/5.14.3 /usr/local/lib/site_perl
/usr/lib/perl/5.14.3 .).

BEGIN failed--compilation aborted.

>
>> --Tim
>> --
>>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

* Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-04-21  3:01           ` Tim Orling
@ 2014-04-21  3:05             ` Hongxu Jia
  2014-04-21  3:13               ` Hongxu Jia
  0 siblings, 1 reply; 26+ messages in thread
From: Hongxu Jia @ 2014-04-21  3:05 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Paul Eggleton

On 04/21/2014 11:01 AM, Tim Orling wrote:
> On Sun, Apr 20, 2014 at 7:17 PM, Hongxu Jia <hongxu.jia@windriver.com>wrote:
>
>> On 04/21/2014 04:19 AM, Tim Orling wrote:
>>
>>> (1) I am thinking about dropping this patch. perl-native provides
>>> Module::Metadata 1.00004, so if subsequent packages are being
>>> cross-compiled I have not yet proven there is a need for the updated
>>> v1.000019 provided here.
>>>
>>> (2) The question is, if one wanted to build subsequent packages in-situ,
>>> how to provide Module::Metadata 1.00004 on a target system, since it is
>>> only provided by perl-native?
>>>
>> It is also provided by perl, for target.
>>
>> //Hongxu
>>
>>
> I am not seeing it. Am I missing something?


Hi Tim,

I am afraid Module::Metadataj is not in perl by default, you need
to tweak poky/meta/recipes-devtools/perl/perl_5.14.3.bb, to create
a new package for Module::Metadata, you could reference what
'perl-module-cpan' did, such as:
...
PACKAGES += "perl-module-metadata"
FILES_perl-module-metadata += ">>the files you need<<"
...

And add 'perl-module-metadata' to your recipes's RDEPENDS.

//Hongxu

>
> root@beaglebone:~# perl -mModule::Metadata
>
> Can't locate Module/Metadata.pm in @INC (@INC contains: /etc/perl
> /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3
> /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3
> /usr/lib/perl/5.14.3/ /usr/lib/perl/5.14.3 /usr/local/lib/site_perl
> /usr/lib/perl/5.14.3 .).
>
> BEGIN failed--compilation aborted.
>
>>> --Tim
>>> --
>>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>



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

* Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-04-21  3:05             ` Hongxu Jia
@ 2014-04-21  3:13               ` Hongxu Jia
  2014-04-23 16:10                 ` Tim Orling
  0 siblings, 1 reply; 26+ messages in thread
From: Hongxu Jia @ 2014-04-21  3:13 UTC (permalink / raw)
  To: Tim Orling; +Cc: openembedded-devel

On 04/21/2014 11:05 AM, Hongxu Jia wrote:
> On 04/21/2014 11:01 AM, Tim Orling wrote:
>> On Sun, Apr 20, 2014 at 7:17 PM, Hongxu Jia 
>> <hongxu.jia@windriver.com>wrote:
>>
>>> On 04/21/2014 04:19 AM, Tim Orling wrote:
>>>
>>>> (1) I am thinking about dropping this patch. perl-native provides
>>>> Module::Metadata 1.00004, so if subsequent packages are being
>>>> cross-compiled I have not yet proven there is a need for the updated
>>>> v1.000019 provided here.
>>>>
>>>> (2) The question is, if one wanted to build subsequent packages 
>>>> in-situ,
>>>> how to provide Module::Metadata 1.00004 on a target system, since 
>>>> it is
>>>> only provided by perl-native?
>>>>
>>> It is also provided by perl, for target.
>>>
>>> //Hongxu
>>>
>>>
>> I am not seeing it. Am I missing something?
>
>
> Hi Tim,
>
> I am afraid Module::Metadataj is not in perl by default, you need
> to tweak poky/meta/recipes-devtools/perl/perl_5.14.3.bb, to create
> a new package for Module::Metadata, you could reference what
> 'perl-module-cpan' did, such as:
> ...
> PACKAGES += "perl-module-metadata"
> FILES_perl-module-metadata += ">>the files you need<<"
> ...

You also need tweak do_install, to install Metadata.pm from ${S}
to ${D}, the default do_install did not do that.

//Hongxu

>
> And add 'perl-module-metadata' to your recipes's RDEPENDS.
>
> //Hongxu
>
>>
>> root@beaglebone:~# perl -mModule::Metadata
>>
>> Can't locate Module/Metadata.pm in @INC (@INC contains: /etc/perl
>> /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3
>> /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3
>> /usr/lib/perl/5.14.3/ /usr/lib/perl/5.14.3 /usr/local/lib/site_perl
>> /usr/lib/perl/5.14.3 .).
>>
>> BEGIN failed--compilation aborted.
>>
>>>> --Tim
>>>> -- 
>>>>
>>> -- 
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>
>



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

* Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-04-21  3:13               ` Hongxu Jia
@ 2014-04-23 16:10                 ` Tim Orling
  2014-05-06 13:52                   ` Tim Orling
  0 siblings, 1 reply; 26+ messages in thread
From: Tim Orling @ 2014-04-23 16:10 UTC (permalink / raw)
  To: Hongxu Jia; +Cc: openembedded-devel

--Turns out to not be quite so simple. Module::Metadata is not ever being
created by perl_*.bb. This is somewhat surprising because Module::Build
needs Module::Metadata and this has been missed in
Cross/configure.sh-arm-linux since perl v5.13.9.
--You can verify this by running "perl -mModule::Build" on qemuarm/arm
target.
--I am working on a patch for oe-core.


On Sun, Apr 20, 2014 at 8:13 PM, Hongxu Jia <hongxu.jia@windriver.com>wrote:

> On 04/21/2014 11:05 AM, Hongxu Jia wrote:
>
>> On 04/21/2014 11:01 AM, Tim Orling wrote:
>>
>>> On Sun, Apr 20, 2014 at 7:17 PM, Hongxu Jia <hongxu.jia@windriver.com>
>>> wrote:
>>>
>>>  On 04/21/2014 04:19 AM, Tim Orling wrote:
>>>>
>>>>  (1) I am thinking about dropping this patch. perl-native provides
>>>>> Module::Metadata 1.00004, so if subsequent packages are being
>>>>> cross-compiled I have not yet proven there is a need for the updated
>>>>> v1.000019 provided here.
>>>>>
>>>>> (2) The question is, if one wanted to build subsequent packages
>>>>> in-situ,
>>>>> how to provide Module::Metadata 1.00004 on a target system, since it is
>>>>> only provided by perl-native?
>>>>>
>>>>>  It is also provided by perl, for target.
>>>>
>>>> //Hongxu
>>>>
>>>>
>>>>  I am not seeing it. Am I missing something?
>>>
>>
>>
>> Hi Tim,
>>
>> I am afraid Module::Metadataj is not in perl by default, you need
>> to tweak poky/meta/recipes-devtools/perl/perl_5.14.3.bb, to create
>> a new package for Module::Metadata, you could reference what
>> 'perl-module-cpan' did, such as:
>> ...
>> PACKAGES += "perl-module-metadata"
>> FILES_perl-module-metadata += ">>the files you need<<"
>> ...
>>
>
> You also need tweak do_install, to install Metadata.pm from ${S}
> to ${D}, the default do_install did not do that.
>
> //Hongxu
>
>
>
>> And add 'perl-module-metadata' to your recipes's RDEPENDS.
>>
>> //Hongxu
>>
>>
>>> root@beaglebone:~# perl -mModule::Metadata
>>>
>>> Can't locate Module/Metadata.pm in @INC (@INC contains: /etc/perl
>>> /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3
>>> /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3
>>> /usr/lib/perl/5.14.3/ /usr/lib/perl/5.14.3 /usr/local/lib/site_perl
>>> /usr/lib/perl/5.14.3 .).
>>>
>>> BEGIN failed--compilation aborted.
>>>
>>>  --Tim
>>>>> --
>>>>>
>>>>>  --
>>>> _______________________________________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>
>>>>
>>
>


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

* Re: [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019
  2014-04-23 16:10                 ` Tim Orling
@ 2014-05-06 13:52                   ` Tim Orling
  0 siblings, 0 replies; 26+ messages in thread
From: Tim Orling @ 2014-05-06 13:52 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Apr 23, 2014 at 9:10 AM, Tim Orling <ticotimo@gmail.com> wrote:

> --Turns out to not be quite so simple. Module::Metadata is not ever being
> created by perl_*.bb. This is somewhat surprising because Module::Build
> needs Module::Metadata and this has been missed in
> Cross/configure.sh-arm-linux since perl v5.13.9.
> --You can verify this by running "perl -mModule::Build" on qemuarm/arm
> target.
> --I am working on a patch for oe-core.
>

Fixed in (and this patch superseded by)
http://patches.openembedded.org/patch/71565/

>
> On Sun, Apr 20, 2014 at 8:13 PM, Hongxu Jia <hongxu.jia@windriver.com>wrote:
>
>> On 04/21/2014 11:05 AM, Hongxu Jia wrote:
>>
>>> On 04/21/2014 11:01 AM, Tim Orling wrote:
>>>
>>>> On Sun, Apr 20, 2014 at 7:17 PM, Hongxu Jia <hongxu.jia@windriver.com>
>>>> wrote:
>>>>
>>>>  On 04/21/2014 04:19 AM, Tim Orling wrote:
>>>>>
>>>>>  (1) I am thinking about dropping this patch. perl-native provides
>>>>>> Module::Metadata 1.00004, so if subsequent packages are being
>>>>>> cross-compiled I have not yet proven there is a need for the updated
>>>>>> v1.000019 provided here.
>>>>>>
>>>>>> (2) The question is, if one wanted to build subsequent packages
>>>>>> in-situ,
>>>>>> how to provide Module::Metadata 1.00004 on a target system, since it
>>>>>> is
>>>>>> only provided by perl-native?
>>>>>>
>>>>>>  It is also provided by perl, for target.
>>>>>
>>>>> //Hongxu
>>>>>
>>>>>
>>>>>  I am not seeing it. Am I missing something?
>>>>
>>>
>>>
>>> Hi Tim,
>>>
>>> I am afraid Module::Metadataj is not in perl by default, you need
>>> to tweak poky/meta/recipes-devtools/perl/perl_5.14.3.bb, to create
>>> a new package for Module::Metadata, you could reference what
>>> 'perl-module-cpan' did, such as:
>>> ...
>>> PACKAGES += "perl-module-metadata"
>>> FILES_perl-module-metadata += ">>the files you need<<"
>>> ...
>>>
>>
>> You also need tweak do_install, to install Metadata.pm from ${S}
>> to ${D}, the default do_install did not do that.
>>
>> //Hongxu
>>
>>
>>
>>> And add 'perl-module-metadata' to your recipes's RDEPENDS.
>>>
>>> //Hongxu
>>>
>>>
>>>> root@beaglebone:~# perl -mModule::Metadata
>>>>
>>>> Can't locate Module/Metadata.pm in @INC (@INC contains: /etc/perl
>>>> /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3
>>>> /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3
>>>> /usr/lib/perl/5.14.3/ /usr/lib/perl/5.14.3 /usr/local/lib/site_perl
>>>> /usr/lib/perl/5.14.3 .).
>>>>
>>>> BEGIN failed--compilation aborted.
>>>>
>>>>  --Tim
>>>>>> --
>>>>>>
>>>>>>  --
>>>>> _______________________________________________
>>>>> Openembedded-devel mailing list
>>>>> Openembedded-devel@lists.openembedded.org
>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>
>>>>>
>>>
>>
>


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

end of thread, other threads:[~2014-05-06 13:52 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-03  6:51 [meta-perl][PATCH v2 00/10] Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019 Tim Orling
2014-03-29  6:44   ` Hongxu Jia
2014-03-31  3:30   ` Tim Orling
2014-03-31  8:54     ` Paul Eggleton
2014-04-20 20:19       ` Tim Orling
2014-04-21  2:17         ` Hongxu Jia
2014-04-21  3:01           ` Tim Orling
2014-04-21  3:05             ` Hongxu Jia
2014-04-21  3:13               ` Hongxu Jia
2014-04-23 16:10                 ` Tim Orling
2014-05-06 13:52                   ` Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 02/10] libtext-diff-perl: add 1.41 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 03/10] libcapture-tiny-perl: add 0.23 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 04/10] libmodule-runtime-perl: add 0.013 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 05/10] libextutils-config-perl: add 0.007 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 06/10] libextutils-helpers-perl: add 0.021 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 07/10] libextutils-installpaths-perl: add 0.010 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 08/10] libmodule-build-tiny-perl: add 0.030 Tim Orling
2014-03-29  6:24   ` Hongxu Jia
     [not found]     ` <CANx9H-Bc+6QxLGkr5Kv68_ag161n9gc-0bBQ0PrjTheSCZUZ1w@mail.gmail.com>
2014-03-31  5:39       ` Hongxu Jia
2014-02-03  6:51 ` [meta-perl][PATCH v2 09/10] libextutils-cppguess-perl: add 0.07 Tim Orling
2014-02-03  6:51 ` [meta-perl][PATCH v2 10/10] libalgorithm-diff-perl: add 1.15 Tim Orling
2014-02-26 10:03 ` [meta-perl][PATCH v2 00/10] Paul Eggleton
2014-03-09 11:49   ` Paul Eggleton
2014-03-17 11:06     ` Paul Eggleton

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.