Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2021 12:51:14 +0100
From:      "Tobias C. Berner" <tcberner@freebsd.org>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        "Tobias C. Berner" <tcberner@freebsd.org>, ports-committers <ports-committers@freebsd.org>,  dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org,  Baptiste Daroussin <bapt@freebsd.org>
Subject:   Re: git: 45526ecbeec3 - main - framework: Add new USES 'magick' for graphics/ImageMagick*
Message-ID:  <CAOshKteq2md10fc6jFZCNPgfSrjuze3ZHD6E268z6cXoLA3g0g@mail.gmail.com>
In-Reply-To: <YbnTHrWxYYkNRz1N@hades.panopticon>
References:  <202112111351.1BBDp91x095991@gitrepo.freebsd.org> <YbnTHrWxYYkNRz1N@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
Moin moin


On Wed, 15 Dec 2021 at 12:37, Dmitry Marakasov <amdmi3@amdmi3.ru> wrote:
>
> * Tobias C. Berner (tcberner@FreeBSD.org) wrote:
>
> > URL: https://cgit.FreeBSD.org/ports/commit/?id=45526ecbeec33dbb87f0b678d4c04988aab9b657
> >
> > commit 45526ecbeec33dbb87f0b678d4c04988aab9b657
> > Author:     Tobias C. Berner <tcberner@FreeBSD.org>
> > AuthorDate: 2021-10-30 18:08:16 +0000
> > Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
> > CommitDate: 2021-12-11 13:50:53 +0000
> >
> >     framework: Add new USES 'magick' for graphics/ImageMagick*
>
> It's great that someone finally decided to unify imagemagick
> version handling, however as it is now it's a huge pessimization
> and I'm rolling it back for my ports.
>
> The problem is that ports which depend just on e.g. convert utility
> built with any version and flavor of imagemagick before, but now these
> require specific version and cause conflicts.
>
> Please rollback all cases which depend on utilities, e.g.
>
> {BUILD,RUN}_DEPENDS={convert,montage,identify,...}:graphics/ImageMagick*


You can already depend on any version (i.e. the default) by not
specifying the version -- ports that explicitly only require the
binaries should be using
USES=magick:run resp USES=magick:build,run
So they pull in what the user specified as IMAGEMAGIC_DEFAULT-version.



mfg Tobias

>
> or provide a way to depend on *any* version of imagemagick in the
> framework.
>
> >     A new USES has been added to depend on ImageMagick.
> >
> >             USES=magick
> >
> >     adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.
> >
> >     If a specific version is required, use for example
> >
> >             USES=magick:6        resp.     USES=magick:7
> >
> >     If only a build, run or test is required, use for example
> >
> >             USES=magick:build    resp.     USES=magick:6,build,test
> >
> >     If a dependency on the nox11 flavor is required, use for example
> >
> >             USES=magick:nox11    resp.     USES=magick:7,nox11,run,test
> >
> >     See magick.mk for more details on the available flags.
> >
> >     The tree has been completely converted to make use of this.
> >
> >     Approved by:    bapt
> >     Differential Revision: https://reviews.freebsd.org/D32754
>
> --
> Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
> amdmi3@amdmi3.ru  ..:     https://github.com/AMDmi3  https://amdmi3.ru
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOshKteq2md10fc6jFZCNPgfSrjuze3ZHD6E268z6cXoLA3g0g>