From 15781eb241046890d18a2ca18fe5fbe02bd481ab Mon Sep 17 00:00:00 2001 From: Yves Arrouye Date: Fri, 20 Oct 2000 05:37:47 +0000 Subject: [PATCH] ICU-678 info aboutwhat this directory contains X-SVN-Rev: 2751 --- icu4c/packaging/PACKAGES | 87 ++++++++++++++++++++++++++++++++++++++++ icu4c/packaging/README | 10 +++++ 2 files changed, 97 insertions(+) create mode 100644 icu4c/packaging/PACKAGES create mode 100644 icu4c/packaging/README diff --git a/icu4c/packaging/PACKAGES b/icu4c/packaging/PACKAGES new file mode 100644 index 0000000000..f58813c02b --- /dev/null +++ b/icu4c/packaging/PACKAGES @@ -0,0 +1,87 @@ +ICU is packaged into a number of small, interdependent packages. This +file describes what these packages are, what their name should be +like, and what their contents are. + ++ List of ICU packages. + +ICU is distributed as the following packages: + +- ICU libraries. This package contains the runtime libraries needed by +applications that use ICU. All the other packages require this package +to be installed. +- ICU. This package contains the converters data, the timezones data, +and all the ICU tools. +- ICU locales. This package adds locales and break data. +- ICU development. This package contains the files necessary to build +applications that use ICU, i.e. header files, links to shared +libraries used by the linker, static libraries, etc... It also +contains sample applications and documentation. +- ICU docs. This package contains further documentation for ICU, +including a complete API reference. +- ICU data. This package contains the source for the compiled data +contained by the ICU package. +- ICU international data. This package contains the source for the +compiled data contained by the ICU locales package. + +In this file, we will refer to Autoconf variables as in $(bindir). In +addition to these, we will use the following variables to denote +ICU-specific directories or information: + + VERSION ICU's dotted version number, e.g. 1.6.0.1 as of this + writing. + + ICUDATADIR The directory where ICU data are. This is defined as + $(datadir)/icu/$(VERSION). + ICUSYSCONFDIR The directory where ICU configuration files are. This + is defined as $(sysconfdir)/icu. + +When referring to libraries, .so will be used to denote the extension +of a shared library, and .a to denote the extension of a static +library. These extensions will actually be different on some platforms. + ++ Configuration and compilation of ICU + +ICU should be configured with the following options: + + --with-data-packaging=files + --disable-rpath + --enable-shared + --enable-static + --without-samples + +in addition to platform-specific settings (like a specific mandir or +sysconfdir). + +The configure script invokation should also be done with + + CFLAGS="-O2" + +set, as in: + + $ CFLAGS="-O2" ./configure ... + +The files packaging mode is chosen because it offers the maximum +flexibility. Packages can be split easily, and system administrators +can add converters, aliases, and other resources with little +effort. + ++ The ICU libraries package + +The ICU libraries package is typically named `libicuXX' where XX is +the major number of ICU's libraries. This numer is ICU's version +number multiplied by 10 and rounded down to the nearest integer (it is +also the value of the LIB_VERSION_MAJOR configure substitution +variable). For example, for ICU 1.6.0.1, it is 16, so the package name +is `libicu16'. The major version is part of the package name to allow +for the simultaneous installation of different ICU releases. + +- All the shared libraries, and their major number symbolic link, but +not the .so symbolic link that is only used at link time (this one is +part of the development package). + ++ The ICU package + ++ More to be written... + +---- +Yves Arrouye diff --git a/icu4c/packaging/README b/icu4c/packaging/README new file mode 100644 index 0000000000..1b4216bd48 --- /dev/null +++ b/icu4c/packaging/README @@ -0,0 +1,10 @@ +This directory contains information, input files and scripts for +packaging ICU using specific packaging tools. We assume that the +packager is familiar with the tools and procedures needed to build a +package for a given packaging method (for example, how to use +dpkg-buildpackage(1) on Debian GNU/Linux, or rpm(8) on distributions that +use RPM packages). + +Please read the file PACKAGES if you are interested in packaging ICU +yourself. It describes what the different packages should be, and what +their contents are.