tegaki-zinnia-japanese shouldn't be a dependency after handwriting support was removed

Bug #1920775 reported by Daniel Tang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mozc (Debian)
Fix Released
Unknown
mozc (Ubuntu)
Fix Released
Medium
Gunnar Hjalmarsson

Bug Description

The Mozc packages shouldn't depend on tegaki-zinnia-japanese, a 26.1 MB handwriting support package, after handwriting support was removed from Mozc ( https://github.com/google/mozc/issues/477#issuecomment-739475097 ). The tegaki-zinnia project is also unmaintained ( https://github.com/tegaki/tegaki/issues/13#issuecomment-301248025 ).

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu

$ lsb_release -rd
Description: Ubuntu Hirsute Hippo (development branch)
Release: 21.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center

$ apt-cache policy mozc-utils-gui
mozc-utils-gui:
  Installed: 2.26.4220.100+dfsg-4ubuntu2
  Candidate: 2.26.4220.100+dfsg-4ubuntu2
  Version table:
 *** 2.26.4220.100+dfsg-4ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
        100 /var/lib/dpkg/status
$ apt-cache policy ibus-mozc
ibus-mozc:
  Installed: 2.26.4220.100+dfsg-4ubuntu2
  Candidate: 2.26.4220.100+dfsg-4ubuntu2
  Version table:
 *** 2.26.4220.100+dfsg-4ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen

I should not have to install the tegaki-zinnia-japanese package when I install Mozc. I shouldn't see that package in the dependency list:

$ apt-cache depends ibus-mozc
ibus-mozc
  Depends: libabsl20200923
  Depends: libc6
  Depends: libglib2.0-0
  Depends: libibus-1.0-5
  Depends: libprotobuf23
  Depends: libstdc++6
  Depends: libxcb-xfixes0
  Depends: libxcb1
  Depends: mozc-data
  Depends: mozc-server
  Depends: ibus
    ibus:i386
  Suggests: mozc-utils-gui

$ apt-cache depends mozc-utils-gui
mozc-utils-gui
  Depends: libabsl20200923
  Depends: libc6
  Depends: libgcc-s1
  Depends: libqt5core5a
 |Depends: libqt5gui5
  Depends: libqt5gui5-gles
  Depends: libqt5widgets5
  Depends: libstdc++6
  Depends: mozc-data
  Recommends: mozc-server
  Suggests: <ibus-qt5>

4) What happened instead

tegaki-zinnia-japanese is depended upon and I see the following:

$ apt-cache depends ibus-mozc
ibus-mozc
  Depends: libabsl20200923
  Depends: libc6
  Depends: libglib2.0-0
  Depends: libibus-1.0-5
  Depends: libprotobuf23
  Depends: libstdc++6
  Depends: libxcb-xfixes0
  Depends: libxcb1
  Depends: mozc-data
  Depends: mozc-server
  Depends: ibus
    ibus:i386
  Depends: tegaki-zinnia-japanese
  Suggests: mozc-utils-gui

$ apt-cache depends mozc-utils-gui
mozc-utils-gui
  Depends: libabsl20200923
  Depends: libc6
  Depends: libgcc-s1
  Depends: libqt5core5a
 |Depends: libqt5gui5
  Depends: libqt5gui5-gles
  Depends: libqt5widgets5
  Depends: libstdc++6
  Depends: mozc-data
  Depends: tegaki-zinnia-japanese
  Recommends: mozc-server
  Suggests: <ibus-qt5>

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your report!

This is most certainly a Debian issue at first hand, and it would be great if you could report the bug there (Package: src:mozc).

Looks like the tegaki-zinnia-japanese package is a candidate to be dropped from the archive in both Debian and Ubuntu. But that's another matter. ;)

Since Debian is in freeze mode for Debian 11, I'm going to drop the dependency in hirsute only for now.

Changed in mozc (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Second thoughts: mozc also build-depends on libzinnia-dev, and in groovy (but not in hirsute for some reason) mozc-utils-gui depends on libzinnia0. I think they'd better sort it out on the Debian side; leaving hirsute as is.

Changed in mozc (Ubuntu):
assignee: Gunnar Hjalmarsson (gunnarhj) → nobody
status: In Progress → Confirmed
Revision history for this message
Daniel Tang (daniel-z-tg) wrote :
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks! I changed my mind again as regards hirsute.

Changed in mozc (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
status: Confirmed → Fix Committed
Changed in mozc (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mozc - 2.26.4220.100+dfsg-4ubuntu3

---------------
mozc (2.26.4220.100+dfsg-4ubuntu3) hirsute; urgency=medium

  * debian/control, debian/rules:
    - Drop obsolete handwriting dependencies (LP: #1920775)

 -- Gunnar Hjalmarsson <email address hidden> Tue, 23 Mar 2021 01:49:52 +0100

Changed in mozc (Ubuntu):
status: Fix Committed → Fix Released
Changed in mozc (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.