From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 46D521381F3 for ; Sun, 12 May 2013 16:03:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 001EAE0A82; Sun, 12 May 2013 16:03:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 866F6E0A7F for ; Sun, 12 May 2013 16:03:08 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8171333BEC8 for ; Sun, 12 May 2013 16:03:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 30850E539D for ; Sun, 12 May 2013 16:03:03 +0000 (UTC) From: "Markos Chandras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markos Chandras" Message-ID: <1368374445.b105ca7cbfe2258c4f1e3c29e03adf4583af5e5b.hwoarang@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: general-concepts/slotting/ X-VCS-Repository: proj/devmanual X-VCS-Files: general-concepts/slotting/text.xml X-VCS-Directories: general-concepts/slotting/ X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras X-VCS-Revision: b105ca7cbfe2258c4f1e3c29e03adf4583af5e5b X-VCS-Branch: master Date: Sun, 12 May 2013 16:03:03 +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: 6d1ba6d0-f824-44d6-8aa9-c92018bd5350 X-Archives-Hash: 740e6cf77e48af08124cfd5d558e63a0 commit: b105ca7cbfe2258c4f1e3c29e03adf4583af5e5b Author: Markos Chandras gentoo org> AuthorDate: Sun May 12 16:00:45 2013 +0000 Commit: Markos Chandras gentoo org> CommitDate: Sun May 12 16:00:45 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=b105ca7c slotting: Add sub-slots carefully to avoid useless rebuilds Fixes bug #458838 --- general-concepts/slotting/text.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/general-concepts/slotting/text.xml b/general-concepts/slotting/text.xml index bbbfad4..96aa4fc 100644 --- a/general-concepts/slotting/text.xml +++ b/general-concepts/slotting/text.xml @@ -80,6 +80,15 @@ If an ebuild does not explicitly declare a sub-slot, the regular slot is used as the value of the sub-slot by default.

+ +Care must be taken when using sub-slots in a library ebuild for the first time. +Adding sub-slots will trigger rebuilds for all the packages that already use sub-slot +dependencies (e.g. Switching from SLOT="0" to SLOT="0/14" in media-libs/libpng and +package foo depends on libpng:0=). +Therefore, it's best if you start using sub-slots in the library when the existing library +interface changes. + +