From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 17392198005 for ; Mon, 11 Mar 2013 22:28:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F171E056C; Mon, 11 Mar 2013 22:28:15 +0000 (UTC) Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com [209.85.214.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2173EE04EC for ; Mon, 11 Mar 2013 22:28:13 +0000 (UTC) Received: by mail-ob0-f170.google.com with SMTP id wc20so3894013obb.15 for ; Mon, 11 Mar 2013 15:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=Mj4yYWwUteVdj0lFBxDfy2Vr6z5vIzjn4Z91weCBE1o=; b=EWZLDXScpKDZAzPaiD6SVY6H/stRYIyMqMXJCR+GpWEpeDnd6zxwirBw51yV99oVor 0J0kLWNk08FRhStnpWwcksG1ryNdPjx5ZD17aIIKzRdcAEWkFCixl4LgkLKFgzxApzTL yd9hZHYhhW1DKx5m818rrj+zQs9PTiH+8dQ744C/7Pc3H+75uuEGP7CBkpEqIpjPA0/r uOM00Pcw0qSv3w3MbrpJ4z2xU30d7CaPVNpOSyFJcu/vJAvpfx8oQU1T9VUIM42Nafvv YIuIBjK8/lmrCWr4JGvILdNE52+kEbi7QD9la9PNVjcdJdNjNFPxyXzaMeM/lfAnECS/ LVkA== X-Received: by 10.60.2.132 with SMTP id 4mr10301884oeu.52.1363040893328; Mon, 11 Mar 2013 15:28:13 -0700 (PDT) Received: from linux1 (cpe-76-187-91-26.tx.res.rr.com. [76.187.91.26]) by mx.google.com with ESMTPS id x5sm19564028oeb.6.2013.03.11.15.28.09 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Mar 2013 15:28:11 -0700 (PDT) Sender: William Hubbs Received: by linux1 (sSMTP sendmail emulation); Mon, 11 Mar 2013 17:28:08 -0500 Date: Mon, 11 Mar 2013 17:28:08 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Cc: systemd@gentoo.org, ssuominen@gentoo.org Subject: Re: [gentoo-dev] rfc: patch systemd.eclass to use pkg-config if available Message-ID: <20130311222808.GA20379@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org, systemd@gentoo.org, ssuominen@gentoo.org References: <20130311211829.GA20220@linux1> 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-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: c0d245d0-3ce9-4677-9007-1ad699d23e73 X-Archives-Hash: ccf9d30e6dbb03f269853a2a24ed9a93 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 11, 2013 at 05:37:12PM -0400, Mike Gilbert wrote: > On Mon, Mar 11, 2013 at 5:18 PM, William Hubbs wrot= e: > > All, > > > > systemd, like udev, stores directory paths in a way that they can be > > queried from pkg-config. However, the systemd.eclass currently does not > > use this ability. > > > > The following patch models the systemd eclass after the udev eclass and > > leaves the current defaults in place if there is an issue with > > pkg-config. > > > > Any thoughts? > > > > William > > >=20 > What problem are you trying to solve here? >=20 > We already know the values that pkg-config will return, so I fail to > see the advantage of calling pkg-config in the eclass. >=20 > If we were to move the /usr/lib/systemd directory between two versions > of systemd, then yes, using pkg-config would be helpful. Until/unless > such a change occurs, I just don't see the point. The reason for this is a topic that Samuli and I want to discuss with the systemd team, probably on irc, but, basically, since gentoo does not have the /usr merge, we think parts of systemd which are in /usr should go in /, and this goes along with systemd upstream's recommendations as well (look at how the autogen.sh script in the systemd git repo works to see what I'm talking about). This would also allow udev and systemd to share the /lib/systemd directory, and we could install compatibility symlinks where necessary to not break users' systems. William --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlE+WngACgkQblQW9DDEZTjuGQCfUgo9V2TjCJqvUcMde7OBsdm9 wVgAn1eG9Kf2AQhXfJFORpgRhJTa1O0F =maWk -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--