Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] i3status-rust: update to 0.31.8.
@ 2023-07-07  7:56 pablomancera
  2023-07-07  8:02 ` [PR PATCH] [Updated] " pablomancera
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: pablomancera @ 2023-07-07  7:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pablomancera/void-packages i3status-rust
https://github.com/void-linux/void-packages/pull/44899

i3status-rust: update to 0.31.8.
<!-- 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, x86_64


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

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

From 8a2ee2d041f596c6246364a7115c116fdde4d272 Mon Sep 17 00:00:00 2001
From: Pablo Alejandro Mancera <pablo.mancera@hotmail.com>
Date: Fri, 7 Jul 2023 02:50:09 -0500
Subject: [PATCH] i3status-rust: update to 0.31.8.

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

diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 788270ca956f..591197661d34 100644
--- a/srcpkgs/i3status-rust/template
+++ b/srcpkgs/i3status-rust/template
@@ -1,23 +1,31 @@
 # Template file for 'i3status-rust'
 pkgname=i3status-rust
-version=0.22.0
-revision=2
+version=0.31.8
+revision=1
 build_style=cargo
+configure_args="$(vopt_if notmuch '--features notmuch')"
+	$(vopt_if notmuch libnotmuch-devel)"
 make_check_args="--bins"
-hostmakedepends="pkg-config"
-makedepends="dbus-devel pulseaudio-devel openssl-devel libsensors-devel"
+hostmakedepends="pkg-config pandoc"
+makedepends="pulseaudio-devel openssl-devel libsensors-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=31d391a08d45ab877a36479a6f453768303a836efae6ffcf555013b2f12fce2f
+
+build_options="notmuch"
+desc_option_notmuch="Required for optional notmuch block"
+
+post_build() {
+	cargo xtask generate-manpage
+}
 
 post_install() {
 	vmkdir usr/share/i3status-rust
-	vcopy ${wrksrc}/files/icons usr/share/i3status-rust/
-	vcopy ${wrksrc}/files/themes usr/share/i3status-rust/
+	vcopy ${wrksrc}/files/* usr/share/i3status-rust/
 
-	vman man/i3status-rs.1
+	vman ${wrksrc}/man/i3status-rs.1
 }

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PR PATCH] i3status-rust: update to 0.31.8.
@ 2023-07-08  5:07 kartikynwa
  2023-07-26  8:26 ` kartikynwa
  0 siblings, 1 reply; 11+ messages in thread
From: kartikynwa @ 2023-07-08  5:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/kartikynwa/void-packages update-i3status-rust
https://github.com/void-linux/void-packages/pull/44917

i3status-rust: update to 0.31.8.
<!-- 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, (x86_64-glibc)

#### Notes
- The updates include breaking changes. Users of v0.22.0 who inadvertently upgrade will see errors and will have to update their configs according to [the changelog](https://github.com/greshake/i3status-rust/blob/master/NEWS.md).
- I am not sure about the pandoc requirement to build the manpage. I looked at existing templates for reference. Some do pandoc-based manpage generation only on certain architectures and usually these packages are marked as `crossbuild=no`. Some pointers on this would be appreciated.

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

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

From 0ec5afcc9ca67d11a96eafe5726d95b85fc1d610 Mon Sep 17 00:00:00 2001
From: Kartik Singh <kartik.ynwa@gmail.com>
Date: Sat, 8 Jul 2023 10:32:15 +0530
Subject: [PATCH] i3status-rust: update to 0.31.8.

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

diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 788270ca956f..7e4fe8fd6fb1 100644
--- a/srcpkgs/i3status-rust/template
+++ b/srcpkgs/i3status-rust/template
@@ -1,10 +1,10 @@
 # Template file for 'i3status-rust'
 pkgname=i3status-rust
-version=0.22.0
-revision=2
+version=0.31.8
+revision=1
 build_style=cargo
 make_check_args="--bins"
-hostmakedepends="pkg-config"
+hostmakedepends="pkg-config pandoc"
 makedepends="dbus-devel pulseaudio-devel openssl-devel libsensors-devel"
 short_desc="Replacement for i3status, written in Rust"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
@@ -12,7 +12,11 @@ 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=31d391a08d45ab877a36479a6f453768303a836efae6ffcf555013b2f12fce2f
+
+post_build() {
+	cargo xtask generate-manpage
+}
 
 post_install() {
 	vmkdir usr/share/i3status-rust

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

end of thread, other threads:[~2023-09-16  5:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-07  7:56 [PR PATCH] i3status-rust: update to 0.31.8 pablomancera
2023-07-07  8:02 ` [PR PATCH] [Updated] " pablomancera
2023-07-08 14:56 ` Bnyro
2023-07-09  0:12 ` [PR PATCH] [Updated] " pablomancera
2023-07-09  0:35 ` pablomancera
2023-07-26  7:55 ` [PR REVIEW] " classabbyamp
2023-07-26  8:04 ` classabbyamp
2023-07-26  8:16 ` kartikynwa
2023-09-16  5:31 ` [PR PATCH] [Closed]: " pablomancera
2023-09-16  5:31 ` pablomancera
2023-07-08  5:07 [PR PATCH] " kartikynwa
2023-07-26  8:26 ` kartikynwa

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