From owner-freebsd-gnome@FreeBSD.ORG Sat Feb 5 12:44:46 2011 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7E3F106566C for ; Sat, 5 Feb 2011 12:44:46 +0000 (UTC) (envelope-from roam@ringlet.net) Received: from praag.hoster.bg (praag.hoster.bg [77.77.142.10]) by mx1.freebsd.org (Postfix) with ESMTP id 394FC8FC08 for ; Sat, 5 Feb 2011 12:44:45 +0000 (UTC) Received: from middenheim.hoster.bg (middenheim.hoster.bg [77.77.142.11]) by praag.hoster.bg (Postfix) with ESMTP id B70798CA79 for ; Sat, 5 Feb 2011 14:26:56 +0200 (EET) Received: from straylight.ringlet.net (unknown [94.236.162.78]) (Authenticated sender: roam@hoster.bg) by mail.hoster.bg (Postfix) with ESMTP id 9DC435C98C for ; Sat, 5 Feb 2011 14:26:52 +0200 (EET) Received: from roam (uid 1000) (envelope-from roam@ringlet.net) id 50649f by straylight.ringlet.net (DragonFly Mail Agent) Sat, 05 Feb 2011 14:26:51 +0200 Date: Sat, 5 Feb 2011 14:26:51 +0200 From: Peter Pentchev To: Daniel O'Connor Message-ID: <20110205122651.GA3496@straylight.ringlet.net> References: <200912251137.43667.doconnor@gsoft.com.au> <200912252058.58879.doconnor@gsoft.com.au> <200912251244.46651.hselasky@c2i.net> <201001071454.47314.doconnor@gsoft.com.au> <7A41C2A4-8569-462F-9A39-E799623AF452@gsoft.com.au> <20110205053138.GC20095@server.vk2pj.dyndns.org> <41EB5AAB-ADE7-4241-82FA-6208B9CE5186@gsoft.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <41EB5AAB-ADE7-4241-82FA-6208B9CE5186@gsoft.com.au> User-Agent: Mutt/1.5.20 (2009-06-14) X-MailScanner-ID: 9DC435C98C.8E179 X-hoster-MailScanner: Found to be clean X-hoster-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.001, required 10, autolearn=disabled, UNPARSEABLE_RELAY 0.00) X-hoster-MailScanner-From: roam@ringlet.net X-hoster-MailScanner-To: gnome@freebsd.org X-Spam-Status: No Cc: gnome@freebsd.org, freebsd-usb@freebsd.org, Peter Jeremy Subject: Re: libusb-config missing? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2011 12:44:46 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 05, 2011 at 04:11:08PM +1030, Daniel O'Connor wrote: >=20 > On 05/02/2011, at 16:01, Peter Jeremy wrote: > >> On 07/01/2010, at 14:54, Daniel O'Connor wrote: > >>> One problem is that ports don't know which version to use, it would b= e nice=20 > >>> if they could just depend on devel/libusb and Magic Happened (tm) to = pick > >>> the correct thing. > >=20 > > The correct solution is 'USE_LIBUSB=3Dyes' with relevant magic in bsd.p= ort.mk > > Unfortunately this is unlikely to occur because it's only needed for 7.x > > which will be dying within the next few years. >=20 > USE_LIBUSB=3D would be nice, I will see if I can author such a thing.. >=20 > That said it is still desirable to have .pc files for libusb as I believe= that is the canonical way to determine how to compile & link against it. >=20 > If that is by making USE_LIBUSB adds a dep to a pseudo port which install= s the .pc files, or adds no dep because the .pc files are in base are prett= y much equivalent IMO. >=20 > >> What about if devel/pkgconfig is modified to search in /usr/libdata/pk= gconfig and systems with native libusb have entries in there? > >=20 > > Apart from libusb, are there any other apps in the base system that > > could reasonably install .pc files? >=20 > None come to mind.. Actually, at least OpenSSL comes to mind, although it currently doesn't. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org peter@packetscale.com PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 because I didn't think of a good beginning of it. --2oS5YaxWCcQjTEyO 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) iQIcBAEBCAAGBQJNTUIGAAoJEGUe77AlJ98TdR4P/2rkOT+oA6RSuk5SMH7C88Vz tlbVKfv9wESpWn3lr/H6ntbyrEA5Rh0CR94BQ2B4cnaVVqdmbuim09ZfD2HQg8dl O/oxzqkvKLUx3HZ6/eudGT0wiU4CD4euxdQRvt3vcbdzn8+qB8QuR2+gXGqlebgc J/xwf5gchhfv/tfZ9uaOWMkCK0RxetiKHMc0CQu6uLnnm+k/z5Cyop+NjiQjdhaP Q4z9FCm07QJqe3i+vVXzg+wDd5FLQFtEiVIXfiJhAeGJleFUV5m8ZQAZHNLiSb8h RtOPbWD+NSf42ybaS9IMeFFr2yOcpKBbNd05gRs/gpjFuC9BdmImw/Fl6H5wLCzz IfLxEoSd82HYq4I5vgz/NZHe8U1kcWEdhSy6VsFqjANFq6+xqvDEB+07/ofgb2uJ E/m9i+FsinDib1xCZZKdvTUJI8tjoTdJJJz0Tza+By70SSQAr+C3PoAW9wy3BLek mFNklgJlQABmKaBzmK6pjlB7l6rT9xFzVcjUcgeGNvPD6uOFbYGhBUJQ/SuvaIkU z63tK76EqddJQRe5PzIDKmOQ8YSrEj7AE6p8ZtZzrmpled9UTdS2D0/Pz0a/xmZY yTmZwX0JTnHXA9+23lnXuQ9qk2EFTAtp2g6gJCUT2SXY/PLA/7qqlEvJEF00A8DI k9zJ/ui4Z34BfYdf5ktu =ZdUr -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO--