pkgsrc-Users archive

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

Re: gdk-pixbuf2 needs librsvg run time dependency



adr <adr%sdf.org@localhost> writes:
> without librsvg applications using pixbuf2 can't load svg icons.
> Sometimes it is just missed icons, but applications can run with
> problems.  Just add .include "../../graphics/librsvg/buildlink3.mk"
> to graphics/gdk-pixbuf2/Makefile?
>
> Sorry I haven't tested, I'm using binary packages in netbsd 10
> right now.

You can check out pkgsrc 2023Q1 (assuming that's the binary packages you
are using which are built for 10) and build just that package from
source.  It is ok to mix source/binary.  What is not ok is to mix
architecture, OS version, or branch.  (Well, you can do what you want
given the license, but not ok means I expect trouble!).

Does gdk-pixbuf2 load the rsvg library dynamically, or is it linked in
at configure time?

Is this documented by gdk-pixbuf2?

Does gdk-pixbuf2 already depend on rust?  If not, this will result it in
not being available -- and a whole slew of depending packges -- not
being available on many platforms.  Or, it could drag in unmaintained
libsrvg-c, which would be a security problem.

Very likely gdk-pixbuf2 should have a rsvg option, and that perhaps
should be default on if the platform has rust.

If you want to work on this, then besides consensus on the above
suggestion/guess, staging a package with this feature in wip would be
the way to make progress.

Perhaps my messages will provoke others, too...

Greg


Home | Main Index | Thread Index | Old Index