From owner-freebsd-ports@FreeBSD.ORG Wed Jun 16 08:57:04 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1A47106564A for ; Wed, 16 Jun 2010 08:57:04 +0000 (UTC) (envelope-from roam@ringlet.net) Received: from erengrad.hoster.bg (erengrad.hoster.bg [77.77.142.9]) by mx1.freebsd.org (Postfix) with ESMTP id 1C0DA8FC15 for ; Wed, 16 Jun 2010 08:57:03 +0000 (UTC) Received: from middenheim.hoster.bg (middenheim.hoster.bg [77.77.142.11]) by erengrad.hoster.bg (Postfix) with ESMTP id 4C8AEDC1E9 for ; Wed, 16 Jun 2010 11:57:01 +0300 (EEST) Received: from straylight.ringlet.net (office.hoster.bg [78.90.131.77]) (Authenticated sender: roam@hoster.bg) by mail.hoster.bg (Postfix) with ESMTP id 906275C233 for ; Wed, 16 Jun 2010 11:56:54 +0300 (EEST) Received: from roam (uid 1000) (envelope-from roam@ringlet.net) id 41610a by straylight.ringlet.net (DragonFly Mail Agent) Wed, 16 Jun 2010 11:56:18 +0300 Date: Wed, 16 Jun 2010 11:56:18 +0300 From: Peter Pentchev To: Mario Sergio Fujikawa Ferreira Message-ID: <20100616085618.GA9538@straylight.ringlet.net> Mail-Followup-To: Mario Sergio Fujikawa Ferreira , freebsd-ports@FreeBSD.org, bytestore@yandex.ru References: <20100616010957.85686.qmail@exxodus.fedaykin.here> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <20100616010957.85686.qmail@exxodus.fedaykin.here> User-Agent: Mutt/1.5.20 (2009-06-14) X-MailScanner-ID: 906275C233.804D0 X-hoster-MailScanner: Found to be clean X-hoster-MailScanner-SpamCheck: not spam, SpamAssassin (cached, score=0.001, required 10, autolearn=disabled, UNPARSEABLE_RELAY 0.00) X-hoster-MailScanner-From: roam@ringlet.net X-hoster-MailScanner-To: freebsd-ports@freebsd.org X-Spam-Status: No Cc: bytestore@yandex.ru, freebsd-ports@FreeBSD.org Subject: Re: RFC: Mk/bsd.jpeg.mk to automagically handle jpeg dependency X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2010 08:57:04 -0000 --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--