diff -u libbtctl-0.10.0/debian/changelog libbtctl-0.10.0/debian/changelog --- libbtctl-0.10.0/debian/changelog +++ libbtctl-0.10.0/debian/changelog @@ -1,3 +1,15 @@ +libbtctl (0.10.0-1ubuntu1~ppa1) intrepid; urgency=low + + * debian/control + - Change 'Depends' for libbtctl-dev from libbluetooth2-dev to + libbluetooth-dev. + - Update 'Maintainer' field. + * debian/patches/01_fix_build.patch + - Patch to change function name to the corresponding name in bluez 4.x. + (LP: #276343) + + -- Onkar Shinde Wed, 01 Oct 2008 00:59:02 +0530 + libbtctl (0.10.0-1) unstable; urgency=low * New upstream version diff -u libbtctl-0.10.0/debian/control libbtctl-0.10.0/debian/control --- libbtctl-0.10.0/debian/control +++ libbtctl-0.10.0/debian/control @@ -1,7 +1,8 @@ Source: libbtctl Section: gnome Priority: optional -Maintainer: Debian Bluetooth Maintainers +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian Bluetooth Maintainers Uploaders: Filippo Giunchedi , Mario Iseli , Oystein Gisnas Build-Depends: debhelper (>= 5), cdbs, dpkg-dev (>= 1.13.19), python-support (>= 0.4), python-dev, intltool (>= 0.18), libtool, pkg-config, libglib2.0-dev (>= 2.4.0), libgtk2.0-dev, libopenobex1-dev (>= 1.2), libbluetooth-dev, python-gtk2-dev, autotools-dev Homepage: http://live.gnome.org/GnomeBluetooth @@ -20,7 +21,7 @@ Package: libbtctl4-dev Section: libdevel -Depends: libbtctl4 (= ${binary:Version}), libglib2.0-dev, libbluetooth2-dev, libopenobex1-dev (>= 1.2) +Depends: libbtctl4 (= ${binary:Version}), libglib2.0-dev, libbluetooth-dev, libopenobex1-dev (>= 1.2) Provides: libbtctl-dev Conflicts: libbtctl-dev Architecture: any only in patch2: unchanged: --- libbtctl-0.10.0.orig/debian/patches/01_fix_build.patch +++ libbtctl-0.10.0/debian/patches/01_fix_build.patch @@ -0,0 +1,12 @@ +diff -Nur -x '*.orig' -x '*~' libbtctl-0.10.0/src/btctlimpl.c libbtctl-0.10.0.new/src/btctlimpl.c +--- libbtctl-0.10.0/src/btctlimpl.c 2008-10-01 01:50:46.000000000 +0530 ++++ libbtctl-0.10.0.new/src/btctlimpl.c 2008-10-01 01:52:46.000000000 +0530 +@@ -330,7 +330,7 @@ + if (dd>=0) { + for (i = 0; i < num_rsp; i++) { + memset(name, 0, sizeof(name)); +- if (hci_remote_name(dd, &(info+i)->bdaddr, ++ if (hci_read_remote_name(dd, &(info+i)->bdaddr, + sizeof(name), name, 100000) < 0) + strcpy(name, "n/a"); +