[Bug 274634] graphics/ImageMagick7: nox11 flavor pulls X11 dependencies

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Apr 2026 09:43:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274634

Andrew <andrew.hotlab@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #245786|maintainer-approval?(deskto |
              Flags|p@FreeBSD.org)              |
 Attachment #245786|0                           |1
        is obsolete|                            |

--- Comment #13 from Andrew <andrew.hotlab@hotmail.com> ---
Created attachment 269491
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269491&action=edit
Makefile with ffmpeg-nox11 support

(In reply to Poul-Henning Kamp from comment #12)
You're right but, since the FFMPEG option is not listed in OPTIONS_DEFAULT, I
do not know why the package in the official FreeBSD repository has those
dependencies. In fact in my custom built repo does not make you install them:

# freebsd-version
14.4-RELEASE-p1
# pkg install -r myrepo -n ImageMagick7-nox11 | grep -E 'lib|Number'
        giflib: 5.2.2 [myrepo]
        glib: 2.84.4,2 [myrepo]
        libdeflate: 1.25 [myrepo]
        libffi: 3.5.1 [myrepo]
        libfontenc: 1.1.8 [myrepo]
        libgd: 2.3.3_13,1 [myrepo]
        libheif: 1.19.8_6 [myrepo]
        libidn: 1.43 [myrepo]
        libinotify: 20240724_3 [myrepo]
        libjxl: 0.11.1_2 [myrepo]
        liblqr-1: 0.4.2 [myrepo]
        libltdl: 2.5.4 [myrepo]
        libpaper: 1.1.28_1 [myrepo]
        libraw: 0.21.5 [myrepo]
        libwmf-nox11: 0.2.13_2 [myrepo]
        libxml2: 2.14.6 [myrepo]
        libzip: 1.11.4 [myrepo]
Number of packages to be installed: 52

However the attached patch should fix the problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.