pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58574: inputmethod/ibus-hangul is missing a dependency (graphics/librsvg)



>Number:         58574
>Category:       pkg
>Synopsis:       inputmethod/ibus-hangul is missing a dependency (graphics/librsvg)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 10 19:50:00 +0000 2024
>Originator:     Daeil Lee
>Release:        pkgsrc-2024Q2
>Organization:
>Environment:
NetBSD vmbsd.localdomain 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
The package inputmethod/ibus-hangul requires graphics/librsvg, but graphics/librsvg (or graphics/libsrvg-c) is not specified as a dependency in the Makefile.

As a result, running 'ibus-setup-hangul' fails to open a ibus-setup-hangul window. Instead, it gives the following error message:

Traceback (most recent call last):
  File "/usr/pkg/share/ibus-hangul/setup/main.py", line 295, in <module>
    Setup(bus).run()
    ^^^^^^^^^^
  File "/usr/pkg/share/ibus-hangul/setup/main.py", line 155, in __init__
    self.__window.set_icon_from_file(icon_file)
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn't recognize the image file format for file "/usr/pkg/share/ibus-hangul/icons/ibus-hangul.svg" (3)
>How-To-Repeat:
Install inputmethod/ibus-hangul without installing graphics/librsvg or graphics/librsvg-c. Then execute 'ibus-setup-hangul'.
>Fix:
By installing the librsvg or librsvg-c package, the problem is resolved. I'm not sure which one is better.

To fix this problem, add the following line to the Makefile in inputmethod/ibus-hangul:

DEPENDS+= librsvg-[0-9]*:../../graphics/librsvg


Home | Main Index | Thread Index | Old Index