Gentoo Archives: gentoo-dev

From: Mike Pagano <mpagano@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH 1/1] kernel-2.eclass: Remove kdbus support as it is, discontinued. First reported in bug #576614 by jon R-B
Date: Thu, 15 Dec 2016 00:23:29
Message-Id: 154a4137-a32e-3f3b-43bb-26f4c713b302@gentoo.org
1 kdbus is discontinued and is being reworked upstream as a different
2 effort with a different name.
3 That said, remove unused kdbus support from the kernel eclass.
4
5 ---
6 eclass/kernel-2.eclass | 18 ------------------
7 1 file changed, 18 deletions(-)
8
9 diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
10 index 2b4f21c..424aa03 100644
11 --- a/eclass/kernel-2.eclass
12 +++ b/eclass/kernel-2.eclass
13 @@ -156,13 +156,6 @@
14 # in the long term directories on the upstream servers
15 # as the location has been changed by upstream
16
17 -# @ECLASS-VARIABLE: K_KDBUS_AVAILABLE
18 -# @DEFAULT_UNSET
19 -# @DESCRIPTION:
20 -# If set, the ebuild contains the option of installing the
21 -# kdbus patch. This patch is not installed without the 'kdbus'
22 -# and 'experimental' use flags.
23 -
24 # @ECLASS-VARIABLE: H_SUPPORTEDARCH
25 # @DEFAULT_UNSET
26 # @DESCRIPTION:
27 @@ -610,10 +603,6 @@ if [[ ${ETYPE} == sources ]]; then
28 DESCRIPTION="Sources based on the Linux Kernel."
29 IUSE="symlink build"
30
31 - if [[ -n ${K_KDBUS_AVAILABLE} ]]; then
32 - IUSE="${IUSE} kdbus"
33 - fi
34 -
35 # Bug #266157, deblob for libre support
36 if [[ -z ${K_PREDEBLOBBED} ]] ; then
37 # Bug #359865, force a call to detect_version if needed
38 @@ -1246,13 +1235,6 @@ unipatch() {
39 UNIPATCH_DROP+="
40 5000_enable-additional-cpu-optimizations-for-gcc.patch"
41 fi
42 fi
43 -
44 - # if kdbus use flag is not set, drop the kdbus patch
45 - if [[ $UNIPATCH_DROP != *"5015_kdbus*.patch"* ]]; then
46 - if ! has kdbus ${IUSE} || ! use kdbus; then
47 - UNIPATCH_DROP="${UNIPATCH_DROP} 5015_kdbus*.patch"
48 - fi
49 - fi
50 fi
51 done
52
53 --
54 2.10.2

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies