[-- 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 +}
[-- 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 +}
[-- 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 +}
[-- 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.
[-- 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.
[-- 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.
[-- 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.
[-- 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?
[-- 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.
[-- 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.
[-- 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.
[-- 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 +}
[-- 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 +}
[-- 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`.
[-- 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 +}
[-- 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.
[-- 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: 2158 bytes --] From 417dafa7feea23dc2a5376c8fc94ae2cf00261f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jezer=20Mej=C3=ADa?= <amyuki4@icloud.com> Date: Sun, 3 Jul 2022 15:38:58 +0000 Subject: [PATCH] New package: nody-greeter-1.4.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..8134ff8780be --- /dev/null +++ b/srcpkgs/nody-greeter/template @@ -0,0 +1,57 @@ +# Template file for 'nody-greeter' +pkgname=nody-greeter +version=1.4.1 +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="217ee316f286610d75bf221939d1c7d19cea0b51c5e46b4ec5df33a6b8682263" +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 +}
[-- Attachment #1: Type: text/plain, Size: 229 bytes --] New comment by JezerM on void-packages repository https://github.com/void-linux/void-packages/pull/34948#issuecomment-1173176697 Comment: Updated nody-greeter to 1.4.1. I don't know if this will ever get merged, but I hope so~
[-- 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-1272198164 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.
[-- Attachment #1: Type: text/plain, Size: 902 bytes --] There's a closed pull request on the void-packages repository New package: nody-greeter-1.4.1 https://github.com/void-linux/void-packages/pull/34948 Description: <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [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)