Bug 278557 - graphics/vips: add nox11 flavor
Summary: graphics/vips: add nox11 flavor
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-23 17:50 UTC by wolfgang
Modified: 2024-05-27 10:50 UTC (History)
1 user (show)

See Also:
wolfgang: maintainer-feedback-


Attachments
patch to add nox11-flavor to Makefile (1.15 KB, patch)
2024-04-23 17:50 UTC, wolfgang
no flags Details | Diff
updated patch for graphics/vips Makefile (1.15 KB, patch)
2024-05-14 10:53 UTC, wolfgang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wolfgang 2024-04-23 17:50:01 UTC
Created attachment 250188 [details]
patch to add nox11-flavor to Makefile

The attached patch adds a nox11 flavor to vips that makes it link with the nox11 flavor of ImageMagick.
Comment 1 wolfgang 2024-05-14 10:53:17 UTC
Created attachment 250646 [details]
updated patch for graphics/vips Makefile

Updated patch to match the current version of graphics/vips in main branch.
This patch adds a nox11 flavor to graphics/vips which then links against the nox11 flavor of graphics/ImageMagick[67].
Comment 2 wolfgang 2024-05-14 15:46:26 UTC
There has been no maintainer-feedback on this issue yet. Maybe because I opened this PR immediately before another update of graphics/vips was committed, it was overlooked? I have a few more issues in the queue that depend on this one, and I would like to get all this issues done in time for 2024Q3.
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-05-15 02:12:16 UTC
If you want to use ImageMagick[67]-nox11, you could add DEFAULT_VERSIONS+=imagemagick=6-nox11 or DEFAULT_VERSIONS+=imagemagick=7-nox11 to /etc/make.conf. I use the latter on my box.
Comment 4 wolfgang 2024-05-16 14:15:25 UTC
I could of course manually build the nox11-variant by overriding the DEFAULT_VERSIONS entry. However, I use poudriere to build about 2000 ports for many machines, and I do so in three sets with different DEFAULT_VERSIONS. Doubling this to have both a x11 and a nox11 variant would add about a day to my build times and I would prefer to avoid this :-)
Comment 5 wolfgang 2024-05-27 10:02:52 UTC
Hi,
any chance to go forward with this? I would like to add a X11 option to graphics/pecl-vips, but that change depends on this one here.
Greetings,
Wolfgang