Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libg15, libg15render, g15daemon and g15stats
@ 2021-05-19 15:20 Menelkir
  2021-05-19 17:44 ` Chocimier
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Menelkir @ 2021-05-19 15:20 UTC (permalink / raw)
  To: ml

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

There is a new pull request by Menelkir against master on the void-packages repository

https://github.com/Menelkir/void-packages master
https://github.com/void-linux/void-packages/pull/30992

libg15, libg15render, g15daemon and g15stats
This is a group of packages necessary for Logitech G15 keyboards and other supported devices  (including G-keys and LCD Screen). I have a G15 keyboard for that matter and it works as expected.

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me

<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (amd64-glibc)
-->


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

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

From 1e7c99e9961f8324d208985e2e8bbbb66447b238 Mon Sep 17 00:00:00 2001
From: Daniel Menelkir <menelkir@itroll.org>
Date: Wed, 19 May 2021 09:56:16 -0300
Subject: [PATCH 1/3] 	new file:   srcpkgs/libg15/template

---
 srcpkgs/libg15/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/libg15/template

diff --git a/srcpkgs/libg15/template b/srcpkgs/libg15/template
new file mode 100644
index 000000000000..5657be0dcd48
--- /dev/null
+++ b/srcpkgs/libg15/template
@@ -0,0 +1,22 @@
+# Template file for 'libg15'
+pkgname=libg15
+version=3.0.5
+revision=1
+archs="i686 x86_64"
+#wrksrc=
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+#hostmakedepends=""
+makedepends="libusb-devel libusb-compat-devel"
+depends="libusb libusb-compat"
+short_desc="Library to handle the LCD and extra keys on the Logitech devices"
+maintainer="Daniel Menelkir <menelkir@itroll.org>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/menelkir/libg15"
+distfiles="libg15-${version}.tar.bz2"
+checksum=5aec0eb7b47f673ec7dc50dbe2ed13306e06dc59033d44581e27aa396f414f33

From a37daeac5c901356fded7a12c96c7c2718ed6bcc Mon Sep 17 00:00:00 2001
From: Daniel Menelkir <menelkir@itroll.org>
Date: Wed, 19 May 2021 10:54:52 -0300
Subject: [PATCH 2/3] 	modified:   srcpkgs/libg15/template

---
 srcpkgs/libg15/template | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/srcpkgs/libg15/template b/srcpkgs/libg15/template
index 5657be0dcd48..953e46438ded 100644
--- a/srcpkgs/libg15/template
+++ b/srcpkgs/libg15/template
@@ -2,21 +2,12 @@
 pkgname=libg15
 version=3.0.5
 revision=1
-archs="i686 x86_64"
-#wrksrc=
-#create_wrksrc=yes
 build_style=gnu-configure
-#configure_args=""
-#make_build_args=""
-#make_install_args=""
-#conf_files=""
-#make_dirs="/var/log/dir 0755 root root"
-#hostmakedepends=""
 makedepends="libusb-devel libusb-compat-devel"
 depends="libusb libusb-compat"
 short_desc="Library to handle the LCD and extra keys on the Logitech devices"
 maintainer="Daniel Menelkir <menelkir@itroll.org>"
 license="GPL-2.0-or-later"
 homepage="https://gitlab.com/menelkir/libg15"
-distfiles="libg15-${version}.tar.bz2"
+distfiles="${homepage}/-/archive/${version}/libg15-${version}.tar.bz2"
 checksum=5aec0eb7b47f673ec7dc50dbe2ed13306e06dc59033d44581e27aa396f414f33

From c2d7e17d3cfbbb27fa9016598fb03a66dc217e1b Mon Sep 17 00:00:00 2001
From: Daniel Menelkir <menelkir@itroll.org>
Date: Wed, 19 May 2021 11:59:26 -0300
Subject: [PATCH 3/3] 	modified:   common/shlibs 	new file:  
 srcpkgs/g15daemon/files/g15daemon/run 	new file:   srcpkgs/g15daemon/template
 	new file:   srcpkgs/g15stats/files/g15stats/run 	new file:  
 srcpkgs/g15stats/template 	new file:   srcpkgs/libg15render/template

---
 common/shlibs                         |  3 +++
 srcpkgs/g15daemon/files/g15daemon/run |  2 ++
 srcpkgs/g15daemon/template            | 18 ++++++++++++++++++
 srcpkgs/g15stats/files/g15stats/run   |  4 ++++
 srcpkgs/g15stats/template             | 18 ++++++++++++++++++
 srcpkgs/libg15render/template         | 13 +++++++++++++
 6 files changed, 58 insertions(+)
 create mode 100755 srcpkgs/g15daemon/files/g15daemon/run
 create mode 100644 srcpkgs/g15daemon/template
 create mode 100755 srcpkgs/g15stats/files/g15stats/run
 create mode 100644 srcpkgs/g15stats/template
 create mode 100644 srcpkgs/libg15render/template

diff --git a/common/shlibs b/common/shlibs
index ef3ff475a4d9..3f6bb9ecd858 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -814,6 +814,9 @@ libogrove.so.0 openjade-1.3.2_1
 libospgrove.so.0 openjade-1.3.2_1
 libostyle.so.0 openjade-1.3.2_1
 libtorrent.so.21 libtorrent-0.13.8_4
+libg15.so.3 libg15-3.0.5_1
+libg15render.so.3 libg15render-3.0.3_1
+libg15daemon_client.so.3 g15daemon-3.0.2_1
 libgiblib.so.1 giblib-1.2.4_1
 libgc.so.1 gc-7.6.4_1
 libcord.so.1 gc-7.4_1
diff --git a/srcpkgs/g15daemon/files/g15daemon/run b/srcpkgs/g15daemon/files/g15daemon/run
new file mode 100755
index 000000000000..fae2da169ea5
--- /dev/null
+++ b/srcpkgs/g15daemon/files/g15daemon/run
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+exec g15daemon
diff --git a/srcpkgs/g15daemon/template b/srcpkgs/g15daemon/template
new file mode 100644
index 000000000000..583fc6b1e69c
--- /dev/null
+++ b/srcpkgs/g15daemon/template
@@ -0,0 +1,18 @@
+# Template file for 'g15daemon'
+pkgname=g15daemon
+version=3.0.2
+revision=1
+build_style=gnu-configure
+CFLAGS=" -fcommon" # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+makedepends="libg15 libg15render"
+depends="libg15 libg15render"
+short_desc="Controls extra keys and LCD for compatible logitech devices"
+maintainer="Daniel Menelkir <menelkir@itroll.org>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/menelkir/g15daemon"
+distfiles="${homepage}/-/archive/${version}/g15daemon-${version}.tar.bz2"
+checksum=18bdbd6cb5f15b4996ac62ed5974cf65c626ff2ade3d361ac969fea8d458686f
+
+post_install() {
+	vsv g15daemon
+}
diff --git a/srcpkgs/g15stats/files/g15stats/run b/srcpkgs/g15stats/files/g15stats/run
new file mode 100755
index 000000000000..a8f5307b14b9
--- /dev/null
+++ b/srcpkgs/g15stats/files/g15stats/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec 2>&1
+sv check g15daemon >/dev/null || exit 1
+exec g15stats
diff --git a/srcpkgs/g15stats/template b/srcpkgs/g15stats/template
new file mode 100644
index 000000000000..e948569f9365
--- /dev/null
+++ b/srcpkgs/g15stats/template
@@ -0,0 +1,18 @@
+# Template file for 'g15stats'
+pkgname=g15stats
+version=3.0.3
+revision=1
+build_style=gnu-configure
+CFLAGS=" -fcommon" # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+makedepends="libgtop-devel g15daemon pkg-config"
+depends="libgtop g15daemon"
+short_desc="An usage monitor for G15daemon"
+maintainer="Daniel Menelkir <menelkir@itroll.org>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/menelkir/g15stats"
+distfiles="${homepage}/-/archive/${version}/g15stats-${version}.tar.bz2"
+checksum=f5bb77d4b8a1030d07efc22919446c4abf876ca3086ff7c50cfcae9d67b64647
+
+post_install() {
+	vsv g15stats
+}
diff --git a/srcpkgs/libg15render/template b/srcpkgs/libg15render/template
new file mode 100644
index 000000000000..c4ac3f4772a0
--- /dev/null
+++ b/srcpkgs/libg15render/template
@@ -0,0 +1,13 @@
+# Template file for 'libg15render'
+pkgname=libg15render
+version=3.0.3
+revision=1
+build_style=gnu-configure
+makedepends="libg15"
+depends="libg15"
+short_desc="Library to render text into buffer usable by Logitech devices"
+maintainer="Daniel Menelkir <menelkir@itroll.org>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/menelkir/libg15render"
+distfiles="${homepage}/-/archive/${version}/libg15render-${version}.tar.bz2"
+checksum=9e9d2c94a1fec40e7afce90edcfd1bd9b4a5139e2f4d6be67cfebd82aa55f932

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

* Re: libg15, libg15render, g15daemon and g15stats
  2021-05-19 15:20 [PR PATCH] libg15, libg15render, g15daemon and g15stats Menelkir
@ 2021-05-19 17:44 ` Chocimier
  2021-05-22 11:40 ` [PR REVIEW] " Chocimier
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Chocimier @ 2021-05-19 17:44 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/30992#issuecomment-844328030

Comment:
This is your own software, do you use it on Void?

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

* Re: [PR REVIEW] libg15, libg15render, g15daemon and g15stats
  2021-05-19 15:20 [PR PATCH] libg15, libg15render, g15daemon and g15stats Menelkir
  2021-05-19 17:44 ` Chocimier
@ 2021-05-22 11:40 ` Chocimier
  2021-05-22 11:40 ` Chocimier
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Chocimier @ 2021-05-22 11:40 UTC (permalink / raw)
  To: ml

[-- 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/30992#discussion_r637392394

Comment:
moving `pkg-config` to `hostmakedepends` fixes cross compilation.

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

* Re: [PR REVIEW] libg15, libg15render, g15daemon and g15stats
  2021-05-19 15:20 [PR PATCH] libg15, libg15render, g15daemon and g15stats Menelkir
  2021-05-19 17:44 ` Chocimier
  2021-05-22 11:40 ` [PR REVIEW] " Chocimier
@ 2021-05-22 11:40 ` Chocimier
  2021-05-22 11:41 ` Chocimier
  2021-08-23 11:02 ` [PR PATCH] [Closed]: " Menelkir
  4 siblings, 0 replies; 6+ messages in thread
From: Chocimier @ 2021-05-22 11:40 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/30992#discussion_r637392096

Comment:
Readme says that it needs to be root for logging, but logging by unprivileged user do work. Any problems with running as dedicated user crated as in [Manual.md](https://github.com/void-linux/void-packages/blob/master/Manual.md#creating-system-accountsgroups-at-runtime) and used as in [netdata](https://github.com/void-linux/void-packages/blob/189d87cab913dfca5bb5b33ea37c0965d4329264/srcpkgs/netdata/files/netdata/run)?

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

* Re: libg15, libg15render, g15daemon and g15stats
  2021-05-19 15:20 [PR PATCH] libg15, libg15render, g15daemon and g15stats Menelkir
                   ` (2 preceding siblings ...)
  2021-05-22 11:40 ` Chocimier
@ 2021-05-22 11:41 ` Chocimier
  2021-08-23 11:02 ` [PR PATCH] [Closed]: " Menelkir
  4 siblings, 0 replies; 6+ messages in thread
From: Chocimier @ 2021-05-22 11:41 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/30992#issuecomment-846396065

Comment:
Please fix [xlint warnings](https://github.com/void-linux/void-packages/pull/30992/checks?check_run_id=2622798222) too.

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

* Re: [PR PATCH] [Closed]: libg15, libg15render, g15daemon and g15stats
  2021-05-19 15:20 [PR PATCH] libg15, libg15render, g15daemon and g15stats Menelkir
                   ` (3 preceding siblings ...)
  2021-05-22 11:41 ` Chocimier
@ 2021-08-23 11:02 ` Menelkir
  4 siblings, 0 replies; 6+ messages in thread
From: Menelkir @ 2021-08-23 11:02 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

libg15, libg15render, g15daemon and g15stats
https://github.com/void-linux/void-packages/pull/30992

Description:
This is a group of packages necessary for Logitech G15 keyboards and other supported devices  (including G-keys and LCD Screen). I have a G15 keyboard for that matter and it works as expected.

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me

<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (amd64-glibc)
-->


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 15:20 [PR PATCH] libg15, libg15render, g15daemon and g15stats Menelkir
2021-05-19 17:44 ` Chocimier
2021-05-22 11:40 ` [PR REVIEW] " Chocimier
2021-05-22 11:40 ` Chocimier
2021-05-22 11:41 ` Chocimier
2021-08-23 11:02 ` [PR PATCH] [Closed]: " Menelkir

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