Bug#980396: inkscape: most icons missing until librsvg2-common installed
Mattia Rizzolo
mattia at debian.org
Wed Jan 20 01:18:04 GMT 2021
Control: reassign -1 inkscape
On Tue, Jan 19, 2021 at 09:24:00AM +0000, Simon McVittie wrote:
> > Now, what I *really* wonder abuot is why the trigger (or, well, the code
> > behind it) is not running by itself on after libgdk-pixbuf-2.0-0.
>
> It ... does? Take a look at
> /var/lib/dpkg/info/libgdk-pixbuf-2.0-0:amd64.postinst (or whatever
> architecture you're using). You'll see that it does the same thing when
> triggered that it does on any upgrade or fresh installation of gdk-pixbuf.
> (Of course if you can see any differences or bugs that I'm missing, then
> I'm happy to apply patches.)
Ohh, I seem to just skipped over that bit somehow.
> > Right, so apparently what used to trigger that was librsvg2-common,
> > which was pulled in by inkscape through the chain
> >
> > inkscape → libgtk2.0-0 → adwaita-icon-theme | gnome-icon-theme → librsvg2-common
>
> If Inkscape is using GTK (i.e. gdk-pixbuf) to draw its icons, and some
> or all of those icons are only provided as SVGs, then librsvg2-common
> is required. Without librsvg2-common, gdk-pixbuf does not know anything
> about SVG files.
Right, apparently I didn't pay attention this fact all these year, since
it was pulled in by something else anyway.
> I think the root cause here is that Inkscape does not depend on
> librsvg2-common, but needs its functionality if you want an interactive
> UI with icons.
Right.
> Possible solutions:
>
> * inkscape and/or libgtk2.0-0 Depends: librsvg2-common on Rust
> architectures and Recommends: it on non-Rust architectures
> (minimal installations with GTK on mainstream architectures will become
> less minimal)
I'll pick this one and change that in inkscape.
I do believe icons are important enough to have a strict dependency.
> Do the inkscape maintainers have any thoughts on where the best place is
> to add Depends or Recommends?
Rather I wonder if there are any other gtk application rendering svg
icons that never realized they needed such dependency... :)
Thank you for all your insights!
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
More about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20210120/bc9f6242/attachment-0001.sig>
More information about the pkg-gnome-maintainers
mailing list