Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565640 - Feature: new profile combine desktop with systemd
Summary: Feature: new profile combine desktop with systemd
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 03:21 UTC by Nicholas Yim
Modified: 2019-11-04 21:35 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Yim 2015-11-13 03:21:00 UTC
Would please add a profile combine desktop with systemd:
 [*]   default/linux/amd64/13.0/desktop/systemd

I install plasma/systemd in my laptop, excellent!
I have installed gentoo on a old machine, using systemd and xfce4.
I chose systemd profile, turn out that lots of use flags are missing for desktop enviroment

head of current profiles:

  [1]   default/linux/amd64/13.0
  [2]   default/linux/amd64/13.0/selinux
  [3]   default/linux/amd64/13.0/desktop
  [4]   default/linux/amd64/13.0/desktop/gnome
  [5]   default/linux/amd64/13.0/desktop/gnome/systemd
  [6]   default/linux/amd64/13.0/desktop/kde
  [7]   default/linux/amd64/13.0/desktop/kde/systemd
  [8]   default/linux/amd64/13.0/desktop/plasma
  [9]   default/linux/amd64/13.0/desktop/plasma/systemd *
  [10]  default/linux/amd64/13.0/developer
  [11]  default/linux/amd64/13.0/no-multilib
  [12]  default/linux/amd64/13.0/systemd

Gentoo is about choices, adding the profile, for easily choosing.

Thanks!
Comment 1 Till Schäfer 2018-02-03 23:14:26 UTC
I have run into the same problem today.. (thus, this bug is still valid)
Comment 2 Sebastian Pucilowski 2019-11-02 02:54:43 UTC
I've run into this today as well. I'd like to use a systemd desktop, but not gnome. Something like:

default/linux/amd64/17.1/desktop/systemd

Nearest option is:

default/linux/amd64/17.1/desktop/gnome/systemd

which includes a lot of gnome cruft.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-11-02 07:58:42 UTC
...or we could finally stop creating useless profiles, remove existing systemd profiles and teach people that they can set USE=systemd without magical tooling.
Comment 4 Richard Freeman gentoo-dev 2019-11-02 19:29:52 UTC
(In reply to Michał Górny from comment #3)
> ...or we could finally stop creating useless profiles, remove existing
> systemd profiles and teach people that they can set USE=systemd without
> magical tooling.

If that is all the systemd profile does, then why do we have 61 lines of config in targets/systemd?

Granted, a few things in there are more relevant for building stages and not as applicable to installed systems, but the bulk seems to be tweaks so that users don't keep running into the same bugs with misc packages, and to aid dependency resolution...
Comment 5 Aidan Harris 2019-11-03 20:48:26 UTC
This is an ugly workaround (compared to using a dedicated desktop profile) but if you only care about the desktop useflags you can do what I did and create a symlink pointing to `/var/db/repos/gentoo/profiles/targets/desktop/package.use`.

I have a symlink at `/etc/portage/package.use/@desktop` pointing to `/var/db/repos/gentoo/profiles/targets/desktop/package.use` which gets merged with all of the other files/folders in `/etc/portage/package.use`.
Comment 6 Sebastian Pucilowski 2019-11-04 21:35:04 UTC
Thanks, that ugly hack worked for me.