Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 788337

Summary: x11-themes/tango-icon-theme: use kde-plasma/kde-cli-tools in addition to gnome-base/librsvg?
Product: Gentoo Linux Reporter: Michael Orlitzky <mjo>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: CONFIRMED ---    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Orlitzky gentoo-dev 2021-05-05 12:57:53 UTC
This package currently uses rsvg-convert to make PNGs out of the upstream SVGs, but I think it can use ksvgtopng from kde-plasma/kde-cli-tools instead. The tango-icons configure.ac says,

  SVGCONVERT=""
  AC_MSG_CHECKING([SVG to PNG conversion method])
  if test "x$enable_large_bitmaps" = "xyes"; then
     PKG_CHECK_EXISTS([librsvg-2.0 >= 2.12.3],
                      [enable_large_bitmaps=yes], [enable_large_bitmaps=no])
     if test "x$enable_large_bitmaps" = "xyes"; then
        svgconvert_prog="rsvg"
     else
        svgconvert_prog="ksvgtopng"
     fi
  ...

I haven't actually tried it (installing KDE wants to make a mess here), but it would be nice to have the alternative for people who already have the KDE (but not gnome) stuff installed.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 05:12:43 UTC
Same would be needed for tango-icon-themes-extra.

Tried it but..
```
Aborted (core dumped)
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted (core dumped)
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
```
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 05:19:05 UTC
(I'll CC kde@ in case they know of some way to work around that)
Comment 3 Andreas Sturmlechner gentoo-dev 2022-06-22 10:41:04 UTC
Probably needs virtualx to work?