From: TizenOpenSource Date: Fri, 29 Dec 2023 08:15:35 +0000 (+0900) Subject: Remove __gbs_exported directory X-Git-Tag: accepted/tizen/base/20240221.052806^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=516bb95f7b1949632697c1e3e657355eb6b70c97;p=platform%2Fupstream%2Ficu.git Remove __gbs_exported directory Signed-off-by: TizenOpenSource --- diff --git a/__gbs_exported/icu-74.1-1/Add_PIE_option_for_tzcode.patch b/__gbs_exported/icu-74.1-1/Add_PIE_option_for_tzcode.patch deleted file mode 100644 index d382024..0000000 --- a/__gbs_exported/icu-74.1-1/Add_PIE_option_for_tzcode.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/source/tools/tzcode/Makefile.in b/source/tools/tzcode/Makefile.in -index 1d484e805..0bcbd72f0 100644 ---- a/source/tools/tzcode/Makefile.in -+++ b/source/tools/tzcode/Makefile.in -@@ -127,13 +127,13 @@ $(ICUZDUMPOUT): $(ICUZDUMPEXEC) - - - $(ZICTARG): $(OBJECTS) $(TDATA) $(srcdir)/tz2icu.h -- $(CC) $(CFLAGS) $(TZORIG_EXTRA_CFLAGS) $(LFLAGS) -I$(srcdir) $(OBJECTS) $(LDLIBS) -o $@ -+ $(CC) $(CFLAGS) $(TZORIG_EXTRA_CFLAGS) $(LFLAGS) $(LINKFLAGS) -I$(srcdir) $(OBJECTS) $(LDLIBS) -o $@ - - $(TZ2ICUTARG): $(srcdir)/tz2icu.cpp $(srcdir)/tz2icu.h -- $(CXX) $(CXXFLAGS) -I$(srcdir) -I$(top_srcdir)/common $(srcdir)/tz2icu.cpp -o $@ -+ $(CXX) $(CXXFLAGS) $(LINKFLAGS) -I$(srcdir) -I$(top_srcdir)/common $(srcdir)/tz2icu.cpp -o $@ - - $(ICUZDUMPTARG): $(srcdir)/icuzdump.cpp -- $(LINK.cc) -I$(srcdir) -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/io -pedantic $(srcdir)/icuzdump.cpp $(LIBICUUC) $(LIBICUDT) $(LIBICUI18N) $(LIBICUIO) $(LIBICUTOOLUTIL) -o $@ -+ $(LINK.cc) -I$(srcdir) -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/io -pedantic $(srcdir)/icuzdump.cpp $(LIBICUUC) $(LIBICUDT) $(LIBICUI18N) $(LIBICUIO) $(LIBICUTOOLUTIL) $(LINKFLAGS) -o $@ - - - $(TDATA): tdatamarker diff --git a/__gbs_exported/icu-74.1-1/Change_localtime_path.patch b/__gbs_exported/icu-74.1-1/Change_localtime_path.patch deleted file mode 100644 index d6b2d75..0000000 --- a/__gbs_exported/icu-74.1-1/Change_localtime_path.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/source/common/putil.cpp b/source/common/putil.cpp -index 6c23bffb2..8447d7d78 100644 ---- a/source/common/putil.cpp -+++ b/source/common/putil.cpp -@@ -708,7 +708,7 @@ extern U_IMPORT char *U_TZNAME[]; - #define TZZONEINFO "/usr/share/lib/zoneinfo/" - #define TZ_ENV_CHECK "localtime" - #else --#define TZDEFAULT "/etc/localtime" -+#define TZDEFAULT "/opt/etc/localtime" - #define TZZONEINFO "/usr/share/zoneinfo/" - #endif - #define TZZONEINFOTAIL "/zoneinfo/" diff --git a/__gbs_exported/icu-74.1-1/Disable-the-default-LDFLAGSICUDT.patch b/__gbs_exported/icu-74.1-1/Disable-the-default-LDFLAGSICUDT.patch deleted file mode 100644 index bf000a8..0000000 --- a/__gbs_exported/icu-74.1-1/Disable-the-default-LDFLAGSICUDT.patch +++ /dev/null @@ -1,89 +0,0 @@ -From 8cc09dc5248eb816a8b124523d8b67cb0032c8ad Mon Sep 17 00:00:00 2001 -From: Jaehun Jeong -Date: Tue, 11 Jul 2017 11:13:15 +0900 -Subject: [PATCH 1/2] icu: Disable the default LDFLAGSICUDT for target compile - -By default LDFLAGSICUDT=-nodefaultlibs -nostdlib for Linux -which means DT_NEEDED section for libicu will not be populated -with dependencies when we reset it to be empty then the default -libraries it needs are added to DT_NEEDED section in ELF header - -This patch is a workaround as I consider it for now, since it could -be a problem in glibc dynamic loader for arm (especially for hf case) -where its unable to load shared objects which dont have any dependencies -expressed in DT_NEEDED segment. - -here is when LDFLAGSICUDT=-nodefaultlibs -nostdlib - -Dynamic section at offset 0x1549c10 contains 8 entries: - Tag Type Name/Value - 0x0000000e (SONAME) Library soname: -[libicudata.so.51] - 0x00000010 (SYMBOLIC) 0x0 - 0x6ffffef5 (GNU_HASH) 0xf8 - 0x00000005 (STRTAB) 0x188 - 0x00000006 (SYMTAB) 0x138 - 0x0000000a (STRSZ) 54 (bytes) - 0x0000000b (SYMENT) 16 (bytes) - 0x00000000 (NULL) 0x0 - -here is one with LDFLAGSICUDT empty - -Dynamic section at offset 0x154a014 contains 22 entries: - Tag Type Name/Value - 0x00000001 (NEEDED) Shared library: [libc.so.6] - 0x0000000e (SONAME) Library soname: -[libicudata.so.51] - 0x00000010 (SYMBOLIC) 0x0 - 0x0000000c (INIT) 0x33c - 0x0000000d (FINI) 0x500 - 0x6ffffef5 (GNU_HASH) 0xf8 - 0x00000005 (STRTAB) 0x204 - 0x00000006 (SYMTAB) 0x144 - 0x0000000a (STRSZ) 192 (bytes) - 0x0000000b (SYMENT) 16 (bytes) - 0x00000003 (PLTGOT) 0x154a0f8 - 0x00000002 (PLTRELSZ) 16 (bytes) - 0x00000014 (PLTREL) REL - 0x00000017 (JMPREL) 0x32c - 0x00000011 (REL) 0x2fc - 0x00000012 (RELSZ) 48 (bytes) - 0x00000013 (RELENT) 8 (bytes) - 0x6ffffffe (VERNEED) 0x2dc - 0x6fffffff (VERNEEDNUM) 1 - 0x6ffffff0 (VERSYM) 0x2c4 - 0x6ffffffa (RELCOUNT) 1 - 0x00000000 (NULL) 0x0 - -btw. ldd reveals the fist one to be static library while the second -one is detected as shared library. This could be a clue into how -elf headers are being interpreted by dynamic loader. - -The data seems to be all static in libicudata which could -load it quicker and thats what could be confusing dynamic linker ..may -be - -(From OE-Core rev: 644c307f63f0f0b7e97140850d3d1d2124b11b1b) -Signed-off-by: default avatarKhem Raj -Signed-off-by: default avatarRichard Purdie ---- - source/config/mh-linux | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/source/config/mh-linux b/source/config/mh-linux -index 53d6780d..78076a92 100644 ---- a/source/config/mh-linux -+++ b/source/config/mh-linux -@@ -23,7 +23,8 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN - LD_RPATH_PRE = -Wl,-rpath, - - ## These are the library specific LDFLAGS --LDFLAGSICUDT=-nodefaultlibs -nostdlib -+# Debian change: linking icudata as data only causes too many problems. -+LDFLAGSICUDT= - - ## Compiler switch to embed a library name - # The initial tab in the next line is to prevent icu-config from reading it. --- -2.25.1 - diff --git a/__gbs_exported/icu-74.1-1/PACKAGES b/__gbs_exported/icu-74.1-1/PACKAGES deleted file mode 100644 index 124f770..0000000 --- a/__gbs_exported/icu-74.1-1/PACKAGES +++ /dev/null @@ -1,161 +0,0 @@ -Copyright (C) 2016 and later: Unicode, Inc. and others. -License & terms of use: http://www.unicode.org/copyright.html -Copyright (C) 2000-2003, International Business Machines -Corporation and others. All Rights Reserved. -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. It is useful as a reference and a -guide when packaging ICU on a new system. - -+ 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 portable ICU data are. This is - defined as $(datadir)/icu/$(VERSION). - ICULIBDIR The directory where platform-specific ICU data - are. This is defined as $(libdir)/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). Note that the use of --disable-rpath assumes that the -packaging is made for a standard location, or that the package -installation/deinstallation will correctly manage the configuration -of the system's dynamic loader. This is the right way of doing things. - -The configure script invocation 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. Ideally, the ICU build will be modified to allow for distributing a -libicudata.so with all the converters and locales, but indexes and aliases -as separate files. But for now, this is the easiest way to get started. - -+ The ICU libraries package - -The ICU libraries package is typically named `libicuXX' where XX is -the major number of ICU's libraries. This number 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. - -This package contains: - -- 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). These are $(libdir)/libicu*.so.* and -$(libdir)/libustdio.so.* at the time of this writing. - -+ The ICU package - -The ICU package is simply named `icu'. It provides data used by the ICU -libraries package and commands to create and manipulate that data. - -This package contains: - -- The Unicode data files (uprops.dat and unames.dat as of this writing). -- The time zones data files (tz.dat). -- All the binary data files for converters (.cnv files). -- All the ICU commands. -- The manual pages for ICU commands and file formats. - -+ The ICU locales package - -The ICU locales package is named `icu-locales'. It provides data used by -internationalization support in ICU. - -This package contains: - -- All the data for locales in ICU (.dat files). -- All the break data for specific locales (.brk files). - -+ The ICU development package - -The ICU development package is named `libicu-dev'. It provides all -the files necessary to write applications that use ICU, along with -examples and some documentation. - -This package contains: - -- The /usr/include/unicode directory which contains all the ICU -headers. -- The .so symbolic links used by the linker to link against the -latest version of the libraries. -- A sample Makefile fragment that can be included by applications -using ICU, to facilitate their building, along with a platform-specific -configuration file included by this fragment. -- The sample applications from the ICU source tree, in an appropriate -location for the system that the package is installed on (for example, -on Debian, in /usr/share/doc/libicu-dev/examples). - -This package depends on the ICU libraries package with the exact same -version, since it provides .so symbolic links to the latest libraries. - -+ The ICU docs package - -The ICU docs package is named `libicu-doc'. It contains the files -generated by doxygen when the `make doc' command is executed, in a -location appropriate for the system that the package is installed on. - -+ The ICU data package - -The ICU data package is named `icu-data'. It contains source files for -the data found in the ICU package. These files are installed in -$(ICUDATADIR). - -+ The ICU international data package - -The ICU data package is named `icu-i18ndata'. It contains source files for -the dat founf in the ICU locales package. These files are installed in -$(ICUDATADIR). - ----- -Yves Arrouye diff --git a/__gbs_exported/icu-74.1-1/README b/__gbs_exported/icu-74.1-1/README deleted file mode 100644 index 80c37af..0000000 --- a/__gbs_exported/icu-74.1-1/README +++ /dev/null @@ -1,15 +0,0 @@ -Copyright (C) 2016 and later: Unicode, Inc. and others. -License & terms of use: http://www.unicode.org/copyright.html -Copyright (C) 2000-2003, International Business Machines -Corporation and others. All Rights Reserved. - -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. diff --git a/__gbs_exported/icu-74.1-1/Set_define_false_and_true.patch b/__gbs_exported/icu-74.1-1/Set_define_false_and_true.patch deleted file mode 100644 index fbefa7e..0000000 --- a/__gbs_exported/icu-74.1-1/Set_define_false_and_true.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/source/common/unicode/umachine.h b/source/common/unicode/umachine.h -index 6640606..fee4930 100644 ---- a/source/common/unicode/umachine.h -+++ b/source/common/unicode/umachine.h -@@ -284,7 +284,7 @@ typedef int8_t UBool; - // Use the predefined value. - #else - // Default to avoiding collision with non-macro definitions of FALSE & TRUE. --# define U_DEFINE_FALSE_AND_TRUE 0 -+# define U_DEFINE_FALSE_AND_TRUE 1 - #endif - - #if U_DEFINE_FALSE_AND_TRUE || defined(U_IN_DOXYGEN) diff --git a/__gbs_exported/icu-74.1-1/Set_icu_timezone_files_dir.patch b/__gbs_exported/icu-74.1-1/Set_icu_timezone_files_dir.patch deleted file mode 100644 index 7656bf6..0000000 --- a/__gbs_exported/icu-74.1-1/Set_icu_timezone_files_dir.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/source/common/putil.cpp b/source/common/putil.cpp -index 6c23bffb2..040615528 100644 ---- a/source/common/putil.cpp -+++ b/source/common/putil.cpp -@@ -1518,7 +1518,11 @@ static void U_CALLCONV TimeZoneDataDirInitFn(UErrorCode &status) { - return; - } - -- const char *dir = ""; -+#ifdef _TIZEN_FEATURE_ -+ const char *dir = "/opt/share/icu_tzdata"; -+#else -+ const char *dir = getenv("ICU_TIMEZONE_FILES_DIR"); -+#endif - - #if defined(ICU_TIMEZONE_FILES_DIR_PREFIX_ENV_VAR) - char timezonefilesdir_path_buffer[PATH_MAX]; -@@ -1537,7 +1541,7 @@ static void U_CALLCONV TimeZoneDataDirInitFn(UErrorCode &status) { - # endif - - #else -- dir = getenv("ICU_TIMEZONE_FILES_DIR"); -+ // dir = getenv("ICU_TIMEZONE_FILES_DIR"); - #endif // U_PLATFORM_HAS_WINUWP_API - - #if defined(U_TIMEZONE_FILES_DIR) diff --git a/__gbs_exported/icu-74.1-1/distrelease.ps1 b/__gbs_exported/icu-74.1-1/distrelease.ps1 deleted file mode 100644 index 672eb55..0000000 --- a/__gbs_exported/icu-74.1-1/distrelease.ps1 +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright (C) 2016 and later: Unicode, Inc. and others. -# License & terms of use: http://www.unicode.org/copyright.html -#------------------------- -# Script: icu\packaging\distrelease.ps1 -# Author: Steven R. Loomis -# Date: 2017-04-14 -#------------------------- -# -# This builds a zipfile containing the 64-bit (x64) and/or 32-bit (x86) Windows binaries. -# (Note: The zipfile does not include the UWP binaries.) -# -# Usage: (after building ICU using MSVC) -# (bring up Powershell ISE) -# cd C:\icu\icu4c\ -# Set-ExecutionPolicy -Scope Process Unrestricted -# .\packaging\distrelease.ps1 -arch "x64 or x86 or ARM64" -# -# Will emit: c:\icu4c\icu\source\dist\icu-windows.zip -# -# -# You will get warnings from the execution policy and the script itself. -# see https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-5.1&viewFallbackFrom=powershell-Microsoft.PowerShell.Core -# for more about execution policies. - -Param( - [string]$arch = "x64" # use x64 as default -) - -$icuDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent -$icuDir = Resolve-Path -Path '$icuDir\..' - -echo $icuDir - -# ok, create some work areas -New-Item -Path "$icuDir\source\dist" -ErrorAction SilentlyContinue -ItemType "directory" -$source = "$icuDir\source\dist\icu" -Get-ChildItem -Path $source -ErrorAction SilentlyContinue | Remove-Item -Recurse -New-Item -Path $source -ItemType "directory" -ErrorAction SilentlyContinue - -# copy required stuff -if ($arch -eq "x64") -{ - Copy-Item -Path "$icuDir\lib64" -Destination $source -Recurse - Copy-Item -Path "$icuDir\bin64" -Destination $source -Recurse -} -elseif ($arch -eq "x86") -{ - Copy-Item -Path "$icuDir\lib" -Destination $source -Recurse - Copy-Item -Path "$icuDir\bin" -Destination $source -Recurse -} -elseif ($arch -eq "ARM64") -{ - Copy-Item -Path "$icuDir\libARM64" -Destination $source -Recurse - Copy-Item -Path "$icuDir\binARM64" -Destination $source -Recurse -} -else -{ - $filename = $MyInvocation.MyCommand.Name; - echo "Invalid architecture." - echo "Usage: $filename -arch `"x64 or x86`"" - exit -} - -Copy-Item -Path "$icuDir\include" -Destination $source -Recurse -Copy-Item -Path "$icuDir\APIChangeReport.html" -Destination $source -Recurse -Copy-Item -Path "$icuDir\icu4c.css" -Destination $source -Recurse -Copy-Item -Path "$icuDir\LICENSE" -Destination $source -Recurse -Copy-Item -Path "$icuDir\readme.html" -Destination $source -Recurse - - -$destination = "$icuDir\source\dist\icu-windows.zip" -Remove-Item -Path $destination -ErrorAction Continue -Echo $source -Echo $destination - -# Use 7Zip to build zip file to avoid backslash path separator errors when unzipping on CygWin -if (-not (Get-Module -ListAvailable -Name 7Zip4PowerShell)) -{ - Install-Module 7Zip4PowerShell -Force -Verbose -} -Compress-7Zip $source -ArchiveFileName $destination -Format Zip - -echo $destination \ No newline at end of file diff --git a/__gbs_exported/icu-74.1-1/icu-74.1.tar.gz b/__gbs_exported/icu-74.1-1/icu-74.1.tar.gz deleted file mode 100644 index 4775b90..0000000 Binary files a/__gbs_exported/icu-74.1-1/icu-74.1.tar.gz and /dev/null differ diff --git a/__gbs_exported/icu-74.1-1/icu.manifest b/__gbs_exported/icu-74.1-1/icu.manifest deleted file mode 100644 index 017d22d..0000000 --- a/__gbs_exported/icu-74.1-1/icu.manifest +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/__gbs_exported/icu-74.1-1/icu.spec b/__gbs_exported/icu-74.1-1/icu.spec deleted file mode 100644 index 7aa4cbf..0000000 --- a/__gbs_exported/icu-74.1-1/icu.spec +++ /dev/null @@ -1,179 +0,0 @@ -############################################################################### -# if you build icu date files, -# please remove file source/data/in/icudt60l.dat file -############################################################################### - -%define tzdata_version 2023c - -Name: icu -VCS: git@github.sec.samsung.net:TOSCAS/icu#3a565e3fabc9817b539e248e06d9c9614f013662 -Version: 74.1 -Release: 1 -Summary: International Components for Unicode -Group: System/Libraries -License: ICU and Unicode-TOU and BSD-2.0 -URL: http://www.icu-project.org/ -Source0: %{name}-%{version}.tar.gz -Source1: tzdata%{tzdata_version}.tar.gz -Source2: set_disable_renameing.patch -Source3: Disable-the-default-LDFLAGSICUDT.patch -Source4: Add_PIE_option_for_tzcode.patch -Source5: Set_define_false_and_true.patch -Source6: Change_localtime_path.patch -Source7: Set_icu_timezone_files_dir.patch - -Source1001: icu.manifest -BuildRequires: autoconf -BuildRequires: pkgconfig(python3) - -%description -Tools and utilities for developing with icu. - -%package -n libicu -Summary: International Components for Unicode - libraries - -%description -n libicu -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. - -%package -n libicu-devel -Summary: Development files for International Components for Unicode -Requires: libicu = %{version}-%{release} -Requires: pkgconfig - -%description -n libicu-devel -Includes and definitions for developing with icu. - -%package -n libicu-tzdata -Summary: package for ICU TimeZone Updating -Requires: libicu = %{version}-%{release} -Requires: pkgconfig - -%description -n libicu-tzdata -Initial setup for ICU timezone .res file - -%prep -%setup -q -cp %{SOURCE1001} . -%{__patch} -p1 < %{SOURCE2} -%{__patch} -p1 < %{SOURCE3} -%{__patch} -p1 < %{SOURCE4} -%{__patch} -p1 < %{SOURCE5} -%{__patch} -p1 < %{SOURCE6} -%{__patch} -p1 < %{SOURCE7} - -cp %{SOURCE1} ./source/tools/tzcode - -%build -export CFLAGS="$CFLAGS -D_TIZEN_FEATURE_ -fPIC" -export CXXFLAGS="$CXXFLAGS -D_TIZEN_FEATURE_ -fPIC" -export LINKFLAGS=" -pie" -export LANG=C.UTF-8 - -cd source -%{configure} --enable-static=no \ - --enable-renaming=no \ - --enable-shared \ - --enable-plugins=yes \ - --enable-samples=no \ -%ifarch armv7hl - --with-data-packaging=archive -%else - --with-data-packaging=library -%endif -%{__make} %{?_smp_mflags} - -%check -# pushd source -# %__make check || exit 0 -# popd - -%install -cd source -%make_install - -# bugs of rpmdeps -chmod +x %{buildroot}/%{_libdir}/lib*.so.* -mkdir -p %{buildroot}/opt/share/icu_tzdata/ -mkdir -p %{buildroot}/usr/share/icu_zoneinfo/ -export ICUDATA_NAME=`cat ./data/makedata.mak | grep "^U_ICUDATA_NAME=" | head -n 1 | sed -e 's/^.*=//g' | sed -e 's/\r$//g'` -export ICUDATA_ENDIAN_SUFFIX=`cat ./data/makedata.mak | grep "^U_ICUDATA_ENDIAN_SUFFIX=" | head -n 1 | sed -e 's/^.*=//g' | sed -e 's/\r$//g'` -echo "=============================================" -echo "ICUDATA_NAME [$ICUDATA_NAME]" -echo "ICUDATA_ENDIAN_SUFFIX [$ICUDATA_ENDIAN_SUFFIX]" -echo "=============================================" -cp -af ./data/out/build/"$ICUDATA_NAME$ICUDATA_ENDIAN_SUFFIX"/zoneinfo64.res %{buildroot}/usr/share/icu_zoneinfo/ -cp -af ./data/out/build/"$ICUDATA_NAME$ICUDATA_ENDIAN_SUFFIX"/metaZones.res %{buildroot}/usr/share/icu_zoneinfo/ -cp -af ./data/out/build/"$ICUDATA_NAME$ICUDATA_ENDIAN_SUFFIX"/timezoneTypes.res %{buildroot}/usr/share/icu_zoneinfo/ -ln -sf /usr/share/icu_zoneinfo/zoneinfo64.res %{buildroot}/opt/share/icu_tzdata/zoneinfo64.res -ln -sf /usr/share/icu_zoneinfo/metaZones.res %{buildroot}/opt/share/icu_tzdata/metaZones.res -ln -sf /usr/share/icu_zoneinfo/timezoneTypes.res %{buildroot}/opt/share/icu_tzdata/timezoneTypes.res -cp -af ./data/misc/timezoneTypes.txt %{buildroot}/opt/share/icu_tzdata/ -cp -af ./data/misc/metaZones.txt %{buildroot}/opt/share/icu_tzdata/ -cp -af ./tools/tzcode/zoneinfo %{buildroot}/usr/share/icu_zoneinfo/ -cp -af ./tools/tzcode/zone.tab %{buildroot}/usr/share/icu_zoneinfo/ -cp -af ./tools/tzcode/icu_zone.txt %{buildroot}/usr/share/icu_zoneinfo/ -cp -af ./tools/tzcode/zoneinfo64.txt %{buildroot}/usr/share/icu_zoneinfo/ -cp -af ./tools/tzcode/icuregions %{buildroot}/usr/share/icu_zoneinfo/ - -mkdir -p %{buildroot}/usr/sbin/icu_bin/ -cp ./bin/zic %{buildroot}/usr/sbin/icu_bin/ -cp ./bin/tz2icu %{buildroot}/usr/sbin/icu_bin/ - -%remove_docs - - -%post -n libicu -p /sbin/ldconfig - -%postun -n libicu -p /sbin/ldconfig - -%files -%manifest %{name}.manifest -%license LICENSE - -%files -n libicu -%manifest %{name}.manifest -%license LICENSE -%{_libdir}/*.so* -%{_bindir}/derb -%{_bindir}/genbrk -%{_bindir}/gencfu -%{_bindir}/gencnval -%{_bindir}/gendict -%{_bindir}/genrb -%{_bindir}/makeconv -%{_bindir}/pkgdata -%{_bindir}/uconv -%{_bindir}/icuinfo -%{_bindir}/icu-config -%{_bindir}/icuexportdata -%{_sbindir}/* -%dir %{_datadir}/icu/%{version} -%{_datadir}/icu/%{version}/config/mh-linux -%{_datadir}/icu/%{version}/install-sh -%{_datadir}/icu/%{version}/LICENSE -%{_datadir}/icu/%{version}/mkinstalldirs -%ifarch armv7hl -%{_datadir}/icu/%{version}/*.dat -%endif - -%files -n libicu-devel -%manifest %{name}.manifest -%license LICENSE -%{_includedir}/unicode -%{_libdir}/*.so -%{_libdir}/pkgconfig/icu-*.pc -%{_libdir}/%{name} - -%files -n libicu-tzdata -%{_sbindir}/icu_bin/* -/opt/share/icu_tzdata/* -%{_datadir}/icu_zoneinfo/* diff --git a/__gbs_exported/icu-74.1-1/set_disable_renameing.patch b/__gbs_exported/icu-74.1-1/set_disable_renameing.patch deleted file mode 100644 index efbf105..0000000 --- a/__gbs_exported/icu-74.1-1/set_disable_renameing.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/source/common/unicode/uconfig.h b/source/common/unicode/uconfig.h -index bbc232d..802e975 100644 ---- a/source/common/unicode/uconfig.h -+++ b/source/common/unicode/uconfig.h -@@ -89,7 +89,7 @@ - * @internal - */ - #ifndef U_DISABLE_RENAMING --#define U_DISABLE_RENAMING 0 -+#define U_DISABLE_RENAMING 1 - #endif - - /** -@@ -142,7 +142,7 @@ - * @internal - */ - #ifndef UCONFIG_ENABLE_PLUGINS --#define UCONFIG_ENABLE_PLUGINS 0 -+#define UCONFIG_ENABLE_PLUGINS 1 - #endif - - /** diff --git a/__gbs_exported/icu-74.1-1/tzdata2023c.tar.gz b/__gbs_exported/icu-74.1-1/tzdata2023c.tar.gz deleted file mode 100644 index 12dd5aa..0000000 Binary files a/__gbs_exported/icu-74.1-1/tzdata2023c.tar.gz and /dev/null differ