Hello community, here is the log from the commit of package python-pybluez for openSUSE:Factory checked in at Tue Aug 4 23:45:56 CEST 2009. -------- --- python-pybluez/python-pybluez.changes 2008-09-15 21:43:57.000000000 +0200 +++ python-pybluez/python-pybluez.changes 2009-08-04 12:38:02.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Aug 4 10:30:28 UTC 2009 - cstender@novell.com + +- updated to version 0.16 + * fix variable naming in example/simple/inquiry.py (M. Harris Bhatti) + * fix examples to import bluetooth._bluetooth + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- PyBluez-0.15.tar.gz New: ---- PyBluez-0.16.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pybluez.spec ++++++ --- /var/tmp/diff_new_pack.QlIbuv/_old 2009-08-04 23:44:55.000000000 +0200 +++ /var/tmp/diff_new_pack.QlIbuv/_new 2009-08-04 23:44:55.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-pybluez (Version 0.15 ) +# spec file for package python-pybluez (Version 0.16 ) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,8 +21,8 @@ Name: python-pybluez BuildRequires: bluez-devel python-devel Summary: A Python Bluetooth wrapper -Version: 0.15 -Release: 3 +Version: 0.16 +Release: 1 Source: PyBluez-%{version}.tar.gz License: GPL v2 or later Group: Development/Libraries/Python ++++++ PyBluez-0.15.tar.gz -> PyBluez-0.16.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/CHANGELOG new/PyBluez-0.16/CHANGELOG --- old/PyBluez-0.15/CHANGELOG 2008-01-21 23:59:03.000000000 +0100 +++ new/PyBluez-0.16/CHANGELOG 2009-02-05 19:39:25.000000000 +0100 @@ -2,6 +2,17 @@ this file contains a list of changes through the different versions of PyBluez. +changes from 0.15 to 0.16 (Feb 5, 2009 +-------------------------------------- + fix variable naming in example/simple/inquiry.py (M. Harris Bhatti) +windows: + only import msbt if widcomm fails + fix memory error in MSBT stack + widcomm comment out debugging statements + +GNU/Linux: + fix examples to import bluetooth._bluetooth + changes from 0.14 to 0.15 (Jan 21, 2008) ---------------------------------------- GNU/Linux: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/PKG-INFO new/PyBluez-0.16/PKG-INFO --- old/PyBluez-0.15/PKG-INFO 2008-01-21 23:59:11.000000000 +0100 +++ new/PyBluez-0.16/PKG-INFO 2009-02-05 19:39:31.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: PyBluez -Version: 0.15 +Version: 0.16 Summary: Bluetooth Python extension module Home-page: http://org.csail.mit.edu/pybluez Author: Albert Huang diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/README new/PyBluez-0.16/README --- old/PyBluez-0.15/README 2008-01-21 23:50:36.000000000 +0100 +++ new/PyBluez-0.16/README 2009-02-05 19:39:19.000000000 +0100 @@ -25,14 +25,6 @@ # python setup.py install -DOCUMENTATION: - from a command shell: - - # doc/gendoc - - API documentation will then be located at doc/bluetooth.html and - doc/_bluetooth.html for low-level access - EXAMPLES: GNU/Linux and Windows XP: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/bluetooth/__init__.py new/PyBluez-0.16/bluetooth/__init__.py --- old/PyBluez-0.15/bluetooth/__init__.py 2008-01-21 23:50:33.000000000 +0100 +++ new/PyBluez-0.16/bluetooth/__init__.py 2009-02-05 19:39:18.000000000 +0100 @@ -8,9 +8,6 @@ sys.stderr.write("\n") if sys.platform == "win32": - import _msbt - _msbt.initwinsock () - _dbg("trying widcomm") have_widcomm = False dll = "wbtapi.dll" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/bluetooth/msbt.py new/PyBluez-0.16/bluetooth/msbt.py --- old/PyBluez-0.15/bluetooth/msbt.py 2008-01-21 23:50:33.000000000 +0100 +++ new/PyBluez-0.16/bluetooth/msbt.py 2009-02-05 19:39:18.000000000 +0100 @@ -1,6 +1,8 @@ from btcommon import * import _msbt as bt +bt.initwinsock () + # ============== SDP service registration and unregistration ============ def discover_devices (duration=8, flush_cache=True, lookup_names=False): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/bluetooth/widcomm.py new/PyBluez-0.16/bluetooth/widcomm.py --- old/PyBluez-0.15/bluetooth/widcomm.py 2008-01-21 23:50:32.000000000 +0100 +++ new/PyBluez-0.16/bluetooth/widcomm.py 2009-02-05 19:39:18.000000000 +0100 @@ -8,6 +8,7 @@ DEFAULT_MTU = 672 def dbg (*args): + return sys.stdout.write (*args) sys.stdout.write ("\n") @@ -238,6 +239,7 @@ self.gettimeout = self.rfcomm_gettimeout self.dup = self.rfcomm_dup self.makefile = self.rfcomm_makefile + self.fileno = self.rfcomm_fileno self.__make_cobjects = self.__rfcomm_make_cobjects self._advertise_service = self.__rfcomm_advertise_service @@ -263,6 +265,7 @@ self.gettimeout = self.l2cap_gettimeout self.dup = self.l2cap_dup self.makefile = self.l2cap_makefile + self.fileno = self.l2cap_fileno self.__make_cobjects = self.__l2cap_make_cobjects self._advertise_service = self.__l2cap_advertise_service diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/examples/advanced/inquiry-with-rssi.py new/PyBluez-0.16/examples/advanced/inquiry-with-rssi.py --- old/PyBluez-0.15/examples/advanced/inquiry-with-rssi.py 2008-01-21 23:50:35.000000000 +0100 +++ new/PyBluez-0.16/examples/advanced/inquiry-with-rssi.py 2009-02-05 19:39:19.000000000 +0100 @@ -4,7 +4,7 @@ import os import sys import struct -import _bluetooth as bluez +import bluetooth._bluetooth as bluez def printpacket(pkt): for c in pkt: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/examples/advanced/l2-unreliable-client.py new/PyBluez-0.16/examples/advanced/l2-unreliable-client.py --- old/PyBluez-0.15/examples/advanced/l2-unreliable-client.py 2008-01-21 23:50:35.000000000 +0100 +++ new/PyBluez-0.16/examples/advanced/l2-unreliable-client.py 2009-02-05 19:39:19.000000000 +0100 @@ -3,7 +3,7 @@ import struct import array import bluetooth -import _bluetooth as bt # low level bluetooth wrappers. +import bluetooth._bluetooth as bt # low level bluetooth wrappers. def __get_acl_conn_handle(sock, addr): hci_fd = sock.fileno() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/examples/advanced/read-local-bdaddr.py new/PyBluez-0.16/examples/advanced/read-local-bdaddr.py --- old/PyBluez-0.15/examples/advanced/read-local-bdaddr.py 2008-01-21 23:50:35.000000000 +0100 +++ new/PyBluez-0.16/examples/advanced/read-local-bdaddr.py 2009-02-05 19:39:19.000000000 +0100 @@ -1,7 +1,7 @@ import os import sys import struct -import _bluetooth as _bt +import bluetooth._bluetooth as _bt def read_local_bdaddr(hci_sock): old_filter = hci_sock.getsockopt( _bt.SOL_HCI, _bt.HCI_FILTER, 14) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/examples/advanced/write-inquiry-scan.py new/PyBluez-0.16/examples/advanced/write-inquiry-scan.py --- old/PyBluez-0.15/examples/advanced/write-inquiry-scan.py 2008-01-21 23:50:35.000000000 +0100 +++ new/PyBluez-0.16/examples/advanced/write-inquiry-scan.py 2009-02-05 19:39:19.000000000 +0100 @@ -1,7 +1,7 @@ import os import sys import struct -import _bluetooth as bluez +import bluetooth._bluetooth as bluez def read_inquiry_scan_activity(sock): """returns the current inquiry scan interval and window, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/examples/simple/inquiry.py new/PyBluez-0.16/examples/simple/inquiry.py --- old/PyBluez-0.15/examples/simple/inquiry.py 2008-01-21 23:50:36.000000000 +0100 +++ new/PyBluez-0.16/examples/simple/inquiry.py 2009-02-05 19:39:19.000000000 +0100 @@ -13,5 +13,5 @@ print "found %d devices" % len(nearby_devices) -for name, addr in nearby_devices: +for addr, name in nearby_devices: print " %s - %s" % (addr, name) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/msbt/_msbt.c new/PyBluez-0.16/msbt/_msbt.c --- old/PyBluez-0.15/msbt/_msbt.c 2008-01-21 23:50:33.000000000 +0100 +++ new/PyBluez-0.16/msbt/_msbt.c 2009-02-05 19:39:18.000000000 +0100 @@ -26,7 +26,7 @@ FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, WSAGetLastError(), 0, (LPTSTR) &lpMsgBuf, 0, NULL ); PyErr_SetString( exc, lpMsgBuf ); - free(lpMsgBuf); + LocalFree(lpMsgBuf); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/setup.py new/PyBluez-0.16/setup.py --- old/PyBluez-0.15/setup.py 2008-01-21 23:54:35.000000000 +0100 +++ new/PyBluez-0.16/setup.py 2009-02-05 19:39:25.000000000 +0100 @@ -61,7 +61,7 @@ setup ( name = 'PyBluez', - version = '0.15', + version = '0.16', description = 'Bluetooth Python extension module', author="Albert Huang", author_email="ashuang@alum.mit.edu", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/widcomm/rfcommif.cpp new/PyBluez-0.16/widcomm/rfcommif.cpp --- old/PyBluez-0.15/widcomm/rfcommif.cpp 2008-01-21 23:50:32.000000000 +0100 +++ new/PyBluez-0.16/widcomm/rfcommif.cpp 2009-02-05 19:39:18.000000000 +0100 @@ -37,7 +37,7 @@ GUID uuid = { 0 }; PyWidcomm::str2uuid (uuid_str, &uuid); - printf ("AssignScnValue\n"); +// printf ("AssignScnValue\n"); BOOL result = self->rfcommif->AssignScnValue (&uuid, scn, service_name); if (result) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyBluez-0.15/widcomm/rfcommport.cpp new/PyBluez-0.16/widcomm/rfcommport.cpp --- old/PyBluez-0.15/widcomm/rfcommport.cpp 2008-01-21 23:50:32.000000000 +0100 +++ new/PyBluez-0.16/widcomm/rfcommport.cpp 2009-02-05 19:39:18.000000000 +0100 @@ -104,8 +104,7 @@ void WCRfCommPort::OnEventReceived (UINT32 event_code) { - fprintf (stderr, "%s:%d event %u received\n", __FILE__, __LINE__, - event_code); + dbg ("%s:%d event %u received\n", __FILE__, __LINE__, event_code); event_received_msg_t msg; msg.msg_type = EVENT_RECEIVED; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org