From 05931a88070e9650340541be7c057aac49d2bda2 Mon Sep 17 00:00:00 2001 From: NP-Hardass Date: Fri, 1 Jan 2016 20:11:48 -0500 Subject: [PATCH] x11-libs/gtk+: subslot gtk+:3 The goal of this subslot is to allow other packages to determine what minor version of gtk+:3 is installed so that they can operate accordingly. This functionality is extremely desirable as there are often incompatible changes between gtk+:3 branches. This functionality enables an ebuild to make decisions based on the branch via has_version or best_version queries during phases. The best way to take advantage of this functionality is DEPEND="x11-libs/gtk+:3=" or similar. This has the obvious issue that there is no guarantee that the subslot will be consistent throughout the phases of the ebuild, however, because of the subslot rebuild operator, the package manager should force rebuilding ebuild in question. Package-Manager: portage-2.2.25 --- x11-libs/gtk+/gtk+-3.16.7.ebuild | 4 ++-- x11-libs/gtk+/gtk+-3.18.5.ebuild | 4 ++-- x11-libs/gtk+/gtk+-3.18.6.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/x11-libs/gtk+/gtk+-3.16.7.ebuild b/x11-libs/gtk+/gtk+-3.16.7.ebuild index 9a03e28..8844d04 100644 --- a/x11-libs/gtk+/gtk+-3.16.7.ebuild +++ b/x11-libs/gtk+/gtk+-3.16.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -12,7 +12,7 @@ DESCRIPTION="Gimp ToolKit +" HOMEPAGE="http://www.gtk.org/" LICENSE="LGPL-2+" -SLOT="3" +SLOT="3/3.16" IUSE="aqua broadway cloudprint colord cups examples +introspection test vim-syntax wayland X xinerama" REQUIRED_USE=" || ( aqua wayland X ) diff --git a/x11-libs/gtk+/gtk+-3.18.5.ebuild b/x11-libs/gtk+/gtk+-3.18.5.ebuild index d267068..8e00ba5 100644 --- a/x11-libs/gtk+/gtk+-3.18.5.ebuild +++ b/x11-libs/gtk+/gtk+-3.18.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -12,7 +12,7 @@ DESCRIPTION="Gimp ToolKit +" HOMEPAGE="http://www.gtk.org/" LICENSE="LGPL-2+" -SLOT="3" +SLOT="3/3.18" IUSE="aqua broadway cloudprint colord cups examples +introspection test vim-syntax wayland X xinerama" REQUIRED_USE=" || ( aqua wayland X ) diff --git a/x11-libs/gtk+/gtk+-3.18.6.ebuild b/x11-libs/gtk+/gtk+-3.18.6.ebuild index c748c13..5c933a7 100644 --- a/x11-libs/gtk+/gtk+-3.18.6.ebuild +++ b/x11-libs/gtk+/gtk+-3.18.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -12,7 +12,7 @@ DESCRIPTION="Gimp ToolKit +" HOMEPAGE="http://www.gtk.org/" LICENSE="LGPL-2+" -SLOT="3" +SLOT="3/3.18" IUSE="aqua broadway cloudprint colord cups examples +introspection test vim-syntax wayland X xinerama" REQUIRED_USE=" || ( aqua wayland X ) -- 2.6.4