Commit Graph

7 Commits

Author SHA1 Message Date
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev 4c2e24f9b8 uledd: update to 2020-09-15
Switch to AUTORELEASE for simplicity.

Switch to building with Ninja for faster speed.

Several cleanups for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-24 16:04:52 -07:00
Petr Štetiar 65ac16fce9 uledd: bump to latest version 1.0.1
018f57e713fa cmake: bump version to 1.0.1
b90c65be87c5 ubus: add state method
034e3a77680d scene: add dumping of state to blobmsg
d21b0946e6f6 scene: add all LEDs during scene creation
f31a6f2b8c3b led: add dumping of state to blobmsg
cead0f7f54f6 add support for scenes with priorities
8637a86307d7 led: remove string format from led_state_str
0eaa67a5a687 led: add led_from_path
8243708905aa tests: add basic blob-led unit test
99bcdaa306f7 refactor blob LED parsing into separate unit
210c5e3c5128 led: change sysfs LED path for unit tests
310a676e50d7 add cram based unit tests
eb7acbb08e36 led: led_add: add debug output
ca9c762fb29a led: make timer tick interval variable
44d072039680 led: allow running and stopping
df0c7772c9c6 timer: add missing includes
2aab48d1143c cmake: add sources into static library
83d4189606ca fix multiple timer drifts by using singular timer for all LEDs
3abe097ebecf log: output function name in debug log messages
5c768b337df8 led: set current brightness only after success
cf93720951bc allow overriding of default ubus socket path
b642b650a612 led: fix initial LED fading out
ba00ca0e886c fix deprecated SPDX license identifier
766448f68e69 convert content of README into Markdown format
079e773e3250 rename README into README.md
76eb126d9eb5 add LICENSE file
7a006926c442 add initial GitLab CI support
cc94cd4c59b0 replace stderr based logging with ulog
7aa9c35a9581 add basic application versioning
ecd26be4c5dd add basic logging
cc42a9c79ad9 factor out ubus stuff into separate unit
13a589678c29 factor out led stuff into separate unit
7763972de980 fix sign issue spotted by compiler
aef09580c960 cmake: enable extra compiler warnings
97663b4e1d15 cmake: fix include dirs and libs lookup
875a9e15b10a fixes a small bug that failed to reset the state to LED_SET when reconfiguring a LED

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-12-11 22:46:56 +01:00
Petr Štetiar ddf62fd4cf uledd: fix license to correct LGPL-2.1-only
"This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License version 2.1"

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-12-11 22:32:23 +01:00
John Crispin 282432de33 uledd: add a tiny ubus frontend for PWM/RGB leds
This daemon allows users to control PWM driven RGB LEDs using ubus.
Currently it is possible to make leds blink at different brightnesses
and or make them fade in between colours.

the following call will turn green on and red off:
ubus call led set '{ "leds": { "ap:green:status": 255, "ap:red:status": 0 } }'

the following call will make green and red fade on/off over 2 seconds:
ubus call led set '{ "leds": { "ap:green:status": [0, 255], "ap:red:status": [255, 0] }, "on": 2000, "off": 2000, "fade": 1 }'

Signed-off-by: John Crispin <john@phrozen.org>
2017-10-19 16:37:32 +02:00