kdbus is discontinued and is being reworked upstream as a different
effort with a different name.
That said, remove unused kdbus support from the kernel eclass.

---
 eclass/kernel-2.eclass | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 2b4f21c..424aa03 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -156,13 +156,6 @@
 # in the long term directories on the upstream servers
 # as the location has been changed by upstream

-# @ECLASS-VARIABLE:  K_KDBUS_AVAILABLE         
-# @DEFAULT_UNSET
-# @DESCRIPTION:
-# If set, the ebuild contains the option of installing the
-# kdbus patch.  This patch is not installed without the 'kdbus'
-# and 'experimental' use flags.
-
 # @ECLASS-VARIABLE:  H_SUPPORTEDARCH           
 # @DEFAULT_UNSET
 # @DESCRIPTION:
@@ -610,10 +603,6 @@ if [[ ${ETYPE} == sources ]]; then
        DESCRIPTION="Sources based on the Linux Kernel."
        IUSE="symlink build"

-       if [[ -n ${K_KDBUS_AVAILABLE} ]]; then
-               IUSE="${IUSE} kdbus"
-       fi
-
        # Bug #266157, deblob for libre support
        if [[ -z ${K_PREDEBLOBBED} ]] ; then
                # Bug #359865, force a call to detect_version if needed
@@ -1246,13 +1235,6 @@ unipatch() {
                                        UNIPATCH_DROP+="
5000_enable-additional-cpu-optimizations-for-gcc.patch"
                                fi
                        fi
-
-                       # if kdbus use flag is not set, drop the kdbus patch
-            if [[ $UNIPATCH_DROP != *"5015_kdbus*.patch"* ]]; then
-                               if ! has kdbus ${IUSE} ||  ! use kdbus; then
-                                       UNIPATCH_DROP="${UNIPATCH_DROP} 
5015_kdbus*.patch"
-                               fi
-                       fi
                fi
        done

-- 
2.10.2


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to