diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
| commit | 290aebdea65a02557706eaeda477fef0437b6a48 (patch) | |
| tree | f87a939169a508a2e943570501b64cc16b411cda /dev-libs/icu | |
| parent | 6783ddcd4b73d9ce586a71770caed352bec93b16 (diff) | |
| download | baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/icu')
| -rw-r--r-- | dev-libs/icu/Manifest | 2 | ||||
| -rw-r--r-- | dev-libs/icu/files/icu-64.2-darwin.patch | 56 | ||||
| -rw-r--r-- | dev-libs/icu/files/icu-68.1-nonunicode.patch | 12 | ||||
| -rw-r--r-- | dev-libs/icu/files/icu-76.1-remove-bashisms.patch | 151 | ||||
| -rw-r--r-- | dev-libs/icu/files/icu-76.1-undo-pkgconfig-change-for-now.patch | 30 | ||||
| -rw-r--r-- | dev-libs/icu/files/icu-77.1-invalid-malloc.patch | 30 | ||||
| -rw-r--r-- | dev-libs/icu/icu-78.3.ebuild | 172 | ||||
| -rw-r--r-- | dev-libs/icu/metadata.xml | 12 |
8 files changed, 0 insertions, 465 deletions
diff --git a/dev-libs/icu/Manifest b/dev-libs/icu/Manifest deleted file mode 100644 index f837642806ec..000000000000 --- a/dev-libs/icu/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST icu4c-78.3-sources.tgz 27977255 BLAKE2B 31cd41d900f7be20eafab42304e9369fa2074cd4e91c2808887db7013c639aa2e0e5c3c7a139d10e18d3300ea6094e10c2d9fc325678b6e986a11ed9181f4b0c SHA512 04a49455e1489030c520a4bfd2664fa2171e7938d08f2acdbbcb1fda976639fd8b1f0704f2eec89ba59a7b6d118ceaab6ec5a096e40d9085a0895d91ce225245 -DIST icu4c-78.3-sources.tgz.asc 228 BLAKE2B 70936427710d5d0cc8b31c1cb21b8f58f22c00105462f558e959aca97800ac9ac7e9a4c9a474e2be7811d133d4db0d36c14b1ad03cdad0f27f1eadad0da98975 SHA512 16590893fb9798900ee3419bc752a6b9a4f5f2685a1825c473f927b272e0c33b2edada7655fa2a1e0818273beff278e546836e8902e73cd00a96d2a7a553ceaf diff --git a/dev-libs/icu/files/icu-64.2-darwin.patch b/dev-libs/icu/files/icu-64.2-darwin.patch deleted file mode 100644 index d0029fa0fe5e..000000000000 --- a/dev-libs/icu/files/icu-64.2-darwin.patch +++ /dev/null @@ -1,56 +0,0 @@ -same as 4.7, but retargetted to apply with eapply - -forward-ported from v58.2 to v64.2 - ---- a/config/mh-darwin -+++ b/config/mh-darwin -@@ -6,6 +6,12 @@ - ## Copyright (c) 1999-2012 International Business Machines Corporation and - ## others. All Rights Reserved. - -+SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO) -+FINAL_SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO_TARGET_VERSION).$(SO) -+MIDDLE_SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO_TARGET_VERSION_MAJOR).$(SO) -+ -+IS_DARWIN = yes -+ - ## Flags for position independent code - SHAREDLIBCFLAGS = -dynamic - SHAREDLIBCXXFLAGS = -dynamic -@@ -33,7 +39,7 @@ - ifeq ($(ENABLE_RPATH),YES) - LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(libdir)/$(notdir $(MIDDLE_SO_TARGET)) - else --LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(notdir $(MIDDLE_SO_TARGET)) $(PKGDATA_TRAILING_SPACE) -+LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(libdir)/$(notdir $(MIDDLE_SO_TARGET)) - endif - - ## Compiler switch to embed a runtime search path ---- a/stubdata/Makefile.in -+++ b/stubdata/Makefile.in -@@ -34,7 +34,11 @@ - - - ifneq ($(ENABLE_SHARED),) -+ifeq ($(IS_DARWIN),) - SO_TARGET = $(STUBDATA_LIBDIR)$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX)$(STUB_SUFFIX).$(SO) -+else -+SO_TARGET = $(LIBDIR)/$(STUBDATA_LIBDIR)$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX)$(STUB_SUFFIX).$(SO) -+endif - ALL_SO_TARGETS = $(FINAL_SO_TARGET) $(MIDDLE_SO_TARGET) $(SO_TARGET) $(BATCH_STUB_TARGET) $(SHARED_OBJECT) - endif - ---- a/tools/ctestfw/Makefile.in -+++ b/tools/ctestfw/Makefile.in -@@ -33,7 +33,11 @@ - endif - - ifneq ($(ENABLE_SHARED),) -+ifeq ($(IS_DARWIN),) - SO_TARGET = $(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO) -+else -+SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO) -+endif - ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT) - endif - diff --git a/dev-libs/icu/files/icu-68.1-nonunicode.patch b/dev-libs/icu/files/icu-68.1-nonunicode.patch deleted file mode 100644 index e02c1413d996..000000000000 --- a/dev-libs/icu/files/icu-68.1-nonunicode.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ruN a/common/unicode/platform.h b/common/unicode/platform.h ---- a/common/unicode/platform.h 2020-10-28 23:21:12.000000000 +0200 -+++ b/common/unicode/platform.h 2020-11-28 20:48:53.223629867 +0200 -@@ -649,7 +649,7 @@ - /* Use the predefined value. */ - #elif U_PLATFORM_IS_LINUX_BASED || U_PLATFORM_IS_DARWIN_BASED || \ - U_PLATFORM == U_PF_EMSCRIPTEN --# define U_CHARSET_IS_UTF8 1 -+# define U_CHARSET_IS_UTF8 0 - #else - # define U_CHARSET_IS_UTF8 0 - #endif diff --git a/dev-libs/icu/files/icu-76.1-remove-bashisms.patch b/dev-libs/icu/files/icu-76.1-remove-bashisms.patch deleted file mode 100644 index 62bb3221116f..000000000000 --- a/dev-libs/icu/files/icu-76.1-remove-bashisms.patch +++ /dev/null @@ -1,151 +0,0 @@ ---- a/config/icu-config-bottom -+++ b/config/icu-config-bottom -@@ -218,65 +218,65 @@ - ;; - - --cflags) -- echo $ECHO_N "${CFLAGS} ${ECHO_C}" -+ printf "%s" "${CFLAGS} " - ;; - - --cc) -- echo $ECHO_N "${CC} ${ECHO_C}" -+ printf "%s" "${CC} " - ;; - - --cxx) -- echo $ECHO_N "${CXX} ${ECHO_C}" -+ printf "%s" "${CXX} " - ;; - - --cxxflags) -- echo $ECHO_N "${CXXFLAGS} ${ECHO_C}" -+ printf "%s" "${CXXFLAGS} " - ;; - - --cppflags) - # Don't echo the -I. - it's unneeded. -- echo $ECHO_N "${CPPFLAGS} ${ECHO_C}" | sed -e 's/-I. //' -+ printf "%s" "${CPPFLAGS} " | sed -e 's/-I. //' - ;; - - --cppflags-searchpath) -- echo $ECHO_N "-I${prefix}/include ${ECHO_C}" -+ printf "%s" "-I${prefix}/include " - ;; - - --cppflags-dynamic) -- echo $ECHO_N "${SHAREDLIBCPPFLAGS} ${ECHO_C}" -+ printf "%s" "${SHAREDLIBCPPFLAGS} " - ;; - - --cxxflags-dynamic) -- echo $ECHO_N "${SHAREDLIBCXXFLAGS} ${ECHO_C}" -+ printf "%s" "${SHAREDLIBCXXFLAGS} " - ;; - - --cflags-dynamic) -- echo $ECHO_N "${SHAREDLIBCFLAGS} ${ECHO_C}" -+ printf "%s" "${SHAREDLIBCFLAGS} " - ;; - - --ldflags-system) -- echo $ECHO_N "${LIBS} ${ECHO_C}" -+ printf "%s" "${LIBS} " - ;; - - --ldflags) -- echo $ECHO_N "${LDFLAGS} ${ICULIBS} ${ECHO_C}" -+ printf "%s" "${LDFLAGS} ${ICULIBS} " - # $RPATH_LDFLAGS - ;; - - --ldflags-libsonly) -- echo $ECHO_N "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} ${ECHO_C}" -+ printf "%s" "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} " - ;; - - --ldflags-icuio) -- echo $ECHO_N " ${ICULIBS_ICUIO} ${ECHO_C}" -+ printf "%s" " ${ICULIBS_ICUIO} " - ;; - - --ldflags-obsolete) -- echo $ECHO_N "${ICULIBS_OBSOLETE} ${ECHO_C}" -+ printf "%s" "${ICULIBS_OBSOLETE} " - ;; - - --ldflags-toolutil) -- echo $ECHO_N " ${ICULIBS_TOOLUTIL} ${ECHO_C}" -+ printf "%s" " ${ICULIBS_TOOLUTIL} " - ;; - - --ldflags-layout) -@@ -285,7 +285,7 @@ - ;; - - --ldflags-searchpath) -- echo $ECHO_N "-L${libdir} ${ECHO_C}" -+ printf "%s" "-L${libdir} " - ;; - - --detect-prefix) -@@ -321,47 +321,47 @@ - ;; - - --shared-datadir) -- echo $ECHO_N "${datadir} ${ECHO_C}" -+ printf "%s" "${datadir} " - ;; - - --incfile) -- echo $ECHO_N "${pkglibdir}/Makefile.inc ${ECHO_C}" -+ printf "%s" "${pkglibdir}/Makefile.inc " - ;; - - --incpkgdatafile) -- echo $ECHO_N "${pkglibdir}/pkgdata.inc ${ECHO_C}" -+ printf "%s" "${pkglibdir}/pkgdata.inc " - ;; - - --icudata) -- echo $ECHO_N "${ICUDATA_NAME} ${ECHO_C}" -+ printf "%s" "${ICUDATA_NAME} " - ;; - - --icudata-mode) -- echo $ECHO_N "${PKGDATA_MODE} ${ECHO_C}" -+ printf "%s" "${PKGDATA_MODE} " - ;; - - --icudata-install-dir) -- echo $ECHO_N "${ICUPKGDATA_DIR} ${ECHO_C}" -+ printf "%s" "${ICUPKGDATA_DIR} " - ;; - - --icudatadir) -- echo $ECHO_N "${ICUDATA_DIR} ${ECHO_C}" -+ printf "%s" "${ICUDATA_DIR} " - ;; - - --shlib-c) -- echo $ECHO_N "${SHLIB_c} ${ECHO_C}" -+ printf "%s" "${SHLIB_c} " - ;; - - --shlib-cc) -- echo $ECHO_N "${SHLIB_cc} ${ECHO_C}" -+ printf "%s" "${SHLIB_cc} " - ;; - - --version) -- echo $ECHO_N $VERSION -+ printf "%s" "$VERSION" - ;; - - --unicode-version) -- echo $ECHO_N $UNICODE_VERSION -+ printf "%s" "$UNICODE_VERSION" - ;; - - --host) diff --git a/dev-libs/icu/files/icu-76.1-undo-pkgconfig-change-for-now.patch b/dev-libs/icu/files/icu-76.1-undo-pkgconfig-change-for-now.patch deleted file mode 100644 index b99557871bc0..000000000000 --- a/dev-libs/icu/files/icu-76.1-undo-pkgconfig-change-for-now.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://github.com/chimera-linux/cports/blob/master/main/icu/patches/pc.patch - -""" -for some reason enable-shared only emits a requires.private here now and things -underlink icu-uc libs when using other icu libs, even though the deps are correct -this is https://github.com/unicode-org/icu/commit/199bc827021ffdb43b6579d68e5eecf54c7f6f56 , -consumers probably have to be explicit about -i18n -uc use now instead of it -being implicit, but just undo .private for now -""" ---- a/Makefile.in -+++ b/Makefile.in -@@ -290,7 +290,7 @@ - ifeq ($(ENABLE_SHARED),) - @echo "Requires: icu-uc" >> $@ - else -- @echo "Requires.private: icu-uc" >> $@ -+ @echo "Requires: icu-uc" >> $@ - endif - @echo "Libs:" '-L$${libdir}' "${ICULIBS_I18N}" >> $@ - @echo $@ updated. -@@ -302,7 +302,7 @@ - ifeq ($(ENABLE_SHARED),) - @echo "Requires: icu-i18n" >> $@ - else -- @echo "Requires.private: icu-i18n" >> $@ -+ @echo "Requires: icu-i18n" >> $@ - endif - @echo "Libs:" '-L$${libdir}' "${ICULIBS_IO}" >> $@ - @echo $@ updated. - diff --git a/dev-libs/icu/files/icu-77.1-invalid-malloc.patch b/dev-libs/icu/files/icu-77.1-invalid-malloc.patch deleted file mode 100644 index a0ae4728a9c1..000000000000 --- a/dev-libs/icu/files/icu-77.1-invalid-malloc.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://unicode-org.atlassian.net/browse/ICU-23120 -https://github.com/unicode-org/icu/pull/3496 - -From a0d280e4b4df6c09dfd82b63499f308d416c9b60 Mon Sep 17 00:00:00 2001 -From: David Seifert <soap@gentoo.org> -Date: Fri, 16 May 2025 12:55:47 +0200 -Subject: [PATCH] ICU-23120 Fix malloc request larger than PTRDIFF_MAX bytes -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -* glibc does not allow allocations that exceed PTRDIFF_MAX bytes: - https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9bf8e29ca136094f73f69f725f15c51facc97206 -* Without this, we get compile failures on 32-bit platforms: - - work/icu/source/test/intltest/ustrtest.cpp: In member function ‘void UnicodeStringTest::TestLargeMemory()’: - work/icu/source/test/intltest/ustrtest.cpp:2360:37: error: size ‘4294967286’ of array exceeds maximum object size ‘2147483647’ - 2360 | char16_t *buf = new char16_t[len]; - | ^ ---- a/test/intltest/ustrtest.cpp -+++ b/test/intltest/ustrtest.cpp -@@ -2356,7 +2356,7 @@ void UnicodeStringTest::TestLargeMemory() { - #if U_PLATFORM_IS_LINUX_BASED || U_PLATFORM_IS_DARWIN_BASED - if(quick) { return; } - IcuTestErrorCode status(*this, "TestLargeMemory"); -- constexpr uint32_t len = 2147483643; -+ constexpr uint32_t len = (PTRDIFF_MAX - 10) / sizeof(char16_t); - char16_t *buf = new char16_t[len]; - if (buf == nullptr) { return; } - uprv_memset(buf, 0x4e, len * 2); diff --git a/dev-libs/icu/icu-78.3.ebuild b/dev-libs/icu/icu-78.3.ebuild deleted file mode 100644 index e01d656668bd..000000000000 --- a/dev-libs/icu/icu-78.3.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PV=${PV/_rc/-rc} -PYTHON_COMPAT=( python3_{13..14} ) -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/icu.asc -inherit autotools flag-o-matic multilib-minimal python-any-r1 toolchain-funcs verify-sig - -DESCRIPTION="International Components for Unicode" -HOMEPAGE="https://icu.unicode.org/" -SRC_URI="https://github.com/unicode-org/icu/releases/download/release-${MY_PV/_/-}/icu4c-${MY_PV/-rc/rc}-sources.tgz" -SRC_URI+=" verify-sig? ( https://github.com/unicode-org/icu/releases/download/release-${MY_PV/_/-}/icu4c-${MY_PV/-rc/rc}-sources.tgz.asc )" -S="${WORKDIR}"/${PN}/source - -LICENSE="BSD" -SLOT="0/${PV%.*}" -if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris" -fi -IUSE="debug doc examples static-libs test" -RESTRICT="!test? ( test )" - -BDEPEND="${PYTHON_DEPS} - dev-build/autoconf-archive - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) - verify-sig? ( >=sec-keys/openpgp-keys-icu-20241110 ) -" - -MULTILIB_CHOST_TOOLS=( - /usr/bin/icu-config -) - -PATCHES=( - "${FILESDIR}/${PN}-76.1-remove-bashisms.patch" - "${FILESDIR}/${PN}-64.2-darwin.patch" - "${FILESDIR}/${PN}-68.1-nonunicode.patch" - - # Undo change for now which exposes underlinking in consumers; - # revisit when things are a bit quieter and tinderbox its removal. - "${FILESDIR}/${PN}-76.1-undo-pkgconfig-change-for-now.patch" - # https://unicode-org.atlassian.net/browse/ICU-23120 - "${FILESDIR}/${PN}-77.1-invalid-malloc.patch" -) - -HTML_DOCS=( ../readme.html ) - -src_prepare() { - default - - # TODO: switch uconfig.h hacks to use uconfig_local - # - # Disable renaming as it assumes stable ABI and that consumers - # won't use unofficial APIs. We need this despite the configure argument. - sed -i \ - -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \ - common/unicode/uconfig.h || die - # - # ODR violations, experimental API - sed -i \ - -e "s/# define UCONFIG_NO_MF2 0/#define UCONFIG_NO_MF2 1/" \ - common/unicode/uconfig.h || die - - # Fix linking of icudata - sed -i \ - -e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \ - config/mh-linux || die - - # Append doxygen configuration to configure - sed -i \ - -e 's:icudefs.mk:icudefs.mk Doxyfile:' \ - configure.ac || die - - eautoreconf -} - -src_configure() { - MAKEOPTS+=" VERBOSE=1" - - if tc-is-cross-compiler; then - mkdir "${WORKDIR}"/host || die - pushd "${WORKDIR}"/host >/dev/null || die - - CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ - CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \ - RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \ - "${S}"/configure --disable-renaming --disable-debug \ - --disable-samples --enable-static || die - emake - - popd >/dev/null || die - fi - - # Workaround for bug #963337 (gcc PR122058) - tc-is-gcc && [[ $(gcc-major-version) -ge 16 ]] && append-cxxflags -fno-devirtualize-speculatively - - multilib-minimal_src_configure -} - -multilib_src_configure() { - # https://unicode-org.github.io/icu/userguide/icu4c/packaging - local myeconfargs=( - --disable-renaming - --disable-samples - # TODO: Re-enable(?) - planned to do this w/ 73.2 but seem to - # get test failures only with --enable-layoutex. - --disable-layoutex - $(use_enable debug) - $(use_enable static-libs static) - $(use_enable test tests) - $(multilib_native_use_enable examples samples) - ) - - #if use test ; then - # myeconfargs+=( - # --enable-extras - # --enable-tools - # ) - #else - # myeconfargs+=( - # $(multilib_native_enable extras) - # $(multilib_native_enable tools) - # ) - #fi - - tc-is-cross-compiler && myeconfargs+=( - --with-cross-build="${WORKDIR}"/host - ) - - # Work around cross-endian testing failures with LTO, bug #757681 - if tc-is-cross-compiler && tc-is-lto ; then - myeconfargs+=( --disable-strict ) - fi - - # ICU tries to use clang by default - tc-export CC CXX - - # Make sure we configure with the same shell as we run icu-config - # with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined - export CONFIG_SHELL="${EPREFIX}/bin/sh" - # Probably have no /bin/sh in prefix-chain - [[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL="${BASH}" - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_compile() { - default - - if multilib_is_native_abi && use doc; then - doxygen -u Doxyfile || die - doxygen Doxyfile || die - - HTML_DOCS+=( "${BUILD_DIR}"/doc/html/. ) - fi -} - -multilib_src_test() { - # INTLTEST_OPTS: intltest options - # -e: Exhaustive testing - # -l: Reporting of memory leaks - # -v: Increased verbosity - # IOTEST_OPTS: iotest options - # -e: Exhaustive testing - # -v: Increased verbosity - # CINTLTST_OPTS: cintltst options - # -e: Exhaustive testing - # -v: Increased verbosity - emake check -} diff --git a/dev-libs/icu/metadata.xml b/dev-libs/icu/metadata.xml deleted file mode 100644 index 2dd61ae0a434..000000000000 --- a/dev-libs/icu/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>office@gentoo.org</email> - <name>Gentoo Office project</name> - </maintainer> - <upstream> - <remote-id type="cpe">cpe:/a:icu-project:international_components_for_unicode</remote-id> - </upstream> - <origin>baldeagleos-repo</origin> -</pkgmetadata> |
