Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] i3status-rust: update to 0.31.9.
@ 2023-08-17  8:13 kartikynwa
  2023-08-28  4:34 ` [PR PATCH] [Updated] " kartikynwa
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: kartikynwa @ 2023-08-17  8:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 587 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/45632

i3status-rust: update to 0.31.9.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Notes
Supersedes https://github.com/void-linux/void-packages/pull/44899

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

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

From be5edacf0b550a9e01b6ca0518e068891cc986a6 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.9.

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

diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 788270ca956f6..da63366bbf8af 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=2
+version=0.31.9
+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=dfde582aebd857e5e3003682fe28762119c671db83f405a26f6b7fee4900cd07
+
+build_options="docs notmuch"
+desc_option_docs="Enable manpage generation using Pandoc"
+desc_option_notmuch="Required for optional notmuch block"
+
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default="docs"
+fi
+
+post_build() {
+	if [ "$build_option_docs" ]; then
+		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/
 
-	vman man/i3status-rs.1
+	if [ "$build_option_docs" ]; then
+		vman man/i3status-rs.1
+	fi
 }

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

* Re: [PR PATCH] [Updated] i3status-rust: update to 0.31.9.
  2023-08-17  8:13 [PR PATCH] i3status-rust: update to 0.31.9 kartikynwa
@ 2023-08-28  4:34 ` kartikynwa
  2023-08-28 17:38 ` kartikynwa
  2023-09-13 16:43 ` [PR PATCH] [Closed]: " kartikynwa
  2 siblings, 0 replies; 4+ messages in thread
From: kartikynwa @ 2023-08-28  4:34 UTC (permalink / raw)
  To: ml

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

There is an updated 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/45632

i3status-rust: update to 0.31.9.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Notes
Supersedes https://github.com/void-linux/void-packages/pull/44899

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

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

From 517f1c7b5163256ca9d7b7dcabc17a96c0ef5d91 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.9.

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

diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 07731701b738b..da63366bbf8af 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.31.9
+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=dfde582aebd857e5e3003682fe28762119c671db83f405a26f6b7fee4900cd07
+
+build_options="docs notmuch"
+desc_option_docs="Enable manpage generation using Pandoc"
+desc_option_notmuch="Required for optional notmuch block"
+
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default="docs"
+fi
+
+post_build() {
+	if [ "$build_option_docs" ]; then
+		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/
 
-	vman man/i3status-rs.1
+	if [ "$build_option_docs" ]; then
+		vman man/i3status-rs.1
+	fi
 }

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

* Re: [PR PATCH] [Updated] i3status-rust: update to 0.31.9.
  2023-08-17  8:13 [PR PATCH] i3status-rust: update to 0.31.9 kartikynwa
  2023-08-28  4:34 ` [PR PATCH] [Updated] " kartikynwa
@ 2023-08-28 17:38 ` kartikynwa
  2023-09-13 16:43 ` [PR PATCH] [Closed]: " kartikynwa
  2 siblings, 0 replies; 4+ messages in thread
From: kartikynwa @ 2023-08-28 17:38 UTC (permalink / raw)
  To: ml

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

There is an updated 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/45632

i3status-rust: update to 0.31.9.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Notes
Supersedes https://github.com/void-linux/void-packages/pull/44899

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

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

From 86e8927fc784d3d67fad2d467cdb17a6854bf9cf 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.9.

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

diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 07731701b738b..da63366bbf8af 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.31.9
+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=dfde582aebd857e5e3003682fe28762119c671db83f405a26f6b7fee4900cd07
+
+build_options="docs notmuch"
+desc_option_docs="Enable manpage generation using Pandoc"
+desc_option_notmuch="Required for optional notmuch block"
+
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default="docs"
+fi
+
+post_build() {
+	if [ "$build_option_docs" ]; then
+		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/
 
-	vman man/i3status-rs.1
+	if [ "$build_option_docs" ]; then
+		vman man/i3status-rs.1
+	fi
 }

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

* Re: [PR PATCH] [Closed]: i3status-rust: update to 0.31.9.
  2023-08-17  8:13 [PR PATCH] i3status-rust: update to 0.31.9 kartikynwa
  2023-08-28  4:34 ` [PR PATCH] [Updated] " kartikynwa
  2023-08-28 17:38 ` kartikynwa
@ 2023-09-13 16:43 ` kartikynwa
  2 siblings, 0 replies; 4+ messages in thread
From: kartikynwa @ 2023-09-13 16:43 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

i3status-rust: update to 0.31.9.
https://github.com/void-linux/void-packages/pull/45632

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Notes
Supersedes https://github.com/void-linux/void-packages/pull/44899

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-17  8:13 [PR PATCH] i3status-rust: update to 0.31.9 kartikynwa
2023-08-28  4:34 ` [PR PATCH] [Updated] " kartikynwa
2023-08-28 17:38 ` kartikynwa
2023-09-13 16:43 ` [PR PATCH] [Closed]: " 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).