Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] bcachefs-tools: update to 1.2.
@ 2023-10-31 16:52 leahneukirchen
  2023-11-02 12:21 ` [PR PATCH] [Updated] " leahneukirchen
  2023-11-02 12:31 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 2 replies; 3+ messages in thread
From: leahneukirchen @ 2023-10-31 16:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1265 bytes --]

There is a new pull request by leahneukirchen against master on the void-packages repository

https://github.com/leahneukirchen/void-packages bcachefs-tools-12
https://github.com/void-linux/void-packages/pull/46988

bcachefs-tools: update to 1.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

<!--
#### 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/46988.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bcachefs-tools-12-46988.patch --]
[-- Type: text/x-diff, Size: 2649 bytes --]

From d78ff9c8f3af9a3ebba4352d8fec70c6d6f9c9a1 Mon Sep 17 00:00:00 2001
From: Leah Neukirchen <leah@vuxu.org>
Date: Tue, 31 Oct 2023 17:49:21 +0100
Subject: [PATCH] bcachefs-tools: update to 1.2.

---
 srcpkgs/bcachefs-tools/patches/make.patch | 22 ++++++++++++++++++++++
 srcpkgs/bcachefs-tools/template           | 10 ++++++----
 2 files changed, 28 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/bcachefs-tools/patches/make.patch

diff --git a/srcpkgs/bcachefs-tools/patches/make.patch b/srcpkgs/bcachefs-tools/patches/make.patch
new file mode 100644
index 0000000000000..d39baba7e29cc
--- /dev/null
+++ b/srcpkgs/bcachefs-tools/patches/make.patch
@@ -0,0 +1,22 @@
+--- a/Makefile
++++ b/Makefile
+@@ -39,7 +39,7 @@
+ CARGO_PROFILE=release
+ # CARGO_PROFILE=debug
+ 
+-CARGO_BUILD_ARGS=--$(CARGO_PROFILE)
++CARGO_BUILD_ARGS=--$(CARGO_PROFILE) --target $(RUST_TARGET)
+ CARGO_BUILD=$(CARGO) build $(CARGO_BUILD_ARGS)
+ VERSION?=$(shell git describe --dirty=+ 2>/dev/null || echo v0.1-nogit)
+ 
+@@ -126,7 +126,10 @@
+ 
+ RUST_SRCS=$(shell find rust-src/src rust-src/bch_bindgen/src -type f -iname '*.rs')
+ rust-src/target/release/libbcachefs_rust.a: $(RUST_SRCS)
+ 	$(CARGO_BUILD) --manifest-path rust-src/Cargo.toml
++	if [ -f rust-src/target/*/release/libbcachefs_rust.a ]; then \
++		cp rust-src/target/*/release/libbcachefs_rust.a $@; \
++	fi
+ 
+ tests/test_helper: $(filter ./tests/%.o, $(OBJS))
+ 	@echo "    [LD]     $@"
diff --git a/srcpkgs/bcachefs-tools/template b/srcpkgs/bcachefs-tools/template
index 63ae509da080d..58e36a727d197 100644
--- a/srcpkgs/bcachefs-tools/template
+++ b/srcpkgs/bcachefs-tools/template
@@ -1,12 +1,13 @@
 # Template file for 'bcachefs-tools'
 pkgname=bcachefs-tools
-version=24
+reverts="24_1"
+version=1.2
 revision=1
 build_style=gnu-makefile
 make_install_args="ROOT_SBINDIR=/usr/bin"
 make_use_env=yes
-hostmakedepends="pkg-config"
-makedepends="attr-devel keyutils-devel libaio-devel libblkid-devel
+hostmakedepends="pkg-config cargo clang"
+makedepends="rust attr-devel keyutils-devel libaio-devel libblkid-devel
  liblz4-devel libscrypt-devel libsodium-devel libudev-devel liburcu-devel
  libuuid-devel libzstd-devel zlib-devel"
 short_desc="Userspace tools for bcachefs"
@@ -14,6 +15,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="GPL-2.0-only"
 homepage="https://bcachefs.org/"
 distfiles="https://github.com/koverstreet/bcachefs-tools/archive/refs/tags/v${version}.tar.gz"
-checksum=4631f8ba752c562f0e7d74a8052bace39abefa98421e4a2989069d988892c264
+checksum=2f7b68576303bcbb80ea6c4042aa27b1b1027739f3de68106ca9166963e161dc
 
 export VERSION=v${version}
+export RUST_TARGET

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-02 12:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-31 16:52 [PR PATCH] bcachefs-tools: update to 1.2 leahneukirchen
2023-11-02 12:21 ` [PR PATCH] [Updated] " leahneukirchen
2023-11-02 12:31 ` [PR PATCH] [Merged]: " leahneukirchen

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).