Bug#1007148: /usr/share/menu/python3-sympy refers to /usr/share/pixmaps/isympy.xpm, but does not recommend isympy-common

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Mar 12 05:33:20 GMT 2022


Package: python3-sympy
Version: 1.9-1
Control: affects -1 + openbox

I have python3-sympy installed because of weasyprint.

I don't have isympy or isympy-common installed at all.

python3-sympy wants to install a system menuitem with an icon
/usr/share/pixmaps/isympy.xpm from the isympy-common package:

0 dkg at host:~$ cat /usr/share/menu/python3-sympy 
?package(python3-sympy):needs="text" section="Applications/Science/Mathematics"\
	title="sympy (Python3)"\
	icon="/usr/share/pixmaps/isympy.xpm"\
	command="python3 /usr/bin/isympy"
0 dkg at host:~$ 

However, this means that my desktop environment (openbox) produces a
warning on stderr every time it tries to render the menu:

    ObRender-Message: Cannot load image "/usr/share/pixmaps/isympy.xpm" from file "/usr/share/pixmaps/isympy.xpm"

python3-sympy doesn't Depend, Recommend, or Suggest isympy-common, and i
don't particularly think i should need to install a full package just to
avoid a frequent warning message about an icon.

Not sure what the right resolution is here.  Maybe just ship another
copy of the icon in python3-sympy and refer to it in the menu item?

Thanks for maintaining sympy in debian!

            --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20220312/b2c75952/attachment.sig>


More information about the debian-science-maintainers mailing list