Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libgusb for openSUSE:Factory checked in at 2023-11-08 22:16:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgusb (Old) and /work/SRC/openSUSE:Factory/.libgusb.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgusb" Wed Nov 8 22:16:36 2023 rev:25 rq:1124109 version:0.4.8 Changes: -------- --- /work/SRC/openSUSE:Factory/libgusb/libgusb.changes 2023-10-16 22:33:00.475872596 +0200 +++ /work/SRC/openSUSE:Factory/.libgusb.new.17445/libgusb.changes 2023-11-08 22:16:43.996980852 +0100 @@ -1,0 +2,6 @@ +Tue Nov 7 16:25:01 UTC 2023 - Bjørn Lie <[email protected]> + +- Update to version 0.4.8: + + Add an device error code for 'busy'. + +------------------------------------------------------------------- Old: ---- libgusb-0.4.7.tar.xz New: ---- libgusb-0.4.8.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgusb.spec ++++++ --- /var/tmp/diff_new_pack.Bc1bn0/_old 2023-11-08 22:16:45.877049919 +0100 +++ /var/tmp/diff_new_pack.Bc1bn0/_new 2023-11-08 22:16:45.877049919 +0100 @@ -17,7 +17,7 @@ Name: libgusb -Version: 0.4.7 +Version: 0.4.8 Release: 0 Summary: GObject-based library for libusb1 License: LGPL-2.1-or-later ++++++ libgusb-0.4.7.tar.xz -> libgusb-0.4.8.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgusb-0.4.7/NEWS new/libgusb-0.4.8/NEWS --- old/libgusb-0.4.7/NEWS 2023-10-09 15:37:20.000000000 +0200 +++ new/libgusb-0.4.8/NEWS 2023-11-07 14:08:09.000000000 +0100 @@ -1,3 +1,10 @@ +Version 0.4.8 +============= +Released: 2023-11-07 + +This release adds the following feature: + * Add an device error code for 'busy' + Version 0.4.7 ============= Released: 2023-10-09 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgusb-0.4.7/RELEASE.md new/libgusb-0.4.8/RELEASE.md --- old/libgusb-0.4.7/RELEASE.md 2023-10-09 15:37:20.000000000 +0200 +++ new/libgusb-0.4.8/RELEASE.md 2023-11-07 14:08:09.000000000 +0100 @@ -1,14 +1,14 @@ GUsb Release Notes ================== -git log --format="%s" --cherry-pick --right-only 0.4.6... | grep -i -v trivial | grep -v Merge | sort | uniq +git log --format="%s" --cherry-pick --right-only 0.4.7... | grep -i -v trivial | grep -v Merge | sort | uniq Add any user visible changes into ../contrib/org.freedesktop.GUsb.metainfo.xml appstream-util appdata-to-news ../contrib/org.freedesktop.GUsb.metainfo.xml > ../NEWS Update library version if new ABI or API in `meson.build`, commit, and build tarball: # MAKE SURE THIS IS CORRECT - export release_ver="0.4.7" + export release_ver="0.4.8" git commit -a -m "Release version ${release_ver}" git tag -s -f -m "Release ${release_ver}" "${release_ver}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgusb-0.4.7/contrib/org.freedesktop.GUsb.metainfo.xml new/libgusb-0.4.8/contrib/org.freedesktop.GUsb.metainfo.xml --- old/libgusb-0.4.7/contrib/org.freedesktop.GUsb.metainfo.xml 2023-10-09 15:37:20.000000000 +0200 +++ new/libgusb-0.4.8/contrib/org.freedesktop.GUsb.metainfo.xml 2023-11-07 14:08:09.000000000 +0100 @@ -21,6 +21,14 @@ <binary>gusbcmd</binary> </provides> <releases> + <release version="0.4.8" date="2023-11-07"> + <description> + <p>This release adds the following feature:</p> + <ul> + <li>Add an device error code for 'busy'</li> + </ul> + </description> + </release> <release version="0.4.7" date="2023-10-09"> <description> <p>This release adds the following features:</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgusb-0.4.7/gusb/gusb-device.c new/libgusb-0.4.8/gusb/gusb-device.c --- old/libgusb-0.4.7/gusb/gusb-device.c 2023-10-09 15:37:20.000000000 +0200 +++ new/libgusb-0.4.8/gusb/gusb-device.c 2023-11-07 14:08:09.000000000 +0100 @@ -791,9 +791,11 @@ error_code = G_USB_DEVICE_ERROR_PERMISSION_DENIED; break; case LIBUSB_ERROR_NO_DEVICE: - case LIBUSB_ERROR_BUSY: error_code = G_USB_DEVICE_ERROR_NO_DEVICE; break; + case LIBUSB_ERROR_BUSY: + error_code = G_USB_DEVICE_ERROR_BUSY; + break; default: break; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgusb-0.4.7/gusb/gusb-device.h new/libgusb-0.4.8/gusb/gusb-device.h --- old/libgusb-0.4.7/gusb/gusb-device.h 2023-10-09 15:37:20.000000000 +0200 +++ new/libgusb-0.4.8/gusb/gusb-device.h 2023-11-07 14:08:09.000000000 +0100 @@ -57,6 +57,17 @@ /** * GUsbDeviceError: + * @G_USB_DEVICE_ERROR_INTERNAL: Internal error + * @G_USB_DEVICE_ERROR_IO: IO error + * @G_USB_DEVICE_ERROR_TIMED_OUT: Operation timed out + * @G_USB_DEVICE_ERROR_NOT_SUPPORTED: Operation not supported + * @G_USB_DEVICE_ERROR_NO_DEVICE: No device found + * @G_USB_DEVICE_ERROR_NOT_OPEN: Device is not open + * @G_USB_DEVICE_ERROR_ALREADY_OPEN: Device is already open + * @G_USB_DEVICE_ERROR_CANCELLED: Operation was cancelled + * @G_USB_DEVICE_ERROR_FAILED: Operation failed + * @G_USB_DEVICE_ERROR_PERMISSION_DENIED: Permission denied + * @G_USB_DEVICE_ERROR_BUSY: Device was busy * * The error code. **/ @@ -71,6 +82,8 @@ G_USB_DEVICE_ERROR_CANCELLED, G_USB_DEVICE_ERROR_FAILED, G_USB_DEVICE_ERROR_PERMISSION_DENIED, + G_USB_DEVICE_ERROR_BUSY, + /*< private >*/ G_USB_DEVICE_ERROR_LAST } GUsbDeviceError; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgusb-0.4.7/meson.build new/libgusb-0.4.8/meson.build --- old/libgusb-0.4.7/meson.build 2023-10-09 15:37:20.000000000 +0200 +++ new/libgusb-0.4.8/meson.build 2023-11-07 14:08:09.000000000 +0100 @@ -1,5 +1,5 @@ project('libgusb', 'c', - version : '0.4.7', + version : '0.4.8', license : 'LGPL-2.1+', meson_version : '>=0.56.0', default_options : ['c_std=c99']
