mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-i18n/libime: drop 1.1.11-r1, 1.1.12
Part-of: https://github.com/gentoo/gentoo/pull/45880 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
committed by
Yixun Lan
parent
f75e346abc
commit
d65e92e923
@@ -1,3 +1 @@
|
||||
DIST libime-1.1.11_dict.tar.zst 49591163 BLAKE2B 6f14f54237e951350c819905afefb4f72b3cc7c96374dc1d20013b917d3f14d38faabfcf11e90e5420b0a864adc4f4bb29f9730373bb59caffc344c571e47270 SHA512 8eaee360b97822bf7a4f6aa3454e9bb09106c382e99604347f08c078242cd4833caab558268312f94b6cc65a3928e624a14daa2c770dc31042f649707e2c56a3
|
||||
DIST libime-1.1.12_dict.tar.zst 49593140 BLAKE2B 4544b5cadc1bf141b7f5ed522e148e8c8aff8c4e75ad79ac208084df2d811f8ce9f27d42b85023e5273a362593ae62c56b812382ddc6e222f416af4d05bae8fb SHA512 e836a91cb8685a5cc063d9a7598dd753c654a47e7c29f2d8751df0389a8a6e99ef6bbb3f691b162e8d0939905a6ea50765a81dfbfccb28b0ea171cdd4a7f26d7
|
||||
DIST libime-1.1.13_dict.tar.zst 49597959 BLAKE2B afbd4e467241278c5bc97766362b2cb4d39dc695e7c0ab9587890a96f479389ffd41cec337b02450e5ca757ae70a67b2ede2cd69563b91d0ca3d72b25daeb835 SHA512 57d4ee307a464fd7a581a7da018dfea40185d7b8d888387d6b7f0c0b44084b4e1d69869139f621f31e92fca7a182f1f3c5c3ca2e4483f8730f5469ce9a1c9dc5
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
https://github.com/fcitx/libime/commit/39ced92b4450f49b03e38bdd6a58d1f1b9430824
|
||||
|
||||
fix odr: build kenlm with C++20
|
||||
|
||||
--- a/src/libime/core/CMakeLists.txt
|
||||
+++ b/src/libime/core/CMakeLists.txt
|
||||
@@ -14,9 +14,14 @@ target_include_directories(kenlm PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE
|
||||
target_compile_definitions(kenlm PUBLIC -DKENLM_MAX_ORDER=3 PRIVATE -DNDEBUG)
|
||||
target_link_libraries(kenlm PUBLIC Boost::boost PkgConfig::ZSTD)
|
||||
set_target_properties(kenlm PROPERTIES
|
||||
- CXX_STANDARD 11
|
||||
POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
+include(CheckCXXSymbolExists)
|
||||
+check_cxx_symbol_exists(_LIBCPP_VERSION version LIBCPP)
|
||||
+if(LIBCPP)
|
||||
+ target_compile_definitions(kenlm PUBLIC -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION)
|
||||
+endif()
|
||||
+
|
||||
if(UNIX)
|
||||
check_library_exists(rt clock_gettime "clock_gettime from librt" HAVE_CLOCKGETTIME_RT)
|
||||
if (HAVE_CLOCKGETTIME_RT)
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake unpacker
|
||||
|
||||
DESCRIPTION="Fcitx5 Next generation of fcitx"
|
||||
HOMEPAGE="https://fcitx-im.org/"
|
||||
SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.zst"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="5"
|
||||
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
|
||||
IUSE="+data doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-i18n/fcitx-5.1.13:5
|
||||
app-arch/zstd:=
|
||||
dev-libs/boost:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
kde-frameworks/extra-cmake-modules:0
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/doxygen
|
||||
dev-texlive/texlive-fontutils
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-fix-kenlm-odr.patch )
|
||||
|
||||
src_configure() {
|
||||
# 957570 : remove unused kenlm CMakeLists.txt
|
||||
rm src/libime/core/kenlm/CMakeLists.txt || die
|
||||
|
||||
local mycmakeargs=(
|
||||
-DENABLE_DATA=$(usex data)
|
||||
-DENABLE_DOC=$(usex doc)
|
||||
-DENABLE_TEST=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use doc && cmake_src_compile doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
use doc && dodoc -r "${BUILD_DIR}"/doc/*
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake unpacker
|
||||
|
||||
DESCRIPTION="Fcitx5 Next generation of fcitx"
|
||||
HOMEPAGE="https://fcitx-im.org/"
|
||||
SRC_URI="https://download.fcitx-im.org/fcitx5/libime/libime-${PV}_dict.tar.zst"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
IUSE="+data doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-i18n/fcitx-5.1.13:5
|
||||
app-arch/zstd:=
|
||||
dev-libs/boost:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
kde-frameworks/extra-cmake-modules:0
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/doxygen
|
||||
dev-texlive/texlive-fontutils
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# 957570 : remove unused kenlm CMakeLists.txt
|
||||
rm src/libime/core/kenlm/CMakeLists.txt || die
|
||||
|
||||
local mycmakeargs=(
|
||||
-DENABLE_DATA=$(usex data)
|
||||
-DENABLE_DOC=$(usex doc)
|
||||
-DENABLE_TEST=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use doc && cmake_src_compile doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
use doc && dodoc -r "${BUILD_DIR}"/doc/*
|
||||
}
|
||||
Reference in New Issue
Block a user