summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/icu
Commit message (Collapse)AuthorAgeFilesLines
* icu: Adjust ICU_DATA_DIR path on big endian targetsMakarios Christakis2025-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | On big-endian systems the preprocessor define ICU_DATA_DIR is currently being set to a path ending with the ${PV} of the recipe. The PV version string has changed to a '-' separator since oe-core commit cebe8439cdc656d53355506a31a3782312bf03c5 whereas the build system installs the data files into a path ending with the dot-separated version of ICU. This causes the ICU data file to not be detected at runtime, consequently breaking any dependant applications. We therefore substitute ${PV} with the dot-separated version string of ICU, as returned from the icu_install_folder function, on the ICU_DATA_DIR define on big-endian targets. (From OE-Core rev: 1689c4fe872540c48af07b482e65646928eaf516) Signed-off-by: Makarios Christakis <makchrbiz@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 28cdc0110def011e3d690da1d591076385267ef7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* icu: update patch Upstream-StatusRoss Burton2024-10-291-3/+1
| | | | | | | | | (From OE-Core rev: 0accc87026a135246ba33ee92ebe215cdd0a5959) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 717eb63df55f11d3eb4353ae1364a5781adfce76) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* icu: Backport patch to fix build issues with long paths (>512 chars)Carlos Alberto Lopez Perez2024-08-052-0/+73
| | | | | | | | | | | | | | | | | | | | | | | There is a bug libicu that causes libicu to be installed incorrectly when the build system uses long paths (more than 512 chars). This condition is not very difficult to trigger on a OE build system due to the long paths an the deep of the directories that are usually generated by default. Also the bug is very subtle and won't be detected by the QA post-install processes because what this bug causes is that a different version of libicudata.so.X.Y (one without data) is installed instead of the one containing the data, but there won't be any file missed on the installation (just that it installed the wrong one). See: https://unicode-org.atlassian.net/browse/ICU-22813 This patch backports the fix from upstream/main (From OE-Core rev: 67d1352873957decacde30ff208fb7bb635b0c5d) Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu/perf: Drop SPDX_S variableRichard Purdie2024-07-141-1/+0
| | | | | | | | | | These were used by external layers and were needed before we had better unpack instrumenation and the recent unpack directory changes. Drop them as obsolete. (From OE-Core rev: 8dae8778ee14caebea92acd0bebf28c5681e39f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: remove host references in nativesdk to fix reproducibilityOleksandr Hnatiuk2024-07-131-9/+24
| | | | | | | | | | Fix is only done for target. Use same code for nativesdk. (From OE-Core rev: dc6306883cc2c7d4d98d595442e5bf4037a160c5) Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com> Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: fix make-icudata package configStefan Mueller-Klieser2024-07-101-2/+2
| | | | | | | | | | The location of files changed during unpackdir transition. Adapt dirs to fix custom icu data generation. (From OE-Core rev: bb24c965a55d7e757c1e2a6e76bdb68d2bfb6ce3) Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: upgrade 74-2 -> 75-1Alexander Kanavin2024-05-301-3/+3
| | | | | | | | | | License-update: copyright years (From OE-Core rev: 828b25dd17cd148ff0c1f852d6581359e5b6ee20) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: add upstream submission links for fix-install-manx.patchAlexander Kanavin2024-04-251-1/+3
| | | | | | | (From OE-Core rev: 269a1a65d2526be5622b4c1f552b6f5541e0cb86) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: update 74-1 -> 74-2Alexander Kanavin2024-04-164-18/+13
| | | | | | | | | | | Note that upstream has re-spun the release tarball (the initial tarball had a broken symlink for LICENSE file), so there can be yocto premirror checksum mismatches: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6671/steps/13/logs/stdio (From OE-Core rev: 344f7500e6df31d7c06331aedbac0df4983da958) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: upgrade 73-2 -> 74-1Alexander Kanavin2023-11-301-3/+3
| | | | | | | | | | | License-Update: formatting https://github.com/unicode-org/icu/commit/248b1c2a13fc7fc346e9e9419c4794df8a590ad9 (From OE-Core rev: b61fe755dad55cdacc23176d0257bb158fa9a662) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: upgrade 72-1 -> 73-2Trevor Gamblin2023-07-191-3/+3
| | | | | | | | | | | | Changelog: https://github.com/unicode-org/icu/releases/tag/release-73-2 ICU moved to a common LICENSE file in the project root. The only actual change was an update to the copyright year. (From OE-Core rev: 7fc8d0bb1f237140d9b4070eb8cc9413f809361f) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: depend on autoconf-archive-native, not autoconf-archiveRoss Burton2023-05-221-2/+1
| | | | | | | | | | | | | | | | | | autoconf-archive is a collection of m4 autoconf macros needed at build-time, and autoconf-archive-native is a suitable provider as there is nothing in the recipe that needs to be cross-compiled. Also if we use DEPENDS=autoconf-archive then the recipe's -dev package ends up RDEPENDing on autoconf-archive, which isn't correct. Universally change any DEPENDS on autoconf-archive to the -native form, and add any missing dependencies that were implicit before. (From OE-Core rev: 571132415ea7fe2d91c62948f2b6aa553eafa83d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: update 71.1 -> 72-1Alexander Kanavin2022-11-221-9/+13
| | | | | | | | | | Update the recipe to reflect the change in version separator. (From OE-Core rev: cebe8439cdc656d53355506a31a3782312bf03c5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: fix version checks in all github recipes using the github-releases classAlexander Kanavin2022-09-281-5/+5
| | | | | | | | (From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: Drop binconfig support (icu-config)Richard Purdie2022-08-231-9/+5
| | | | | | | | | | | | Upstream have indicated icu-config is deprecated and they don't intend people to use it any more. Drop our code for it to flush out users and clean up our recipe a bit. pkg-config is a much better alternative. (https://github.com/unicode-org/icu/pull/2150) (From OE-Core rev: 9b121df8d9f2a46bb08992725f97ba03e878a609) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: update 70.1 -> 71.1Alexander Kanavin2022-04-281-3/+3
| | | | | | | | | License-Update: copyright years (From OE-Core rev: 85cbbe2da017b39a985e07bfeefb6aa83ddfea65) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: fix make_icudata dependenciesKory Maincent2022-01-261-1/+1
| | | | | | | | | | | | | The make_icudata task is set before the configure task then the dependencies for this task are not populate yet. Fixed it by adding do_prepare_recipe_sysroot task dependency to the make_icudata task. (From OE-Core rev: c134f62062a6359d2d5831ba4cb9694035e4f25a) Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: update 69.1 -> 70.1Alexander Kanavin2021-11-032-12/+10
| | | | | | | | | License-Update: formatting, updated copyright holders (From OE-Core rev: dc4b988fa3bc53028bed1a2245de36003690a23c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-19/+19
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: upgrade 68.2 -> 69.1wangmy2021-04-182-5/+5
| | | | | | | | | refresh 0001-icu-Added-armeb-support.patch (From OE-Core rev: 6b22fce3a8a3567c794d0d701ffd14b61ea859c8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: update 68.1 -> 68.2Alexander Kanavin2020-12-311-2/+2
| | | | | | | (From OE-Core rev: 4de7470c17aff5fe66f3baf96af88577c091b4c7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: upgrade 67.1 -> 68.1zangrc2020-11-111-3/+3
| | | | | | | | | | | | -License-Update:The address changes are as follows: # Project: http://code.google.com/p/lao-dictionary/ # Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt # License: http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICENSE.txt (From OE-Core rev: 1b12900a223a929ad884c9f69d17c4bd5b681e6e) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: make filtered data generation optional, serial and off by defaultAlexander Kanavin2020-06-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | icu data generation was found to be racy, and causig AB failures; making it serial and leaving it on is not an option as it regresses to several minutes. The specific bug is that rules.mk has: LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH ../bin/gencnval -s . -d ./out/build/icudt66l mappings/convrtrs.txt which creates a file and numerous rules like LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  ../bin/genrb -s ./misc -d ./out/build/icudt67l -i ./out/build/icudt67l -k -q numberingSystems.txt which quietly read it. There is no prerequisite for the former to complete first. The race is extra complicated to fix as rules.mk is itself generated through a custom in-tree python tool. (From OE-Core rev: df89e8d1136fd406ba35ae573e2cb0cfc88c6aad) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: merge .inc into main recipeAlexander Kanavin2020-06-252-85/+84
| | | | | | | | | Both parts are rather convoluted, so it is better to have them in a single file. (From OE-Core rev: e8faa3416bc85dab7e7e638448dcb11ff88354a3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: upgrade 66.1 -> 67.1Andrej Valek2020-05-075-214/+5
| | | | | | | | | | | | - 0001-icu-Added-armeb-support.patch - rebased - 0001-Fix-big-endian-build.patch - removed, already included in new version - CVE-2020-10531.patch - removed, already included in new version - icu-pkgdata-large-cmd.patch - removed, implemented correct size (From OE-Core rev: 62feb846853bcc8982258a224a3e84090d6559a2) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: CVE-2020-10531Wang Mingyu2020-05-022-0/+129
| | | | | | | | | | | | security Advisory References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10531 (From OE-Core rev: 1d5df7310ee119b71494f97ae86f0fa264ae3022) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: Mark strtod_l unavailable on muslKhem Raj2020-04-051-0/+2
| | | | | | | | | Musl version is just a wrapper to strtod and not an exposed API (From OE-Core rev: 660fdaa95858485b1caa779f1137a933c1f5d5f6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: Add knobs to generate a subset of ICU dataKhem Raj2020-04-053-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent versions of ICU (64+) provides a tool for configuring ICU locale data file with finer granularity [1] Default generated size for libicudata.so.66.1 is ~27M, which is quite large for embedded systems and all of them may not even need all locale data. This patch calls the icudata buildtool during configure on the icudata and utilizes a filter called 'filter.json` ( empty by default) to create the data, default behavior should remain same but someone can add a filter.json in own layer to configure this data, e.g. { "localeFilter": { "filterType": "language", "whitelist": [ "en", "de", "it" ] } } would only generate the locale data for english/german/italian This would reduce the size of libicudata.so.66.1 to 12M Ensure that icudata is generated using host-tools so it can deal with endianness correctly, when host and target systems have different endianness install the icudtata file back into in/ folder so that main build can now pickup this data file instead of regenerating it and wiping out the filter changes that are expected to take effect Use native compiler tools Update the big-endian support patch to apply to latest Makefile.in from icudata source and mark it as backport defer applying 0001-Fix-big-endian-build.patch after moving new data/ in [1] https://github.com/unicode-org/icu/blob/master/docs/userguide/icu_data/buildtool.md (From OE-Core rev: 5e5be67744d7ddf5a9ac433ecba02f697a84a325) Signed-off-by: Khem Raj <raj.khem@gmail.com> Suggested-by: Wouter Meek <w.meek@metrological.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: upgrade 65.1 ->66.1Wang Mingyu2020-03-211-3/+3
| | | | | | | | | -License-Update: Copyright year updated to 2020. (From OE-Core rev: d8b928f60e1274edc3d97f14ebe60e81aa0057f1) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: upgrade 64.2 -> 65.1Wang Mingyu2020-02-151-2/+2
| | | | | | | (From OE-Core rev: 7ed56327bd87b97bcf81a78e5dd738a0c038e578) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: update SRC_URIAlexander Kanavin2020-02-021-3/+8
| | | | | | | | | New releases of ICU are published on github. (From OE-Core rev: 1a01c30653c2b0282543aa3cdae8d87af871c24a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: Remove workaround for musl issue fixed upstream 2 years agoAdrian Bunk2019-05-211-7/+0
| | | | | | | (From OE-Core rev: d1070bcf4358a63c384f2baaddbbf04fe3ac1130) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: Added armeb support.Lei Maohui2019-05-092-0/+31
| | | | | | | | | | | Make icu support arm32 BE. Upstream-Status: Pending (From OE-Core rev: 244f2e5fb545dd40d020811799a6022e14468eeb) Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: Upgrade 64.1 -> 64.2Zang Ruochen2019-04-261-2/+2
| | | | | | | (From OE-Core rev: 392f18cd7692c90976eff4c6d5fc4ef09f7d357d) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: update to 64.1Alexander Kanavin2019-04-234-95/+32
| | | | | | | | | | | | | License-update: copyright years changed. Drop upstreamed/backported patches. Add a patch to fix big endian build failure. (From OE-Core rev: 929d37831624fce84580466c4408217c766410f0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: fix CVE-2018-18928Ross Burton2019-03-062-0/+64
| | | | | | | (From OE-Core rev: 0b3f5e3cb90612c24f30ae8a50ed926492ce2e35) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: update to 63.1Alexander Kanavin2018-11-232-14/+11
| | | | | | | (From OE-Core rev: 12765813bda38efe2a8ace2d7e56c32882530268) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: Add ARC supportAlexey Brodkin2018-09-212-0/+28
| | | | | | | | (From OE-Core rev: 7b7b0fb8c27d06919f537a272107fc3f0b9cf9e5) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: fix install file conflictsKai Kang2018-09-131-1/+3
| | | | | | | | | | | | | Fix install files conflicts between multlib packages by inherit multilib_script: | file /usr/bin/cairo-trace conflicts between attempted installs of lib32-libcairo-perf-utils-1.14.12-r0.x86 and libcairo-perf-utils-1.14.12-r0.core2_64 | file /usr/bin/icu-config conflicts between attempted installs of lib32-icu-dev-62.1-r0.x86 and icu-dev-62.1-r0.core2_64 | file /usr/bin/gpgrt-config conflicts between attempted installs of lib32-libgpg-error-dev-1.32-r0.x86 and libgpg-error-dev-1.32-r0.core2_64 (From OE-Core rev: 52f2dd97e9dd20dea0f3cdeb2df490d1a4c646aa) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu:61.1 -> 62.1Hong Liu2018-08-082-37/+2
| | | | | | | | | | | 1.Upgrade icu from 61.1 to 62.1. 2.0001-i18n-Drop-include-xlocale.h.patch has been merged. (From OE-Core rev: 8be6cfb97ea8d5a7938c1ccbf8218a7bfa5e86a2) Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: move ASNEEDED over-ride into icu.incAndre McCurdy2018-05-151-0/+2
| | | | | | | | | | | | Move the recipe specific over-ride for ASNEEDED into the recipe to make it more apparent that the over-ride is being applied (and that it should be re-checked on version updates, etc). (From OE-Core rev: a4c29153c7ffef024b31e7e3a197a09758a7beb4) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: update to 61.1Alexander Kanavin2018-05-041-3/+3
| | | | | | | | | License-Update: copyright years updated, added terms for Google double-conversion (From OE-Core rev: b5797e80ccfa080bc1e57c5fb1f2f4a39d0266cf) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: don't use deprecated functions from utils.bbclassRoss Burton2018-01-301-2/+2
| | | | | | | | | | | These functions were moved to meta/lib/oe in 2010 and the base_* functions in utils.bbclass were intended to be a short-term compatibility layer. They're still used in a few places, so update the callers to use the new functions. (From OE-Core rev: c97acbd034532895ce57c6717ed1b3ccc7900b0d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: 60.1 -> 60.2Huang Qiyu2018-01-191-2/+2
| | | | | | | | | | Upgrade icu from 60.1 to 60.2. (From OE-Core rev: cd8aadcfb3cc7af8ad0d44b1ee2101c499621f95) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu-dev: improve reproducibilityJuro Bystricky2018-01-141-0/+8
| | | | | | | | | | Remove all build host references from several distributed files: Makefile.inc, icu-config, pkgdata.inc (From OE-Core rev: 6fef31cdd6be537cfce3862d951762455f5cad2e) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu-dbg: improve reproducibilityJuro Bystricky2018-01-081-0/+9
| | | | | | | | | | Make sure build host references do not end up being compiled in the image. This only affects libicutu and icu-dbg. (From OE-Core rev: e9dfe7eb7f61b909ae7d034e80cfbebc1fad018b) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: fix libicudata corruption on big endian systemYi Zhao2017-12-181-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ICU library libicudata is created with a wrong endianness if the host and target have different endianness. (e.g. build ICU for qemuppc on x86-64 host) See upstream bug report: http://bugs.icu-project.org/trac/ticket/11758 The discussion in oe-core mailing list: https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg65155.html The root cause is the native pkgdata can not generate correct icu data for different endianness. By default, this data is built into the shared library libicudata that would cause it corrupt. But ICU also provides additional options for loading the data. With option --with-data-packaging=archive, ICU outputs a single icudt.dat file which can be loaded by the library. See document: http://userguide.icu-project.org/icudata So for big endian system, we can use the separated data file which re-generates by icupkg and set the correct ICU_DATA environment variable to make sure the library can load the data without problems. (From OE-Core rev: 77d1b9cda69d09cd7d3c8174ef14b4ee10e5efb6) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: fix malformed/missing Upstream-Status tagsRoss Burton2017-12-101-0/+1
| | | | | | | (From OE-Core rev: 9e7aed823d3035b8429d3c5fc537cacadf16f675) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: update to 60.1Alexander Kanavin2017-11-304-53/+35
| | | | | | | | | | | | Rebase a couple of patches. LICENSE checksum change due to typo fix. (From OE-Core rev: d4a76a51762d094d6f4fc016c52a6817c7f92637) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: CVE-2017-14952Ovidiu Panait2017-11-212-0/+29
| | | | | | | | | | | | | | | | | | | Double free in i18n/zonemeta.cpp in International Components for Unicode (ICU) for C/C++ through 59.1 allows remote attackers to execute arbitrary code via a crafted string, aka a "redundant UVector entry clean up function call" issue. Reference: https://nvd.nist.gov/vuln/detail/CVE-2017-14952 Upstream patches: http://bugs.icu-project.org/trac/changeset/40324/trunk/icu4c/source/i18n/zonemeta.cpp (From OE-Core rev: 4ff12a8bf2b8d094085afbe8fa1d43f781cfa79d) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>