Bug 39754 - У mate-menu не хватает зависимости на python3-module-pycairo
Summary: У mate-menu не хватает зависимости на python3-module-pycairo
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: mate-menu (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 33000
  Show dependency tree
 
Reported: 2021-03-03 11:27 MSK by Антон Мидюков
Modified: 2021-08-15 14:27 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Антон Мидюков 2021-03-03 11:27:20 MSK
Апплет не добавляется на панель, в журнале systemd:
мар 03 11:00:47 localhost.localdomain org.mate.panel.applet.MateMenuAppletFactory[3500]: Traceback (most recent call last):
мар 03 11:00:47 localhost.localdomain org.mate.panel.applet.MateMenuAppletFactory[3500]:   File "/usr/lib/mate-menu/mate-menu.py", line 777, in applet_factory
мар 03 11:00:47 localhost.localdomain org.mate.panel.applet.MateMenuAppletFactory[3500]:     MenuWin( applet, iid )
мар 03 11:00:47 localhost.localdomain org.mate.panel.applet.MateMenuAppletFactory[3500]:   File "/usr/lib/mate-menu/mate-menu.py", line 444, in __init__
мар 03 11:00:47 localhost.localdomain org.mate.panel.applet.MateMenuAppletFactory[3500]:     self.createPanelButton()
мар 03 11:00:47 localhost.localdomain org.mate.panel.applet.MateMenuAppletFactory[3500]:   File "/usr/lib/mate-menu/mate-menu.py", line 531, in createPanelButton
мар 03 11:00:47 localhost.localdomain org.mate.panel.applet.MateMenuAppletFactory[3500]:     self.do_load_icon(self.icon)
мар 03 11:00:47 localhost.localdomain org.mate.panel.applet.MateMenuAppletFactory[3500]:   File "/usr/lib/mate-menu/mate-menu.py", line 523, in do_load_icon
мар 03 11:00:47 localhost.localdomain org.mate.panel.applet.MateMenuAppletFactory[3500]:     surface = icon_theme.load_surface(icon_name, icon_size, scale_factor, None, Gtk.IconLookupFlags.FORCE_SIZE)
мар 03 11:00:47 localhost.localdomain org.mate.panel.applet.MateMenuAppletFactory[3500]: TypeError: Couldn't find foreign struct converter for 'cairo.Surface'

Помогает установка пакета python3-module-pycairo.

Возможно, поможет:
%add_python3_path %_libexecdir/%name
Ещё, думаю, стоит добавить поиск зависимостей gobject-introspection. Для этого добавить:
BuildRequires(pre): rpm-build-gir
И чтобы gtk4 не вытягивался, добавить:
Requires: typelib(Gtk) = 3.0
Comment 1 Repository Robot 2021-08-15 14:27:30 MSK
mate-menu-20.04.3-alt2 -> sisyphus:

 Sun Aug 15 2021 Anton Midyukov <antohami@altlinux> 20.04.3-alt2
 - Fix requires (ALT #39754)