Date: Thu, 14 Mar 2019 16:50:18 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: meta@FreeBSD.org Cc: ports@FreeBSD.org Subject: Re: loose dependency Message-ID: <20190314.165018.2032001534188262193.hrs@allbsd.org> In-Reply-To: <20190314062217.3wx3h2hp74mo3zja@icepick.vmeta.jp> References: <20190314.134014.2127053084940820202.hrs@allbsd.org> <20190314061242.ixvtakqiel4aa4r3@icepick.vmeta.jp> <20190314062217.3wx3h2hp74mo3zja@icepick.vmeta.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Thu_Mar_14_16_50_18_2019_517)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Koichiro Iwao <meta@FreeBSD.org> wrote in <20190314062217.3wx3h2hp74mo3zja@icepick.vmeta.jp>: me> On Thu, Mar 14, 2019 at 03:12:43PM +0900, Koichiro Iwao wrote: me> > On Thu, Mar 14, 2019 at 01:40:14PM +0900, Hiroki Sato wrote: me> > > There is no easy solution to solve it completely because currently me> > > package dependency is solved in a strict manner including package me> > > names and version numbers, not only existence of specific files. me> > > Creating multiple ports which depend on each software or using me> > > FLAVORS to make it easier is a way to provide packages with every me> > > possible combinations of dependency and let one to choose. me> > me> > Specifically talking, net/tigervnc is the case. Actually, the dependency me> > is build dependency not runtime. ImageMagick is used to create multiple me> > sizes of icons such as 24x24, 32x32, 48x48 during the build. Whichever me> > versions of ImageMagick in the current ports tree can be used for the me> > purpose. Once the port is built, ImageMagick is not required at all and me> > can be uninstalled if no other packages depends on it. me> > me> > I think FLAVORS does not fit such case. Creating me> > net/tigervnc@ImageMagick[67] sounds me stupid. But If I specify IM6, me> > IM7 users cannot build net/tigervnc due to ImageMagick conflict and me> > vise cersa. me> > me> > I'm stuck :( me> me> BTW, what about this idea? me> me> I prepare pre-converted icons and put it to public_distfiles. The port me> fetches it as EXTRA_DIST. It still sounds me a little bit stupid but me> I can remove the dependency on ImageMagick from the port... That is a workaround while increasing maintenance cost. It is at the maintainer's discretion. -- Hiroki ----Security_Multipart(Thu_Mar_14_16_50_18_2019_517)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iEYEABECAAYFAlyKB7oACgkQTyzT2CeTzy2WpgCg04aizS8eBhiK2LkIVlUtM+By GxAAn0tuYTJsuqLGWqPb6n345oHkUiDD =qedo -----END PGP SIGNATURE----- ----Security_Multipart(Thu_Mar_14_16_50_18_2019_517)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190314.165018.2032001534188262193.hrs>