From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-85337-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 0E6FA138334
	for <garchives@archives.gentoo.org>; Fri, 20 Jul 2018 07:37:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B3AD6E0A6D;
	Fri, 20 Jul 2018 07:37:41 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 37DE4E09E5
	for <gentoo-dev@lists.gentoo.org>; Fri, 20 Jul 2018 07:37:40 +0000 (UTC)
Received: from mail-it0-f52.google.com (mail-it0-f52.google.com [209.85.214.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: mattst88)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 68C34335CA0
	for <gentoo-dev@lists.gentoo.org>; Fri, 20 Jul 2018 07:37:39 +0000 (UTC)
Received: by mail-it0-f52.google.com with SMTP id p17-v6so13410192itc.2
        for <gentoo-dev@lists.gentoo.org>; Fri, 20 Jul 2018 00:37:39 -0700 (PDT)
X-Gm-Message-State: AOUpUlG22qXo7nIy+OHjXhyvrYT0ZauxZx9A6yo92Q+Y1sKJYVfqoz/+
	WXzzFk2QIzLfPpRVMS5VYg5Xly2n6vhJsgp8YRg=
X-Google-Smtp-Source: AAOMgpfPFRITExDONekvRz1jooxmJDgcCwFhq88jQYaaO0k7ZuqAMaBHRmL944bE85mo8tt2L8pMVRg3lI4YQA4Ug3g=
X-Received: by 2002:a02:cd2:: with SMTP id 79-v6mr802749jan.100.1532072257500;
 Fri, 20 Jul 2018 00:37:37 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 2002:a02:7126:0:0:0:0:0 with HTTP; Fri, 20 Jul 2018 00:37:17
 -0700 (PDT)
In-Reply-To: <f8b6dd89-e1b3-1323-e6f7-8aaec01c5113@gentoo.org>
References: <f965bc43-e3c1-912a-3a2c-c657a0b73e1b@gentoo.org> <f8b6dd89-e1b3-1323-e6f7-8aaec01c5113@gentoo.org>
From: Matt Turner <mattst88@gentoo.org>
Date: Fri, 20 Jul 2018 00:37:17 -0700
X-Gmail-Original-Message-ID: <CAEdQ38FhJ8-c73k0kojLr2SGe1y0MaFv=4PVhWWfjZjrrDUqHg@mail.gmail.com>
Message-ID: <CAEdQ38FhJ8-c73k0kojLr2SGe1y0MaFv=4PVhWWfjZjrrDUqHg@mail.gmail.com>
Subject: Re: [gentoo-dev] Adding USE=udev to linux profiles
To: gentoo development <gentoo-dev@lists.gentoo.org>
Content-Type: text/plain; charset="UTF-8"
X-Archives-Salt: cab2b910-c666-4cc0-9786-85bddc4a96aa
X-Archives-Hash: 8f6ebcb0fcd4d7e35e983c9fc6ac1f20

On Thu, Jul 19, 2018 at 3:00 PM, Michael Orlitzky <mjo@gentoo.org> wrote:
> On 07/19/2018 05:51 PM, Ben Kohler wrote:
>> Hello,
>>
>> I'd like to propose adding USE=udev to our linux profiles (in
>> profiles/default/linux/make.defaults probably).  This flag is already
>> enabled on desktop profiles but it also affects quite a few packages
>> used on non-desktop linux systems.
>>
>> ...
>>
>> Any objections to this idea?
>>
>
> Please add defaults per-package, only where they make sense. Enabling
> flags globally creates a huge headache for people that want them off.
>
> If I want to undo your new flag, I have to set USE="-udev" globally, and
> that clobbers any important per-package defaults that maintainers have set.

I understand the concern at least in theory. But can you please give
me a concrete example of a package where you don't want USE=udev and
another example of a package where you do?

Grepping the tree, I see the following packages pulled in with
USE=udev predominantly:

virtual/libudev
virtual/libgudev
virtual/udev

A few others have some additional dependencies enabled with USE=udev:

app-emulation/libvirt: x11-libs/libpciaccess
dev-qt/qtgui/qtgui: sys-kernel/linux-headers
gnome-base/gnome-desktop: sys-apps/hwids
media-gfx/iscan-data: dev-libs/libxslt, media-gfx/sane-backends
sys-auth/consolekit: x11-libs/libdrm
sys-fs/dosfstools: virtual/pkgconfig


What dependency are you trying to avoid? Or is it just a design issue?