From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SpQZc-0006PS-TV for garchives@archives.gentoo.org; Thu, 12 Jul 2012 21:05:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7E9EE0730; Thu, 12 Jul 2012 21:05:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9D9C7E0486 for ; Thu, 12 Jul 2012 21:04:04 +0000 (UTC) Received: from pomiocik.lan (77-253-152-179.adsl.inetia.pl [77.253.152.179]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id C43301B40B5; Thu, 12 Jul 2012 21:04:02 +0000 (UTC) Date: Thu, 12 Jul 2012 23:04:05 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: ssuominen@gentoo.org Subject: Re: [gentoo-dev] rfc: udev-rules.eclass Message-ID: <20120712230405.18386d47@pomiocik.lan> In-Reply-To: <4FFF2C65.3080200@gentoo.org> References: <20120711191142.GA26844@linux1> <4FFF2C65.3080200@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/bDZiCfk=JdqJqqPmbNUXnLP"; protocol="application/pgp-signature" X-Archives-Salt: bc1dc14a-8323-47b4-b94a-06f7057255ed X-Archives-Hash: 4fb2d617c5177bf5df0ec259a94a9ae9 --Sig_/bDZiCfk=JdqJqqPmbNUXnLP Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 12 Jul 2012 22:58:29 +0300 Samuli Suominen wrote: > On 07/11/2012 10:11 PM, William Hubbs wrote: > > All, > > I am about to release udev-186-r1, which will move everything > > currently in /lib/udev to /usr/lib/udev. > > > > For packages that install udev rules in ${FILESDIR}, we need an > > eclass that tests the version of udev installed on the user's > > system and installs the udev rules in the proper place. I'm not > > sure how many packages do this, so if it is a very small number of > > packages, it may not be worth the eclass. It would be good to > > discuss that as well as reviewing the proposed eclass. > > > > Thanks, > > > > William > > >=20 > Please don't hardcode the path like this, use pkg-config instead: >=20 > inherit toolchain-funcs >=20 > dir=3D"$($(tc-getPKG_CONFIG) --variable=3Dudevdir udev)/rules.d" Don't forget to add udev to DEPEND of every package using the eclass then. Oh wait... --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/bDZiCfk=JdqJqqPmbNUXnLP Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iJwEAQEIAAYFAk//O8wACgkQfXuS5UK5QB2OJwP9FVGG1T74otKLMFi5NolOiI4l n94ziJgghrcq/vg64eQTvVqInvNuvQfm1F3ghQ7rWLgdLZgDvLixQaRqFRpruGFF RuntEDRa9sm4QU5wpPS7EUGRMi3ohCNLEgE6vg+glqjoWww85tn9cDoOqFAu9eeT /8NzFXi+kPJxfoU/zsw= =CxBg -----END PGP SIGNATURE----- --Sig_/bDZiCfk=JdqJqqPmbNUXnLP--