Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843227 - app-i18n/mozc-2.26.4660.102 please bump
Summary: app-i18n/mozc-2.26.4660.102 please bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords: EBUILD
: 906241 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-08 01:22 UTC by Alessandro Barbieri
Modified: 2023-06-09 07:37 UTC (History)
9 users (show)

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


Attachments
Build for 2.26.4660.102 (2.26.4660.102.tar.xz,6.71 KB, application/octet-stream)
2022-10-22 20:05 UTC, Jack Daniels
Details
app-i18n/mozc-2.28.5029.102 ebuild+patches (mozc-2.28.5029.102.tar.xz,220.58 KB, application/x-xz)
2023-05-01 23:41 UTC, gertoe
Details
app-i18n/mozc-2.28.5029.102 ebuild+patches (mozc-2.28.5029.102.tar.xz,221.07 KB, application/x-xz)
2023-05-02 00:13 UTC, gertoe
Details
app-i18n/mozc-2.28.5029.102 gcc-13 build failure fix (mozc-2.28.5029.102-gcc-13.patch,268 bytes, patch)
2023-05-05 21:42 UTC, Martin Sekera
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2022-05-08 01:22:52 UTC
Upstream made a release last month and this release will depend on a more recent abseil-cpp
https://github.com/google/mozc/releases/tag/2.26.4660.102
Comment 1 Shiba 2022-06-08 19:42:10 UTC
-9999 is also in bad shape, as at least mozc-2.26.4220-system_abseil-cpp.patch fails to apply.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-30 22:41:20 UTC
ping
Comment 3 Jack Daniels 2022-10-22 20:05:05 UTC
Created attachment 825059 [details]
Build for 2.26.4660.102

With this ebuild and this patch, I can get mozc building. Note that you must upgrade abseil-cpp to a 2021-11 version, which conflicts with mozc-2.26.4220's 2020 requirement.

Things need to be cleaned up (there doesn't need to be version checking in the 4660 ebuild, because version is a given?), and the maintainer may prefer to split this patch to multiple files.

I've only built it. I haven't tested it.
Comment 4 Jack Daniels 2022-10-31 05:28:57 UTC
(In reply to Jack Daniels from comment #3)
> I've only built it. I haven't tested it.

I've been running it for a week or so, all seems to be working properly. I don't use it very extensively, though, and I'm unsure what all the individual patch files for the previous version were - configuration directory, server path (which applies only to Windows), include_dirs modifications, gtest/mock, and jsoncpp.
Comment 5 Larry the Git Cow gentoo-dev 2022-12-25 20:01:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=669a3f32c87981d710784a2f0ee1c97f3ecc32de

commit 669a3f32c87981d710784a2f0ee1c97f3ecc32de
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-12-25 19:59:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-12-25 20:01:54 +0000

    app-i18n/mozc: drop unmaintained broken out-of-sync 9999 ebuild
    
    Bug: https://bugs.gentoo.org/843227
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-i18n/mozc/mozc-9999.ebuild | 380 -----------------------------------------
 1 file changed, 380 deletions(-)
Comment 6 IvanDSM 2023-03-31 20:17:44 UTC
Version 2.28.5029.102 was released in March 1, 2023. I will try to update Jack's ebuild for this version and report back with results.
Comment 7 gertoe 2023-05-01 23:41:18 UTC
Created attachment 861025 [details]
app-i18n/mozc-2.28.5029.102 ebuild+patches

Attached, you will find my custom ebuilds for mozc version 2.28.5029.102 with patches. I have also included some patches to fix QA issues present in the release. Basic/preliminary upport for Mozc UT Dictionaries is added as well.

I have been using the build for approximately a week and did not encounter any noticeable issue so far. However, I did not test every use case. My usage is limited to a basic mozc-ibus setup.
Comment 8 gertoe 2023-05-02 00:13:43 UTC
Created attachment 861026 [details]
app-i18n/mozc-2.28.5029.102 ebuild+patches

For some reason, I managed to package an empty patch file in the previous archive.
The affected patch is now corrected in the updated archive.
Comment 9 Martin Sekera 2023-05-05 21:42:58 UTC
Created attachment 861209 [details, diff]
app-i18n/mozc-2.28.5029.102 gcc-13 build failure fix

The ibus component fails to compile due to a missing include with gcc-13, which removed includes from a few places in the stdlib.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-13 04:24:36 UTC
*** Bug 906241 has been marked as a duplicate of this bug. ***
Comment 11 Lemon Lime 2023-05-23 03:48:11 UTC
Hello, is there a mozc build using bazel? According to the github page that is the software they use
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-09 06:58:54 UTC
Thanks folks.

mozcdic-ut looks like a better fit for savedconfig.
Comment 13 Larry the Git Cow gentoo-dev 2023-06-09 07:35:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c6d22d36d75b98c922f4dd8b75b9b2977924574

commit 7c6d22d36d75b98c922f4dd8b75b9b2977924574
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-09 07:32:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-09 07:35:01 +0000

    app-i18n/mozc: use savedconfig
    
    Closes: https://bugs.gentoo.org/877765
    Closes: https://bugs.gentoo.org/843227
    Signed-off-by: Sam James <sam@gentoo.org>

 app-i18n/mozc/metadata.xml              |  1 -
 app-i18n/mozc/mozc-2.28.5029.102.ebuild | 37 ++++++++++++++++++---------------
 2 files changed, 20 insertions(+), 18 deletions(-)

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

commit a1e1efbebd56623d5929e79d96bc318daa99ce75
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-09 07:07:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-09 07:33:08 +0000

    app-i18n/mozc: add 2.28.5029.102
    
    See the discussion on the bug for the full details.
    
    While at it, I've ported to edo. I'm likely to change the mozcdic-ut setup to
    use savedconfig as well.
    
    Thanks-to: Jack Daniels
    Thanks-to: gertoe
    Thanks-to: Martin Sekera
    Bug: https://bugs.gentoo.org/877765
    Closes: https://bugs.gentoo.org/843227
    Signed-off-by: Sam James <sam@gentoo.org>

 app-i18n/mozc/Manifest                  |   3 +
 app-i18n/mozc/metadata.xml              |   1 +
 app-i18n/mozc/mozc-2.28.5029.102.ebuild | 394 ++++++++++++++++++++++++++++++++
 3 files changed, 398 insertions(+)
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-09 07:35:58 UTC
(In reply to gertoe from comment #8)
> Created attachment 861026 [details]
> app-i18n/mozc-2.28.5029.102 ebuild+patches
> 
> For some reason, I managed to package an empty patch file in the previous
> archive.
> The affected patch is now corrected in the updated archive.

If you'd like to adopt it (the metadata.xml change), please make a github PR (preferred) or send a git am-able patch to the gentoo-proxy-maint ML on the next bump.
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-09 07:36:03 UTC
Thanks all!
Comment 16 Larry the Git Cow gentoo-dev 2023-06-09 07:37:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b2b818f0b5682d65a3126b50b50bf568a640ac

commit 94b2b818f0b5682d65a3126b50b50bf568a640ac
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-09 07:37:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-09 07:37:20 +0000

    app-i18n/mozc: add min. abseil version
    
    Bug: https://bugs.gentoo.org/843227
    Signed-off-by: Sam James <sam@gentoo.org>

 app-i18n/mozc/mozc-2.28.5029.102.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)