From owner-freebsd-ports@freebsd.org Thu Mar 14 07:52:25 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE21215347B2 for ; Thu, 14 Mar 2019 07:52:24 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7177569D8B for ; Thu, 14 Mar 2019 07:52:24 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 31A0115347AF; Thu, 14 Mar 2019 07:52:24 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C9B615347AE for ; Thu, 14 Mar 2019 07:52:24 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (mx-int.allbsd.org [IPv6:2001:2f0:104:e002::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.allbsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 69E5569D88; Thu, 14 Mar 2019 07:52:23 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail-d.allbsd.org (p2452109-ipngn10801funabasi.chiba.ocn.ne.jp [180.13.106.109]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id x2E7plGi049829 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) (Client CN "/CN=mail.allbsd.org", Issuer "/C=US/O=Let's+20Encrypt/CN=Let's+20Encrypt+20Authority+20X3"); Thu, 14 Mar 2019 16:52:08 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from alph.d.allbsd.org (alph.allbsd.org [192.168.0.10]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id x2E7phXj041115 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 14 Mar 2019 16:51:46 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [[UNIX: localhost]]) (authenticated bits=0) by alph.d.allbsd.org (8.15.2/8.15.2) with ESMTPA id x2E7oQUo041094; Thu, 14 Mar 2019 16:50:28 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Thu, 14 Mar 2019 16:50:18 +0900 (JST) Message-Id: <20190314.165018.2032001534188262193.hrs@allbsd.org> To: meta@FreeBSD.org Cc: ports@FreeBSD.org Subject: Re: loose dependency From: Hiroki Sato 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> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Thu_Mar_14_16_50_18_2019_517)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.6.2 (mail.allbsd.org [133.31.130.41]); Thu, 14 Mar 2019 16:52:15 +0900 (JST) X-Spam-Status: No, score=-97.4 required=13.0 tests=CONTENT_TYPE_PRESENT, QENCPTR1,UNPARSEABLE_RELAY,URIBL_SC2_SURBL,URIBL_XS_SURBL, USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mx.allbsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2019 07:52:25 -0000 ----Security_Multipart(Thu_Mar_14_16_50_18_2019_517)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Koichiro Iwao 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)----