Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: radm-0.6.1
@ 2022-08-22 19:49 Goorzhel
  2022-08-22 19:59 ` Goorzhel
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-22 19:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages radm
https://github.com/void-linux/void-packages/pull/38839

New package: radm-0.6.1
- I tested the changes in this PR: **YES**
- This new package (however self-serving) conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


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

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

From 6076c6dfb4b1a440b1722937ea428378dd1bcad9 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 12 Jul 2022 22:00:08 -0700
Subject: [PATCH] New package: radm-0.6.1

---
 srcpkgs/radm/files/radm/run | 11 +++++++++++
 srcpkgs/radm/template       | 23 +++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100755 srcpkgs/radm/files/radm/run
 create mode 100644 srcpkgs/radm/template

diff --git a/srcpkgs/radm/files/radm/run b/srcpkgs/radm/files/radm/run
new file mode 100755
index 000000000000..efe4752cf3ad
--- /dev/null
+++ b/srcpkgs/radm/files/radm/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+
+: ${x:=7}
+: ${args:="-f $X"}
+: ${wait_for_syslog:="true"}
+
+while [ "$wait_for_syslog" ] && [ ! -w /dev/log ]; do sleep 1; done
+
+exec setsid agetty -nl /usr/bin/radm -o "${args}" tty$x
diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
new file mode 100644
index 000000000000..2bcab27bac9d
--- /dev/null
+++ b/srcpkgs/radm/template
@@ -0,0 +1,23 @@
+# Template file for 'radm'
+pkgname=radm
+version=0.6.1
+revision=1
+build_style=cargo
+makedepends="clang make pam-devel pandoc"
+depends="seatd pam"
+short_desc="Console-based display manager for Wayland sessions"
+maintainer="Antonio Gurgel <antonio@goorzhel.com>"
+license="MIT"
+homepage="https://sr.ht/~goorzhel/radm/"
+distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
+checksum=81b87b76f1a59e2675bd4373f03d682b5c7f2b53adc926164f384bae8676c98a
+
+post_install() {
+	make res/radm.1
+
+	vinstall res/pam 644 etc/pam.d radm
+	vinstall res/rsyslog 644 etc/rsyslog.d radm
+	vlicense LICENSE
+	vman res/radm.1
+	vsv radm
+}

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

* Re: New package: radm-0.6.1
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
@ 2022-08-22 19:59 ` Goorzhel
  2022-08-22 19:59 ` Goorzhel
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-22 19:59 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/38839#issuecomment-1222882234

Comment:
Both CI failures had to do with the `chvt` crate. I'll try to reproduce this locally (
```
❯ for arch in {x86_64,armv{6,7}l,i686,aarch}{,-musl}; do
  ./xbps-src pkg -a $arch $(git b) &> $arch.log
done
```
) and submit any necessary patches to the crate's upstream.

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

* Re: New package: radm-0.6.1
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
  2022-08-22 19:59 ` Goorzhel
@ 2022-08-22 19:59 ` Goorzhel
  2022-08-22 23:06 ` Goorzhel
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-22 19:59 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/38839#issuecomment-1222882234

Comment:
Both CI failures had to do with the `chvt` crate. I'll try to reproduce this locally (
```
❯ for arch in {x86_64,armv{6,7}l,i686,aarch64}{,-musl}; do
  ./xbps-src pkg -a $arch $(git b) &> $arch.log
done
```
) and submit any necessary patches to the crate's upstream.

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

* Re: New package: radm-0.6.1
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
  2022-08-22 19:59 ` Goorzhel
  2022-08-22 19:59 ` Goorzhel
@ 2022-08-22 23:06 ` Goorzhel
  2022-08-23  1:01 ` [PR PATCH] [Updated] " Goorzhel
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-22 23:06 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/38839#issuecomment-1223298955

Comment:
Also, a majority of the architectures on [this run](https://github.com/void-linux/void-packages/actions/runs/2906665327) returned success, but actually failed with
```
=> ERROR: pandoc-2.17.1.1_1: cannot be cross compiled...
=> ERROR: pandoc-2.17.1.1_1: yes
```
because I mistakenly added `pandoc` to `makedepends` rather than `hostmakedepends`. I should investigate that later, too.

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

* Re: [PR PATCH] [Updated] New package: radm-0.6.1
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (2 preceding siblings ...)
  2022-08-22 23:06 ` Goorzhel
@ 2022-08-23  1:01 ` Goorzhel
  2022-08-23  1:02 ` Goorzhel
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-23  1:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages radm
https://github.com/void-linux/void-packages/pull/38839

New package: radm-0.6.1
- I tested the changes in this PR: **YES**
- This new package (however self-serving) conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


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

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

From 6076c6dfb4b1a440b1722937ea428378dd1bcad9 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 12 Jul 2022 22:00:08 -0700
Subject: [PATCH 1/5] New package: radm-0.6.1

---
 srcpkgs/radm/files/radm/run | 11 +++++++++++
 srcpkgs/radm/template       | 23 +++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100755 srcpkgs/radm/files/radm/run
 create mode 100644 srcpkgs/radm/template

diff --git a/srcpkgs/radm/files/radm/run b/srcpkgs/radm/files/radm/run
new file mode 100755
index 000000000000..efe4752cf3ad
--- /dev/null
+++ b/srcpkgs/radm/files/radm/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+
+: ${x:=7}
+: ${args:="-f $X"}
+: ${wait_for_syslog:="true"}
+
+while [ "$wait_for_syslog" ] && [ ! -w /dev/log ]; do sleep 1; done
+
+exec setsid agetty -nl /usr/bin/radm -o "${args}" tty$x
diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
new file mode 100644
index 000000000000..2bcab27bac9d
--- /dev/null
+++ b/srcpkgs/radm/template
@@ -0,0 +1,23 @@
+# Template file for 'radm'
+pkgname=radm
+version=0.6.1
+revision=1
+build_style=cargo
+makedepends="clang make pam-devel pandoc"
+depends="seatd pam"
+short_desc="Console-based display manager for Wayland sessions"
+maintainer="Antonio Gurgel <antonio@goorzhel.com>"
+license="MIT"
+homepage="https://sr.ht/~goorzhel/radm/"
+distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
+checksum=81b87b76f1a59e2675bd4373f03d682b5c7f2b53adc926164f384bae8676c98a
+
+post_install() {
+	make res/radm.1
+
+	vinstall res/pam 644 etc/pam.d radm
+	vinstall res/rsyslog 644 etc/rsyslog.d radm
+	vlicense LICENSE
+	vman res/radm.1
+	vsv radm
+}

From 256fdd636865c0c165cbdc1dbbc210ac1a5bf0a8 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 15:33:56 -0700
Subject: [PATCH 2/5] radm: move pandoc to hostmakedepends

---
 srcpkgs/radm/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index 2bcab27bac9d..a6dd029fe0f8 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -3,7 +3,8 @@ pkgname=radm
 version=0.6.1
 revision=1
 build_style=cargo
-makedepends="clang make pam-devel pandoc"
+hostmakedepends="pandoc"
+makedepends="clang make pam-devel"
 depends="seatd pam"
 short_desc="Console-based display manager for Wayland sessions"
 maintainer="Antonio Gurgel <antonio@goorzhel.com>"

From 088759777dfe2267dc69722c1f87bb4b42f105fe Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 16:54:11 -0700
Subject: [PATCH 3/5] radm: update to 0.6.2.

---
 srcpkgs/radm/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index a6dd029fe0f8..9ff26aa1e0df 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -1,6 +1,6 @@
 # Template file for 'radm'
 pkgname=radm
-version=0.6.1
+version=0.6.2
 revision=1
 build_style=cargo
 hostmakedepends="pandoc"
@@ -11,7 +11,7 @@ maintainer="Antonio Gurgel <antonio@goorzhel.com>"
 license="MIT"
 homepage="https://sr.ht/~goorzhel/radm/"
 distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
-checksum=81b87b76f1a59e2675bd4373f03d682b5c7f2b53adc926164f384bae8676c98a
+checksum=f0cddd451591a6007dee93f8dee1c4374b63cd20dce33b17ebfcf7216dbb5ade
 
 post_install() {
 	make res/radm.1

From c6a94460e5b643010d766cf97b74dc7549b7fee7 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 17:09:23 -0700
Subject: [PATCH 4/5] radm: clang belongs in host too

---
 srcpkgs/radm/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index 9ff26aa1e0df..a8cdf03fdcc1 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -3,8 +3,8 @@ pkgname=radm
 version=0.6.2
 revision=1
 build_style=cargo
-hostmakedepends="pandoc"
-makedepends="clang make pam-devel"
+hostmakedepends="pandoc libclang clang"
+makedepends="make pam-devel"
 depends="seatd pam"
 short_desc="Console-based display manager for Wayland sessions"
 maintainer="Antonio Gurgel <antonio@goorzhel.com>"

From 41b4160329643b182b9679a05f1d6cdaf956a2f9 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 17:47:00 -0700
Subject: [PATCH 5/5] radm: update to 0.6.3.

`pam` crate broke on non-Intel.
---
 srcpkgs/radm/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index a8cdf03fdcc1..a441d4b0ab02 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -1,6 +1,6 @@
 # Template file for 'radm'
 pkgname=radm
-version=0.6.2
+version=0.6.3
 revision=1
 build_style=cargo
 hostmakedepends="pandoc libclang clang"
@@ -11,7 +11,7 @@ maintainer="Antonio Gurgel <antonio@goorzhel.com>"
 license="MIT"
 homepage="https://sr.ht/~goorzhel/radm/"
 distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
-checksum=f0cddd451591a6007dee93f8dee1c4374b63cd20dce33b17ebfcf7216dbb5ade
+checksum=6b90b540674bf86b901652b0708f82e8688c5c7993d3a2e4ecd65c030d7b74f2
 
 post_install() {
 	make res/radm.1

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

* Re: New package: radm-0.6.1
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (3 preceding siblings ...)
  2022-08-23  1:01 ` [PR PATCH] [Updated] " Goorzhel
@ 2022-08-23  1:02 ` Goorzhel
  2022-08-23  3:14 ` New package: radm-0.6.3 Goorzhel
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-23  1:02 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/38839#issuecomment-1223389639

Comment:
Patches sent upstream to unbreak non-Intel builds:
https://github.com/jonay2000/chvt-rs/pull/2
https://github.com/1wilkens/pam/pull/36

I still need to test these changes at runtime so I'll leave the branch unsquashed for now.

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

* Re: New package: radm-0.6.3
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (4 preceding siblings ...)
  2022-08-23  1:02 ` Goorzhel
@ 2022-08-23  3:14 ` Goorzhel
  2022-08-23  3:30 ` Goorzhel
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-23  3:14 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/38839#issuecomment-1223478162

Comment:
> Also, a majority of the architectures on [this run](https://github.com/void-linux/void-packages/actions/runs/2906665327) returned success, but actually failed

Turns out `build.sh` was eating the exit code. https://github.com/void-linux/void-packages/pull/38841

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

* Re: New package: radm-0.6.3
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (5 preceding siblings ...)
  2022-08-23  3:14 ` New package: radm-0.6.3 Goorzhel
@ 2022-08-23  3:30 ` Goorzhel
  2022-08-23  3:32 ` q66
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-23  3:30 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/38839#issuecomment-1223478162

Comment:
> Also, a majority of the architectures on [this run](https://github.com/void-linux/void-packages/actions/runs/2906665327) returned success, but actually failed

~~Turns out `build.sh` was eating the exit code. https://github.com/void-linux/void-packages/pull/38841~~ I'm an idiot.

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

* Re: New package: radm-0.6.3
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (6 preceding siblings ...)
  2022-08-23  3:30 ` Goorzhel
@ 2022-08-23  3:32 ` q66
  2022-08-23  4:21 ` [PR PATCH] [Updated] " Goorzhel
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: q66 @ 2022-08-23  3:32 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/38839#issuecomment-1223489057

Comment:
pandoc is not portable, put the manpage behind a build option that is only enabled if the host architecture is one that has it (`x86_64*|i686|ppc64le*|ppc64`)

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

* Re: [PR PATCH] [Updated] New package: radm-0.6.3
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (7 preceding siblings ...)
  2022-08-23  3:32 ` q66
@ 2022-08-23  4:21 ` Goorzhel
  2022-08-23  5:08 ` Goorzhel
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-23  4:21 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages radm
https://github.com/void-linux/void-packages/pull/38839

New package: radm-0.6.3
- I tested the changes in this PR: **YES**
- This new package (however self-serving) conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


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

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

From 6076c6dfb4b1a440b1722937ea428378dd1bcad9 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 12 Jul 2022 22:00:08 -0700
Subject: [PATCH 1/8] New package: radm-0.6.1

---
 srcpkgs/radm/files/radm/run | 11 +++++++++++
 srcpkgs/radm/template       | 23 +++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100755 srcpkgs/radm/files/radm/run
 create mode 100644 srcpkgs/radm/template

diff --git a/srcpkgs/radm/files/radm/run b/srcpkgs/radm/files/radm/run
new file mode 100755
index 000000000000..efe4752cf3ad
--- /dev/null
+++ b/srcpkgs/radm/files/radm/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+
+: ${x:=7}
+: ${args:="-f $X"}
+: ${wait_for_syslog:="true"}
+
+while [ "$wait_for_syslog" ] && [ ! -w /dev/log ]; do sleep 1; done
+
+exec setsid agetty -nl /usr/bin/radm -o "${args}" tty$x
diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
new file mode 100644
index 000000000000..2bcab27bac9d
--- /dev/null
+++ b/srcpkgs/radm/template
@@ -0,0 +1,23 @@
+# Template file for 'radm'
+pkgname=radm
+version=0.6.1
+revision=1
+build_style=cargo
+makedepends="clang make pam-devel pandoc"
+depends="seatd pam"
+short_desc="Console-based display manager for Wayland sessions"
+maintainer="Antonio Gurgel <antonio@goorzhel.com>"
+license="MIT"
+homepage="https://sr.ht/~goorzhel/radm/"
+distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
+checksum=81b87b76f1a59e2675bd4373f03d682b5c7f2b53adc926164f384bae8676c98a
+
+post_install() {
+	make res/radm.1
+
+	vinstall res/pam 644 etc/pam.d radm
+	vinstall res/rsyslog 644 etc/rsyslog.d radm
+	vlicense LICENSE
+	vman res/radm.1
+	vsv radm
+}

From 256fdd636865c0c165cbdc1dbbc210ac1a5bf0a8 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 15:33:56 -0700
Subject: [PATCH 2/8] radm: move pandoc to hostmakedepends

---
 srcpkgs/radm/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index 2bcab27bac9d..a6dd029fe0f8 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -3,7 +3,8 @@ pkgname=radm
 version=0.6.1
 revision=1
 build_style=cargo
-makedepends="clang make pam-devel pandoc"
+hostmakedepends="pandoc"
+makedepends="clang make pam-devel"
 depends="seatd pam"
 short_desc="Console-based display manager for Wayland sessions"
 maintainer="Antonio Gurgel <antonio@goorzhel.com>"

From 088759777dfe2267dc69722c1f87bb4b42f105fe Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 16:54:11 -0700
Subject: [PATCH 3/8] radm: update to 0.6.2.

---
 srcpkgs/radm/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index a6dd029fe0f8..9ff26aa1e0df 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -1,6 +1,6 @@
 # Template file for 'radm'
 pkgname=radm
-version=0.6.1
+version=0.6.2
 revision=1
 build_style=cargo
 hostmakedepends="pandoc"
@@ -11,7 +11,7 @@ maintainer="Antonio Gurgel <antonio@goorzhel.com>"
 license="MIT"
 homepage="https://sr.ht/~goorzhel/radm/"
 distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
-checksum=81b87b76f1a59e2675bd4373f03d682b5c7f2b53adc926164f384bae8676c98a
+checksum=f0cddd451591a6007dee93f8dee1c4374b63cd20dce33b17ebfcf7216dbb5ade
 
 post_install() {
 	make res/radm.1

From c6a94460e5b643010d766cf97b74dc7549b7fee7 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 17:09:23 -0700
Subject: [PATCH 4/8] radm: clang belongs in host too

---
 srcpkgs/radm/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index 9ff26aa1e0df..a8cdf03fdcc1 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -3,8 +3,8 @@ pkgname=radm
 version=0.6.2
 revision=1
 build_style=cargo
-hostmakedepends="pandoc"
-makedepends="clang make pam-devel"
+hostmakedepends="pandoc libclang clang"
+makedepends="make pam-devel"
 depends="seatd pam"
 short_desc="Console-based display manager for Wayland sessions"
 maintainer="Antonio Gurgel <antonio@goorzhel.com>"

From 41b4160329643b182b9679a05f1d6cdaf956a2f9 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 17:47:00 -0700
Subject: [PATCH 5/8] radm: update to 0.6.3.

`pam` crate broke on non-Intel.
---
 srcpkgs/radm/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index a8cdf03fdcc1..a441d4b0ab02 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -1,6 +1,6 @@
 # Template file for 'radm'
 pkgname=radm
-version=0.6.2
+version=0.6.3
 revision=1
 build_style=cargo
 hostmakedepends="pandoc libclang clang"
@@ -11,7 +11,7 @@ maintainer="Antonio Gurgel <antonio@goorzhel.com>"
 license="MIT"
 homepage="https://sr.ht/~goorzhel/radm/"
 distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
-checksum=f0cddd451591a6007dee93f8dee1c4374b63cd20dce33b17ebfcf7216dbb5ade
+checksum=6b90b540674bf86b901652b0708f82e8688c5c7993d3a2e4ecd65c030d7b74f2
 
 post_install() {
 	make res/radm.1

From db785abbdb0977812e3f23ccf33ee27cc92f9a25 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 18:47:33 -0700
Subject: [PATCH 6/8] radm: just put everything in hostmakedepends

---
 srcpkgs/radm/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index a441d4b0ab02..21eb56824b01 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -3,8 +3,7 @@ pkgname=radm
 version=0.6.3
 revision=1
 build_style=cargo
-hostmakedepends="pandoc libclang clang"
-makedepends="make pam-devel"
+hostmakedepends="clang libclang make pam-devel pandoc"
 depends="seatd pam"
 short_desc="Console-based display manager for Wayland sessions"
 maintainer="Antonio Gurgel <antonio@goorzhel.com>"

From bf5cf946522047e4897b85605c2b69eb4c9ba12d Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 21:06:49 -0700
Subject: [PATCH 7/8] radm: hide pandoc behind build option

---
 srcpkgs/radm/template | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index 21eb56824b01..e02c8fb70771 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -3,7 +3,7 @@ pkgname=radm
 version=0.6.3
 revision=1
 build_style=cargo
-hostmakedepends="clang libclang make pam-devel pandoc"
+hostmakedepends="clang libclang make pam-devel $(vopt_if man pandoc)"
 depends="seatd pam"
 short_desc="Console-based display manager for Wayland sessions"
 maintainer="Antonio Gurgel <antonio@goorzhel.com>"
@@ -12,12 +12,21 @@ homepage="https://sr.ht/~goorzhel/radm/"
 distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
 checksum=6b90b540674bf86b901652b0708f82e8688c5c7993d3a2e4ecd65c030d7b74f2
 
+build_options="man"
+desc_option_man="Use pandoc for manpages"
+
+case "$XBPS_MACHINE" in
+	x86_64*|i686|ppc64le*|ppc64) build_options_default="man" ;;
+esac
+
 post_install() {
-	make res/radm.1
+	if [ "$build_option_man" ]; then
+		make res/radm.1
+		vman res/radm.1
+	fi
 
 	vinstall res/pam 644 etc/pam.d radm
 	vinstall res/rsyslog 644 etc/rsyslog.d radm
 	vlicense LICENSE
-	vman res/radm.1
 	vsv radm
 }

From 26e301e58083e8408cfc6e7ed985230f57a8106e Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 22 Aug 2022 21:13:40 -0700
Subject: [PATCH 8/8] radm: pam-devel back to makedepends

---
 srcpkgs/radm/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
index e02c8fb70771..1a4bc9f8cb7d 100644
--- a/srcpkgs/radm/template
+++ b/srcpkgs/radm/template
@@ -3,7 +3,8 @@ pkgname=radm
 version=0.6.3
 revision=1
 build_style=cargo
-hostmakedepends="clang libclang make pam-devel $(vopt_if man pandoc)"
+hostmakedepends="clang libclang make $(vopt_if man pandoc)"
+makedepends="pam-devel"
 depends="seatd pam"
 short_desc="Console-based display manager for Wayland sessions"
 maintainer="Antonio Gurgel <antonio@goorzhel.com>"

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

* Re: New package: radm-0.6.3
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (8 preceding siblings ...)
  2022-08-23  4:21 ` [PR PATCH] [Updated] " Goorzhel
@ 2022-08-23  5:08 ` Goorzhel
  2022-08-23  5:09 ` [PR PATCH] [Updated] " Goorzhel
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-23  5:08 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/38839#issuecomment-1223550838

Comment:
This is as done as it's ever going to be. Squashing.

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

* Re: [PR PATCH] [Updated] New package: radm-0.6.3
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (9 preceding siblings ...)
  2022-08-23  5:08 ` Goorzhel
@ 2022-08-23  5:09 ` Goorzhel
  2022-08-29  3:25 ` Goorzhel
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-23  5:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages radm
https://github.com/void-linux/void-packages/pull/38839

New package: radm-0.6.3
- I tested the changes in this PR: **YES**
- This new package (however self-serving) conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


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

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

From 6783165ac9660138a7487a349c0bc6e6edcadc39 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 12 Jul 2022 22:00:08 -0700
Subject: [PATCH] New package: radm-0.6.3

---
 srcpkgs/radm/files/radm/run | 11 +++++++++++
 srcpkgs/radm/template       | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100755 srcpkgs/radm/files/radm/run
 create mode 100644 srcpkgs/radm/template

diff --git a/srcpkgs/radm/files/radm/run b/srcpkgs/radm/files/radm/run
new file mode 100755
index 000000000000..efe4752cf3ad
--- /dev/null
+++ b/srcpkgs/radm/files/radm/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+
+: ${x:=7}
+: ${args:="-f $X"}
+: ${wait_for_syslog:="true"}
+
+while [ "$wait_for_syslog" ] && [ ! -w /dev/log ]; do sleep 1; done
+
+exec setsid agetty -nl /usr/bin/radm -o "${args}" tty$x
diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
new file mode 100644
index 000000000000..1a4bc9f8cb7d
--- /dev/null
+++ b/srcpkgs/radm/template
@@ -0,0 +1,33 @@
+# Template file for 'radm'
+pkgname=radm
+version=0.6.3
+revision=1
+build_style=cargo
+hostmakedepends="clang libclang make $(vopt_if man pandoc)"
+makedepends="pam-devel"
+depends="seatd pam"
+short_desc="Console-based display manager for Wayland sessions"
+maintainer="Antonio Gurgel <antonio@goorzhel.com>"
+license="MIT"
+homepage="https://sr.ht/~goorzhel/radm/"
+distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
+checksum=6b90b540674bf86b901652b0708f82e8688c5c7993d3a2e4ecd65c030d7b74f2
+
+build_options="man"
+desc_option_man="Use pandoc for manpages"
+
+case "$XBPS_MACHINE" in
+	x86_64*|i686|ppc64le*|ppc64) build_options_default="man" ;;
+esac
+
+post_install() {
+	if [ "$build_option_man" ]; then
+		make res/radm.1
+		vman res/radm.1
+	fi
+
+	vinstall res/pam 644 etc/pam.d radm
+	vinstall res/rsyslog 644 etc/rsyslog.d radm
+	vlicense LICENSE
+	vsv radm
+}

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

* Re: [PR PATCH] [Updated] New package: radm-0.6.3
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (10 preceding siblings ...)
  2022-08-23  5:09 ` [PR PATCH] [Updated] " Goorzhel
@ 2022-08-29  3:25 ` Goorzhel
  2022-09-01  0:57 ` Goorzhel
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-08-29  3:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages radm
https://github.com/void-linux/void-packages/pull/38839

New package: radm-0.6.3
- I tested the changes in this PR: **YES**
- This new package (however self-serving) conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


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

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

From 54a053e6718df19dd79320ae2095be39fd8e68fe Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 12 Jul 2022 22:00:08 -0700
Subject: [PATCH] New package: radm-0.6.4

---
 srcpkgs/radm/files/radm/run | 11 +++++++++++
 srcpkgs/radm/template       | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100755 srcpkgs/radm/files/radm/run
 create mode 100644 srcpkgs/radm/template

diff --git a/srcpkgs/radm/files/radm/run b/srcpkgs/radm/files/radm/run
new file mode 100755
index 000000000000..efe4752cf3ad
--- /dev/null
+++ b/srcpkgs/radm/files/radm/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+
+: ${x:=7}
+: ${args:="-f $X"}
+: ${wait_for_syslog:="true"}
+
+while [ "$wait_for_syslog" ] && [ ! -w /dev/log ]; do sleep 1; done
+
+exec setsid agetty -nl /usr/bin/radm -o "${args}" tty$x
diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
new file mode 100644
index 000000000000..ecb2e9c8eaee
--- /dev/null
+++ b/srcpkgs/radm/template
@@ -0,0 +1,33 @@
+# Template file for 'radm'
+pkgname=radm
+version=0.6.4
+revision=1
+build_style=cargo
+hostmakedepends="clang libclang make $(vopt_if man pandoc)"
+makedepends="pam-devel"
+depends="seatd pam"
+short_desc="Console-based display manager for Wayland sessions"
+maintainer="Antonio Gurgel <antonio@goorzhel.com>"
+license="MIT"
+homepage="https://sr.ht/~goorzhel/radm/"
+distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
+checksum=106353ecac4cc7bc0ac371c2f97686f485730b2c96e41fd1db95b9b7ec945396
+
+build_options="man"
+desc_option_man="Use pandoc for manpages"
+
+case "$XBPS_MACHINE" in
+	x86_64*|i686|ppc64le*|ppc64) build_options_default="man" ;;
+esac
+
+post_install() {
+	if [ "$build_option_man" ]; then
+		make res/radm.1
+		vman res/radm.1
+	fi
+
+	vinstall res/pam 644 etc/pam.d radm
+	vinstall res/rsyslog 644 etc/rsyslog.d radm
+	vlicense LICENSE
+	vsv radm
+}

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

* Re: [PR PATCH] [Updated] New package: radm-0.6.3
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (11 preceding siblings ...)
  2022-08-29  3:25 ` Goorzhel
@ 2022-09-01  0:57 ` Goorzhel
  2022-11-13 22:46 ` [PR PATCH] [Closed]: New package: radm-0.6.4 Goorzhel
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-09-01  0:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Goorzhel/void-packages radm
https://github.com/void-linux/void-packages/pull/38839

New package: radm-0.6.3
- I tested the changes in this PR: **YES**
- This new package (however self-serving) conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


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

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

From c287af9410c50e4ae9b83fc8856cb150b74aba03 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 12 Jul 2022 22:00:08 -0700
Subject: [PATCH] New package: radm-0.6.4

---
 srcpkgs/radm/files/radm/run | 11 +++++++++++
 srcpkgs/radm/template       | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100755 srcpkgs/radm/files/radm/run
 create mode 100644 srcpkgs/radm/template

diff --git a/srcpkgs/radm/files/radm/run b/srcpkgs/radm/files/radm/run
new file mode 100755
index 000000000000..efe4752cf3ad
--- /dev/null
+++ b/srcpkgs/radm/files/radm/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+
+: ${x:=7}
+: ${args:="-f $X"}
+: ${wait_for_syslog:="true"}
+
+while [ "$wait_for_syslog" ] && [ ! -w /dev/log ]; do sleep 1; done
+
+exec setsid agetty -nl /usr/bin/radm -o "${args}" tty$x
diff --git a/srcpkgs/radm/template b/srcpkgs/radm/template
new file mode 100644
index 000000000000..ecb2e9c8eaee
--- /dev/null
+++ b/srcpkgs/radm/template
@@ -0,0 +1,33 @@
+# Template file for 'radm'
+pkgname=radm
+version=0.6.4
+revision=1
+build_style=cargo
+hostmakedepends="clang libclang make $(vopt_if man pandoc)"
+makedepends="pam-devel"
+depends="seatd pam"
+short_desc="Console-based display manager for Wayland sessions"
+maintainer="Antonio Gurgel <antonio@goorzhel.com>"
+license="MIT"
+homepage="https://sr.ht/~goorzhel/radm/"
+distfiles="https://git.sr.ht/~goorzhel/radm/archive/${version}.tar.gz"
+checksum=106353ecac4cc7bc0ac371c2f97686f485730b2c96e41fd1db95b9b7ec945396
+
+build_options="man"
+desc_option_man="Use pandoc for manpages"
+
+case "$XBPS_MACHINE" in
+	x86_64*|i686|ppc64le*|ppc64) build_options_default="man" ;;
+esac
+
+post_install() {
+	if [ "$build_option_man" ]; then
+		make res/radm.1
+		vman res/radm.1
+	fi
+
+	vinstall res/pam 644 etc/pam.d radm
+	vinstall res/rsyslog 644 etc/rsyslog.d radm
+	vlicense LICENSE
+	vsv radm
+}

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

* Re: [PR PATCH] [Closed]: New package: radm-0.6.4
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (12 preceding siblings ...)
  2022-09-01  0:57 ` Goorzhel
@ 2022-11-13 22:46 ` Goorzhel
  2022-11-13 22:47 ` Goorzhel
  2024-01-20  6:07 ` Goorzhel
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-11-13 22:46 UTC (permalink / raw)
  To: ml

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

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

New package: radm-0.6.4
https://github.com/void-linux/void-packages/pull/38839

Description:
- I tested the changes in this PR: **YES**
- This new package (however self-serving) conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


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

* Re: New package: radm-0.6.4
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (13 preceding siblings ...)
  2022-11-13 22:46 ` [PR PATCH] [Closed]: New package: radm-0.6.4 Goorzhel
@ 2022-11-13 22:47 ` Goorzhel
  2024-01-20  6:07 ` Goorzhel
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2022-11-13 22:47 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/38839#issuecomment-1312842301

Comment:
Still needs work.

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

* Re: New package: radm-0.6.4
  2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
                   ` (14 preceding siblings ...)
  2022-11-13 22:47 ` Goorzhel
@ 2024-01-20  6:07 ` Goorzhel
  15 siblings, 0 replies; 17+ messages in thread
From: Goorzhel @ 2024-01-20  6:07 UTC (permalink / raw)
  To: ml

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

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/38839#issuecomment-1312842301

Comment:
Still needs work.

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

end of thread, other threads:[~2024-01-20  6:07 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-22 19:49 [PR PATCH] New package: radm-0.6.1 Goorzhel
2022-08-22 19:59 ` Goorzhel
2022-08-22 19:59 ` Goorzhel
2022-08-22 23:06 ` Goorzhel
2022-08-23  1:01 ` [PR PATCH] [Updated] " Goorzhel
2022-08-23  1:02 ` Goorzhel
2022-08-23  3:14 ` New package: radm-0.6.3 Goorzhel
2022-08-23  3:30 ` Goorzhel
2022-08-23  3:32 ` q66
2022-08-23  4:21 ` [PR PATCH] [Updated] " Goorzhel
2022-08-23  5:08 ` Goorzhel
2022-08-23  5:09 ` [PR PATCH] [Updated] " Goorzhel
2022-08-29  3:25 ` Goorzhel
2022-09-01  0:57 ` Goorzhel
2022-11-13 22:46 ` [PR PATCH] [Closed]: New package: radm-0.6.4 Goorzhel
2022-11-13 22:47 ` Goorzhel
2024-01-20  6:07 ` Goorzhel

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