From e2d204324679f8d9210f7f108fdce02ac1b393b5 Mon Sep 17 00:00:00 2001 From: Lee Chee Yang Date: Wed, 13 Dec 2023 11:34:06 +0800 Subject: perlcross: update to 1.5.2 remove upstreamed 0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch (From OE-Core rev: 70b521284f8dbe3b38a2be9b312c632b3a51ef73) Signed-off-by: Lee Chee Yang Signed-off-by: Steve Sakoman --- ...re_pfmt.sh-add-32-bit-integer-format-defi.patch | 28 ---------------- .../recipes-devtools/perl-cross/perlcross_1.5.2.bb | 38 +++++++++++++++++++++ meta/recipes-devtools/perl-cross/perlcross_1.5.bb | 39 ---------------------- 3 files changed, 38 insertions(+), 67 deletions(-) delete mode 100644 meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch create mode 100644 meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb delete mode 100644 meta/recipes-devtools/perl-cross/perlcross_1.5.bb (limited to 'meta') diff --git a/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch b/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch deleted file mode 100644 index 4de4a5b955..0000000000 --- a/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 920abf3dc39c851a655b719622c76a6f0dc9981d Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin -Date: Tue, 5 Sep 2023 19:47:33 +0200 -Subject: [PATCH] cnf/configure_pfmt.sh: add 32 bit integer format definitions - -These started to matter in perl 5.38 where they are used to print -line numbers. - -Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/143] -Signed-off-by: Alexander Kanavin ---- - cnf/configure_pfmt.sh | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/cnf/configure_pfmt.sh b/cnf/configure_pfmt.sh -index 8f93da1..7bb4b6f 100644 ---- a/cnf/configure_pfmt.sh -+++ b/cnf/configure_pfmt.sh -@@ -52,3 +52,9 @@ else - define uvxformat '"lx"' - define uvXUformat '"lX"' - fi -+ -+define i32dformat 'PRId32' -+define u32uformat 'PRIu32' -+define u32oformat 'PRIo32' -+define u32xformat 'PRIx32' -+define u32XUformat 'PRIX32' diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb new file mode 100644 index 0000000000..b41c182fad --- /dev/null +++ b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb @@ -0,0 +1,38 @@ +SUMMARY = "Perl-cross build system" +HOMEPAGE = "https://github.com/arsv/perl-cross" +DESCRIPTION = "perl-cross provides configure script, top-level Makefile and some auxiliary files for perl, \ +with the primary emphasis on cross-compiling the source." +SECTION = "devel" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +# README.md is taken from https://github.com/arsv/perl-cross/blob/master/README.md +# but is not provided inside the release tarballs +LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" + +inherit allarch github-releases + +SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \ + file://README.md \ + file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \ + file://determinism.patch \ + file://0001-Makefile-check-the-file-if-patched-or-not.patch \ + " +GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/" + +SRC_URI[perl-cross.sha256sum] = "584dc54c48dca25e032b676a15bef377c1fed9de318b4fc140292a5dbf326e90" + +S = "${WORKDIR}/perl-cross-${PV}" + +do_configure () { +} + +do_compile () { +} + +do_install:class-native() { + mkdir -p ${D}/${datadir}/perl-cross/ + cp -rf ${S}/* ${D}/${datadir}/perl-cross/ + rm -rf ${D}/${datadir}/perl-cross/patches/ +} + +BBCLASSEXTEND = "native" + diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.5.bb b/meta/recipes-devtools/perl-cross/perlcross_1.5.bb deleted file mode 100644 index 7ca4977b97..0000000000 --- a/meta/recipes-devtools/perl-cross/perlcross_1.5.bb +++ /dev/null @@ -1,39 +0,0 @@ -SUMMARY = "Perl-cross build system" -HOMEPAGE = "https://github.com/arsv/perl-cross" -DESCRIPTION = "perl-cross provides configure script, top-level Makefile and some auxiliary files for perl, \ -with the primary emphasis on cross-compiling the source." -SECTION = "devel" -LICENSE = "Artistic-1.0 | GPL-1.0-or-later" -# README.md is taken from https://github.com/arsv/perl-cross/blob/master/README.md -# but is not provided inside the release tarballs -LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" - -inherit allarch github-releases - -SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \ - file://README.md \ - file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \ - file://determinism.patch \ - file://0001-Makefile-check-the-file-if-patched-or-not.patch \ - file://0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch \ - " -GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/" - -SRC_URI[perl-cross.sha256sum] = "d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211" - -S = "${WORKDIR}/perl-cross-${PV}" - -do_configure () { -} - -do_compile () { -} - -do_install:class-native() { - mkdir -p ${D}/${datadir}/perl-cross/ - cp -rf ${S}/* ${D}/${datadir}/perl-cross/ - rm -rf ${D}/${datadir}/perl-cross/patches/ -} - -BBCLASSEXTEND = "native" - -- cgit v1.2.3-54-g00ecf