From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F0D7139085 for ; Mon, 30 Jan 2017 21:26:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0677E0C89; Mon, 30 Jan 2017 21:26:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7EAF3E0C89 for ; Mon, 30 Jan 2017 21:26:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C261E340F2A for ; Mon, 30 Jan 2017 21:26:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1285A3B58 for ; Mon, 30 Jan 2017 21:26:22 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1485811551.524641fa71cf2d5cdb9f5b2fdce919db256e5259.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ck-sources/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/ck-sources/Manifest sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild X-VCS-Directories: sys-kernel/ck-sources/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: 524641fa71cf2d5cdb9f5b2fdce919db256e5259 X-VCS-Branch: master Date: Mon, 30 Jan 2017 21:26:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 45ac7f67-6d7f-48c6-9791-7306ef108cea X-Archives-Hash: 47fbe0317cdb06aae3b3d47d4d0a14a1 commit: 524641fa71cf2d5cdb9f5b2fdce919db256e5259 Author: Sarah White gmail com> AuthorDate: Mon Jan 30 12:47:41 2017 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Mon Jan 30 21:25:51 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=524641fa sys-kernel/ck-sources: version bump (4.9.6-r1 = genpatches-4.9-8) The issue described by kernel.org commit history as follows: [...] Optimus/nouveau will fail in a mysterious way if the delayed event is handled as soon as possible like it is done in drm_helper_probe_single_connector_modes() in case the poll was enabled before. [...] Adding 1sec delay to the poll_work is enough to work around the issue in Optimus setups and gives shorter response on handling the initial delayed event. This is fixed by genpatches-4.9-8 Package-Manager: portage-2.3.3 sys-kernel/ck-sources/Manifest | 3 + sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild | 96 ++++++++++++++++++++++++ 2 files changed, 99 insertions(+) diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest index bba640b..48d92be 100644 --- a/sys-kernel/ck-sources/Manifest +++ b/sys-kernel/ck-sources/Manifest @@ -10,5 +10,8 @@ DIST genpatches-4.9-6.extras.tar.xz 17320 SHA256 66b927934de05fc70d710bddd961cea DIST genpatches-4.9-7.base.tar.xz 215044 SHA256 87c72bbc3de0e50de603a07a6ccafe1669c95f504bca374ce088ba51e778e314 SHA512 f3abc38f059cd751f08fe8ae95f1dfa6288d2985d288d88a60712b0c6fcf4972a9b206f89c4dc5e541302305a1a5d1b98630e6e1b05c5d279cf089c92270bb55 WHIRLPOOL 3d99324e40e20887e96069f5f2719dae204349d2e267571a59a2617033775acc549a3400829245692ff5d835221d0b9f3a5f0ef09b386794ae9cd8da5a2936d4 DIST genpatches-4.9-7.experimental.tar.xz 105608 SHA256 217098bec005a1410b2dc1435841c2fc96d9f6022dd2973512d1b0f36e3c20d5 SHA512 69546bc1d846697179aa287a4d1b708b962c0cdcf14b16acb4c696e8ffa38983a679d0f28c2d5df68046c68cc655add1c54c97bfa22f5867d9bba93612e67e2b WHIRLPOOL 7fddabf8821a18607f765948457a44c689b3c527f2f630f1c3af614c8ba244663ed5d03dbaa5af27885d2d708069fa5f94b1c19aa23512806714522973371a59 DIST genpatches-4.9-7.extras.tar.xz 17300 SHA256 ba08353081cf07a73fb2a5b998c8dadeb94f6ede09ac177f2357925de9f50dd4 SHA512 18ab24c59adc73bab4a49bc5537333ac6a7d11801afce8943ef42878d8b33341648b64d9fbc56be3a49fe6d9ec7728186eb40a348eedfb0b14ee1f5746e0ab4b WHIRLPOOL b352654885c3180a5599bc0a0acc3f9a3828d75ca5ef4a83c49258ca263822b02d974e273071bf913c82a919c4cdbc9283cee9b81edbc40ce640c11f7ad0775d +DIST genpatches-4.9-8.base.tar.xz 215420 SHA256 4bbde563b43389798188b75c7e65412aaf5300348efeda63071cbd56f1e275e6 SHA512 12641d4a11a8a4d40f16b9d0c62972de2baadc13481697c69a91a2b36844293f4edf207491ae087ce3378bdd0400856070e353c291f34d1cad02d3e3a6c73a36 WHIRLPOOL 98d63bb42729eb8518c6ea4a15cee2a41fe59a9f299bdde9ce86825bd3c563665a95da841b06817e3a4616fd38592737ad502173aa33a0b9eacd3fb31a42956d +DIST genpatches-4.9-8.experimental.tar.xz 105608 SHA256 217098bec005a1410b2dc1435841c2fc96d9f6022dd2973512d1b0f36e3c20d5 SHA512 69546bc1d846697179aa287a4d1b708b962c0cdcf14b16acb4c696e8ffa38983a679d0f28c2d5df68046c68cc655add1c54c97bfa22f5867d9bba93612e67e2b WHIRLPOOL 7fddabf8821a18607f765948457a44c689b3c527f2f630f1c3af614c8ba244663ed5d03dbaa5af27885d2d708069fa5f94b1c19aa23512806714522973371a59 +DIST genpatches-4.9-8.extras.tar.xz 17300 SHA256 ba08353081cf07a73fb2a5b998c8dadeb94f6ede09ac177f2357925de9f50dd4 SHA512 18ab24c59adc73bab4a49bc5537333ac6a7d11801afce8943ef42878d8b33341648b64d9fbc56be3a49fe6d9ec7728186eb40a348eedfb0b14ee1f5746e0ab4b WHIRLPOOL b352654885c3180a5599bc0a0acc3f9a3828d75ca5ef4a83c49258ca263822b02d974e273071bf913c82a919c4cdbc9283cee9b81edbc40ce640c11f7ad0775d DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a DIST patch-4.9-ck1.xz 165624 SHA256 5b9d8f4ef73f87e8595de66ccc38bad86e290fd9453bd536b9cc950f5344b82d SHA512 335f83b8f77c4c2c304db74268eae895ec53611b2cb5ed45a9c6e7f9c7ac37c2eba7cc714d49504ae29cc44c448aa873b52eb332fe91d4e6dbbdd2a175aab252 WHIRLPOOL fdf01a45ad028095d0c91105975724bf19eeb2ddd380f20465357748d3f4a22d73de9fc408473d9d1fb988a6956edcebd0269ff105d3392a82b96e48566aeea5 diff --git a/sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild new file mode 100644 index 00000000..c15a4cf --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" + +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ + http://users.tpg.com.au/ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="8" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +inherit kernel-2 +detect_version +detect_arch + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches for Linux ${K_BRANCH_ID}" + +#-- If Gentoo-Sources don't follow then extra incremental patches are needed - + +XTRA_INCP_MIN="" +XTRA_INCP_MAX="" + +#-- + +CK_VERSION="1" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz" + +CK_BASE_URL="http://ck.kolivas.org/patches/4.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" + +# solves bug #606866 (Fix build for CONFIG_FREEZER disabled.x) +FRZR_HASH="7de569950716147ed436b27936628ee3ab5b45cc" +FRZR_FILE="${PN}-4.9-freezer-fix.patch" +FRZR_URI="https://github.com/ckolivas/linux/commit/${FRZR_HASH}.patch -> ${FRZR_FILE}" + +#-- Build extra incremental patches list -------------------------------------- + +LX_INCP_URI="" +LX_INCP_LIST="" +if [ -n "${XTRA_INCP_MIN}" ]; then + LX_INCP_URL="${KERNEL_BASE_URI}/incr" + for i in `seq ${XTRA_INCP_MIN} ${XTRA_INCP_MAX}`; do + LX_INCP[i]="patch-${K_BRANCH_ID}.${i}-$(($i+1)).bz2" + LX_INCP_URI="${LX_INCP_URI} ${LX_INCP_URL}/${LX_INCP[i]}" + LX_INCP_LIST="${LX_INCP_LIST} ${DISTDIR}/${LX_INCP[i]}" + done +fi + +#-- CK needs sometimes to patch itself... --------------------------- + +CK_INCP_URI="" +CK_INCP_LIST="" + +#-- Local patches needed for the ck-patches to apply smoothly ------- + +PRE_CK_FIX="" +POST_CK_FIX="" + +#-- + +SRC_URI="${KERNEL_URI} ${LX_INCP_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_INCP_URI} ${CK_URI} ${FRZR_URI}" + +UNIPATCH_LIST="${LX_INCP_LIST} ${PRE_CK_FIX} ${DISTDIR}/${CK_FILE} ${CK_INCP_LIST} ${POST_CK_FIX} ${DISTDIR}/${FRZR_FILE}" +UNIPATCH_STRICTORDER="yes" + +#-- Starting with 4.8, CK patches include BFQ, so exclude genpatches experimental BFQ patches - + +K_EXP_GENPATCHES_LIST="5010_*.patch*" + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + # linux-info eclass cannot handle recursively expanded variables in Makefile #490328 + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" || die +} + +pkg_postinst() { + + kernel-2_pkg_postinst + + elog + elog "For more info on this patchset, see: https://forums.gentoo.org/viewtopic-t-941030-start-0.html" + elog +}