Accepting request 1117866 from GNOME:Next
OBS-URL: https://build.opensuse.org/request/show/1117866 OBS-URL: https://build.opensuse.org/package/show/hardware/libgusb?expand=0&rev=44
This commit is contained in:
parent
4bdf18b657
commit
70a52fe3b0
BIN
libgusb-0.3.10.tar.xz
(Stored with Git LFS)
BIN
libgusb-0.3.10.tar.xz
(Stored with Git LFS)
Binary file not shown.
3
libgusb-0.4.7.tar.xz
Normal file
3
libgusb-0.4.7.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8acdd015c6f572555f8ec54c045e2d340baeb08468f6be519369c713794234f7
|
||||||
|
size 51448
|
@ -1,3 +1,37 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 15 08:16:29 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 0.4.7:
|
||||||
|
+ Add new API to get the HID descriptor data
|
||||||
|
+ Add calling convention to libusb callback functions
|
||||||
|
- Changes from version 0.4.6:
|
||||||
|
+ Add JSON compatibility helpers for old json-glib versions
|
||||||
|
+ Fix emulation of devices using out-of-order BulkTransfer
|
||||||
|
replies
|
||||||
|
+ Use project_source_root to fix building as a subproject
|
||||||
|
- Changes from version 0.4.5:
|
||||||
|
+ Add new API to better detect emulated replug
|
||||||
|
+ Do not emit spurious ::device-removed events when emulating
|
||||||
|
+ Record zero-sized device events
|
||||||
|
+ Reset the in-order event index when clearing the event array
|
||||||
|
+ Save the libusb error if libusb_submit_transfer() fails
|
||||||
|
- Changes from version 0.4.4:
|
||||||
|
+ Add new API to make emulation easier to use
|
||||||
|
+ Emit remove devices with matching tags when loading contexts
|
||||||
|
+ Fix a critical warning when finalizing devices without
|
||||||
|
endpoints
|
||||||
|
+ Reduce the debugging level when emulating firmware
|
||||||
|
- Changes from version 0.4.3:
|
||||||
|
+ Export g_usb_device_has_tag()
|
||||||
|
+ Work around a libusb issue which causes devices to appear twice
|
||||||
|
- Add pkgconfig(gi-docgen) and pkgconfig(json-glib-1.0)
|
||||||
|
BuildRequires: New dependencies.
|
||||||
|
- Drop gtk-doc BuildRequires: No longer needed, nor used after the
|
||||||
|
port upstream.
|
||||||
|
- Pass tests=false to meson setup, do not build or install any
|
||||||
|
tests at this time.
|
||||||
|
- Use ldconfig_scriptlets macro for post(un) handling.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 5 11:30:24 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
Fri Aug 5 11:30:24 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
18
libgusb.spec
18
libgusb.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libgusb
|
# spec file for package libgusb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,26 +17,27 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libgusb
|
Name: libgusb
|
||||||
Version: 0.3.10
|
Version: 0.4.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GObject-based library for libusb1
|
Summary: GObject-based library for libusb1
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
URL: https://github.com/hughsie/libgusb
|
URL: https://github.com/hughsie/libgusb
|
||||||
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
# PATCH-FIX-UPSTREAM no-pkg-resources.patch gh#hughsie/libgusb#61 mcepl@suse.com
|
# PATCH-FIX-UPSTREAM no-pkg-resources.patch gh#hughsie/libgusb#61 mcepl@suse.com
|
||||||
# Don't rely on the obsolete version of pkg_resources
|
# Don't rely on the obsolete version of pkg_resources
|
||||||
Patch0: no-pkg-resources.patch
|
Patch0: no-pkg-resources.patch
|
||||||
BuildRequires: gtk-doc
|
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
BuildRequires: python3-packaging
|
BuildRequires: python3-packaging
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
|
BuildRequires: pkgconfig(gi-docgen)
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
|
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.29
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.29
|
||||||
BuildRequires: pkgconfig(gudev-1.0)
|
BuildRequires: pkgconfig(gudev-1.0)
|
||||||
|
BuildRequires: pkgconfig(json-glib-1.0)
|
||||||
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.19
|
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.19
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -77,14 +78,15 @@ cancellation and integration into a mainloop.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson
|
%meson \
|
||||||
|
-D tests=false \
|
||||||
|
%{nil}
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
%post -n libgusb2 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libgusb2
|
||||||
%postun -n libgusb2 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libgusb2
|
%files -n libgusb2
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -96,7 +98,7 @@ cancellation and integration into a mainloop.
|
|||||||
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
|
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc %{_datadir}/gtk-doc/html/gusb/
|
%doc %{_datadir}/doc/libgusb
|
||||||
%{_bindir}/gusbcmd
|
%{_bindir}/gusbcmd
|
||||||
%{_datadir}/gir-1.0/GUsb-1.0.gir
|
%{_datadir}/gir-1.0/GUsb-1.0.gir
|
||||||
%dir %{_datadir}/vala/vapi
|
%dir %{_datadir}/vala/vapi
|
||||||
|
Loading…
Reference in New Issue
Block a user