Heads up - updating openobex in rawhide to 1.7.1 - API change
thozza at redhat.com
Wed Sep 11 10:22:45 UTC 2013
I'm going to update the openobex package in rawhide
to the latest version (1.7.1) in about two weeks.
Unfortunately this version breaks the API, so dependent
packages need to be patched in order to be build.
Needed changes should be small.
Since the rebase is from version 1.5 -> 1.7.1 following
changes are relevant:
Upgrade guide from previous version of openobex
Upgrading to version 1.7
When using an event loop that triggers on incoming data, you must call
OBEX_HandleInput() after each call to OBEX_Request() to actually send the
Upgrading to version 1.6
The function OBEX_UnicodeToAscii() and its counterpart OBEX_AsciiToUnicode()
are gone. Please use the more complete functionality from your toolkit.
(For example "libunistring" - http://www.gnu.org/software/libunistring/manual/libunistring.html#uniconv_002eh)
If you use one of the functions InOBEX_ServerRegister() and
InOBEX_TransportConnect(), please change to TcpOBEX_ServerRegister() and
The functions OBEX_GetCustomData() and OBEX_SetCustomData() will really only
work with OBEX_TRANS_CUSTOM. Also, obex_t and obex_object_t changed the
declared type. If you pass it around, make sure to use them as pointer.
To use the bluetooth function, include the bluetooth headers of your system
before including openobex/obex.h or define bt_addr_t to the proper type.
The function OBEX_FindInterfaces is replaced by the functions
OBEX_EnumerateInterfaces() and OBEX_GetInterfaceByIndex().
The new version of openobex package can be found here:
Dependent packages are:
ircp-tray-0:0.7.6-3.fc20 -> http://thozza.fedorapeople.org/openobex-1.7.1-rebuilds_results/results_ircp-tray/
libbtctl-0:0.11.1-14.fc20 -> http://thozza.fedorapeople.org/openobex-1.7.1-rebuilds_results/results_libbtctl/
libopensync-plugin-irmc-1:0.22-7.fc20 -> http://thozza.fedorapeople.org/openobex-1.7.1-rebuilds_results/results_libopensync-plugin-irmc/
obex-data-server-1:0.4.6-6.fc20 -> http://thozza.fedorapeople.org/openobex-1.7.1-rebuilds_results/results_obex-data-server/
obexfs-0:0.12-7.fc20 -> http://thozza.fedorapeople.org/openobex-1.7.1-rebuilds_results/results_obexfs/
obexftp-0:0.23-15.fc20.x86_64 -> http://thozza.fedorapeople.org/openobex-1.7.1-rebuilds_results/results_obexftp/
syncevolution-1:184.108.40.206-6.fc20.x86_64 -> http://thozza.fedorapeople.org/openobex-1.7.1-rebuilds_results/results_syncevolution/
If someone thinks we should not rebase openobex to the latest version
and has a good reason for it, feel free to replay to this email.
More information about the devel