* [PR PATCH] i3status-rust: update to 0.31.8.
@ 2023-07-08 5:07 kartikynwa
2023-07-26 6:54 ` [PR PATCH] [Updated] " kartikynwa
` (5 more replies)
0 siblings, 6 replies; 8+ 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] 8+ messages in thread
* Re: [PR PATCH] [Updated] i3status-rust: update to 0.31.8.
2023-07-08 5:07 [PR PATCH] i3status-rust: update to 0.31.8 kartikynwa
@ 2023-07-26 6:54 ` kartikynwa
2023-07-26 7:24 ` kartikynwa
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: kartikynwa @ 2023-07-26 6:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1659 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/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: 2685 bytes --]
From f5807271061ddd2a1bfcb01ed34e16e937707a5b Mon Sep 17 00:00:00 2001
From: Kartik Singh <kartik.ynwa@gmail.com>
Date: Fri, 31 Mar 2023 14:19:15 +0530
Subject: [PATCH 1/2] New package: rsgain-3.2.1
---
srcpkgs/rsgain/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/rsgain/template
diff --git a/srcpkgs/rsgain/template b/srcpkgs/rsgain/template
new file mode 100644
index 0000000000000..d05d859f8558f
--- /dev/null
+++ b/srcpkgs/rsgain/template
@@ -0,0 +1,17 @@
+# Template file for 'rsgain'
+pkgname=rsgain
+version=3.2.1
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="libebur128-devel taglib-devel ffmpeg-devel inih-devel fmt-devel"
+short_desc="Simple but powerful ReplayGain 2.0 tagging utility"
+maintainer="Kartik Singh <kartik.ynwa@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/complexlogic/rsgain"
+distfiles="https://github.com/complexlogic/rsgain/archive/v${version}.tar.gz"
+checksum=e5ddedd2dc5cff97c2efde64480d7bd3c7c5061a496d3fe284dcbc0af5417513
+
+post_install() {
+ vlicense LICENSE
+}
From 8befcea8abf8c0d6cd2770886318a57361dd7cc8 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 2/2] i3status-rust: update to 0.31.8.
---
srcpkgs/i3status-rust/template | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 788270ca956f6..12ba3b22c5bf5 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,12 @@ 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 auditable build --release --target ${RUST_TARGET} --package xtask
+ vtargetrun target/${RUST_TARGET}/release/xtask generate-manpage
+}
post_install() {
vmkdir usr/share/i3status-rust
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] i3status-rust: update to 0.31.8.
2023-07-08 5:07 [PR PATCH] i3status-rust: update to 0.31.8 kartikynwa
2023-07-26 6:54 ` [PR PATCH] [Updated] " kartikynwa
@ 2023-07-26 7:24 ` kartikynwa
2023-07-26 7:51 ` kartikynwa
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: kartikynwa @ 2023-07-26 7:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1659 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/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: 2708 bytes --]
From f5807271061ddd2a1bfcb01ed34e16e937707a5b Mon Sep 17 00:00:00 2001
From: Kartik Singh <kartik.ynwa@gmail.com>
Date: Fri, 31 Mar 2023 14:19:15 +0530
Subject: [PATCH 1/2] New package: rsgain-3.2.1
---
srcpkgs/rsgain/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/rsgain/template
diff --git a/srcpkgs/rsgain/template b/srcpkgs/rsgain/template
new file mode 100644
index 0000000000000..d05d859f8558f
--- /dev/null
+++ b/srcpkgs/rsgain/template
@@ -0,0 +1,17 @@
+# Template file for 'rsgain'
+pkgname=rsgain
+version=3.2.1
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="libebur128-devel taglib-devel ffmpeg-devel inih-devel fmt-devel"
+short_desc="Simple but powerful ReplayGain 2.0 tagging utility"
+maintainer="Kartik Singh <kartik.ynwa@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/complexlogic/rsgain"
+distfiles="https://github.com/complexlogic/rsgain/archive/v${version}.tar.gz"
+checksum=e5ddedd2dc5cff97c2efde64480d7bd3c7c5061a496d3fe284dcbc0af5417513
+
+post_install() {
+ vlicense LICENSE
+}
From a1a8de49ffa340746e419af60a3e5b1595a23a8f 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 2/2] i3status-rust: update to 0.31.8.
---
srcpkgs/i3status-rust/template | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 788270ca956f6..2154ba67dbd32 100644
--- a/srcpkgs/i3status-rust/template
+++ b/srcpkgs/i3status-rust/template
@@ -1,10 +1,11 @@
# Template file for 'i3status-rust'
pkgname=i3status-rust
-version=0.22.0
-revision=2
+version=0.31.8
+revision=1
build_style=cargo
+build_helper="qemu"
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 +13,12 @@ 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 auditable build --release --target ${RUST_TARGET} --package xtask
+ vtargetrun target/${RUST_TARGET}/release/xtask generate-manpage
+}
post_install() {
vmkdir usr/share/i3status-rust
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] i3status-rust: update to 0.31.8.
2023-07-08 5:07 [PR PATCH] i3status-rust: update to 0.31.8 kartikynwa
2023-07-26 6:54 ` [PR PATCH] [Updated] " kartikynwa
2023-07-26 7:24 ` kartikynwa
@ 2023-07-26 7:51 ` kartikynwa
2023-07-26 7:57 ` kartikynwa
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: kartikynwa @ 2023-07-26 7:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1659 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/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: 2995 bytes --]
From f5807271061ddd2a1bfcb01ed34e16e937707a5b Mon Sep 17 00:00:00 2001
From: Kartik Singh <kartik.ynwa@gmail.com>
Date: Fri, 31 Mar 2023 14:19:15 +0530
Subject: [PATCH 1/2] New package: rsgain-3.2.1
---
srcpkgs/rsgain/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/rsgain/template
diff --git a/srcpkgs/rsgain/template b/srcpkgs/rsgain/template
new file mode 100644
index 0000000000000..d05d859f8558f
--- /dev/null
+++ b/srcpkgs/rsgain/template
@@ -0,0 +1,17 @@
+# Template file for 'rsgain'
+pkgname=rsgain
+version=3.2.1
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="libebur128-devel taglib-devel ffmpeg-devel inih-devel fmt-devel"
+short_desc="Simple but powerful ReplayGain 2.0 tagging utility"
+maintainer="Kartik Singh <kartik.ynwa@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/complexlogic/rsgain"
+distfiles="https://github.com/complexlogic/rsgain/archive/v${version}.tar.gz"
+checksum=e5ddedd2dc5cff97c2efde64480d7bd3c7c5061a496d3fe284dcbc0af5417513
+
+post_install() {
+ vlicense LICENSE
+}
From 690e863b8f49cd4c85be13fe46becb4719e8a8ab 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 2/2] i3status-rust: update to 0.31.8.
---
srcpkgs/i3status-rust/template | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 788270ca956f6..4338ae2029db9 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 $(vopt_if docs 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,12 +12,27 @@ 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="docs"
+desc_option_docs="Enable manpage generation"
+
+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] 8+ messages in thread
* Re: [PR PATCH] [Updated] i3status-rust: update to 0.31.8.
2023-07-08 5:07 [PR PATCH] i3status-rust: update to 0.31.8 kartikynwa
` (2 preceding siblings ...)
2023-07-26 7:51 ` kartikynwa
@ 2023-07-26 7:57 ` kartikynwa
2023-07-26 8:25 ` [PR PATCH] [Closed]: " kartikynwa
2023-07-26 8:26 ` kartikynwa
5 siblings, 0 replies; 8+ messages in thread
From: kartikynwa @ 2023-07-26 7:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1659 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/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: 1891 bytes --]
From 09af5645abe971cdafaaacf0c6389aede27fb66a 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 | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 788270ca956f6..4338ae2029db9 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 $(vopt_if docs 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,12 +12,27 @@ 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="docs"
+desc_option_docs="Enable manpage generation"
+
+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] 8+ messages in thread
* Re: [PR PATCH] [Closed]: i3status-rust: update to 0.31.8.
2023-07-08 5:07 [PR PATCH] i3status-rust: update to 0.31.8 kartikynwa
` (3 preceding siblings ...)
2023-07-26 7:57 ` kartikynwa
@ 2023-07-26 8:25 ` kartikynwa
2023-07-26 8:26 ` kartikynwa
5 siblings, 0 replies; 8+ messages in thread
From: kartikynwa @ 2023-07-26 8:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]
There's a closed pull request on the void-packages repository
i3status-rust: update to 0.31.8.
https://github.com/void-linux/void-packages/pull/44917
Description:
<!-- 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: i3status-rust: update to 0.31.8.
2023-07-08 5:07 [PR PATCH] i3status-rust: update to 0.31.8 kartikynwa
` (4 preceding siblings ...)
2023-07-26 8:25 ` [PR PATCH] [Closed]: " kartikynwa
@ 2023-07-26 8:26 ` kartikynwa
5 siblings, 0 replies; 8+ messages in thread
From: kartikynwa @ 2023-07-26 8:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
New comment by kartikynwa on void-packages repository
https://github.com/void-linux/void-packages/pull/44917#issuecomment-1651217241
Comment:
Duplicate of https://github.com/void-linux/void-packages/pull/44899
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Closed]: i3status-rust: update to 0.31.8.
2023-07-07 7:56 [PR PATCH] " pablomancera
@ 2023-09-16 5:31 ` pablomancera
0 siblings, 0 replies; 8+ messages in thread
From: pablomancera @ 2023-09-16 5:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
There's a closed pull request on the void-packages repository
i3status-rust: update to 0.31.8.
https://github.com/void-linux/void-packages/pull/44899
Description:
<!-- 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
- I built this PR locally for these architectures:
- aarch64
- aarch64 (crossbuild)
- armv6l (crossbuild)
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-09-16 5:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-08 5:07 [PR PATCH] i3status-rust: update to 0.31.8 kartikynwa
2023-07-26 6:54 ` [PR PATCH] [Updated] " kartikynwa
2023-07-26 7:24 ` kartikynwa
2023-07-26 7:51 ` kartikynwa
2023-07-26 7:57 ` kartikynwa
2023-07-26 8:25 ` [PR PATCH] [Closed]: " kartikynwa
2023-07-26 8:26 ` kartikynwa
-- strict thread matches above, loose matches on Subject: below --
2023-07-07 7:56 [PR PATCH] " pablomancera
2023-09-16 5:31 ` [PR PATCH] [Closed]: " pablomancera
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).