Perhaps it makes sense to add RUN_DEPENDS=inputmethods/fcitx-table-extra to fcitx-chinese-addons?

--
 Sent from a phone, apologies for poor formatting.

On 2 June 2022 07:57:12 Yifei Zhan <openbsd@zhan.science> wrote:

On 22/06/02 07:20AM, Stuart Henderson wrote:
It's not possible to replace with two packages via quirks. There is another
way via a meta package but it's messy.

Can we assume that a user who previously had fcitx-table installed and needs
the parts which were split into fcitx-chinese-addons also would have had
fcitx-pinyin?

Not really, I think most people won't install or use both pinyin and
table. Perhaps we should display a prompt after installing
fcitx-chinese-addons to remind users they might have to install
fcitx-table-extra? in case the user only uses methods from the later
package, some disk space will be wasted, but I don't think that is too bad.

e.g.:

For ZhengMa, Boshiamy, Quick and other WuBi / CangJie tables, please
install fcitx5-table-extra.


On 2 June 2022 03:41:04 Yifei Zhan <openbsd@zhan.science> wrote:

Thanks, here are a few packages also need redirecting, versions look
ok and revision bump included :)

fcitx-table 0.3.8 ->  fcitx-chinese-addons 5.0.9
fcitx-configtool-0.4.10 -> fcitx-configtool-qt-5.0.12p0

fcitx-table is actually split into two packages: fcitx-table-extras
and fcitx-chinese-addons, is it possible to replace with both of them?

diff --git a/devel/quirks/Makefile b/devel/quirks/Makefile
index f44fef673d5..b740feee81f 100644
--- a/devel/quirks/Makefile
+++ b/devel/quirks/Makefile
@@ -3,7 +3,7 @@ CATEGORIES = devel databases
DISTFILES =

# API.rev
-PKGNAME = quirks-6.2
+PKGNAME = quirks-6.3
PKG_ARCH = *
MAINTAINER = Marc Espie <es...@openbsd.org>

diff --git a/devel/quirks/files/Quirks.pm b/devel/quirks/files/Quirks.pm
index d4845bfb46c..7dffa976196 100644
--- a/devel/quirks/files/Quirks.pm
+++ b/devel/quirks/files/Quirks.pm
@@ -727,6 +727,8 @@ my $stem_extensions = {
'spidermonkey78' => 'spidermonkey91',
'gmime' => 'gmime30',
'fcitx-pinyin' => 'fcitx-chinese-addons',
+ 'fcitx-table' => 'fcitx-chinese-addons',
+ 'fcitx-configtool' => 'fcitx-configtool-qt',
};

my $obsolete_reason = {};

Reply via email to