On Sat, Oct 20, 2012 at 1:07 PM, Dominique Michel
<[email protected]> wrote:
> It is at least 20 window managers / desktops in gentoo that know
> nothing about sys-auth/polkit, or can be installed without it,
> including ROX, Razor-QT, XFCE, afterstep, *box, enlightenement, fluxbox,
> fvwm, fvwm-crystal and wmaker.

As you yourself mention it, most of them are *window managers*, not
*desktop environments*. Of the ones above that undoubtedly qualify as
desktop environments (like Xfce), they can (and do) use polkit, even
if it is configurable.

> But, and this is a big but, the 3 desktop profiles in portage depend on
> polkit.

Because they are desktop environments, not only window managers.

> A desktop profile that doesn't depend on polkit can be easily done from
> the desktop profile with the following USE changes:
>
>     USE="-consolekit -policykit -udisks -upower"
>
> Can such a desktop profile be incorporated in portage?

You can roll your own profile in /etc/portage/profile. Also, you can
set "-consolekit -policykit -udisks -upower" in
/etc/portage/make.conf.

The idea of the profiles (AFAIU), is to get a sensible set of defaults
for the *majority* of users. In the case of desktop users, this means
GNOME, KDE, and probably Xfce. You don't really need a profile per
every single window manager in the universe. You don't get a profile
for Emacs and another for vi. Hell, we systemd users don't have a
systemd profile (and honestly, I don't think we need it).

You don't want the kits? Mask them in /etc/portage/make.conf. Even
when I use the GNOME progile, that doesn't mask everything
KDE-related; I need to explicitly put "-kde -qt4" in my USE flags. I
don't think a gnome-only-and-please-exorcise-kde-and-qt-from-my-system
profile is necessary. Likewise,  I don't think a
desktop-but-please-dont-wanna-use-kits profiles is worth the inodes it
would waste.

My 0.02 ${CURRENCY}? Set your USE flag, like everyone else.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

Reply via email to