Difference between revisions of "ICU"

From CBLFS
Jump to navigationJump to search
(New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://download.icu-project.org/files/icu4c/{{ICU_Version2}}/icu4c-{{ICU-Version}}-src.tgz |} ---- {{Pack...)
 
(64Bit)
 
(9 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://download.icu-project.org/files/icu4c/{{ICU_Version2}}/icu4c-{{ICU-Version}}-src.tgz
+
| http://download.icu-project.org/files/icu4c/{{ICU-Version2}}/icu4c-{{ICU-Version}}-src.tgz
 
|}
 
|}
  
Line 20: Line 20:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
cd source &&
 +
for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do
 +
  sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in
 +
done &&
 +
  ./configure --prefix=/usr \
 +
  --disable-debug --disable-samples &&
 
  make
 
  make
  
Line 33: Line 38:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  cd source &&
 +
for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do
 +
  sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in
 +
done &&
 +
USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
 +
    CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 +
    ./configure --prefix=/usr --libdir=/usr/lib \
 +
      --disable-debug --disable-samples &&
 +
make
  
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
mv -v /usr/bin/icu-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 53: Line 67:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  cd source &&
 +
for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do
 +
  sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in
 +
done &&
 +
USE_ARCH=64 PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
 +
    CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 +
    ./configure --prefix=/usr --libdir=/usr/lib64 \
 +
      --disable-debug --disable-samples &&
 +
make
  
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
mv -v /usr/bin/icu-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/icu-config
  
 
== Contents ==
 
== Contents ==
Line 72: Line 96:
 
|libicudata.so, libicuuc.so, libicui18n.so, libicule.so, libiculx.so, libicutu.so, libicutest.so, libicuio.so
 
|libicudata.so, libicuuc.so, libicui18n.so, libicule.so, libiculx.so, libicutu.so, libicutest.so, libicuio.so
 
|}
 
|}
 +
 +
[[Category:General Utilities]]

Latest revision as of 17:44, 23 June 2009

Download Source: http://download.icu-project.org/files/icu4c/4.2.1/icu4c-4_2_1-src.tgz

Introduction to ICU

ICU (International Components for Unicode) is a mature, widely used set of C/C++ and Java libraries providing Unicode and Globalization support for software applications.

Project Homepage: http://site.icu-project.org


Dependencies

Optional

Non-Multilib

Compile the package:

cd source &&
for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do
  sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in
done &&
./configure --prefix=/usr \
  --disable-debug --disable-samples &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

cd source &&
for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do
  sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in
done &&
USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
    CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    ./configure --prefix=/usr --libdir=/usr/lib \
      --disable-debug --disable-samples &&
make

Install the package:

make install &&
mv -v /usr/bin/icu-config{,-32}

N32

Compile the package:

To do ...

Install the package:

make install

64Bit

Compile the package:

cd source &&
for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do
  sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in
done &&
USE_ARCH=64 PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
    CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    ./configure --prefix=/usr --libdir=/usr/lib64 \
      --disable-debug --disable-samples &&
make

Install the package:

make install &&
mv -v /usr/bin/icu-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/icu-config

Contents

Installed Directories: /usr/include/unicode, /usr/include/layout, /usr/share/icu/4.2.1
Installed Programs: makeconv, genrb, derb, genuca, genbrk, genctd, gencnval, gensprep, genccode, gencmn, icupkg, pkgdata, icuswap, uconv, icu-config
Installed Libraries: libicudata.so, libicuuc.so, libicui18n.so, libicule.so, libiculx.so, libicutu.so, libicutest.so, libicuio.so
Retrieved from "?title=ICU&oldid=18497"