Date: Fri, 14 Oct 2016 13:05:35 +0200 From: David Demelier <demelier.david@gmail.com> To: Baptiste Daroussin <bapt@freebsd.org> Cc: Mathieu Arnold <mat@freebsd.org>, Julian Elischer <julian@freebsd.org>, Andrea Venturoli <ml@netfence.it>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>, Matthieu Volat <mazhe@alkumuna.eu> Subject: Re: harder and harder to avoid pkg Message-ID: <CAO%2BPfDcAnxDMMYHiUUtfictk7m3mYRr9MRqdWChG4Yk2ieVrUA@mail.gmail.com> In-Reply-To: <20161014092250.oyi6d5iks3s4pjol@ivaldir.etoilebsd.net> References: <638fe078-80db-2492-90be-f1280eb8d445@freebsd.org> <20161012092403.66a41d9e@freedom.alkumuna.eu> <00f3768e-f57a-661c-aa62-89cdf10926bd@netfence.it> <CAO%2BPfDfLtw6OjPvrMC5hzfEL1CH7wyLZ0=RQstqZrRmOmk5pxA@mail.gmail.com> <a8a151c8-9f44-f057-4d16-675924229cbe@freebsd.org> <5a38b25d-2ac9-cd9b-0701-fbaad5af06c0@FreeBSD.org> <20161014092250.oyi6d5iks3s4pjol@ivaldir.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
2016-10-14 11:22 GMT+02:00 Baptiste Daroussin <bapt@freebsd.org>: > 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. for 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 package as it > is better for dev given I don't have to install the -devel version something" > 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 plist (and > this cannot be automated because there are to many corner cases. 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. It will be the most smart way of doing this but still require some addition to pkg. Probably like: - pkg install mylib - pkg install -t dev mylib - pkg install -t runtime mylib - pkg install -t dev,runtime,doc mylib Just thinking ;) -- Demelier David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO%2BPfDcAnxDMMYHiUUtfictk7m3mYRr9MRqdWChG4Yk2ieVrUA>