From 945efe98ada0ffe84c9ebaefa21c97f0386243a2 Mon Sep 17 00:00:00 2001 From: Zakk Date: Sat, 25 Jul 2026 23:53:25 +1000 Subject: [PATCH] app-i18n/fcitx-table-dayi: new package, add 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 因为上游 CMakeLists 声明 `cmake_minimum_required` 3.8,ECM 会对低于 3.16 的版本告警,所以用 `PATCHES` 提升到 3.16。 2. 因为上游没有 GPL 声明、码表本体由太易资讯公司授权,所以新增 `licenses/dayi` 并设 `LICENSE="dayi"`,而非套用 table-extra 的 GPL-3+。 Signed-off-by: Zakk --- .github/workflows/overlay.toml | 4 +++ .../fcitx-table-dayi-9999.ebuild | 30 +++++++++++++++++++ .../fcitx-table-dayi-9999-cmake_316.patch | 11 +++++++ app-i18n/fcitx-table-dayi/metadata.xml | 11 +++++++ licenses/dayi | 4 +++ 5 files changed, 60 insertions(+) create mode 100644 app-i18n/fcitx-table-dayi/fcitx-table-dayi-9999.ebuild create mode 100644 app-i18n/fcitx-table-dayi/files/fcitx-table-dayi-9999-cmake_316.patch create mode 100644 app-i18n/fcitx-table-dayi/metadata.xml create mode 100644 licenses/dayi diff --git a/.github/workflows/overlay.toml b/.github/workflows/overlay.toml index c781532da9..d909008ebf 100644 --- a/.github/workflows/overlay.toml +++ b/.github/workflows/overlay.toml @@ -314,6 +314,10 @@ github = "fcitx/fcitx5-skk" use_latest_tag = true github_account = "liuyujielol" +#["app-i18n/fcitx-table-dayi"] + +# live package only + ["app-i18n/fcitx-vinput"] source = "github" github = "xifan2333/fcitx5-vinput" diff --git a/app-i18n/fcitx-table-dayi/fcitx-table-dayi-9999.ebuild b/app-i18n/fcitx-table-dayi/fcitx-table-dayi-9999.ebuild new file mode 100644 index 0000000000..4012a3db2e --- /dev/null +++ b/app-i18n/fcitx-table-dayi/fcitx-table-dayi-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=fcitx5-table-dayi + +inherit cmake git-r3 xdg + +DESCRIPTION="Dayi (大易) table input method for Fcitx5" +HOMEPAGE="https://github.com/fcitx/fcitx5-table-dayi" +EGIT_REPO_URI="https://github.com/fcitx/fcitx5-table-dayi.git" + +LICENSE="dayi" +SLOT="5" +KEYWORDS="" + +DEPEND=" + app-i18n/fcitx:5 + app-i18n/libime +" +RDEPEND="${DEPEND}" +BDEPEND=" + kde-frameworks/extra-cmake-modules:0 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-cmake_316.patch +) diff --git a/app-i18n/fcitx-table-dayi/files/fcitx-table-dayi-9999-cmake_316.patch b/app-i18n/fcitx-table-dayi/files/fcitx-table-dayi-9999-cmake_316.patch new file mode 100644 index 0000000000..16698f86a3 --- /dev/null +++ b/app-i18n/fcitx-table-dayi/files/fcitx-table-dayi-9999-cmake_316.patch @@ -0,0 +1,11 @@ +Raise the minimum CMake version to 3.16 to silence the deprecation QA +warning emitted by extra-cmake-modules (Gentoo bug #964407). + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.8) ++cmake_minimum_required(VERSION 3.16) + + project(fcitx5-table-dayi VERSION 1.0.0) + diff --git a/app-i18n/fcitx-table-dayi/metadata.xml b/app-i18n/fcitx-table-dayi/metadata.xml new file mode 100644 index 0000000000..08fb8d568c --- /dev/null +++ b/app-i18n/fcitx-table-dayi/metadata.xml @@ -0,0 +1,11 @@ + + + + + zakk@gentoozh.org + Zakk + + + fcitx/fcitx5-table-dayi + + diff --git a/licenses/dayi b/licenses/dayi new file mode 100644 index 0000000000..51d7be9fea --- /dev/null +++ b/licenses/dayi @@ -0,0 +1,4 @@ +本表格由太易資訊公司 (http://www.dayi.com) 授權,開放給使用者下載使用。 + +使用者不得任意更改此表格中每個字的編碼規則並重新散佈,但允許改變此表格 +的格式以適合其他平台或輸入法軟體使用。