Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnome-base/gnome-shell: add cap_sys_nice capability for gnome-shell #21669

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions gnome-base/gnome-shell/gnome-shell-40.3.ebuild
Expand Up @@ -4,14 +4,14 @@
EAPI=7
PYTHON_COMPAT=( python3_{8,9} )

inherit gnome.org gnome2-utils meson python-single-r1 virtualx xdg
inherit fcaps gnome.org gnome2-utils meson python-single-r1 virtualx xdg

DESCRIPTION="Provides core UI functions for the GNOME desktop"
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"

LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
IUSE="+bluetooth +browser-extension elogind gtk-doc +ibus +networkmanager systemd telepathy"
IUSE="+bluetooth +browser-extension caps elogind gtk-doc +ibus +networkmanager systemd telepathy"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
?? ( elogind systemd )"

Expand All @@ -34,6 +34,7 @@ DEPEND="
>=app-i18n/ibus-1.5.2
>=gnome-base/gnome-desktop-3.35.90:3=[introspection]
bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] )
caps? ( sys-libs/libcap-ng )
>=media-libs/gstreamer-0.11.92:1.0
media-libs/gst-plugins-base:1.0
>=media-video/pipewire-0.3.0:0/0.3
Expand Down Expand Up @@ -183,6 +184,8 @@ pkg_postinst() {
ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers,"
ewarn "otherwise Gnome will fail to start"
fi

use caps && fcaps cap_sys_nice usr/bin/gnome-shell
}

pkg_postrm() {
Expand Down
7 changes: 5 additions & 2 deletions gnome-base/gnome-shell/gnome-shell-40.4.ebuild
Expand Up @@ -4,14 +4,14 @@
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )

inherit gnome.org gnome2-utils meson python-single-r1 virtualx xdg
inherit fcaps gnome.org gnome2-utils meson python-single-r1 virtualx xdg

DESCRIPTION="Provides core UI functions for the GNOME desktop"
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"

LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
IUSE="+bluetooth +browser-extension elogind gtk-doc +ibus +networkmanager systemd telepathy"
IUSE="+bluetooth +browser-extension caps elogind gtk-doc +ibus +networkmanager systemd telepathy"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
?? ( elogind systemd )"

Expand All @@ -34,6 +34,7 @@ DEPEND="
>=app-i18n/ibus-1.5.2
>=gnome-base/gnome-desktop-3.35.90:3=[introspection]
bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] )
caps? ( sys-libs/libcap-ng )
>=media-libs/gstreamer-0.11.92:1.0
media-libs/gst-plugins-base:1.0
>=media-video/pipewire-0.3.0:0/0.3
Expand Down Expand Up @@ -190,6 +191,8 @@ pkg_postinst() {
ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers,"
ewarn "otherwise Gnome will fail to start"
fi

use caps && fcaps cap_sys_nice usr/bin/gnome-shell
}

pkg_postrm() {
Expand Down
7 changes: 5 additions & 2 deletions gnome-base/gnome-shell/gnome-shell-40.5.ebuild
Expand Up @@ -4,14 +4,14 @@
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )

inherit gnome.org gnome2-utils meson python-single-r1 virtualx xdg
inherit fcaps gnome.org gnome2-utils meson python-single-r1 virtualx xdg

DESCRIPTION="Provides core UI functions for the GNOME desktop"
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"

LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
IUSE="+bluetooth +browser-extension elogind gtk-doc +ibus +networkmanager systemd telepathy"
IUSE="+bluetooth +browser-extension caps elogind gtk-doc +ibus +networkmanager systemd telepathy"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
?? ( elogind systemd )"

Expand All @@ -34,6 +34,7 @@ DEPEND="
>=app-i18n/ibus-1.5.2
>=gnome-base/gnome-desktop-3.35.90:3=[introspection]
bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] )
caps? ( sys-libs/libcap-ng )
>=media-libs/gstreamer-0.11.92:1.0
media-libs/gst-plugins-base:1.0
>=media-video/pipewire-0.3.0:0/0.3
Expand Down Expand Up @@ -190,6 +191,8 @@ pkg_postinst() {
ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers,"
ewarn "otherwise Gnome will fail to start"
fi

use caps && fcaps cap_sys_nice usr/bin/gnome-shell
}

pkg_postrm() {
Expand Down
7 changes: 5 additions & 2 deletions gnome-base/gnome-shell/gnome-shell-41.0-r1.ebuild
Expand Up @@ -4,15 +4,15 @@
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )

inherit gnome.org gnome2-utils meson python-single-r1 virtualx xdg
inherit fcaps gnome.org gnome2-utils meson python-single-r1 virtualx xdg

DESCRIPTION="Provides core UI functions for the GNOME desktop"
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"
SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${PF}-patchset.tar.xz"

LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
IUSE="+bluetooth +browser-extension elogind gtk-doc +ibus +networkmanager systemd telepathy"
IUSE="+bluetooth +browser-extension caps elogind gtk-doc +ibus +networkmanager systemd telepathy"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
?? ( elogind systemd )"

Expand All @@ -35,6 +35,7 @@ DEPEND="
>=app-i18n/ibus-1.5.19
>=gnome-base/gnome-desktop-3.35.90:3=[introspection]
bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] )
caps? ( sys-libs/libcap-ng )
>=media-libs/gstreamer-0.11.92:1.0
media-libs/gst-plugins-base:1.0
>=media-video/pipewire-0.3.0:0/0.3
Expand Down Expand Up @@ -195,6 +196,8 @@ pkg_postinst() {
ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers,"
ewarn "otherwise Gnome will fail to start"
fi

use caps && fcaps cap_sys_nice usr/bin/gnome-shell
}

pkg_postrm() {
Expand Down