Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2019 15:22:17 +0900
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: loose dependency
Message-ID:  <20190314062217.3wx3h2hp74mo3zja@icepick.vmeta.jp>
In-Reply-To: <20190314061242.ixvtakqiel4aa4r3@icepick.vmeta.jp>
References:  <20190314031726.aaspgwdcuithhgnc@icepick.vmeta.jp> <20190314.134014.2127053084940820202.hrs@allbsd.org> <20190314061242.ixvtakqiel4aa4r3@icepick.vmeta.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 14, 2019 at 03:12:43PM +0900, Koichiro Iwao wrote:
> On Thu, Mar 14, 2019 at 01:40:14PM +0900, Hiroki Sato wrote:
> >  There is no easy solution to solve it completely because currently
> >  package dependency is solved in a strict manner including package
> >  names and version numbers, not only existence of specific files.
> >  Creating multiple ports which depend on each software or using
> >  FLAVORS to make it easier is a way to provide packages with every
> >  possible combinations of dependency and let one to choose.
> 
> Specifically talking, net/tigervnc is the case. Actually, the dependency
> is build dependency not runtime. ImageMagick is used to create multiple
> sizes of icons such as 24x24, 32x32, 48x48 during the build. Whichever
> versions of ImageMagick in the current ports tree can be used for the
> purpose. Once the port is built, ImageMagick is not required at all and
> can be uninstalled if no other packages depends on it.
> 
> I think FLAVORS does not fit such case. Creating
> net/tigervnc@ImageMagick[67] sounds me stupid. But If I specify IM6,
> IM7 users cannot build net/tigervnc due to ImageMagick conflict and
> vise cersa.
> 
> I'm stuck :(

BTW, what about this idea?

I prepare pre-converted icons and put it to public_distfiles. The port
fetches it as EXTRA_DIST.  It still sounds me a little bit stupid but
I can remove the dependency on ImageMagick from the port...

-- 
meta <meta@FreeBSD.org>



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