Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: nody-greeter-1.3.1
@ 2022-01-08 18:12 JezerM
  2022-01-08 23:43 ` [PR PATCH] [Updated] " JezerM
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: JezerM @ 2022-01-08 18:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JezerM/void-packages master
https://github.com/void-linux/void-packages/pull/34948

New package: nody-greeter-1.3.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

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

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

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

From de42caa9ef45360fdb49d22922d125c3e8adb63c Mon Sep 17 00:00:00 2001
From: JezerM <amyuki4@icloud.com>
Date: Sat, 8 Jan 2022 11:56:04 -0600
Subject: [PATCH] New package: nody-greeter-1.3.1

---
 srcpkgs/nody-greeter/INSTALL  | 12 ++++++++++++
 srcpkgs/nody-greeter/REMOVE   | 11 +++++++++++
 srcpkgs/nody-greeter/template | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/nody-greeter/INSTALL
 create mode 100644 srcpkgs/nody-greeter/REMOVE
 create mode 100644 srcpkgs/nody-greeter/template

diff --git a/srcpkgs/nody-greeter/INSTALL b/srcpkgs/nody-greeter/INSTALL
new file mode 100644
index 000000000000..beadd260377e
--- /dev/null
+++ b/srcpkgs/nody-greeter/INSTALL
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+# INSTALL
+
+case "$ACTION" in
+pre)
+	# Actions to execute before the package files are unpacked.
+	;;
+post)
+  rm -f ${DESTDIR}/usr/bin/nody-greeter
+  ln -sf ${DESTDIR}/opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+	;;
+esac
diff --git a/srcpkgs/nody-greeter/REMOVE b/srcpkgs/nody-greeter/REMOVE
new file mode 100644
index 000000000000..d2d6055c59e8
--- /dev/null
+++ b/srcpkgs/nody-greeter/REMOVE
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+# REMOVE
+
+case "$ACTION" in
+pre)
+	# Actions to execute before the package files are unpacked.
+	;;
+post)
+  rm -f ${DESTDIR}/usr/bin/nody-greeter
+	;;
+esac
diff --git a/srcpkgs/nody-greeter/template b/srcpkgs/nody-greeter/template
new file mode 100644
index 000000000000..e15595cdbc13
--- /dev/null
+++ b/srcpkgs/nody-greeter/template
@@ -0,0 +1,35 @@
+# Template file for 'nody-greeter'
+pkgname=nody-greeter
+version=1.3.1
+revision=1
+#archs="i686 x86_64"
+build_style=meta
+bootstrap=true
+conf_files="/etc/lightdm/web-greeter.yml /etc/lightdm/Xgreeter /etc/xdg/lightdm/lightdm.conf.d/90-greeter-wrapper.conf"
+makedepends="nodejs base-devel libxcb-devel libX11-devel"
+depends="cairo libX11 libxcb lightdm gobject-introspection liblightdm-gobject"
+short_desc="LightDM greeter made with node.js"
+maintainer="JezerM <amyuki4@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/JezerM/nody-greeter"
+distfiles="https://github.com/JezerM/nody-greeter/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="862a43d0f6a8de5ab071b8e961b811c15d02ed6b7bc0d3adee281d6ae9bbfedf"
+mutable_files="/usr/share/web-greeter/*"
+
+pre_build() {
+	npm install
+}
+
+do_build() {
+	npx tsc --build
+	node make build --DEST_DIR="${DESTDIR}"
+}
+
+do_install() {
+	node make install --DEST_DIR="${DESTDIR}"
+}
+
+post_install() {
+	rm -f ${DESTDIR}/usr/bin/nody-greeter
+	ln -sf ${DESTDIR}/opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+}

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

* Re: [PR PATCH] [Updated] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
@ 2022-01-08 23:43 ` JezerM
  2022-01-09 19:23 ` JezerM
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: JezerM @ 2022-01-08 23:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JezerM/void-packages master
https://github.com/void-linux/void-packages/pull/34948

New package: nody-greeter-1.3.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

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

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

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

From 1c8b34f7547d735d227ab2fb81c147671e726900 Mon Sep 17 00:00:00 2001
From: JezerM <amyuki4@icloud.com>
Date: Sat, 8 Jan 2022 11:56:04 -0600
Subject: [PATCH] New package: nody-greeter-1.3.1

---
 srcpkgs/nody-greeter/INSTALL  | 12 ++++++++++++
 srcpkgs/nody-greeter/REMOVE   | 11 +++++++++++
 srcpkgs/nody-greeter/template | 36 +++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)
 create mode 100644 srcpkgs/nody-greeter/INSTALL
 create mode 100644 srcpkgs/nody-greeter/REMOVE
 create mode 100644 srcpkgs/nody-greeter/template

diff --git a/srcpkgs/nody-greeter/INSTALL b/srcpkgs/nody-greeter/INSTALL
new file mode 100644
index 000000000000..beadd260377e
--- /dev/null
+++ b/srcpkgs/nody-greeter/INSTALL
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+# INSTALL
+
+case "$ACTION" in
+pre)
+	# Actions to execute before the package files are unpacked.
+	;;
+post)
+  rm -f ${DESTDIR}/usr/bin/nody-greeter
+  ln -sf ${DESTDIR}/opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+	;;
+esac
diff --git a/srcpkgs/nody-greeter/REMOVE b/srcpkgs/nody-greeter/REMOVE
new file mode 100644
index 000000000000..d2d6055c59e8
--- /dev/null
+++ b/srcpkgs/nody-greeter/REMOVE
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+# REMOVE
+
+case "$ACTION" in
+pre)
+	# Actions to execute before the package files are unpacked.
+	;;
+post)
+  rm -f ${DESTDIR}/usr/bin/nody-greeter
+	;;
+esac
diff --git a/srcpkgs/nody-greeter/template b/srcpkgs/nody-greeter/template
new file mode 100644
index 000000000000..ff97380de37f
--- /dev/null
+++ b/srcpkgs/nody-greeter/template
@@ -0,0 +1,36 @@
+# Template file for 'nody-greeter'
+pkgname=nody-greeter
+version=1.3.1
+revision=1
+#archs="i686 x86_64"
+build_style=meta
+bootstrap=true
+conf_files="/etc/lightdm/web-greeter.yml /etc/lightdm/Xgreeter /etc/xdg/lightdm/lightdm.conf.d/90-greeter-wrapper.conf"
+hostmakedepends="base-devel nodejs"
+makedepends="base-devel libxcb-devel libX11-devel liblightdm-gobject gobject-introspection cairo"
+depends="cairo libX11 libxcb lightdm liblightdm-gobject"
+short_desc="LightDM greeter made with node.js"
+maintainer="JezerM <amyuki4@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/JezerM/nody-greeter"
+distfiles="https://github.com/JezerM/nody-greeter/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="862a43d0f6a8de5ab071b8e961b811c15d02ed6b7bc0d3adee281d6ae9bbfedf"
+mutable_files="/usr/share/web-greeter/*"
+
+pre_build() {
+	npm install
+}
+
+do_build() {
+	npx tsc --build
+	node make build --DEST_DIR="${DESTDIR}"
+}
+
+do_install() {
+	node make install --DEST_DIR="${DESTDIR}"
+}
+
+post_install() {
+	rm -f ${DESTDIR}/usr/bin/nody-greeter
+	ln -sf ${DESTDIR}/opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+}

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

* Re: [PR PATCH] [Updated] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
  2022-01-08 23:43 ` [PR PATCH] [Updated] " JezerM
@ 2022-01-09 19:23 ` JezerM
  2022-01-09 19:26 ` JezerM
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: JezerM @ 2022-01-09 19:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JezerM/void-packages master
https://github.com/void-linux/void-packages/pull/34948

New package: nody-greeter-1.3.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

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

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

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

From 6a152c4a7e5622a9c4cab6c6d17c5146023f14ca Mon Sep 17 00:00:00 2001
From: JezerM <amyuki4@icloud.com>
Date: Sat, 8 Jan 2022 11:56:04 -0600
Subject: [PATCH] New package: nody-greeter-1.3.1

---
 srcpkgs/nody-greeter/INSTALL  | 12 ++++++++++++
 srcpkgs/nody-greeter/REMOVE   | 11 +++++++++++
 srcpkgs/nody-greeter/template | 36 +++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)
 create mode 100644 srcpkgs/nody-greeter/INSTALL
 create mode 100644 srcpkgs/nody-greeter/REMOVE
 create mode 100644 srcpkgs/nody-greeter/template

diff --git a/srcpkgs/nody-greeter/INSTALL b/srcpkgs/nody-greeter/INSTALL
new file mode 100644
index 000000000000..beadd260377e
--- /dev/null
+++ b/srcpkgs/nody-greeter/INSTALL
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+# INSTALL
+
+case "$ACTION" in
+pre)
+	# Actions to execute before the package files are unpacked.
+	;;
+post)
+  rm -f ${DESTDIR}/usr/bin/nody-greeter
+  ln -sf ${DESTDIR}/opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+	;;
+esac
diff --git a/srcpkgs/nody-greeter/REMOVE b/srcpkgs/nody-greeter/REMOVE
new file mode 100644
index 000000000000..d2d6055c59e8
--- /dev/null
+++ b/srcpkgs/nody-greeter/REMOVE
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+# REMOVE
+
+case "$ACTION" in
+pre)
+	# Actions to execute before the package files are unpacked.
+	;;
+post)
+  rm -f ${DESTDIR}/usr/bin/nody-greeter
+	;;
+esac
diff --git a/srcpkgs/nody-greeter/template b/srcpkgs/nody-greeter/template
new file mode 100644
index 000000000000..be21d4ac2dad
--- /dev/null
+++ b/srcpkgs/nody-greeter/template
@@ -0,0 +1,36 @@
+# Template file for 'nody-greeter'
+pkgname=nody-greeter
+version=1.3.1
+revision=1
+archs="i686 x86_64"
+build_style=meta
+bootstrap=true
+conf_files="/etc/lightdm/web-greeter.yml /etc/lightdm/Xgreeter /etc/xdg/lightdm/lightdm.conf.d/90-greeter-wrapper.conf"
+hostmakedepends="base-devel nodejs python3"
+makedepends="base-devel libxcb-devel libX11-devel liblightdm-gobject gobject-introspection cairo"
+depends="cairo libX11 libxcb lightdm liblightdm-gobject"
+short_desc="LightDM greeter made with node.js"
+maintainer="JezerM <amyuki4@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/JezerM/nody-greeter"
+distfiles="https://github.com/JezerM/nody-greeter/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="862a43d0f6a8de5ab071b8e961b811c15d02ed6b7bc0d3adee281d6ae9bbfedf"
+mutable_files="/usr/share/web-greeter/*"
+
+pre_build() {
+	npm install
+}
+
+do_build() {
+	npx tsc --build
+	node make build --DEST_DIR="${DESTDIR}"
+}
+
+do_install() {
+	node make install --DEST_DIR="${DESTDIR}"
+}
+
+post_install() {
+	rm -f ${DESTDIR}/usr/bin/nody-greeter
+	ln -sf ${DESTDIR}/opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+}

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

* Re: New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
  2022-01-08 23:43 ` [PR PATCH] [Updated] " JezerM
  2022-01-09 19:23 ` JezerM
@ 2022-01-09 19:26 ` JezerM
  2022-01-10 18:50 ` [PR REVIEW] " Chocimier
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: JezerM @ 2022-01-09 19:26 UTC (permalink / raw)
  To: ml

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

New comment by JezerM on void-packages repository

https://github.com/void-linux/void-packages/pull/34948#issuecomment-1008359247

Comment:
node-gyp fails on aarch64 and arm because of `-m64` flag not existing on their compilers, therefore these architectures are unavailable at the moment.

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

* Re: [PR REVIEW] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (2 preceding siblings ...)
  2022-01-09 19:26 ` JezerM
@ 2022-01-10 18:50 ` Chocimier
  2022-01-10 18:51 ` Chocimier
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Chocimier @ 2022-01-10 18:50 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/34948#discussion_r781455153

Comment:
Remove INSTALL and REMOVE, things are already done in post_install.

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

* Re: [PR REVIEW] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (4 preceding siblings ...)
  2022-01-10 18:51 ` Chocimier
@ 2022-01-10 18:51 ` Chocimier
  2022-01-10 18:51 ` Chocimier
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Chocimier @ 2022-01-10 18:51 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/34948#discussion_r781459667

Comment:
`ln -s /opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter`, if anything.

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

* Re: [PR REVIEW] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (3 preceding siblings ...)
  2022-01-10 18:50 ` [PR REVIEW] " Chocimier
@ 2022-01-10 18:51 ` Chocimier
  2022-01-10 18:51 ` Chocimier
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Chocimier @ 2022-01-10 18:51 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/34948#discussion_r781456912

Comment:
It isn't a bootstrap package. If you see error trying to build it first time, refer to Manual.

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

* Re: [PR REVIEW] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (5 preceding siblings ...)
  2022-01-10 18:51 ` Chocimier
@ 2022-01-10 18:51 ` Chocimier
  2022-01-10 18:51 ` Chocimier
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Chocimier @ 2022-01-10 18:51 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/34948#discussion_r781458789

Comment:
Does it really alter files in usr/share after they are installed?

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

* Re: [PR REVIEW] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (6 preceding siblings ...)
  2022-01-10 18:51 ` Chocimier
@ 2022-01-10 18:51 ` Chocimier
  2022-01-10 18:51 ` Chocimier
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Chocimier @ 2022-01-10 18:51 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/34948#discussion_r781455753

Comment:
Remove build_style= altogether, it's not needed.

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

* Re: [PR REVIEW] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (7 preceding siblings ...)
  2022-01-10 18:51 ` Chocimier
@ 2022-01-10 18:51 ` Chocimier
  2022-01-13  2:42 ` JezerM
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Chocimier @ 2022-01-10 18:51 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/34948#discussion_r781458305

Comment:
depends= are mostly generated automatically, see `04-generate-runtime-deps` in build log.

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

* Re: [PR REVIEW] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (8 preceding siblings ...)
  2022-01-10 18:51 ` Chocimier
@ 2022-01-13  2:42 ` JezerM
  2022-01-13 18:50 ` [PR PATCH] [Updated] " JezerM
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: JezerM @ 2022-01-13  2:42 UTC (permalink / raw)
  To: ml

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

New review comment by JezerM on void-packages repository

https://github.com/void-linux/void-packages/pull/34948#discussion_r783590171

Comment:
The user could modify the files inside `/usr/share/web-greeter`, either adding, modifying or deleting themes.

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

* Re: [PR PATCH] [Updated] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (9 preceding siblings ...)
  2022-01-13  2:42 ` JezerM
@ 2022-01-13 18:50 ` JezerM
  2022-01-13 18:51 ` JezerM
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: JezerM @ 2022-01-13 18:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JezerM/void-packages master
https://github.com/void-linux/void-packages/pull/34948

New package: nody-greeter-1.3.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

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

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

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

From a1367d6cc03eccbbc0f6d749bebf2415343783fc Mon Sep 17 00:00:00 2001
From: JezerM <amyuki4@icloud.com>
Date: Sat, 8 Jan 2022 11:56:04 -0600
Subject: [PATCH] New package: nody-greeter-1.3.1

---
 srcpkgs/nody-greeter/template | 57 +++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 srcpkgs/nody-greeter/template

diff --git a/srcpkgs/nody-greeter/template b/srcpkgs/nody-greeter/template
new file mode 100644
index 000000000000..aa4fed5036d6
--- /dev/null
+++ b/srcpkgs/nody-greeter/template
@@ -0,0 +1,57 @@
+# Template file for 'nody-greeter'
+pkgname=nody-greeter
+version=1.3.2
+revision=1
+conf_files="/etc/lightdm/web-greeter.yml /etc/lightdm/Xgreeter /etc/xdg/lightdm/lightdm.conf.d/90-greeter-wrapper.conf"
+hostmakedepends="base-devel nodejs python3"
+makedepends="base-devel libxcb-devel libX11-devel liblightdm-gobject gobject-introspection cairo"
+depends="lightdm liblightdm-gobject"
+short_desc="LightDM greeter made with node.js"
+maintainer="JezerM <amyuki4@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/JezerM/nody-greeter"
+distfiles="https://github.com/JezerM/nody-greeter/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="8a3167b85039c26d2705263094b331ed9deb37aa936a1582f1a66324ea0e3a74"
+mutable_files="/usr/share/web-greeter/*"
+
+get_target_arch() {
+	case ${XBPS_TARGET_MACHINE} in
+		x86_64*)
+			echo "x64"
+			;;
+		i686*)
+			echo "ia32"
+			;;
+		aarch64*)
+			echo "arm64"
+			;;
+		armv*)
+			echo "arm"
+			;;
+		*)
+			echo ${XBPS_TARGET_MACHINE}
+	esac
+}
+
+_target_arch=$(get_target_arch)
+export npm_config_arch=${_target_arch}
+
+pre_build() {
+	echo "Trying to install npm packages as ${npm_config_arch}"
+	npm clean-install
+}
+
+do_build() {
+	echo "Trying to build ${XBPS_TARGET_MACHINE} as ${_target_arch}"
+	npx tsc --build
+	node make build --DEST_DIR="${DESTDIR}" --ARCH="${_target_arch}"
+}
+
+do_install() {
+	node make install --DEST_DIR="${DESTDIR}"
+}
+
+post_install() {
+	rm -f ${DESTDIR}/usr/bin/nody-greeter
+	ln -s /opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+}

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

* Re: [PR PATCH] [Updated] New package: nody-greeter-1.3.1
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (10 preceding siblings ...)
  2022-01-13 18:50 ` [PR PATCH] [Updated] " JezerM
@ 2022-01-13 18:51 ` JezerM
  2022-01-13 19:21 ` New package: nody-greeter-1.3.2 JezerM
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: JezerM @ 2022-01-13 18:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JezerM/void-packages master
https://github.com/void-linux/void-packages/pull/34948

New package: nody-greeter-1.3.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

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

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

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

From cc8e2fe1ed8c502a4dc2598e511e115475cbe0f9 Mon Sep 17 00:00:00 2001
From: JezerM <amyuki4@icloud.com>
Date: Sat, 8 Jan 2022 11:56:04 -0600
Subject: [PATCH] New package: nody-greeter-1.3.2

---
 srcpkgs/nody-greeter/template | 57 +++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 srcpkgs/nody-greeter/template

diff --git a/srcpkgs/nody-greeter/template b/srcpkgs/nody-greeter/template
new file mode 100644
index 000000000000..aa4fed5036d6
--- /dev/null
+++ b/srcpkgs/nody-greeter/template
@@ -0,0 +1,57 @@
+# Template file for 'nody-greeter'
+pkgname=nody-greeter
+version=1.3.2
+revision=1
+conf_files="/etc/lightdm/web-greeter.yml /etc/lightdm/Xgreeter /etc/xdg/lightdm/lightdm.conf.d/90-greeter-wrapper.conf"
+hostmakedepends="base-devel nodejs python3"
+makedepends="base-devel libxcb-devel libX11-devel liblightdm-gobject gobject-introspection cairo"
+depends="lightdm liblightdm-gobject"
+short_desc="LightDM greeter made with node.js"
+maintainer="JezerM <amyuki4@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/JezerM/nody-greeter"
+distfiles="https://github.com/JezerM/nody-greeter/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="8a3167b85039c26d2705263094b331ed9deb37aa936a1582f1a66324ea0e3a74"
+mutable_files="/usr/share/web-greeter/*"
+
+get_target_arch() {
+	case ${XBPS_TARGET_MACHINE} in
+		x86_64*)
+			echo "x64"
+			;;
+		i686*)
+			echo "ia32"
+			;;
+		aarch64*)
+			echo "arm64"
+			;;
+		armv*)
+			echo "arm"
+			;;
+		*)
+			echo ${XBPS_TARGET_MACHINE}
+	esac
+}
+
+_target_arch=$(get_target_arch)
+export npm_config_arch=${_target_arch}
+
+pre_build() {
+	echo "Trying to install npm packages as ${npm_config_arch}"
+	npm clean-install
+}
+
+do_build() {
+	echo "Trying to build ${XBPS_TARGET_MACHINE} as ${_target_arch}"
+	npx tsc --build
+	node make build --DEST_DIR="${DESTDIR}" --ARCH="${_target_arch}"
+}
+
+do_install() {
+	node make install --DEST_DIR="${DESTDIR}"
+}
+
+post_install() {
+	rm -f ${DESTDIR}/usr/bin/nody-greeter
+	ln -s /opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+}

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

* Re: New package: nody-greeter-1.3.2
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (11 preceding siblings ...)
  2022-01-13 18:51 ` JezerM
@ 2022-01-13 19:21 ` JezerM
  2022-02-18  3:13 ` [PR PATCH] [Updated] " JezerM
  2022-06-21  2:13 ` github-actions
  14 siblings, 0 replies; 16+ messages in thread
From: JezerM @ 2022-01-13 19:21 UTC (permalink / raw)
  To: ml

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

New comment by JezerM on void-packages repository

https://github.com/void-linux/void-packages/pull/34948#issuecomment-1012436359

Comment:
Added "cross-compile" option to nody-greeter build process. Different architectures than `x86_64` are now able to be cross-compiled.

Tested with `i686`, `aarch64`, `armv7l`, and `armv6l`.

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

* Re: [PR PATCH] [Updated] New package: nody-greeter-1.3.2
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (12 preceding siblings ...)
  2022-01-13 19:21 ` New package: nody-greeter-1.3.2 JezerM
@ 2022-02-18  3:13 ` JezerM
  2022-06-21  2:13 ` github-actions
  14 siblings, 0 replies; 16+ messages in thread
From: JezerM @ 2022-02-18  3:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JezerM/void-packages master
https://github.com/void-linux/void-packages/pull/34948

New package: nody-greeter-1.3.2
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

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

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

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

From f47028062b35e5744296d7f3db1ad1c69ef4c099 Mon Sep 17 00:00:00 2001
From: JezerM <amyuki4@icloud.com>
Date: Sat, 8 Jan 2022 11:56:04 -0600
Subject: [PATCH] New package: nody-greeter-1.3.2

---
 srcpkgs/nody-greeter/template | 57 +++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 srcpkgs/nody-greeter/template

diff --git a/srcpkgs/nody-greeter/template b/srcpkgs/nody-greeter/template
new file mode 100644
index 000000000000..5f98e68c133f
--- /dev/null
+++ b/srcpkgs/nody-greeter/template
@@ -0,0 +1,57 @@
+# Template file for 'nody-greeter'
+pkgname=nody-greeter
+version=1.3.2
+revision=1
+conf_files="/etc/lightdm/web-greeter.yml /etc/lightdm/Xgreeter /etc/xdg/lightdm/lightdm.conf.d/90-greeter-wrapper.conf"
+hostmakedepends="base-devel nodejs python3"
+makedepends="base-devel libxcb-devel libX11-devel liblightdm-gobject gobject-introspection cairo"
+depends="lightdm liblightdm-gobject libgirepository"
+short_desc="LightDM greeter made with node.js"
+maintainer="JezerM <amyuki4@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/JezerM/nody-greeter"
+distfiles="https://github.com/JezerM/nody-greeter/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum="8a3167b85039c26d2705263094b331ed9deb37aa936a1582f1a66324ea0e3a74"
+mutable_files="/usr/share/web-greeter/*"
+
+get_target_arch() {
+	case ${XBPS_TARGET_MACHINE} in
+		x86_64*)
+			echo "x64"
+			;;
+		i686*)
+			echo "ia32"
+			;;
+		aarch64*)
+			echo "arm64"
+			;;
+		armv*)
+			echo "arm"
+			;;
+		*)
+			echo ${XBPS_TARGET_MACHINE}
+	esac
+}
+
+_target_arch=$(get_target_arch)
+export npm_config_arch=${_target_arch}
+
+pre_build() {
+	echo "Trying to install npm packages as ${npm_config_arch}"
+	npm clean-install
+}
+
+do_build() {
+	echo "Trying to build ${XBPS_TARGET_MACHINE} as ${_target_arch}"
+	npx tsc --build
+	node make build --DEST_DIR="${DESTDIR}" --ARCH="${_target_arch}"
+}
+
+do_install() {
+	node make install --DEST_DIR="${DESTDIR}"
+}
+
+post_install() {
+	rm -f ${DESTDIR}/usr/bin/nody-greeter
+	ln -s /opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter
+}

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

* Re: New package: nody-greeter-1.3.2
  2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
                   ` (13 preceding siblings ...)
  2022-02-18  3:13 ` [PR PATCH] [Updated] " JezerM
@ 2022-06-21  2:13 ` github-actions
  14 siblings, 0 replies; 16+ messages in thread
From: github-actions @ 2022-06-21  2:13 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/34948#issuecomment-1161108318

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

end of thread, other threads:[~2022-06-21  2:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM
2022-01-08 23:43 ` [PR PATCH] [Updated] " JezerM
2022-01-09 19:23 ` JezerM
2022-01-09 19:26 ` JezerM
2022-01-10 18:50 ` [PR REVIEW] " Chocimier
2022-01-10 18:51 ` Chocimier
2022-01-10 18:51 ` Chocimier
2022-01-10 18:51 ` Chocimier
2022-01-10 18:51 ` Chocimier
2022-01-10 18:51 ` Chocimier
2022-01-13  2:42 ` JezerM
2022-01-13 18:50 ` [PR PATCH] [Updated] " JezerM
2022-01-13 18:51 ` JezerM
2022-01-13 19:21 ` New package: nody-greeter-1.3.2 JezerM
2022-02-18  3:13 ` [PR PATCH] [Updated] " JezerM
2022-06-21  2:13 ` github-actions

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