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.60) (envelope-from ) id 1QjZmm-0005z0-A4 for garchives@archives.gentoo.org; Wed, 20 Jul 2011 16:38:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AC6021C55F; Wed, 20 Jul 2011 16:38:03 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 49EB021C557 for ; Wed, 20 Jul 2011 16:37:02 +0000 (UTC) Received: by wyh22 with SMTP id 22so372843wyh.40 for ; Wed, 20 Jul 2011 09:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:content-type; bh=mqS49fuJ5Sr5tGf8i444kjW4z6AkJa+NA3Wsb/cJj4w=; b=pSMZUu5zD61I29tFWtckM/CFObnaDPWseHfkGQjUYY6UhaES+gVlcHlYAXeAQaq7NI mTkg50LpTFumox1IWAnB/upT3LD43NnezNiZauRNGXzgU7rJdnjQ5DG/cXMu8tC5jXRz WO9EI9lC2K90vumV0YPS1cJtPJX3yLekVgSmc= Received: by 10.216.136.160 with SMTP id w32mr846332wei.30.1311179822387; Wed, 20 Jul 2011 09:37:02 -0700 (PDT) Received: from nazgul.localnet (196-215-57-66.dynamic.isadsl.co.za [196.215.57.66]) by mx.google.com with ESMTPS id w62sm280153wec.42.2011.07.20.09.37.00 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jul 2011 09:37:01 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: evdev broken? Date: Wed, 20 Jul 2011 18:36:17 +0200 Message-ID: <3196992.1ruWGEJHkf@nazgul> User-Agent: KMail/4.6.1 (Linux/2.6.39-ck-r1; KDE/4.6.5; x86_64; ; ) In-Reply-To: References: <201107200705.20857.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-Archives-Salt: X-Archives-Hash: 83803a10a469951277daedf6af28698a On Wednesday 20 July 2011 14:16:06 Grant Edwards did opine thusly: > On 2011-07-20, Mick wrote: > > Every time after you emerge xorg you're meant to remerge its > > drivers (evdev being one of them). Usually there is some elog > > message telling you to run > > > > qfile to find what is need to be reinstalled: > > qlist -I -C x11-drivers/ > > I've always wondered why, if portage knows that has to be done, > can't portage just go ahead and do it? Actually not. Portage doesn't know it has to be done, the ebuild dev knows and stuck a literal message in one of the post_() functions. To do what you mention, the driver would have to depend on xorg, but in fact xorg-server depends on the xorg-drivers meta package, which in turn depends on the drivers defined in USE. In theory, one could use PDEPEND I suppose, but I also suspect that would cause circular dependencies. The other option is to put an emerge call in pkg_postinst() but that would be heavily frowned upon as - it's a highly unusual solution and just an ugly hack - it wreaks the dep graph that emerge generates - stuff will get emerged that isn't visible at the beginning - portage can't definitively tell you before you start that the drivers will be remerged -- alan dot mckinnon at gmail dot com