26 Commits

Author SHA256 Message Date
8a4c0769ba Accepting request 1319175 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1319175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=12
2025-11-24 13:09:17 +00:00
05bf8bbeec - Update to version 0.8.7:
+ Make it simple to use role based audio roles

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=25
2025-11-21 20:16:39 +00:00
589046474b Accepting request 1312170 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1312170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=11
2025-10-18 16:36:28 +00:00
7f0f708a93 - Version 0.8.6
* data: Move udev rule to 72
    systemd as of 258 requires uaccess tag processing to be < 73.
  * packaging: Trigger change event for input subsystem too
- Version 0.8.5
  * udev: Add rule for AW86927.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=23
2025-10-18 16:01:09 +00:00
22b5e2c9d2 Accepting request 1302838 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1302838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=10
2025-09-05 19:43:44 +00:00
a84d211c3b - Update to version 0.8.1:
+ Avoid critical when `lfb_uninit()` isn't paired with `lfb_init()`
- Changes from version 0.8.0:
  + New `VibraPattern` feedbackd
  + Allow to configure max haptic strength
  + Allow to configure magnitude of `VibraRumble` feedback
  + Use `[0.0, 1.0]` as magnitude in `VibraPeriodic` too
  + Add haptic event for `notification-new-generic`
  + Make `button-press` feedback less intrusive
  + More internal fixes
- Changes from version 0.7.0:
  + Allow clients to pass a custom sound file for events. Useful
    for custom ring tone feedback or custom notification sounds.
- Changes from version 0.6.0
  + feedbackd: Add vibration API
  + spec: Clarify use of notification related events
  + Fix crash in fbd-lectrl when group doesn't exist
  + Don't fail tests with newer json-glib
  + Allow to use (camera) flash LEDs as notification LED

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=21
2025-09-05 05:52:44 +00:00
86039b4a4b Accepting request 1278230 from GNOME:Factory
Fix date format in old changelog entries (forwarded request 1277765 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1278230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=9
2025-05-20 07:37:20 +00:00
60a94b219d Fix date format in old changelog entries
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=19
2025-05-18 09:27:50 +00:00
5a098a6364 Accepting request 1225110 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1225110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=8
2024-11-19 21:23:49 +00:00
f13eac0714 - Update to version 0.5.0
+ Detect haptic on Google Sargo and Oneplus Enchilada/Fachita
  + Handle "alert slider" on Oneplus Enchilada/Fachita

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=17
2024-11-19 13:37:30 +00:00
6d7e9923ac Accepting request 1205425 from GNOME:Factory
SCripted push of GNOME 47

OBS-URL: https://build.opensuse.org/request/show/1205425
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=7
2024-10-08 15:23:17 +00:00
eb0fc4f243 Scripted push of GNOME 47
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=15
2024-09-30 07:42:46 +00:00
1b8f6c17a2 Accepting request 1109641 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1109641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=6
2023-09-08 19:15:36 +00:00
35f34fc891 Accepting request 1109224 from GNOME:Next
- Update to version 0.2.1:
  + event: Fix doc link
  + treewide: Drop superfluous '()' after functions in doc strings.
    Otherwise we have that doubled in the docs.
  + doc:
    - Better cross reference manpages.
    - Add manpage for feedback themes. This should direct users to
      the documentation.
- Update to version 0.2.0:
  + build: Bump version to 0.2.0. We have a slight api change.
  + lfb-event: Avoid allocation when getting profile. We can return
    the const *. This makes it consistent with other getters. This
    is an API change we didn't find any users and the API is
    declared unstable.
  + tests: Get properties all at once.
  + lfb-event: Add getter and setter for app-id. For applications
    this is figured out automatically but notification daemons and
    portal implementations might want to override it to have the
    per-app feedback profile picked up automatically.
- Drop 109.patch: Fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/1109224
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=13
2023-09-07 22:39:06 +00:00
6f2f1a186a Accepting request 1073757 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1073757
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=5
2023-03-22 21:31:27 +00:00
79b1c4908a Accepting request 1073647 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/1073647
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=11
2023-03-22 11:10:15 +00:00
210735033a Accepting request 1072600 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1072600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=4
2023-03-17 16:05:07 +00:00
1c114cefc9 Accepting request 1072467 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/1072467
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=9
2023-03-17 12:00:45 +00:00
5ed718fb9c Accepting request 1065734 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1065734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=3
2023-02-14 15:47:39 +00:00
d58a62f059 Accepting request 1062196 from home:alefnode:sdm845
- Released December 2022
  * Support theme merging
  * Support user themes (`theme` gsetting)
  * Add theme validator

OBS-URL: https://build.opensuse.org/request/show/1062196
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=7
2023-02-14 12:05:01 +00:00
3d3b7c4040 Accepting request 1040323 from GNOME:Factory
New stable release (forwarded request 1040312 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1040323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=2
2022-12-05 17:02:20 +00:00
ba10c29877 Accepting request 1040312 from GNOME:Next
New stable release

OBS-URL: https://build.opensuse.org/request/show/1040312
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=5
2022-12-05 14:37:02 +00:00
6da629c452 Accepting request 998671 from GNOME:Factory
Ready for factory? Needed by callaudiod

OBS-URL: https://build.opensuse.org/request/show/998671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/feedbackd?expand=0&rev=1
2022-08-25 13:31:01 +00:00
594a296bd9 Accepting request 950364 from GNOME:Next
- Update to version 0.0.0+git20211018:
  * changelog: Bump changes line to a recent date too. It was still
    stuck at 2021-10-07. Fixup version too while at that.
- Changes from version 0.0.0+git20210426:
  * implement fbd_dev_sound_stop
    tracks the FdbFeedbackSounds in a GHashTable in the FdbDevSound
  * fbd-dev-sound: Don't leak GError
  * fbd-dev-sound: Don't warn when sound was cancelled. This is not
    an error per se.
  * lfb-event: Don't leak error.
    Don't leak the error values in the success case
  * tests: Run lfb_event_{get,set}_timeout
  * test-lfb-integration: Test invocation error
  * event: Make log-domain match source file name
  * tests: Run event tests too
  * event: Remove 'g' prefix from common C types.
    This matchs phosh's style.
  * fbd-event: Add sender property.
    This allows us to store the DBus sender
  * fbd-manager: Keep DBus sender around
  * feedback-manager: Track DBus clients and end feedbacks if they
    go away. When the client goes away we build up a list of events
    to end feedback for to make sure the hash table isn't modified
    in place. The alternative approach would be to disconnect the
    on_event_feedbacks_ended handler, duplicate the DBus signal
    emission and use g_hash_table_foreach_remove but that looks
    less robust than using the same code path.
  * Help emacs to indent properly
  * fbd-feedback-theme: Don't leak JSON node
  * fbd-dev-leds: Free actual FbdDevLed as well.
    So far we only unref'ed the device.
  * fbd-dev-leds: Don't leak enum_name
    g_enum_to_string() is transfer full.
  * fbd-dev-leds: Don't leak color
    g_ascii_strdown() creates a copy already.
  * fbd-dev-leds: Use automatic deep cleanup for device list.
    The current logic was fragile and failed e.g. when the
    FEEDBACKD_UDEV_VAL_LED would not match leaking the dev since
    the g_object_unref() at the end of the loop was never hit.
    Prevent that with automatic cleanup and explicitly ref'ing the
    devs we want to use.
  * fbd-dev-sound: Use correct cleanup for hash table.
    This went unnoticed since the manager forgot to cleanup
    this at all (see follow up commit).
  * fbd-feedback-manager: Make sure to dispose sound device as
    well. Fixes another leak.
  * fbd-feedback-manager: Don't leak config_path. It's assigned
    multiple times.
  * fbd-feedback-manager: Don't leak device list
  * fbd-ledctrl: fix matching of trigger in list of triggers.
    If the trigger is the last thing in
    sysfs_path/LED_TRIGGER_ATTR, then the new-line at the end of
    the output causes g_strv_contains to fail to find the trigger
    in the list. This strips the new-line before splitting the
    output into a list for searching.
  * README: Fix gdbus test command. It is TriggerFeedback and not
    Feedback (anymore). Also add a note how to end the feedback in
    order to prevent loss of hearing :-).
- Switch to buildtime tarball generation, use cpio format. Also
  switch to a explicit released tag, we like to know what we are
  getting is the same every time. At the same strip v prefix from
  version in upstream tag.
- Split out shared library and typelib in separate packages, and
  name them after their soname and typelibname, follow the SLPP!
- Drop unneeded systemd-devel BuildRequires and
  sound-theme-freedesktop Requires.
- Replace gcc with generic c_compiler BuildRequires.
- Change feedbackd to video in udev rules
- Add haptic support in feedback via udev rule
- Update to tag 0.0.0+git20210125
- Update feedbackd to add pinephone support
- Fix problem with fbd-ledctrl file
- Update feedbackd
- Initial packaging
- Update package

OBS-URL: https://build.opensuse.org/request/show/950364
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=3
2022-02-03 21:47:41 +00:00
57bae9149e Accepting request 950267 from GNOME:Next
We should push this to TW
Packages that live in different develrepos that depend on this one we in return depend on in more packages (calls and phosh).
This package also lives in devel:ARM:Factory:Contrib:PinePhone  feedbackd , but it does not look like its moving forward :-/


- Update to version 0.0.0+git20211018:
  * changelog: Bump changes line to a recent date too. It was still
    stuck at 2021-10-07. Fixup version too while at that.
- Changes from version 0.0.0+git20210426:
  * implement fbd_dev_sound_stop
    tracks the FdbFeedbackSounds in a GHashTable in the FdbDevSound
  * fbd-dev-sound: Don't leak GError
  * fbd-dev-sound: Don't warn when sound was cancelled. This is not
    an error per se.
  * lfb-event: Don't leak error.
    Don't leak the error values in the success case
  * tests: Run lfb_event_{get,set}_timeout
  * test-lfb-integration: Test invocation error
  * event: Make log-domain match source file name
  * tests: Run event tests too
  * event: Remove 'g' prefix from common C types.
    This matchs phosh's style.
  * fbd-event: Add sender property.
    This allows us to store the DBus sender
  * fbd-manager: Keep DBus sender around
  * feedback-manager: Track DBus clients and end feedbacks if they
    go away. When the client goes away we build up a list of events
    to end feedback for to make sure the hash table isn't modified
    in place. The alternative approach would be to disconnect the
    on_event_feedbacks_ended handler, duplicate the DBus signal
    emission and use g_hash_table_foreach_remove but that looks
    less robust than using the same code path.
  * Help emacs to indent properly
  * fbd-feedback-theme: Don't leak JSON node
  * fbd-dev-leds: Free actual FbdDevLed as well.
    So far we only unref'ed the device.
  * fbd-dev-leds: Don't leak enum_name
    g_enum_to_string() is transfer full.
  * fbd-dev-leds: Don't leak color
    g_ascii_strdown() creates a copy already.
  * fbd-dev-leds: Use automatic deep cleanup for device list.
    The current logic was fragile and failed e.g. when the
    FEEDBACKD_UDEV_VAL_LED would not match leaking the dev since
    the g_object_unref() at the end of the loop was never hit.
    Prevent that with automatic cleanup and explicitly ref'ing the
    devs we want to use.
  * fbd-dev-sound: Use correct cleanup for hash table.
    This went unnoticed since the manager forgot to cleanup
    this at all (see follow up commit).
  * fbd-feedback-manager: Make sure to dispose sound device as
    well. Fixes another leak.
  * fbd-feedback-manager: Don't leak config_path. It's assigned
    multiple times.
  * fbd-feedback-manager: Don't leak device list
  * fbd-ledctrl: fix matching of trigger in list of triggers.
    If the trigger is the last thing in
    sysfs_path/LED_TRIGGER_ATTR, then the new-line at the end of
    the output causes g_strv_contains to fail to find the trigger
    in the list. This strips the new-line before splitting the
    output into a list for searching.
  * README: Fix gdbus test command. It is TriggerFeedback and not
    Feedback (anymore). Also add a note how to end the feedback in
    order to prevent loss of hearing :-).
- Switch to buildtime tarball generation, use cpio format. Also
  switch to a explicit released tag, we like to know what we are
  getting is the same every time.

OBS-URL: https://build.opensuse.org/request/show/950267
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=2
2022-01-31 18:29:48 +00:00
3e5efd2f81 Accepting request 923204 from devel:ARM:Factory:Contrib:PinePhone
feedbackd provides a DBus daemon (feedbackd) to act on events to provide
haptic, visual and audio feedback. It offers a library (libfeedback) and
GObject introspection bindings to ease using it from applications.

OBS-URL: https://build.opensuse.org/request/show/923204
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/feedbackd?expand=0&rev=1
2021-10-05 12:28:39 +00:00