public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/rav1e/
Date: Thu, 21 Mar 2024 07:24:40 +0000 (UTC)	[thread overview]
Message-ID: <1711005804.9641aebf3905c80e32c0007b8f45e996fa0276aa.ionen@gentoo> (raw)

commit:     9641aebf3905c80e32c0007b8f45e996fa0276aa
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 21 07:12:53 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 07:23:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9641aebf

media-video/rav1e: fix build with >=libgit2-1.8.0

libgit2-sys crate has a upper bound for <1.8.0 and refuses
to build otherwise, but not seeing(?) any issues with it.

Just a quick emergency fix, will likely be fixed next libgit2-sys
version. Kept full version in the sed's path rather than a glob
to force re-checking this when the crate is bumped.

Alternatively could drop LIBGIT2_NO_VENDOR or set an upper bound
in RDEPEND, but does not seem necessary.

Note 9999 is still broken albeit hopefully the crate will just be
fixed upstream in time. 9999 users could keep old libgit2 meanwhile.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-video/rav1e/rav1e-0.7.1.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/media-video/rav1e/rav1e-0.7.1.ebuild b/media-video/rav1e/rav1e-0.7.1.ebuild
index 306e34120246..23fc76363178 100644
--- a/media-video/rav1e/rav1e-0.7.1.ebuild
+++ b/media-video/rav1e/rav1e-0.7.1.ebuild
@@ -281,6 +281,14 @@ src_unpack() {
 	fi
 }
 
+src_prepare() {
+	default
+
+	# libgit2-sys unnecessarily(?) requests <libgit2-1.8.0, bump to 2 for now
+	sed -e '/range_version/s/1\.8\.0/2/' \
+		-i "${ECARGO_VENDOR}"/libgit2-sys-0.16.1+1.7.1/build.rs || die
+}
+
 src_compile() {
 	# used by build script to get rav1e repository info
 	export LIBGIT2_NO_VENDOR=1


             reply	other threads:[~2024-03-21  7:24 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21  7:24 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-04  7:20 [gentoo-commits] repo/gentoo:master commit in: media-video/rav1e/ Sam James
2024-03-04  7:17 Arthur Zamarin
2024-03-04  7:17 Arthur Zamarin
2024-03-04  7:17 Arthur Zamarin
2024-03-04  7:12 Sam James
2024-03-04  5:47 Sam James
2024-03-04  5:47 Sam James
2024-02-02  5:13 Sam James
2024-02-02  5:13 Sam James
2023-11-27 11:23 Sam James
2023-10-30  8:58 Sam James
2023-09-07 23:27 Sam James
2023-09-07 20:53 Sam James
2023-09-07 20:53 Sam James
2023-07-20 10:16 WANG Xuerui
2023-07-20 10:16 WANG Xuerui
2023-05-31  7:00 Sam James
2023-05-10 23:37 Sam James
2023-03-25 12:55 Arthur Zamarin
2023-02-11  2:36 Sam James
2023-02-11  2:21 Sam James
2023-01-23  3:29 Sam James
2022-11-12 17:48 Matt Turner
2022-05-05 16:48 Jakov Smolić
2022-02-19  0:37 Sam James
2022-02-18 17:54 Sam James
2022-02-18  7:03 Arthur Zamarin
2022-02-18  3:36 Sam James
2021-12-26  0:23 Sam James
2021-12-26  0:23 Sam James
2021-12-25 19:08 Arthur Zamarin
2021-12-25 19:08 Arthur Zamarin
2021-12-25 18:47 Arthur Zamarin
2021-12-24  6:14 Sam James
2021-12-24  5:56 Sam James
2021-12-24  5:56 Sam James
2021-09-12 22:57 Sam James
2021-09-12 22:57 Sam James
2021-08-02 16:42 Marek Szuba
2021-07-29 17:11 Luca Barbato
2021-05-09 21:44 Sam James
2021-05-09 10:57 Sam James
2021-05-09  7:48 Sam James
2021-05-09  7:48 Sam James
2021-05-09  7:46 Sam James
2021-04-02 18:32 Luca Barbato
2021-02-19 16:22 Sam James
2021-02-18 23:25 Sam James
2021-02-18 17:14 Sam James
2021-02-18 17:14 Sam James
2021-02-18 17:12 Sam James
2021-02-15  5:49 Sam James
2021-02-15  5:35 Sam James
2021-02-15  0:38 Sam James
2021-02-03  0:20 Sam James
2021-02-01 13:33 Sam James
2021-02-01 13:31 Sam James
2021-01-13 17:54 Luca Barbato
2021-01-01  0:00 Sam James
2020-12-20 16:40 Thomas Deutschmann
2020-12-18 14:22 Sam James
2020-12-18 10:25 Sergei Trofimovich
2020-12-17 16:41 Agostino Sarubbo
2020-12-17  6:09 Sam James
2020-10-13  0:10 Thomas Deutschmann
2020-10-09  8:36 Agostino Sarubbo
2020-10-08  2:30 Sam James
2020-10-07 20:16 Sam James
2020-10-07 18:52 Sam James
2020-10-07 18:50 Sam James
2020-07-19 15:48 Sam James
2020-07-13 22:17 Georgy Yakovlev
2020-07-13 22:17 Georgy Yakovlev
2020-07-12  1:51 Sam James
2020-07-10 12:30 Thomas Deutschmann
2020-07-04 21:55 Mart Raudsepp
2020-07-02 12:50 Alexis Ballier
2020-07-02 12:50 Alexis Ballier
2020-04-06 13:02 Luca Barbato
2019-11-20 14:07 Luca Barbato

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=1711005804.9641aebf3905c80e32c0007b8f45e996fa0276aa.ionen@gentoo \
    --to=ionen@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