diff options
Diffstat (limited to 'kde-plasma')
13 files changed, 152 insertions, 7 deletions
diff --git a/kde-plasma/Manifest.gz b/kde-plasma/Manifest.gz Binary files differindex 01fe2f7bd96f..c88ad9db6d65 100644 --- a/kde-plasma/Manifest.gz +++ b/kde-plasma/Manifest.gz diff --git a/kde-plasma/kde-gtk-config/Manifest b/kde-plasma/kde-gtk-config/Manifest index e3d173cbe0da..2ebad673a800 100644 --- a/kde-plasma/kde-gtk-config/Manifest +++ b/kde-plasma/kde-gtk-config/Manifest @@ -1,8 +1,9 @@ +AUX kde-gtk-config-5.27.4-kded-dont-update-textscale.patch 1030 BLAKE2B c93948c1759d62c7bbda8ddb96eaf9f97354b82ca59fb35eca9ac357af2cea72edeaf182cee05fbbc09843c5a7572ef92944b1534bc1f4ffafdefa18aafd5646 SHA512 aa6f7c55d62e6eab2e768d6d163b1aaa785fffa8ae20f23030d46766288a2a8cc700aa3fe21ef097ba534348a6c0ccf4238e5160f6b465adda42d626f94ea2bb DIST kde-gtk-config-5.26.5.tar.xz 74392 BLAKE2B 5b5e975650d4987358a926abcb3ddeee77e5d4c190fd0ccc1c2dc31c2080056c24680f444512b03a1b5dee9f93e4950f4dc2c8b1526dba488d903f3215ba5fb0 SHA512 dbb9318d282b7f60b481abffc5ba6504f1c89825e0fb825e7f28410f6ceffce2f4fda727cde3b97a1902a7c3f12d01bc4ed482ce68088a1159efbfa57e00e513 DIST kde-gtk-config-5.27.3-patchset-1.tar.xz 3548 BLAKE2B f70ddb45fcfb5810c304fe41dd35f5dba41acfc4d40f486563ee21fb7648e85d0aa758a40b9ba9908c40241be4c517623f51850492108d16b7dd3e28cfeddfaa SHA512 34a25aa5c41dbaa4e1460099b4f5de06ff12886f09243bf1b6c4a4723b9adabf9cb119e1db9720beb258a21330029f5541748c0d5631aaf6039f6a0ebcebc3aa DIST kde-gtk-config-5.27.3.tar.xz 75316 BLAKE2B 210cbd306b8583621dcac3c5ea534b90fc0725da3f36d4aded940a39df8ed6bc5187469dc78ac4a4b97be4b5ff046732c571bd5c54aeb2248d0ef816cb679cb7 SHA512 2eb162d54a6a1d5e488fe8c6c2d91eb15faae29b82092ac607388515bf85bfdad6dfd4fb69fc9b9adb54c6419afe7935fdd1f1ad47e4d0d30fd9815becde0a88 DIST kde-gtk-config-5.27.4.tar.xz 76852 BLAKE2B d88d398c62eb09ae872500c485acafdf534512b44878b71778dfd2ac85fd2c4b75d9f48da472ea8110e14b26a0fe5086462a8e1c198bcb940cb0e7e968c16c54 SHA512 bbe9396ae30317c7dc9a703b085a03e7703019bed9eb4fb864beaccd8195046072e3582a24ecac1cd60e5830d51f6935037407765d40388f24eb2c5e86d0ec1c EBUILD kde-gtk-config-5.26.5.ebuild 1295 BLAKE2B b4946f872a2785a004978f627699c03b7b6f99a9392e9cab2deb61b2691a3586dfbdd82c581bb6844f5b5f1d985bcd57c61e22fbe4906b12c21d8fd628a9ecf2 SHA512 1f7dda9018ddbecfa3b817f739254de3955135507daaab25aa42f33d65be35f80cc4e7d85fdcaff7b132a08270176b627d704b50eb253acb2d3b1fbd42279dc5 EBUILD kde-gtk-config-5.27.3-r2.ebuild 1440 BLAKE2B 6d4e2ecf834be273a84fd588cf6a6742280abf57648d3ffd06782f068b8b76ed077e798e8023f703a55bd28f78f1d6a79fc72e0561cad8bd0b51c6ca237ef487 SHA512 1a1fa2f84876bf7029cb0f08b78fa556f75353535ac77a8ab98b93217da52274737edcca83f550f983d6a2345a9d6442837491d8c380964c7f8669d6a110320a -EBUILD kde-gtk-config-5.27.4.ebuild 1299 BLAKE2B c45669ba81b5559b2000c17dfa12f1f9ae8529554ebe16b5c8b5a2d95523747dafa5141b0cc87441e84100dca83de19cc3b8fd1211b5c632f16af9435597dff2 SHA512 9cb339e36896989b7dd22e4789d2ee3c75934e9a669934cb064f63e9480981429740e7f5ebe0a01673bbfe0ec8647ff43f739bca52b04e140f0472505f0c4bfb +EBUILD kde-gtk-config-5.27.4-r1.ebuild 1378 BLAKE2B 5ccd3c0d4236e95107414d8211f01466087189238ff3be4dfdb05c1ce4f0e2680964356921eb6c3cfd6296d2bdaddb9db168e98faeed6d1c6a91c3e22150b43f SHA512 804ab07f9787dfd2d09874b6b79a3d1c404f4cdba7c96fb9c7b2da5d6e75495b0f6be971c8d833c2346d537ef671025b1fa3c3e324669da86bd8d1da82baca48 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/kde-plasma/kde-gtk-config/files/kde-gtk-config-5.27.4-kded-dont-update-textscale.patch b/kde-plasma/kde-gtk-config/files/kde-gtk-config-5.27.4-kded-dont-update-textscale.patch new file mode 100644 index 000000000000..de16acc0cc97 --- /dev/null +++ b/kde-plasma/kde-gtk-config/files/kde-gtk-config-5.27.4-kded-dont-update-textscale.patch @@ -0,0 +1,28 @@ +From 52eb9d01b94eeece64044c5159d965eec7f39079 Mon Sep 17 00:00:00 2001 +From: Fushan Wen <qydwhotmail@gmail.com> +Date: Sat, 8 Apr 2023 00:25:52 +0800 +Subject: [PATCH] kded: don't update text scale on kdeglobals change events + +setTextScale() will be called in onKCMFontsSettingsChange + +CCBUG: 468203 +--- + kded/gtkconfig.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kded/gtkconfig.cpp b/kded/gtkconfig.cpp +index ec8f813..00222e1 100644 +--- a/kded/gtkconfig.cpp ++++ b/kded/gtkconfig.cpp +@@ -290,7 +290,7 @@ void GtkConfig::onKdeglobalsSettingsChange(const KConfigGroup &group, const QByt + } else if (group.name() == QStringLiteral("KScreen")) { + if (names.contains(QByteArrayLiteral("ScaleFactor"))) { + setGlobalScale(); +- setTextScale(); ++ // setTextScale() will be called in onKCMFontsSettingsChange + } + } else if (group.name() == QStringLiteral("Toolbar style")) { + if (names.contains(QByteArrayLiteral("ToolButtonStyle"))) { +-- +2.40.0 + diff --git a/kde-plasma/kde-gtk-config/kde-gtk-config-5.27.4.ebuild b/kde-plasma/kde-gtk-config/kde-gtk-config-5.27.4-r1.ebuild index 94374b427120..a9a985d7d35e 100644 --- a/kde-plasma/kde-gtk-config/kde-gtk-config-5.27.4.ebuild +++ b/kde-plasma/kde-gtk-config/kde-gtk-config-5.27.4-r1.ebuild @@ -36,9 +36,9 @@ RDEPEND="${DEPEND} >=kde-plasma/kde-cli-tools-${PVCUT}:5 x11-misc/xsettingsd " -BDEPEND=" - dev-lang/sassc -" +BDEPEND="dev-lang/sassc" + +PATCHES=( "${FILESDIR}/${P}-kded-dont-update-textscale.patch" ) # KDE-bug 468203 src_configure() { local mycmakeargs=( diff --git a/kde-plasma/kscreen/Manifest b/kde-plasma/kscreen/Manifest index 671786c06cf3..1bdc4597b149 100644 --- a/kde-plasma/kscreen/Manifest +++ b/kde-plasma/kscreen/Manifest @@ -1,8 +1,9 @@ +AUX kscreen-5.27.4-kcm-notify-changes-when-global-scale-changes.patch 1178 BLAKE2B a12f4a7a88c7fbeb9ea8a2fa32a2c720383e0e491de8a11b6ac48eb575cabf837b1f6cfc87fcf779e6d80b8efb5f262a65549e17cd3fd542a2ed046171e39e29 SHA512 45e2145b292982452dbf723338e0ac21b0c1d2402a31d227d28ce9bcf163e0917123faa7015d8a399c36d4d8aaa0a9b70e57206544b2b4fdc07dd12b6b4ade43 DIST kscreen-5.26.5.tar.xz 154600 BLAKE2B 202f7ec24b01ca057a5e52b796176e6ae09518693cb50e16b0d3901351fba58d5554d959f4afa48b5539981870e02f14bde8c25402d4c2b6427acf5c896ca75f SHA512 58635bc2c5cb3e3cee6b838ddc3a9068c9b22bcedef6ddd9c4b6aa59889b59242118227e706208c17c89241a701f850d42e9c5617d876068367246d35d1800c2 DIST kscreen-5.27.3-patchset-1.tar.xz 1304 BLAKE2B bbf68dbeef2134498af481bb2556bfd214140688e9d5917391fe84b5c70ef6bd8bf5081ee0e7051d8ceca8895f02eeeeff2a6bf00d5f22da95814e791137850c SHA512 b9cc71d82e91ffa94bf9e4bace9c575330c96ed5690094066de481e25f15d2a95bfd4ff5aa767c1399d4d582f0fa6a1d19304759ce67a5badc6c5778fd222338 DIST kscreen-5.27.3.tar.xz 184224 BLAKE2B 7929835a8d757fa06e5c27fd455435441c8e593cd4709dee237a6d23d2fa2a2439eb3d79e8482fb4676c96c7ec5108f364e94d069a3062aabc38d29e73f0b2e9 SHA512 02d7bb8e701fe8c47ac3e8cf7afe86410fd38a646fb4597a98710ab6afd5f0841b128178bab498973305f8c9f6ca4b340d9adae087f6996ccd04c2ec33e959cc DIST kscreen-5.27.4.tar.xz 184212 BLAKE2B f0ff9a98f0d6151e230dbc1f4ba33d123b80d4d3879de818adb5dbff0a50e09892fbee37c7cd96f31e1708aef43b0c9bbcdae2c6c13f81f5a80380ba8145d72c SHA512 2ce33a582e8315133de31c01fcd32ea02627dbbd00fa2a8c30ea8a9a082b12c36410d21bb74c4ef727fdbab0c7ae6d9ff6cc83597c249e6a5456d6e11b738518 EBUILD kscreen-5.26.5.ebuild 1348 BLAKE2B f06076f8cedb330a598c9aeb630027949cbc0c99a0fe5023f337494365da903a24194f28edb7e7946a3088cec9e666fd226eb43695761f38826311eb4b8e08c0 SHA512 3a0088c16d2a7f1486744a871d87ed3a2db8a57d97cffd930a852b1024f0b0d0618c99b86b8e37b2f5f02971b063d4919faf044e5c3bbcb21824aa3d82cb71e3 EBUILD kscreen-5.27.3-r2.ebuild 1497 BLAKE2B 34b12361882c93277b90d68064599f2924323b176a2225daa66437d7c8cd0a13630202ea6937306aa7c671671d41b9a6b07e9e152aa52fdc36c7d7ffda30229a SHA512 73fe79788c9fd24a72550b6201a53432af0aa5158c0f1831b1deac928584ac967dac4d9409c0c91397e9d129aabf31055b974330d9b681db12d89758cef7b2de -EBUILD kscreen-5.27.4.ebuild 1352 BLAKE2B 7ec94f34a0e1149e4f803041c48c19c639ea729750cca73f6b526f1ffffed1015851f767976eb48b4e0a0a784629158bc1a98a4ffede347c0919a8efb01fba3d SHA512 4909ce2d28e0ece3dbae30bbf61f3349940524846f61443c84ffab671d1fea83e5dd958d90a9c3d1f16633f400cf89241b623159151c9de8437639d7d19d494c +EBUILD kscreen-5.27.4-r1.ebuild 1452 BLAKE2B e6df7c74851be734acd854860ae1d116cedfcf922bd0184e00b4ea1c47fbc703adb3c6278ece716786487e0418ddb026c22ae96cfadd61a6437187ceb89a9d4b SHA512 68ea0b97144ad807c038737ebc3bd7c80eaeca848c7eb7877a17e250e0ee387b06b48380f74fa876b10c612a7521cdb85ad0d957d817f09a977f2df76c9fa8d9 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/kde-plasma/kscreen/files/kscreen-5.27.4-kcm-notify-changes-when-global-scale-changes.patch b/kde-plasma/kscreen/files/kscreen-5.27.4-kcm-notify-changes-when-global-scale-changes.patch new file mode 100644 index 000000000000..9c1e862ff480 --- /dev/null +++ b/kde-plasma/kscreen/files/kscreen-5.27.4-kcm-notify-changes-when-global-scale-changes.patch @@ -0,0 +1,37 @@ +From e9384150d8e41dd9c869f5f502e02c70a5c6f002 Mon Sep 17 00:00:00 2001 +From: Fushan Wen <qydwhotmail@gmail.com> +Date: Sat, 8 Apr 2023 00:33:24 +0800 +Subject: [PATCH] kcm: notify changes in kcmfonts when global scale changes + +Otherwise kde-gtk-config will use the old font DPI value. + +CCBUG: 468203 +--- + kcm/kcm.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp +index 6d96625d..f292699c 100644 +--- a/kcm/kcm.cpp ++++ b/kcm/kcm.cpp +@@ -438,7 +438,7 @@ void KCMKScreen::exportGlobalScale() + loadProc.waitForFinished(); + } + } +- fontConfigGroup.writeEntry("forceFontDPI", 0); ++ fontConfigGroup.writeEntry("forceFontDPI", 0, KConfig::Notify); + } else { + const int scaleDpi = qRound(globalScale() * 96.0); + QProcess proc; +@@ -448,7 +448,7 @@ void KCMKScreen::exportGlobalScale() + proc.closeWriteChannel(); + proc.waitForFinished(); + } +- fontConfigGroup.writeEntry("forceFontDPI", scaleDpi); ++ fontConfigGroup.writeEntry("forceFontDPI", scaleDpi, KConfig::Notify); + } + + Q_EMIT globalScaleWritten(); +-- +GitLab + diff --git a/kde-plasma/kscreen/kscreen-5.27.4.ebuild b/kde-plasma/kscreen/kscreen-5.27.4-r1.ebuild index 65c59cbc0f15..efbf3dea06d4 100644 --- a/kde-plasma/kscreen/kscreen-5.27.4.ebuild +++ b/kde-plasma/kscreen/kscreen-5.27.4-r1.ebuild @@ -47,3 +47,5 @@ RDEPEND="${DEPEND} >=kde-plasma/kde-cli-tools-${PVCUT}:5 " BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:5" + +PATCHES=( "${FILESDIR}/${P}-kcm-notify-changes-when-global-scale-changes.patch" ) # KDE-bug 468203 diff --git a/kde-plasma/libkscreen/Manifest b/kde-plasma/libkscreen/Manifest index 6df4760fa643..f8a681ad887a 100644 --- a/kde-plasma/libkscreen/Manifest +++ b/kde-plasma/libkscreen/Manifest @@ -1,7 +1,8 @@ +AUX libkscreen-5.27.4-clear-edid.patch 1199 BLAKE2B 5323d5314ebd8b37368564a4b936981dc3597bc1a3e85ccee619ae9f92c109b48820225f8e03a0f6aa54fb7074629affb9913edfd502b7daf50afc1c85b47084 SHA512 84c4492731d85e0c642f3ab3c42dc6edb632c9db9214ac480afd1169c28379f243a2aee8fc9603ffeda5fcd8911d33683c3db54b8f115160372878cd3dcb8f47 DIST libkscreen-5.26.5.tar.xz 106028 BLAKE2B 67601a61a7fdb41c42b3840de29de295482eed942e3ae17a044d29a53821ebb7f5e831ca01c246d8a3f720a27d14d0580203979c5e73e3c624a416cfce458f0b SHA512 a67d1c3a9671380ff1fd0549819a599ac65f9654940a9c18b0695b070eccb9ac153e0ab81ba32e4786913fed8c64ae1754ef275e5f913c1fb221ac9ad8620d10 DIST libkscreen-5.27.3.tar.xz 114536 BLAKE2B aaf2bb4fd31cad073fbafa8a25cd4c175914db34f9e0598b789d3b376ed7337877d81810433bc81b5655afd89e2e78b2c221d0a08095c065d7fc1409fb3df9cd SHA512 c42c9d1a501580558081c723520042fbabec1c0fdd566ac179e7e5cc461fc9028a52ab867ee8dbb7d248fd824e4d8c5326091946e235cb0e4ac4db92ddb3e7ed DIST libkscreen-5.27.4.tar.xz 114760 BLAKE2B f59ec5e2e8266dbea3a9b13f9ebe80cc79231e204124e13a71f11b5e164c468de653ec241bc114e4a964dee3ce4f6cdcb9edce6538502c83370e324b64d3ea1e SHA512 2696e462ba6619842eebe08a0c3a72525241795462dccb4e693a18336a4fd2e4f6209fd73e3317392556a83b047191673e6d639cb2d777e7ee29e186ead1ee16 EBUILD libkscreen-5.26.5.ebuild 878 BLAKE2B 0e7004bd0d4fb16f44600c201c96c13b5f26d7403cf3ab9e518d3f8e853956c2b4bcb935ac24580329e631a10be9d5ff60540d3ba0393e1177d58a100b73a18f SHA512 e621abe7d313f2b4c646dfa7afcc673a5786524c7563e89894be6bab508858abd2cade49e5eec14ed617de72732f607598e5974c155357d5555245ee2ad2596d EBUILD libkscreen-5.27.3.ebuild 883 BLAKE2B 9c827405b430f15434a975686eefa0ea4f9f1f416952f265eade39ea6487fd59e57fb775603cdf16901e35b61482cc79fb3eba26f278601518a475fc44a45b4e SHA512 3c67708fda27df9f6e46570640352de467d9edb13ee7e8accc3309d72ea3dcde2bfc76d47be84065f19c43c6b125b406df2794417389cecc93535d53f4e67192 -EBUILD libkscreen-5.27.4.ebuild 883 BLAKE2B 9c827405b430f15434a975686eefa0ea4f9f1f416952f265eade39ea6487fd59e57fb775603cdf16901e35b61482cc79fb3eba26f278601518a475fc44a45b4e SHA512 3c67708fda27df9f6e46570640352de467d9edb13ee7e8accc3309d72ea3dcde2bfc76d47be84065f19c43c6b125b406df2794417389cecc93535d53f4e67192 +EBUILD libkscreen-5.27.4-r1.ebuild 932 BLAKE2B e095108f30b35faada2a70226f187589c0953babf17da7863416073b302c4ff8ff9cec2a97439ab295914ef493316d0271ac1299fb7f7185590d8d45c4d1b4e4 SHA512 de5cd40618d384370df30ba7a52556d5b27cb1a1ef68370b0690e865a686183205cc5160421eaa784770ea282b25ebf8380896566809f15ac8e08df8a70ee89c MISC metadata.xml 406 BLAKE2B f47c4d7eab804ce88be47f9723f0610045c62b51883ad7877b00388cff9c2a6cd1e72afa24076c1c9affae154d6cc881f33eab04b862c4e40f708fde341a4883 SHA512 47370335bdf14118dacfa8189bcafd2089a2ec131c62d2c07a21ea4db32d837de1f5765be2907fd709b263f5fd3c3b2c5f12da1646ad5d9ff6d2b9ea9f99ebf7 diff --git a/kde-plasma/libkscreen/files/libkscreen-5.27.4-clear-edid.patch b/kde-plasma/libkscreen/files/libkscreen-5.27.4-clear-edid.patch new file mode 100644 index 000000000000..11e20b9a2f09 --- /dev/null +++ b/kde-plasma/libkscreen/files/libkscreen-5.27.4-clear-edid.patch @@ -0,0 +1,34 @@ +From 282cb301f5961d6519bb5a295155f25f96421c85 Mon Sep 17 00:00:00 2001 +From: Kai Li <likai@kylinos.cn> +Date: Wed, 5 Apr 2023 10:51:31 +0800 +Subject: [PATCH] Some GPUs will report a virtual edid even there is no monitor + connected to the VGA/HDMI port, when a monitor is plugged in, the edid will + be updated. The old pattern is not working for some GPUs, because the edid is + already in the cache with wrong data. + +So we clear edid when output changed, to make libkscreen to get the latest +edid and improve hardware compatibility. + +Signed-off-by: likai <likai@kylinos.cn> + + +(cherry picked from commit f34ec78318aca50511ae062cd218ef20627132a6) +--- + backends/xrandr/xrandroutput.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/backends/xrandr/xrandroutput.cpp b/backends/xrandr/xrandroutput.cpp +index 2fce87a5..5a43b6f8 100644 +--- a/backends/xrandr/xrandroutput.cpp ++++ b/backends/xrandr/xrandroutput.cpp +@@ -177,6 +177,7 @@ void XRandROutput::update(xcb_randr_crtc_t crtc, xcb_randr_mode_t mode, xcb_rand + } + + m_hotplugModeUpdate = XRandR::hasProperty(m_id, "hotplug_mode_update"); ++ m_edid.clear(); + } + + // A monitor has been enabled or disabled +-- +GitLab + diff --git a/kde-plasma/libkscreen/libkscreen-5.27.4.ebuild b/kde-plasma/libkscreen/libkscreen-5.27.4-r1.ebuild index 1022a042e145..c481da498507 100644 --- a/kde-plasma/libkscreen/libkscreen-5.27.4.ebuild +++ b/kde-plasma/libkscreen/libkscreen-5.27.4-r1.ebuild @@ -39,3 +39,5 @@ BDEPEND=" >=dev-qt/qtwaylandscanner-${QTMIN}:5 dev-util/wayland-scanner " + +PATCHES=( "${FILESDIR}/${P}-clear-edid.patch" ) diff --git a/kde-plasma/xdg-desktop-portal-kde/Manifest b/kde-plasma/xdg-desktop-portal-kde/Manifest index 572c08cc522a..b4aa6bbc65cd 100644 --- a/kde-plasma/xdg-desktop-portal-kde/Manifest +++ b/kde-plasma/xdg-desktop-portal-kde/Manifest @@ -1,7 +1,8 @@ +AUX xdg-desktop-portal-kde-5.27.4.1-dont-try-to-screencast-nullptr.patch 1592 BLAKE2B a6a573b74f92947dff113c5d56dcd0506c8f01c526d3a50f7bb623acc13015d238eca76adbb3fc0aba2f4610734f8aa528e2d3573382b1aaa36829f3ff6b68ff SHA512 ed22d416ac7d1a35146568dcb6b97e0878c4ebafaaa9d166afea388b3aed581c59e741a3a5a117d0f5cdfed964c682305179e569200c9fac1925659c8f195c75 DIST xdg-desktop-portal-kde-5.26.5.tar.xz 110164 BLAKE2B 0eff7ac5fadce31831b9479fc812aede2f540917b186da0c71f9e85a4277923fd39e68ff4acb488772905cc296644b7a5e2f8c0fa12ef7e5cd7d5f7ccaf843d8 SHA512 d79ea70b476e08e0ff554e7a9b261abca21b07a177a576cf4c6e8d36b08dc8f48f5ccebf25d72b293439fafce53ae29e77b6289fce1ccccfabe69a5d21f6389c DIST xdg-desktop-portal-kde-5.27.3.tar.xz 138812 BLAKE2B fad396d4be8ac474642c9c845dad9f884cf80105871c458682fe2d9b4f0c6faba71b995b5a354b85ce0fdc5fbb2c0d8aedff630f955d73724b7ff40919b670b6 SHA512 1bf8f291f0ac8b85eefa845b67cece63df42f715d81b1d84fd5f63e2559854147db37396583d21672acaef2ebfa0f63696cc55b4d8944e45edac3dd85a8379c3 DIST xdg-desktop-portal-kde-5.27.4.1.tar.xz 139188 BLAKE2B 93b4b6d39cae50a96e5bbc8422071da8cc53bdb21de2f709957656b75f5e538f52b86ddb47c653ff7beb27ff4e2f96cfe700de4d179ebddaf616c4a460d24a5c SHA512 c5fa02bc3c4df8a06ba8c91f236e8542f65daa8e68db08cc13a8c0e814e585f043571744db6b56b963eca3c939d8efed5f4cb085d046101df29536433d1ca001 EBUILD xdg-desktop-portal-kde-5.26.5.ebuild 1283 BLAKE2B fb22c8574aab6b61568dd856203f88dd0508c741aab63651b5a5e73476c12466a1b578798a4b496538c207d8dc96cafe2bb841d4c20440a3008729bd0811904c SHA512 796fa58b213376814e65b8a5b8c8cf3fa4f3c4425d477f28579d53b222cdd75c317a121e382e7737a8c27353a592a4874035c036ac9620abd43558510c8f4c80 EBUILD xdg-desktop-portal-kde-5.27.3.ebuild 1632 BLAKE2B ea2011fca269a723c307b19e6a30cdab1fbead54827f53017d5504dd8a319d20a8430e14812df6a20af8124a16ab8f0bd2f8b7d534ea0dcd944f2e0ffda3c66d SHA512 aadd4705940396d3907fb8e752259af1ba2eef3485bd33e2d93bec8c60d9d301d98ac66046012d57feda685d7f57ce8fdd62f832e23f8c4471e4b0255637c5be -EBUILD xdg-desktop-portal-kde-5.27.4.1.ebuild 1632 BLAKE2B ea2011fca269a723c307b19e6a30cdab1fbead54827f53017d5504dd8a319d20a8430e14812df6a20af8124a16ab8f0bd2f8b7d534ea0dcd944f2e0ffda3c66d SHA512 aadd4705940396d3907fb8e752259af1ba2eef3485bd33e2d93bec8c60d9d301d98ac66046012d57feda685d7f57ce8fdd62f832e23f8c4471e4b0255637c5be +EBUILD xdg-desktop-portal-kde-5.27.4.1-r1.ebuild 1718 BLAKE2B 9a6e9b316ea5bab244b43f481e5233cb5a9981dfffb8e6ad50e0384bfa8900f0f8680217700faacd9e27b02443e2510a8647483b90f56d671e7c26bca762484b SHA512 e02ca4a1de4fcb447528951745305a153f3ff95778e32841bd89795ae12132595dd8fcc86686d916673636d1b4507e6ec8ddda77ce0dc4456a950cc0f61c12d6 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.27.4.1-dont-try-to-screencast-nullptr.patch b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.27.4.1-dont-try-to-screencast-nullptr.patch new file mode 100644 index 000000000000..85d71e3951dc --- /dev/null +++ b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.27.4.1-dont-try-to-screencast-nullptr.patch @@ -0,0 +1,36 @@ +From 58313fac8188163c9445bb9a212405412258ef5e Mon Sep 17 00:00:00 2001 +From: Aleix Pol Gonzalez <aleixpol@kde.org> +Date: Wed, 5 Apr 2023 16:36:48 +0000 +Subject: [PATCH] screencast: Don't try to screencast nullptr + +For some reason we were received an output that was null. Account for it +by notifying and outputing some more information in hopes of fixing it +soon. + +CCBUG: 467622 +--- + src/waylandintegration.cpp | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/src/waylandintegration.cpp b/src/waylandintegration.cpp +index c929b030..be6e19f7 100644 +--- a/src/waylandintegration.cpp ++++ b/src/waylandintegration.cpp +@@ -282,6 +282,14 @@ WaylandIntegration::Stream WaylandIntegration::WaylandIntegrationPrivate::startS + WaylandIntegration::Stream WaylandIntegration::WaylandIntegrationPrivate::startStreamingOutput(quint32 outputName, Screencasting::CursorMode mode) + { + auto output = m_outputMap.value(outputName).output(); ++ if (!output) { ++ qCWarning(XdgDesktopPortalKdeWaylandIntegration) << "Cannot stream, output not found" << outputName << m_outputMap.keys(); ++ auto notification = new KNotification(QStringLiteral("screencastfailure"), KNotification::CloseOnTimeout); ++ notification->setTitle(i18n("Failed to start screencasting")); ++ notification->setIconName(QStringLiteral("dialog-error")); ++ notification->sendEvent(); ++ return {}; ++ } + m_streamedScreenPosition = output->globalPosition(); + return startStreaming(m_screencasting->createOutputStream(output.data(), mode), + { +-- +GitLab + diff --git a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.27.4.1.ebuild b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.27.4.1-r1.ebuild index 73acc3e14c3d..425bf1a628cd 100644 --- a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.27.4.1.ebuild +++ b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.27.4.1-r1.ebuild @@ -57,3 +57,5 @@ BDEPEND=" >=dev-qt/qtwaylandscanner-${QTMIN}:5 virtual/pkgconfig " + +PATCHES=( "${FILESDIR}/${P}-dont-try-to-screencast-nullptr.patch" ) # KDE-bug 467622 |