From 72efe0c9e9df999001ad16fd84457a495f828138 Mon Sep 17 00:00:00 2001 From: Jens Rehsack Date: Tue, 26 Jan 2016 23:13:30 +0100 Subject: recipes-devel: clean-up Clean up recipes-devel and move some recipes to meanwhile existing better categories. Signed-off-by: Jens Rehsack (From meta-cpan rev: 6b091d47bd14831d875f41d366e327ab127b4a62) Stripped of all changes to files except json-perl. Tested: Built a witherspoon image Change-Id: I13093acd029278102523d30c33209b8d4473eb00 Signed-off-by: Brad Bishop --- .../recipes-devel/json-perl/json-perl_2.90.bb | 74 ---------------------- .../recipes-textproc/json-perl/json-perl_2.90.bb | 74 ++++++++++++++++++++++ 2 files changed, 74 insertions(+), 74 deletions(-) delete mode 100644 meta-phosphor/common/recipes-devel/json-perl/json-perl_2.90.bb create mode 100644 meta-phosphor/common/recipes-textproc/json-perl/json-perl_2.90.bb (limited to 'meta-phosphor/common') diff --git a/meta-phosphor/common/recipes-devel/json-perl/json-perl_2.90.bb b/meta-phosphor/common/recipes-devel/json-perl/json-perl_2.90.bb deleted file mode 100644 index e100c9a24..000000000 --- a/meta-phosphor/common/recipes-devel/json-perl/json-perl_2.90.bb +++ /dev/null @@ -1,74 +0,0 @@ -DESCRIPTION = " *************************** CAUTION \ -************************************** * \ - * \ - * INCOMPATIBLE CHANGE (JSON::XS version 2.90) \ - * \ - * \ - * \ - * JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean \ -internally * \ - * on loading time for making these modules inherit JSON::Boolean. \ - * \ - * But since JSON::XS v3.0 it use Types::Serialiser as boolean class. \ - * \ - * Then now JSON.pm breaks boolean classe overload features and \ - * \ - * -support_by_pp if JSON::XS v3.0 or later is installed. \ - * \ - * \ - * \ - * JSON::true and JSON::false returned JSON::Boolean objects. \ - * \ - * For workaround, they return JSON::PP::Boolean objects in this \ -version. * \ - * \ - * \ - * isa_ok(JSON::true, 'JSON::PP::Boolean'); \ - * \ - * \ - * \ - * And it discards a feature: \ - * \ - * \ - * \ - * ok(JSON::true eq 'true'); \ - * \ - * \ - * \ - * In other word, JSON::PP::Boolean overload numeric only. \ - * \ - * \ - * \ - * ok( JSON::true == 1 ); \ - * \ - * \ - * \ - \ -*********************************************************************** \ -***" - -SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-2.0" -PR = "r0" - -MAINTAINER= "Poky " -HOMEPAGE= "https://metacpan.org/release/JSON" - -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ -file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" - -SRC_URI = "http://cpan.metacpan.org/authors/id/M/MA/MAKAMAKA/JSON-2.90.tar.gz" - -SRC_URI[md5sum] = "e1512169a623e790a3f69b599cc1d3b9" -SRC_URI[sha256sum] = "4ddbb3cb985a79f69a34e7c26cde1c81120d03487e87366f9a119f90f7bdfe88" - -S = "${WORKDIR}/JSON-${PV}" - -inherit cpan - -do_compile() { - export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" - cpan_do_compile -} - -BBCLASSEXTEND = "native" diff --git a/meta-phosphor/common/recipes-textproc/json-perl/json-perl_2.90.bb b/meta-phosphor/common/recipes-textproc/json-perl/json-perl_2.90.bb new file mode 100644 index 000000000..e100c9a24 --- /dev/null +++ b/meta-phosphor/common/recipes-textproc/json-perl/json-perl_2.90.bb @@ -0,0 +1,74 @@ +DESCRIPTION = " *************************** CAUTION \ +************************************** * \ + * \ + * INCOMPATIBLE CHANGE (JSON::XS version 2.90) \ + * \ + * \ + * \ + * JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean \ +internally * \ + * on loading time for making these modules inherit JSON::Boolean. \ + * \ + * But since JSON::XS v3.0 it use Types::Serialiser as boolean class. \ + * \ + * Then now JSON.pm breaks boolean classe overload features and \ + * \ + * -support_by_pp if JSON::XS v3.0 or later is installed. \ + * \ + * \ + * \ + * JSON::true and JSON::false returned JSON::Boolean objects. \ + * \ + * For workaround, they return JSON::PP::Boolean objects in this \ +version. * \ + * \ + * \ + * isa_ok(JSON::true, 'JSON::PP::Boolean'); \ + * \ + * \ + * \ + * And it discards a feature: \ + * \ + * \ + * \ + * ok(JSON::true eq 'true'); \ + * \ + * \ + * \ + * In other word, JSON::PP::Boolean overload numeric only. \ + * \ + * \ + * \ + * ok( JSON::true == 1 ); \ + * \ + * \ + * \ + \ +*********************************************************************** \ +***" + +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-2.0" +PR = "r0" + +MAINTAINER= "Poky " +HOMEPAGE= "https://metacpan.org/release/JSON" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ +file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI = "http://cpan.metacpan.org/authors/id/M/MA/MAKAMAKA/JSON-2.90.tar.gz" + +SRC_URI[md5sum] = "e1512169a623e790a3f69b599cc1d3b9" +SRC_URI[sha256sum] = "4ddbb3cb985a79f69a34e7c26cde1c81120d03487e87366f9a119f90f7bdfe88" + +S = "${WORKDIR}/JSON-${PV}" + +inherit cpan + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} + +BBCLASSEXTEND = "native" -- cgit v1.2.3