profiles: add linux/amd64/17.1/desktop/elogind
This is provided as a fix for the default desktop profile on Gentoo, which uses consolekit instead of elogind. This should avoid a lot of flag shuffling to get a modern setup without consolekit and no forced desktop environment while using OpenRC
This commit is contained in:
parent
8e347f04ce
commit
deeebe54c7
1
profiles/local/linux/amd64/17.1/desktop/eapi
Normal file
1
profiles/local/linux/amd64/17.1/desktop/eapi
Normal file
@ -0,0 +1 @@
|
||||
5
|
1
profiles/local/linux/amd64/17.1/desktop/elogind/eapi
Normal file
1
profiles/local/linux/amd64/17.1/desktop/elogind/eapi
Normal file
@ -0,0 +1 @@
|
||||
5
|
2
profiles/local/linux/amd64/17.1/desktop/elogind/parent
Normal file
2
profiles/local/linux/amd64/17.1/desktop/elogind/parent
Normal file
@ -0,0 +1,2 @@
|
||||
..
|
||||
../../../../../../targets/desktop/elogind
|
2
profiles/local/linux/amd64/17.1/desktop/parent
Normal file
2
profiles/local/linux/amd64/17.1/desktop/parent
Normal file
@ -0,0 +1,2 @@
|
||||
..
|
||||
gentoo:targets/desktop
|
1
profiles/local/linux/amd64/17.1/eapi
Normal file
1
profiles/local/linux/amd64/17.1/eapi
Normal file
@ -0,0 +1 @@
|
||||
5
|
3
profiles/local/linux/amd64/17.1/parent
Normal file
3
profiles/local/linux/amd64/17.1/parent
Normal file
@ -0,0 +1,3 @@
|
||||
..
|
||||
gentoo:default/linux/amd64/17.1
|
||||
gentoo:targets/desktop
|
9
profiles/local/linux/amd64/17.1/profile.bashrc
Normal file
9
profiles/local/linux/amd64/17.1/profile.bashrc
Normal file
@ -0,0 +1,9 @@
|
||||
if [[ "${EBUILD_PHASE}" == "setup" ]] ; then
|
||||
if [[ "$(realpath ${ROOT%/}/lib)" == "${ROOT%/}/lib64" || "$(realpath ${ROOT%/}/usr/lib)" == "${ROOT%/}/usr/lib64" ]] ; then
|
||||
eerror "Please follow the instructions in the news item:"
|
||||
eerror "2019-06-05-amd64-17-1-profiles-are-now-stable"
|
||||
eerror "or choose the 17.0 profile."
|
||||
die "ERROR: 17.1 migration has not been performed!!"
|
||||
fi
|
||||
fi
|
||||
|
1
profiles/local/linux/amd64/eapi
Normal file
1
profiles/local/linux/amd64/eapi
Normal file
@ -0,0 +1 @@
|
||||
5
|
10
profiles/local/linux/amd64/package.use.mask
Normal file
10
profiles/local/linux/amd64/package.use.mask
Normal file
@ -0,0 +1,10 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Mike Frysinger <vapier@gentoo.org> (2016-05-08)
|
||||
# This target supports VTV #547040.
|
||||
>=sys-devel/gcc-4.9 -vtv
|
||||
|
||||
# Mike Frysinger <vapier@gentoo.org> (2014-10-21)
|
||||
# This target supports ASAN/etc... #504200.
|
||||
sys-devel/gcc -sanitize
|
2
profiles/local/linux/amd64/parent
Normal file
2
profiles/local/linux/amd64/parent
Normal file
@ -0,0 +1,2 @@
|
||||
gentoo:default/linux/amd64
|
||||
gentoo:targets/desktop
|
4
profiles/profiles.desc
Normal file
4
profiles/profiles.desc
Normal file
@ -0,0 +1,4 @@
|
||||
#arch profile_directory status
|
||||
# DE-agnostic generic desktop profile using elogind instead of consolekit
|
||||
amd64 local/linux/amd64/17.1/desktop/elogind dev
|
||||
|
1
profiles/targets/desktop/eapi
Normal file
1
profiles/targets/desktop/eapi
Normal file
@ -0,0 +1 @@
|
||||
5
|
1
profiles/targets/desktop/elogind/eapi
Normal file
1
profiles/targets/desktop/elogind/eapi
Normal file
@ -0,0 +1 @@
|
||||
5
|
4
profiles/targets/desktop/elogind/make.defaults
Normal file
4
profiles/targets/desktop/elogind/make.defaults
Normal file
@ -0,0 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
USE="-consolekit elogind"
|
95
profiles/targets/desktop/elogind/package.use
Normal file
95
profiles/targets/desktop/elogind/package.use
Normal file
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2020-02-05)
|
||||
# Required by many packages, most notably Mozilla products
|
||||
dev-lang/python sqlite
|
||||
|
||||
# Lars Wendler <polynomial-c@gentoo.org> (2019-03-20)
|
||||
# Enable client by default. Usually desktop users need the client.
|
||||
net-fs/samba client
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2018-06-09)
|
||||
# Required by app-office/libreoffice
|
||||
dev-libs/xmlsec nss
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2018-06-09)
|
||||
# Enable sensible defaults for desktop users
|
||||
dev-qt/qtwebkit:5 printsupport
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2017-11-30)
|
||||
# Not required, but makes life easier with Qt; bug #457934
|
||||
app-arch/unzip natspec
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2017-11-30)
|
||||
# Required by dev-qt/qtcore
|
||||
dev-libs/libpcre pcre16
|
||||
dev-libs/libpcre2 pcre16
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2017-11-30)
|
||||
# Required by kde-frameworks/kwayland
|
||||
dev-qt/qtgui:5 egl libinput
|
||||
|
||||
# Required by dev-qt/qtwebengine
|
||||
media-libs/libvpx svc
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2017-11-30)
|
||||
# Avoid circular dependency when installing from scratch
|
||||
dev-util/cmake -qt5
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2017-08-04)
|
||||
# Required by flac and mp3
|
||||
kde-apps/k3b taglib
|
||||
kde-frameworks/kfilemetadata taglib
|
||||
|
||||
# Brian Evans <grknight@gentoo.org> (2017-07-18)
|
||||
# Don't force users to enable gd on PHP due to desktop defaults
|
||||
dev-lang/php -exif -truetype
|
||||
|
||||
# Ilya Tumaykin <itumaykin+gentoo@gmail.com> (2017-02-02)
|
||||
# Enable luajit for OSC and youtube-dl support by default.
|
||||
# Override default +sdl from desktop profile and disable sdl outputs.
|
||||
# These outputs are for systems without a proper audio/video support.
|
||||
media-video/mpv lua luajit -sdl
|
||||
|
||||
# Mike Gilbert <floppym@gentoo.org> (2017-01-04)
|
||||
# Needed by x11-misc/xdg-utils.
|
||||
app-text/xmlto text
|
||||
|
||||
# Ben de Groot <yngwin@gentoo.org> (2015-02-18)
|
||||
# Enable sensible defaults for desktop users (bug #540046)
|
||||
dev-python/PyQt5 gui multimedia network printsupport widgets
|
||||
|
||||
# Samuli Suominen <ssuominen@gentoo.org> (2014-07-24)
|
||||
# Because targets/desktop/make.defaults has USE="bluetooth" but net-libs/libpcap doesn't
|
||||
# support BlueZ 5.x, disable USE="bluetooth" by default to avoid conflicting packages:
|
||||
net-libs/libpcap -bluetooth
|
||||
|
||||
# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (2014-05-08)
|
||||
# Enable x11-libs/libxcb[xkb] as it is needed by x11-libs/libxkbcommon[X]
|
||||
# and the X flag is enabled by default in the desktop profile
|
||||
x11-libs/libxcb xkb
|
||||
|
||||
# Jeremy Olexa <darkside@gentoo.org> (2011-10-07)
|
||||
# Required by mesa, ultimately by xorg-server (every desktop) bug 385843
|
||||
dev-libs/libxml2 python
|
||||
|
||||
# Samuli Suominen <ssuominen@gentoo.org> (2011-09-27)
|
||||
# Required by mozilla browsers wrt #372419
|
||||
media-libs/libpng apng
|
||||
|
||||
# Samuli Suominen <ssuominen@gentoo.org> (2010-12-19)
|
||||
# gudev, required by freedesktop.org udev helpers like udisks and upower
|
||||
# introspection, exception, enabled from here instead of ebuild to skip extra deps for a system package
|
||||
dev-libs/libgudev introspection
|
||||
sys-fs/eudev introspection
|
||||
virtual/libgudev introspection
|
||||
|
||||
# Samuli Suominen <ssuominen@gentoo.org> (2010-12-19)
|
||||
# Support for desktop file icons
|
||||
xfce-base/xfdesktop thunar
|
||||
|
||||
# Chris Gianelloni <wolf31o2@gentoo.org> (2008-03-26)
|
||||
# While we may need LDAP client support, who needs the server on a desktop?
|
||||
# Did I mention that this also fixes the horrible perl dependency hell, too?
|
||||
net-nds/openldap minimal
|
7
profiles/targets/desktop/elogind/package.use.force
Normal file
7
profiles/targets/desktop/elogind/package.use.force
Normal file
@ -0,0 +1,7 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Alexandre Rostovtsev <tetromino@gentoo.org> (2014-06-03)
|
||||
# Ensure shared-mime-info is pulled in by glib, otherwise GNOME, XFCE, and
|
||||
# numerous gtk-based applications will break, see bug #511894
|
||||
dev-libs/glib mime
|
1
profiles/targets/desktop/elogind/parent
Normal file
1
profiles/targets/desktop/elogind/parent
Normal file
@ -0,0 +1 @@
|
||||
..
|
4
profiles/targets/desktop/make.defaults
Normal file
4
profiles/targets/desktop/make.defaults
Normal file
@ -0,0 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
USE="a52 aac acpi alsa bluetooth branding cairo cdda cdr consolekit cups dbus dri dts dvd dvdr emboss encode exif flac gif gpm gtk icu jpeg lcms ldap libnotify mad mng mp3 mp4 mpeg ogg opengl pango pdf png policykit ppds qt5 sdl spell startup-notification svg tiff truetype vorbis udev udisks unicode upower usb wxwidgets X xcb x264 xml xv xvid"
|
95
profiles/targets/desktop/package.use
Normal file
95
profiles/targets/desktop/package.use
Normal file
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2020-02-05)
|
||||
# Required by many packages, most notably Mozilla products
|
||||
dev-lang/python sqlite
|
||||
|
||||
# Lars Wendler <polynomial-c@gentoo.org> (2019-03-20)
|
||||
# Enable client by default. Usually desktop users need the client.
|
||||
net-fs/samba client
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2018-06-09)
|
||||
# Required by app-office/libreoffice
|
||||
dev-libs/xmlsec nss
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2018-06-09)
|
||||
# Enable sensible defaults for desktop users
|
||||
dev-qt/qtwebkit:5 printsupport
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2017-11-30)
|
||||
# Not required, but makes life easier with Qt; bug #457934
|
||||
app-arch/unzip natspec
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2017-11-30)
|
||||
# Required by dev-qt/qtcore
|
||||
dev-libs/libpcre pcre16
|
||||
dev-libs/libpcre2 pcre16
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2017-11-30)
|
||||
# Required by kde-frameworks/kwayland
|
||||
dev-qt/qtgui:5 egl libinput
|
||||
|
||||
# Required by dev-qt/qtwebengine
|
||||
media-libs/libvpx svc
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2017-11-30)
|
||||
# Avoid circular dependency when installing from scratch
|
||||
dev-util/cmake -qt5
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2017-08-04)
|
||||
# Required by flac and mp3
|
||||
kde-apps/k3b taglib
|
||||
kde-frameworks/kfilemetadata taglib
|
||||
|
||||
# Brian Evans <grknight@gentoo.org> (2017-07-18)
|
||||
# Don't force users to enable gd on PHP due to desktop defaults
|
||||
dev-lang/php -exif -truetype
|
||||
|
||||
# Ilya Tumaykin <itumaykin+gentoo@gmail.com> (2017-02-02)
|
||||
# Enable luajit for OSC and youtube-dl support by default.
|
||||
# Override default +sdl from desktop profile and disable sdl outputs.
|
||||
# These outputs are for systems without a proper audio/video support.
|
||||
media-video/mpv lua luajit -sdl
|
||||
|
||||
# Mike Gilbert <floppym@gentoo.org> (2017-01-04)
|
||||
# Needed by x11-misc/xdg-utils.
|
||||
app-text/xmlto text
|
||||
|
||||
# Ben de Groot <yngwin@gentoo.org> (2015-02-18)
|
||||
# Enable sensible defaults for desktop users (bug #540046)
|
||||
dev-python/PyQt5 gui multimedia network printsupport widgets
|
||||
|
||||
# Samuli Suominen <ssuominen@gentoo.org> (2014-07-24)
|
||||
# Because targets/desktop/make.defaults has USE="bluetooth" but net-libs/libpcap doesn't
|
||||
# support BlueZ 5.x, disable USE="bluetooth" by default to avoid conflicting packages:
|
||||
net-libs/libpcap -bluetooth
|
||||
|
||||
# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (2014-05-08)
|
||||
# Enable x11-libs/libxcb[xkb] as it is needed by x11-libs/libxkbcommon[X]
|
||||
# and the X flag is enabled by default in the desktop profile
|
||||
x11-libs/libxcb xkb
|
||||
|
||||
# Jeremy Olexa <darkside@gentoo.org> (2011-10-07)
|
||||
# Required by mesa, ultimately by xorg-server (every desktop) bug 385843
|
||||
dev-libs/libxml2 python
|
||||
|
||||
# Samuli Suominen <ssuominen@gentoo.org> (2011-09-27)
|
||||
# Required by mozilla browsers wrt #372419
|
||||
media-libs/libpng apng
|
||||
|
||||
# Samuli Suominen <ssuominen@gentoo.org> (2010-12-19)
|
||||
# gudev, required by freedesktop.org udev helpers like udisks and upower
|
||||
# introspection, exception, enabled from here instead of ebuild to skip extra deps for a system package
|
||||
dev-libs/libgudev introspection
|
||||
sys-fs/eudev introspection
|
||||
virtual/libgudev introspection
|
||||
|
||||
# Samuli Suominen <ssuominen@gentoo.org> (2010-12-19)
|
||||
# Support for desktop file icons
|
||||
xfce-base/xfdesktop thunar
|
||||
|
||||
# Chris Gianelloni <wolf31o2@gentoo.org> (2008-03-26)
|
||||
# While we may need LDAP client support, who needs the server on a desktop?
|
||||
# Did I mention that this also fixes the horrible perl dependency hell, too?
|
||||
net-nds/openldap minimal
|
7
profiles/targets/desktop/package.use.force
Normal file
7
profiles/targets/desktop/package.use.force
Normal file
@ -0,0 +1,7 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Alexandre Rostovtsev <tetromino@gentoo.org> (2014-06-03)
|
||||
# Ensure shared-mime-info is pulled in by glib, otherwise GNOME, XFCE, and
|
||||
# numerous gtk-based applications will break, see bug #511894
|
||||
dev-libs/glib mime
|
Loading…
Reference in New Issue
Block a user