[MacPorts] #42305: librsvg @2.36.4_3 publishes archive library into loaders
MacPorts
noreply at macports.org
Wed Jan 29 08:06:21 PST 2014
#42305: librsvg @2.36.4_3 publishes archive library into loaders
--------------------------+-----------------------
Reporter: earl_chew@… | Owner: pixilla@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: librsvg |
--------------------------+-----------------------
Comment (by earl_chew@…):
Replying to [comment:2 pixilla@…]:
> I know little of these pixbuf files but it is more likely that gdk-
pixbuf2 is responsible for their location:
> {{{
> $ port provides /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/*
> /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.la is
provided by: gdk-pixbuf2
> /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so is
provided by: gdk-pixbuf2
> ...
> }}}
>
> earl_chew: What make you think the current layout is wrong? Can you
share a preferred layout?
[[BR]]
Hmmm ... that's funny because on my system I see something a little
different. Maybe it's because I installed from binary, and didn't build
from source. This is what I see:
{{{
$ port provides /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/*
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jasper.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a is
provided by: librsvg
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so is
provided by: librsvg
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so is
provided by: gdk-pixbuf2
/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so is
provided by: gdk-pixbuf2
}}}
What I'd like to point out is that I think the gdk-pixbuf-2.0/.../loaders/
directory is intended to contain pixbuf modules that are shared libraries
(*.so) so that they can be dynamically loaded. This is particularly useful
when new plugins are provided to extend functionality (just like librsvg).
For reference, take a look at http://packages.debian.org/sid/amd64/libgdk-
pixbuf2.0-0/filelist from Debian:
{{{
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
ani.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
bmp.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
gif.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
icns.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
ico.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
jasper.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
jpeg.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
pcx.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
png.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
pnm.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
qtif.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
ras.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
tga.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
tiff.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
wbmp.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
xbm.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-
xpm.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders
}}}
So what I suggest is that the only change that needs to be made is for
librsvg to '''remove''' libpixbufloader-svg.a (ie don't put the archive
library version .a in gdk-pixbuf-2.0/2.10.0/loaders/, and only put the
shared library version .so there).
--
Ticket URL: <https://trac.macports.org/ticket/42305#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list