Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2010 01:11:25 +0300
From:      Ion-Mihai Tetcu <itetcu@FreeBSD.org>
To:        Ade Lovett <ade@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org, Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Subject:   Re: RFC: Mk/bsd.jpeg.mk to automagically handle jpeg dependency
Message-ID:  <20100617011125.6a285351@it.buh.tecnik93.com>
In-Reply-To: <372D79A4-91FB-43F2-9B43-A8FCC80FC004@FreeBSD.org>
References:  <20100616010957.85686.qmail@exxodus.fedaykin.here> <372D79A4-91FB-43F2-9B43-A8FCC80FC004@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/LY8CDfypkqAC/mcRA1BDZwm
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Wed, 16 Jun 2010 02:38:29 -0700
Ade Lovett <ade@FreeBSD.org> wrote:

>=20
> On Jun 15, 2010, at 18:09 , Mario Sergio Fujikawa Ferreira wrote:
>=20
> > Hi,
> >=20
> > 	Ever since the addition of graphics/libjpeg-turbo, I had
> > been wondering how one could possibly build the whole ports tree
> > with it instead of graphics/jpeg. I wanted the choice.
> >=20
> > 	Therefore, I wrote the attached bsd.jpeg.mk as a suggestion.
>=20
> I have other concerns, but the fundamental one is bsd.jpeg.mk is way
> too specific, and could easily lead to bsd.tiff.mk, bsd.gd.mk, etc..
> etc..
>=20
> You might want to consider abstracting it out a little further
> (compare with bsd.database.mk) to, say, bsd.graphics.mk
>=20
> It might then be possible to do weird and wonderful things like:
>=20
> USE_GRAPHICS=3D jpeg-turbo openexr gd tiff
>=20
> in ports Makefiles, and have them do the right thing, or at least
> offer up include and library paths, along with relevant *_DEPENDS
> additions.

Also, implementing at least min. versions for each depend is needed.

> It's a little more work in the short term, but there's plenty of
> existing Mk/* files to use as reference for parsing a possible
> USE_GRAPHICS stanza, and it is much more extensible.

My question is: do we really need this? We're at the point where in
order to make use of all macros, vars, etc. we have, one needs to work
daily on ports.=20


--=20
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B

--Sig_/LY8CDfypkqAC/mcRA1BDZwm
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iEYEARECAAYFAkwZTA4ACgkQJ7GIuiH/oeXNWQCggx7EcB0UgtCcFo5k4hPSUL4m
w7oAn3X7WcB1xsYSpIxgkmpyNufN3bwq
=0y/5
-----END PGP SIGNATURE-----

--Sig_/LY8CDfypkqAC/mcRA1BDZwm--



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