From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1537122-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 13B2D15800A
	for <garchives@archives.gentoo.org>; Thu, 13 Jul 2023 08:25:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 31DEFE08A0;
	Thu, 13 Jul 2023 08:25:56 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1865AE08A0
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Jul 2023 08:25:55 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D3663335D58
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Jul 2023 08:25:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F0FB7A99
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Jul 2023 08:25:52 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1689236721.d7aad12bcff9ee2bc6da480847d8415b83415401.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-gfx/gimp/gimp-9999.ebuild
X-VCS-Directories: media-gfx/gimp/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: d7aad12bcff9ee2bc6da480847d8415b83415401
X-VCS-Branch: master
Date: Thu, 13 Jul 2023 08:25:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 4b7d9324-aa50-4d39-b983-12dee4ba68f1
X-Archives-Hash: 48b2fd5791f6c631a7a3bb8422565e84

commit:     d7aad12bcff9ee2bc6da480847d8415b83415401
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Fri Jun 30 21:34:13 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 13 08:25:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7aad12b

media-gfx/gimp: 9999.ebuild. Pass LD_LIBRARY_PATH for src_test() phase.

While running the tests the gimp:2.99 tries to link system
libgimp-3.0.so if gimp:2.99 is already installed.
If system libgimp-3.0 has old GIMP API then it causes some tests fail.
The proposed changes should fix this problem.

Closes: https://bugs.gentoo.org/867856
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/31683
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/gimp/gimp-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild
index 876a775bc120..182c61c4e356 100644
--- a/media-gfx/gimp/gimp-9999.ebuild
+++ b/media-gfx/gimp/gimp-9999.ebuild
@@ -215,6 +215,11 @@ _rename_plugins() {
 	)
 }
 
+src_test() {
+	local -x LD_LIBRARY_PATH="${BUILD_DIR}/libgimp:${LD_LIBRARY_PATH}"
+	meson_src_test
+}
+
 src_install() {
 	meson_src_install