Fixed TC-1588. Added libcap-tools requirement

Change-Id: Ibafe33a40f0509e2cb0b03c2b4c12649336ae603
Signed-off-by: John L. Whiteman <john.l.whiteman@intel.com>
Packaging: clean spec file

* Use rpm macros where possible.
* Do not use "%configure" since configure is already done by
  bootstrap.sh.
* Remove "description-shorter-than-summary" rpmlint warnings.

Change-Id: Ic2f20c5d231f903d19575f5ef2177e64627a3b7c
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Merge "Fixed TC-1588. Added libcap-tools requirement" into tizen
release: updated changelog

Change-Id: I29476fad2c858e5ab4dc8ff979bba90843a544bb
Remove msbc support from bluetooth ofono backend.

This fixes TC-162.

Change-Id: I1695d82f6841119ad6e80ba17ebec8408825b4a2
Bug-Tizen: TC-162
socket-server: Improve readability

Change-Id: Ia323ade04dc7a793e47d3d2c8f167812bae1aea3
man: Fix XDG_RUNTIME_DIR variable reference.

Change-Id: I92785b104a1f42943884dfc7f51998c8cba65290
build-sys: Clarify some systemd sub-component variable/define names.

We currently use the term SYSTEMD when referring to libsystemd-login
and JOURNAL when referring to libsystemd-journal.

I will be shortly adding support for libsystemd-daemon and in
preparation I figured it would be a good idea to clarify the names
used currently before adding another!

Change-Id: I1e513087eedce4371c2c0a992faa0281ecf0fa6a
build-sys: Add support for newer systemd without compatibility libs

In newer versions of systemd some libraries were combined for the sake of
general simplicity.

This change checks against the newer name first and avoids separate pkgconfig
checks if it's found. We probably want to keep support for the older library
names for some time. systemd does allow for the shipping of compatibility
pkgconfig files to not break downstream code like ourselves which is why this
likely hasn't been "fixed" until now.

With this change we no longer rely on systemd having been built with those
compatibility pkgconfig files.

Change-Id: Ibdbd0b01968b74237a4e2110759000f9eb705122
socket-server: Add support for systemd socket activation.

This adds support to module-native-protocol-unix to take over already
listening sockets passed in via socket activation (e.g. from systemd)

Most of the code is isolated to socket-server but some cleanup code also
had to be tweaked to ensure we do not overzealously close open fds.

Change-Id: I07eb04fe3c51626ee801566cd376062406f418b9
launch: Avoid specifically starting PA and rely on autospawn/socket activation

This --start is patched out in several downstreams to allow users to easily
disable PA by simply disabling autospawn.

If autospawn is enabled, then the first pactl command will start it and if not
it will fail and the script will exit.

When switching to systemd socket activation, we very much do not want to
start PA manually here. We could replace it with a
  systemctl --user start pulseaudio
but really it just makes sense to rely on the socket activation as this
should apply equally to non-systemd setups which use PA's own autospawn.

Change-Id: Ie730dacd598453f0bd3493cb3df3467a805a7a8b
launch: Add systemd units for launching pulseaudio user instances

Change-Id: I7d2b504afe055927b69e454d0f9d32d581ca2e1b
launch: Disable autospawn by default when systemd daemon support is enabled.

When enabled, this method is prefered over pulseaudio's built in
systems so we should try our best to ensure that it cannot be spawned
outside of the mechanisms desired.

Packagers should call 'systemctl --global enable pulseaudio.socket' to
enable the socket for all users, or alternatively ship an enabling
symlink in /usr/lib/systemd/user/sockets.target.wants/ folder. It may
also make sense for distributions to add in a ConditionNNN= line to the
socket unit if they have a downstream mechanism for enabling or
disabling pulseaudio.

If individual users wish to opt out of this vendor (or administrator)
decision, they can call 'systemctl --user mask pulseaudio.socket'

Change-Id: Ieb1a0080aa5287212808d55000f54a079913808c
build-sys: Minor cosmetic tidyup of configure summary

Change-Id: I8a3e17d35ab7c9b2570b866e8cb09ebbc2c2c86b
socket-server: add tcp support for systemd socket activation

Change-Id: I181d2f34f925349069c802b6f68e1a0bdbe0b7f0
add ipv4 socket to pulseaudio.socket

Change-Id: I68867a475ba6892d1ca3c24e985687219e807a92
add tcp ipv4 local port to default.pa

Change-Id: I226cad5552c6331b90269bba751ef01e942a05da
add systemd socket activation files to spec

Change-Id: Ia7341844fc0be2f9449e306470b05a3653c3eee9
Disable loading of protocol esound module

There seems to be nobody in tizen using esound
so we might as well disable the loading of the
corresponding pulseaudio protocol. If this is
later on enabled the socket should be also added
to pulseaudio.socket if the socket activation
is wanted also for esound.

Change-Id: Ieec337d3d36c8fc94aff7678b4657ffc656c1e73
release: updated changelog

Change-Id: Ia12c7675382e3f8852549508bd62d5410d429be1