Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gping: build against system libgit2 #49676

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

icp1994
Copy link
Contributor

@icp1994 icp1994 commented Apr 2, 2024

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture: x86_64

Although it doesn't actually link against libgit2.so

@tranzystorekk
Copy link
Contributor

We could alternatively patch Cargo.toml to disable git2 from the shadow-rs crate, especially since there's no git repo to inspect after all.

@icp1994
Copy link
Contributor Author

icp1994 commented Apr 3, 2024

Those patches get annoying to carry over versions. I sent a patch upstream for now.

build_style=cargo
make_install_args="--path gping"
hostmakedepends="pkg-config libgit2-devel"
makedepends="libgit2-devel"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it's just the build script then we need only hostmakedepends

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried that, didn't work for cross. It's not only for build, also in main.

@icp1994
Copy link
Contributor Author

icp1994 commented Apr 3, 2024

Drafting for now since patch release is coming upstream in a couple days with removed dep on libgit2.

@icp1994 icp1994 marked this pull request as draft April 3, 2024 13:39
@tranzystorekk tranzystorekk mentioned this pull request May 3, 2024
@Piraty
Copy link
Member

Piraty commented May 26, 2024

ping

@tranzystorekk tranzystorekk mentioned this pull request Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants