Commit graph

139 commits

Author SHA1 Message Date
Mihai Nita
6cc1618136 ICU-22922 ICU4C produce search doxygen doc by default 2025-02-21 10:09:51 -08:00
Ross Burton
0f022dca90 ICU-21172 fix install race
The generic recursive target calls target-local so also adding it to the
dependency list results in races due to install-local being executed twice in
parallel.  For example, install-manx can fail if the two install processes race
and one process tries to chown a file that the other process has just deleted.

Also install-manx should be a phony target, and for clarity use $^ instead of $?
in the install command.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2024-09-23 18:45:09 -07:00
Earl Chew
199bc82702 ICU-22610 Use Requires.private and Libs.private
To prevent overlinking when publishing shared libraries,
specify internal dependencies using Requires.private and
Libs.private.

Use Libs.private in icu-uc.pc for libicudata.so, and
Requires.private in icu-i18n.pc, icu-io.pc, and icu-lx.pc,
so that ICU internal dependencies will not be bound
into clients.

The resulting *.pc files will produce the following
output for icu-i18n and icu-lx, provided pkgconf has
commit 78d53ea0 (2.2.0 or later) which de-duplicates
multiple -L options:

    commit 78d53ea012dfbaf397bf8e6907efac5b51abac56
    Author: Kai Pastor <dg0yt@darc.de>
    Date:   Fri Feb 23 15:18:08 2024 +0100

        Revise serials, traversal, flattening

  ./configure --enable-shared ...

    #
    # icu-i18n
    #

    % pkgconf --libs  icu-i18n
    -L/opt/local/lib -licui18n

    % pkgconf --libs --static icu-i18n
    -L/opt/local/lib -licui18n -licuuc -licudata -lpthread -lm

    #
    # icu-lx
    #

    % pkgconf  --libs icu-lx
    -L/opt/local/lib -liculx

    % pkgconf  --libs --static icu-lx
    -L/opt/local/lib -liculx -L/usr/lib/x86_64-linux-gnu -licu-le-hb -lharfbuzz -lm -licuuc -licudata -lpthread -lm

  ./configure --disable-shared --enable-static ...

    #
    # icu-i18n
    #

    % pkgconf --libs  icu-i18n
    -L/opt/local/lib -licui18n -licuuc -licudata -lpthread -lm

    % pkgconf  --libs --static icu-i18n
    -L/opt/local/lib -licui18n -licuuc -licudata -lpthread -lm

    #
    # icu-lx
    #

    % pkgconf  --libs icu-lx
    -L/opt/local/lib -liculx -L/usr/lib/x86_64-linux-gnu -licu-le-hb

    % pkgconf  --libs --static icu-lx
    -L/opt/local/lib -liculx -L/usr/lib/x86_64-linux-gnu -licu-le-hb -lharfbuzz -licuuc -licudata -lpthread -lm
2024-09-22 14:19:51 -07:00
Richard Purdie
4ac7cd1393 ICU-22109 icu-config hardcodes build paths unnecessarily
The makefile hardcodes paths to the build directory into icu-config. It doesn’t
need to do this and it unnecessarily breaks build reproducibility. This patch
makes a simple change to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-22 15:02:39 -05:00
Jeff Genovy
861e55c246 ICU-21972 Use a shared props file for the ICU Major Version number in the Windows Visual Studio project files. 2022-03-30 20:55:36 -07:00
Yuta Saito
1a01c5edc1 ICU-20978 Reduce unnecessary building for tools when cross-building 2020-03-17 18:42:30 -07:00
sav-ix
b9264c3da5
ICU-20061 fix 'rm: cannot remove 'current'' warning during build ()
need to use force removal in order to not make noise in stderr.
2018-09-27 14:27:38 -07:00
Hugh McMaster
e21982ce40
ICU-10464 Make installation of icu-config optional ()
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Originally ICU-20030
2018-09-27 14:27:37 -07:00
Steven R. Loomis
4b9ca817eb ICU-13387 autoconf fixes for disabled tools and tests and draft api
X-SVN-Rev: 40556
2017-10-04 22:41:40 +00:00
Steven R. Loomis
78944eae33 ICU-10452 update make dist to work without svn export
X-SVN-Rev: 40552
2017-10-04 22:26:24 +00:00
Steven R. Loomis
0944bb9c8f ICU-13089 detect sed, use $(SED) for icu-config
X-SVN-Rev: 39992
2017-04-06 21:21:34 +00:00
Steven R. Loomis
383d3eead1 ICU-12766 cleanup and add test case for escaper
X-SVN-Rev: 39810
2017-03-15 02:16:35 +00:00
Steven R. Loomis
4890638e08 ICU-12766 wip escaping for utf-8 input
* create a new escaper tool - needs to be invoked in mh- files
* escapes to temporary _whatever.cpp files
* does NOT handle multi line u"xxx" (or u'xxx'? )
* does not cleanup _*.cpp files
* fixup a bunch of Makefiles to add -I$(srcdir) (doesn't hurt anyway)

X-SVN-Rev: 39787
2017-03-13 23:19:33 +00:00
Steven R. Loomis
4136a2f257 ICU-12708 bye bye layout engine
X-SVN-Rev: 39176
2016-09-09 21:28:18 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Steven R. Loomis
5c11445c6b ICU-12037 C: rename LICENSE.txt to LICENSE
X-SVN-Rev: 38463
2016-03-02 18:20:23 +00:00
Steven R. Loomis
3f6a68ff9a ICU-12037 ICU license moved to plain text. Merge from r38399
X-SVN-Rev: 38400
2016-02-27 01:22:07 +00:00
Steven R. Loomis
8e2b2d1250 ICU-11827 icu-config: do not add date to the script
X-SVN-Rev: 37841
2015-08-27 21:54:51 +00:00
Steven R. Loomis
e303dafc6e ICU-11023 build layoutex if enabled..
X-SVN-Rev: 36427
2014-09-10 03:31:49 +00:00
Steven R. Loomis
68e82040f9 ICU-11023 merge from branch
X-SVN-Rev: 36425
2014-09-10 02:20:50 +00:00
Steven R. Loomis
816c682d5d ICU-9790 configure.in should be configure.ac - http://www.gnu.org/software/automake/manual/html_node/Requirements.html#Requirements
X-SVN-Rev: 34181
2013-09-04 04:55:27 +00:00
Steven R. Loomis
1e5f54e5cf ICU-10342 oops - make sure icuio builds before tools. (derb depends on ustdio.) This worked in parallel but not in -j1
X-SVN-Rev: 34179
2013-09-04 03:58:09 +00:00
Steven R. Loomis
6fdda37087 ICU-10351 add "pcheck", parallel check
X-SVN-Rev: 34177
2013-09-04 02:09:29 +00:00
Steven R. Loomis
5cbd24e441 ICU-9211 add --disable-tools and warnings
X-SVN-Rev: 34152
2013-08-30 20:47:42 +00:00
Michael Ow
c44d9fec6d ICU-9665 Fix error in Makefile
X-SVN-Rev: 33104
2013-01-31 21:28:51 +00:00
Michael Ow
b6b2fbfa43 ICU-9665 Fix cross compilation current path issue
X-SVN-Rev: 33067
2013-01-23 22:20:45 +00:00
Steven R. Loomis
0b5a813707 ICU-9714 merge from branch: fix ebcdic issues, also fix out of source build issue for make dist
X-SVN-Rev: 32793
2012-11-11 01:30:48 +00:00
Steven R. Loomis
da2afe3e0e ICU-9555 reinstate compiler shortening
X-SVN-Rev: 32364
2012-09-11 00:00:37 +00:00
Steven R. Loomis
1e1d7adaaa ICU-9493 add links from classUnicodeString to classicu_1_1UnicodeString so old urls will not break
X-SVN-Rev: 32213
2012-08-21 21:01:03 +00:00
Steven R. Loomis
19e9ab5adc ICU-9486 dont generate icu-le.pc if layout is disabled
X-SVN-Rev: 32197
2012-08-17 23:27:37 +00:00
Debabrata Sengupta
ad0573b824 ICU-9277 fixed build breaking in the install-doc target
X-SVN-Rev: 32140
2012-08-09 19:39:44 +00:00
Michael Ow
78bb22cdb9 ICU-9376 Revert previous commit 31956
X-SVN-Rev: 31958
2012-06-15 00:56:20 +00:00
Michael Ow
228ceb5c76 ICU-9376 Fix mingw cross compilation errors
X-SVN-Rev: 31956
2012-06-14 22:29:37 +00:00
Michael Ow
671a7be44b ICU-9322 Fix some memory check errors in ICU tools
X-SVN-Rev: 31829
2012-05-17 19:58:22 +00:00
Steven R. Loomis
47890124a7 ICU-7631 just verify that the biniares can load.
X-SVN-Rev: 31461
2012-02-21 04:35:07 +00:00
Steven R. Loomis
8638e4b63f ICU-8919 print a warning and suggest prepending to uconfig.h, also update config.guess and config.sub
X-SVN-Rev: 31453
2012-02-20 22:58:37 +00:00
Steven R. Loomis
744eb1c815 ICU-8653 update icuinfo, add icuinfo to howexpensive benchmark.
X-SVN-Rev: 31127
2011-12-15 23:16:20 +00:00
Michael Ow
3280110b3c ICU-8911 Add make target releaseDist
X-SVN-Rev: 30973
2011-11-16 22:03:45 +00:00
Michael Ow
eb1d80034f ICU-8936 Fix check-exhaustive in main Makefile
X-SVN-Rev: 30967
2011-11-15 17:22:33 +00:00
Michael Ow
e144d4ff66 ICU-8936 Add check-exhaustive make target to run the test suite in exhaustive mode
X-SVN-Rev: 30961
2011-11-14 22:33:19 +00:00
Steven R. Loomis
eefcfdaff6 ICU-8828 turn off searchengine by default
X-SVN-Rev: 30670
2011-09-15 21:49:17 +00:00
Steven R. Loomis
cac0d444ac ICU-8023 test fix for windows makefile
X-SVN-Rev: 28767
2010-10-07 00:23:38 +00:00
Steven R. Loomis
b7ca1b4068 ICU-7971 fix make install-doc
X-SVN-Rev: 28750
2010-10-04 19:46:07 +00:00
Steven R. Loomis
d390758955 ICU-6981 pkg-config (closing out old merge)
X-SVN-Rev: 28551
2010-08-30 18:59:02 +00:00
Steven R. Loomis
d9907892c8 ICU-7856 add unix build, 'xperf' target for generating XML perf data, cleanup some makefiles
X-SVN-Rev: 28418
2010-08-05 00:26:41 +00:00
Steven R. Loomis
82bdfe0afd ICU-7430 move call to svnversion out of top Makefile.
X-SVN-Rev: 28308
2010-07-14 20:44:40 +00:00
Steven R. Loomis
45aa2210aa ICU-7815 merge from branch
X-SVN-Rev: 28296
2010-07-12 15:24:57 +00:00
Steven R. Loomis
8b3508f7a5 ICU-7430 add distcheck and dist
X-SVN-Rev: 28289
2010-07-09 17:56:07 +00:00