Package: libicu48-shlibs Version: 4.8.1.1 Revision: 8 Source: http://download.icu-project.org/files/icu4c/%v/icu4c-4_8_1_1-src.tgz Source-Checksum: SHA256(0a70491c5fdfc5a0fa7429f820da73951e07d59a268b3d8ffe052eec65820ca1) SourceDirectory: icu Conflicts: libicu48-dev (<< 4.8.1.1-8) Replaces: libicu48-dev (<< 4.8.1.1-8) BuildDepends: << fink-package-precedence, flag-sort << PatchFile: %n.patch PatchFile-MD5: 08aa3a7dbf726b45cbcf49aad1e957ae PatchScript: << #!/bin/sh -ev %{default_script} darwin_vers=`uname -r | cut -d. -f1` # darwin13: -ansi forces -std=c89, which changes the linkage of inlines test "$darwin_vers" -ge 14 && sed -i.orig -e 's/-ansi//' source/configure << SetCC: flag-sort -r gcc SetCXX: flag-sort -r g++ ConfigureParams: --enable-shared --disable-static UseMaxBuildJobs: false CompileScript: << #!/bin/sh -ev mkdir build cd build ../source/configure %c make fink-package-precedence --depfile-ext=.d --headers --libs \ --prohibit-bdep=libicu48-dev,libicu55-dev,libicu67-dev,libicu72-dev . << InfoTest: << TestScript: << cd build && make -j1 check || exit 2 << << InstallScript: << #!/bin/sh -ex cd build make DESTDIR="%d" install # O Libtool, whither art thou? ivers=48.1.1 pushd %i/lib for f in libicu*.*.*.*.dylib do if test ! -L $f then install_name_tool -id "%p/lib/$f" "$f" deplibs=`otool -L $f | sed 1,2d | awk '{print $1;}' | tr '\n' ' '` for d in $deplibs do # prefix absolute paths to installation case $d in /*) ;; # internal linking should not depend on symlinks from -dev *.48.dylib) repl=`echo "$d" | sed "s|48\.dylib|$ivers.dylib|"` install_name_tool -change "$d" "%p/lib/$repl" $f ;; *) install_name_tool -change "$d" "%p/lib/$d" $f ;; esac done fi done popd for b in bin sbin do pushd %i/$b for f in * do if test ! -L $f then deplibs=`otool -L $f | sed 1d | awk '{print $1;}' | tr '\n' ' '` for d in $deplibs do case $d in /*) ;; @*) ;; *.48.dylib) repl=`echo "$d" | sed "s|48\.dylib|$ivers.dylib|"` install_name_tool -change "$d" "%p/lib/$repl" $f ;; *) install_name_tool -change "$d" "%p/lib/$d" $f ;; esac done fi done popd done pushd %i rm -r bin rm -r include rm -r lib/icu rm lib/libicudata{.48,}.dylib rm lib/libicui18n{.48,}.dylib rm lib/libicuio{.48,}.dylib rm lib/libicule{.48,}.dylib rm lib/libiculx{.48,}.dylib rm lib/libicutest{.48,}.dylib rm lib/libicutu{.48,}.dylib rm lib/libicuuc{.48,}.dylib rm -r lib/pkgconfig rm -r sbin rm -r share/icu rm -r share/man popd << DocFiles: *.css *.html *.txt Shlibs: << %p/lib/libicudata.48.1.1.dylib 48.0.0 %n (>= 4.8-0) %p/lib/libicui18n.48.1.1.dylib 48.0.0 %n (>= 4.8-0) %p/lib/libicuio.48.1.1.dylib 48.0.0 %n (>= 4.8-0) %p/lib/libicule.48.1.1.dylib 48.0.0 %n (>= 4.8-0) %p/lib/libiculx.48.1.1.dylib 48.0.0 %n (>= 4.8-0) %p/lib/libicutest.48.1.1.dylib 48.0.0 %n (>= 4.8-0) %p/lib/libicutu.48.1.1.dylib 48.0.0 %n (>= 4.8-0) %p/lib/libicuuc.48.1.1.dylib 48.0.0 %n (>= 4.8-0) << License: BSD Description: International Components for Unicode library Maintainer: David Fang Homepage: https://icu.unicode.org/ DescDetail: << The International Components for Unicode (ICU) libraries provide robust and full-featured Unicode services on a wide variety of platforms. ICU supports the most current version of the Unicode standard, and they provide support for supplementary Unicode characters (needed for GB 18030 repertoire support). As computing environments become more heterogeneous, software portability becomes more important. ICU lets you produce the same results across all the various platforms you support, without sacrificing performance. It offers great flexibility to extend and customize the supplied services, which include: * Text: Unicode text handling, full character properties and character set conversions (500+ codepages) * Analysis: Unicode regular expressions; full Unicode sets; character, word and line boundaries * Comparison: Language sensitive collation and searching * Transformations: normalization, upper/lowercase, script transliterations (50+ pairs) * Locales: Comprehensive locale data (230+) and resource bundle architecture * Complex Text Layout: Arabic, Hebrew, Indic and Thai * Time: Multi-calendar and time zone * Formatting and Parsing: dates, times, numbers, currencies, messages and rule based Please note that this package is NOT based on the ICU source provided by Apple. << DescPackaging: << flag-sort is needed because Makefiles order in-source dirs after passed CPPFLAGS. Patch is needed to re-order linker flags to have -L../stubdata before -L../lib intltest: Patch needed after 2014 that is less than 20 years from the 2034 the test is expecting. And that makes it think '34' is 2034 and not 1934. http://sourceforge.net/p/icu/mailman/message/32443311/ https://gist.github.com/nawawi/dbe0021e3c439d9ccd85 uspoof.cpp ordered comparison between pointer and zero with Xcode9 https://ssl.icu-project.org/trac/changeset/32912 <<