From 20d7445cd5b4a81684ba19e5d73249da309dc022 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Wed, 31 Mar 2021 02:00:55 +0300 Subject: media-libs/gegl: Remove '-Dgraphviz=disable' option The media-gfx/graphiz is runtime checking for gegl(gegl::introcpect). As example this feature is optionally used at runtime as gegl feature of gimp menu "File - Debug - Show Image Graph" if graphviz is presented in system for >=media-gfx/gimp-2.99.4[debug]. Add optfeature.eclass log message. Closes: https://bugs.gentoo.org/758860 Signed-off-by: Sergey Torokhov Closes: https://github.com/gentoo/gentoo/pull/20206 Signed-off-by: Joonas Niilola --- media-libs/gegl/gegl-0.4.30.ebuild | 9 +++++---- media-libs/gegl/gegl-9999.ebuild | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'media-libs') diff --git a/media-libs/gegl/gegl-0.4.30.ebuild b/media-libs/gegl/gegl-0.4.30.ebuild index 5835159e6074..e99fb1c28e19 100644 --- a/media-libs/gegl/gegl-0.4.30.ebuild +++ b/media-libs/gegl/gegl-0.4.30.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{7..9} ) # vala and introspection support is broken, bug #468208 VALA_USE_DEPEND=vapigen -inherit meson gnome2-utils python-any-r1 vala +inherit meson gnome2-utils optfeature python-any-r1 vala if [[ ${PV} == *9999* ]]; then inherit git-r3 @@ -121,9 +121,6 @@ src_configure() { -Ddocs=false -Dexiv2=disabled -Dgdk-pixbuf=enabled - # - There are two checks for dot, one controllable by --with(out)-graphviz - # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. - -Dgraphviz=disabled -Djasper=disabled # - libspiro: not in portage main tree -Dlibspiro=disabled @@ -156,3 +153,7 @@ src_configure() { ) meson_src_configure } + +pkg_postinst() { + optfeature "'Show Image Graph' under GIMP[debug] menu 'File - Debug'" media-gfx/graphviz +} diff --git a/media-libs/gegl/gegl-9999.ebuild b/media-libs/gegl/gegl-9999.ebuild index 234914ee6fa1..31e6ad02e66d 100644 --- a/media-libs/gegl/gegl-9999.ebuild +++ b/media-libs/gegl/gegl-9999.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) VALA_USE_DEPEND=vapigen -inherit meson gnome2-utils python-any-r1 vala +inherit meson gnome2-utils optfeature python-any-r1 vala if [[ ${PV} == *9999* ]]; then inherit git-r3 @@ -111,9 +111,6 @@ src_configure() { -Ddocs=false -Dexiv2=disabled -Dgdk-pixbuf=enabled - # - There are two checks for dot, one controllable by --with(out)-graphviz - # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. - -Dgraphviz=disabled -Djasper=disabled # - libspiro: not in portage main tree -Dlibspiro=disabled @@ -146,3 +143,7 @@ src_configure() { ) meson_src_configure } + +pkg_postinst() { + optfeature "'Show Image Graph' under GIMP[debug] menu 'File - Debug'" media-gfx/graphviz +} -- cgit v1.2.3-65-gdbad