forked from pool/libmanette
Accepting request 851573 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/851573 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libmanette?expand=0&rev=13
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4fe0a4bed6b4c3ae7249d341031c27b32f8d9e0ffb5337d71cbcec7160362cf7
|
||||
size 38196
|
BIN
libmanette-0.2.6.tar.xz
(Stored with Git LFS)
Normal file
BIN
libmanette-0.2.6.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,58 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 28 19:52:53 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 0.2.6:
|
||||
+ Project:
|
||||
- Move the project to gitlab.gnome.org/GNOME/libmanette.
|
||||
- Update the URLs accordingly.
|
||||
- Give the project a minimal website:
|
||||
https://gnome.pages.gitlab.gnome.org/libmanette/
|
||||
- Update the project's description.
|
||||
+ Documentation:
|
||||
- Add a documentation.
|
||||
- Fix many documentation annotations.
|
||||
- Document more symbols.
|
||||
+ Meson:
|
||||
- Require Meson 0.53.0.
|
||||
- Add the demos option.
|
||||
- Add the build-tests and install-tests option.
|
||||
- Various code style cleanups and updates.
|
||||
- Add a build summary.
|
||||
+ ManetteDevice:
|
||||
- Add a missing precondition check to ensure milliseconds is in
|
||||
the right range in manette_device_rumble().
|
||||
- Throw the full file error code rather than G_FILE_ERROR_FAILED
|
||||
in manette_device_new().
|
||||
- Throw G_FILE_ERROR_FAILED rather than G_FILE_ERROR_NXIO in
|
||||
manette_device_new() if the device isn't a gamepad.
|
||||
+ ManetteMapping:
|
||||
- Check mapping strings have at least a GUID field and a name
|
||||
field.
|
||||
- Use the debug log level for non-programming mapping parsing
|
||||
errors.
|
||||
- Make some parsing error messages more explicit.
|
||||
+ ManetteMappingManager: Use a race-free way to check the mapping
|
||||
file deletion.
|
||||
+ Code cleanup:
|
||||
- Make license headers have the LGPL footer, not the GPL one.
|
||||
- Use #pragma once instead of manual header guards.
|
||||
- Use g_auto(), g_autoptr() and g_autofree where possible.
|
||||
- Use g_clear_pointer() and g_clear_object() where possible.
|
||||
- Use assertions instead of g_return*_if_fail in static
|
||||
functions.
|
||||
- Add HACKING.md to document the code, documentation, and
|
||||
commit message styles.
|
||||
- Give better names to callback functions.
|
||||
- Give the namespace_object_ prefix to the finalize functions
|
||||
to match the code style.
|
||||
- Clean up and simplify the code in many places.
|
||||
- Drop platform:Linux from the internal gamepad database.
|
||||
- Changes from version 0.2.5:
|
||||
+ Fix the build with musl by using input_event_sec and
|
||||
input_event_usec.
|
||||
- Run tests during build, add a check section and macro.
|
||||
- Update URL to new home.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 5 17:10:44 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
@@ -20,17 +20,17 @@
|
||||
%define package_version 0_2-0
|
||||
|
||||
Name: libmanette
|
||||
Version: 0.2.4
|
||||
Version: 0.2.6
|
||||
Release: 0
|
||||
Summary: A simple GObject game controller library
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
URL: https://gitlab.gnome.org/aplazas/libmanette/
|
||||
URL: https://gnome.pages.gitlab.gnome.org/libmanette/
|
||||
Source: https://download.gnome.org/sources/libmanette/0.2/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gobject-introspection-devel >= 0.6.7
|
||||
BuildRequires: meson >= 0.43.0
|
||||
BuildRequires: meson >= 0.53.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(gudev-1.0) >= 1.0
|
||||
BuildRequires: pkgconfig(libevdev) >= 1.4.5
|
||||
@@ -64,7 +64,7 @@ Requires: libmanette-%{package_version} = %{version}
|
||||
libmanette allows easy access to game controllers.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
@@ -73,6 +73,9 @@ libmanette allows easy access to game controllers.
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%post -n libmanette-%{package_version} -p /sbin/ldconfig
|
||||
%postun -n libmanette-%{package_version} -p /sbin/ldconfig
|
||||
|
||||
|
Reference in New Issue
Block a user