13 Commits

Author SHA256 Message Date
7bb8d5510c Accepting request 1314287 from hardware
- Update to version 1.1.16:
  * release 1.1.16
  * device: add new flags for reprogrammable keys feature
  * device: correctly handle missing battery feature

OBS-URL: https://build.opensuse.org/request/show/1314287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/solaar?expand=0&rev=34
2025-10-29 20:07:22 +00:00
Andreas Schneider
a190e1051e Update to version 1.1.16
OBS-URL: https://build.opensuse.org/package/show/hardware/solaar?expand=0&rev=91
2025-10-27 14:28:56 +00:00
da0331f39c Accepting request 1312836 from hardware
- Update to version 1.1.15:
  * release 1.1.15
  * release 1.1.15rc2
  * udev: correctly re-raise access exception
  * Update i18n.md
  * device: add special keys from Logitech
  * i18n: Add and complete Ukrainian translation (uk)
  * update Russian translation
  * Update Polish translation
  * release 1.1.15rc2
  * release 1.1.15rc1
  * device: fix bug with unknown tasks
  * fix: center labels and remove buggy entry resizing logic
  * fix: correct spelling of 'completion' in diversion_rules.py
  * device: add shape keys from Key POP Icon
  * rules: Device and Action rule conditions match on codename and name
  * GitHub CI: fix and re-enable macOS tests with python 3.13
  * docs: give uninstallation file correct name
  * Apply uaccess rules on all actions other than remove
  * install: fix bug in apt install target
  * docs(metainfo): Add link to source repo
  * GitHub CI: Disable latest Python tests on macOS
  * Update Swedish translation
  * Unsupported locale: Fall back to English (#2891)
  * fixes battery setting when device is not available (#2890)
  * device: report symbolic names for pairing errors (#2886)
  * doc: update status of hid_parser
  * Update installation.md
  * device: Fix listing hidpp10 devices - bytes vs string concatenation (#2856)
  * device: add present flag, unset when internal error occurs, set when notification appears
  * device: pause setting up features when error occurs; use ADC message to signal connection and disconnection
  * docs: add G604 mouse details
  * Fix listing of hidpp10 peripherals
  * Complete DEVICE_FEATURES to DeviceFeature transition for hidpp10 devices
  * Fix NOTIFICATION_FLAG to NotificationFlag transition leftovers
  * Fix github workflow stopping all matrix jobs when one of them fails
  * Fix ubuntu github CI
  * Update index.md
  * Update index.md - add missing word
  * docs: python documentation appears to be broken so don't set it up
  * docs: add information for MX Anywhere 3 for Business
  * docs: improve documentation on onboard profiles
  * settings: use correct LOD values for extended adjustable dpi
  * docs(i18n): mention Serbian translation
  * settings: better support RGB Effects - not readable
  * cli: fix crash when asking for help about config
  * ui: fix error when updating ChoiceControlBig box
  * Adding uninstallation docs
  * receiver: Handle unknown power switch locations again
  * ui: correctly handle selection of [empty] in rule editor
  * macOS: handle `HIDError` in `hidapi.hidapi_impl._match()` (#2804)
  * ui: give ghost devices a path
  * ui: guard against typeerror when setting the value of a control box
  * device: recover from errors in ping
  * diversion: replace spaces by underscores when looking up features
  * Rewrote string concatenation/format with f strings
  * Fix logo not showing in about dialog box
  * make typing-extensions dependency mandatory
  * Fix: Properly ignore unsupported locale
  * hidapi: skip unsupported devices and handle exception on open
  * Ignore macOS junk files and pipenv config
  * docs: mention typing dependency
  * tests: fix ui desktop notifications test
  * hidpp20: Remove dependency to NamedInts
  * Estimate accurate battery level for some rechargable devices (#2745)
  * testing: upgrade desktop notifications tests to take notifications availability into account
  * Update tests to run on Python 3.13
  * solaar: Remove outdated logger enabled checks
  * solaar/ui: Remove outdated logger enabled checks
  * solaar/cli: Remove outdated logger enabled checks
  * Introduce GTK signal types
  * Introduce error types
  * hidapi: Remove outdated logger enabled checks
  * notification: Remove alias for SupportedFeature
  * notification: Refactor process_device_notification
  * notification: Refactor process_receiver_notification
  * notification: Refactor receiver event handling
  * Introduce custom logger
  * Refactor notifications
  * Rename variable to full name notification
  * Test notifications
  * receiver: Test extraction of serial and max. devices
  * receiver: Refactor extraction of serial and max. devices
  * Update release notes: Add Bluetooth macOS support with 1.15
  * macOS: Fix int.from_bytes, int.to_bytes for show.py
  * macOS: Remove udev rule warning
  * macOS: Add support for Bluetooth devices
  * settings: add back and forward mouseclick actions
  * Speedup lookup of known receivers
  * base: Refactor device filtering
  * base: Reorder private functions and variable definitions
  * base: Turn filter_products_of_interest into a public function
  * base: Improve tests of known receivers
  * Refactor InfoSubRegisters: Use IntEnum in favour of NamedInts
  * Remove NamedInts: Convert DeviceFeature to flag
  * Remove NamedInts: Convert NotificationFlag to flag
  * Prepare refactoring of NotificationFlag
  * Fixes on top of refactoring
  * Fix KeyFlag conversion
  * Remove NamedInts: Convert LedFormChoices to enum
  * charge status: Refactor to enum and move to module of use
  * Remove NamedInts: Convert LedRampChoice to flag
  * Remove NamedInts: Convert HorizontalScroll to enum
  * Remove NamedInts: Convert PowerSwitchLocation to flag
  * Remove NamedInts: Convert MappingFlag to flag
  * mapping flag: Move to module of use
  * Remove NamedInts: Convert ActionId to enum
  * Remove NamedInts: Convert Spec to enum
  * Remove NamedInts: Convert KeyFlag to Flag
  * Add type hints
  * key flags: Move to module of use
  * Add type hints
  * Remove NamedInts: Convert Task to enum
  * Remove NamedInts: Convert Column to enum
  * settings: Add docstrings and type hint
  * Enforce rules on RuleComponentUI subclasses
  * Simplify settings UI class
  * Refactor: Remove diversion alias
  * type hints: Introduce settings protocol
  * Refactor: Convert Kind to IntEnum
  * Split up huge settings module
  * solaar: don't close temp file until after CLI call
  * Remove Python 2 specific path handling
  * i18n: Swedish translations in .desktop files
  * Test arg parse
  * Test receiver notification info
  * Update Swedish translation
  * delete temp-file in case help-actions too
  * delete tmpfile on close for cli

OBS-URL: https://build.opensuse.org/request/show/1312836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/solaar?expand=0&rev=33
2025-10-22 10:16:05 +00:00
Andreas Schneider
5ac6eaafac Update to version 1.1.15:
* release 1.1.15
  * release 1.1.15rc2
  * udev: correctly re-raise access exception
  * Update i18n.md
  * device: add special keys from Logitech
  * i18n: Add and complete Ukrainian translation (uk)
  * update Russian translation
  * Update Polish translation
  * release 1.1.15rc2
  * release 1.1.15rc1
  * device: fix bug with unknown tasks
  * fix: center labels and remove buggy entry resizing logic
  * fix: correct spelling of 'completion' in diversion_rules.py
  * device: add shape keys from Key POP Icon
  * rules: Device and Action rule conditions match on codename and name
  * GitHub CI: fix and re-enable macOS tests with python 3.13
  * docs: give uninstallation file correct name
  * Apply uaccess rules on all actions other than remove
  * install: fix bug in apt install target
  * docs(metainfo): Add link to source repo
  * GitHub CI: Disable latest Python tests on macOS
  * Update Swedish translation
  * Unsupported locale: Fall back to English (#2891)
  * fixes battery setting when device is not available (#2890)
  * device: report symbolic names for pairing errors (#2886)
  * doc: update status of hid_parser
  * Update installation.md
  * device: Fix listing hidpp10 devices - bytes vs string concatenation (#2856)
  * device: add present flag, unset when internal error occurs, set when notification appears

OBS-URL: https://build.opensuse.org/package/show/hardware/solaar?expand=0&rev=89
2025-10-21 13:20:48 +00:00
d4f9741a19 Accepting request 1294315 from hardware
- Add solaar-lang package
- Build package with pyproject macros

OBS-URL: https://build.opensuse.org/request/show/1294315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/solaar?expand=0&rev=32
2025-07-18 14:00:20 +00:00
Andreas Schneider
e870f6a0c2 Add solaar-lang package
OBS-URL: https://build.opensuse.org/package/show/hardware/solaar?expand=0&rev=87
2025-07-18 08:29:31 +00:00
b63fba4a40 Accepting request 1277119 from hardware
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1277119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/solaar?expand=0&rev=31
2025-05-13 18:07:50 +00:00
Andreas Schneider
9ff8bc8f19 Add missing Requires for libappindicator-gtk3
OBS-URL: https://build.opensuse.org/package/show/hardware/solaar?expand=0&rev=85
2025-05-06 11:17:58 +00:00
9810f45cee Accepting request 1234407 from hardware
- Update to version 1.1.14:
  * release 1.1.14
  * i18n: Swedish translations in .desktop files
  * release 1.1.14rc4
  * cli: handle fake feature enums in show
  * Update Polish translation
  * release 1.1.14rc3
  * Fix battery entry in device
  * release 1.1.14rc2
  * release 1.1.14rc1
  * i18n: Swedish translations in .desktop files
  * Update Swedish translation
  * i18n: Swedish translations in .desktop files
  * po: Add translator to list (#2687)
  * po: Update tr.po (#2683)
  * settings: Add ratchet setting for smart shift enhanced devices (#2681)
  * receiver: fix BoltReceiver, Ex100Receiver __init__ (#2661)
  * po: Update Swedish translation (#2671)
  * po: Update Swedish translation (#2670)
  * hidpp20_constants: Refactor Gesture into enum
  * refactor: replace ERROR NamedInts by IntEnum (#2645)
  * Refactor: hidpp20  to use enum (#2647)
  * i18n: Updated Norwegian Nynorsk (nn) (#2655)
  * i18n: Updated Norwegian Bokmål (nb)
  * i18n: Updated Norwegian Bokmål (nb)
  * refactor: use IntEnum for firmware and cidgroup constances
  * change pairing error values to intenums
  * ui: fix initialization bug for PackedRangeControl
  * notifications: Introduce unit tests
  * Refactor: Introduce Feature enum
  * Test Feature class
  * Test and refactor process_notification
  * Test key_is_down
  * settings: check all bits for extended report rate
  * Fix copy-paste error while refactoring notifications.py
  * RuleComponentUI: Type hints methods
  * diversion_rules: Add type hints
  * Fix signature of show
  * Action menu: Move context menu into own class
  * Fix rule saving command
  * diversion: Add type hints
  * Remove obsolete pytest fixture
  * base: Remove hard dependency on gi
  * base: Add more unit tests
  * Introduce HIDAPI protocol
  * Fix warnings from automatic code inspections
  * ui/common: Introduce tests
  * settings: Add tests
  * settings_template: Introduce State enum
  * Replace action strings with constants
  * Remove factory wrapper classes
  * receiver: Remove hard dependency on base
  * device: Remove hard dependency on base
  * base: Add test for filter_products_of_interest
  * Add type hints and clean up
  * base: Add find_paired_node functions
  * base: Add find_paired_node functions
  * Fix about dialog
  * base_usb: Add external interface
  * ui/about: Use Model-View-Presenter pattern for testability
  * hidapi: Explicitly load hidapi/udev implementation
  * receiver: Remove hard dependency on hidapi
  * device: Remove hard dependency on hidapi
  * Test coverage: Fix keysyms to be visible (#9)
  * keysyms: Introduce tests for this package
  * keysymdef: Rename key symbols
  * Upload test coverage reports solely after merging
  * ui: augment pairing message for devices with multiple channels
  * solaar: Add type hints
  * base: Add type hints
  * Replace global sw_id with function call
  * base: Simplify receiver info retrieval
  * settings_template: Prepare removal of desktop_notifications dependency
  * Make ui/desktop_notifications testable
  * Rename ui/notify module to desktop notifications
  * Make lr/desktop_notifications testable
  * Rename lr/notify module to desktop_notifications
  * Add code coverage badge
  * Setup reports and upload codecov
  * Introduce test coverage threshold
  * Fix test coverage reporting
  * Simplify setup with pathlib
  * Clarify that fake hidpp is used
  * hidapi: Completely remove dependency on gi
  * Introduce hid_parser tests
  * logitech_receiver: Remove GDK dependency
  * Refactor: Remove all GDK dependencies from hidapi package
  * Refactor: Distinguish module from package
  * settings: allow unkonwn keys in Key rule conditions
  * docs: improve documentation for cli actions
  * device: cycle sw_id to better guard against duplication of messages
  * device: handle error return on root feature
  * Remove incomplete developer docs
  * Publish GitHub pages only on push to master
  * docs: add information about Onboard Profiles overriding some settings
  * doc: add wording to README.md that Solaar is not a device driver
  * i18n: Chinese translations in .desktop files (#2554)
  * Clean up imports (#2537)
  * device: handle unknown device kinds
  * docs: fix broken links to Solaar logo
  * po: Update zh_CN translation (#2541)
  * docs: Use mkdocs for public documentation (#2527)
  * Clean up setup.py (#2536)
  * docs: dead links in the AppStream file (#2539)
  * docs: Update about.py (#2535)
  * settings: finish change to new constants
  * hidapi: remove check on driver
  * cli: finish change to show.py for new constants
  * Introduce Enum BusID
  * Introduce constant for Logitech vendor ID
  * Introduce Enum for notification types
  * Improve base module
  * Remove unnecessary receiver info 'hid_driver'
  * Convert HIDPPNotification to dataclass
  * device: be defensive when converting battery status to string
  * Automatically detect packages in /lib
  * hid: Convert definition of HID registers to enum
  * Use double quotes for module level docstrings
  * Remove empty comment lines
  * solaar: clean up locale code
  * docs: update built-in rules
  * docs: Improve rules documentation
  * refactor: Creation of devices (#2493)
  * docs: Add headings to structure rules.md
  * Unify imports in logitech package
  * device: don't ping device when getting name or codename
  * Refactor: Use dataclasses and enums
  * Introduce Device protocol and type hints
  * Add typing_extensions dependency
  * hidpp10: Move independent functions to module level
  * Refactor: Use dataclasses and enums
  * Fix macOS compatibility and reenable CI tests
  * docs: Update README.md
  * docs: Add high-level graph of components
  * hidapi: Unify imports in hidapi package (#2487)
  * docs: Move screenshots into dedicated folder
  * po: Update French translation (for release 1.1.13)
  * Drop support for end-of-life Python 3.7
- Run pytest
- Some spec cleanup

OBS-URL: https://build.opensuse.org/request/show/1234407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/solaar?expand=0&rev=30
2025-01-02 18:22:17 +00:00
Andreas Schneider
c217f75ec9 Run pytest
Some spec cleanup

OBS-URL: https://build.opensuse.org/package/show/hardware/solaar?expand=0&rev=83
2025-01-01 17:13:04 +00:00
Andreas Schneider
6f67129d09 Update patch
OBS-URL: https://build.opensuse.org/package/show/hardware/solaar?expand=0&rev=82
2025-01-01 16:39:12 +00:00
Andreas Schneider
925de9d904 Fix setting the version number
OBS-URL: https://build.opensuse.org/package/show/hardware/solaar?expand=0&rev=81
2025-01-01 16:35:49 +00:00
Andreas Schneider
b36d66fe9e Update to version 1.1.14:
OBS-URL: https://build.opensuse.org/package/show/hardware/solaar?expand=0&rev=80
2025-01-01 16:32:35 +00:00
8 changed files with 347 additions and 31 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23fbbc15f25cecd86c747993624dfa12cc4aaf5fb899e4be7d61c4281805433d
size 4621324

3
Solaar-1.1.16.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6961ea9d95746c990a691c12da4f456644a92c7362aaae45ef7d4a33893e6639
size 4800012

View File

@@ -1,4 +1,4 @@
name: Solaar
version: 1.1.13
mtime: 1715441741
commit: ea77335ecff4ae51c41b371aa93f5f73c8b37cb5
version: 1.1.16
mtime: 1761220724
commit: b8ccec37edb5d3084137dbe734ab014bfb708daf

View File

@@ -3,8 +3,8 @@
<param name="url">https://github.com/pwr-Solaar/Solaar</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">1.1.13</param>
<param name="version">1.1.13</param>
<param name="revision">1.1.16</param>
<param name="version">1.1.16</param>
<param name="changesgenerate">enable</param>
</service>
<service name="tar" mode="buildtime" />
@@ -12,7 +12,7 @@
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled">
<service name="set_version" mode="manual">
<param name="basename">Solaar</param>
</service>
</services>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/pwr-Solaar/Solaar</param>
<param name="changesrevision">ea77335ecff4ae51c41b371aa93f5f73c8b37cb5</param></service></servicedata>
<param name="changesrevision">b8ccec37edb5d3084137dbe734ab014bfb708daf</param></service></servicedata>

View File

@@ -1,11 +1,11 @@
Index: Solaar/share/applications/solaar.desktop
Index: Solaar-1.1.14/share/applications/solaar.desktop
===================================================================
--- Solaar.orig/share/applications/solaar.desktop 2022-12-18 11:35:32.347266752 +0100
+++ Solaar/share/applications/solaar.desktop 2022-12-18 11:45:33.961457949 +0100
@@ -5,12 +5,11 @@ Comment[fr]=Gestionnaire de périphériq
Comment[hr]=Upravitelj Logitechovih uređaja povezanih putem Unifying i Nano prijemnika
Comment[ru]=Управление приёмником Logitech Unifying Receiver
Comment[es]=Administrador de periféricos de Logitech Receptor Unifying
--- Solaar-1.1.14.orig/share/applications/solaar.desktop 2025-01-01 15:42:39.000000000 +0100
+++ Solaar-1.1.14/share/applications/solaar.desktop 2025-01-01 17:38:35.626454625 +0100
@@ -11,12 +11,11 @@ Comment[sv]=Kringutrustningshanterare f<>
Comment[zh_CN]=罗技优联设备管理器
Comment[zh_TW]=羅技Unifying 裝置管理器
Comment[zh_HK]=羅技Unifying 裝置管理器
-Exec=solaar
+Exec=solaar --window hide
Icon=solaar
@@ -15,5 +15,5 @@ Index: Solaar/share/applications/solaar.desktop
Keywords=logitech;unifying;receiver;mouse;keyboard;
-Categories=Utility;GTK;
-#Categories=Utility;GTK;Settings;HardwareSettings;
+Categories=Utility;DesktopUtility;
+Categories=Utility;X-SUSE-DesktopUtility;
X-GNOME-UsesNotifications=true

View File

@@ -1,3 +1,299 @@
-------------------------------------------------------------------
Mon Oct 27 14:28:07 UTC 2025 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.1.16:
* release 1.1.16
* device: add new flags for reprogrammable keys feature
* device: correctly handle missing battery feature
-------------------------------------------------------------------
Tue Oct 21 13:17:50 UTC 2025 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.1.15:
* release 1.1.15
* release 1.1.15rc2
* udev: correctly re-raise access exception
* Update i18n.md
* device: add special keys from Logitech
* i18n: Add and complete Ukrainian translation (uk)
* update Russian translation
* Update Polish translation
* release 1.1.15rc2
* release 1.1.15rc1
* device: fix bug with unknown tasks
* fix: center labels and remove buggy entry resizing logic
* fix: correct spelling of 'completion' in diversion_rules.py
* device: add shape keys from Key POP Icon
* rules: Device and Action rule conditions match on codename and name
* GitHub CI: fix and re-enable macOS tests with python 3.13
* docs: give uninstallation file correct name
* Apply uaccess rules on all actions other than remove
* install: fix bug in apt install target
* docs(metainfo): Add link to source repo
* GitHub CI: Disable latest Python tests on macOS
* Update Swedish translation
* Unsupported locale: Fall back to English (#2891)
* fixes battery setting when device is not available (#2890)
* device: report symbolic names for pairing errors (#2886)
* doc: update status of hid_parser
* Update installation.md
* device: Fix listing hidpp10 devices - bytes vs string concatenation (#2856)
* device: add present flag, unset when internal error occurs, set when notification appears
* device: pause setting up features when error occurs; use ADC message to signal connection and disconnection
* docs: add G604 mouse details
* Fix listing of hidpp10 peripherals
* Complete DEVICE_FEATURES to DeviceFeature transition for hidpp10 devices
* Fix NOTIFICATION_FLAG to NotificationFlag transition leftovers
* Fix github workflow stopping all matrix jobs when one of them fails
* Fix ubuntu github CI
* Update index.md
* Update index.md - add missing word
* docs: python documentation appears to be broken so don't set it up
* docs: add information for MX Anywhere 3 for Business
* docs: improve documentation on onboard profiles
* settings: use correct LOD values for extended adjustable dpi
* docs(i18n): mention Serbian translation
* settings: better support RGB Effects - not readable
* cli: fix crash when asking for help about config
* ui: fix error when updating ChoiceControlBig box
* Adding uninstallation docs
* receiver: Handle unknown power switch locations again
* ui: correctly handle selection of [empty] in rule editor
* macOS: handle `HIDError` in `hidapi.hidapi_impl._match()` (#2804)
* ui: give ghost devices a path
* ui: guard against typeerror when setting the value of a control box
* device: recover from errors in ping
* diversion: replace spaces by underscores when looking up features
* Rewrote string concatenation/format with f strings
* Fix logo not showing in about dialog box
* make typing-extensions dependency mandatory
* Fix: Properly ignore unsupported locale
* hidapi: skip unsupported devices and handle exception on open
* Ignore macOS junk files and pipenv config
* docs: mention typing dependency
* tests: fix ui desktop notifications test
* hidpp20: Remove dependency to NamedInts
* Estimate accurate battery level for some rechargable devices (#2745)
* testing: upgrade desktop notifications tests to take notifications availability into account
* Update tests to run on Python 3.13
* solaar: Remove outdated logger enabled checks
* solaar/ui: Remove outdated logger enabled checks
* solaar/cli: Remove outdated logger enabled checks
* Introduce GTK signal types
* Introduce error types
* hidapi: Remove outdated logger enabled checks
* notification: Remove alias for SupportedFeature
* notification: Refactor process_device_notification
* notification: Refactor process_receiver_notification
* notification: Refactor receiver event handling
* Introduce custom logger
* Refactor notifications
* Rename variable to full name notification
* Test notifications
* receiver: Test extraction of serial and max. devices
* receiver: Refactor extraction of serial and max. devices
* Update release notes: Add Bluetooth macOS support with 1.15
* macOS: Fix int.from_bytes, int.to_bytes for show.py
* macOS: Remove udev rule warning
* macOS: Add support for Bluetooth devices
* settings: add back and forward mouseclick actions
* Speedup lookup of known receivers
* base: Refactor device filtering
* base: Reorder private functions and variable definitions
* base: Turn filter_products_of_interest into a public function
* base: Improve tests of known receivers
* Refactor InfoSubRegisters: Use IntEnum in favour of NamedInts
* Remove NamedInts: Convert DeviceFeature to flag
* Remove NamedInts: Convert NotificationFlag to flag
* Prepare refactoring of NotificationFlag
* Fixes on top of refactoring
* Fix KeyFlag conversion
* Remove NamedInts: Convert LedFormChoices to enum
* charge status: Refactor to enum and move to module of use
* Remove NamedInts: Convert LedRampChoice to flag
* Remove NamedInts: Convert HorizontalScroll to enum
* Remove NamedInts: Convert PowerSwitchLocation to flag
* Remove NamedInts: Convert MappingFlag to flag
* mapping flag: Move to module of use
* Remove NamedInts: Convert ActionId to enum
* Remove NamedInts: Convert Spec to enum
* Remove NamedInts: Convert KeyFlag to Flag
* Add type hints
* key flags: Move to module of use
* Add type hints
* Remove NamedInts: Convert Task to enum
* Remove NamedInts: Convert Column to enum
* settings: Add docstrings and type hint
* Enforce rules on RuleComponentUI subclasses
* Simplify settings UI class
* Refactor: Remove diversion alias
* type hints: Introduce settings protocol
* Refactor: Convert Kind to IntEnum
* Split up huge settings module
* solaar: don't close temp file until after CLI call
* Remove Python 2 specific path handling
* i18n: Swedish translations in .desktop files
* Test arg parse
* Test receiver notification info
* Update Swedish translation
* delete temp-file in case help-actions too
* delete tmpfile on close for cli
-------------------------------------------------------------------
Fri Jul 18 08:15:03 UTC 2025 - Andreas Schneider <asn@cryptomilk.org>
- Add solaar-lang package
- Build package with pyproject macros
-------------------------------------------------------------------
Tue May 6 11:17:30 UTC 2025 - Andreas Schneider <asn@cryptomilk.org>
- Add missing Requires for libappindicator-gtk3
-------------------------------------------------------------------
Wed Jan 01 16:30:10 UTC 2025 - asn@cryptomilk.org
- Update to version 1.1.14:
* release 1.1.14
* i18n: Swedish translations in .desktop files
* release 1.1.14rc4
* cli: handle fake feature enums in show
* Update Polish translation
* release 1.1.14rc3
* Fix battery entry in device
* release 1.1.14rc2
* release 1.1.14rc1
* i18n: Swedish translations in .desktop files
* Update Swedish translation
* i18n: Swedish translations in .desktop files
* po: Add translator to list (#2687)
* po: Update tr.po (#2683)
* settings: Add ratchet setting for smart shift enhanced devices (#2681)
* receiver: fix BoltReceiver, Ex100Receiver __init__ (#2661)
* po: Update Swedish translation (#2671)
* po: Update Swedish translation (#2670)
* hidpp20_constants: Refactor Gesture into enum
* refactor: replace ERROR NamedInts by IntEnum (#2645)
* Refactor: hidpp20 to use enum (#2647)
* i18n: Updated Norwegian Nynorsk (nn) (#2655)
* i18n: Updated Norwegian Bokmål (nb)
* i18n: Updated Norwegian Bokmål (nb)
* refactor: use IntEnum for firmware and cidgroup constances
* change pairing error values to intenums
* ui: fix initialization bug for PackedRangeControl
* notifications: Introduce unit tests
* Refactor: Introduce Feature enum
* Test Feature class
* Test and refactor process_notification
* Test key_is_down
* settings: check all bits for extended report rate
* Fix copy-paste error while refactoring notifications.py
* RuleComponentUI: Type hints methods
* diversion_rules: Add type hints
* Fix signature of show
* Action menu: Move context menu into own class
* Fix rule saving command
* diversion: Add type hints
* Remove obsolete pytest fixture
* base: Remove hard dependency on gi
* base: Add more unit tests
* Introduce HIDAPI protocol
* Fix warnings from automatic code inspections
* ui/common: Introduce tests
* settings: Add tests
* settings_template: Introduce State enum
* Replace action strings with constants
* Remove factory wrapper classes
* receiver: Remove hard dependency on base
* device: Remove hard dependency on base
* base: Add test for filter_products_of_interest
* Add type hints and clean up
* base: Add find_paired_node functions
* base: Add find_paired_node functions
* Fix about dialog
* base_usb: Add external interface
* ui/about: Use Model-View-Presenter pattern for testability
* hidapi: Explicitly load hidapi/udev implementation
* receiver: Remove hard dependency on hidapi
* device: Remove hard dependency on hidapi
* Test coverage: Fix keysyms to be visible (#9)
* keysyms: Introduce tests for this package
* keysymdef: Rename key symbols
* Upload test coverage reports solely after merging
* ui: augment pairing message for devices with multiple channels
* solaar: Add type hints
* base: Add type hints
* Replace global sw_id with function call
* base: Simplify receiver info retrieval
* settings_template: Prepare removal of desktop_notifications dependency
* Make ui/desktop_notifications testable
* Rename ui/notify module to desktop notifications
* Make lr/desktop_notifications testable
* Rename lr/notify module to desktop_notifications
* Add code coverage badge
* Setup reports and upload codecov
* Introduce test coverage threshold
* Fix test coverage reporting
* Simplify setup with pathlib
* Clarify that fake hidpp is used
* hidapi: Completely remove dependency on gi
* Introduce hid_parser tests
* logitech_receiver: Remove GDK dependency
* Refactor: Remove all GDK dependencies from hidapi package
* Refactor: Distinguish module from package
* settings: allow unkonwn keys in Key rule conditions
* docs: improve documentation for cli actions
* device: cycle sw_id to better guard against duplication of messages
* device: handle error return on root feature
* Remove incomplete developer docs
* Publish GitHub pages only on push to master
* docs: add information about Onboard Profiles overriding some settings
* doc: add wording to README.md that Solaar is not a device driver
* i18n: Chinese translations in .desktop files (#2554)
* Clean up imports (#2537)
* device: handle unknown device kinds
* docs: fix broken links to Solaar logo
* po: Update zh_CN translation (#2541)
* docs: Use mkdocs for public documentation (#2527)
* Clean up setup.py (#2536)
* docs: dead links in the AppStream file (#2539)
* docs: Update about.py (#2535)
* settings: finish change to new constants
* hidapi: remove check on driver
* cli: finish change to show.py for new constants
* Introduce Enum BusID
* Introduce constant for Logitech vendor ID
* Introduce Enum for notification types
* Improve base module
* Remove unnecessary receiver info 'hid_driver'
* Convert HIDPPNotification to dataclass
* device: be defensive when converting battery status to string
* Automatically detect packages in /lib
* hid: Convert definition of HID registers to enum
* Use double quotes for module level docstrings
* Remove empty comment lines
* solaar: clean up locale code
* docs: update built-in rules
* docs: Improve rules documentation
* refactor: Creation of devices (#2493)
* docs: Add headings to structure rules.md
* Unify imports in logitech package
* device: don't ping device when getting name or codename
* Refactor: Use dataclasses and enums
* Introduce Device protocol and type hints
* Add typing_extensions dependency
* hidpp10: Move independent functions to module level
* Refactor: Use dataclasses and enums
* Fix macOS compatibility and reenable CI tests
* docs: Update README.md
* docs: Add high-level graph of components
* hidapi: Unify imports in hidapi package (#2487)
* docs: Move screenshots into dedicated folder
* po: Update French translation (for release 1.1.13)
* Drop support for end-of-life Python 3.7
- Run pytest
- Some spec cleanup
-------------------------------------------------------------------
Sat May 11 15:38:09 UTC 2024 - asn@cryptomilk.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package solaar
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
%endif
Name: solaar
Version: 1.1.13
Version: 1.1.16
Release: 0
Summary: Linux devices manager for the Logitech Unifying Receiver
License: GPL-2.0-or-later
@@ -39,35 +39,39 @@ BuildRequires: %{python_module evdev}
BuildRequires: %{python_module gobject-Gdk}
BuildRequires: %{python_module gobject}
BuildRequires: %{python_module hid-parser}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-xlib}
BuildRequires: %{python_module pyudev}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools >= 75}
BuildRequires: %{python_module typing_extensions}
#
BuildRequires: gettext-runtime
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: python-rpm-macros
BuildRequires: typelib-1_0-Gtk-3_0
BuildRequires: update-desktop-files
#
Requires: python3-PyYAML
%if 0%{?suse_version} <= 1500
Requires: python3-dataclasses
%endif
Requires: python3-dbus-python
Requires: python3-evdev
Requires: python3-gobject
Requires: python3-gobject-Gdk
Requires: python3-hid-parser
Requires: python3-psutil
Requires: python3-python-xlib
Requires: python3-pyudev
Requires: python3-typing_extensions
#
Requires: solaar-udev >= %{version}
Requires: libappindicator-gtk3
Requires: typelib(AyatanaAppIndicator3)
Requires: typelib(Gtk) >= 3.0
#
Recommends: python3-python-xlib
Recommends: %{name}-lang = %{version}
#
Obsoletes: solaar-cli < %{version}
Provides: solaar-cli = %{version}
#
@@ -102,6 +106,8 @@ Conflicts: solaar-cli < %{version}
%description udev
Rules that users are able to access Logitech Unifying Receiver.
%lang_package
%prep
%autosetup -p1 -n Solaar-%{version}
@@ -110,13 +116,14 @@ sed -i '/yield autostart_path/d' setup.py
%build
sed -i 's#%{_bindir}/env python##' lib/solaar/gtk.py lib/solaar/tasks.py
%python_build
# Build languages first!
./tools/po-compile.sh
%pyproject_wheel
%install
%python_install
%fdupes %{buildroot}%{python3_sitelib}
%fdupes -s %{buildroot}%{_datadir}
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop
%pyproject_install
install -d 0755 %{buildroot}%{_udevrulesdir}
install -m 0644 rules.d/42-logitech-unify-permissions.rules %{buildroot}%{_udevrulesdir}/42-logitech-unify-permissions.rules
@@ -125,6 +132,17 @@ ln -s solaar %{buildroot}%{_bindir}/solaar-cli
# We use the system package
rm -rf %{buildroot}%{python3_sitelib}/hid_parser
# We do not need generate keysymdef.py
rm -f %{buildroot}%{python3_sitelib}/keysyms/__pycache__/generate*.pyc
rm -f %{buildroot}%{python3_sitelib}/keysyms/generate.py
%fdupes %{buildroot}%{python_sitelib}
%fdupes -s %{buildroot}%{_datadir}
%find_lang %{name}
%check
%pytest
%posttrans udev
# This is needed to apply permissions to existing devices when the package is
@@ -152,4 +170,6 @@ rm -rf %{buildroot}%{python3_sitelib}/hid_parser
%files doc
%doc docs/*
%files lang -f %{name}.lang
%changelog