sci-mathematics/frama-c-*: force gtk USE to match frama-c core

Having frama-c[gtk] can cause problems if there are plugins compiled
with [-gtk]. It can also cause runtime issues.

Closes: https://bugs.gentoo.org/817314
Closes: https://bugs.gentoo.org/817365
Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com>
This commit is contained in:
François-Xavier Carton
2022-05-24 23:23:29 +02:00
parent 6f826a3a6d
commit e9083b7690
22 changed files with 46 additions and 46 deletions

View File

@@ -16,7 +16,7 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
# Eva is needed at runtime to run the callgraph plugin,
# but is not needed for compilation (and would introduce a mutual dependency)

View File

@@ -16,7 +16,7 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
# Eva is needed at runtime to run the callgraph plugin,
# but is not needed for compilation (and would introduce a mutual dependency)

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-loopanalysis-${PV}:=[ocamlopt?]
~sci-mathematics/frama-c-rtegen-${PV}:=[ocamlopt?]
~sci-mathematics/frama-c-server-${PV}:=[ocamlopt?]"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-loopanalysis-${PV}:=[ocamlopt?]
~sci-mathematics/frama-c-rtegen-${PV}:=[ocamlopt?]
~sci-mathematics/frama-c-server-${PV}:=[ocamlopt?]"

View File

@@ -16,9 +16,9 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-postdominators-${PV}:=[ocamlopt?]"
DEPEND="${RDEPEND}"

View File

@@ -16,9 +16,9 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-postdominators-${PV}:=[ocamlopt?]"
DEPEND="${RDEPEND}"

View File

@@ -16,11 +16,11 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-pdg-${PV}:=[ocamlopt?]
~sci-mathematics/frama-c-slicing-${PV}:=[gtk?,ocamlopt?]"
~sci-mathematics/frama-c-slicing-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/frama-c-${PV}-${NAME}"

View File

@@ -16,11 +16,11 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-pdg-${PV}:=[ocamlopt?]
~sci-mathematics/frama-c-slicing-${PV}:=[gtk?,ocamlopt?]"
~sci-mathematics/frama-c-slicing-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/frama-c-${PV}-${NAME}"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/frama-c-${PV}-${NAME}"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/frama-c-${PV}-${NAME}"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/frama-c-${PV}-${NAME}"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/frama-c-${PV}-${NAME}"

View File

@@ -16,7 +16,7 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/qed"

View File

@@ -16,7 +16,7 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/qed"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?]"
DEPEND="${RDEPEND}"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?]"
DEPEND="${RDEPEND}"

View File

@@ -16,9 +16,9 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-pdg-${PV}:=[ocamlopt?]
~sci-mathematics/frama-c-sparecode-${PV}:=[ocamlopt?]"
DEPEND="${RDEPEND}"

View File

@@ -16,9 +16,9 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-callgraph-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-pdg-${PV}:=[ocamlopt?]
~sci-mathematics/frama-c-sparecode-${PV}:=[ocamlopt?]"
DEPEND="${RDEPEND}"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/studia"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk?,ocamlopt?]"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/studia"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="coq gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-qed-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-qed-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-rtegen-${PV}:=[ocamlopt?]
>=sci-mathematics/why3-1.4.0
<sci-mathematics/why3-1.5.0"

View File

@@ -16,8 +16,8 @@ KEYWORDS="~amd64"
IUSE="coq gtk +ocamlopt"
RESTRICT="strip"
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk?,ocamlopt?]
~sci-mathematics/frama-c-qed-${PV}:=[gtk?,ocamlopt?]
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-qed-${PV}:=[gtk=,ocamlopt?]
~sci-mathematics/frama-c-rtegen-${PV}:=[ocamlopt?]
>=sci-mathematics/why3-1.4.0
<sci-mathematics/why3-1.5.0"