kernel-2.eclass: Remove kdbus support as it is discontinued. First reported in bug...
authorMike Pagano <mpagano@gentoo.org>
Thu, 15 Dec 2016 23:37:28 +0000 (18:37 -0500)
committerMike Pagano <mpagano@gentoo.org>
Thu, 15 Dec 2016 23:37:28 +0000 (18:37 -0500)
eclass/kernel-2.eclass

index 2b4f21cd283fd7d9ebbf1005a6733083da6cf296..424aa03d01ecd8c6b32e6c04a5796d939f1ec501 100644 (file)
 # 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