Hello community,
here is the log from the commit of package libusb-compat for openSUSE:Factory
checked in at Fri Jun 5 22:49:12 CEST 2009.
--------
--- libusb-compat/libusb-compat.changes 2009-04-17 11:18:20.000000000 +0200
+++ libusb-compat/libusb-compat.changes 2009-06-05 12:19:43.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jun 5 12:16:57 CEST 2009 - sbrabec@suse.cz
+
+- Updated to version 0.1.1:
+ * improvements to match libusb-0.1 endpoint addressing behaviour
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
libusb-compat-0.1.0.tar.bz2
libusb-compat-interrupt-in-ep.patch
New:
----
libusb-compat-0.1.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libusb-compat.spec ++++++
--- /var/tmp/diff_new_pack.R22557/_old 2009-06-05 22:48:32.000000000 +0200
+++ /var/tmp/diff_new_pack.R22557/_new 2009-06-05 22:48:32.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package libusb-compat (Version 0.1.0)
+# spec file for package libusb-compat (Version 0.1.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -24,11 +24,10 @@
License: BSD 3-Clause; LGPL v2.1 or later
Group: System/Libraries
Summary: libusb-1.0 Compatibility Layer for libusb-0.1
-Version: 0.1.0
-Release: 3
+Version: 0.1.1
+Release: 1
Source: %{name}-%{version}.tar.bz2
Patch: libusb-compat-libusb0-incompat.patch
-Patch1: libusb-compat-interrupt-in-ep.patch
BuildRequires: libusb-1_0-devel pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libusb-0_1-5 = %{version}-%{release}
@@ -131,7 +130,6 @@
%if !%FULLY_REPLACE_LIBUSB_0_1
%patch
%endif
-%patch1
%build
autoreconf -f -i
@@ -169,6 +167,9 @@
%{_libdir}/pkgconfig/*.pc
%changelog
+* Fri Jun 05 2009 sbrabec@suse.cz
+- Updated to version 0.1.1:
+ * improvements to match libusb-0.1 endpoint addressing behaviour
* Fri Apr 17 2009 sbrabec@suse.cz
- Ensure use of read EP in usb_interrupt_read() (bnc#443861).
* Wed Apr 15 2009 sbrabec@suse.cz
++++++ libusb-compat-0.1.0.tar.bz2 -> libusb-compat-0.1.1.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libusb-compat-0.1.0/ChangeLog new/libusb-compat-0.1.1/ChangeLog
--- old/libusb-compat-0.1.0/ChangeLog 2008-12-13 22:45:55.000000000 +0100
+++ new/libusb-compat-0.1.1/ChangeLog 2009-05-28 15:30:20.000000000 +0200
@@ -1,3 +1,19 @@
+commit f0909ef85c5bf2ee8655864041e5e0453adc9ff0
+Author: Daniel Drake
+Date: Thu May 28 09:28:50 2009 -0400
+
+ v0.1.1 release
+
+commit b090e024b9dbd8d94ba6f2b6eeb629d3fd461d6e
+Author: Stanislav Brabec
+Date: Wed May 27 15:39:54 2009 -0400
+
+ Sanitize more endpoint addresses
+
+ For maximum compatibility, this makes libusb-compat-0.1 behave like
+ libusb-0.1 on BSD, where endpoint addresses are sanitized for all control
+ and bulk transfers. (Linux and Darwin also sanitize some of these)
+
commit cf9ce427f4bb62b7d575b70b299f1a582fb1baa1
Author: Daniel Drake
Date: Sat Dec 13 20:30:54 2008 +0000
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libusb-compat-0.1.0/configure new/libusb-compat-0.1.1/configure
--- old/libusb-compat-0.1.0/configure 2008-12-13 22:45:26.000000000 +0100
+++ new/libusb-compat-0.1.1/configure 2009-05-28 15:29:17.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for libusb-compat 0.1.0.
+# Generated by GNU Autoconf 2.63 for libusb-compat 0.1.1.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
@@ -743,8 +743,8 @@
# Identity of this package.
PACKAGE_NAME='libusb-compat'
PACKAGE_TARNAME='libusb-compat'
-PACKAGE_VERSION='0.1.0'
-PACKAGE_STRING='libusb-compat 0.1.0'
+PACKAGE_VERSION='0.1.1'
+PACKAGE_STRING='libusb-compat 0.1.1'
PACKAGE_BUGREPORT=''
ac_unique_file="libusb/core.c"
@@ -1478,7 +1478,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libusb-compat 0.1.0 to adapt to many kinds of systems.
+\`configure' configures libusb-compat 0.1.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1548,7 +1548,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libusb-compat 0.1.0:";;
+ short | recursive ) echo "Configuration of libusb-compat 0.1.1:";;
esac
cat <<\_ACEOF
@@ -1654,7 +1654,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libusb-compat configure 0.1.0
+libusb-compat configure 0.1.1
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1668,7 +1668,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libusb-compat $as_me 0.1.0, which was
+It was created by libusb-compat $as_me 0.1.1, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2384,7 +2384,7 @@
# Define the identity of the package.
PACKAGE='libusb-compat'
- VERSION='0.1.0'
+ VERSION='0.1.1'
cat >>confdefs.h <<_ACEOF
@@ -12027,7 +12027,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libusb-compat $as_me 0.1.0, which was
+This file was extended by libusb-compat $as_me 0.1.1, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -12090,7 +12090,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-libusb-compat config.status 0.1.0
+libusb-compat config.status 0.1.1
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libusb-compat-0.1.0/configure.ac new/libusb-compat-0.1.1/configure.ac
--- old/libusb-compat-0.1.0/configure.ac 2008-12-13 21:56:59.000000000 +0100
+++ new/libusb-compat-0.1.1/configure.ac 2009-05-28 15:27:52.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([libusb-compat], [0.1.0])
+AC_INIT([libusb-compat], [0.1.1])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([libusb/core.c])
AM_CONFIG_HEADER([config.h])
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libusb-compat-0.1.0/libusb/core.c new/libusb-compat-0.1.1/libusb/core.c
--- old/libusb-compat-0.1.0/libusb/core.c 2008-08-11 00:05:02.000000000 +0200
+++ new/libusb-compat-0.1.1/libusb/core.c 2009-05-27 21:31:17.000000000 +0200
@@ -747,6 +747,14 @@
API_EXPORTED int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes,
int size, int timeout)
{
+ if (ep & USB_ENDPOINT_IN) {
+ /* libusb-0.1 on BSD strangely fix up a write request to endpoint
+ * 0x81 to be to endpoint 0x01. do the same thing here, but
+ * warn about this silly behaviour. */
+ usbi_warn("endpoint %x has excessive IN direction bit, fixing");
+ ep &= ~USB_ENDPOINT_IN;
+ }
+
return usb_bulk_io(dev, ep, bytes, size, timeout);
}
@@ -772,12 +780,27 @@
API_EXPORTED int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes,
int size, int timeout)
{
+ if (!(ep & USB_ENDPOINT_IN)) {
+ /* libusb-0.1 will strangely fix up a read request from endpoint
+ * 0x01 to be from endpoint 0x81. do the same thing here, but
+ * warn about this silly behaviour. */
+ usbi_warn("endpoint %x is missing IN direction bit, fixing");
+ ep |= USB_ENDPOINT_IN;
+ }
return usb_interrupt_io(dev, ep, bytes, size, timeout);
}
API_EXPORTED int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes,
int size, int timeout)
{
+ if (ep & USB_ENDPOINT_IN) {
+ /* libusb-0.1 on BSD strangely fix up a write request to endpoint
+ * 0x81 to be to endpoint 0x01. do the same thing here, but
+ * warn about this silly behaviour. */
+ usbi_warn("endpoint %x has excessive IN direction bit, fixing");
+ ep &= ~USB_ENDPOINT_IN;
+ }
+
return usb_interrupt_io(dev, ep, bytes, size, timeout);
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libusb-compat-0.1.0/NEWS new/libusb-compat-0.1.1/NEWS
--- old/libusb-compat-0.1.0/NEWS 2008-12-13 21:56:59.000000000 +0100
+++ new/libusb-compat-0.1.1/NEWS 2009-05-28 15:28:27.000000000 +0200
@@ -1,6 +1,9 @@
This file lists notable changes in each release. For the full history of all
changes, see ChangeLog.
+2009-05-28: libusb-compat-0.1.1 release
+ * Further improvements to match libusb-0.1 endpoint addressing behaviour
+
2008-12-13: libusb-compat-0.1.0 release
* Documentation changes only
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org