Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2010 11:56:18 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Cc:        bytestore@yandex.ru, freebsd-ports@FreeBSD.org
Subject:   Re: RFC: Mk/bsd.jpeg.mk to automagically handle jpeg dependency
Message-ID:  <20100616085618.GA9538@straylight.ringlet.net>
In-Reply-To: <20100616010957.85686.qmail@exxodus.fedaykin.here>
References:  <20100616010957.85686.qmail@exxodus.fedaykin.here>

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

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

On Tue, Jun 15, 2010 at 10:09:57PM -0300, Mario Sergio Fujikawa Ferreira wr=
ote:
> 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
> 	With it, we just add
>=20
> USE_JPEG=3D	yes
>=20
> to any port that requires a jpeg library (either a build or a link
> dependency).

Sounds great!  Thanks for your work!  Just one small worry, see below...

> 	It will automagically detected the already installed jpeg
> port variant (libjpeg-turbo or jpeg) and depend on it. If the user prefer=
s to set the variant, he can do so using
>=20
> WITH_JPEG=3D	jpeg
>=20
> or
>=20
> WITH_JPEG=3D	libjpeg-turbo

Is it possible that this will conflict with ports that have a JPEG item
in their OPTIONS list?  There are at least the astro/xplanet, editors/emacs,
graphics/devil, graphics/gdal, graphics/gegl, graphics/grx, graphics/imlib2,
graphics/ocaml-images, graphics/opencv, graphics/podofo, graphics/tumbler,
mail/spamprobe, math/R, multimedia/gmerlin, multimedia/gpac-libgpac,
multimedia/libquicktime, multimedia/spook, multimedia/transcode, x11/aterm,
x11-fm/thunar, x11/mrxvt-devel, and x11-wm/jwm ports that do that, and
there might be more that a simple fgrep -le WITH_JPEG -e WITHOUT_JPEG did
not catch.

G'luck,
Peter

--=20
Peter Pentchev	roam@space.bg    roam@ringlet.net    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553

--YiEDa0DAkWCtVeE4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCgAGBQJMGJGoAAoJEGUe77AlJ98TfTQP/j+sKxU5Djih2Is8RKikrJNp
Yc9050GdHkWvb+g39ezHgX+ef9F/N9rAw/UiuWW2GVKSuzVqyU3MpWtH4pl4tiQe
yXJs/NDAbMxaIApS45Au5gBIyb3g67xI37sQyHhgA9c9mmg0nIJWmPB/HfpNos0C
X8nCFCuFd5AmouJGV2S4u1tZsJuCKFRcvAm07msCPUhh9xwd5SZbA4lF/k/u89Jv
d/nnF40S6onFeVxCkASQA+jECJVQFqUrEGiypCrWLP1iRC5kbskKBmwhqLtzF2xJ
de6yN+Q6botgWEAbs12OU/Z204X3lGWdIFPNuO/nRD6pivH1+/tPI9nScy4ieyFv
O/V4uiR/J5wI2F2AnJPNXGsZuCJGAdS8YSbffhI2FTje+qYCIW+fAQ4ciIZ4d6A+
HJsk0RUCGD/gDYFvhbN1ogXJeQwfZ5kUlQDASNrAZB7KNWFDmM2B+F7grQ6vRS0I
dH8LjBk6DeHXEy/J6MwjMjPTtMdasq+29cjlgT/stKnO6y1TWzElZVJAudKrHqV4
TTGO+lpOc/hAJuIsIrGUS0JViNV4MAqGNjLkUYurY6xi834h/ZdkQO6gl3W3VeQj
1rEo1GrluPAohOHKDvz3GGSvcihB44BkQoY/FIVYjS/AsZ9Y5rMQrhephLwu0bp1
mzVZySsUa/kkNuFoZZoO
=vGdY
-----END PGP SIGNATURE-----

--YiEDa0DAkWCtVeE4--



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