Github messages for voidlinux
 help / color / mirror / Atom feed
From: waynevanson <waynevanson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [NOMERGE] New package: wally-cli-2.0.0
Date: Mon, 18 Jan 2021 21:44:25 +0100	[thread overview]
Message-ID: <20210118204425.33kJFnOmtpR-BX5u4S2ZyJfR67EeUOS3VrEmMiqyd-U@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28000@inbox.vuxu.org>

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

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

https://github.com/waynevanson/void-packages package/wally-cli
https://github.com/void-linux/void-packages/pull/28000

[NOMERGE] New package: wally-cli-2.0.0


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-package/wally-cli-28000.patch --]
[-- Type: text/x-diff, Size: 2439 bytes --]

From f934b9d8ecdb3a9163a31dcd6e73a99a5488b816 Mon Sep 17 00:00:00 2001
From: Wayne Van Son <waynevanson@gmail.com>
Date: Mon, 18 Jan 2021 16:17:48 +0000
Subject: [PATCH] New package: wally-cli-2.0.0

---
 srcpkgs/wally-cli/INSTALL.msg |  2 ++
 srcpkgs/wally-cli/template    | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 srcpkgs/wally-cli/INSTALL.msg
 create mode 100644 srcpkgs/wally-cli/template

diff --git a/srcpkgs/wally-cli/INSTALL.msg b/srcpkgs/wally-cli/INSTALL.msg
new file mode 100644
index 00000000000..c160cdb19fc
--- /dev/null
+++ b/srcpkgs/wally-cli/INSTALL.msg
@@ -0,0 +1,2 @@
+Please add your user to the group 'plugdev' by executing the following:
+usermod -aG plugdev \"$USER\"
diff --git a/srcpkgs/wally-cli/template b/srcpkgs/wally-cli/template
new file mode 100644
index 00000000000..b938c2df6d7
--- /dev/null
+++ b/srcpkgs/wally-cli/template
@@ -0,0 +1,35 @@
+# Template file for 'wally-cli'
+pkgname=wally-cli
+version=2.0.0
+revision=1
+archs="x86_64"
+wrksrc="wally-cli-${version}-linux"
+build_style=go
+go_import_path="github.com/zsa/wally-cli"
+makedepends="libusb-devel pkg-config go-bindata"
+short_desc="Flashing firmware for ZSA keyboards"
+maintainer="Wayne Van Son <waynevanson@gmail.com>"
+license="MIT"
+homepage="https://www.zsa.io/wally/"
+distfiles="https://github.com/zsa/wally-cli/archive/${version}-linux.tar.gz"
+checksum="2641c7deededeeba1aecf6b3ae3e87050a0cfd81c8b41323b2304ebe21e61745"
+conf_files="/usr/lib/udev/rules.d/50-wally.rules"
+system_groups="plugdev"
+
+post_install() {
+	# 	# [NOMERGE] - License required by package
+	# 	# https://github.com/zsa/wally-cli/pull/3/commits/b832f6b1997c0a7ee206e08f3d03127885378265
+	vlicense license.md
+
+	# WALLY UDEV RULE FOR DEVICE RELATED EVENT
+	vmkdir /usr/lib/udev/rules.d/
+	cat <<EOF | tee "$PKGDESTDIR/usr/lib/udev/rules.d/50-wally.rules"
+	# Teensy rules for the Ergodox EZ
+	ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
+	ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
+	SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666"
+	KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666"
+	# STM32 rules for the Moonlander and Planck EZ
+	SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666", SYMLINK+="stm32_dfu"
+EOF
+}

  parent reply	other threads:[~2021-01-18 20:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18  5:19 [PR PATCH] " waynevanson
2021-01-18  5:22 ` [PR PATCH] [Updated] " waynevanson
2021-01-18 14:52 ` Piraty
2021-01-18 20:26 ` [PR PATCH] [Updated] [NOMERGE] " waynevanson
2021-01-18 20:44 ` waynevanson [this message]
2021-01-19  9:44 ` waynevanson
2021-03-14  2:59 ` waynevanson
2021-03-14  3:10 ` [PR PATCH] [Updated] " waynevanson
2021-03-14  3:55 ` waynevanson
2021-03-19  6:59 ` waynevanson
2021-03-19 14:54 ` [PR REVIEW] " Piraty
2021-03-19 14:54 ` Piraty
2021-03-19 14:54 ` Piraty
2021-03-19 14:54 ` Piraty
2021-03-19 14:56 ` Piraty
2021-03-20  0:18 ` waynevanson
2021-03-20  1:54 ` waynevanson
2021-03-20  1:56 ` [PR PATCH] [Updated] " waynevanson
2021-03-23 10:43 ` [PR REVIEW] " Piraty
2021-03-23 10:43 ` Piraty
2021-03-23 14:05 ` [PR PATCH] [Closed]: " Piraty
2021-03-23 14:05 ` Piraty

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=20210118204425.33kJFnOmtpR-BX5u4S2ZyJfR67EeUOS3VrEmMiqyd-U@z \
    --to=waynevanson@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).