Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919441 - [kde overlay] kde-plasma/kwin-9999 gstreamer optional patch error
Summary: [kde overlay] kde-plasma/kwin-9999 gstreamer optional patch error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-08 09:50 UTC by Rachid Achellal
Modified: 2023-12-09 15:29 UTC (History)
0 users

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 Rachid Achellal 2023-12-08 09:50:49 UTC
There is a issue with the gstreamer optional patch.

>>> Source unpacked in /var/tmp/portage/kde-plasma/kwin-9999/work
>>> Preparing source in /var/tmp/portage/kde-plasma/kwin-9999/work/kwin-9999 ...
Source directory (CMAKE_USE_DIR): "/var/tmp/portage/kde-plasma/kwin-9999/work/kwin-9999"
Build directory  (BUILD_DIR):     "/var/tmp/portage/kde-plasma/kwin-9999/work/kwin-9999_build"
Applying kwin-5.90.0-gstreamer-optional.patch ...
patching file src/kcms/effects/ui/Effect.qml
Hunk #1 FAILED at 122.
1 out of 1 hunk FAILED -- saving rejects to file src/kcms/effects/ui/Effect.qml.rej

ERROR: kde-plasma/kwin-9999::kde failed (prepare phase):
patch -p1  failed with /var/tmp/portage/kde-plasma/kwin-9999/files/kwin-5.90.0-gstreamer-optional.patch
 
Call stack:
               ebuild.sh, line  136:  Called src_prepare
             environment, line 3194:  Called eapply '/var/tmp/portage/kde-plasma/kwin-9999/files/kwin-5.90.0-gstreamer-optional.patch'
             environment, line 1601:  Called _eapply_patch '/var/tmp/portage/kde-plasma/kwin-9999/files/kwin-5.90.0-gstreamer-optional.patch'
             environment, line 1539:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/kde-plasma/kwin-9999/files/kwin-5.90.0-gstreamer-optional.patch'
   isolated-functions.sh, line  112:  Called die
 The specific snippet of code:
   		die "$@"
 
f you need support, post the output of `emerge --info '=kde-plasma/kwin-9999::kde'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=kde-plasma/kwin-9999::kde'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/kde-plasma/kwin-9999/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/kde-plasma/kwin-9999/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/kde-plasma/kwin-9999/work/kwin-9999'
[31;01m*[0m S: '/var/tmp/portage/kde-plasma/kwin-9999/work/kwin-9999'

has context menu



Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2023-12-08 20:37:54 UTC
KDE Plasma live is not functional at the moment. Fix it if you can! ;)
Comment 2 Rachid Achellal 2023-12-09 12:47:27 UTC
In the version Kwin-5.90 is the following part removed.

Kirigami.SwipeListItem {
    id: listItem
    hoverEnabled: true
    onClicked: {
        if (view.currentIndex == index) {
            // Collapse list item
            view.currentIndex = -1;
        } else {
            // Expand list item
            view.currentIndex = index;
        }
    }


Is the patch still needed?
Comment 3 Rachid Achellal 2023-12-09 14:55:02 UTC
It downloads from the master and there was a change few days ago.
https://invent.kde.org/plasma/kwin/-/commit/a26e66be4bd42fabdc42ef88690012cc0ae26744.
Comment 4 Larry the Git Cow gentoo-dev 2023-12-09 15:28:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=15556e54516373e3c56d2729c273d2768d5bbf1e

commit 15556e54516373e3c56d2729c273d2768d5bbf1e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-12-09 15:27:16 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-12-09 15:28:12 +0000

    kde-plasma/kwin: Rebase gstreamer-optional.patch on top of HEAD
    
    Broken by upstream commit a26e66be4bd42fabdc42ef88690012cc0ae26744
    
    Closes: https://bugs.gentoo.org/919441
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...ptional.patch => kwin-5.90.90-gstreamer-optional.patch} | 14 +++++++-------
 kde-plasma/kwin/kwin-9999.ebuild                           |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)