From owner-freebsd-ports@freebsd.org Fri Oct 14 11:27:30 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03CB8C11254 for ; Fri, 14 Oct 2016 11:27:30 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E6A7B04; Fri, 14 Oct 2016 11:27:29 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) Received: from yggdrasil.alkumuna.eu (unknown [IPv6:2a01:e35:8a74:6e70:232:36ff:fe5c:3a87]) by smtp1-g21.free.fr (Postfix) with ESMTPS id E0BC3B00539; Fri, 14 Oct 2016 13:27:09 +0200 (CEST) Received: from freedom.alkumuna.eu ([IPv6:2a01:e35:8a74:6e70:62a4:4cff:fe54:b212]) (authenticated bits=0) by yggdrasil.alkumuna.eu (8.15.2/8.15.2) with ESMTPSA id u9EBR5TA046694 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2016 13:27:08 +0200 (CEST) (envelope-from mazhe@alkumuna.eu) Date: Fri, 14 Oct 2016 13:27:00 +0200 From: Matthieu Volat To: David Demelier Cc: Baptiste Daroussin , Mathieu Arnold , Julian Elischer , Andrea Venturoli , "freebsd-ports@freebsd.org" Subject: Re: harder and harder to avoid pkg Message-ID: <20161014132700.493b78a6@freedom.alkumuna.eu> In-Reply-To: References: <638fe078-80db-2492-90be-f1280eb8d445@freebsd.org> <20161012092403.66a41d9e@freedom.alkumuna.eu> <00f3768e-f57a-661c-aa62-89cdf10926bd@netfence.it> <5a38b25d-2ac9-cd9b-0701-fbaad5af06c0@FreeBSD.org> <20161014092250.oyi6d5iks3s4pjol@ivaldir.etoilebsd.net> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/nG5r_QdVO/Fch9wglTrvQ.q"; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alkumuna.eu; s=dkim; t=1476444428; bh=TqFLm6CaL+HFDfTDTs9DVfug5sG9ZfDYKNV2mwrYTMc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type; b=rck2E84hRtCHshaRLTTOhsbtkfPo4C33D8+HtXv1+TPiN6TkFXzwLdDpEH8qX8Huc44ky4EpDXBXxThCvmfj4ss16mTtN2CHzdc4TkqXF7L0yinJXGaGUCAjZhGoWQOgKDPVVy3DMyjhGu/nTspkE553cG+S3o7yeIGWJPb1tow= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2016 11:27:30 -0000 --Sig_/nG5r_QdVO/Fch9wglTrvQ.q Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 14 Oct 2016 13:05:35 +0200 David Demelier wrote: > 2016-10-14 11:22 GMT+02:00 Baptiste Daroussin : > > It is imho doable in both sides. > > > > We could imagine tagging the plist/manifest so pkg can allow a user to = install > > only the things tagged as runtime for exemple which would do the job. f= or what > > Julian is asking for beside adding lots of complexity pkg(8) and adding= a > > nightmare in the solver. > > > > That would "please" the people that want "hey keep the giant flat packa= ge as it > > is better for dev given I don't have to install the -devel version some= thing" > > and the people wanting fine grain selection if they need to. > > > > But on the ports side that would be a nightmare having to tag all the p= list (and > > this cannot be automated because there are to many corner cases. >=20 > IIRC, rpm builders have script that automate this by finding files in > standard directories. Probably by checking in the stage a include/ > directory and "tag" it as the development part. Unless things changed very recently, not quite : you have to pile subpackag= e declaration and files sections according to the subpackages you create. T= he only things it has to ease the burden is you can use wildcard patterns t= o select files. > It will be the most smart way of doing this but still require some > addition to pkg. Probably like: >=20 > - pkg install mylib > - pkg install -t dev mylib > - pkg install -t runtime mylib > - pkg install -t dev,runtime,doc mylib >=20 > Just thinking ;) More options, then more options to `pkg info` to get what was installed whe= n something cannot build, then more pkg search options and manpage because = more "-t" flags will be added and we don't know what's needed? --=20 Matthieu Volat --Sig_/nG5r_QdVO/Fch9wglTrvQ.q Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEUEARECAAYFAlgAwQQACgkQ+ENDeYKZi37EwgCgtCXlui/VWoSdvAbyJdlrlc+E LHAAlA3ah80ie94Avdpk6nnI7MRS7Cw= =O9vf -----END PGP SIGNATURE----- --Sig_/nG5r_QdVO/Fch9wglTrvQ.q--