From 4d5f6b966c5e9efc4e9d124dd2374cf6141c14217584746fc2ec6dad68ce260e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 5 Aug 2022 14:29:16 +0000 Subject: [PATCH] Accepting request 993334 from home:bnavigator:setuptools63 - Add no-pkg-resources.patch by and Matej Cepl * Replaces pkg_resources with python-packaging * pkg_resources is provided by setuptools, but the previously transitive pull in of setuptools has been broken by gtk-doc --> python3-Pygments -/-> python3-setuptools - Update to version 0.3.10: + New Features: - Add API to change the hotplug poll interval. - Update to version 0.3.9: - Add g_usb_device_get_string_descriptor_bytes() - Do not double-reference USB devices - Fix hotplug handling and signal emission during enumerate - Add the GUsbEndpoint methods to the docs - Add g_usb_device_get_string_descriptor_bytes_full - Fix hotplug after threaded device removal - Don't hard-code the list of OS supporting --version-script - Add baselibs.conf: build libgusb2-32bit, which is a dependency to libfprint-2-2-32bit. Due to a installcheck bot issue, this happened to be undetected for a while though. - update to 0.3.5: - Add a way to get iConfiguration (Benson Leung) - Allow building GtkDoc when building as a subproject (Richard Hughes) - Fix version script to be more portable (Laurent Bigonville, Ting-Wei Lan) - Include methods on plain structs in the version script (Simon McVittie) - This fixes the symbol version for g_usb_version_string() to be in the right place, so update this library alongside with external programs if you've already started using this symbol for example in fwupd. We've put a mechanism in place so this kind of thing can't happen again. Sorry! - Validate the exported symbol list during check (Richard Hughes) - Include the USB bus in the generated platform_id (Richard Hughes) - Add a thin glib wrapper around libusb_endpoint_descriptor (Emmanuel Pacaud) - Fix high number of wakeups when checking the GUsbContext (Richard Hughes) - Use '#pragma once' to reduce boilerplate (Richard Hughes) - Wrap the upstream libusb_strerror() (Richard Hughes) - Do not use deprecated libusb API (Richard Hughes) - Fix compilation on macOS (Richard Hughes) - Use a 1ms timeout in the Windows event thread (Richard Hughes) - Use has_link_argument() to detect linker flags (Richard Hughes) - Add g_usb_device_get_spec() (Richard Hughes) - Add g_usb_version_string() for fwupd (Richard Hughes) - Add -Wswitch-enum (Benjamin Berg) - Fix GI length introspection annotations (grindhold) - Make gir generation optional (maxice8) - Update to version 0.3.0: + New Features: - Add Travis integration. - Allow changing the path to usb.ids file. - Port to the Meson build system. + Replace libusb-1.0/libusb.h with libusb.h. - Port to meson build system: + Add meson BuildRequires. + Replace configure/make/make_install with meson/meson_build/meson_install. - Add gtk-doc BuildRequires: the meson-based tarball no longer ships pre-built documentation. - Drop xz BuildRequires: this is implicit in all openSUSE buildroots. - Fix SRPM group. Update summaries. - Modernize spec-file by calling spec-cleaner - Update to version 0.2.11: + New Features: Add g_usb_context_set_flags(). + Bugfix: Fix the actual required GLib version. - Update to version 0.2.10: + Correctly detect removed devices when rescanning. + Fix a memory leak when using control tranfers. + Fix gtk-doc build when builddir != srcdir. + Fix symbol version table up to version 0.2.9. - Update to GNOME 3.20 Fate#318572 - Update to version 0.2.9: + Add g_usb_context_wait_for_replug(). + Install gusbcmd as a debugging aid. - Update to version 0.2.8: + New Features: - Add a PERMISSION_DENIED error enum. - Add a thin glib wrapper around a libusb_interface_descriptor. - Add g_usb_device_get_interfaces(). - Add g_usb_device_get_release(). - Add g_usb_device_set_interface_alt(). + Bugfix: Ignore the not-found error when resetting a device. - Update to version 0.2.7: + Support g_autoptr() for all gusb object types. + Bugfixes: - Add missing element-type annotations. - Changes from version 0.2.6: + Bugfixes: - Do not unref the GMainContext after each request. - Update to version 0.2.5: + Add g_usb_device_get_custom_index(). + Allow setting the GMainContext when used for sync methods. + Include all the USB device class codes. + Use symbol versioning. - Update to version 0.2.4: + Various API extensions. + Bugfixes: - Don't filter out hub devices when getting the device list. - Make the platform ID persistent across re-plug. - Port to GTask. - Use new Glib features for various code cleanups. - Update to version 0.2.3: + Bugfixes: Correctly terminate the libusb event thread. - Changes from version 0.2.2: + New Features: Official Windows support! + Bugfixes: - No longer require G_USB_API_IS_SUBJECT_TO_CHANGE. - Use a thread to process libusb1 events. - Changes from version 0.2.1: + Bugfixes: - Always set a device platform ID. - Ignore 'unsupported' as a return value for kernel drivers. - Changes from version 0.2.0: + Notes: - This release raises the GLib requirement to 2.32 and libusb to 1.0.19. - No GUdev functionality is now required. + New Features: - Add g_usb_device_get_device_class(). - Use the native hotplug support in libusb 1.0.19. + Bugfixes: - Fix a crash where libusb_get_pollfds() is unavailable. - Manually coldplug devices and poll if hotplugging is not available. - Update to version 0.1.6: + Do not use deprecated GLib functionality. + Remove duplicate gtk-doc check in configure. + Unref the GMainloop after it has been run, not when just quit. - Changes from version 0.1.5: + Don't use the deprecated INCLUDES in Makefile.am. + Fix documentation build. + Fix obvious typo in README. - Update to version 0.1.4: + Add GObject Introspection support. + Add g_usb_device_reset() to reset a connected device. + Add Vala bindings. + Assorted introspection annotation fixes. + Rename inconsistently named gusb_* symbols to g_usb_*. - Add pkgconfig(gobject-introspection-1.0) and vala BuildRequires: New dependency for the GObject introspection support and the vala bindings. - Create new typelib-1_0-GUsb-1_0 subpackage. - Cleanup packaging so it can get pushed to Factory. - Initial package, version 0.1.3 OBS-URL: https://build.opensuse.org/request/show/993334 OBS-URL: https://build.opensuse.org/package/show/hardware/libgusb?expand=0&rev=41 --- libgusb.changes | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libgusb.changes b/libgusb.changes index a7fd12f..9791caf 100644 --- a/libgusb.changes +++ b/libgusb.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Aug 5 14:04:09 UTC 2022 - Ben Greiner + +- Add no-pkg-resources.patch by and Matej Cepl + * Replaces pkg_resources with python-packaging + * pkg_resources is provided by setuptools, but the previously + transitive pull in of setuptools has been broken by + gtk-doc --> python3-Pygments -/-> python3-setuptools + ------------------------------------------------------------------- Fri Aug 5 11:30:24 UTC 2022 - Matej Cepl