Re: [oe] [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
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 akuster...@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 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
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 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
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 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
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 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
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 akuster...@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 000..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 +} -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-perl][PATCH 1/4] lib-perl: move package from meta-security to meta-perl
On 12/16/2014 12:55 AM, Armin Kuster wrote: please consider this common package for meta-perl. Signed-off-by: Armin Kuster akuster...@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 000..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 +} -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel