Opened 12 years ago

Closed 12 years ago

#35954 closed defect (fixed)

librsvg: opportunistically links with gtk2 and gtk3

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: librsvg

Description

librsvg does not have a dependency on gtk2 or gtk3 but it will try to use them if they're installed. As an example of this, on my system a rebuild of librsvg failed as in the attached log (because I'm building librsvg universal but gtk3 is not built universal because of #35944).

Attachments (2)

main.log (101.6 KB) - added by ryandesign (Ryan Carsten Schmidt) 12 years ago.
patch-librsvg-disable-GTK+.diff (1.8 KB) - added by pixilla (Bradley Giesbrecht) 12 years ago.
Quick hack to test.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

Changed 12 years ago by pixilla (Bradley Giesbrecht)

Quick hack to test.

comment:1 Changed 12 years ago by pixilla (Bradley Giesbrecht)

I cannot find where configure can be told to not look for GTK+. My quick hack patch hard codes configure as if it had not found GTK+.

I have only tested that the build files did not pick up GTK+.

If someone can test the patch now, great. It will be a little later before I can do anything more.

comment:2 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Has duplicate #35961

comment:3 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r97616

I did a quick svg2pdf test with this patch with no issues.

Note: See TracTickets for help on using tickets.