From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D1F81382C5 for ; Sun, 11 Apr 2021 08:09:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D72BE08EB; Sun, 11 Apr 2021 08:09:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53594E08EB for ; Sun, 11 Apr 2021 08:09:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43254340B4D for ; Sun, 11 Apr 2021 08:09:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F61E64D for ; Sun, 11 Apr 2021 08:09:19 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1618128526.20d7445cd5b4a81684ba19e5d73249da309dc022.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/gegl/gegl-0.4.30.ebuild media-libs/gegl/gegl-9999.ebuild X-VCS-Directories: media-libs/gegl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 20d7445cd5b4a81684ba19e5d73249da309dc022 X-VCS-Branch: master Date: Sun, 11 Apr 2021 08:09:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 11dd0702-be85-44a7-8d6d-4e35794da920 X-Archives-Hash: acd5220ee35efc6441e28f2f9914824f commit: 20d7445cd5b4a81684ba19e5d73249da309dc022 Author: Sergey Torokhov yandex ru> AuthorDate: Tue Mar 30 23:00:55 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Apr 11 08:08:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20d7445c 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 yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/20206 Signed-off-by: Joonas Niilola gentoo.org> media-libs/gegl/gegl-0.4.30.ebuild | 9 +++++---- media-libs/gegl/gegl-9999.ebuild | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/media-libs/gegl/gegl-0.4.30.ebuild b/media-libs/gegl/gegl-0.4.30.ebuild index 5835159e607..e99fb1c28e1 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 234914ee6fa..31e6ad02e66 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 +}