Guido Günther
5d8b2e5fe4
fbd-dev-led: Allow to lookup color
...
This allows us to make the led structure into an opaque in
the next commit
2023-02-10 15:15:12 +00:00
Guido Günther
8ad1c43ff1
fbd-dev-leds: Move pattern trigger into fbd-dev-led
2023-02-10 15:15:12 +00:00
Guido Günther
fd852c6f69
fbd-dev-leds: Move led creation into fbd-dev-led
...
This will allow us to separate the different led types
2023-02-10 15:15:12 +00:00
Guido Günther
5fc0372b45
Move LED device to separate file
...
We separate out the led as different LED types have different
ways to set patterns, etc
2023-02-10 15:15:12 +00:00
Guido Günther
253d178cfc
fbd-dev-leds: Use gi-docgen compatible format
...
We don't document the server classes via gi-docgen atm but
as we use it for the lib update classes we touch.
2023-02-10 15:15:12 +00:00
Guido Günther
1013974958
theme: Fix some indentation
2023-02-10 15:15:12 +00:00
Guido Gunther
bc256284ee
Merge branch 'udev-module-load' into 'main'
...
udev: load the required kernel modules
See merge request Librem5/feedbackd!106
2023-02-09 13:25:24 +00:00
Guido Günther
4ea946b059
debian: Drop obsolete conf file
...
As this is now handled via udev's kmod builtin we can drop this.
2023-02-09 13:56:08 +01:00
Dylan Van Assche
82c07e28f2
udev: load the required kernel modules
...
Loading the required kernel modules such as ledtrig-pattern via
/etc/modules-load.d may introduce a race condition on some systems such
as non-systemd based distros. Load the kernel modules using the builtin
'kmod load' udev command instead.
2023-02-08 20:46:00 +01:00
Guido Gunther
25913a6aad
Merge branch 'rel-0.0.3' into 'main'
...
Document changes and release 0.0.3
See merge request Librem5/feedbackd!105
2023-02-02 12:59:54 +00:00
Guido Günther
45bc7bc417
Document changes and release 0.0.3
2023-02-02 13:49:09 +01:00
Guido Gunther
a8bba744b1
Merge branch 'gmobile-0.0.1' into 'main'
...
Update to gmobile 0.0.1
See merge request Librem5/feedbackd!104
2023-02-02 12:47:58 +00:00
Guido Günther
4822be0f7c
Update to gmobile 0.0.1
...
Adjust to the one API change. We do it all in one commit to keep
bisectability. We use a slightly newer commit than 0.0.1 to include
build fixes for older glib (as required on PureOS Byzantium).
2023-02-02 13:04:48 +01:00
Guido Günther
769fda1c68
ci: Update submodule strategy
2023-02-02 13:04:48 +01:00
Guido Gunther
3a09ea5e56
Merge branch 'doc-links' into 'main'
...
Fix some broken spec links
See merge request Librem5/feedbackd!102
2023-01-06 15:17:27 +00:00
Guido Günther
88cc9a2d54
libfeedback: Fix link to specs
...
Since we now have them as part of the API docs we can avoid any
remote URLs
2023-01-06 15:04:29 +00:00
Guido Günther
ae85ac15d5
doc: Fix link to spec in manpage
2023-01-06 15:04:29 +00:00
Guido Günther
d7eed4fd52
lfb-event: Fix docstring
...
This allows gi-docgen to pick it up
2023-01-06 15:04:29 +00:00
Guido Gunther
cf50773580
Merge branch 'app-and-system-events' into 'main'
...
event-naming-spec: Separate application and system events
See merge request Librem5/feedbackd!101
2023-01-06 15:00:50 +00:00
Guido Günther
0d50276f94
feedback-theme: Add screen-shot event
...
Used to indicate that a screen shot is being taken.
2023-01-02 11:45:11 +01:00
Guido Günther
b09f37b065
event-naming-spec: Separate application and system events
...
Make it obvious which events are meant to be used by "normal" GUI
applications in contrast to system components like desktop shells or
components monitoring the battery, etc.
This was prompted by
https://github.com/flatpak/xdg-desktop-portal/issues/929
2023-01-02 11:39:27 +01:00
Guido Gunther
aa5e5e4045
Merge branch 'compile-fix' into 'main'
...
build: Add dbus sources to the lib dependency
See merge request Librem5/feedbackd!99
2022-12-15 18:29:26 +00:00
Guido Günther
b10e699efa
build: Add dbus sources to the lib dependency
...
Otherwise we might fail to generate it for the executables
2022-12-15 17:54:08 +01:00
Guido Gunther
fca952f813
Merge branch 'rel-0.0.2' into 'main'
...
Release 0.0.2
See merge request Librem5/feedbackd!98
2022-12-15 15:25:21 +00:00
Guido Günther
42e9f38cc5
Add NEWS file
2022-12-15 11:52:25 +01:00
Guido Günther
089769bbcb
d/gbp.conf: Bump meson version automatically
2022-12-15 11:29:03 +01:00
Guido Günther
0e98a51a5d
Document changes and release 0.0.2
2022-12-15 11:29:03 +01:00
Guido Gunther
2365c0e692
Merge branch 'pkg-fixes' into 'main'
...
Fix nodoc and make nocheck build less
See merge request Librem5/feedbackd!97
2022-12-15 10:24:35 +00:00
Guido Günther
c26eaa88b7
d/rules: Don't build tests with nocheck
2022-12-15 10:11:05 +00:00
Guido Günther
f2d02050d1
d/rules: Fix nodoc build profile usage
...
We were checking for the wrong option
2022-12-15 10:11:05 +00:00
Guido Gunther
2514b50b32
Merge branch 'comment_example' into 'main'
...
extend comment about GI_TYPELIB_PATH
See merge request Librem5/feedbackd!87
2022-12-15 10:10:50 +00:00
Chris Vogel
312f0697cb
example: Document usage
2022-12-15 10:57:09 +01:00
Chris Vogel
d4197ed7a4
run: Don't hardcode feedbackd
...
This allows arbitrary executables from the source tree with
a well defined environment.
2022-12-15 10:57:09 +01:00
Chris Vogel
59e42d8332
run: Export GI_TYPELIB_PATH as well
...
This is needed for programs needing GObject introspection data
2022-12-15 10:57:09 +01:00
Guido Gunther
341c6844a1
Merge branch 'fbd-theme-check' into 'main'
...
Add theme validator
See merge request Librem5/feedbackd!95
2022-12-14 12:25:52 +00:00
Guido Günther
49f697b232
doc: Add manual page for fbd-theme-validate
2022-12-13 13:47:18 +01:00
Guido Günther
584d4ddb6f
doc: Convert manpages to rst
...
This will make it more fun to add details and more manpages.
2022-12-13 13:47:18 +01:00
Guido Günther
2e7483c775
ci: Use bookworm image for package build too
...
No need to fight against old glib and friends in PureOS
2022-12-13 13:47:18 +01:00
Guido Günther
b64ce1290c
Add theme validator
...
Recursively loads a given theme file.
2022-12-12 16:13:38 +01:00
Guido Günther
ef5dd5abca
theme-expander: Also log initial theme file
2022-12-12 16:13:38 +01:00
Guido Gunther
b9430f0cf6
Merge branch 'man-page' into 'main'
...
doc: feedback stops when client disconnects
See merge request Librem5/feedbackd!96
2022-12-12 11:30:59 +00:00
Chris Vogel
bd16d5761d
doc: feedback stops when client disconnects
...
extended documentation for feedbackd.
2022-12-12 11:20:51 +00:00
Guido Gunther
0547a40cc6
Merge branch 'merge-themes' into 'main'
...
Implement recursive theme expansion and custom theme loading
Closes #38
See merge request Librem5/feedbackd!93
2022-12-12 11:07:59 +00:00
Guido Günther
9e13793bbe
tests: Help old glib on PureOS along
2022-12-11 17:34:38 +01:00
Guido Günther
9824d1cfc6
README: Document custom themes
2022-12-11 17:34:38 +01:00
Guido Günther
83091be25d
feedback-manager: Handle theme gsetting
...
Update the theme when the gsetting changes
2022-12-11 17:34:38 +01:00
Guido Günther
f5757045aa
manager: Don't load theme in constructor
...
Loading the theme can trigger calls to
fbd_feedback_manager_get_default() which then results in an endless look
as the object isn't fully initialized in constructed. Instead do
the setup in main() which has the advantage that the manager's life
cycle becomes more obvious too.
2022-12-11 17:34:38 +01:00
Guido Günther
c3beac7d41
data: Allow to set feedback theme
2022-12-11 17:34:38 +01:00
Guido Günther
a75cdbbc59
theme-expander: Allow to set the theme to expand
2022-12-11 17:34:38 +01:00
Guido Günther
242519498a
Recursively load themes
...
Themes (other than the default theme) can specify a `parent-name` in the
json file. This theme will be used as a base for the theme. Events and
profiles of the children override those in the parents.
For this we move the lookup code into it's separate class and also add
tests.
Closes : #38
2022-12-11 17:34:38 +01:00