From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH 14/17] icu: update 71.1 -> 72-1
Date: Sun, 20 Nov 2022 14:31:19 +0100 [thread overview]
Message-ID: <20221120133122.2464634-14-alex@linutronix.de> (raw)
In-Reply-To: <20221120133122.2464634-1-alex@linutronix.de>
Update the recipe to reflect the change in version separator.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
.../icu/{icu_71.1.bb => icu_72-1.bb} | 22 +++++++++++--------
1 file changed, 13 insertions(+), 9 deletions(-)
rename meta/recipes-support/icu/{icu_71.1.bb => icu_72-1.bb} (87%)
diff --git a/meta/recipes-support/icu/icu_71.1.bb b/meta/recipes-support/icu/icu_72-1.bb
similarity index 87%
rename from meta/recipes-support/icu/icu_71.1.bb
rename to meta/recipes-support/icu/icu_72-1.bb
index df999dce3b..2b20bdd7b2 100644
--- a/meta/recipes-support/icu/icu_71.1.bb
+++ b/meta/recipes-support/icu/icu_72-1.bb
@@ -15,7 +15,7 @@ S = "${WORKDIR}/icu/source"
SPDX_S = "${WORKDIR}/icu"
STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}"
-ICU_MAJOR_VER = "${@d.getVar('PV').split('.')[0]}"
+ICU_MAJOR_VER = "${@d.getVar('PV').split('-')[0]}"
inherit autotools pkgconfig github-releases
@@ -54,8 +54,8 @@ do_install:append:class-target() {
# The native pkgdata can not generate the correct data file.
# Use icupkg to re-generate it.
if [ "${SITEINFO_ENDIANNESS}" = "be" ] ; then
- rm -f ${D}/${datadir}/${BPN}/${PV}/icudt${ICU_MAJOR_VER}b.dat
- icupkg -tb ${S}/data/in/icudt${ICU_MAJOR_VER}l.dat ${D}/${datadir}/${BPN}/${PV}/icudt${ICU_MAJOR_VER}b.dat
+ rm -f ${D}/${datadir}/${BPN}/${@icu_install_folder(d)}/icudt${ICU_MAJOR_VER}b.dat
+ icupkg -tb ${S}/data/in/icudt${ICU_MAJOR_VER}l.dat ${D}/${datadir}/${BPN}/${@icu_install_folder(d)}/icudt${ICU_MAJOR_VER}b.dat
fi
# Remove build host references...
@@ -63,8 +63,8 @@ do_install:append:class-target() {
-e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
-e 's|${DEBUG_PREFIX_MAP}||g' \
-e 's:${HOSTTOOLS_DIR}/::g' \
- ${D}/${libdir}/${BPN}/${PV}/Makefile.inc \
- ${D}/${libdir}/${BPN}/${PV}/pkgdata.inc
+ ${D}/${libdir}/${BPN}/${@icu_install_folder(d)}/Makefile.inc \
+ ${D}/${libdir}/${BPN}/${@icu_install_folder(d)}/pkgdata.inc
}
PACKAGES =+ "libicudata libicuuc libicui18n libicutu libicuio"
@@ -82,13 +82,17 @@ BBCLASSEXTEND = "native nativesdk"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=a89d03060ff9c46552434dbd1fe3ed1f"
def icu_download_version(d):
- pvsplit = d.getVar('PV').split('.')
+ pvsplit = d.getVar('PV').split('-')
return pvsplit[0] + "_" + pvsplit[1]
def icu_download_folder(d):
- pvsplit = d.getVar('PV').split('.')
+ pvsplit = d.getVar('PV').split('-')
return pvsplit[0] + "-" + pvsplit[1]
+def icu_install_folder(d):
+ pvsplit = d.getVar('PV').split('-')
+ return pvsplit[0] + "." + pvsplit[1]
+
ICU_PV = "${@icu_download_version(d)}"
ICU_FOLDER = "${@icu_download_folder(d)}"
@@ -108,8 +112,8 @@ SRC_URI = "${BASE_SRC_URI};name=code \
SRC_URI:append:class-target = "\
file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
"
-SRC_URI[code.sha256sum] = "67a7e6e51f61faf1306b6935333e13b2c48abd8da6d2f46ce6adca24b1e21ebf"
-SRC_URI[data.sha256sum] = "e3882b4fece6e5e039f22c3189b7ba224180fd26fdbfa9db284617455b93e804"
+SRC_URI[code.sha256sum] = "a2d2d38217092a7ed56635e34467f92f976b370e20182ad325edea6681a71d68"
+SRC_URI[data.sha256sum] = "ee19f876507d6c23d9e0a2b631096f6b0eaa6fa61728c33a89efdb55e3385dea"
UPSTREAM_CHECK_REGEX = "releases/tag/release-(?P<pver>(?!.+rc).+)"
GITHUB_BASE_URI = "https://github.com/unicode-org/icu/releases"
--
2.30.2
next prev parent reply other threads:[~2022-11-20 13:31 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-20 13:31 [PATCH 01/17] elfutils: update 0.187 -> 0.188 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 02/17] rsync: update 3.2.5 -> 3.2.7 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 03/17] swig: update 4.0.2 -> 4.1.0 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 04/17] tcl: update 8.6.11 -> 8.6.12 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 05/17] unfs: update 0.9.22 -> 0.10.0 Alexander Kanavin
2022-11-22 12:29 ` [OE-core] " Richard Purdie
2022-11-22 15:03 ` Alexander Kanavin
2022-11-22 15:09 ` Richard Purdie
2022-11-22 15:13 ` Alexander Kanavin
2022-11-24 13:07 ` Alexander Kanavin
2022-11-24 13:44 ` Richard Purdie
2022-11-24 14:08 ` Alexander Kanavin
[not found] ` <172A8A8569CFF8A4.11309@lists.openembedded.org>
2022-11-25 11:49 ` Alexander Kanavin
2022-11-20 13:31 ` [PATCH 06/17] man-db: update 2.10.2 -> 2.11.1 Alexander Kanavin
2022-11-22 12:31 ` [OE-core] " Richard Purdie
2022-11-22 20:53 ` Alexander Kanavin
2022-11-22 22:16 ` Richard Purdie
2022-11-20 13:31 ` [PATCH 07/17] quota: update 4.06 -> 4.09 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 08/17] shadow: update 4.12.3 -> 4.13 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 09/17] texinfo: update 6.8 -> 7.0 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 10/17] libhandy: update 1.6.3 -> 1.8.0 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 11/17] xf86-input-mouse: update 1.9.3 -> 1.9.4 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 12/17] flac: update 1.4.0 -> 1.4.2 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 13/17] webkitgtk: update 2.36.7 -> 2.38.2 Alexander Kanavin
2022-11-22 15:21 ` [OE-core] " Richard Purdie
2022-11-24 12:23 ` Alexander Kanavin
2022-11-20 13:31 ` Alexander Kanavin [this message]
2022-11-20 13:31 ` [PATCH 15/17] libgpg-error: update 1.45 -> 1.46 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 16/17] popt: update 1.18 -> 1.19 Alexander Kanavin
2022-11-20 13:31 ` [PATCH 17/17] vte: update 0.68.0 -> 0.70.1 Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221120133122.2464634-14-alex@linutronix.de \
--to=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox