summaryrefslogtreecommitdiffstats
path: root/package/icu
Commit message (Collapse)AuthorAgeFilesLines
* icu: fix build failure for muslGustavo Zacarias2016-12-121-0/+5
| | | | | | | | | | | musl doesn't have xlocale.h, and stdtod_l is crippled, so disable it. See thread from OE: http://lists.openembedded.org/pipermail/openembedded-core/2016-November/128527.html Fixes: http://autobuild.buildroot.net/results/6ca/6caebf0f6c4adf66e67bedd0f04155413a9aa7bd/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: bump to version 58.2Gustavo Zacarias2016-12-122-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* icu: bump to version 57.1Gustavo Zacarias2016-03-243-38/+4
| | | | | | | | 0006-fix-Error-allocating-memory-for-pkgDataFlags.-compil.patch is upstream so drop it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* cairo, icu, webkitgtk24: use BR2_TOOLCHAIN_HAS_LIBATOMICThomas Petazzoni2016-03-201-1/+1
| | | | | | | | | | | | | This commit modifies the cairo, icu and webkitgtk24 packages to use BR2_TOOLCHAIN_HAS_LIBATOMIC when appropriate. Fixes: http://autobuild.buildroot.net/results/ec4/ec4e48c0e4b8fa72d8bb7ef4ad67a166699c0b62/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: remove dev filesGustavo Zacarias2016-03-201-0/+7
| | | | | | | | | Remove files that aren't used for runtime purposes. Size savings delta +450 KB. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: fix build-time segfault by backporting upstream fixZoltan Gyarmati2016-02-171-0/+34
| | | | | | | | | | The icu bug http://bugs.icu-project.org/trac/ticket/11959 also hit me, but oddly enough only when running build build server via Jenkins. This patch adds the upstream fix for the mentioned bug, so the patch most likely can be removed at the next version bump. Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* icu: libatomic is only available starting from gcc 4.8Thomas Petazzoni2016-02-061-3/+3
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/51b060bbdecdcaac89f764026693bf711e7145d5/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: remove BR2_ARCH_HAS_ATOMICS dependencyThomas Petazzoni2016-01-262-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The BR2_ARCH_HAS_ATOMICS was added because on ARC, atomic instructions may not be provided by the architecture and therefore the compiler does not provide the __sync_*() built-ins. However, since then, icu was changed and is now able to use C++11 atomics, or even no atomic operations at all. In fact, icu will: * If possible, it will use C++11 atomics, which internally rely on the __atomic built-ins. These are available since gcc 4.7, and all architectures provide it. On some architectures, you *must* link with libatomic, on some other architectures, they are available built-in, but in all cases, linking against libatomic does not harm. Thanks to this, even ARC with no atomic support (which was the original reason for adding the BR2_ARCH_HAS_ATOMICS) dependency builds fine, provided -latomic is added to LIBS. * If C++11 atomics are not available, then it falls back to __sync_*() built-ins, which allows compilers older than 4.7 to be supported. * If really no atomic mechanism is available, then it falls back to a basic implementation based on a mutex. Conclusion: - The BR2_ARCH_HAS_ATOMICS dependency is no longer needed. - We need to link with -latomic when gcc >= 4.7 is used. Note that reverse dependencies of icu are also changed accordingly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: bump to version 56.1Gustavo Zacarias2015-10-132-3/+5
| | | | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/icu: icu-uc: provide -lstdc++ flag for static buildRomain Naour2015-07-231-0/+34
| | | | | | | | | | | icu-uc.pc must provide -lstdc++ for C application linked statically with libicuuc.a. Related to: http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/ Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: update icudata generator URLGustavo Zacarias2015-07-121-3/+4
| | | | | | | | | | | | It was pointing to version 51.x which wouldn't work well with 55.x. Point it to the latest version that matches the current buildroot version (55). When a new ICU major version is released a link for the "old" 55 version will be available below as is it currently for previous versions such as 54, 53 and so on. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: enable parallel buildGustavo Zacarias2015-06-041-1/+0
| | | | | | | | Re-enable parallel builds, it doesn't seem to be affected by the issue worked around in 5a8c7934 any more. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* icu: bump to version 55.1Gustavo Zacarias2015-04-032-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-034-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: indentation cleanupJerzy Grzegorek2014-12-241-2/+4
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: bump to version 54.1Gustavo Zacarias2014-12-184-55/+62
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-2/+2
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/icu: use the new ARCH_HAS_ATOMICS as dependencyYann E. MORIN2014-08-181-3/+4
| | | | | | | | | | And propagate to the reverse dependencies of icu. Also, fix beecrypt's comment: only the C++ support needs atomics. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Anton Kolesov <Anton.Kolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* icu: Add dependency on atomic intrinsicsAnton Kolesov2014-08-031-4/+3
| | | | | | | | ICU requires GCC built-in atomic functions which are architecture specific and may not be implemented. Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: fix build after custom data library patchThomas Petazzoni2014-07-291-2/+4
| | | | | | | | | | | | | Commit abded6bfead49d61c24a45d811a83ca082adf677 ("icu: add an option to add a custom data library file") broke the build because of an improper test on a non-qstripped variable. This commit fixes that. Fixes: http://autobuild.buildroot.org/results/02a/02a0800b01a4bf8734d601f79dc12663fe8f7542/ and many other similar occurences of the same issue. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: add an option to add a custom data library fileJohan Derycke2014-07-282-0/+19
| | | | | | | | | | | | [Thomas: - use one single BR2_PACKAGE_ICU_CUSTOM_DATA_PATH string option instead of a boolean option + a string option, which always causes a lot of issues with random configurations that enable the boolean option, but do not provide a valid value for the string option. - enclose the definition of ICU_COPY_CUSTOM_DATA into the condition.] Signed-off-by: Johan Derycke <johan.derycke@barco.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: fix usage of libicudata on ARM EABIhfMaxime Hadjinlian2014-06-291-0/+35
| | | | | | | | | | | | | | | | | The libicudata library was linked as a "data only" library using the -nostdlib -nodefaultlibs flags, but this causes problems when using the library on ARM EABIhf systems. Removing those flags fixes the problem, and is the solution used by Debian, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457 for all the details. [Thomas: fix commit log and title, add more details to the patch description.] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@devialet.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: not available when BR2_BINFMT_FLAT is usedThomas Petazzoni2014-02-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | icu does not recognize 'uclinux' as a supported platform. While making it recognize uclinux is easy, there is another problem down the road: icu does very weird things to generate an ELF library containing static data (libicudata.a), and the generated library being ELF, it is not compatible with the FLAT binary format expected by uclinux platforms such as Blackfin in FLAT format. Therefore, we simply disallow the selection of icu on FLAT platforms. Note that adding a dependency on BR2_BINFMT_ELF doesn't work, because BR2_BINFMT_FDPIC is considered to be separate (even if technically FDPIC is a derivative of ELF). That's why the dependency we're adding is "depends on !BR2_BINFMT_FLAT" and not "depends on BR2_BINFMT_ELF". Fixes: http://autobuild.buildroot.org/results/b41/b415fed7fae4012bad7d8b53a481bd71bdab716f/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* icu: detect and add compiler symbol prefix to the assembly codeSonic Zhang2014-02-043-0/+112
| | | | | | | | | | | | | | | | | | | Some compilers, such as the Blackfin GNU compiler, prefix a character to any C symbol in generated assembly code. If any assembly symbol is invoked from C code, it needs to be prefixed as well. Note: since autoreconf doesn't work with this package because automake isn't used. Fixes: http://autobuild.buildroot.net/results/c40a22814b405de2c5c75139cfc393c863ed4b81/ [Ryan: add information about why patching configure is ok] [Ryan: add renaming of patches to be consistent with standard] Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* icu: Doesn't work on ARC yetMischa Jonker2013-11-111-0/+2
| | | | | | | | | icu depends on __sync_sub_and_fetch and other atomic primitives that don't exist in the ARC toolchain yet. [Peter: adjust beecrypt/php comment dependency, don't mention atomic builtins] Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* icu: needs threadsAxel Lin2013-10-081-2/+4
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/ae7/ae721db2dd4e764a2af3825c388a63cad9720ebe/ Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* fix header package nameJerzy Grzegorek2013-07-271-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: security bump to version 51.2Gustavo Zacarias2013-06-302-18/+19
| | | | | | | | Fixes CVE-2011-4599, CVE 2013-0900, CVE-2013-1569, CVE-2013-2383, CVE-2013-2384, CVE-2013-2419. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* icu: speed up host buildThomas Petazzoni2013-03-101-1/+6
| | | | | | | | | | | The host build of icu doesn't need to build everything, so we can add a few more --disable-<foo> options to save a little bit of build time. On a fast build server, this bring the host icu build from 2m28.517s to 2m5.192s. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* icu: don't build object files twiceThomas Petazzoni2013-03-101-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | When passed --enable-static and --enable-shared, icu will generate both a shared and a static version of its libraries. However, in order to do so, it builds each and every object file twice: once with -fPIC (for the shared library), and once without -fPIC (for the static library). While admittedly building -fPIC for a static library generates a slightly suboptimal code, this is what all the autotools-based project are doing. They build each object file once, and they use it for both the static and shared libraries. icu builds the object files for the shared library as .o files, and the object files for static library as .ao files. By simply changing the suffix of object files used for static libraries to ".o", we tell icu to use the ones built for the shared library (i.e, with -fPIC), and avoid the double build of icu. On a fast build server, this brings the target icu build from 3m41.302s down to 1m43.926s (approximate numbers: some other builds are running on the system at the same time). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* icu: workaround toolchain bugsThomas Petazzoni2013-03-101-0/+36
| | | | | | | | | | | | | | | Many of ARM Sourcery CodeBench toolchain have a bug when compiling icu's translit.cpp source file. The bug is trigerred when there is a combination of "-W -Wall" and "-Os", and causes an internal compiler error. The bug has been reported to Mentor Graphics. Even though it is clearly a toolchain bug, having a workaround for it is trivial in this case. So it will avoid our users falling into this internal compiler error, and allow our autobuilders to test more packages using this Sourcery CodeBench toolchain. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: use <pkg>_CONFIG_SCRIPTS wherever possibleThomas Petazzoni2013-02-081-8/+1
| | | | | | | | | | | Use the <pkg>_CONFIG_SCRIPTS mechanism in all packages for which it does all what the package was doing. A few packages, like libxslt, are for now left out, since they need some additional fixup (for example a fixup of includedir). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* icu: add license informationsThomas Petazzoni2013-01-201-0/+3
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: remove redundant HOST_ICU_DEPENDENCIESArnout Vandecappelle (Essensium/Mind)2012-07-151-1/+0
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: bump to version 4.8.1.1Gustavo Zacarias2012-05-184-136/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* icu: unbreak host build after auto-host-deps changePeter Korsgaard2012-01-181-0/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-2/+2
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* icu: fix parallel buildsPeter Korsgaard2011-03-171-0/+1
| | | | | | | The icu build system seems to have a race condition, which gets triggered by high BR2_JLEVEL settings, so disable parallel builds. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* icu: tweak icu-config exec_prefix outputGustavo Zacarias2011-02-241-1/+3
| | | | | | | | | | | Closes #3259 We need to tweak icu-config's exec_prefix too, otherwise if the host system lacks icu the build fails when looking for the libraries in /usr/lib rather than the staging directory. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* icu: convert to autotargets and bump to version 4.4.2Gustavo Zacarias2010-12-228-474/+153
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* icu: add quotes around TARGET_CXXThomas Petazzoni2010-07-271-1/+1
| | | | | | | Now that TARGET_CXX contains a --sysroot= option and therefore spaces, it needs to be used with quotes. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* icu: fix build with gcc >= 4.4 / JLEVEL > 1Peter Korsgaard2010-05-232-2/+26
| | | | | | | | | | | Fix two issues with the icu build: - icu source contains an #elif without any arguments, which g++ >= 4.4 flags as an error. This is both an issue for target and host build, so restructure the .mk so any *both*patch is applied to both builds (the other patches would cause trouble with host builds) - icu build system isn't parallel make safe, use MAKE1 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard2009-10-011-2/+2
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* icu: needs wchar support in toolchain as wellPeter Korsgaard2009-01-271-2/+3
|
* icu: add project url to help textPeter Korsgaard2009-01-271-0/+2
|
OpenPOWER on IntegriCloud