* [PR PATCH] cargo-c: update to 0.10.5
@ 2024-10-18 18:14 tranzystorekk
2024-10-20 23:39 ` oreo639
2024-10-21 5:07 ` [PR PATCH] [Merged]: " tranzystorekk
0 siblings, 2 replies; 3+ messages in thread
From: tranzystorekk @ 2024-10-18 18:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]
There is a new pull request by tranzystorekk against master on the void-packages repository
https://github.com/tranzystorekk/void-packages cargo-c
https://github.com/void-linux/void-packages/pull/52679
cargo-c: update to 0.10.5
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
@oreo639 I thought I'd kill two birds with one stone (the ugly git2 vendor and the time crate regression)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/52679.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cargo-c-52679.patch --]
[-- Type: text/x-diff, Size: 3163 bytes --]
From d4ee43f841c79d97f13acb2cbecaa3d80acf7265 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 18 Oct 2024 17:18:33 +0200
Subject: [PATCH] cargo-c: update to 0.10.5
---
srcpkgs/cargo-c/patches/libgit2-lfs.patch | 11 --------
srcpkgs/cargo-c/template | 31 +++++++----------------
2 files changed, 9 insertions(+), 33 deletions(-)
delete mode 100644 srcpkgs/cargo-c/patches/libgit2-lfs.patch
diff --git a/srcpkgs/cargo-c/patches/libgit2-lfs.patch b/srcpkgs/cargo-c/patches/libgit2-lfs.patch
deleted file mode 100644
index c5905e91bcaf72..00000000000000
--- a/srcpkgs/cargo-c/patches/libgit2-lfs.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/vendor/libgit2-sys/build.rs
-+++ b/vendor/libgit2-sys/build.rs
-@@ -79,6 +79,8 @@ fn main() {
- .define("MATCH_LIMIT", Some("10000000"))
- .define("MATCH_LIMIT_RECURSION", Some("MATCH_LIMIT"))
- .define("MAX_NAME_SIZE", Some("32"))
-+ .define("_LARGE_FILE_SOURCE", Some("1"))
-+ .define("_FILE_OFFSET_BITS", Some("64"))
- .define("MAX_NAME_COUNT", Some("10000"));
- // "no symbols" warning on pcre_string_utils.c is because it is only used
- // when when COMPILE_PCRE8 is not defined, which is the default.
diff --git a/srcpkgs/cargo-c/template b/srcpkgs/cargo-c/template
index fc01a13d969ca5..52e4877b95fca7 100644
--- a/srcpkgs/cargo-c/template
+++ b/srcpkgs/cargo-c/template
@@ -1,36 +1,23 @@
# Template file for 'cargo-c'
pkgname=cargo-c
-version=0.9.22
-revision=2
+version=0.10.5
+revision=1
build_style=cargo
hostmakedepends="pkg-config zlib-devel"
-makedepends="openssl-devel libssh2-devel zlib-devel libcurl-devel"
+makedepends="openssl-devel libssh2-devel zlib-devel libcurl-devel libgit2-1.8-devel sqlite-devel"
short_desc="Build and install C-compatible rust libraries"
maintainer="oreo639 <oreo6391@gmail.com>"
license="MIT"
homepage="https://crates.io/crates/cargo-c"
distfiles="https://github.com/lu-zero/cargo-c/archive/v${version}.tar.gz
- https://github.com/lu-zero/cargo-c/releases/download/v${version}/Cargo.lock"
-checksum="6af542e3d76e4341693b2e9a9f50abf15b04d82c5f9d1b350110cfac7e914e73
- 0c59e6fa12196cb57733d889ace5acbbe26ec32a6124324d0e6aa0bae2d2a4c3"
-skip_extraction="Cargo.lock"
+ https://github.com/lu-zero/cargo-c/releases/download/v${version}/Cargo.lock>Cargo-${version}.lock"
+checksum="3f131a6a647851a617a87daaaf777a9e50817957be0af29806615613e98efc8a
+ 2b5660aabd70f6a12390a19bcdeacc585c418d24aaa6855bd396a1c3a5684320"
+skip_extraction="Cargo-${version}.lock"
post_extract() {
- local old_lg=b2a5e68b318f28fd7d8f9158bbdab0033f47e1ddd1beb2effe70d9c1c5d1cb31
- local new_lg=98ad678aeacd9467f15af1f03bbfa762a8ec9b5b89f9bb61220430d077ff6519
- cd ${wrksrc}
- cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/Cargo.lock .
- cargo vendor
- mkdir -p .cargo
- cat <<-EOF >>.cargo/config.toml
- [source.crates-io]
- replace-with = "vendored-sources"
-
- [source.vendored-sources]
- directory = "vendor"
- EOF
-
- vsed -i "s/$old_lg/$new_lg/" vendor/libgit2-sys/.cargo-checksum.json
+ vsrccopy Cargo-${version}.lock .
+ mv Cargo-${version}.lock Cargo.lock
}
post_install() {
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cargo-c: update to 0.10.5
2024-10-18 18:14 [PR PATCH] cargo-c: update to 0.10.5 tranzystorekk
@ 2024-10-20 23:39 ` oreo639
2024-10-21 5:07 ` [PR PATCH] [Merged]: " tranzystorekk
1 sibling, 0 replies; 3+ messages in thread
From: oreo639 @ 2024-10-20 23:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/pull/52679#issuecomment-2425292668
Comment:
Sorry, for the late response, lgtm.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: cargo-c: update to 0.10.5
2024-10-18 18:14 [PR PATCH] cargo-c: update to 0.10.5 tranzystorekk
2024-10-20 23:39 ` oreo639
@ 2024-10-21 5:07 ` tranzystorekk
1 sibling, 0 replies; 3+ messages in thread
From: tranzystorekk @ 2024-10-21 5:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]
There's a merged pull request on the void-packages repository
cargo-c: update to 0.10.5
https://github.com/void-linux/void-packages/pull/52679
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
@oreo639 I thought I'd kill two birds with one stone (the ugly git2 vendor and the time crate regression)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-21 5:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-18 18:14 [PR PATCH] cargo-c: update to 0.10.5 tranzystorekk
2024-10-20 23:39 ` oreo639
2024-10-21 5:07 ` [PR PATCH] [Merged]: " tranzystorekk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).