Skip to contentSkip to conversation

lib-perl: move package from meta-security to meta-perl

PATCH In review Armin Kuster 4 participants 10 messages Dec 15, 2014 – Dec 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 lib-perl: move package from meta-security to meta-perl

please consider this common package for meta-perl.

---
 meta-perl/recipes-perl/libperl/lib-perl_0.63.bb | 28 +++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libperl/lib-perl_0.63.bb
meta-perl/recipes-perl/libperl/lib-perl_0.63.bb new file +28 -0
new file mode 100644
index 0000000..7895864
@@ -0,0 +1,28 @@
+DESCRIPTION = "This is a small simple module which simplifies the \
+manipulation of @INC at compile time. It is typically used to add extra \
+directories to Perl's search path so that later 'use' or 'require' statements \
+will find modules which are not located in the default search path."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=94b119f1a7b8d611efc89b5d562a1a50"
+
+DEPENDS += "perl"
+
+SRC_URI = "http://www.cpan.org/authors/id/S/SM/SMUELLER/lib-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "8607ac4e0d9d43585ec28312f52df67c"
+SRC_URI[sha256sum] = "72f63db9220098e834d7a38231626bd0c9b802c1ec54a628e2df35f3818e5a00"
+
+S = "${WORKDIR}/lib-${PV}"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
+
+inherit cpan
+
+do_compile() {
+	export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
+	cpan_do_compile
+}
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/4 libhtml-parser-perl: move package from meta-security to meta-perl

please consider this common package for meta-perl.

---
 .../libhtml/libhtml-parser-perl_3.71.bb            | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.71.bb
meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.71.bb new file +25 -0
new file mode 100644
index 0000000..be0f4b2
@@ -0,0 +1,25 @@
+DESCRIPTION = "This package contains the Parser.pm module with friends."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+LIC_FILES_CHKSUM = "file://README;md5=6c3dacf9f405c7483870ab5f148770c3"
+
+DEPENDS += "perl"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "9128a45893097dfa3bf03301b19c5efe"
+SRC_URI[sha256sum] = "be918b3749d3ff93627f72ee4b825683332ecb4c81c67a3a8d72b0435ffbd802"
+
+S = "${WORKDIR}/HTML-Parser-${PV}"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
+
+inherit cpan
+
+do_compile() {
+	export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
+	cpan_do_compile
+}
+BBCLASSEXTEND = "native"
Signature · 1 line
1.9.1
#2 lore raw

PATCH 3/4 libcurses-perl: move to meta-perl

In reply to Armin Kuster

please consider this for meta-perl. I would like to move it from meta-security to common location. This also updates to latest.

---
 .../recipes-perl/libcurses/libcurses-perl_1.32.bb  | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libcurses/libcurses-perl_1.32.bb
meta-perl/recipes-perl/libcurses/libcurses-perl_1.32.bb new file +26 -0
new file mode 100644
index 0000000..d78ca47
@@ -0,0 +1,26 @@
+DESCRIPTION = "lib-curses provides an interface between Perl programs and \
+the curses library."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=0b37356c5e9e28080a3422d82af8af09"
+
+DEPENDS += "perl ncurses "
+
+SRC_URI = "http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-${PV}.tgz"
+
+SRC_URI[md5sum] = "e4d9066bfc5a69cb2cee3e1dfc3209b3"
+SRC_URI[sha256sum] = "5dba44fd7964806d9765e6692bc7eb8eb30aeced2740f28b9a4070a5d14ba650"
+
+S = "${WORKDIR}/Curses-${PV}"
+
+EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR} LIBS=-L${STAGING_LIBDIR}"
+
+inherit cpan
+
+do_compile() {
+    export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
+    cpan_do_compile
+}
+
Signature · 1 line
1.9.1
#3 lore raw

PATCH 4/4 libnet-dns-perl: move package to mete-perl.

In reply to Armin Kuster

please consider this package for meta-perl.

No real need for this to be in meta-security

---
 .../recipes-perl/libnet/libnet-dns-perl_0.81.bb    | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb
meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb new file +25 -0
new file mode 100644
index 0000000..9dc4268
@@ -0,0 +1,25 @@
+DESCRIPTION = "This package contains the DNS.pm module with friends."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+LIC_FILES_CHKSUM = "file://README;md5=524da96a3365f2caff73fea0ae67c3a0"
+
+DEPENDS += "perl"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "26375d4310beb108b0e2b3bf30403ee5"
+SRC_URI[sha256sum] = "b36c8ead6edf68da5d9de2b0a22a47d7216e2d7eb52c8cde96724988f68a6d46"
+
+S = "${WORKDIR}/Net-DNS-${PV}"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
+
+inherit cpan
+
+do_compile() {
+	export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
+	cpan_do_compile
+}
+BBCLASSEXTEND = "native"
Signature · 1 line
1.9.1
#4 lore raw
In reply to Armin Kuster
Quoted 7 lines · Armin Kuster

please consider this common package for meta-perl.

---
  meta-perl/recipes-perl/libperl/lib-perl_0.63.bb | 28 +++++++++++++++++++++++++
  1 file changed, 28 insertions(+)

create mode 100644 meta-perl/recipes-perl/libperl/lib-perl_0.63.bb

We have a another lib-perl in oe-core (meta/recipes-devtools/perl/perl_5.20.0.bb), Are they the same? If not, how about rename the recipe?
Others is fine to me.

//Hongxu

Quoted 35 lines
meta-perl/recipes-perl/libperl/lib-perl_0.63.bb new file +28 -0
new file mode 100644
index 0000000..7895864
@@ -0,0 +1,28 @@
+DESCRIPTION = "This is a small simple module which simplifies the \
+manipulation of @INC at compile time. It is typically used to add extra \
+directories to Perl's search path so that later 'use' or 'require' statements \
+will find modules which are not located in the default search path."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=94b119f1a7b8d611efc89b5d562a1a50"
+
+DEPENDS += "perl"
+
+SRC_URI = "http://www.cpan.org/authors/id/S/SM/SMUELLER/lib-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "8607ac4e0d9d43585ec28312f52df67c"
+SRC_URI[sha256sum] = "72f63db9220098e834d7a38231626bd0c9b802c1ec54a628e2df35f3818e5a00"
+
+S = "${WORKDIR}/lib-${PV}"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
+
+inherit cpan
+
+do_compile() {
+	export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
+	cpan_do_compile
+}
author
#5 lore raw
Quoted 10 lines · Hongxu Jia
Quoted 8 lines · Armin Kuster

please consider this common package for meta-perl.

---
  meta-perl/recipes-perl/libperl/lib-perl_0.63.bb | 28
+++++++++++++++++++++++++
  1 file changed, 28 insertions(+)

create mode 100644 meta-perl/recipes-perl/libperl/lib-perl_0.63.bb

Quoted 3 lines

We have a another lib-perl in oe-core
(meta/recipes-devtools/perl/perl_5.20.0.bb),
Are they the same?

I am not sure.

lib-perl is a small simple module which simplifies the manipulation of @INC at compile time.

I don't know if perl_5.20 includes this.

If not, how about rename the recipe?

It looks like on cpan.org it is refereed to a just 'lib'.

I can rename it to that.

Quoted 1 line

Others is fine to me.

great.

Kind regards,
Armin

Quoted 48 lines

//Hongxu

Quoted 44 lines
meta-perl/recipes-perl/libperl/lib-perl_0.63.bb new file +2 -0
new file mode 100644
index 0000000..7895864
@@ -0,0 +1,28 @@
+DESCRIPTION = "This is a small simple module which simplifies the \
+manipulation of @INC at compile time. It is typically used to add

extra \
+directories to Perl's search path so that later 'use' or 'require' statements \

meta-perl/recipes-perl/libperl/lib-perl_0.63.bb new file +7 -0
+will find modules which are not located in the default search path."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r0"
+
+LIC_FILES_CHKSUM =

"file://README;beginline=26;endline=30;md5=94b119f1a7b8d611efc89b5d562a1a50"

meta-perl/recipes-perl/libperl/lib-perl_0.63.bb new file +4 -0
+
+DEPENDS += "perl"
+
+SRC_URI =

"http://www.cpan.org/authors/id/S/SM/SMUELLER/lib-${PV}.tar.gz"

meta-perl/recipes-perl/libperl/lib-perl_0.63.bb new file +3 -0
+
+SRC_URI[md5sum] = "8607ac4e0d9d43585ec28312f52df67c"
+SRC_URI[sha256sum] =

"72f63db9220098e834d7a38231626bd0c9b802c1ec54a628e2df35f3818e5a00"

meta-perl/recipes-perl/libperl/lib-perl_0.63.bb new file +4 -0
+
+S = "${WORKDIR}/lib-${PV}"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR}

EXPATINCPATH=${STAGING_INCDIR}"

meta-perl/recipes-perl/libperl/lib-perl_0.63.bb new file +5 -0
+
+inherit cpan
+
+do_compile() {
+    export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name

'libc-*.so')"

meta-perl/recipes-perl/libperl/lib-perl_0.63.bb new file +2 -0
+    cpan_do_compile
+}
#6 lore raw
Quoted 23 lines · On Tuesday 16 December 2014 13:53:24 akuster808 wrote:
Quoted 8 lines · Hongxu Jia
Quoted 7 lines · Armin Kuster

please consider this common package for meta-perl.

---

  meta-perl/recipes-perl/libperl/lib-perl_0.63.bb | 28
Quoted 8 lines
Quoted 4 lines

+++++++++++++++++++++++++

  1 file changed, 28 insertions(+)

create mode 100644 meta-perl/recipes-perl/libperl/lib-perl_0.63.bb

We have a another lib-perl in oe-core
(meta/recipes-devtools/perl/perl_5.20.0.bb),
Are they the same?

I am not sure.

lib-perl is a small simple module which simplifies the manipulation of @INC at compile time.

Quoted 7 lines

I don't know if perl_5.20 includes this.

If not, how about rename the recipe?

It looks like on cpan.org it is refereed to a just 'lib'.

I can rename it to that.

At least in the current scheme we name perl recipes using the debian style naming i.e. lib*-perl. Unless we're planning to change the naming scheme for all recipes, perl recipes ought to continue to follow the scheme.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#7 lore raw
In reply to akuster808
Quoted 3 lines · On 14-12-16 22:53 +0100, akuster808 wrote:

It looks like on cpan.org it is refereed to a just 'lib'.

I can rename it to that.

Even if it looks ugly, the consistent name would be liblib-perl (lib${lower cased module namespace with - instead of ::}-perl) and it would have my vote.

Signature · 1 line
olofjn
#8 lore raw
Quoted 8 lines · Olof Johansson
Quoted 3 lines · On 14-12-16 22:53 +0100, akuster808 wrote:

It looks like on cpan.org it is refereed to a just 'lib'.

I can rename it to that.

Even if it looks ugly, the consistent name would be liblib-perl (lib${lower cased module namespace with - instead of ::}-perl) and it would have my vote.

Also,

$ corelist lib
lib was first released with perl 5.001

What's the reason for this recipe?

Signature · 1 line
olofjn
author
#9 lore raw
Quoted 10 lines · Olof Johansson
Quoted 8 lines · Olof Johansson
Quoted 3 lines · On 14-12-16 22:53 +0100, akuster808 wrote:

It looks like on cpan.org it is refereed to a just 'lib'.

I can rename it to that.

Even if it looks ugly, the consistent name would be liblib-perl (lib${lower cased module namespace with - instead of ::}-perl) and it would have my vote.

Quoted 7 lines

Also,

$ corelist lib
lib was first released with perl 5.001

What's the reason for this recipe?

Not sure. I inherited with meta-security. Sounds like I have some homework ; )

- Armin