Hello community, here is the log from the commit of package python-gammu checked in at Tue Sep 9 19:21:52 CEST 2008. -------- --- python-gammu/python-gammu.changes 2008-03-11 14:45:50.000000000 +0100 +++ /mounts/work_src_done/STABLE/python-gammu/python-gammu.changes 2008-09-09 18:28:55.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Sep 9 18:28:43 CEST 2008 - prusnak@suse.cz + +- updated to 0.26 + * Compatibility with current gammu. + * Improved compatibility with Python 2.5. + +------------------------------------------------------------------- Old: ---- python-gammu-0.25.tar.bz2 New: ---- python-gammu-0.26.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gammu.spec ++++++ --- /var/tmp/diff_new_pack.q28431/_old 2008-09-09 19:21:20.000000000 +0200 +++ /var/tmp/diff_new_pack.q28431/_new 2008-09-09 19:21:20.000000000 +0200 @@ -1,10 +1,17 @@ # -# spec file for package python-gammu (Version 0.25) +# spec file for package python-gammu (Version 0.26) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -12,9 +19,7 @@ Name: python-gammu -BuildRequires: gammu-devel >= 1.18.90 -BuildRequires: python-devel -Version: 0.25 +Version: 0.26 Release: 1 Requires: python-gammu python-wxGTK AutoReqProv: on @@ -24,6 +29,8 @@ Summary: Python Module to Communicate with Mobile Phones Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gammu-devel >= 1.18.91 +BuildRequires: python-devel %{py_requires} %description @@ -54,6 +61,10 @@ %doc AUTHORS COPYING README examples %changelog +* Tue Sep 09 2008 prusnak@suse.cz +- updated to 0.26 + * Compatibility with current gammu. + * Improved compatibility with Python 2.5. * Tue Mar 11 2008 prusnak@suse.cz - updated to 0.25 * Compatibility with current gammu. ++++++ python-gammu-0.25.tar.bz2 -> python-gammu-0.26.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/python-gammu-0.25/ChangeLog new/python-gammu-0.26/ChangeLog --- old/python-gammu-0.25/ChangeLog 2008-03-05 22:49:55.000000000 +0100 +++ new/python-gammu-0.26/ChangeLog 2008-05-11 00:17:38.000000000 +0200 @@ -4,6 +4,12 @@ Major changes for each release are described here. Detailed changes between two versions can be retrieved from Subversion. +0.26 +==== (2008-05-11) + +* Compatibility with current gammu. +* Improved compatibility with Python 2.5. + 0.25 ==== (2008-03-05) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/python-gammu-0.25/convertors/file.c new/python-gammu-0.26/convertors/file.c --- old/python-gammu-0.25/convertors/file.c 2008-01-06 06:02:47.000000000 +0100 +++ new/python-gammu-0.26/convertors/file.c 2008-04-18 15:53:18.000000000 +0200 @@ -176,7 +176,7 @@ int FileFromPython(PyObject *dict, GSM_File *file, bool check) { char *s; GSM_DateTime nulldt = {0,0,0,0,0,0,0}; - int i; + Py_ssize_t i; if (!PyDict_Check(dict)) { PyErr_Format(PyExc_ValueError, "File is not a dictionary"); @@ -250,7 +250,7 @@ if (file->Used == INT_INVALID) { file->Used = i; } else if (file->Used != i) { - PyErr_Format(PyExc_ValueError, "Used and Buffer size mismatch in File (%zi != %i)!", file->Used, i); + PyErr_Format(PyExc_ValueError, "Used and Buffer size mismatch in File (%zi != %zi)!", file->Used, i); return 0; } file->Buffer = (unsigned char *)malloc(i * sizeof(unsigned char)); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/python-gammu-0.25/convertors/sms.c new/python-gammu-0.26/convertors/sms.c --- old/python-gammu-0.25/convertors/sms.c 2008-01-06 06:02:47.000000000 +0100 +++ new/python-gammu-0.26/convertors/sms.c 2008-04-18 15:50:15.000000000 +0200 @@ -532,6 +532,7 @@ int UDHFromPython(PyObject *dict, GSM_UDHHeader *udh) { char *s; + Py_ssize_t len; if (!PyDict_Check(dict)) { PyErr_Format(PyExc_ValueError, "UDH is not a dictionary"); @@ -569,9 +570,11 @@ udh->Type = StringToUDHType(s); if (udh->Type == 0) return 0; - s = GetDataFromDict(dict, "Text", &(udh->Length)); + s = GetDataFromDict(dict, "Text", &len); if (s == NULL) return 0; + udh->Length = len; + if (udh->Length > GSM_MAX_UDH_LENGTH) { pyg_warning("UDH too large, truncating!"); udh->Length = GSM_MAX_UDH_LENGTH; @@ -607,6 +610,7 @@ char *s; GSM_DateTime nulldt = {0,0,0,0,0,0,0}; int i; + Py_ssize_t len; if (!PyDict_Check(dict)) { PyErr_Format(PyExc_ValueError, "SMS is not a dictionary"); @@ -670,9 +674,11 @@ sms->Length = UnicodeLength(sms->Text); } else { /* Some UDH => copy as data */ - s = GetDataFromDict(dict, "Text", &(sms->Length)); + s = GetDataFromDict(dict, "Text", &len); if (s == NULL) return 0; + sms->Length = len; + if (sms->Length > GSM_MAX_SMS_LENGTH) { pyg_warning("SMS text too large, truncating!\n"); sms->Length = GSM_MAX_SMS_LENGTH; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/python-gammu-0.25/gammu.c new/python-gammu-0.26/gammu.c --- old/python-gammu-0.25/gammu.c 2008-02-06 09:26:52.000000000 +0100 +++ new/python-gammu-0.26/gammu.c 2008-04-18 15:50:15.000000000 +0200 @@ -524,7 +524,7 @@ PyObject *key, *value, *str; PyObject *dict; char *s, *v, *setv; - int pos = 0; + Py_ssize_t pos = 0; GSM_Config *Config; if (!PyArg_ParseTupleAndKeywords(args, kwds, "IO!", kwlist, diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/python-gammu-0.25/PKG-INFO new/python-gammu-0.26/PKG-INFO --- old/python-gammu-0.25/PKG-INFO 2008-03-05 22:59:41.000000000 +0100 +++ new/python-gammu-0.26/PKG-INFO 2008-05-11 00:35:43.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: python-gammu -Version: 0.25 +Version: 0.26 Summary: Gammu bindings Home-page: http://cihar.com/gammu/python Author: Michal Cihar diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/python-gammu-0.25/setup.py new/python-gammu-0.26/setup.py --- old/python-gammu-0.25/setup.py 2008-03-05 22:58:41.000000000 +0100 +++ new/python-gammu-0.26/setup.py 2008-03-05 23:18:07.000000000 +0100 @@ -41,7 +41,7 @@ # some defines MAJOR_VERSION = 0 -MINOR_VERSION = 25 +MINOR_VERSION = 26 EXTRA_VERSION = None if EXTRA_VERSION == None: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org