* [PR PATCH] New packge: g810-led-0.3.4
@ 2019-06-18 3:10 voidlinux-github
2019-06-18 3:19 ` [PR PATCH] [Updated] New package: g810-led-0.3.4 voidlinux-github
` (18 more replies)
0 siblings, 19 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 3:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
There is a new pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New packge: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 5801 bytes --]
From f1ff6e7b9825fea36a82ca75394dbe8aa13f43d5 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Tue, 11 Jun 2019 16:06:20 -0500
Subject: [PATCH 1/6] New package: metasploit-framework
---
srcpkgs/metasploit-framework/template | 31 +++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 srcpkgs/metasploit-framework/template
diff --git a/srcpkgs/metasploit-framework/template b/srcpkgs/metasploit-framework/template
new file mode 100644
index 00000000000..b2c3abc5c1e
--- /dev/null
+++ b/srcpkgs/metasploit-framework/template
@@ -0,0 +1,31 @@
+# Template file for 'metasploit-framework'
+pkgname=metasploit-framework
+version=5.0.29+20190611142845
+revision=1
+archs="x86_64"
+short_desc="Security testing framework"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://rapid7.com"
+distfiles="http://downloads.metasploit.com/data/releases/metasploit-framework/apt/pool/main/m/metasploit-framework/metasploit-framework_${version}~1rapid7-1_amd64.deb"
+checksum=6da0b7b69c126f6628d4c7f6c3418ee21d518acc03392babf3becedb2c4464fb
+nopie=yes
+nostrip=yes
+noverifyrdeps=yes
+
+do_extract() {
+ ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}~1rapid7-1_amd64.deb
+ tar xf data.tar.gz
+ rm -f opt/metasploit-framework/bin/msfupdate
+}
+
+do_install() {
+ cp -r opt ${DESTDIR}
+ for i in opt/metasploit-framework/bin/*; do
+ vbin ${i}
+ done
+}
+
+post_install() {
+ vlicense opt/metasploit-framework/LICENSE
+}
From 409c50c961c865efa97364a2d1814e8c221ab57b Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
Date: Sat, 16 Feb 2019 16:56:48 +0100
Subject: [PATCH 2/6] New package: graphene-1.8.2
---
common/shlibs | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/shlibs b/common/shlibs
index 5033d3537bb..7271ca545ed 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3478,3 +3478,4 @@ libflite_cmulex.so.1 flite-2.1_1
libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
+libgraphene-1.0.so.0 graphene-1.8.2_1
From c457ab2a814d40e97284832b94cfcb891d829c81 Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
Date: Sat, 16 Feb 2019 16:56:52 +0100
Subject: [PATCH 3/6] New package: gtk4-3.94.0
---
common/shlibs | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/shlibs b/common/shlibs
index 7271ca545ed..b09e4049db4 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3479,3 +3479,4 @@ libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
libgraphene-1.0.so.0 graphene-1.8.2_1
+libgtk-4.so.0.9400.0 gtk4-3.94.0_1
From 95504361fa538eb610c99675abf9a6ee0715bd98 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sat, 18 May 2019 08:59:30 -0500
Subject: [PATCH 4/6] New package: gnustep-gui-0.27.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index b09e4049db4..839778e1cbb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3480,3 +3480,5 @@ libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
libgraphene-1.0.so.0 graphene-1.8.2_1
libgtk-4.so.0.9400.0 gtk4-3.94.0_1
+libmodule.so.4 libmodule-4.1.0_1
+libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
From c97c504fa9a69ba97521736a21e60d9f116a2ddf Mon Sep 17 00:00:00 2001
From: Helmut Pozimski <helmut@pozimski.eu>
Date: Sun, 9 Jun 2019 13:09:39 +0200
Subject: [PATCH 5/6] common/shlibs: add shared libraries for flite
---
common/shlibs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 839778e1cbb..84801109093 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3479,6 +3479,10 @@ libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
libgraphene-1.0.so.0 graphene-1.8.2_1
+libflite.so.1 flite-2.1_1
+libflite_cmu_us_kal.so.1 flite-2.1_1
+libflite_usenglish.so.1 flite-2.1_1
+libflite_cmulex.so.1 flite-2.1_1
libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
From 21af9693b90d2029e17ab362b239fc9c0184809f Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH 6/6] New package: g810-led-0.3.4
---
srcpkgs/g810-led-devel | 1 +
srcpkgs/g810-led/template | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
create mode 120000 srcpkgs/g810-led-devel
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led-devel b/srcpkgs/g810-led-devel
new file mode 120000
index 00000000000..e96ffa0df4d
--- /dev/null
+++ b/srcpkgs/g810-led-devel
@@ -0,0 +1 @@
+g810-led/
\ No newline at end of file
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..76ebe452a52
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,29 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+archs="noarch"
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+g810-led-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}-${version}_${revision}"
+ pkg_install() {
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ }
+}
+
+do_install() {
+ vbin bin/g810-led
+
+ vdoc README.md
+ vdoc INSTALL.md
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
2019-06-18 3:19 ` [PR PATCH] [Updated] New package: g810-led-0.3.4 voidlinux-github
@ 2019-06-18 3:19 ` voidlinux-github
2019-06-18 3:20 ` voidlinux-github
` (16 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 3:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 5821 bytes --]
From f1ff6e7b9825fea36a82ca75394dbe8aa13f43d5 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Tue, 11 Jun 2019 16:06:20 -0500
Subject: [PATCH 1/6] New package: metasploit-framework
---
srcpkgs/metasploit-framework/template | 31 +++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 srcpkgs/metasploit-framework/template
diff --git a/srcpkgs/metasploit-framework/template b/srcpkgs/metasploit-framework/template
new file mode 100644
index 00000000000..b2c3abc5c1e
--- /dev/null
+++ b/srcpkgs/metasploit-framework/template
@@ -0,0 +1,31 @@
+# Template file for 'metasploit-framework'
+pkgname=metasploit-framework
+version=5.0.29+20190611142845
+revision=1
+archs="x86_64"
+short_desc="Security testing framework"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://rapid7.com"
+distfiles="http://downloads.metasploit.com/data/releases/metasploit-framework/apt/pool/main/m/metasploit-framework/metasploit-framework_${version}~1rapid7-1_amd64.deb"
+checksum=6da0b7b69c126f6628d4c7f6c3418ee21d518acc03392babf3becedb2c4464fb
+nopie=yes
+nostrip=yes
+noverifyrdeps=yes
+
+do_extract() {
+ ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}~1rapid7-1_amd64.deb
+ tar xf data.tar.gz
+ rm -f opt/metasploit-framework/bin/msfupdate
+}
+
+do_install() {
+ cp -r opt ${DESTDIR}
+ for i in opt/metasploit-framework/bin/*; do
+ vbin ${i}
+ done
+}
+
+post_install() {
+ vlicense opt/metasploit-framework/LICENSE
+}
From 409c50c961c865efa97364a2d1814e8c221ab57b Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
Date: Sat, 16 Feb 2019 16:56:48 +0100
Subject: [PATCH 2/6] New package: graphene-1.8.2
---
common/shlibs | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/shlibs b/common/shlibs
index 5033d3537bb..7271ca545ed 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3478,3 +3478,4 @@ libflite_cmulex.so.1 flite-2.1_1
libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
+libgraphene-1.0.so.0 graphene-1.8.2_1
From c457ab2a814d40e97284832b94cfcb891d829c81 Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
Date: Sat, 16 Feb 2019 16:56:52 +0100
Subject: [PATCH 3/6] New package: gtk4-3.94.0
---
common/shlibs | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/shlibs b/common/shlibs
index 7271ca545ed..b09e4049db4 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3479,3 +3479,4 @@ libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
libgraphene-1.0.so.0 graphene-1.8.2_1
+libgtk-4.so.0.9400.0 gtk4-3.94.0_1
From 95504361fa538eb610c99675abf9a6ee0715bd98 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sat, 18 May 2019 08:59:30 -0500
Subject: [PATCH 4/6] New package: gnustep-gui-0.27.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index b09e4049db4..839778e1cbb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3480,3 +3480,5 @@ libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
libgraphene-1.0.so.0 graphene-1.8.2_1
libgtk-4.so.0.9400.0 gtk4-3.94.0_1
+libmodule.so.4 libmodule-4.1.0_1
+libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
From c97c504fa9a69ba97521736a21e60d9f116a2ddf Mon Sep 17 00:00:00 2001
From: Helmut Pozimski <helmut@pozimski.eu>
Date: Sun, 9 Jun 2019 13:09:39 +0200
Subject: [PATCH 5/6] common/shlibs: add shared libraries for flite
---
common/shlibs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 839778e1cbb..84801109093 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3479,6 +3479,10 @@ libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
libgraphene-1.0.so.0 graphene-1.8.2_1
+libflite.so.1 flite-2.1_1
+libflite_cmu_us_kal.so.1 flite-2.1_1
+libflite_usenglish.so.1 flite-2.1_1
+libflite_cmulex.so.1 flite-2.1_1
libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
From 14180b3a3adb5b1b596664d4821fc19d27d7c685 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH 6/6] New package: g810-led-0.3.4
---
srcpkgs/g810-led-devel | 1 +
srcpkgs/g810-led/template | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
create mode 120000 srcpkgs/g810-led-devel
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led-devel b/srcpkgs/g810-led-devel
new file mode 120000
index 00000000000..e96ffa0df4d
--- /dev/null
+++ b/srcpkgs/g810-led-devel
@@ -0,0 +1 @@
+g810-led/
\ No newline at end of file
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..4c21de32c2a
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,29 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+archs="i686 x86_64 aarch64 armv7l"
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+g810-led-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}-${version}_${revision}"
+ pkg_install() {
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ }
+}
+
+do_install() {
+ vbin bin/g810-led
+
+ vdoc README.md
+ vdoc INSTALL.md
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
@ 2019-06-18 3:19 ` voidlinux-github
2019-06-18 3:19 ` voidlinux-github
` (17 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 3:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 5821 bytes --]
From f1ff6e7b9825fea36a82ca75394dbe8aa13f43d5 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Tue, 11 Jun 2019 16:06:20 -0500
Subject: [PATCH 1/6] New package: metasploit-framework
---
srcpkgs/metasploit-framework/template | 31 +++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 srcpkgs/metasploit-framework/template
diff --git a/srcpkgs/metasploit-framework/template b/srcpkgs/metasploit-framework/template
new file mode 100644
index 00000000000..b2c3abc5c1e
--- /dev/null
+++ b/srcpkgs/metasploit-framework/template
@@ -0,0 +1,31 @@
+# Template file for 'metasploit-framework'
+pkgname=metasploit-framework
+version=5.0.29+20190611142845
+revision=1
+archs="x86_64"
+short_desc="Security testing framework"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://rapid7.com"
+distfiles="http://downloads.metasploit.com/data/releases/metasploit-framework/apt/pool/main/m/metasploit-framework/metasploit-framework_${version}~1rapid7-1_amd64.deb"
+checksum=6da0b7b69c126f6628d4c7f6c3418ee21d518acc03392babf3becedb2c4464fb
+nopie=yes
+nostrip=yes
+noverifyrdeps=yes
+
+do_extract() {
+ ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}~1rapid7-1_amd64.deb
+ tar xf data.tar.gz
+ rm -f opt/metasploit-framework/bin/msfupdate
+}
+
+do_install() {
+ cp -r opt ${DESTDIR}
+ for i in opt/metasploit-framework/bin/*; do
+ vbin ${i}
+ done
+}
+
+post_install() {
+ vlicense opt/metasploit-framework/LICENSE
+}
From 409c50c961c865efa97364a2d1814e8c221ab57b Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
Date: Sat, 16 Feb 2019 16:56:48 +0100
Subject: [PATCH 2/6] New package: graphene-1.8.2
---
common/shlibs | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/shlibs b/common/shlibs
index 5033d3537bb..7271ca545ed 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3478,3 +3478,4 @@ libflite_cmulex.so.1 flite-2.1_1
libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
+libgraphene-1.0.so.0 graphene-1.8.2_1
From c457ab2a814d40e97284832b94cfcb891d829c81 Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
Date: Sat, 16 Feb 2019 16:56:52 +0100
Subject: [PATCH 3/6] New package: gtk4-3.94.0
---
common/shlibs | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/shlibs b/common/shlibs
index 7271ca545ed..b09e4049db4 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3479,3 +3479,4 @@ libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
libgraphene-1.0.so.0 graphene-1.8.2_1
+libgtk-4.so.0.9400.0 gtk4-3.94.0_1
From 95504361fa538eb610c99675abf9a6ee0715bd98 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sat, 18 May 2019 08:59:30 -0500
Subject: [PATCH 4/6] New package: gnustep-gui-0.27.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index b09e4049db4..839778e1cbb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3480,3 +3480,5 @@ libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
libgraphene-1.0.so.0 graphene-1.8.2_1
libgtk-4.so.0.9400.0 gtk4-3.94.0_1
+libmodule.so.4 libmodule-4.1.0_1
+libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
From c97c504fa9a69ba97521736a21e60d9f116a2ddf Mon Sep 17 00:00:00 2001
From: Helmut Pozimski <helmut@pozimski.eu>
Date: Sun, 9 Jun 2019 13:09:39 +0200
Subject: [PATCH 5/6] common/shlibs: add shared libraries for flite
---
common/shlibs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 839778e1cbb..84801109093 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3479,6 +3479,10 @@ libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
libgraphene-1.0.so.0 graphene-1.8.2_1
+libflite.so.1 flite-2.1_1
+libflite_cmu_us_kal.so.1 flite-2.1_1
+libflite_usenglish.so.1 flite-2.1_1
+libflite_cmulex.so.1 flite-2.1_1
libgtk-4.so.0.9400.0 gtk4-3.94.0_1
libmodule.so.4 libmodule-4.1.0_1
libgnustep-gui.so.0.27 gnustep-gui-0.27.0_1
From 14180b3a3adb5b1b596664d4821fc19d27d7c685 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH 6/6] New package: g810-led-0.3.4
---
srcpkgs/g810-led-devel | 1 +
srcpkgs/g810-led/template | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
create mode 120000 srcpkgs/g810-led-devel
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led-devel b/srcpkgs/g810-led-devel
new file mode 120000
index 00000000000..e96ffa0df4d
--- /dev/null
+++ b/srcpkgs/g810-led-devel
@@ -0,0 +1 @@
+g810-led/
\ No newline at end of file
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..4c21de32c2a
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,29 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+archs="i686 x86_64 aarch64 armv7l"
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+g810-led-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}-${version}_${revision}"
+ pkg_install() {
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ }
+}
+
+do_install() {
+ vbin bin/g810-led
+
+ vdoc README.md
+ vdoc INSTALL.md
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
2019-06-18 3:19 ` [PR PATCH] [Updated] New package: g810-led-0.3.4 voidlinux-github
2019-06-18 3:19 ` voidlinux-github
@ 2019-06-18 3:20 ` voidlinux-github
2019-06-18 6:20 ` voidlinux-github
` (15 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 3:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
New comment by misuchiru03 on void-packages repository
https://github.com/void-linux/void-packages/pull/12521#issuecomment-502929786
Comment:
This package will not build for musl.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (2 preceding siblings ...)
2019-06-18 3:20 ` voidlinux-github
@ 2019-06-18 6:20 ` voidlinux-github
2019-06-18 6:20 ` voidlinux-github
` (14 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 6:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/12521#issuecomment-502964015
Comment:
Can you please cleanup your branch so it only contains the g810-led commit.
Also instead of archs use
```shell
case $XBPS_TARGET_MACHINE_IN
*-musl) broken="reason/build log";;
esac
```
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (3 preceding siblings ...)
2019-06-18 6:20 ` voidlinux-github
@ 2019-06-18 6:20 ` voidlinux-github
2019-06-18 13:00 ` [PR PATCH] [Updated] " voidlinux-github
` (13 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 6:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/12521#issuecomment-502964015
Comment:
Can you please cleanup your branch so it only contains the g810-led commit.
Also instead of archs use
```shell
case $XBPS_TARGET_MACHINE in
*-musl) broken="reason/build log";;
esac
```
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (5 preceding siblings ...)
2019-06-18 13:00 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-18 13:00 ` voidlinux-github
2019-06-18 13:12 ` voidlinux-github
` (11 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 13:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 3889 bytes --]
From 90eaea3b553fdf80aafd729806b4bb99dc338ee3 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH] New package: g810-led-0.3.4
---
srcpkgs/g810-led/patches/musl.patch | 50 +++++++++++++++++++++++++++++
srcpkgs/g810-led/template | 24 ++++++++++++++
2 files changed, 74 insertions(+)
create mode 100644 srcpkgs/g810-led/patches/musl.patch
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led/patches/musl.patch b/srcpkgs/g810-led/patches/musl.patch
new file mode 100644
index 00000000000..e29901130eb
--- /dev/null
+++ b/srcpkgs/g810-led/patches/musl.patch
@@ -0,0 +1,50 @@
+--- src/classes/Keyboard.h.orig
++++ src/classes/Keyboard.h
+@@ -45,17 +45,17 @@
+ public:
+
+ std::vector<std::vector<uint16_t>> SupportedKeyboards = {
+- { 0x46d, 0xc336, (u_int16_t)KeyboardModel::g213 },
+- { 0x46d, 0xc330, (u_int16_t)KeyboardModel::g410 },
+- { 0x46d, 0xc33a, (u_int16_t)KeyboardModel::g413 },
+- { 0x46d, 0xc33c, (u_int16_t)KeyboardModel::g513 },
+- { 0x46d, 0xc333, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc338, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc331, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc337, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc32b, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc335, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc339, (u_int16_t)KeyboardModel::gpro }
++ { 0x46d, 0xc336, (uint16_t)KeyboardModel::g213 },
++ { 0x46d, 0xc330, (uint16_t)KeyboardModel::g410 },
++ { 0x46d, 0xc33a, (uint16_t)KeyboardModel::g413 },
++ { 0x46d, 0xc33c, (uint16_t)KeyboardModel::g513 },
++ { 0x46d, 0xc333, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc338, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc331, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc337, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc32b, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc335, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc339, (uint16_t)KeyboardModel::gpro }
+ };
+
+ enum class KeyboardModel : uint8_t {
+--- src/main.cpp.orig
++++ src/main.cpp
+@@ -280,13 +280,13 @@
+ if (! utils::parseUInt8(argv[argIndex + 1], kbdProtocol)) return 1;
+ switch(kbdProtocol) {
+ case 1:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g810 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g810 } };
+ break;
+ case 2:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g910 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g910 } };
+ break;
+ case 3:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g213 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g213 } };
+ break;
+ default:
+ break;
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..af2017ec7fd
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,24 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+#case $XBPS_TARGET_MACHINE in
+# *-musl) broken="";;
+#esac
+
+do_install() {
+ vbin bin/g810-led
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ vdoc README.md
+ vdoc INSTALL.md
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (4 preceding siblings ...)
2019-06-18 6:20 ` voidlinux-github
@ 2019-06-18 13:00 ` voidlinux-github
2019-06-18 13:00 ` voidlinux-github
` (12 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 13:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 3889 bytes --]
From 90eaea3b553fdf80aafd729806b4bb99dc338ee3 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH] New package: g810-led-0.3.4
---
srcpkgs/g810-led/patches/musl.patch | 50 +++++++++++++++++++++++++++++
srcpkgs/g810-led/template | 24 ++++++++++++++
2 files changed, 74 insertions(+)
create mode 100644 srcpkgs/g810-led/patches/musl.patch
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led/patches/musl.patch b/srcpkgs/g810-led/patches/musl.patch
new file mode 100644
index 00000000000..e29901130eb
--- /dev/null
+++ b/srcpkgs/g810-led/patches/musl.patch
@@ -0,0 +1,50 @@
+--- src/classes/Keyboard.h.orig
++++ src/classes/Keyboard.h
+@@ -45,17 +45,17 @@
+ public:
+
+ std::vector<std::vector<uint16_t>> SupportedKeyboards = {
+- { 0x46d, 0xc336, (u_int16_t)KeyboardModel::g213 },
+- { 0x46d, 0xc330, (u_int16_t)KeyboardModel::g410 },
+- { 0x46d, 0xc33a, (u_int16_t)KeyboardModel::g413 },
+- { 0x46d, 0xc33c, (u_int16_t)KeyboardModel::g513 },
+- { 0x46d, 0xc333, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc338, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc331, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc337, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc32b, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc335, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc339, (u_int16_t)KeyboardModel::gpro }
++ { 0x46d, 0xc336, (uint16_t)KeyboardModel::g213 },
++ { 0x46d, 0xc330, (uint16_t)KeyboardModel::g410 },
++ { 0x46d, 0xc33a, (uint16_t)KeyboardModel::g413 },
++ { 0x46d, 0xc33c, (uint16_t)KeyboardModel::g513 },
++ { 0x46d, 0xc333, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc338, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc331, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc337, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc32b, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc335, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc339, (uint16_t)KeyboardModel::gpro }
+ };
+
+ enum class KeyboardModel : uint8_t {
+--- src/main.cpp.orig
++++ src/main.cpp
+@@ -280,13 +280,13 @@
+ if (! utils::parseUInt8(argv[argIndex + 1], kbdProtocol)) return 1;
+ switch(kbdProtocol) {
+ case 1:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g810 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g810 } };
+ break;
+ case 2:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g910 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g910 } };
+ break;
+ case 3:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g213 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g213 } };
+ break;
+ default:
+ break;
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..af2017ec7fd
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,24 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+#case $XBPS_TARGET_MACHINE in
+# *-musl) broken="";;
+#esac
+
+do_install() {
+ vbin bin/g810-led
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ vdoc README.md
+ vdoc INSTALL.md
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (6 preceding siblings ...)
2019-06-18 13:00 ` voidlinux-github
@ 2019-06-18 13:12 ` voidlinux-github
2019-06-18 14:09 ` [PR PATCH] [Updated] " voidlinux-github
` (10 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 13:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
New comment by misuchiru03 on void-packages repository
https://github.com/void-linux/void-packages/pull/12521#issuecomment-503129225
Comment:
Patched for musl build, cleaned-up commit, and removed `-devel` package.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (7 preceding siblings ...)
2019-06-18 13:12 ` voidlinux-github
@ 2019-06-18 14:09 ` voidlinux-github
2019-06-18 14:09 ` voidlinux-github
` (9 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 14:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 3824 bytes --]
From c4e8cedb04103d970b9f3cb38b8b4ce52ede0bba Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH] New package: g810-led-0.3.4
---
srcpkgs/g810-led/patches/musl.patch | 50 +++++++++++++++++++++++++++++
srcpkgs/g810-led/template | 20 ++++++++++++
2 files changed, 70 insertions(+)
create mode 100644 srcpkgs/g810-led/patches/musl.patch
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led/patches/musl.patch b/srcpkgs/g810-led/patches/musl.patch
new file mode 100644
index 00000000000..e29901130eb
--- /dev/null
+++ b/srcpkgs/g810-led/patches/musl.patch
@@ -0,0 +1,50 @@
+--- src/classes/Keyboard.h.orig
++++ src/classes/Keyboard.h
+@@ -45,17 +45,17 @@
+ public:
+
+ std::vector<std::vector<uint16_t>> SupportedKeyboards = {
+- { 0x46d, 0xc336, (u_int16_t)KeyboardModel::g213 },
+- { 0x46d, 0xc330, (u_int16_t)KeyboardModel::g410 },
+- { 0x46d, 0xc33a, (u_int16_t)KeyboardModel::g413 },
+- { 0x46d, 0xc33c, (u_int16_t)KeyboardModel::g513 },
+- { 0x46d, 0xc333, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc338, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc331, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc337, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc32b, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc335, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc339, (u_int16_t)KeyboardModel::gpro }
++ { 0x46d, 0xc336, (uint16_t)KeyboardModel::g213 },
++ { 0x46d, 0xc330, (uint16_t)KeyboardModel::g410 },
++ { 0x46d, 0xc33a, (uint16_t)KeyboardModel::g413 },
++ { 0x46d, 0xc33c, (uint16_t)KeyboardModel::g513 },
++ { 0x46d, 0xc333, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc338, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc331, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc337, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc32b, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc335, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc339, (uint16_t)KeyboardModel::gpro }
+ };
+
+ enum class KeyboardModel : uint8_t {
+--- src/main.cpp.orig
++++ src/main.cpp
+@@ -280,13 +280,13 @@
+ if (! utils::parseUInt8(argv[argIndex + 1], kbdProtocol)) return 1;
+ switch(kbdProtocol) {
+ case 1:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g810 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g810 } };
+ break;
+ case 2:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g910 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g910 } };
+ break;
+ case 3:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g213 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g213 } };
+ break;
+ default:
+ break;
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..9622cf799cb
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,20 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+do_install() {
+ vbin bin/g810-led
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ vdoc README.md
+ vdoc INSTALL.md
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (8 preceding siblings ...)
2019-06-18 14:09 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-06-18 14:09 ` voidlinux-github
2019-06-18 14:27 ` voidlinux-github
` (8 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 14:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 3824 bytes --]
From c4e8cedb04103d970b9f3cb38b8b4ce52ede0bba Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH] New package: g810-led-0.3.4
---
srcpkgs/g810-led/patches/musl.patch | 50 +++++++++++++++++++++++++++++
srcpkgs/g810-led/template | 20 ++++++++++++
2 files changed, 70 insertions(+)
create mode 100644 srcpkgs/g810-led/patches/musl.patch
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led/patches/musl.patch b/srcpkgs/g810-led/patches/musl.patch
new file mode 100644
index 00000000000..e29901130eb
--- /dev/null
+++ b/srcpkgs/g810-led/patches/musl.patch
@@ -0,0 +1,50 @@
+--- src/classes/Keyboard.h.orig
++++ src/classes/Keyboard.h
+@@ -45,17 +45,17 @@
+ public:
+
+ std::vector<std::vector<uint16_t>> SupportedKeyboards = {
+- { 0x46d, 0xc336, (u_int16_t)KeyboardModel::g213 },
+- { 0x46d, 0xc330, (u_int16_t)KeyboardModel::g410 },
+- { 0x46d, 0xc33a, (u_int16_t)KeyboardModel::g413 },
+- { 0x46d, 0xc33c, (u_int16_t)KeyboardModel::g513 },
+- { 0x46d, 0xc333, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc338, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc331, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc337, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc32b, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc335, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc339, (u_int16_t)KeyboardModel::gpro }
++ { 0x46d, 0xc336, (uint16_t)KeyboardModel::g213 },
++ { 0x46d, 0xc330, (uint16_t)KeyboardModel::g410 },
++ { 0x46d, 0xc33a, (uint16_t)KeyboardModel::g413 },
++ { 0x46d, 0xc33c, (uint16_t)KeyboardModel::g513 },
++ { 0x46d, 0xc333, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc338, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc331, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc337, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc32b, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc335, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc339, (uint16_t)KeyboardModel::gpro }
+ };
+
+ enum class KeyboardModel : uint8_t {
+--- src/main.cpp.orig
++++ src/main.cpp
+@@ -280,13 +280,13 @@
+ if (! utils::parseUInt8(argv[argIndex + 1], kbdProtocol)) return 1;
+ switch(kbdProtocol) {
+ case 1:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g810 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g810 } };
+ break;
+ case 2:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g910 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g910 } };
+ break;
+ case 3:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g213 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g213 } };
+ break;
+ default:
+ break;
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..9622cf799cb
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,20 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+do_install() {
+ vbin bin/g810-led
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ vdoc README.md
+ vdoc INSTALL.md
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (9 preceding siblings ...)
2019-06-18 14:09 ` voidlinux-github
@ 2019-06-18 14:27 ` voidlinux-github
2019-06-18 14:27 ` voidlinux-github
` (7 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 14:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 3874 bytes --]
From 6351d640d42da92e034c3d18daa158e213168742 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH] New package: g810-led-0.3.4
---
srcpkgs/g810-led/patches/musl.patch | 50 +++++++++++++++++++++++++++++
srcpkgs/g810-led/template | 23 +++++++++++++
2 files changed, 73 insertions(+)
create mode 100644 srcpkgs/g810-led/patches/musl.patch
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led/patches/musl.patch b/srcpkgs/g810-led/patches/musl.patch
new file mode 100644
index 00000000000..e29901130eb
--- /dev/null
+++ b/srcpkgs/g810-led/patches/musl.patch
@@ -0,0 +1,50 @@
+--- src/classes/Keyboard.h.orig
++++ src/classes/Keyboard.h
+@@ -45,17 +45,17 @@
+ public:
+
+ std::vector<std::vector<uint16_t>> SupportedKeyboards = {
+- { 0x46d, 0xc336, (u_int16_t)KeyboardModel::g213 },
+- { 0x46d, 0xc330, (u_int16_t)KeyboardModel::g410 },
+- { 0x46d, 0xc33a, (u_int16_t)KeyboardModel::g413 },
+- { 0x46d, 0xc33c, (u_int16_t)KeyboardModel::g513 },
+- { 0x46d, 0xc333, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc338, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc331, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc337, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc32b, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc335, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc339, (u_int16_t)KeyboardModel::gpro }
++ { 0x46d, 0xc336, (uint16_t)KeyboardModel::g213 },
++ { 0x46d, 0xc330, (uint16_t)KeyboardModel::g410 },
++ { 0x46d, 0xc33a, (uint16_t)KeyboardModel::g413 },
++ { 0x46d, 0xc33c, (uint16_t)KeyboardModel::g513 },
++ { 0x46d, 0xc333, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc338, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc331, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc337, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc32b, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc335, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc339, (uint16_t)KeyboardModel::gpro }
+ };
+
+ enum class KeyboardModel : uint8_t {
+--- src/main.cpp.orig
++++ src/main.cpp
+@@ -280,13 +280,13 @@
+ if (! utils::parseUInt8(argv[argIndex + 1], kbdProtocol)) return 1;
+ switch(kbdProtocol) {
+ case 1:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g810 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g810 } };
+ break;
+ case 2:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g910 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g910 } };
+ break;
+ case 3:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g213 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g213 } };
+ break;
+ default:
+ break;
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..790a31b4528
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,23 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+do_install() {
+ vbin bin/g810-led
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ vdoc README.md
+ vdoc INSTALL.md
+ for i in sample_profiles/*; do
+ vsconf $i
+ done
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (10 preceding siblings ...)
2019-06-18 14:27 ` voidlinux-github
@ 2019-06-18 14:27 ` voidlinux-github
2019-06-18 15:44 ` voidlinux-github
` (6 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 14:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 3874 bytes --]
From 6351d640d42da92e034c3d18daa158e213168742 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH] New package: g810-led-0.3.4
---
srcpkgs/g810-led/patches/musl.patch | 50 +++++++++++++++++++++++++++++
srcpkgs/g810-led/template | 23 +++++++++++++
2 files changed, 73 insertions(+)
create mode 100644 srcpkgs/g810-led/patches/musl.patch
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led/patches/musl.patch b/srcpkgs/g810-led/patches/musl.patch
new file mode 100644
index 00000000000..e29901130eb
--- /dev/null
+++ b/srcpkgs/g810-led/patches/musl.patch
@@ -0,0 +1,50 @@
+--- src/classes/Keyboard.h.orig
++++ src/classes/Keyboard.h
+@@ -45,17 +45,17 @@
+ public:
+
+ std::vector<std::vector<uint16_t>> SupportedKeyboards = {
+- { 0x46d, 0xc336, (u_int16_t)KeyboardModel::g213 },
+- { 0x46d, 0xc330, (u_int16_t)KeyboardModel::g410 },
+- { 0x46d, 0xc33a, (u_int16_t)KeyboardModel::g413 },
+- { 0x46d, 0xc33c, (u_int16_t)KeyboardModel::g513 },
+- { 0x46d, 0xc333, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc338, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc331, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc337, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc32b, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc335, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc339, (u_int16_t)KeyboardModel::gpro }
++ { 0x46d, 0xc336, (uint16_t)KeyboardModel::g213 },
++ { 0x46d, 0xc330, (uint16_t)KeyboardModel::g410 },
++ { 0x46d, 0xc33a, (uint16_t)KeyboardModel::g413 },
++ { 0x46d, 0xc33c, (uint16_t)KeyboardModel::g513 },
++ { 0x46d, 0xc333, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc338, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc331, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc337, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc32b, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc335, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc339, (uint16_t)KeyboardModel::gpro }
+ };
+
+ enum class KeyboardModel : uint8_t {
+--- src/main.cpp.orig
++++ src/main.cpp
+@@ -280,13 +280,13 @@
+ if (! utils::parseUInt8(argv[argIndex + 1], kbdProtocol)) return 1;
+ switch(kbdProtocol) {
+ case 1:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g810 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g810 } };
+ break;
+ case 2:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g910 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g910 } };
+ break;
+ case 3:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g213 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g213 } };
+ break;
+ default:
+ break;
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..790a31b4528
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,23 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+do_install() {
+ vbin bin/g810-led
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ vdoc README.md
+ vdoc INSTALL.md
+ for i in sample_profiles/*; do
+ vsconf $i
+ done
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (11 preceding siblings ...)
2019-06-18 14:27 ` voidlinux-github
@ 2019-06-18 15:44 ` voidlinux-github
2019-06-18 15:44 ` voidlinux-github
` (5 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 15:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 3888 bytes --]
From 9c76ff92206c7c7b19dc4f7ee402d6650a2dcf55 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH] New package: g810-led-0.3.4
Closes #12431
---
srcpkgs/g810-led/patches/musl.patch | 50 +++++++++++++++++++++++++++++
srcpkgs/g810-led/template | 23 +++++++++++++
2 files changed, 73 insertions(+)
create mode 100644 srcpkgs/g810-led/patches/musl.patch
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led/patches/musl.patch b/srcpkgs/g810-led/patches/musl.patch
new file mode 100644
index 00000000000..e29901130eb
--- /dev/null
+++ b/srcpkgs/g810-led/patches/musl.patch
@@ -0,0 +1,50 @@
+--- src/classes/Keyboard.h.orig
++++ src/classes/Keyboard.h
+@@ -45,17 +45,17 @@
+ public:
+
+ std::vector<std::vector<uint16_t>> SupportedKeyboards = {
+- { 0x46d, 0xc336, (u_int16_t)KeyboardModel::g213 },
+- { 0x46d, 0xc330, (u_int16_t)KeyboardModel::g410 },
+- { 0x46d, 0xc33a, (u_int16_t)KeyboardModel::g413 },
+- { 0x46d, 0xc33c, (u_int16_t)KeyboardModel::g513 },
+- { 0x46d, 0xc333, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc338, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc331, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc337, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc32b, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc335, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc339, (u_int16_t)KeyboardModel::gpro }
++ { 0x46d, 0xc336, (uint16_t)KeyboardModel::g213 },
++ { 0x46d, 0xc330, (uint16_t)KeyboardModel::g410 },
++ { 0x46d, 0xc33a, (uint16_t)KeyboardModel::g413 },
++ { 0x46d, 0xc33c, (uint16_t)KeyboardModel::g513 },
++ { 0x46d, 0xc333, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc338, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc331, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc337, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc32b, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc335, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc339, (uint16_t)KeyboardModel::gpro }
+ };
+
+ enum class KeyboardModel : uint8_t {
+--- src/main.cpp.orig
++++ src/main.cpp
+@@ -280,13 +280,13 @@
+ if (! utils::parseUInt8(argv[argIndex + 1], kbdProtocol)) return 1;
+ switch(kbdProtocol) {
+ case 1:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g810 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g810 } };
+ break;
+ case 2:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g910 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g910 } };
+ break;
+ case 3:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g213 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g213 } };
+ break;
+ default:
+ break;
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..790a31b4528
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,23 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+do_install() {
+ vbin bin/g810-led
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ vdoc README.md
+ vdoc INSTALL.md
+ for i in sample_profiles/*; do
+ vsconf $i
+ done
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (12 preceding siblings ...)
2019-06-18 15:44 ` voidlinux-github
@ 2019-06-18 15:44 ` voidlinux-github
2019-06-24 16:00 ` voidlinux-github
` (4 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-18 15:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 3888 bytes --]
From 9c76ff92206c7c7b19dc4f7ee402d6650a2dcf55 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH] New package: g810-led-0.3.4
Closes #12431
---
srcpkgs/g810-led/patches/musl.patch | 50 +++++++++++++++++++++++++++++
srcpkgs/g810-led/template | 23 +++++++++++++
2 files changed, 73 insertions(+)
create mode 100644 srcpkgs/g810-led/patches/musl.patch
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led/patches/musl.patch b/srcpkgs/g810-led/patches/musl.patch
new file mode 100644
index 00000000000..e29901130eb
--- /dev/null
+++ b/srcpkgs/g810-led/patches/musl.patch
@@ -0,0 +1,50 @@
+--- src/classes/Keyboard.h.orig
++++ src/classes/Keyboard.h
+@@ -45,17 +45,17 @@
+ public:
+
+ std::vector<std::vector<uint16_t>> SupportedKeyboards = {
+- { 0x46d, 0xc336, (u_int16_t)KeyboardModel::g213 },
+- { 0x46d, 0xc330, (u_int16_t)KeyboardModel::g410 },
+- { 0x46d, 0xc33a, (u_int16_t)KeyboardModel::g413 },
+- { 0x46d, 0xc33c, (u_int16_t)KeyboardModel::g513 },
+- { 0x46d, 0xc333, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc338, (u_int16_t)KeyboardModel::g610 },
+- { 0x46d, 0xc331, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc337, (u_int16_t)KeyboardModel::g810 },
+- { 0x46d, 0xc32b, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc335, (u_int16_t)KeyboardModel::g910 },
+- { 0x46d, 0xc339, (u_int16_t)KeyboardModel::gpro }
++ { 0x46d, 0xc336, (uint16_t)KeyboardModel::g213 },
++ { 0x46d, 0xc330, (uint16_t)KeyboardModel::g410 },
++ { 0x46d, 0xc33a, (uint16_t)KeyboardModel::g413 },
++ { 0x46d, 0xc33c, (uint16_t)KeyboardModel::g513 },
++ { 0x46d, 0xc333, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc338, (uint16_t)KeyboardModel::g610 },
++ { 0x46d, 0xc331, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc337, (uint16_t)KeyboardModel::g810 },
++ { 0x46d, 0xc32b, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc335, (uint16_t)KeyboardModel::g910 },
++ { 0x46d, 0xc339, (uint16_t)KeyboardModel::gpro }
+ };
+
+ enum class KeyboardModel : uint8_t {
+--- src/main.cpp.orig
++++ src/main.cpp
+@@ -280,13 +280,13 @@
+ if (! utils::parseUInt8(argv[argIndex + 1], kbdProtocol)) return 1;
+ switch(kbdProtocol) {
+ case 1:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g810 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g810 } };
+ break;
+ case 2:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g910 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g910 } };
+ break;
+ case 3:
+- kbd.SupportedKeyboards = { { vendorID, productID, (u_int16_t)LedKeyboard::KeyboardModel::g213 } };
++ kbd.SupportedKeyboards = { { vendorID, productID, (uint16_t)LedKeyboard::KeyboardModel::g213 } };
+ break;
+ default:
+ break;
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..790a31b4528
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,23 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.4
+revision=1
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=6737d184fafcadcfd2e86d2cc6c92efb910f4abe97eebf6c52b0de9ab6864972
+
+do_install() {
+ vbin bin/g810-led
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ vdoc README.md
+ vdoc INSTALL.md
+ for i in sample_profiles/*; do
+ vsconf $i
+ done
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (13 preceding siblings ...)
2019-06-18 15:44 ` voidlinux-github
@ 2019-06-24 16:00 ` voidlinux-github
2019-06-24 16:00 ` voidlinux-github
` (3 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-24 16:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 1314 bytes --]
From b12cb74f34de8c195a81e3c310ccbb45d64204d4 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH] New package: g810-led-0.3.5
Closes #12431
---
srcpkgs/g810-led/template | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..d978c0c7665
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,26 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.5
+revision=1
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=8a971be4b77111aa54b250a39b6fcead78188f46999b2aa9b8280c2506753e69
+
+do_install() {
+ vbin bin/g810-led
+ for i in 210 410 413 512 513 610 910 pro; do
+ ln -s /usr/bin/g810-led $DESTDIR/usr/bin/g$i-led
+ done
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ vdoc README.md
+ vdoc INSTALL.md
+ for i in sample_profiles/*; do
+ vsconf $i
+ done
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: g810-led-0.3.4
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (14 preceding siblings ...)
2019-06-24 16:00 ` voidlinux-github
@ 2019-06-24 16:00 ` voidlinux-github
2019-06-24 16:08 ` New package: g810-led-0.3.5 voidlinux-github
` (2 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-24 16:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
There is an updated pull request by misuchiru03 against master on the void-packages repository
https://github.com/misuchiru03/void-packages g810-led-0.3.4
https://github.com/void-linux/void-packages/pull/12521
New package: g810-led-0.3.4
In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
A patch file from https://github.com/void-linux/void-packages/pull/12521.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-g810-led-0.3.4-12521.patch --]
[-- Type: application/text/x-diff, Size: 1314 bytes --]
From b12cb74f34de8c195a81e3c310ccbb45d64204d4 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+void@gmail.com>
Date: Mon, 17 Jun 2019 20:52:03 -0500
Subject: [PATCH] New package: g810-led-0.3.5
Closes #12431
---
srcpkgs/g810-led/template | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 srcpkgs/g810-led/template
diff --git a/srcpkgs/g810-led/template b/srcpkgs/g810-led/template
new file mode 100644
index 00000000000..d978c0c7665
--- /dev/null
+++ b/srcpkgs/g810-led/template
@@ -0,0 +1,26 @@
+# Template file for 'g810-led'
+pkgname=g810-led
+version=0.3.5
+revision=1
+build_style=gnu-makefile
+makedepends="hidapi-devel"
+short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
+maintainer="Alex Childs <misuchiru03+void@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/MatMoul/g810-led/"
+distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
+checksum=8a971be4b77111aa54b250a39b6fcead78188f46999b2aa9b8280c2506753e69
+
+do_install() {
+ vbin bin/g810-led
+ for i in 210 410 413 512 513 610 910 pro; do
+ ln -s /usr/bin/g810-led $DESTDIR/usr/bin/g$i-led
+ done
+ vmkdir usr/lib
+ vcopy "lib/*.so.*" usr/lib
+ vdoc README.md
+ vdoc INSTALL.md
+ for i in sample_profiles/*; do
+ vsconf $i
+ done
+}
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: g810-led-0.3.5
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (15 preceding siblings ...)
2019-06-24 16:00 ` voidlinux-github
@ 2019-06-24 16:08 ` voidlinux-github
2019-06-24 23:02 ` [PR PATCH] [Merged]: " voidlinux-github
2019-06-25 0:08 ` voidlinux-github
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-24 16:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
New comment by misuchiru03 on void-packages repository
https://github.com/void-linux/void-packages/pull/12521#issuecomment-505075808
Comment:
Upstream merged PR to correct libc stdint variables--removed patch as no longer necessary.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Merged]: New package: g810-led-0.3.5
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (16 preceding siblings ...)
2019-06-24 16:08 ` New package: g810-led-0.3.5 voidlinux-github
@ 2019-06-24 23:02 ` voidlinux-github
2019-06-25 0:08 ` voidlinux-github
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-24 23:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
There's a merged pull request on the void-packages repository
New package: g810-led-0.3.5
https://github.com/void-linux/void-packages/pull/12521
Description: In response to this [request](https://github.com/void-linux/void-packages/issues/12431)
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: g810-led-0.3.5
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
` (17 preceding siblings ...)
2019-06-24 23:02 ` [PR PATCH] [Merged]: " voidlinux-github
@ 2019-06-25 0:08 ` voidlinux-github
18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-06-25 0:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
New comment by dragozet on void-packages repository
https://github.com/void-linux/void-packages/pull/12521#issuecomment-505226550
Comment:
Thank you @misuchiru03 works great!
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2019-06-25 0:08 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-18 3:10 [PR PATCH] New packge: g810-led-0.3.4 voidlinux-github
2019-06-18 3:19 ` [PR PATCH] [Updated] New package: g810-led-0.3.4 voidlinux-github
2019-06-18 3:19 ` voidlinux-github
2019-06-18 3:20 ` voidlinux-github
2019-06-18 6:20 ` voidlinux-github
2019-06-18 6:20 ` voidlinux-github
2019-06-18 13:00 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-18 13:00 ` voidlinux-github
2019-06-18 13:12 ` voidlinux-github
2019-06-18 14:09 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-18 14:09 ` voidlinux-github
2019-06-18 14:27 ` voidlinux-github
2019-06-18 14:27 ` voidlinux-github
2019-06-18 15:44 ` voidlinux-github
2019-06-18 15:44 ` voidlinux-github
2019-06-24 16:00 ` voidlinux-github
2019-06-24 16:00 ` voidlinux-github
2019-06-24 16:08 ` New package: g810-led-0.3.5 voidlinux-github
2019-06-24 23:02 ` [PR PATCH] [Merged]: " voidlinux-github
2019-06-25 0:08 ` voidlinux-github
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).