Alex
5a04d6268e
Fixed wrong help display
6 år sedan
Fredrik Svantesson
d75c5d4c9c
check result of split in find_device_target
6 år sedan
Joachim Nilsson
f53a0e308f
Update ChangeLog and bump version for v1.2 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
4e43abeb6f
Add Debian/Ubuntu build/install help
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
3846efc1fe
Merge pull request #70 from haikarainen/man-page-update
Fix #66 : Align man page with help text
6 år sedan
Joachim Nilsson
ccc248990a
Minor, fix spelling in man page
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
a5195d2a60
Merge pull request #71 from haikarainen/update-debian-packaging
Update debian packaging
6 år sedan
Joachim Nilsson
1285c7412d
Fix #66 : Actually update man page with new and changed settings
- Order commands and options similar to help text, not alphabetically
- Update command descriptions to new nomenclature
- Update copyright years
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
56c5b329ee
Drop debian package from release target and rename package: --> deb:
Seeing as light supports at least two different GNU/Linux distributions
it seems prudent to not claim 'package:' for Debian packages. This has
the added benefit of adding easy build targets for RedHat/Fedora, Arch,
and others.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
1466eaa3d5
Fix #68 : Update Debian/Ubuntu packaging
- Bump debhlper compat to >= 10 (Stretch)
- Update Standards-Version field, we seem to be compatible
- Update package Description filed, lintian complains of empty body
- Update changelog date and drop GitHub issue reference, confuses lintian
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
22ab2f7167
Fix spelling, found by lintian
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
b266f86b2f
Fix #66 : Align man page with help text
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Fredrik Svantesson
1be06a4fb9
Fix #65
6 år sedan
Fredrik Svantesson
0010b89923
Fix formatting
6 år sedan
Fredrik Svantesson
066ef804ad
Add @troglobit and new PKGBUILD to README
6 år sedan
Fredrik Svantesson
c8898274e3
Add notice about video group for udev rules
6 år sedan
Fredrik Svantesson
621e1dbe7f
Add leds subsystem to udev rules
6 år sedan
Fredrik Svantesson
8f39b040d4
Added Arch Linux PKGBUILD, fixes #56
6 år sedan
Fredrik Svantesson
9d8ca6be3c
Undo modern C standard target because Ubuntu. Fixes #64
6 år sedan
Fredrik Svantesson
55ad3be529
Add untested and very experimental razer support #57
6 år sedan
Fredrik Svantesson
7bf19b3ebb
implement util enumerator, dryrun, fix #60
6 år sedan
Fredrik Svantesson
c4aab0c3ac
Fix memory errors, improve enum. impl.
6 år sedan
Fredrik Svantesson
a5caacb532
Merge pull request #61 from haikarainen/device-rewrite
Rewrite codebase, add device-system pewpew
6 år sedan
Fredrik Svantesson
cf55bd7b23
Add developer docs
6 år sedan
Fredrik Svantesson
61f6b01195
Fix device disposal
6 år sedan
Fredrik Svantesson
5c86188ad9
Updated readme
6 år sedan
Fredrik Svantesson
8307431ac7
Fixed printed help
6 år sedan
Fredrik Svantesson
3ed29dfa7c
Fix incorrect printf usage of uint64_t's
6 år sedan
Fredrik Svantesson
b3b9b6086d
General cleanup & fixes
6 år sedan
Fredrik Svantesson
7a3f49a395
Rewrite codebase, add device-system
6 år sedan
Joachim Nilsson
08bb6f2703
Merge pull request #59 from chrboe/xdg-cache-dir
Respect XDG_CACHE_HOME
6 år sedan
Christoph Böhmwalder
48615fca6e
Respect XDG_CACHE_HOME
The XDG Base Directory specification [1] demands that there should be a
"single base directory relative to which user-specific non-essential
(cached) data should be written". Light currently makes use of such a
cache directory, but hardcodes the default "$HOME/.cache".
In order to enable users to specify a custom cache directory, respect
this convention and use the "$XDG_CACHE_HOME" environment variable if it
is set. If it is not set, fall back to "$HOME/.cache".
[1] https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
6 år sedan
Joachim Nilsson
a44ad60a66
Merge pull request #54 from troglobit/brillo-merges
Brillo merges
6 år sedan
Joachim Nilsson
c9b79b5d85
No need to have +1 on sizeof path prefix
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
2e61462211
Use snprintf() instead of strncpy(), both safer and simpler
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
b73cf341e4
Mention @CameronNemo's fork brillo in heading
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
b4291f7d0e
Merge pull request #53 from troglobit/packaging
ChangeLog updates, Debian packaging support
6 år sedan
Joachim Nilsson
3d2248b756
Make .deb package part of std release target
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
c459949c47
Minor snag, $prefix prefixed to udev rules means /usr/lib/ not /lib
We may need to drop the $prefix to the udev rules from configure.ac
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
b992bc0e9d
Fix #47 : Initial debian/ packaging for upcoming v1.2 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
3aaee6a865
Update for upcoming v1.2 release
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
8f2e5999c4
Rename license file, GNU licenses are commonly named COPYING
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
35b4b54dcc
Convert to Markdown and update with all official releases
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
aeeb063aa8
Rename and prepare to convert to Markdown
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
6ef91ad260
Merge pull request #52 from troglobit/doc-updates
Doc updates
6 år sedan
Joachim Nilsson
8571f803fb
Mention where files are stored in the different operating modes
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
227b58f5ec
Update Table of Contents and rewrite Examples intro a bit
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
a7510d469b
Merge pull request #51 from troglobit/configure-with-udev
Add --with-udev[=PATH] to configure script, for non-SUID root operation
6 år sedan
Joachim Nilsson
d784b15a7f
Fix logging macro to add \n after each log message
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan
Joachim Nilsson
7519c744cf
Fix #46 : Migrate to use ~/.cache/light for unpriviliged operation
When light is installed in the non-SUID root mode it cannot write to
/etc/light anymore, so we set up a ~/.cache/light instead.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
6 år sedan