aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2009-10-10 14:21:40 -0400
committerJonathan Callen <abcd@gentoo.org>2009-10-10 14:21:40 -0400
commit0ce344a73cfe056a4a3a1bdd7b738bed7ac51d5a (patch)
tree55d8a4a3e16adc020b78077ed9d5aa2dc446e435 /Documentation/CODE
parent[app-office/skrooge] Update ebuilds. (diff)
downloadkde-0ce344a73cfe056a4a3a1bdd7b738bed7ac51d5a.tar.gz
kde-0ce344a73cfe056a4a3a1bdd7b738bed7ac51d5a.tar.bz2
kde-0ce344a73cfe056a4a3a1bdd7b738bed7ac51d5a.zip
[Documentation/CODE] Add examples of add_blocker usage
Diffstat (limited to 'Documentation/CODE')
-rw-r--r--Documentation/CODE19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/CODE b/Documentation/CODE
index 10423ea217..1e78b0f37c 100644
--- a/Documentation/CODE
+++ b/Documentation/CODE
@@ -54,6 +54,25 @@ KDE4 (kde-testing) policies:
- use the add_blocker function to add blocks. This ensures that the blocks are only added to RDEPEND.
+Examples:
+
+ # Block all versions of kdelibs <=4.1.80
+ add_blocker kdelibs 4.1.80
+
+ # Block all versions of kdelibs <4.2.0
+ add_blocker kdelibs '<4.2.0'
+
+ # Block all versions of kdelibs <=4.2.80 or <=4.3.2 or <4.3.65 or <=9999, depending on SLOT
+ add_blocker kdelibs 4.2.80 4.3.2:4.3 '<4.3.65:4.4' 9999:live
+
+ # Block all versions of kde-menu (replaced by kdebase-menu)
+ add_blocker kde-menu
+
+ # Block all versions of kdelibs in slot :4.1 or prior
+ add_blocker kdelibs 4.1.50
+
+ For more details, read the comments in kde4-functions.eclass
+
- comment any new blockers you add