Github messages for voidlinux
 help / color / mirror / Atom feed
From: JamiKettunen <JamiKettunen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: neard-0.18
Date: Sun, 13 Feb 2022 16:20:09 +0100	[thread overview]
Message-ID: <20220213152009.JC2M6NIkY3Rdr-BN2UshlhS4vQNGoTWrfGxdIK5-c-8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35502@inbox.vuxu.org>

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

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

https://github.com/JamiKettunen/void-packages neard
https://github.com/void-linux/void-packages/pull/35502

New package: neard-0.18
<!-- Uncomment relevant sections and delete options which are not applicable -->
I've verified the [PN544 NFC chip in my phone](https://gitlab.com/msm8998-mainline/linux/-/commit/41fa0860) functions just fine via this NFC daemon.

#### 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**|**NO**
-->

<!-- 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, (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/35502.patch is attached

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

From 7516d9c280f47d313895ae57babfbc1a354bf1b2 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Thu, 10 Feb 2022 09:54:01 +0200
Subject: [PATCH] New package: neard-0.18

---
 srcpkgs/neard-devel               |  1 +
 srcpkgs/neard/files/neard/log/run |  1 +
 srcpkgs/neard/files/neard/run     |  4 ++++
 srcpkgs/neard/files/seeld/log/run |  1 +
 srcpkgs/neard/files/seeld/run     |  4 ++++
 srcpkgs/neard/template            | 35 +++++++++++++++++++++++++++++++
 6 files changed, 46 insertions(+)
 create mode 120000 srcpkgs/neard-devel
 create mode 120000 srcpkgs/neard/files/neard/log/run
 create mode 100644 srcpkgs/neard/files/neard/run
 create mode 120000 srcpkgs/neard/files/seeld/log/run
 create mode 100644 srcpkgs/neard/files/seeld/run
 create mode 100644 srcpkgs/neard/template

diff --git a/srcpkgs/neard-devel b/srcpkgs/neard-devel
new file mode 120000
index 000000000000..fac01218e66a
--- /dev/null
+++ b/srcpkgs/neard-devel
@@ -0,0 +1 @@
+neard
\ No newline at end of file
diff --git a/srcpkgs/neard/files/neard/log/run b/srcpkgs/neard/files/neard/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/neard/files/neard/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/neard/files/neard/run b/srcpkgs/neard/files/neard/run
new file mode 100644
index 000000000000..e2212bf82943
--- /dev/null
+++ b/srcpkgs/neard/files/neard/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+sv check dbus >/dev/null || exit 1
+[ -r conf ] && . ./conf
+exec /usr/libexec/nfc/neard -n ${OPTS}
diff --git a/srcpkgs/neard/files/seeld/log/run b/srcpkgs/neard/files/seeld/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/neard/files/seeld/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/neard/files/seeld/run b/srcpkgs/neard/files/seeld/run
new file mode 100644
index 000000000000..97d45413bb79
--- /dev/null
+++ b/srcpkgs/neard/files/seeld/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+sv check dbus >/dev/null || exit 1
+[ -r conf ] && . ./conf
+exec /usr/libexec/nfc/seeld -n ${OPTS}
diff --git a/srcpkgs/neard/template b/srcpkgs/neard/template
new file mode 100644
index 000000000000..cd2eee97129c
--- /dev/null
+++ b/srcpkgs/neard/template
@@ -0,0 +1,35 @@
+# Template file for 'neard'
+pkgname=neard
+version=0.18
+revision=1
+build_style=gnu-configure
+# TODO: add '--enable-test' when updated from python2 & gtk+2
+configure_args="--disable-systemd --enable-ese --enable-tools"
+hostmakedepends="autoconf autoconf-archive automake libtool pkg-config"
+makedepends="glib-devel libnl-devel"
+short_desc="Near Field Communication (NFC) manager"
+maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
+license="GPL-2.0-only"
+homepage="https://git.kernel.org/pub/scm/network/nfc/neard.git/"
+distfiles="https://git.kernel.org/pub/scm/network/nfc/neard.git/snapshot/neard-${version}.tar.gz"
+checksum=c013e3115315e2e11d16b5f0f1c8ce9afbcdba26800aad91245fd9b4a5dc938b
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_install() {
+	vsv neard
+}
+
+neard-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		# correct neard version.h install path
+		mv ${PKGDESTDIR}/usr/include/version.h \
+		   ${PKGDESTDIR}/usr/include/near
+		vmove usr/lib/pkgconfig
+	}
+}

  parent reply	other threads:[~2022-02-13 15:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 10:52 [PR PATCH] " JamiKettunen
2022-02-10 10:53 ` [PR PATCH] [Updated] " JamiKettunen
2022-02-12 17:53 ` [PR REVIEW] " paper42
2022-02-12 17:53 ` paper42
2022-02-12 17:53 ` paper42
2022-02-12 17:53 ` paper42
2022-02-12 17:53 ` paper42
2022-02-13 14:42 ` JamiKettunen
2022-02-13 14:49 ` JamiKettunen
2022-02-13 15:20 ` JamiKettunen [this message]
2022-02-13 16:28 ` [PR PATCH] [Updated] " JamiKettunen
2022-02-13 16:28 ` [PR REVIEW] " JamiKettunen
2022-02-14  8:22 ` paper42
2022-02-14  8:23 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220213152009.JC2M6NIkY3Rdr-BN2UshlhS4vQNGoTWrfGxdIK5-c-8@z \
    --to=jamikettunen@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).