All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
@ 2014-12-15 16:55 Armin Kuster
  2014-12-15 16:55 ` [meta-perl][PATCH 2/4] libhtml-parser-perl: " Armin Kuster
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Armin Kuster @ 2014-12-15 16:55 UTC (permalink / raw)
  To: openembedded-devel

please consider this common package for meta-perl.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 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

diff --git a/meta-perl/recipes-perl/libperl/lib-perl_0.63.bb b/meta-perl/recipes-perl/libperl/lib-perl_0.63.bb
new file mode 100644
index 0000000..7895864
--- /dev/null
+++ b/meta-perl/recipes-perl/libperl/lib-perl_0.63.bb
@@ -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
+}
-- 
1.9.1



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

* [meta-perl][PATCH 2/4] libhtml-parser-perl: move package from meta-security to meta-perl
  2014-12-15 16:55 [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl Armin Kuster
@ 2014-12-15 16:55 ` Armin Kuster
  2014-12-15 16:55 ` [meta-perl][PATCH 3/4] libcurses-perl: move " Armin Kuster
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Armin Kuster @ 2014-12-15 16:55 UTC (permalink / raw)
  To: openembedded-devel

please consider this common package for meta-perl.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../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

diff --git a/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.71.bb b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.71.bb
new file mode 100644
index 0000000..be0f4b2
--- /dev/null
+++ b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.71.bb
@@ -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"
-- 
1.9.1



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

* [meta-perl][PATCH 3/4] libcurses-perl: move to meta-perl
  2014-12-15 16:55 [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl Armin Kuster
  2014-12-15 16:55 ` [meta-perl][PATCH 2/4] libhtml-parser-perl: " Armin Kuster
@ 2014-12-15 16:55 ` Armin Kuster
  2014-12-15 16:55 ` [meta-perl][PATCH 4/4] libnet-dns-perl: move package to mete-perl Armin Kuster
  2014-12-16  1:35 ` [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl Hongxu Jia
  3 siblings, 0 replies; 10+ messages in thread
From: Armin Kuster @ 2014-12-15 16:55 UTC (permalink / raw)
  To: openembedded-devel

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

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../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

diff --git a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.32.bb b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.32.bb
new file mode 100644
index 0000000..d78ca47
--- /dev/null
+++ b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.32.bb
@@ -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
+}
+
-- 
1.9.1



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

* [meta-perl][PATCH 4/4] libnet-dns-perl: move package to mete-perl.
  2014-12-15 16:55 [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl Armin Kuster
  2014-12-15 16:55 ` [meta-perl][PATCH 2/4] libhtml-parser-perl: " Armin Kuster
  2014-12-15 16:55 ` [meta-perl][PATCH 3/4] libcurses-perl: move " Armin Kuster
@ 2014-12-15 16:55 ` Armin Kuster
  2014-12-16  1:35 ` [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl Hongxu Jia
  3 siblings, 0 replies; 10+ messages in thread
From: Armin Kuster @ 2014-12-15 16:55 UTC (permalink / raw)
  To: openembedded-devel

please consider this package for meta-perl.

No real need for this to be in meta-security

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../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

diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb b/meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb
new file mode 100644
index 0000000..9dc4268
--- /dev/null
+++ b/meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb
@@ -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"
-- 
1.9.1



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

* Re: [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
  2014-12-15 16:55 [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl Armin Kuster
                   ` (2 preceding siblings ...)
  2014-12-15 16:55 ` [meta-perl][PATCH 4/4] libnet-dns-perl: move package to mete-perl Armin Kuster
@ 2014-12-16  1:35 ` Hongxu Jia
  2014-12-16 21:53   ` akuster808
  3 siblings, 1 reply; 10+ messages in thread
From: Hongxu Jia @ 2014-12-16  1:35 UTC (permalink / raw)
  To: Armin Kuster, openembedded-devel

On 12/16/2014 12:55 AM, Armin Kuster wrote:
> please consider this common package for meta-perl.
>
> Signed-off-by: Armin Kuster <akuster808@gmail.com>
> ---
>   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

>
> diff --git a/meta-perl/recipes-perl/libperl/lib-perl_0.63.bb b/meta-perl/recipes-perl/libperl/lib-perl_0.63.bb
> new file mode 100644
> index 0000000..7895864
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libperl/lib-perl_0.63.bb
> @@ -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
> +}



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

* Re: [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
  2014-12-16  1:35 ` [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl Hongxu Jia
@ 2014-12-16 21:53   ` akuster808
  2014-12-17 15:51     ` Paul Eggleton
  2014-12-17 18:51     ` Olof Johansson
  0 siblings, 2 replies; 10+ messages in thread
From: akuster808 @ 2014-12-16 21:53 UTC (permalink / raw)
  To: Hongxu Jia, openembedded-devel



On 12/15/2014 05:35 PM, Hongxu Jia wrote:
> On 12/16/2014 12:55 AM, Armin Kuster wrote:
>> please consider this common package for meta-perl.
>>
>> Signed-off-by: Armin Kuster <akuster808@gmail.com>
>> ---
>>   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?
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.


> Others is fine to me.

great.

Kind regards,
Armin
>
> //Hongxu
>
>>
>> diff --git a/meta-perl/recipes-perl/libperl/lib-perl_0.63.bb
>> b/meta-perl/recipes-perl/libperl/lib-perl_0.63.bb
>> new file mode 100644
>> index 0000000..7895864
>> --- /dev/null
>> +++ b/meta-perl/recipes-perl/libperl/lib-perl_0.63.bb
>> @@ -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
>> +}
>


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

* Re: [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
  2014-12-16 21:53   ` akuster808
@ 2014-12-17 15:51     ` Paul Eggleton
  2014-12-17 18:51     ` Olof Johansson
  1 sibling, 0 replies; 10+ messages in thread
From: Paul Eggleton @ 2014-12-17 15:51 UTC (permalink / raw)
  To: akuster808, Hongxu Jia; +Cc: openembedded-devel

On Tuesday 16 December 2014 13:53:24 akuster808 wrote:
> On 12/15/2014 05:35 PM, Hongxu Jia wrote:
> > On 12/16/2014 12:55 AM, Armin Kuster wrote:
> >> please consider this common package for meta-perl.
> >> 
> >> Signed-off-by: Armin Kuster <akuster808@gmail.com>
> >> ---
> >> 
> >>   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?
> 
> 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.

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

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
  2014-12-16 21:53   ` akuster808
  2014-12-17 15:51     ` Paul Eggleton
@ 2014-12-17 18:51     ` Olof Johansson
  2014-12-17 18:54       ` Olof Johansson
  1 sibling, 1 reply; 10+ messages in thread
From: Olof Johansson @ 2014-12-17 18:51 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

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.

-- 
olofjn


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

* Re: [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
  2014-12-17 18:51     ` Olof Johansson
@ 2014-12-17 18:54       ` Olof Johansson
  2014-12-17 18:57         ` akuster808
  0 siblings, 1 reply; 10+ messages in thread
From: Olof Johansson @ 2014-12-17 18:54 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

On 14-12-17 19:51 +0100, Olof Johansson wrote:
> 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?

-- 
olofjn


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

* Re: [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
  2014-12-17 18:54       ` Olof Johansson
@ 2014-12-17 18:57         ` akuster808
  0 siblings, 0 replies; 10+ messages in thread
From: akuster808 @ 2014-12-17 18:57 UTC (permalink / raw)
  To: openembedded-devel



On 12/17/2014 10:54 AM, Olof Johansson wrote:
> On 14-12-17 19:51 +0100, Olof Johansson wrote:
>> 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?
>

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

- Armin


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

end of thread, other threads:[~2014-12-17 18:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 16:55 [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl Armin Kuster
2014-12-15 16:55 ` [meta-perl][PATCH 2/4] libhtml-parser-perl: " Armin Kuster
2014-12-15 16:55 ` [meta-perl][PATCH 3/4] libcurses-perl: move " Armin Kuster
2014-12-15 16:55 ` [meta-perl][PATCH 4/4] libnet-dns-perl: move package to mete-perl Armin Kuster
2014-12-16  1:35 ` [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl Hongxu Jia
2014-12-16 21:53   ` akuster808
2014-12-17 15:51     ` Paul Eggleton
2014-12-17 18:51     ` Olof Johansson
2014-12-17 18:54       ` Olof Johansson
2014-12-17 18:57         ` akuster808

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.