public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libiptcdata/
Date: Mon, 14 Oct 2024 01:03:30 +0000 (UTC)	[thread overview]
Message-ID: <1728867758.f043a66074d170b289ad0be21ce963236771e1cd.sam@gentoo> (raw)

commit:     f043a66074d170b289ad0be21ce963236771e1cd
Author:     Matthew White <mehw.is.me <AT> inventati <DOT> org>
AuthorDate: Sun Oct 13 09:59:53 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 01:02:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f043a660

media-libs/libiptcdata: add 1.0.5-r2 to fix compiling on Gentoo

Fix missing headers and libraries.

Compiling from inside the 'python' sub-directory doesn't set ${S} as
the top source directory, missing required headers and libraries.

[sam: Drop revbump.]

Closes: https://bugs.gentoo.org/936589
Closes: https://bugs.gentoo.org/941462
Package-Manager: portage-3.0.65-r1
Signed-off-by: Matthew White <mehw.is.me <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/38974
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild b/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild
index 6f51a051ba3e..d043c92b131f 100644
--- a/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild
+++ b/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild
@@ -41,6 +41,13 @@ src_prepare() {
 	eautoreconf
 	if use python; then
 		cd python || die
+		# Bug #936589: compiling from inside the 'python' sub-directory
+		# might set that as the top source directory, and not ${S}, but
+		# "${S}/libiptcdata" is required to find headers and libraries.
+		# Symbolic linking "../libiptcdata" is a possible fix.  Another
+		# way is adding in python/setup.py, under iptcdata's Extension,
+		# "include_dirs=['..']" and "library_dirs=['../libiptcdata']".
+		ln -s "../${PN}" . || die
 		distutils-r1_src_prepare
 	fi
 }


             reply	other threads:[~2024-10-14  1:03 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14  1:03 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-13 15:20 [gentoo-commits] repo/gentoo:master commit in: media-libs/libiptcdata/ Petr Vaněk
2024-07-31 19:14 Arthur Zamarin
2024-07-31 19:14 Arthur Zamarin
2024-07-31 19:14 Arthur Zamarin
2024-07-31 18:45 Sam James
2024-07-31 18:44 Sam James
2024-07-31 18:44 Sam James
2024-07-20  7:00 Joonas Niilola
2024-07-20  7:00 Joonas Niilola
2024-04-05 15:27 Arthur Zamarin
2023-03-01 13:46 Joonas Niilola
2022-12-05 17:24 WANG Xuerui
2021-05-24 18:52 Michał Górny
2020-09-19 11:28 Michał Górny
2020-09-07  8:20 Sergei Trofimovich
2020-09-04 14:05 Sam James
2020-09-04 10:31 Sergei Trofimovich
2020-09-04  2:23 Sam James
2020-09-03 14:29 Thomas Deutschmann
2020-02-26 11:49 Andreas Sturmlechner
2020-02-26 11:49 Andreas Sturmlechner
2019-05-23  3:27 Aaron Bauman
2017-07-29 12:34 Alexis Ballier
2017-02-18 19:47 Michał Górny
2016-12-20 15:51 Tobias Klausmann
2016-10-16 17:45 Tobias Klausmann

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=1728867758.f043a66074d170b289ad0be21ce963236771e1cd.sam@gentoo \
    --to=sam@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