x11-libs/gtk+: subslot gtk+:3
authorNP-Hardass <NP-Hardass@gentoo.org>
Sat, 2 Jan 2016 01:11:48 +0000 (20:11 -0500)
committerNP-Hardass <NP-Hardass@gentoo.org>
Tue, 19 Jan 2016 02:02:29 +0000 (21:02 -0500)
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
x11-libs/gtk+/gtk+-3.18.5.ebuild
x11-libs/gtk+/gtk+-3.18.6.ebuild

index 3b97f905c9650af2b542edf910b93f1e1ea50608..946f93f8deda6f2453cf4fb06c02d9d3eb701a8e 100644 (file)
@@ -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 )
index f81b5fdd0941d42325dbaffb7eaaba7970a8923a..a4d5f9aa8a33a3c827814965c3f205e5f4bd5ccc 100644 (file)
@@ -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 )
index 1033f28097465dfe5d8643c2d2472397532d7ef3..8a40c383c7e25bae6bd093a2c79fe327132eccd6 100644 (file)
@@ -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 )