thanks, committed with REVISION bump. (I also checked that the version
number was higher; pkg_add still compares versions when packages are
redirected via $stem_extensions)
On 2022/06/01 04:09, Yifei Zhan wrote:
> Currently pkg_add -u doesn't touch fcitx-pinyin and there is no prompt
> reminding users to use the new package.
>
> When upgrading fcitx from 4 to 5, the old fcitx-pinyin package should
> be replaced by fcitx-chinese-addons, which is the new package offering
> pinyin support.
>
> Here is a diff attempting to fix it by adding a line to Quirks.pm, is
> this the correct approach?
>
> diff --git a/devel/quirks/files/Quirks.pm b/devel/quirks/files/Quirks.pm
> index 62fb724b4df..4eeb920adb2 100644
> --- a/devel/quirks/files/Quirks.pm
> +++ b/devel/quirks/files/Quirks.pm
> @@ -726,6 +726,7 @@ my $stem_extensions = {
> 'libgweather' => 'libgweather4',
> 'spidermonkey78' => 'spidermonkey91',
> 'gmime' => 'gmime30',
> + 'fcitx-pinyin' => 'fcitx-chinese-addons',
> };
>
> my $obsolete_reason = {};
>
No comments:
Post a Comment