Opened 6 years ago

Closed 2 years ago

#37399 closed defect (fixed)

librsvg: Add gdk-pixbuf2 dependency

Reported by: robsonpeixoto@… Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc: neverpanic (Clemens Lang), cooljeanius (Eric Gallager), seanfarley (Sean Farley)
Port: librsvg

Description

As can see on this part of log

:info:configure checking for LIBRSVG... no
:info:configure configure: error: Package requirements (	gdk-pixbuf-2.0 >= 1.3.7 	glib-2.0 >= 2.12.0 	gio-2.0 >= 2.24.0 	libxml-2.0 >= 2.7.0 	pangocairo >= 1.16.0 	cairo >= 1.2.0 	cairo-png >= 1.2.0
:info:configure         libcroco-0.6 >= 0.6.1) were not met:
:info:configure 
:info:configure No package 'gdk-pixbuf-2.0' found
:info:configure 

the librsvg needs of gdk-pixbuf2

Attachments (2)

deps.patch (602 bytes) - added by robsonpeixoto@… 6 years ago.
librsvg-deps.EDT.diff (812 bytes) - added by cooljeanius (Eric Gallager) 6 years ago.
port-depcheck.sh output for librsvg

Download all attachments as: .zip

Change History (13)

Changed 6 years ago by robsonpeixoto@…

Attachment: deps.patch added

comment:1 Changed 6 years ago by ryandesign (Ryan Schmidt)

Cc: pixillaopenmaintainer@… removed
Owner: changed from macports-tickets@… to pixilla@…
Summary: Add gdk-pixbuf2 as dep to librsvglibrsvg: Add gdk-pixbuf2 dependency

comment:2 Changed 6 years ago by neverpanic (Clemens Lang)

Cc: cal@… added

Do you have libgsf installed with the +no_gnome variant?

comment:3 Changed 6 years ago by robsonpeixoto@…

No, I don't!

comment:4 Changed 6 years ago by neverpanic (Clemens Lang)

In that case gdk-pixbuf2 should be pulled in by libgsf -> gconf -> gtk2 -> gdk-pixbuf2. I wonder why that doesn't happen for you.

comment:5 Changed 6 years ago by robsonpeixoto@…

I'll try to reinstall

Last edited 6 years ago by robsonpeixoto@… (previous) (diff)

comment:6 Changed 6 years ago by robsonpeixoto@…

Now it is working. Thanks

comment:7 Changed 6 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:8 Changed 6 years ago by ryandesign (Ryan Schmidt)

What changed? What did you reinstall?

comment:9 Changed 6 years ago by robsonpeixoto@…

I ran

$ sudo port uninstall --follow-dependencies librsvg
$ sudo port clean all 
$ sudo port install librsvg
Password:
--->  Computing dependencies for librsvg
--->  Dependencies to be installed: libart_lgpl libcroco libgsf gnome-vfs desktop-file-utils gconf dbus-glib gtk2 atk gobject-introspection gdk-pixbuf2 jasper hicolor-icon-theme pango Xft2 shared-mime-info intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit eggdbus gnome-mime-data libbonobo

Changed 6 years ago by cooljeanius (Eric Gallager)

Attachment: librsvg-deps.EDT.diff added

port-depcheck.sh output for librsvg

comment:10 Changed 6 years ago by cooljeanius (Eric Gallager)

Let me re-do that diff I attached above... since people seem to prefer a simple otool -L + port provides instead of diffs, here's the former:

Local-Admins-MacBook-Pro:MacPorts-fork ericgallager$ sh /Users/ericgallager/GitHubReposFromOtherComputers/macportsscripts/port-depcheck.sh librsvg
Finding MacPorts libraries that librsvg links against...
/opt/local/lib/libX11-xcb.1.dylib is provided by: xorg-libX11
/opt/local/lib/libX11.6.dylib is provided by: xorg-libX11
/opt/local/lib/libXau.6.dylib is provided by: xorg-libXau
/opt/local/lib/libXdmcp.6.dylib is provided by: xorg-libXdmcp
/opt/local/lib/libXext.6.dylib is provided by: xorg-libXext
/opt/local/lib/libXrender.1.dylib is provided by: xrender
/opt/local/lib/libbz2.1.0.dylib is provided by: bzip2
/opt/local/lib/libcairo.2.dylib is provided by: cairo
/opt/local/lib/libcroco-0.6.3.dylib is provided by: libcroco
/opt/local/lib/libexpat.1.dylib is provided by: expat
/opt/local/lib/libffi.6.dylib is provided by: libffi
/opt/local/lib/libfontconfig.1.dylib is provided by: fontconfig
/opt/local/lib/libfreetype.6.dylib is provided by: freetype
/opt/local/lib/libgdk_pixbuf-2.0.0.dylib is provided by: gdk-pixbuf2
/opt/local/lib/libgio-2.0.0.dylib is provided by: glib2
/opt/local/lib/libglib-2.0.0.dylib is provided by: glib2
/opt/local/lib/libgmodule-2.0.0.dylib is provided by: glib2
/opt/local/lib/libgobject-2.0.0.dylib is provided by: glib2
/opt/local/lib/libgthread-2.0.0.dylib is provided by: glib2
/opt/local/lib/libharfbuzz.0.dylib is provided by: harfbuzz
/opt/local/lib/libiconv.2.dylib is provided by: libiconv
/opt/local/lib/libintl.8.dylib is provided by: gettext
/opt/local/lib/liblzma.5.dylib is provided by: xz
/opt/local/lib/libpango-1.0.0.dylib is provided by: pango
/opt/local/lib/libpangocairo-1.0.0.dylib is provided by: pango
/opt/local/lib/libpangoft2-1.0.0.dylib is provided by: pango
/opt/local/lib/libpixman-1.0.dylib is provided by: libpixman
/opt/local/lib/libpng15.15.dylib is provided by: libpng
/opt/local/lib/librsvg-2.2.dylib is provided by: librsvg
/opt/local/lib/libxcb-render.0.dylib is provided by: xorg-libxcb
/opt/local/lib/libxcb-shm.0.dylib is provided by: xorg-libxcb
/opt/local/lib/libxcb.1.dylib is provided by: xorg-libxcb
/opt/local/lib/libxml2.2.dylib is provided by: libxml2
/opt/local/lib/libz.1.dylib is provided by: zlib

I'm using +x11 btw:

Local-Admins-MacBook-Pro:MacPorts-fork ericgallager$ port installed librsvg
The following ports are currently installed:
  librsvg @2.36.4_2+universal+x11 (active)

comment:11 Changed 2 years ago by ryandesign (Ryan Schmidt)

Cc: seanfarley added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.