Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: rundird-0.1.0
@ 2021-03-07 10:59 ifreund
  2021-03-07 11:01 ` [PR PATCH] [Updated] " ifreund
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: ifreund @ 2021-03-07 10:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages rundird
https://github.com/void-linux/void-packages/pull/29288

New package: rundird-0.1.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 60fac88bf6291c26a5502f6d2cb708b09471d50a Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Sun, 7 Mar 2021 11:48:45 +0100
Subject: [PATCH] New package: rundird-0.1.0

---
 srcpkgs/rundird/files/rundird/run |  2 ++
 srcpkgs/rundird/template          | 25 +++++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 srcpkgs/rundird/files/rundird/run
 create mode 100644 srcpkgs/rundird/template

diff --git a/srcpkgs/rundird/files/rundird/run b/srcpkgs/rundird/files/rundird/run
new file mode 100644
index 00000000000..df06fdb0fc8
--- /dev/null
+++ b/srcpkgs/rundird/files/rundird/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/rundird
diff --git a/srcpkgs/rundird/template b/srcpkgs/rundird/template
new file mode 100644
index 00000000000..09f95024f0b
--- /dev/null
+++ b/srcpkgs/rundird/template
@@ -0,0 +1,25 @@
+# Template file for 'rundird'
+pkgname=rundird
+version=0.1.0
+revision=1
+hostmakedepends="zig"
+makedepends="pam-devel"
+depends=""
+short_desc="Simple daemon + PAM module providing an XDG_RUNTIME_DIR"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/ifreund/rundird"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=abee60719b1904db3a127b7a3f054ab5fa7b17a968107127ced494230d1718af
+
+do_build() {
+	zig build -Drelease-safe
+}
+
+do_install() {
+	zig build -Drelease-safe --prefix "${DESTDIR}/usr" install
+}
+
+post_install() {
+	vsv rundird
+}

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

* Re: [PR PATCH] [Updated] New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
@ 2021-03-07 11:01 ` ifreund
  2021-03-08  6:34 ` ericonr
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ifreund @ 2021-03-07 11:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages rundird
https://github.com/void-linux/void-packages/pull/29288

New package: rundird-0.1.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 2637207057ed5a7f1511ca5479b1377bf75168a9 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Sun, 7 Mar 2021 11:48:45 +0100
Subject: [PATCH] New package: rundird-0.1.0

---
 srcpkgs/rundird/files/rundird/run |  2 ++
 srcpkgs/rundird/template          | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/rundird/files/rundird/run
 create mode 100644 srcpkgs/rundird/template

diff --git a/srcpkgs/rundird/files/rundird/run b/srcpkgs/rundird/files/rundird/run
new file mode 100644
index 000000000000..df06fdb0fc88
--- /dev/null
+++ b/srcpkgs/rundird/files/rundird/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/rundird
diff --git a/srcpkgs/rundird/template b/srcpkgs/rundird/template
new file mode 100644
index 000000000000..68466c31d229
--- /dev/null
+++ b/srcpkgs/rundird/template
@@ -0,0 +1,24 @@
+# Template file for 'rundird'
+pkgname=rundird
+version=0.1.0
+revision=1
+hostmakedepends="zig"
+makedepends="pam-devel"
+short_desc="Simple daemon + PAM module providing an XDG_RUNTIME_DIR"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/ifreund/rundird"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=abee60719b1904db3a127b7a3f054ab5fa7b17a968107127ced494230d1718af
+
+do_build() {
+	zig build -Drelease-safe
+}
+
+do_install() {
+	zig build -Drelease-safe --prefix "${DESTDIR}/usr" install
+}
+
+post_install() {
+	vsv rundird
+}

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

* Re: New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
  2021-03-07 11:01 ` [PR PATCH] [Updated] " ifreund
@ 2021-03-08  6:34 ` ericonr
  2021-03-11  9:15 ` travankor
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ericonr @ 2021-03-08  6:34 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/29288#issuecomment-792507274

Comment:
It would be nice if it could do cross :)

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

* Re: New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
  2021-03-07 11:01 ` [PR PATCH] [Updated] " ifreund
  2021-03-08  6:34 ` ericonr
@ 2021-03-11  9:15 ` travankor
  2021-03-11  9:16 ` travankor
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: travankor @ 2021-03-11  9:15 UTC (permalink / raw)
  To: ml

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

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/29288#issuecomment-796590192

Comment:
>It would be nice if it could do cross :)

blocked on #25004 ?

hopefully, not a blocker for initial packaging

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

* Re: New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (2 preceding siblings ...)
  2021-03-11  9:15 ` travankor
@ 2021-03-11  9:16 ` travankor
  2021-03-11 13:10 ` ericonr
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: travankor @ 2021-03-11  9:16 UTC (permalink / raw)
  To: ml

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

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/29288#issuecomment-796590192

Comment:
>It would be nice if it could do cross :)

blocked on #25004 ?

hopefully, cross is not a blocker for initial packaging

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

* Re: New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (3 preceding siblings ...)
  2021-03-11  9:16 ` travankor
@ 2021-03-11 13:10 ` ericonr
  2021-03-11 13:39 ` travankor
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ericonr @ 2021-03-11 13:10 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/29288#issuecomment-796724400

Comment:
I don't think so. That PR is about cross compiling the compiler, not projects using zig...

And the template here isn't trying to pass any targets or anything, so the fix might even be a simple one.

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

* Re: New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (4 preceding siblings ...)
  2021-03-11 13:10 ` ericonr
@ 2021-03-11 13:39 ` travankor
  2021-03-11 13:45 ` travankor
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: travankor @ 2021-03-11 13:39 UTC (permalink / raw)
  To: ml

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

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/29288#issuecomment-796742186

Comment:
oh woops, sorry

This is what happens when you only look at the PR title.

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

* Re: New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (5 preceding siblings ...)
  2021-03-11 13:39 ` travankor
@ 2021-03-11 13:45 ` travankor
  2021-03-11 13:45 ` travankor
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: travankor @ 2021-03-11 13:45 UTC (permalink / raw)
  To: ml

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

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/29288#issuecomment-796742186

Comment:
oh woops, sorry

This is what happens when you only look at the PR title.

edit: maybe `zig build -target ${XBPS_CROSS_TRIPLET -Drelease-safe` ?

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

* Re: New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (6 preceding siblings ...)
  2021-03-11 13:45 ` travankor
@ 2021-03-11 13:45 ` travankor
  2021-05-24 19:07 ` [PR PATCH] [Updated] " ifreund
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: travankor @ 2021-03-11 13:45 UTC (permalink / raw)
  To: ml

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

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/pull/29288#issuecomment-796742186

Comment:
oh woops, sorry

This is what happens when you only look at the PR title.

edit: maybe `zig build -target ${XBPS_CROSS_TRIPLET} -Drelease-safe` ?

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

* Re: [PR PATCH] [Updated] New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (7 preceding siblings ...)
  2021-03-11 13:45 ` travankor
@ 2021-05-24 19:07 ` ifreund
  2021-06-07 20:39 ` ifreund
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ifreund @ 2021-05-24 19:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages rundird
https://github.com/void-linux/void-packages/pull/29288

New package: rundird-0.1.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 8daabc3a415d669f211fd99fde4d91d295eed57f Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Sun, 7 Mar 2021 11:48:45 +0100
Subject: [PATCH 1/2] New package: rundird-0.1.0

---
 srcpkgs/rundird/files/rundird/run |  2 ++
 srcpkgs/rundird/template          | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/rundird/files/rundird/run
 create mode 100644 srcpkgs/rundird/template

diff --git a/srcpkgs/rundird/files/rundird/run b/srcpkgs/rundird/files/rundird/run
new file mode 100644
index 000000000000..df06fdb0fc88
--- /dev/null
+++ b/srcpkgs/rundird/files/rundird/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/rundird
diff --git a/srcpkgs/rundird/template b/srcpkgs/rundird/template
new file mode 100644
index 000000000000..68466c31d229
--- /dev/null
+++ b/srcpkgs/rundird/template
@@ -0,0 +1,24 @@
+# Template file for 'rundird'
+pkgname=rundird
+version=0.1.0
+revision=1
+hostmakedepends="zig"
+makedepends="pam-devel"
+short_desc="Simple daemon + PAM module providing an XDG_RUNTIME_DIR"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/ifreund/rundird"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=abee60719b1904db3a127b7a3f054ab5fa7b17a968107127ced494230d1718af
+
+do_build() {
+	zig build -Drelease-safe
+}
+
+do_install() {
+	zig build -Drelease-safe --prefix "${DESTDIR}/usr" install
+}
+
+post_install() {
+	vsv rundird
+}

From 2e5ca32400983250cc13fcfa030cec34246f4279 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Mon, 24 May 2021 21:06:48 +0200
Subject: [PATCH 2/2] rundird: update to 0.1.1.

---
 srcpkgs/rundird/template | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/rundird/template b/srcpkgs/rundird/template
index 68466c31d229..45ea6b0d0ac4 100644
--- a/srcpkgs/rundird/template
+++ b/srcpkgs/rundird/template
@@ -1,15 +1,18 @@
 # Template file for 'rundird'
 pkgname=rundird
-version=0.1.0
+_commit=6a1889eeb807f8062b27c7befd14f092c19a887d
+version=0.1.1
 revision=1
+wrksrc="rundird-${_commit}"
 hostmakedepends="zig"
 makedepends="pam-devel"
 short_desc="Simple daemon + PAM module providing an XDG_RUNTIME_DIR"
 maintainer="Isaac Freund <ifreund@ifreund.xyz>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/ifreund/rundird"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=abee60719b1904db3a127b7a3f054ab5fa7b17a968107127ced494230d1718af
+#distfiles="${homepage}/archive/v${version}.tar.gz"
+distfiles="${homepage}/archive/${_commit}.tar.gz"
+checksum=2c7da32d9f783a96e218c54cce4c64600d9d0d959682968996462090e87fca19
 
 do_build() {
 	zig build -Drelease-safe

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

* Re: [PR PATCH] [Updated] New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (8 preceding siblings ...)
  2021-05-24 19:07 ` [PR PATCH] [Updated] " ifreund
@ 2021-06-07 20:39 ` ifreund
  2021-06-10  2:19 ` ifreund
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ifreund @ 2021-06-07 20:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages rundird
https://github.com/void-linux/void-packages/pull/29288

New package: rundird-0.1.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From f45c4fc2865eb21468883c6aba305196c51fa9bb Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Sun, 7 Mar 2021 11:48:45 +0100
Subject: [PATCH] New package: rundird-0.1.0

---
 srcpkgs/rundird/files/rundird/run |  2 ++
 srcpkgs/rundird/template          | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/rundird/files/rundird/run
 create mode 100644 srcpkgs/rundird/template

diff --git a/srcpkgs/rundird/files/rundird/run b/srcpkgs/rundird/files/rundird/run
new file mode 100644
index 000000000000..df06fdb0fc88
--- /dev/null
+++ b/srcpkgs/rundird/files/rundird/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/rundird
diff --git a/srcpkgs/rundird/template b/srcpkgs/rundird/template
new file mode 100644
index 000000000000..2f0113459e4b
--- /dev/null
+++ b/srcpkgs/rundird/template
@@ -0,0 +1,24 @@
+# Template file for 'rundird'
+pkgname=rundird
+version=0.1.1
+revision=1
+hostmakedepends="zig"
+makedepends="pam-devel"
+short_desc="Simple daemon + PAM module providing an XDG_RUNTIME_DIR"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/ifreund/rundird"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=d3a848fba0016841385aab57298164ba8f30377799c217b6b6abf83ce1d2ca91
+
+do_build() {
+	zig build -Drelease-safe
+}
+
+do_install() {
+	DESTDIR="${DESTDIR}" zig build -Drelease-safe --prefix /usr install
+}
+
+post_install() {
+	vsv rundird
+}

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

* Re: [PR PATCH] [Updated] New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (9 preceding siblings ...)
  2021-06-07 20:39 ` ifreund
@ 2021-06-10  2:19 ` ifreund
  2021-06-10  3:10 ` ifreund
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ifreund @ 2021-06-10  2:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages rundird
https://github.com/void-linux/void-packages/pull/29288

New package: rundird-0.1.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 8576b493acc684eaf104100d62710e45953cba41 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Sun, 7 Mar 2021 11:48:45 +0100
Subject: [PATCH] New package: rundird-0.1.1

cross
---
 srcpkgs/rundird/files/rundird/run |  2 ++
 srcpkgs/rundird/template          | 23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 srcpkgs/rundird/files/rundird/run
 create mode 100644 srcpkgs/rundird/template

diff --git a/srcpkgs/rundird/files/rundird/run b/srcpkgs/rundird/files/rundird/run
new file mode 100644
index 000000000000..df06fdb0fc88
--- /dev/null
+++ b/srcpkgs/rundird/files/rundird/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/rundird
diff --git a/srcpkgs/rundird/template b/srcpkgs/rundird/template
new file mode 100644
index 000000000000..c7586a81b7b7
--- /dev/null
+++ b/srcpkgs/rundird/template
@@ -0,0 +1,23 @@
+# Template file for 'rundird'
+pkgname=rundird
+version=0.1.1
+revision=1
+hostmakedepends="zig"
+makedepends="pam-devel"
+short_desc="Simple daemon + PAM module providing an XDG_RUNTIME_DIR"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/ifreund/rundird"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=d3a848fba0016841385aab57298164ba8f30377799c217b6b6abf83ce1d2ca91
+
+do_install() {
+	DESTDIR="${DESTDIR}" zig build \
+		--search-prefix $XBPS_CROSS_BASE \
+		-Dtarget="${XBPS_TARGET_MACHINE%-musl}-linux-${XBPS_LIBC}" \
+		-Drelease-safe --prefix /usr install
+}
+
+post_install() {
+	vsv rundird
+}

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

* Re: [PR PATCH] [Updated] New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (10 preceding siblings ...)
  2021-06-10  2:19 ` ifreund
@ 2021-06-10  3:10 ` ifreund
  2021-06-10  4:26 ` ifreund
  2021-06-10  4:31 ` ifreund
  13 siblings, 0 replies; 15+ messages in thread
From: ifreund @ 2021-06-10  3:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages rundird
https://github.com/void-linux/void-packages/pull/29288

New package: rundird-0.1.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 2cec37708ad22fefa7ecfb29add5b7a8de5dd221 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Sun, 7 Mar 2021 11:48:45 +0100
Subject: [PATCH] New package: rundird-0.1.1

---
 common/build-style/zig.sh         | 22 ++++++++++++++++++++++
 srcpkgs/rundird/files/rundird/run |  2 ++
 srcpkgs/rundird/template          | 17 +++++++++++++++++
 3 files changed, 41 insertions(+)
 create mode 100644 common/build-style/zig.sh
 create mode 100644 srcpkgs/rundird/files/rundird/run
 create mode 100644 srcpkgs/rundird/template

diff --git a/common/build-style/zig.sh b/common/build-style/zig.sh
new file mode 100644
index 000000000000..2fa0426debbd
--- /dev/null
+++ b/common/build-style/zig.sh
@@ -0,0 +1,22 @@
+do_build() {
+	local zig_target_abi
+	case $XBPS_TARGET_LIBC in
+		glibc) zig_target_abi="gnu";;
+		musl) zig_target_abi="musl";;
+	esac
+
+	# The Zig build system only has a single install step, there is no
+	# way to build artifacts for a given prefix and then install those artifacts
+	# to that prefix at some later time. Therefore, we build and install to the zig-out
+	# directory and later copy the artifacts to the destdir in do_install().
+	# We use zig-out to avoid path conflicts as it is the default install
+	# prefix used by the zig build system.
+	DESTDIR="zig-out" zig build \
+		--search-prefix $XBPS_CROSS_BASE \
+		-Dtarget="${XBPS_TARGET_MACHINE%-musl}-linux-${zig_target_abi}" \
+		-Drelease-safe --prefix /usr install
+}
+
+do_install() {
+	cp -r zig-out/* "${DESTDIR}"
+}
diff --git a/srcpkgs/rundird/files/rundird/run b/srcpkgs/rundird/files/rundird/run
new file mode 100644
index 000000000000..df06fdb0fc88
--- /dev/null
+++ b/srcpkgs/rundird/files/rundird/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/rundird
diff --git a/srcpkgs/rundird/template b/srcpkgs/rundird/template
new file mode 100644
index 000000000000..5c7ab5408adf
--- /dev/null
+++ b/srcpkgs/rundird/template
@@ -0,0 +1,17 @@
+# Template file for 'rundird'
+pkgname=rundird
+version=0.1.1
+revision=1
+build_style=zig
+hostmakedepends="zig"
+makedepends="pam-devel"
+short_desc="Simple daemon + PAM module providing an XDG_RUNTIME_DIR"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/ifreund/rundird"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=d3a848fba0016841385aab57298164ba8f30377799c217b6b6abf83ce1d2ca91
+
+post_install() {
+	vsv rundird
+}

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

* Re: [PR PATCH] [Updated] New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (11 preceding siblings ...)
  2021-06-10  3:10 ` ifreund
@ 2021-06-10  4:26 ` ifreund
  2021-06-10  4:31 ` ifreund
  13 siblings, 0 replies; 15+ messages in thread
From: ifreund @ 2021-06-10  4:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages rundird
https://github.com/void-linux/void-packages/pull/29288

New package: rundird-0.1.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From c4dca57a5191dd6b3f63444b61899c8980b2251e Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Sun, 7 Mar 2021 11:48:45 +0100
Subject: [PATCH] New package: rundird-0.1.1

---
 common/build-style/zig.sh         | 22 ++++++++++++++++++++++
 srcpkgs/rundird/files/rundird/run |  2 ++
 srcpkgs/rundird/template          | 17 +++++++++++++++++
 3 files changed, 41 insertions(+)
 create mode 100644 common/build-style/zig.sh
 create mode 100644 srcpkgs/rundird/files/rundird/run
 create mode 100644 srcpkgs/rundird/template

diff --git a/common/build-style/zig.sh b/common/build-style/zig.sh
new file mode 100644
index 000000000000..2fa0426debbd
--- /dev/null
+++ b/common/build-style/zig.sh
@@ -0,0 +1,22 @@
+do_build() {
+	local zig_target_abi
+	case $XBPS_TARGET_LIBC in
+		glibc) zig_target_abi="gnu";;
+		musl) zig_target_abi="musl";;
+	esac
+
+	# The Zig build system only has a single install step, there is no
+	# way to build artifacts for a given prefix and then install those artifacts
+	# to that prefix at some later time. Therefore, we build and install to the zig-out
+	# directory and later copy the artifacts to the destdir in do_install().
+	# We use zig-out to avoid path conflicts as it is the default install
+	# prefix used by the zig build system.
+	DESTDIR="zig-out" zig build \
+		--search-prefix $XBPS_CROSS_BASE \
+		-Dtarget="${XBPS_TARGET_MACHINE%-musl}-linux-${zig_target_abi}" \
+		-Drelease-safe --prefix /usr install
+}
+
+do_install() {
+	cp -r zig-out/* "${DESTDIR}"
+}
diff --git a/srcpkgs/rundird/files/rundird/run b/srcpkgs/rundird/files/rundird/run
new file mode 100644
index 000000000000..df06fdb0fc88
--- /dev/null
+++ b/srcpkgs/rundird/files/rundird/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/rundird
diff --git a/srcpkgs/rundird/template b/srcpkgs/rundird/template
new file mode 100644
index 000000000000..5c7ab5408adf
--- /dev/null
+++ b/srcpkgs/rundird/template
@@ -0,0 +1,17 @@
+# Template file for 'rundird'
+pkgname=rundird
+version=0.1.1
+revision=1
+build_style=zig
+hostmakedepends="zig"
+makedepends="pam-devel"
+short_desc="Simple daemon + PAM module providing an XDG_RUNTIME_DIR"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/ifreund/rundird"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=d3a848fba0016841385aab57298164ba8f30377799c217b6b6abf83ce1d2ca91
+
+post_install() {
+	vsv rundird
+}

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

* Re: [PR PATCH] [Updated] New package: rundird-0.1.0
  2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
                   ` (12 preceding siblings ...)
  2021-06-10  4:26 ` ifreund
@ 2021-06-10  4:31 ` ifreund
  13 siblings, 0 replies; 15+ messages in thread
From: ifreund @ 2021-06-10  4:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ifreund/void-packages rundird
https://github.com/void-linux/void-packages/pull/29288

New package: rundird-0.1.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 191fd5ffb2646811e27e1f6e1228068faacdd10c Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Sun, 7 Mar 2021 11:48:45 +0100
Subject: [PATCH] New package: rundird-0.1.1

---
 common/build-style/zig.sh         | 30 ++++++++++++++++++++++++++++++
 srcpkgs/rundird/files/rundird/run |  2 ++
 srcpkgs/rundird/template          | 17 +++++++++++++++++
 3 files changed, 49 insertions(+)
 create mode 100644 common/build-style/zig.sh
 create mode 100644 srcpkgs/rundird/files/rundird/run
 create mode 100644 srcpkgs/rundird/template

diff --git a/common/build-style/zig.sh b/common/build-style/zig.sh
new file mode 100644
index 000000000000..49d7aea742b4
--- /dev/null
+++ b/common/build-style/zig.sh
@@ -0,0 +1,30 @@
+do_build() {
+	local zig_target
+	local zig_cpu
+	case $XBPS_TARGET_MACHINE in
+		aarch64-musl|i686-musl|x86_64-musl)
+			zig_target="${XBPS_TARGET_MACHINE%-musl}-linux-musl" zig_cpu="generic";;
+		aarch64|i686|x86_64)
+			zig_target="${XBPS_TARGET_MACHINE}-linux-gnu" zig_cpu="generic";;
+		armv6l-musl) zig_target="arm-linux-musl" zig_cpu="generic+v6";;
+		armv6l) zig_target="arm-linux-gnu" zig_cpu="generic+v6";;
+		armv7l-musl) zig_target="arm-linux-musl" zig_cpu="generic+v7a";;
+		armv7l) zig_target="arm-linux-gnu" zig_cpu="generic+v7a";;
+		*) broken="TODO: support more target machines for the zig build style";;
+	esac
+
+	# The Zig build system only has a single install step, there is no
+	# way to build artifacts for a given prefix and then install those artifacts
+	# to that prefix at some later time. Therefore, we build and install to the zig-out
+	# directory and later copy the artifacts to the destdir in do_install().
+	# We use zig-out to avoid path conflicts as it is the default install
+	# prefix used by the zig build system.
+	DESTDIR="zig-out" zig build \
+		--search-prefix $XBPS_CROSS_BASE \
+		-Dtarget=$zig_target -Dcpu=$zig_cpu \
+		-Drelease-safe --prefix /usr install
+}
+
+do_install() {
+	cp -r zig-out/* "${DESTDIR}"
+}
diff --git a/srcpkgs/rundird/files/rundird/run b/srcpkgs/rundird/files/rundird/run
new file mode 100644
index 000000000000..df06fdb0fc88
--- /dev/null
+++ b/srcpkgs/rundird/files/rundird/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/rundird
diff --git a/srcpkgs/rundird/template b/srcpkgs/rundird/template
new file mode 100644
index 000000000000..5c7ab5408adf
--- /dev/null
+++ b/srcpkgs/rundird/template
@@ -0,0 +1,17 @@
+# Template file for 'rundird'
+pkgname=rundird
+version=0.1.1
+revision=1
+build_style=zig
+hostmakedepends="zig"
+makedepends="pam-devel"
+short_desc="Simple daemon + PAM module providing an XDG_RUNTIME_DIR"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/ifreund/rundird"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=d3a848fba0016841385aab57298164ba8f30377799c217b6b6abf83ce1d2ca91
+
+post_install() {
+	vsv rundird
+}

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

end of thread, other threads:[~2021-06-10  4:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 10:59 [PR PATCH] New package: rundird-0.1.0 ifreund
2021-03-07 11:01 ` [PR PATCH] [Updated] " ifreund
2021-03-08  6:34 ` ericonr
2021-03-11  9:15 ` travankor
2021-03-11  9:16 ` travankor
2021-03-11 13:10 ` ericonr
2021-03-11 13:39 ` travankor
2021-03-11 13:45 ` travankor
2021-03-11 13:45 ` travankor
2021-05-24 19:07 ` [PR PATCH] [Updated] " ifreund
2021-06-07 20:39 ` ifreund
2021-06-10  2:19 ` ifreund
2021-06-10  3:10 ` ifreund
2021-06-10  4:26 ` ifreund
2021-06-10  4:31 ` ifreund

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git