mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
kde-plasma/kwin: Upstream backport recommendation for 6.6.3
backends/drm: disable drm color pipelines on AMD See also: https://mail.kde.org/pipermail/distributions/2026-March/001674.html KDE-bug: https://bugs.kde.org/show_bug.cgi?id=517556 Additional fixes: KDE-bug: https://bugs.kde.org/show_bug.cgi?id=517711 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=516808 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST kwin-6.5.5-patchset.tar.xz 7236 BLAKE2B 18962214dfcce9768dd968fee9367233710a7a0ccd35339180ac0a6fe4bd1bebbbb21b482936f5148697cf78b988ff5a1d0cc8c8632739f646b187199d8c7209 SHA512 ab22c481ec50bfd1382f4f46fe3edd5d0f522bc65f3ece0a9fa13b51e8664e2cae2c7bae92753092440c09796878926dd37d244db1d5f7337c80d44f1b50aac7
|
||||
DIST kwin-6.5.5.tar.xz 8803548 BLAKE2B f1c9b3bf512409df0908d7610af681a78d00f31f0a9dea48a8eea89e0105b28c421229264911a377dd56fa6ad82adbf21fcac1dd6c55b3723f744c996967a802 SHA512 c336a116ad3f6946aabc5ccb793cd7a4dbad75c0333ab0b487b8e1bcddd3bdf99e056346cc29359c4ff58ce5ca7ce60302d03aea5dac1885ac3f1cf2514229a0
|
||||
DIST kwin-6.6.3-patchset.tar.xz 2084 BLAKE2B 5be2f5005266d405c78c5453dd83a02d55f78219389c690767932ab8e3a56f24ad61b8ab179a78bdd06e377341c06437de44a24659b88d71363c9355129c8dc0 SHA512 26586d9c1916a45a57142a8d30b63f7cebf108dd92287349a99bab6798f99cb0b1a6d0406ad282a3d312e24ae2918edcf332343ab5e08e7146a40c17e20795ca
|
||||
DIST kwin-6.6.3.tar.xz 8880260 BLAKE2B d9d7bbb7054a06d5dc17bd31ae71170cdfbfb1d0d59b0234dcc95f5c42d9004b5e2236873e8dfb9e850ba12ef8b8dc848bde314966011e9165fb1b17f29db32d SHA512 1a15f497c0fbbcf03e7f0a03a2a005508fc86d578bae030713b84cd6854721e7d2e7998e9bba8796f69040edbf33599779e8979e157d6ceb760637d2cf4b21e9
|
||||
|
||||
158
kde-plasma/kwin/kwin-6.6.3-r1.ebuild
Normal file
158
kde-plasma/kwin/kwin-6.6.3-r1.ebuild
Normal file
@@ -0,0 +1,158 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ECM_HANDBOOK="optional"
|
||||
# TODO: ECMGenerateQDoc
|
||||
ECM_TEST="true"
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
KFMIN=6.22.0
|
||||
QTMIN=6.10.1
|
||||
inherit ecm fcaps plasma.kde.org python-any-r1 toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="Flexible, composited Window Manager for windowing systems on Linux"
|
||||
SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/kde/${P}-patchset.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="6"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
IUSE="accessibility gamepad gles2-only lock screencast +shortcuts systemd X"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# qtbase slot op: GuiPrivate use in tabbox, Qt6WaylandClientPrivate for xx-pip-v1
|
||||
# qtbase[X]: private/qtx11extras_p.h in src/helpers/killer
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/libei-1.4
|
||||
>=dev-libs/libinput-1.28:=
|
||||
>=dev-libs/wayland-1.24.0
|
||||
>=dev-qt/qt5compat-${QTMIN}:6[qml]
|
||||
>=dev-qt/qtbase-${QTMIN}:6=[accessibility=,gles2-only=,gui,libinput,opengl,wayland,widgets,X]
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:6
|
||||
>=dev-qt/qtsvg-${QTMIN}:6
|
||||
>=dev-qt/qttools-${QTMIN}:6[widgets]
|
||||
>=kde-frameworks/kauth-${KFMIN}:6
|
||||
>=kde-frameworks/kcmutils-${KFMIN}:6
|
||||
>=kde-frameworks/kcolorscheme-${KFMIN}:6
|
||||
>=kde-frameworks/kconfig-${KFMIN}:6[qml]
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:6
|
||||
>=kde-frameworks/kcrash-${KFMIN}:6
|
||||
>=kde-frameworks/kdbusaddons-${KFMIN}:6
|
||||
>=kde-frameworks/kdeclarative-${KFMIN}:6
|
||||
>=kde-frameworks/kglobalaccel-${KFMIN}:6
|
||||
>=kde-frameworks/kguiaddons-${KFMIN}:6[wayland]
|
||||
>=kde-frameworks/ki18n-${KFMIN}:6
|
||||
>=kde-frameworks/kidletime-${KFMIN}:6=[wayland]
|
||||
>=kde-frameworks/knewstuff-${KFMIN}:6
|
||||
>=kde-frameworks/knotifications-${KFMIN}:6
|
||||
>=kde-frameworks/kpackage-${KFMIN}:6
|
||||
>=kde-frameworks/kservice-${KFMIN}:6
|
||||
>=kde-frameworks/ksvg-${KFMIN}:6
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
|
||||
>=kde-frameworks/kwindowsystem-${KFMIN}:6=[wayland]
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:6
|
||||
>=kde-plasma/kdecoration-${KDE_CATV}:6
|
||||
>=kde-plasma/knighttime-${KDE_CATV}:6
|
||||
>=kde-plasma/kwayland-${KDE_CATV}:6
|
||||
>=kde-plasma/plasma-activities-${KDE_CATV}:6=
|
||||
media-libs/lcms:2
|
||||
media-libs/libcanberra
|
||||
>=media-libs/libdisplay-info-0.2.0:=
|
||||
media-libs/libepoxy
|
||||
media-libs/libglvnd
|
||||
>=media-libs/mesa-24.1.0_rc1[opengl,wayland]
|
||||
virtual/libudev:=
|
||||
>=x11-libs/libdrm-2.4.127
|
||||
>=x11-libs/libxcvt-0.1.1
|
||||
>=x11-libs/libxkbcommon-1.5.0
|
||||
accessibility? ( media-libs/libqaccessibilityclient:6 )
|
||||
gamepad? ( dev-libs/libevdev )
|
||||
lock? ( >=kde-plasma/kscreenlocker-${KDE_CATV}:6 )
|
||||
screencast? ( >=media-video/pipewire-1.2.0:= )
|
||||
shortcuts? ( >=kde-plasma/kglobalacceld-${KDE_CATV}:6 )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
>=x11-libs/libxcb-1.10:=
|
||||
x11-libs/libXi
|
||||
x11-libs/libXres
|
||||
x11-libs/xcb-util-cursor
|
||||
x11-libs/xcb-util-keysyms
|
||||
x11-libs/xcb-util-wm
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!kde-plasma/kdeplasma-addons:5
|
||||
>=kde-frameworks/kirigami-${KFMIN}:6
|
||||
>=kde-frameworks/kitemmodels-${KFMIN}:6
|
||||
>=kde-plasma/aurorae-${KDE_CATV}:6
|
||||
>=kde-plasma/breeze-${KDE_CATV}:6
|
||||
>=kde-plasma/libplasma-${KDE_CATV}:6
|
||||
sys-apps/hwdata
|
||||
X? ( >=x11-base/xwayland-23.1.0[libei] )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/plasma-wayland-protocols-1.20.0
|
||||
>=dev-libs/wayland-protocols-1.47
|
||||
>=dev-qt/qtbase-${QTMIN}:6[concurrent]
|
||||
test? ( screencast? ( >=kde-plasma/kpipewire-${KDE_CATV}:6 ) )
|
||||
X? ( x11-base/xorg-proto )
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-qt/qtbase-${QTMIN}:6[wayland]
|
||||
dev-util/wayland-scanner
|
||||
>=kde-frameworks/kcmutils-${KFMIN}:6
|
||||
"
|
||||
|
||||
# https://bugs.gentoo.org/941628
|
||||
# -m 0755 to avoid suid with USE="-filecaps"
|
||||
FILECAPS=( -m 0755 cap_sys_nice=ep usr/bin/kwin_wayland )
|
||||
|
||||
PATCHES=( "${WORKDIR}/${P}-patchset" ) # KDE bugs #516808, #517556, #517711
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 14
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 14
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
ecm_src_prepare
|
||||
|
||||
# TODO: try to get a build switch upstreamed
|
||||
if ! use gamepad; then
|
||||
sed -e "s/^pkg_check_modules.*libevdev/#&/" -i CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
# TODO: try to get a build switch upstreamed
|
||||
if ! use screencast; then
|
||||
sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
# TODO: try to get a build switch upstreamed
|
||||
if ! use systemd; then
|
||||
sed -e "s/^pkg_check_modules.*libsystemd/#&/" -i CMakeLists.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# KWIN_BUILD_DECORATIONS exists, drops aurorae, breeze
|
||||
# KWIN_BUILD_NOTIFICATIONS exists, but kdeclarative still hard-depends on it
|
||||
$(cmake_use_find_package accessibility QAccessibilityClient6)
|
||||
-DKWIN_BUILD_SCREENLOCKER=$(usex lock)
|
||||
-DKWIN_BUILD_GLOBALSHORTCUTS=$(usex shortcuts)
|
||||
-DKWIN_BUILD_X11=$(usex X)
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
fcaps_pkg_postinst
|
||||
}
|
||||
Reference in New Issue
Block a user