SHA256
1
0
forked from pool/libmanette

7 Commits

Author SHA256 Message Date
c4a0d8513b Accepting request 1269666 from GNOME:Factory
- Update to version 0.2.12:
  + Add a deadzone for Steam Deck analog sticks.
  + Fix build with older gobject-introspection. (forwarded request 1268641 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1269666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmanette?expand=0&rev=12
2025-04-17 14:06:17 +00:00
52f8eeb16e - Update to version 0.2.12:
+ Add a deadzone for Steam Deck analog sticks.
  + Fix build with older gobject-introspection.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libmanette?expand=0&rev=31
2025-04-15 15:25:17 +00:00
98ad532b67 Accepting request 1253751 from GNOME:Factory
- Drop baselibs.conf: no longer build libmanette-0_2-0-32bit: the
  only known consumer was webkit2gtk3:gtk3-soup2, which in fact is
  not built in Tumbleweed, but only in devel projects. As such,
  there seems to be no real use of this. (forwarded request 1253742 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1253751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmanette?expand=0&rev=11
2025-03-18 16:39:24 +00:00
9a6a9d80e9 - Drop baselibs.conf: no longer build libmanette-0_2-0-32bit: the
only known consumer was webkit2gtk3:gtk3-soup2, which in fact is
  not built in Tumbleweed, but only in devel projects. As such,
  there seems to be no real use of this.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libmanette?expand=0&rev=29
2025-03-17 11:02:18 +00:00
bf6067d5c2 - Update to version 0.2.11:
+ Port documentation to gi-docgen
  + Add support for Steam Deck gamepad:
    - Add ManetteDeviceType and manette_device_get_device_type()
    - Add manette_device_supports_mapping()
  + Deprecate LIBMANETTE_* version check symbols, add MANETTE_*
    instead
  + Add runtime version check functions
  + Make hat to buttons mapping always emit button release (fixes
    d-pad getting stuck when quickly flipping right->left etc)
  + Fix paddle keycodes
  + Fix DualSense motion sensor and touchpad being recognized as
    gamepads
  + Fix half-range axis mappings
  + Build:
    - Depend on hidapi-hidraw
    - Specify --doc-format for GIR data
    - Fix build warnings
- Add pkgconfig(hidapi-hidraw) BuildRequires: New dependency.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libmanette?expand=0&rev=28
2025-03-15 15:26:23 +00:00
ef6067995d Accepting request 1205477 from GNOME:Factory
SCripted push of GNOME 47

OBS-URL: https://build.opensuse.org/request/show/1205477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmanette?expand=0&rev=10
2024-10-08 15:18:11 +00:00
620a7ad49f Scripted push of GNOME 47
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libmanette?expand=0&rev=26
2024-09-30 07:52:52 +00:00
7 changed files with 65 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/libmanette.git</param>
<param name="revision">0.2.7</param>
<param name="revision">0.2.12</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>

View File

@@ -1 +0,0 @@
libmanette-0_2-0

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2236b4ab9b65cc014ee68050e35efb1b62e7e4b24c7842d07764259967b2b790
size 534028

View File

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

View File

@@ -1,3 +1,56 @@
-------------------------------------------------------------------
Fri Apr 11 14:27:38 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.2.12:
+ Add a deadzone for Steam Deck analog sticks.
+ Fix build with older gobject-introspection.
-------------------------------------------------------------------
Mon Mar 17 10:56:22 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop baselibs.conf: no longer build libmanette-0_2-0-32bit: the
only known consumer was webkit2gtk3:gtk3-soup2, which in fact is
not built in Tumbleweed, but only in devel projects. As such,
there seems to be no real use of this.
-------------------------------------------------------------------
Fri Mar 14 21:44:59 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.2.11:
+ Port documentation to gi-docgen
+ Add support for Steam Deck gamepad:
- Add ManetteDeviceType and manette_device_get_device_type()
- Add manette_device_supports_mapping()
+ Deprecate LIBMANETTE_* version check symbols, add MANETTE_*
instead
+ Add runtime version check functions
+ Make hat to buttons mapping always emit button release (fixes
d-pad getting stuck when quickly flipping right->left etc)
+ Fix paddle keycodes
+ Fix DualSense motion sensor and touchpad being recognized as
gamepads
+ Fix half-range axis mappings
+ Build:
- Depend on hidapi-hidraw
- Specify --doc-format for GIR data
- Fix build warnings
- Add pkgconfig(hidapi-hidraw) BuildRequires: New dependency.
-------------------------------------------------------------------
Fri Sep 13 15:18:29 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.2.9:
+ Update and clean up the game controller mapping database
+ ManetteDevice:
- add manette_device_get_mapping() and
manette_device_get_guid()
- Handle keycodes before BTN_MISC as well
+ ManetteMapping:
- Allow to map paddle1-4, misc1-6 and touchpad buttons
- Improve error handling
+ ManetteMappingManager: Check if user mapping file exists
+ Tests: Test default mappings
-------------------------------------------------------------------
Mon Feb 12 15:16:05 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,4 +1,4 @@
name: libmanette
version: 0.2.7
mtime: 1707482626
commit: 27554bd118c08141134d4147cc34794057eb36e2
version: 0.2.12
mtime: 1744375893
commit: 4269d756333897828e82a3b4d593af2c24d83da0

View File

@@ -1,7 +1,7 @@
#
# spec file for package libmanette
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,19 +20,19 @@
%define package_version 0_2-0
Name: libmanette
Version: 0.2.7
Version: 0.2.12
Release: 0
Summary: A simple GObject game controller library
License: LGPL-2.1-or-later
Group: System/Libraries
URL: https://gnome.pages.gitlab.gnome.org/libmanette/
Source: %{name}-%{version}.tar.zst
Source99: baselibs.conf
BuildRequires: gcc
BuildRequires: gobject-introspection-devel >= 0.6.7
BuildRequires: meson >= 0.53.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gudev-1.0) >= 1.0
BuildRequires: pkgconfig(hidapi-hidraw)
BuildRequires: pkgconfig(libevdev) >= 1.4.5
BuildRequires: pkgconfig(vapigen)
@@ -73,12 +73,11 @@ libmanette allows easy access to game controllers.
%install
%meson_install
%ldconfig_scriptlets -n libmanette-%{package_version}
%check
%meson_test
%post -n libmanette-%{package_version} -p /sbin/ldconfig
%postun -n libmanette-%{package_version} -p /sbin/ldconfig
%files -n libmanette-%{package_version}
%license COPYING
%{_libdir}/libmanette-%{binary_version}.so.*