Commit Graph

199 Commits

Author SHA1 Message Date
Andrzej Kaczmarek
68141f0889 android: Build Audio HAL with SBC
Build for Android requires libsbc sources to be available in
external/bluetooth/sbc. Build for host requires libsbc package to be
installed.
2014-01-23 11:34:19 +02:00
Marcel Holtmann
a6f0070f3f Release 5.14 2014-01-20 18:28:10 -08:00
Szymon Janc
325c0a39bb build: Bump D-Bus dependency to 1.6
dbus_validate_path() was introduced in D-Bus 1.6 and it is no longer
possible to build with 1.4.

 CCLD   tools/bluetooth-player
tools/bluetooth-player.o: In function `cmd_change_folder':
tools/bluetooth-player.c:741: undefined reference to `dbus_validate_path'
collect2: ld returned 1 exit status
2014-01-20 16:44:59 +02:00
Marcel Holtmann
ed31a7298d Release 5.13 2013-12-27 09:51:13 -08:00
Szymon Janc
316d0eec54 android/bluetooth: Add initial support for permanent storage
This patch adds initial support for storing adapter configuration.
Currently stored data is address, name and discoverable timeout.

Since Android daemon storage format is to be simpler than Linux check
if correct adapter is used before going operational. This is
a precaution to avoid e.g. using linkkeys generated for different
controller.
2013-12-20 14:07:22 +02:00
Marcel Holtmann
df71eaca9a Release 5.12 2013-12-10 02:09:42 -08:00
Szymon Janc
f52aa87499 plugins: Add initial code for sixaxis plugin
This plugin will be used to associate PS3 controllers.
2013-11-27 11:29:26 +02:00
Marcel Holtmann
b3203173bc Release 5.11 2013-11-15 15:07:36 -08:00
Marcel Holtmann
6b3fded7ed Release 5.10 2013-10-15 15:13:39 -07:00
Frederic Danis
cd402b079e build: Add skeleton for BlueZ Android
Retrieve Bluetooth version from configure.ac.
2013-10-04 15:22:32 +03:00
Marcel Holtmann
3a943c92ea Release 5.9 2013-09-16 08:08:22 -07:00
Marcel Holtmann
cfb34d25b9 build: Check for clock_gettime with -lrt 2013-09-09 14:21:49 -07:00
Marcel Holtmann
12c5f1956b build: Check for clock_gettime and pthread_create 2013-09-02 11:25:54 -07:00
Marcel Holtmann
6c1dfe9b6d build: Remove all checks for USB library support 2013-08-28 14:15:22 -07:00
Marcel Holtmann
c1f49e301f build: Remove extra checks for libusb usage of bccmd 2013-08-28 13:21:44 -07:00
Marcel Holtmann
c4db4db6bf Release 5.8 2013-08-07 22:32:56 -07:00
Marcel Holtmann
78a6366af4 Release 5.7 2013-06-26 10:10:50 -07:00
Marcel Holtmann
70f8ef74f2 Release 5.6 2013-06-19 08:22:52 +02:00
Szymon Janc
c8e79a7a11 build: Fix generating bluetoothd manpage
CONFIGDIR was not properly substituted in bluetoothd.8 manpage.
2013-06-13 16:15:05 +03:00
Szymon Janc
15c84df0ea configure.ac: Fix typos sytemd -> systemd 2013-06-01 16:11:59 +03:00
Marcel Holtmann
7e19eb9a5e Release 5.5 2013-05-14 09:04:15 +02:00
Marcel Holtmann
4a9ce2ed68 Release 5.4 2013-04-10 22:50:12 -07:00
Marcel Holtmann
6c4e64aa4b Release 5.3 2013-02-23 12:20:10 +01:00
Antonio Ospite
d2aad021e4 configure.ac: call AC_SUBST(*_CFLAGS) and AC_SUBST(*_LIBS) only when needed
Bring AC_SUBST(*_CFLAGS) and AC_SUBST(*_LIBS) in the same block of the
corresponding PKG_CHECK_MODULES() call.

Having these variables defined outside of the if tests is more than what
is needed as the corresponding PKG_CHECK_MODULES() might not have been
called at all there.

This is the same logic already used for USB_CFLAGS and USB_LIBS.
2013-02-23 12:51:07 +02:00
Antonio Ospite
5ce3ca820d configure.ac: call AC_SUBST unconditionally with --with-* options
Call AC_SUBST unconditionally when specifying --with-* options,
otherwise options like --with-dbusconfdir=DIR or --with-udevdir=DIR have
no effect.

Before this change, configuring with:

  $ mkdir build
  $ ./configure --disable-systemd \
                --prefix=$(pwd)/build \
                --with-dbusconfdir=$(pwd)/build/etc

resulted in the option value to be ignored at "make install" time, with
this error:

  /bin/mkdir: cannot create directory '/dbus-1/system.d': Permission denied

This is what was going on in configure.ac:

  # define the option
  AC_ARG_WITH([dbusconfdir] ... [path_dbusconfdir=${withval}])

  # when --with-dbusconfdir is NOT used
  if (test -z "${path_dbusconfdir}"); then
    ...

    # define the config dir automatically
    path_dbusconfdir="`$PKG_CONFIG --variable=sysconfdir dbus-1`"

    ...

    # set DBUS_CONFDIR
    AC_SUBST(DBUS_CONFDIR, [${path_dbusconfdir}])
  endif

when --with-dbusconfdir=SOMEDIR was used the test above failed, and the
result was that ${path_dbusconfdir} was indeed defined as manually
specified, but DBUS_CONFDIR was not, and the latter was going to be used
in Makefile.am:

  dbusdir = @DBUS_CONFDIR@/dbus-1/system.d

The failure in mkdir can be exposed by the use of the "--prefix" option
and by running "make install" as a normal user; when running "make
install" with the root user /dbus-1/system.d would be happily (and
wrongly) created.

By always setting variables relative to --with-* options (like
DBUS_CONFDIR) the cases when --with-someoption=SOMEDIR are used get
covered.
2013-02-23 12:49:04 +02:00
Marcel Holtmann
9ea3f21c6e Release 5.2 2013-02-02 01:41:17 +01:00
Marcel Holtmann
e9dd74d5e3 Release 5.1 2013-01-11 11:07:49 -08:00
Lucas De Marchi
5a1ec00553 build: Do not use deprecated AM_CONFIG_HEADER
The long-obsoleted AM_CONFIG_HEADER macro was removed in automake 1.13.
Use AC_CONFIG_HEADERS instead.
2013-01-03 21:28:48 -08:00
Marcel Holtmann
5687a80717 Release 5.0 2012-12-24 09:35:38 -08:00
Marcel Holtmann
55bf340c04 build: Move bluez.pc into the library directory 2012-12-19 18:27:14 +01:00
Marcel Holtmann
8a10ddc548 build: Remove left-overs from broken attempt in adding gtk-doc support 2012-12-19 18:21:26 +01:00
Marcel Holtmann
c5a7b6ca64 build: Fix typo with D-Bus system service directory check 2012-12-18 21:54:25 +01:00
Marcel Holtmann
2d9190d3ac build: Check for D-Bus session services directory 2012-12-18 21:53:30 +01:00
Marcel Holtmann
710489806b build: Add configure option to disable the monitor utility 2012-12-12 23:19:43 +01:00
Marcel Holtmann
d4a93caffe build: Support building client without tools enabled 2012-12-11 22:19:13 +01:00
Marcel Holtmann
e57efd6fbb build: Add option for D-Bus system bus services directory 2012-12-11 17:55:24 +01:00
Marcel Holtmann
7ef17a931b build: Start building xz compressed packages by default 2012-12-11 17:31:58 +01:00
Marcel Holtmann
3346851d3e build: Use AC_PROG_MKDIR_P instead of AM_PROG_MKDIR_P 2012-12-11 17:16:59 +01:00
Marcel Holtmann
fab8ebdadd build: Include directory errors within square brackets 2012-12-11 15:26:09 +01:00
Marcel Holtmann
68c3d4cf0d build: Use better configuration option for D-Bus config directory 2012-12-11 15:24:18 +01:00
Marcel Holtmann
89e2de32f5 build: Cleanup of systemd unit directory options 2012-12-11 15:09:31 +01:00
Marcel Holtmann
a7d4c2296f build: Add option for providing the udev directory 2012-12-11 15:05:24 +01:00
Marcel Holtmann
c7476c4e65 build: Handle systemd system and user unit directories 2012-12-11 14:52:23 +01:00
Marcel Holtmann
0819e1aafd build: Add configure option for disabling CUPS support 2012-12-11 11:50:44 +01:00
Marcel Holtmann
d555301c5f build: Enable tools compilation and installation by default 2012-12-11 01:37:52 +01:00
Marcel Holtmann
9de5c526eb build: Add skeleton for command line client 2012-12-11 01:33:53 +01:00
Marcel Holtmann
652229d770 build: Fix issue with tools dependencies 2012-12-11 00:24:43 +01:00
Marcel Holtmann
a66050d7f4 build: Do not install libbluetooth by default 2012-12-10 22:34:47 +01:00
Marcel Holtmann
7004597f9f build: Add support for building Phonebook Access profile 2012-12-10 22:01:03 +01:00
Marcel Holtmann
93a2c454bc build: Fix typo in udev configure statement 2012-12-10 22:01:03 +01:00