Created attachment 221170 [details] Add possibility to use ImageMagick 7 if BRAILLE build option is on Tested on 12.2 amd64: check-plist, build, run.
Something wrong with patch?
Maintainer timeout?
maintainer timeout
A better solution I think would be to add IMAGEMAGICK_DEFAULT to Mk/bsd.default-versions.mk so the dependency can be declared using convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.
(In reply to Tijl Coosemans from comment #4) This is a good idea, but who can implement it? Is it require USES=imagemagick support too?
Created attachment 221767 [details] Add IMAGEMAGICK_DEFAULT version Did you said about this?
Tijl Coosemans, check plz patch: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221767&action=diff
A commit references this bug: Author: tijl Date: Thu Feb 11 17:16:29 UTC 2021 New revision: 564968 URL: https://svnweb.freebsd.org/changeset/ports/564968 Log: Introduce ImageMagick default version and use it in print/cups-filters. The different versions of ImageMagick in the ports tree all conflict with each other and some ports can depend on either of them so it's a perfect candidate for the default-versions framework. PR: 252335 Submitted by: VVD <vvd@unislabs.com> Changes: head/Mk/bsd.default-versions.mk head/print/cups-filters/Makefile
Apologies for the delays.
Ports (I'm using) need to be updated for respect IMAGEMAGICK_DEFAULT: graphics/pecl-imagick + graphics/pecl-imagick-im7 graphics/rubygem-mini_magick graphics/zbar multimedia/libopenshot multimedia/lives - my port multimedia/libxine - I'll create patch
multimedia/lives: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253442 multimedia/libxine: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253443
(In reply to Tijl Coosemans from comment #4) (In reply to VVD from comment #10) multimedia/libopenshot needs LIB_DEPENDS. In that case, should I write the following? LIB_DEPENDS= libMagick++-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} Doesn't it have to be LIB_DEPENDS as long as a properly linked binary is created? Such that the result of the following command will be correct. pkg info -B py37-libopenshot
(In reply to Tatsuki Makino from comment #12) Yes. Work fine for other ports: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222376&action=diff https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222377&action=diff graphics/zbar: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253444
(In reply to Tatsuki Makino from comment #12) Yes, that LIB_DEPENDS line looks correct. LIB_DEPENDS is converted to BUILD_DEPENDS+RUN_DEPENDS rather early. It does not affect package builds. The libraries linked into binaries are determined by the upstream build system. The output of pkg info is derived from scanning the binaries.