From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: synapse_compress_state-0.1.3, synapse_auto_compressor-0.1.3
Date: Thu, 22 Feb 2024 22:17:06 +0100 [thread overview]
Message-ID: <20240222211706.0DBA82C7A5@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48878@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]
There is an updated pull request by TinfoilSubmarine against master on the void-packages repository
https://github.com/TinfoilSubmarine/void-packages maint/synapse_auto_compressor
https://github.com/void-linux/void-packages/pull/48878
New packages: synapse_compress_state-0.1.3, synapse_auto_compressor-0.1.3
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### 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/48878.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maint/synapse_auto_compressor-48878.patch --]
[-- Type: text/x-diff, Size: 2314 bytes --]
From 5fc0c44b7599e781ce012567c1c0eb2dc3a22f33 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 22 Feb 2024 16:01:09 -0500
Subject: [PATCH 1/2] common/build-style/cargo.sh: use make_build_args in
do_build
---
common/build-style/cargo.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/build-style/cargo.sh b/common/build-style/cargo.sh
index 751911d8dbee8d..459f827737eba7 100644
--- a/common/build-style/cargo.sh
+++ b/common/build-style/cargo.sh
@@ -5,7 +5,8 @@
do_build() {
: ${make_cmd:=cargo auditable}
- ${make_cmd} build --release --locked --target ${RUST_TARGET} ${configure_args}
+ ${make_cmd} build --release --locked --target ${RUST_TARGET} \
+ ${configure_args} ${make_build_args}
}
do_check() {
From c974172f593ca1f1805a866336400a7d8fa54625 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 22 Mar 2023 16:28:50 -0400
Subject: [PATCH 2/2] New package: synapse-compress-state-0.1.3
---
srcpkgs/synapse-compress-state/template | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 srcpkgs/synapse-compress-state/template
diff --git a/srcpkgs/synapse-compress-state/template b/srcpkgs/synapse-compress-state/template
new file mode 100644
index 00000000000000..643f6a7d53a734
--- /dev/null
+++ b/srcpkgs/synapse-compress-state/template
@@ -0,0 +1,22 @@
+# Template file for 'synapse-compress-state'
+pkgname=synapse-compress-state
+version=0.1.3
+revision=1
+build_style=cargo
+make_build_args="--workspace"
+make_check_args="--workspace --exclude compressor_integration_tests"
+hostmakedepends="pkg-config python3"
+makedepends="openssl-devel python3"
+short_desc="Tools to compress state in a synapse instance's database"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/matrix-org/rust-synapse-compress-state"
+distfiles="https://github.com/matrix-org/rust-synapse-compress-state/archive/refs/tags/v${version}.tar.gz"
+checksum=6c21786767f54fa09c1bb9bb8335b56829b2f3b7aca112f5ce099dff77bf10cd
+
+post_install() {
+ cargo auditable install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
+ --offline --locked --path synapse_auto_compressor
+ rm -f "${DESTDIR}"/usr/.crates.toml
+ rm -f "${DESTDIR}"/usr/.crates2.json
+}
next prev parent reply other threads:[~2024-02-22 21:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-22 18:35 [PR PATCH] " TinfoilSubmarine
2024-02-22 18:48 ` [PR PATCH] [Updated] " TinfoilSubmarine
2024-02-22 18:53 ` TinfoilSubmarine
2024-02-22 21:17 ` TinfoilSubmarine [this message]
2024-02-23 14:36 ` [PR PATCH] [Updated] New package: synapse-compress-state-0.1.3 TinfoilSubmarine
2024-04-12 14:25 ` TinfoilSubmarine
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=20240222211706.0DBA82C7A5@inbox.vuxu.org \
--to=tinfoilsubmarine@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).