Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935555 - app-i18n/fcitx-rime, app-i18n/ibus-rime, app-i18n/rime-data: removal
Summary: app-i18n/fcitx-rime, app-i18n/ibus-rime, app-i18n/rime-data: removal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Deadline: 2024-08-04
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords: PMASKED, PullRequest
Depends on:
Blocks: 935155 695056 924139
  Show dependency tree
 
Reported: 2024-07-05 14:02 UTC by Arthur Zamarin
Modified: 2024-07-12 11:21 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2024-07-05 14:02:11 UTC
rime-data is EAPI=6, and with it last-rite it's reverse-dependencies.

package list:
app-i18n/fcitx-rime
app-i18n/ibus-rime
app-i18n/rime-data
Comment 1 Larry the Git Cow gentoo-dev 2024-07-05 14:03:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604767c9ca96ab4b0b6e1339b71cf05127eaddd4

commit 604767c9ca96ab4b0b6e1339b71cf05127eaddd4
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-07-05 14:02:54 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-07-05 14:02:54 +0000

    app-i18n/{rime-data,fcitx-rime,ibus-rime}: last-rite
    
    Bug: https://bugs.gentoo.org/935555
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 2 Ryan Tsien 2024-07-05 17:18:00 UTC
the original rime-data repo is deprecated, see: https://github.com/rime/brise

the new rime-data package should be packaged with the new repo: https://github.com/rime/plum and other related repos (about 20 repos total for reasonable preconfigured configuration files, most of them are not essential and can be toggled by USE flags, its all configuration files, arches independent).

How about we just mask this particular rime-data version (0.38.20180515, then remove it later), and add the new version with new rime-data repos?

Then, we can keep the fcitx-rime and ibus-rime input methods.
Comment 3 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2024-07-05 17:25:57 UTC
(In reply to Ryan Tsien from comment #2)
> the original rime-data repo is deprecated, see: https://github.com/rime/brise
> 
> the new rime-data package should be packaged with the new repo:
> https://github.com/rime/plum and other related repos (about 20 repos total
> for reasonable preconfigured configuration files, most of them are not
> essential and can be toggled by USE flags, its all configuration files,
> arches independent).
> 
> How about we just mask this particular rime-data version (0.38.20180515,
> then remove it later), and add the new version with new rime-data repos?
> 
> Then, we can keep the fcitx-rime and ibus-rime input methods.

sounds good to me. But I need someone to do it, since I don't use those applications, so I can't test if the new bump works.

If someone does it, I'll happily un-last-rite.
Comment 4 yongxiang 2024-07-09 02:43:33 UTC
I submitted a pull request(https://github.com/gentoo/gentoo/pull/37494).

Upstream has 20 git repositories for different RIME input methods. Currently only one of these repositories contains the release version. So in the new ebuild, I'm choosing different repositories based on use. All of these repositories use the git commit id to determine the version.

Version 0.38 of rime-data-0.38.20180515 is from the rime-data management tool (https://github.com/rime/brise), but it is currently deprecated.

For the new version of ebuild I chose 0.0.0.." . The "date" is the last update time of all git repositories, which is currently 20240624.

In order to make the new ebuild available, we also need to just mask rime-data-0.38.20180515 or drop it. I'm not sure about the workflow of package.mask, so this PR doesn't include the relevant changes.
Comment 5 yongxiang 2024-07-09 11:57:18 UTC
I updated the ebuild, keeping it the same as the original ebuild, just using extra use.
Comment 6 Larry the Git Cow gentoo-dev 2024-07-12 11:21:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31327e11209e251b0549b2b15b293e428868d5e3

commit 31327e11209e251b0549b2b15b293e428868d5e3
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-07-12 11:20:47 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-07-12 11:21:08 +0000

    app-i18n/rime-data: un-last-rite
    
    Closes: https://bugs.gentoo.org/935555
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 profiles/package.mask | 7 -------
 1 file changed, 7 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57afa610e29b0ea47bcf813e66535a37be3c2a72

commit 57afa610e29b0ea47bcf813e66535a37be3c2a72
Author:     Yongxiang Liang <tanekliang@gmail.com>
AuthorDate: 2024-07-09 02:40:08 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-07-12 11:21:08 +0000

    app-i18n/rime-data: add 0.0.0.20240624
    
    Bug: https://bugs.gentoo.org/935555
    Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37494
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-i18n/rime-data/Manifest                        |  20 +++
 app-i18n/rime-data/metadata.xml                    |  14 ++
 app-i18n/rime-data/rime-data-0.0.0.20240624.ebuild | 192 +++++++++++++++++++++
 3 files changed, 226 insertions(+)