Opened 10 years ago

Last modified 10 years ago

#47532 new enhancement

imlib2 @ 1.4.6: introduce x11 variant

Reported by: mkae (Marko Käning) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: imlib2

Description

Thanks to Jeremy there is a proposal for making imlib2 build w/o X11.

Attachments (1)

imlib2.x11_variant.patch (1.2 KB) - added by mkae (Marko Käning) 10 years ago.
imlib2's Portfile including new x11 default variant

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by mkae (Marko Käning)

Attachment: imlib2.x11_variant.patch added

imlib2's Portfile including new x11 default variant

comment:1 Changed 10 years ago by mkae (Marko Käning)

Type: defectupdate

comment:2 Changed 10 years ago by jmroot (Joshua Root)

Type: updateenhancement

comment:3 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I think that what I said in email was maybe confusing. I meant this patch to be a starting point for you and not the solution. The issue is that the -x11 variant does build, but it still links against X11 libraries as can be seen by using otool -L.

It may be the case that this linkage is opportunistic (ie, it only links them if you have them installed but still builds correctly if they are not installed). Such opportunistic linkage is not legal and needs to be fixed before we can commit a change like this.

comment:4 Changed 10 years ago by mkae (Marko Käning)

OK, thanks for explaining this in detail, also in your ML response.

So, I guess this needs to get discussed with upstream then?

Note: See TracTickets for help on using tickets.