Github messages for voidlinux
 help / color / mirror / Atom feed
From: pablomancera <pablomancera@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] i3status-rust: update to 0.32.2.
Date: Sat, 23 Sep 2023 01:36:31 +0200	[thread overview]
Message-ID: <20230922233631.zF0x6FPn5j1pId3Pl3syx3tqYnWwfErxVL0V1tDgLTs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46079@inbox.vuxu.org>

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

There is an updated pull request by pablomancera against master on the void-packages repository

https://github.com/pablomancera/void-packages i3status-rst
https://github.com/void-linux/void-packages/pull/46079

i3status-rust: update to 0.32.2.
#### 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64 (crossbuild)
  - aarch64 (local)
  - armv6l (crossbuild)

Supersedes #44899

A patch file from https://github.com/void-linux/void-packages/pull/46079.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-i3status-rst-46079.patch --]
[-- Type: text/x-diff, Size: 2289 bytes --]

From 5184372128ca6e9cea27fda36264a7ab42d09ed9 Mon Sep 17 00:00:00 2001
From: Pablo Alejandro Mancera <pablo.mancera@hotmail.com>
Date: Sat, 16 Sep 2023 00:23:27 -0500
Subject: [PATCH] i3status-rust: update to 0.32.2.

---
 srcpkgs/i3status-rust/template | 34 ++++++++++++++++++++++++++--------
 1 file changed, 26 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 07731701b738b..3b8955bfbdc14 100644
--- a/srcpkgs/i3status-rust/template
+++ b/srcpkgs/i3status-rust/template
@@ -1,23 +1,41 @@
 # Template file for 'i3status-rust'
 pkgname=i3status-rust
-version=0.22.0
-revision=3
+version=0.32.2
+revision=1
 build_style=cargo
+configure_args="$(vopt_if notmuch '--features notmuch')"
 make_check_args="--bins"
-hostmakedepends="pkg-config"
-makedepends="dbus-devel pulseaudio-devel openssl-devel libsensors-devel"
+hostmakedepends="pkg-config $(vopt_if docs pandoc)"
+makedepends="pulseaudio-devel openssl-devel libsensors-devel
+	$(vopt_if notmuch libnotmuch-devel)"
 short_desc="Replacement for i3status, written in Rust"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-only"
 homepage="https://github.com/greshake/i3status-rust"
 changelog="https://raw.githubusercontent.com/greshake/i3status-rust/master/NEWS.md"
 distfiles="https://github.com/greshake/i3status-rust/archive/refs/tags/v${version}.tar.gz"
-checksum=cd28a90ccb2f9faaaef1e528619f1018981609d77f409abe4877350d810d3324
+checksum=8957424ecc0aad778784c3c1ac1051b8ceee22903ed1d292deed732a486130de
+
+build_options="notmuch docs"
+build_options_default="docs"
+desc_option_notmuch="Required for optional notmuch block"
+desc_option_docs="Generate manpage"
+
+if [ "$CROSS_BUILD" ] && [ "$build_option_docs" ]; then
+	hostmakedepends+=" pulseaudio-devel openssl-devel libsensors-devel"
+fi
+
+post_build() {
+	if [ "$build_option_docs" ]; then
+		env -i bash -c "source /etc/profile && cargo xtask generate-manpage"
+	fi
+}
 
 post_install() {
 	vmkdir usr/share/i3status-rust
-	vcopy ${wrksrc}/files/icons usr/share/i3status-rust/
-	vcopy ${wrksrc}/files/themes usr/share/i3status-rust/
+	vcopy files/* usr/share/i3status-rust/
 
-	vman man/i3status-rs.1
+	if [ "$build_option_docs" ]; then
+		vman man/i3status-rs.1
+	fi
 }

  parent reply	other threads:[~2023-09-22 23:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-16  5:28 [PR PATCH] " pablomancera
2023-09-22 22:02 ` Duncaen
2023-09-22 22:05 ` [PR REVIEW] " classabbyamp
2023-09-22 22:50 ` pablomancera
2023-09-22 23:01 ` Duncaen
2023-09-22 23:04 ` Duncaen
2023-09-22 23:04 ` Duncaen
2023-09-22 23:28 ` pablomancera
2023-09-22 23:36 ` pablomancera [this message]
2023-11-14 19:12 ` [PR PATCH] [Closed]: " pablomancera

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=20230922233631.zF0x6FPn5j1pId3Pl3syx3tqYnWwfErxVL0V1tDgLTs@z \
    --to=pablomancera@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).