Opened 4 years ago

Closed 4 years ago

#52354 closed enhancement (fixed)

links @2.12_1 update to 2.13 and fix dependencies / add variants

Reported by: lbschenkel (Leonardo Brondani Schenkel) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: links


I have upgrade Links to 2.13 and I have improved the Portfile. The previous versions had problems of opportunistic linking and requiring libjpeg and libpng even if graphics support was disabled. I have added two additional variants for TIFF and SVG support.

Attachments (1)

links.patch (2.4 KB) - added by lbschenkel (Leonardo Brondani Schenkel) 4 years ago.
patch to Portfile

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Keywords: haspatch added
Type: updateenhancement
Version: 2.3.4

Thank you for the patch. Since the variants do not apparently add any dependencies, why not always enable TIFF and SVG support? Even if they do add dependencies, I think they should be enabled always unless there is a license issue.

comment:2 Changed 4 years ago by lbschenkel (Leonardo Brondani Schenkel)

I am not sure of what you mean. +tiff requires libtiff and +svg requires librsvg. These two libraries were not declared as dependencies before (however, the port would erroneously link to them if +x11 was enabled). librsvg in particular will bring a large number of dependencies, and since most browsers don't support TIFF I thought it was a good idea to leave these two optional.

I noticed that my patch has a typo. I'm going to submit a new version.

Changed 4 years ago by lbschenkel (Leonardo Brondani Schenkel)

Attachment: links.patch added

patch to Portfile

comment:3 Changed 4 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks. I think the variants are fine.

comment:4 Changed 4 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed


I quoted the variant descriptions, and changed the libtiff dependency to tiff.

Note: See TracTickets for help on using tickets.