|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
openobex with bluetooth on kFreeBSDHi,
The main value of OBEX is currently with bluetooth. openobex actually support also bluetooth on different systems like Linux, Windows, FreeBSD and NetBSD. For kFreeBSD, this is currently not found. Can someone running kFreeBSD try the following patch for libopenobex-1.5? Please CC me on replies as I am not subscribed. HS --- libopenobex-1.5.orig/CMakeModules/FindBluetooth.cmake 2009-10-08 11:01:21.071569902 +0200 +++ libopenobex-1.5/CMakeModules/FindBluetooth.cmake 2009-10-08 11:16:27.631569407 +0200 @@ -55,7 +55,7 @@ set ( Bluetooth_FOUND true ) endif ( Bluetooth_INCLUDE_DIRS AND Bluetooth_LIBRARIES ) -elseif ( CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" ) +elseif ( CMAKE_SYSTEM_NAME MATCHES "[k]?FreeBSD" ) find_path ( Bluetooth_INCLUDE_DIRS NAMES bluetooth.h -- To UNSUBSCRIBE, email to debian-bsd-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: openobex with bluetooth on kFreeBSDHendrik Sattler <post@...> (08/10/2009):
> Hi, Hello, > The main value of OBEX is currently with bluetooth. openobex > actually support also bluetooth on different systems like Linux, > Windows, FreeBSD and NetBSD. For kFreeBSD, this is currently not > found. > > Can someone running kFreeBSD try the following patch for > libopenobex-1.5? Sure. Didn't help (bluetooth still not found). I also noticed you were using dpkg-architecture to set the variable, so that'd rather be “kfreebsd” you want to check against, which didn't help either. We might be missing some headers for the FreeBSD kernel, though, since we don't have any bluetooth.h header under /usr/include. (Aurélien might have more clues about that than I.) Looking at the structure which is used for the test in the next lines of the cmake file, I only found the following file: | kibi@kbsd:~/hack/libopenobex-1.5$ grep sockaddr_rfcomm -r /usr/include/ | /usr/include/netgraph/bluetooth/include/ng_btsocket.h:struct sockaddr_rfcomm { > Please CC me on replies as I am not subscribed. Done. Mraw, KiBi. |
|
|
Re: openobex with bluetooth on kFreeBSDZitat von Cyril Brulebois <kibi@...>:
> Hendrik Sattler <post@...> (08/10/2009): >> Hi, > > Hello, > >> The main value of OBEX is currently with bluetooth. openobex >> actually support also bluetooth on different systems like Linux, >> Windows, FreeBSD and NetBSD. For kFreeBSD, this is currently not >> found. >> >> Can someone running kFreeBSD try the following patch for >> libopenobex-1.5? > > Sure. Didn't help (bluetooth still not found). I also noticed you were > using dpkg-architecture to set the variable, so that'd rather be > “kfreebsd” you want to check against, which didn't help either. We > might be missing some headers for the FreeBSD kernel, though, since we > don't have any bluetooth.h header under /usr/include. (Aurélien might > have more clues about that than I.) That is only used in case of cross-compiling and rather experimental. I guess that cmake figures this already as other parts of cmake wouldn't work then. > Looking at the structure which is used for the test in the next lines > of the cmake file, I only found the following file: > | kibi@kbsd:~/hack/libopenobex-1.5$ grep sockaddr_rfcomm -r /usr/include/ > | /usr/include/netgraph/bluetooth/include/ng_btsocket.h:struct > sockaddr_rfcomm { It would probably be worth it to ship the bluetooth.h header file as real FreeBSD does, doesn't it? HS -- To UNSUBSCRIBE, email to debian-bsd-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
| Free embeddable forum powered by Nabble | Forum Help |