public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/onefetch/
Date: Tue, 16 May 2023 05:08:17 +0000 (UTC)	[thread overview]
Message-ID: <1684201054.3f260fa5ce09ae8a1108ae887dae7d8ca5479111.ceamac@gentoo> (raw)

commit:     3f260fa5ce09ae8a1108ae887dae7d8ca5479111
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue May 16 01:37:34 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Tue May 16 01:37:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f260fa5

app-misc/onefetch: unbundle libgit2

* The libgit2-sys crate dynamically links to system lib, if provided,
  before falling back to building and statically linking it.

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-misc/onefetch/onefetch-2.17.1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app-misc/onefetch/onefetch-2.17.1.ebuild b/app-misc/onefetch/onefetch-2.17.1.ebuild
index d4fc3af15..1f9237876 100644
--- a/app-misc/onefetch/onefetch-2.17.1.ebuild
+++ b/app-misc/onefetch/onefetch-2.17.1.ebuild
@@ -432,7 +432,13 @@ PATCHES=(
 	"${FILESDIR}"/${P}-fix-missing-git-repo.patch
 )
 
+# libgit2-sys-${cver}+${sover} dynamically links to libgit2.so, if provided
+# check https://github.com/rust-lang/git2-rs/blob/libgit2-sys-${cver}%2B${sover}/libgit2-sys/build.rs
+# and Cargo.lock before dep bump
+DEPEND=">=dev-libs/libgit2-1.6.4 <dev-libs/libgit2-1.7.0"
+RDEPEND="${DEPEND}"
 BDEPEND="test? ( dev-vcs/git )"
+
 QA_FLAGS_IGNORED="usr/bin/onefetch"
 
 src_compile() {


             reply	other threads:[~2023-05-16  5:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-16  5:08 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-09 14:56 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/onefetch/ Lucio Sauer
2024-08-10 14:33 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-05-13 17:48 Julien Roy
2023-06-26 11:24 Andrew Ammerlaan
2023-05-16  5:08 Viorel Munteanu
2023-04-13  7:02 Florian Schmaus
2023-04-13  7:02 Florian Schmaus
2023-04-13  7:02 Florian Schmaus
2023-02-23  9:24 Viorel Munteanu
2023-02-23  9:24 Viorel Munteanu
2022-12-29 11:33 Florian Schmaus

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=1684201054.3f260fa5ce09ae8a1108ae887dae7d8ca5479111.ceamac@gentoo \
    --to=ceamac@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