Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2012 18:03:57 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Matthew Seaman <matthew@FreeBSD.org>
Cc:        Chris Rees <crees@FreeBSD.org>, freebsd-ports <freebsd-ports@FreeBSD.org>
Subject:   Re: [CFT] UNIQUENAME patches
Message-ID:  <20120616160356.GN98264@ithaqua.etoilebsd.net>
In-Reply-To: <4FDCAB02.2040701@FreeBSD.org>
References:  <4FD8AFEC.6070605@FreeBSD.org> <CADLo83-Pr5Qqa6oUFKmfbLuuDOCiDQoiLVvjPfvJ1fT8ou0h9g@mail.gmail.com> <4FDC9488.2010509@FreeBSD.org> <20120616145341.GK98264@ithaqua.etoilebsd.net> <4FDCAB02.2040701@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--7fwXp2o0gOrkU5lS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 16, 2012 at 04:49:22PM +0100, Matthew Seaman wrote:
> On 16/06/2012 15:53, Baptiste Daroussin wrote:
> > What could be added is a UNIQUENAMESUFFIX to be able to have a finer gr=
ain name.
>=20
> That's certainly possible, but I was thinking about your plans to create
> sub-packages.  As I understand it, you'll be building and installing
> each port into a staging area, and then creating a number of different
> packages from what's in the staging area.
>=20
> So for a port foo, you might create:
>=20
>     foo-0.99          --- the foo application and libfoo.so.0 shared
>                           library
>     foo-docs-0.99     --- documentation
>     foo-examples-0.99 --- example configurations etc.
>     foo-devlibs-0.99  --- *.h headers, libfoo.a static lib, profiling
>                           libs and other things useful for developers.
>=20
> and so forth.  So these are distinct packages all from one port with its
> own UNIQUENAME and hence all using that port's OPTIONS settings, and all
> built in one block.
>=20
> Having UNIQUENAMESUFFIX for docs, examples, devlibs etc. would imply all
> of those are entirely separate ports, like the way bacula and
> bacula-docs are handled at the moment.
>=20
> I can see there will need to be some sort of SUBPACKAGESUFFIXES variable
> and associated gubbins in the ports makefiles, to do that,
> plus something like tagging the entries in pkg-plist to identify which
> sub-package they should belong to.
>=20
> Trying to mix that with UNIQUENAMESUFFIXes would get pretty complicated.
> Not to mention the question of foo-devel -- is that the devel
> sub-package of the foo port, or a separate foo-devel port?[*]

Yes you are right

regards,
Bapt

--7fwXp2o0gOrkU5lS
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/crmwACgkQ8kTtMUmk6Ew0XwCfYNBZVYvAjscG3Xy2CN4Xlg1B
VtkAn1Y0CoKOaciRXmDWmKr2jLXyfGXE
=Ijl6
-----END PGP SIGNATURE-----

--7fwXp2o0gOrkU5lS--



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