public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/darktable/
Date: Thu, 18 Jun 2020 16:30:49 +0000 (UTC)	[thread overview]
Message-ID: <1592497747.10cc105b82d53d20fc48ba340ea0a99266df9cc7.marecki@gentoo> (raw)

commit:     10cc105b82d53d20fc48ba340ea0a99266df9cc7
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 18 14:52:38 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Jun 18 16:29:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10cc105b

media-gfx/darktable: if building with gcc, check for Graphite support

Closes: https://bugs.gentoo.org/695658
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-gfx/darktable/darktable-3.0.2-r1.ebuild | 7 ++++++-
 media-gfx/darktable/darktable-3.0.2.ebuild    | 7 ++++++-
 media-gfx/darktable/darktable-9999.ebuild     | 7 ++++++-
 3 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/media-gfx/darktable/darktable-3.0.2-r1.ebuild b/media-gfx/darktable/darktable-3.0.2-r1.ebuild
index 0d3a07d8b76..298560b890d 100644
--- a/media-gfx/darktable/darktable-3.0.2-r1.ebuild
+++ b/media-gfx/darktable/darktable-3.0.2-r1.ebuild
@@ -63,7 +63,6 @@ DEPEND="${COMMON_DEPEND}
 		>=sys-devel/clang-4
 		>=sys-devel/llvm-4
 	)
-	openmp? ( >=sys-devel/gcc-6[openmp,graphite] )
 "
 RDEPEND="${COMMON_DEPEND}
 	kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 )
@@ -77,6 +76,12 @@ PATCHES=(
 S="${WORKDIR}/${P/_/~}"
 
 pkg_pretend() {
+	# Bug #695658
+	if tc-is-gcc; then
+		test-flags-CC -floop-block &> /dev/null || \
+			die "Please switch to a gcc version built with USE=graphite"
+	fi
+
 	if use openmp ; then
 		tc-has-openmp || die "Please switch to an openmp compatible compiler"
 	fi

diff --git a/media-gfx/darktable/darktable-3.0.2.ebuild b/media-gfx/darktable/darktable-3.0.2.ebuild
index e35f592dbc5..1ab8842d12a 100644
--- a/media-gfx/darktable/darktable-3.0.2.ebuild
+++ b/media-gfx/darktable/darktable-3.0.2.ebuild
@@ -63,7 +63,6 @@ DEPEND="${COMMON_DEPEND}
 		>=sys-devel/clang-4
 		>=sys-devel/llvm-4
 	)
-	openmp? ( >=sys-devel/gcc-6[openmp,graphite] )
 "
 RDEPEND="${COMMON_DEPEND}
 	kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 )
@@ -77,6 +76,12 @@ PATCHES=(
 S="${WORKDIR}/${P/_/~}"
 
 pkg_pretend() {
+	# Bug #695658
+	if tc-is-gcc; then
+		test-flags-CC -floop-block &> /dev/null || \
+			die "Please switch to a gcc version built with USE=graphite"
+	fi
+
 	if use openmp ; then
 		tc-has-openmp || die "Please switch to an openmp compatible compiler"
 	fi

diff --git a/media-gfx/darktable/darktable-9999.ebuild b/media-gfx/darktable/darktable-9999.ebuild
index 6236b05ef1d..5fd513ae695 100644
--- a/media-gfx/darktable/darktable-9999.ebuild
+++ b/media-gfx/darktable/darktable-9999.ebuild
@@ -59,7 +59,6 @@ DEPEND="${COMMON_DEPEND}
 		>=sys-devel/clang-4
 		>=sys-devel/llvm-4
 	)
-	openmp? ( >=sys-devel/gcc-6[openmp,graphite] )
 "
 RDEPEND="${COMMON_DEPEND}
 	kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 )
@@ -70,6 +69,12 @@ PATCHES=(
 )
 
 pkg_pretend() {
+	# Bug #695658
+	if tc-is-gcc; then
+		test-flags-CC -floop-block &> /dev/null || \
+			die "Please switch to a gcc version built with USE=graphite"
+	fi
+
 	if use openmp ; then
 		tc-has-openmp || die "Please switch to an openmp compatible compiler"
 	fi


             reply	other threads:[~2020-06-18 16:30 UTC|newest]

Thread overview: 188+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18 16:30 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-01  1:11 [gentoo-commits] repo/gentoo:master commit in: media-gfx/darktable/ Sam James
2024-08-29 13:54 Markus Meier
2024-07-01  6:19 Markus Meier
2024-02-23 21:06 Markus Meier
2024-02-20 16:49 Markus Meier
2024-02-19 16:23 Markus Meier
2024-02-19 16:23 Markus Meier
2024-02-12 10:31 Sam James
2023-12-23 17:18 Arthur Zamarin
2023-12-23  7:15 Markus Meier
2023-08-21 14:56 Marek Szuba
2023-07-29 17:24 Marek Szuba
2023-07-02  8:32 Markus Meier
2023-06-29 10:22 Marek Szuba
2023-06-27 15:37 Markus Meier
2023-06-08 19:38 Andreas Sturmlechner
2023-05-18 12:17 Andreas Sturmlechner
2023-03-25 21:52 Marek Szuba
2023-03-25 21:50 Marek Szuba
2023-02-28 10:42 Marek Szuba
2023-02-26 12:44 Markus Meier
2023-01-08 22:08 Marek Szuba
2022-12-05 12:51 Marek Szuba
2022-12-02 23:30 Marek Szuba
2022-11-03 23:12 Marek Szuba
2022-09-26  1:01 Marek Szuba
2022-08-15 22:30 Sam James
2022-07-12 15:39 Marek Szuba
2022-06-04  3:59 Sam James
2022-06-04  3:58 Sam James
2022-05-16  8:12 David Seifert
2022-04-27 18:06 Arthur Zamarin
2022-04-10 22:19 Marek Szuba
2022-04-09 23:35 Marek Szuba
2022-04-09 23:35 Marek Szuba
2022-03-01 14:31 Marek Szuba
2022-02-24 14:04 Sam James
2022-02-12 21:02 Markus Meier
2022-01-28 14:45 Marek Szuba
2021-12-28 23:36 Marek Szuba
2021-12-28 23:36 Marek Szuba
2021-12-28 23:36 Marek Szuba
2021-12-28 23:36 Marek Szuba
2021-12-25 10:34 Markus Meier
2021-12-14 13:11 Marek Szuba
2021-11-27 21:53 Marek Szuba
2021-11-20 10:37 Marek Szuba
2021-11-20  7:02 Arthur Zamarin
2021-11-17 12:03 Marek Szuba
2021-11-17 11:55 Marek Szuba
2021-11-07 23:08 Sam James
2021-09-16 20:22 Marek Szuba
2021-09-16 20:19 Marek Szuba
2021-08-23  5:35 Sam James
2021-07-27 21:54 Marek Szuba
2021-07-27 13:49 Marek Szuba
2021-07-16 13:59 Marek Szuba
2021-07-06 20:22 Markus Meier
2021-05-23 15:00 Marek Szuba
2021-05-23 15:00 Marek Szuba
2021-05-07 12:15 Marek Szuba
2021-05-06 23:32 Sam James
2021-04-22 20:15 Sam James
2021-02-16 17:34 Conrad Kostecki
2021-02-15 13:28 Marek Szuba
2021-02-15 12:30 Marek Szuba
2021-02-15 12:26 Marek Szuba
2021-02-15  6:05 Sam James
2021-02-08 13:48 Marek Szuba
2021-02-03  3:12 Sam James
2020-12-26 23:18 Marek Szuba
2020-12-26 23:18 Marek Szuba
2020-12-24 17:39 Markus Meier
2020-12-24 13:54 Joonas Niilola
2020-12-24 13:10 Marek Szuba
2020-12-24 12:33 Marek Szuba
2020-12-24 12:28 Marek Szuba
2020-11-15  5:24 Sam James
2020-11-06 18:06 Marek Szuba
2020-11-03 10:55 Marek Szuba
2020-10-12 15:03 Marek Szuba
2020-09-30 15:41 Marek Szuba
2020-08-31 13:48 Marek Szuba
2020-08-31 13:48 Marek Szuba
2020-08-31 13:48 Marek Szuba
2020-08-10 18:08 Markus Meier
2020-07-27  1:48 Sam James
2020-06-18 19:27 Marek Szuba
2020-06-18 16:52 Markus Meier
2020-06-18 16:51 Marek Szuba
2020-06-18 16:30 Marek Szuba
2020-06-18 16:30 Marek Szuba
2020-06-18 16:30 Marek Szuba
2020-06-18 16:30 Marek Szuba
2020-06-18 12:36 Marek Szuba
2020-06-18 12:36 Marek Szuba
2020-06-17 18:48 Marek Szuba
2020-06-17 18:48 Marek Szuba
2020-04-18 20:36 Markus Meier
2020-03-15 19:43 Markus Meier
2019-12-25 18:33 Markus Meier
2019-12-25 13:26 Markus Meier
2019-12-25 13:18 Markus Meier
2019-10-10 18:57 Andreas Sturmlechner
2019-10-07  8:59 Agostino Sarubbo
2019-10-07  8:42 Agostino Sarubbo
2019-09-15 23:06 Andreas Sturmlechner
2019-05-04  4:08 Markus Meier
2019-03-20 17:05 Markus Meier
2019-03-20 14:16 Andreas Sturmlechner
2019-03-11  6:30 Michael Palimaka
2019-03-07  6:05 Markus Meier
2019-02-26 18:55 Markus Meier
2019-02-15 23:07 Andreas Sturmlechner
2019-02-15 23:07 Andreas Sturmlechner
2019-02-15 23:07 Andreas Sturmlechner
2019-02-12 20:38 Markus Meier
2018-12-25 13:46 Markus Meier
2018-12-15 12:37 Markus Meier
2018-10-19  8:51 Michał Górny
2018-06-11  8:13 Agostino Sarubbo
2018-06-08 10:31 Markus Meier
2018-04-29 17:06 Markus Meier
2018-04-20 19:43 David Seifert
2018-04-04 20:20 Markus Meier
2018-04-02 12:57 Gilles Dartiguelongue
2018-04-02 12:57 Gilles Dartiguelongue
2018-01-23 20:28 Andreas Sturmlechner
2018-01-23 19:13 Markus Meier
2017-12-29 12:12 Markus Meier
2017-12-29 12:05 Markus Meier
2017-12-26 23:31 Mikle Kolyada
2017-12-26  0:59 Thomas Deutschmann
2017-12-24 12:11 Markus Meier
2017-07-30  9:38 Michał Górny
2017-06-18  9:05 Markus Meier
2017-06-04 10:42 Agostino Sarubbo
2017-06-04 10:34 Agostino Sarubbo
2017-06-04  6:54 Markus Meier
2017-05-28  8:13 Andreas Sturmlechner
2017-05-07  8:31 Markus Meier
2017-05-07  8:31 Markus Meier
2017-05-06 17:20 Agostino Sarubbo
2017-05-06 13:26 Agostino Sarubbo
2017-05-06  7:40 Markus Meier
2017-02-25 19:42 Andreas Sturmlechner
2017-02-16 21:22 Markus Meier
2017-02-07  5:45 Johannes Huber
2017-02-05 13:48 Markus Meier
2017-01-17 17:22 Markus Meier
2017-01-04 17:09 Agostino Sarubbo
2017-01-04 16:56 Agostino Sarubbo
2017-01-02 18:14 Markus Meier
2017-01-02 18:11 Markus Meier
2017-01-02 18:10 Markus Meier
2017-01-01 16:32 Johannes Huber
2016-12-26 22:40 Markus Meier
2016-12-25  9:54 Markus Meier
2016-12-23 10:11 Johannes Huber
2016-12-18 17:02 Markus Meier
2016-12-17  7:12 Markus Meier
2016-12-06 19:41 Markus Meier
2016-11-26 10:07 Markus Meier
2016-10-26 20:21 Markus Meier
2016-10-26 20:21 Markus Meier
2016-09-07 14:01 Manuel Rüger
2016-08-12 19:32 Markus Meier
2016-08-12 19:12 Markus Meier
2016-07-06 20:06 Markus Meier
2016-07-06 19:51 Markus Meier
2016-05-09 22:17 Manuel Rüger
2016-05-09 22:17 Manuel Rüger
2016-03-29 20:34 Markus Meier
2016-03-08 21:11 Manuel Rüger
2016-03-08 21:11 Manuel Rüger
2016-02-05 18:58 Markus Meier
2016-01-08 18:09 Markus Meier
2016-01-08 17:54 Markus Meier
2016-01-07 21:16 Markus Meier
2016-01-07 21:16 Markus Meier
2015-12-07 10:02 Agostino Sarubbo
2015-12-05 12:53 Markus Meier
2015-12-05 12:50 Markus Meier
2015-11-21 15:39 Markus Meier
2015-11-21 15:33 Markus Meier
2015-11-21 14:44 Markus Meier
2015-10-25 19:37 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1592497747.10cc105b82d53d20fc48ba340ea0a99266df9cc7.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox