Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: wally-cli-2.0.0
@ 2021-01-18  5:19 waynevanson
  2021-01-18  5:22 ` [PR PATCH] [Updated] " waynevanson
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: waynevanson @ 2021-01-18  5:19 UTC (permalink / raw)
  To: ml

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

There is a new 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

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: 3994 bytes --]

From 0bb01bcd94dabd189ee75afb7526410f7a7879f6 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/patches/license.diff | 26 +++++++++++++++++++
 srcpkgs/wally-cli/template             | 36 ++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/wally-cli/patches/license.diff
 create mode 100644 srcpkgs/wally-cli/template

diff --git a/srcpkgs/wally-cli/patches/license.diff b/srcpkgs/wally-cli/patches/license.diff
new file mode 100644
index 00000000000..a6ccf686666
--- /dev/null
+++ b/srcpkgs/wally-cli/patches/license.diff
@@ -0,0 +1,26 @@
+From b832f6b1997c0a7ee206e08f3d03127885378265 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
+ <Mailaender@users.noreply.github.com>
+Date: Sat, 16 Jan 2021 11:25:55 +0100
+Subject: [PATCH] Create license.md
+
+---
+ license.md | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+ create mode 100644 license.md
+
+diff --git license.md license.md
+new file mode 100644
+index 0000000..45bbd40
+--- /dev/null
++++ license.md
+@@ -0,0 +1,9 @@
++## License (MIT)
++
++Copyright 2019-2020, ZSA Technology Labs Inc.
++
++Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
++
++The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
++
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/srcpkgs/wally-cli/template b/srcpkgs/wally-cli/template
new file mode 100644
index 00000000000..b5e889edb2d
--- /dev/null
+++ b/srcpkgs/wally-cli/template
@@ -0,0 +1,36 @@
+# 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
+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"
+go_import_path="github.com/zsa/wally-cli"
+
+post_install() {
+    # license is in the wally-cli/patches/license.diff
+    # see PR for license https://github.com/zsa/wally-cli/pull/3/commits/b832f6b1997c0a7ee206e08f3d03127885378265
+    vlicense license.md
+
+    # WALLY UDEV RULE FOR DEVICE RELATED EVENT
+    cat <<EOF | sudo tee /etc/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
+
+    # ADD USER TO PLUGDEV GROUP
+    groupadd plugdev
+    usermod -aG plugdev "$USER"
+}

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

end of thread, other threads:[~2021-03-23 14:05 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18  5:19 [PR PATCH] New package: wally-cli-2.0.0 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
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

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