Bug 252987 - [new port] sysutils/g15daemon: daemon for Logitech G15 Keyboards
Summary: [new port] sysutils/g15daemon: daemon for Logitech G15 Keyboards
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 253009
  Show dependency treegraph
 
Reported: 2021-01-25 02:16 UTC by Daniel Menelkir
Modified: 2021-07-14 19:21 UTC (History)
1 user (show)

See Also:


Attachments
g15daemon-v1.diff (4.59 KB, patch)
2021-01-25 02:16 UTC, Daniel Menelkir
no flags Details | Diff
g15daemon-v2.diff (4.59 KB, patch)
2021-01-25 02:20 UTC, Daniel Menelkir
no flags Details | Diff
g15daemon-v3.diff (4.59 KB, patch)
2021-01-25 02:29 UTC, Daniel Menelkir
no flags Details | Diff
g15daemon-v4.diff (4.89 KB, patch)
2021-01-25 18:23 UTC, Daniel Menelkir
no flags Details | Diff
v5 (4.54 KB, patch)
2021-03-13 22:51 UTC, Daniel Menelkir
no flags Details | Diff
v6 (4.58 KB, patch)
2021-04-29 17:14 UTC, Daniel Menelkir
no flags Details | Diff
v7 (3.90 KB, patch)
2021-05-27 20:55 UTC, Daniel Menelkir
no flags Details | Diff
v8 (3.85 KB, patch)
2021-07-14 19:21 UTC, Daniel Menelkir
menelkir: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Menelkir 2021-01-25 02:16:32 UTC
Created attachment 221891 [details]
g15daemon-v1.diff

G15daemon is a daemon for use the G-Buttons and draw on the Logitech G15 Keyboards and compatibles. I've updated the software so now it proper compiles in FreeBSD.
The port compiles pretty fine and the LCD works as expected (I'm able to draw on the screen with other utilities). The G-keys doesn't work yet.
Comment 1 Daniel Menelkir 2021-01-25 02:20:13 UTC
Created attachment 221892 [details]
g15daemon-v2.diff

Fixed some typos in the rc script.
Comment 2 Daniel Menelkir 2021-01-25 02:29:52 UTC
Created attachment 221893 [details]
g15daemon-v3.diff

Forgot the versioning in the plugin path (I'll change this in the next release).
Comment 3 Daniel Menelkir 2021-01-25 18:23:07 UTC
Created attachment 221915 [details]
g15daemon-v4.diff

Builds without gcc and fixed pkg-plist.
Comment 4 Daniel Menelkir 2021-03-13 22:51:27 UTC
Created attachment 223239 [details]
v5

Minor fixes and polish the code.
Comment 5 Daniel Menelkir 2021-04-29 17:13:20 UTC
Reopened and polishing the code.
Comment 6 Daniel Menelkir 2021-04-29 17:14:43 UTC
Created attachment 224544 [details]
v6

Various fixes and polish the code.
Depends on bug #254262 and bug #255493.
Comment 7 Daniel Menelkir 2021-05-27 20:55:55 UTC
Created attachment 225327 [details]
v7

Polished the code and bump the version. 
g15daemon.conf was being created in /etc instead of /usr/local/etc.
Comment 8 Daniel Menelkir 2021-07-06 22:40:25 UTC
Friendly ping. I know the code itself could be improved, but I don't have too much experience on FreeBSD hardware. Despite of this, I've make it work on FreeBSD way better than the original code (I'm using as a daily driver by months already).
Comment 9 Daniel Menelkir 2021-07-14 19:21:30 UTC
Created attachment 226470 [details]
v8

Bumped version to 3.0.3:
The code is cleaner. I've removed most of the warnings and fixed some other things. The compatibility with FreeBSD is done. You can use the g15daemon options offered by some DEs (KDE, etc) without any extra fuzz (xmodmap still optional if you want to remap G-Keys to something else such as extra function keys). 
The functionality now is exactly the same as linux.