--- libopenobex-1.5.orig/debian/openobex-apps.README.Debian +++ libopenobex-1.5/debian/openobex-apps.README.Debian @@ -0,0 +1,41 @@ +These applications are the example applications shipped with the +OpenOBEX library. As such they aren't intended for normal use, and +are not very polished, do not expect a lot. + +There are, however, two useful things you can do with these tools. + +[1] Transferring files to a Palm Pilot via Infrared + +irobex_palm3 filename + +[2] Send and receive to Bluetooth phone or other device + +Here's a quick run-down of how to use obex_test to send and receive +files from a Bluetooth phone (assumes you have bluez-utils and +bluez-sdp installed). + +To send + +sdptool browse 11:22:33:00:00:00 (the address of your mobile phone) + +look for the "OBEX Push" profile and note the channel number. We'll +call it . + +obex_test -b 11:22:33:00:00:00 + +> c +> p local-file remote-file + +To receive + +sdptool add OPUSH + +sdptool browse ff:ff:ff:00:00:00 (this is your local machine) +and note the channel OPUSH is on , likely to be 4 + +obex_test -b ff:ff:ff:00:00:00 +> s + +now send the file from your phone + + -- Edd Dumbill , Thu Aug 28 16:40:48 BST 2003 --- libopenobex-1.5.orig/debian/compat +++ libopenobex-1.5/debian/compat @@ -0,0 +1 @@ +7 --- libopenobex-1.5.orig/debian/openobex-apps.manpages +++ libopenobex-1.5/debian/openobex-apps.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/*/* --- libopenobex-1.5.orig/debian/libopenobex1.install +++ libopenobex-1.5/debian/libopenobex1.install @@ -0,0 +1 @@ +usr/lib/libopenobex.so.* --- libopenobex-1.5.orig/debian/libopenobex1-dev.install +++ libopenobex-1.5/debian/libopenobex1-dev.install @@ -0,0 +1,5 @@ +usr/include/openobex/obex.h +usr/include/openobex/obex_const.h +usr/lib/libopenobex.a +usr/lib/libopenobex.so +usr/lib/pkgconfig/openobex.pc --- libopenobex-1.5.orig/debian/watch +++ libopenobex-1.5/debian/watch @@ -0,0 +1,5 @@ +version=3 + +# find new files on sourceforge, for debscripts >= 2.9 +http://sf.net/openobex/openobex-([[:digit:]]*\.[[:digit:]]*)\.tar\.gz +http://www.kernel.org/pub/linux/bluetooth/openobex-([[:digit:]]*\.[[:digit:]]*)\.tar\.[bg]z --- libopenobex-1.5.orig/debian/copyright +++ libopenobex-1.5/debian/copyright @@ -0,0 +1,40 @@ +This package was debianized by Erich Schubert on +Fri, 1 Mar 2002 11:45:23 +0100. Edd Dumbill took +over as maintainer at Sun Nov 17 23:48:18 GMT 2002. + +It was downloaded from http://www.kernel.org/pub/linux/bluetooth/ + +Upstream Authors: Dag Brattli, Pontus Fuchs, Fons Botman, Andy Choi, + Jean Tourrilhes, Marcel Holtmann, Dmitry Kasatkin, + Christian W. Zuckschwerdt, Alex Kanavin, + Johan Hedberg, Hendrik Sattler + +Copyright ©: 1999-2000 Dag Brattli + 1999-2001 Ponts Fuchs + 1999-2000 Fons Botman + 2002-2008 Marcel Holtmann + 2002-2008 Christan W. Zuckschwerdt + 2005 Herton Ronaldo Krzesinski + 2005-2008 Alex Kanavin + 2006-2008 Johan Hedberg + 2007-2008 Hendrik Sattler + +Copyright: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- libopenobex-1.5.orig/debian/openobex-apps.install +++ libopenobex-1.5/debian/openobex-apps.install @@ -0,0 +1,5 @@ +usr/bin/irobex_palm3 +usr/bin/irxfer +usr/bin/obex_tcp +usr/bin/obex_test +usr/bin/ircp --- libopenobex-1.5.orig/debian/libopenobex1-dev.docs +++ libopenobex-1.5/debian/libopenobex1-dev.docs @@ -0,0 +1 @@ +debian/tmp/usr/share/doc/openobex/html/ --- libopenobex-1.5.orig/debian/rules +++ libopenobex-1.5/debian/rules @@ -0,0 +1,117 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS_RELEASE = -O0 -g -DNDEBUG $(CFLAGS) + CFLAGS_DEBUG = -O0 -g $(CFLAGS) +else + CFLAGS_RELEASE = -O2 -g -DNDEBUG $(CFLAGS) + CFLAGS_DEBUG = -O2 -g $(CFLAGS) +endif + +BUILD_TYPE = Release +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + BUILD_TYPE = Debug +endif + +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif + +BUILD_FLAGS = -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) \ + -DCMAKE_C_FLAGS_RELEASE="$(CFLAGS_RELEASE)" -DCMAKE_C_FLAGS_DEBUG="$(CFLAGS_DEBUG)" \ + -DCMAKE_SKIP_RPATH=ON +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) + BUILD_FLAGS += -DCMAKE_SYSTEM_NAME=$(shell dpkg-architecture -qDEB_BUILD_ARCH_OS) \ + -DCMAKE_SYSTEM_PROCESSOR=$(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU) \ + -DCMAKE_C_COMPILER=$(DEB_BUILD_GNU_TYPE)-gcc +endif + +include /usr/share/quilt/quilt.make + +debian/build/CMakeCache.txt: $(QUILT_STAMPFN) + mkdir -p debian/build + cd $(CURDIR)/debian/build && \ + cmake $(BUILD_FLAGS) ../.. + +debian/build: debian/build/CMakeCache.txt + +debian/build-static/CMakeCache.txt: $(QUILT_STAMPFN) + mkdir -p debian/build-static + cd $(CURDIR)/debian/build-static && \ + cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_DOCUMENTATION=OFF $(BUILD_FLAGS) ../.. + +debian/build-static: debian/build-static/CMakeCache.txt + +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: debian/build debian/build-static + dh_testdir + $(MAKE) -C debian/build $(MAKEFLAGS) openobex-apps + $(MAKE) -C debian/build-static $(MAKEFLAGS) openobex + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: debian/build + dh_testdir + $(MAKE) -C debian/build $(MAKEFLAGS) doc + touch build-indep-stamp + +clean: + dh_testdir + dh_testroot + rm -rf debian/build + rm -rf debian/build-static + debian/rules unpatch + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) -C debian/build-static install DESTDIR=$(CURDIR)/debian/tmp + $(MAKE) -C debian/build install DESTDIR=$(CURDIR)/debian/tmp + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_install --sourcedir=debian/tmp --autodest --fail-missing -X share/doc -X share/man + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install patch unpatch --- libopenobex-1.5.orig/debian/control +++ libopenobex-1.5/debian/control @@ -0,0 +1,57 @@ +Source: libopenobex +Priority: optional +Section: comm +Maintainer: Hendrik Sattler +Homepage: http://www.openobex.org +Build-Depends: debhelper (>= 7.0.0), cmake (>= 2.6.3), libbluetooth-dev [!kfreebsd-i386 !kfreebsd-amd64], libusb-dev (>= 2:0.1.11), pkg-config, quilt (>= 0.45), doxygen, docbook-xml, docbook-xsl, xsltproc +Standards-Version: 3.8.2.0 + +Package: libopenobex1-dev +Section: libdevel +Conflicts: libopenobex-dev +Provides: libopenobex-dev +Architecture: any +Depends: libopenobex1 (= ${binary:Version}), libbluetooth-dev [!kfreebsd-i386 !kfreebsd-amd64], libusb-dev (>= 2:0.1.11) +Suggests: pkg-config +Description: OBEX protocol library - development files + The Object Exchange protocol can best be described as binary HTTP. + OBEX is optimised for ad-hoc wireless links and can be used to exchange + all kind of objects like files, pictures, calendar entries (vCal) + and business cards (vCard). + . + OBEX is builtin in devices like PDA's like the Palm Pilot, and mobile + phones like the Ericsson R320, Siemens S25, Siemens S45, Siemens ME45, + Nokia NM207 and Nokia 9110 Communicator. + . + This package contains the development files. + +Package: libopenobex1 +Section: libs +Depends: ${shlibs:Depends} +Architecture: any +Description: OBEX protocol library + The Object Exchange protocol can best be described as binary HTTP. + OBEX is optimised for ad-hoc wireless links and can be used to exchange + all kind of objects like files, pictures, calendar entries (vCal) + and business cards (vCard). + . + OBEX is builtin in devices like PDA's like the Palm Pilot, and mobile + phones like the Ericsson R320, Siemens S25, Siemens S45, Siemens ME45, + Nokia NM207 and Nokia 9110 Communicator. + +Package: openobex-apps +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: ircp +Replaces: ircp +Description: Applications for OpenOBEX + The Object Exchange protocol can best be described as binary HTTP. + OBEX is optimised for ad-hoc wireless links and can be used to exchange + all kind of objects like files, pictures, calendar entries (vCal) + and business cards (vCard). + . + OBEX is builtin in devices like PDA's like the Palm Pilot, and mobile + phones like the Ericsson R320, Siemens S25, Siemens S45, Siemens ME45, + Nokia NM207 and Nokia 9110 Communicator. + . + This package contains some small utilities to control such devices. --- libopenobex-1.5.orig/debian/changelog +++ libopenobex-1.5/debian/changelog @@ -0,0 +1,246 @@ +libopenobex (1.5-2build1) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Sat, 06 Mar 2010 13:36:13 +0100 + +libopenobex (1.5-2) unstable; urgency=low + + * Fix Docbook-XML build dependencies to build the application manual pages + * Replace dh_clean -k with dh_prep call + * Fix cmake version dependency (closes: #525493) + * Bump standard revision to 3.8.2.0: no changes required. + + -- Hendrik Sattler Sun, 21 Jun 2009 17:29:41 +0200 + +libopenobex (1.5-1) unstable; urgency=low + + * New upstream release (closes: #514577) + * Removed patch files define.patch, compat_defines.path, ircp.path: + included upstream + * Rewrote debian/rules to compile using CMake + * Added CMake >= 2.6 to build-depends + * Added parallel build option support in debian/rules + * Bump standard revision to 3.8.0.0: Copied README.source from quilt package + * Removed debian/manpages/*: included upstream as DocBook XML + * Add patch: fix version information in toplevel CMakeLists.txt + * Add patch: Add missing doc/openobex-apps.xml (from upstream git repository) + * Add patch: fix bluetooth detection in CMakeModules/FindBluetooth.cmake + * Add patch: fix undefined use of sprintf + + -- Hendrik Sattler Sat, 14 Feb 2009 11:08:49 +0100 + +libopenobex (1.3+cvs20070425-2) unstable; urgency=low + + * patches/compat_defines.patch: reintroduce defines OBEX_CLIENT and + OBEX_SERVER (closes: #470441, #470444) + + -- Hendrik Sattler Fri, 14 Mar 2008 20:55:35 +0100 + +libopenobex (1.3+cvs20070425-1) unstable; urgency=low + + * Updated to current CVS (since CVS did not change in 9 months): + - Adds new TcpOBEX (IPv6 support) + * Remove patches: + - docbuild2.patch: not needed anymore + - pkgconfig.patch: not needed anymore + * debian/control: + - use libbluetooth-dev instead of libbluetooth2-dev + - do not require libbluetooth-dev on kfreebsd-* (closes: #416259) + * debian/rules: fix cross-build support (closes: #465262) + * debian/copyright: add proper copyright information + * debian/openobex-apps.copyright: removed + + -- Hendrik Sattler Thu, 06 Mar 2008 00:28:42 +0100 + +libopenobex (1.3-3) unstable; urgency=low + + * do not install the libopenobex.la file, should resolve that sticking + libusb dependency for packages that depend on libopenobex and use libtool + (after being rebuilt) + * use Requires.private instead of Libs.private in .pc file and adapt REQUIRES + define to not include bluez + * compile apps without libusb (not needed) + * debian/control: build depend on automake-1.9, autoconf and libtool + * debian/rules: run autoreconf where appropriate + + -- Hendrik Sattler Fri, 29 Sep 2006 01:03:52 +0200 + +libopenobex (1.3-2) unstable; urgency=low + + * add pkgconfig.patch: fixes pkg-config output for dynamic linking + + -- Hendrik Sattler Tue, 26 Sep 2006 23:22:52 +0200 + +libopenobex (1.3-1) unstable; urgency=low + + * New upstream version + * Clean up debian/rules + * Bump standards revision to 3.7.2.0: no changes required. + * Update build dependencies: + - update quilt version to 0.45 + - change from libbluetooth1-dev to libbluetooth2-dev, same for Depends field + of binary package libopenobex1-dev (closes: #376900) + * Fix quilt inclusion in debian/rules and roperly use quilt stamp file in the + rules file + * Remove patches that got applied upstream: + - rodrigues_irobex_palm3.patch + - docbuild.patch + - obex_test.patch + * Add new docbuild2.patch to fix building of documentation, again, because + docbook2html fails with XML DOCTYPE declaration + * Lower dependency from libopenobex1-dev on pkg-config from Depends to Suggests + (it is a useful tool but the package can be used without it) + + -- Hendrik Sattler Thu, 6 Jul 2006 02:07:56 +0200 + +libopenobex (1.2-3) unstable; urgency=low + + * The "fix some bugs after some years" release + * Update ircp.patch to never overwrite existing files but + rename the target name instead (closes: #366484) + * Update rodrigues_irobex_palm3.patch to fix argument parsing + (closes: #216312) + * Add obex_test.patch to fix some issues with the test apps + (closes: #197773). Note that the patch from the bug report + was not plainly used. + * Add manpages for all applications (closes: #253857) + + -- Hendrik Sattler Fri, 12 May 2006 02:14:05 +0200 + +libopenobex (1.2-2) unstable; urgency=low + + * Fix Replaces/Conflicts with ircp (closes: #359061, #359201) + * Fix version of debhelper build dependency + * Add missing direct build dependency on docbook (closes: #359026) + * use the quilt.make include: + - tighten quilt build dependency + - remove debian/quiltrc + + -- Hendrik Sattler Fri, 7 Apr 2006 13:06:53 +0200 + +libopenobex (1.2-1) unstable; urgency=low + + * New upstream release (closes: #358375) + * Change priority of -dev package to "extra" + * Change default section to "comm" + * Use debhelper compat level 5 + * move ircp to openobex-apps package + * add quilt to build dependecies and do patching at build time + + -- Hendrik Sattler Fri, 24 Mar 2006 09:18:17 +0100 + +libopenobex (1.1-1) unstable; urgency=low + + * New maintainer + * New upstream release (closes: #237386) + - supports USB + - changes to pkgconfig + * Change package name according to the libpkg-guide + * Conflict with the old -dev package + * Use quilt for patches (using debian/quiltrc) + * Add docbuild patch to be able to build documentation + * Include documentation in the -dev package + * Package openobex-apps is not shipped seperately anymore, so include it + * Package ircp is not shipped seperately anymore, so include it + * Update FSF address + + -- Hendrik Sattler Fri, 10 Feb 2006 12:41:46 +0100 + +libopenobex1.0 (1:1.0.0-rel-3) unstable; urgency=low + + * Acknowledge NMU. + * Restored big-endian patch. + * Add patch for obex_server.c to detect a read when object deleted. + + -- Edd Dumbill Fri, 4 Jun 2004 00:51:04 +0100 + +libopenobex1.0 (1:1.0.0-rel-2.1) unstable; urgency=low + + * NMU if the maintainer does not react + * Restored the Testing version with an epoched version because + libopenobex1.0.1 is another library generation (closes: #214471) + + -- Eduard Bloch Sun, 12 Oct 2003 15:49:25 +0200 + +libopenobex1.0 (1.0.1-1) unstable; urgency=low + + * New upstream release. + * Changed section of libopenobex-dev to 'libdevel' + * Remove big-endian patch: now incorporated upstream. + + -- Edd Dumbill Mon, 6 Oct 2003 13:37:48 +0100 + +libopenobex1.0 (1.0.0-rel-2) unstable; urgency=low + + * Moved to Colin's Build System + * Incorporate patch from CVS to fix Bluetooth use on big-endian + systems (thanks Marcel Holtmann) + + -- Edd Dumbill Sun, 23 Mar 2003 14:53:33 +0000 + +libopenobex1.0 (1.0.0-rel-1) unstable; urgency=low + + * New upstream release + + -- Edd Dumbill Mon, 2 Dec 2002 20:22:01 +0000 + +libopenobex1.0 (1.0.0-pre5-1) unstable; urgency=low + + * Unreleased. + * New upstream release (Closes: #167327) + - supports Bluetooth transport layer + - removes dependency on glib-1.2 + * Renamed packages as source & binary compatibility broken from earlier + releases. Used scheme as per Junichi Uekawa's library packaging + guide. + + -- Edd Dumbill Sun, 17 Nov 2002 17:51:25 +0000 + +libopenobex (0.9.8-7) unstable; urgency=low + + * Make openobex-config output includes and libs for bringing in + the glib dependencies (Closes: #170090) + + -- Edd Dumbill Thu, 21 Nov 2002 22:57:42 +0000 + +libopenobex (0.9.8-6) unstable; urgency=low + + * Fixed the .so files to be in the right packages + * Updated standards version to 3.5.8 + * Added Section to the source description + + -- Edd Dumbill Mon, 18 Nov 2002 01:50:22 +0000 + +libopenobex (0.9.8-5) unstable; urgency=low + + * New maintainer + * Added shlibs file + * Added simple manpage for openobex-config + + -- Edd Dumbill Mon, 18 Nov 2002 00:33:25 +0000 + +libopenobex (0.9.8-4) unstable; urgency=low + + * Update config.sub and config.guess (Closes: #142308) + + -- Erich Schubert Thu, 11 Apr 2002 23:10:55 +0200 + +libopenobex (0.9.8-3) unstable; urgency=low + + * Improved Description, which was not quite correct. (Closes: #140732) + + -- Erich Schubert Fri, 5 Apr 2002 17:47:45 +0200 + +libopenobex (0.9.8-2) unstable; urgency=low + + * Added missing build-Dependency on libglib1.2 + + -- Erich Schubert Sat, 30 Mar 2002 11:22:02 +0100 + +libopenobex (0.9.8-1) unstable; urgency=low + + * Initial Release (Closes: #136310). + + -- Erich Schubert Fri, 1 Mar 2002 11:45:23 +0100 --- libopenobex-1.5.orig/debian/patches/add-missing-manpage-source.patch +++ libopenobex-1.5/debian/patches/add-missing-manpage-source.patch @@ -0,0 +1,364 @@ +Index: libopenobex-1.5/doc/openobex-apps.xml +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ libopenobex-1.5/doc/openobex-apps.xml 2009-02-11 00:56:17.551300166 +0100 +@@ -0,0 +1,359 @@ ++ ++ ++ ++ ++ 2008-11-23 ++ openobex ++ 1.4 ++ ++ ++ Hendrik ++ Sattler ++ initial version of manpage ++ post@hendrik-sattler.de ++ ++ ++ ++ ++ openobex ++ ++ ++ ++ ircp ++ 1 ++ User commands ++ ++ ++ ircp ++ send or receive files via infrared connection ++ ++ ++ ++ ircp ++ ++ ++ ++ ircp ++ file... ++ ++ ++ ++ Description ++ ++ ircp is a small utility to transfer files ++ from or to a remote Linux machine, Windows computer, or various PDAs ++ by using an infrared (IrDA) port. ++ It is designed for working e.g. with Quickbeam. ++ ++ ++ This program is designed to be an example application for the openobex ++ library. ++ ++ ++ ++ Options ++ ++ ++ ++ ++ ++ Use ircp to receive files. If destination is given, the ++ received files are stored in that directory; if not, the files ++ are copied to your current directory. ++ If this options is not given, the specified files are sent ++ ++ ++ ++ ++ ++ ++ See also ++ irobex_palm3(1), irxfer(1) ++ ++ ++ ++ ++ ++ ++ irobex_palm3 ++ 1 ++ User commands ++ ++ ++ irobex_palm3 ++ Send to or receive files from a Palm handheld device ++ ++ ++ ++ irobex_palm3 ++ ++ file... ++ ++ ++ ++ Description ++ ++ irobex_palm3 is a small utility to transfer files ++ from or to a Palm handheld device by using an infrared (IrDA) port. ++ If no parameter is specified, the program goes into receive mode. ++ ++ ++ This program is designed to be an example application for the openobex ++ library. ++ ++ ++ ++ Options ++ ++ ++ ++ ++ ++ Choose a creator ID, e.g. "memo", "addr", "todo", "date" or "Inch". ++ The id must be exactly 4 characters long and serves as hint for the ++ remote device and thus may be case-sensitive. The default is "memo". ++ ++ ++ ++ ++ ++ ++ See also ++ ircp(1), irxfer(1) ++ ++ ++ ++ ++ ++ ++ irxfer ++ 1 ++ User commands ++ ++ ++ irxfer ++ Send to or receive files from a Palm handheld device ++ ++ ++ ++ irxfer ++ file ++ ++ ++ ++ Description ++ ++ irxfer is a small utility to transfer files ++ by using an infrared (IrDA) port. It uses the "OBEX:IrXfer" identifier. ++ If no parameter is specified, the program goes into receive mode. ++ ++ ++ This program is designed to be an example application for the openobex ++ library. ++ ++ ++ ++ See also ++ ircp(1), irobex_palm3(1) ++ ++ ++ ++ ++ ++ ++ obex_tcp ++ 1 ++ User commands ++ ++ ++ obex_tcp ++ Send or receive files via TCP ++ ++ ++ ++ obex_tcp ++ file ++ target ++ ++ ++ ++ Description ++ ++ obex_tcp is a small utility to transfer files ++ from or to a remote machine. The target is either an IPv4 numeric address ++ or a hostname. ++ If no parameter is specified, the program goes into receive mode. ++ ++ ++ This program is designed to be an example application for the openobex ++ library. ++ ++ ++ ++ ++ ++ ++ ++ obex_test ++ 1 ++ User commands ++ ++ ++ obex_test ++ interactive test application for the openobex library ++ ++ ++ ++ obex_test ++ ++ ++ ++ port ++ ++ ++ ++ port ++ ++ ++ ++ ++ address ++ channel ++ ++ ++ ++ interface ++ ++ ++ ++ ++ ++ Description ++ ++ obex_test is a test application for the openobex ++ library. It uses an interactive mode but the access method is ++ selcted with command line arguments. ++ ++ ++ This program is designed to be an example application for the openobex ++ library. ++ ++ ++ ++ Options ++ ++ ++ ++ ++ ++ This is the default. It selects cable obex. ++ The port argument is optional (default: /dev/ttyS0) ++ ++ ++ ++ ++ ++ ++ ++ Select cable obex for the Ericsson R320 mobile phone. ++ The port argument is optional (default: /dev/ttyS0) ++ ++ ++ ++ ++ ++ ++ ++ Select obex over IrDA. ++ ++ ++ ++ ++ ++ ++ ++ Select obex over bluetooth. Both, address and channel are actually ++ optional. Default channel is 4, default address is ANY. ++ ++ ++ ++ ++ ++ ++ ++ Select usb obex (CDC). If the interface argument is omitted, ++ a list of available interface is written to stdout. ++ ++ ++ ++ ++ ++ ++ Interactive Mode: Commands ++ ++ ++ ++ ++ connect to the remote side (client mode) ++ ++ ++ ++ ++ ++ ++ ++ disconnect from the remote side ++ ++ ++ ++ ++ ++ ++ ++ issue a GET request ++ ++ ++ ++ ++ ++ ++ ++ issue a PUT request ++ ++ ++ ++ ++ ++ ++ ++ quit the program ++ ++ ++ ++ ++ ++ ++ ++ go into server mode ++ ++ ++ ++ ++ ++ ++ ++ change the path on the remote side ++ ++ ++ ++ ++ ++ ++ ++ issue a PUSH request ++ ++ ++ ++ ++ ++ --- libopenobex-1.5.orig/debian/patches/fix-bluetooth-detection.patch +++ libopenobex-1.5/debian/patches/fix-bluetooth-detection.patch @@ -0,0 +1,40 @@ +commit 7b35b38c83470fb50deb117249801b00af78902e +Author: Hendrik Sattler +Date: Wed Feb 11 21:13:40 2009 +0100 + + fix finding bluetooth on Linux + +diff --git a/CMakeModules/FindBluetooth.cmake b/CMakeModules/FindBluetooth.cmake +index cbd3666..4c36282 100644 +--- a/CMakeModules/FindBluetooth.cmake ++++ b/CMakeModules/FindBluetooth.cmake +@@ -16,6 +16,14 @@ if ( CMAKE_SYSTEM_NAME STREQUAL "Linux" ) + if ( PKG_CONFIG_FOUND ) + pkg_check_modules ( PKGCONFIG_BLUEZ bluez ) + endif ( PKG_CONFIG_FOUND ) ++ find_path ( Bluetooth_INCLUDE_DIRS ++ NAMES ++ bluetooth/bluetooth.h ++ PATH_SUFFIXES ++ include ++ ) ++ mark_as_advanced ( Bluetooth_INCLUDE_DIRS ) ++ + if ( PKGCONFIG_BLUEZ_FOUND ) + foreach ( i ${PKGCONFIG_BLUEZ_LIBRARIES} ) + find_library ( ${i}_LIBRARY +@@ -32,14 +40,6 @@ if ( CMAKE_SYSTEM_NAME STREQUAL "Linux" ) + add_definitions ( -DHAVE_SDPLIB ) + + else ( PKGCONFIG_BLUEZ_FOUND ) +- find_path ( Bluetooth_INCLUDE_DIRS +- NAMES +- bluetooth/bluetooth.h +- PATH_SUFFIXES +- include +- ) +- mark_as_advanced ( Bluetooth_INCLUDE_DIRS ) +- + find_library ( bluetooth_LIBRARY + NAMES + bluetooth --- libopenobex-1.5.orig/debian/patches/fix-version-info.patch +++ libopenobex-1.5/debian/patches/fix-version-info.patch @@ -0,0 +1,19 @@ +commit e34a6d141b30eb02e2e2df7d96161dd1877d24fd +Author: Hendrik Sattler +Date: Sun Feb 8 23:31:13 2009 +0100 + + change version for cmake build + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ba01757..d2e84da 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -6,7 +6,7 @@ project ( openobex C ) + # The project version + # + set ( VERSION_MAJOR 1 ) +-set ( VERSION_MINOR 4 ) ++set ( VERSION_MINOR 5 ) + set ( VERSION_PATCH 0 ) + + set ( SHORT_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}" ) --- libopenobex-1.5.orig/debian/patches/series +++ libopenobex-1.5/debian/patches/series @@ -0,0 +1,4 @@ +fix-version-info.patch +fix-bluetooth-detection.patch +add-missing-manpage-source.patch +fix-undefined-use-of-sprintf.patch --- libopenobex-1.5.orig/debian/patches/fix-undefined-use-of-sprintf.patch +++ libopenobex-1.5/debian/patches/fix-undefined-use-of-sprintf.patch @@ -0,0 +1,20 @@ +commit 50214c540be7e2d6b10222338a58290d6398fa76 +Author: Hendrik Sattler +Date: Sun Feb 8 23:39:26 2009 +0100 + + fix undefined use of sprintf + +diff --git a/ircp/dirtraverse.c b/ircp/dirtraverse.c +index 7f95287..f6c1cf3 100644 +--- a/ircp/dirtraverse.c ++++ b/ircp/dirtraverse.c +@@ -59,7 +59,8 @@ int visit_dir(char *path, visit_cb cb, void *userdata) + if( ret < 0) + goto out; + len = strlen(path); +- sprintf(path, "%s%s/", path, dirent->d_name); ++ strcat(path, "/"); ++ strcat(path, dirent->d_name); + ret = visit_dir(t, cb, userdata); + if(ret < 0) + goto out;