Commit graph

262 commits

Author SHA1 Message Date
Lennart Poettering
e954a89d89 properly read icon/application name/display from gtk/glib/gdk 2009-02-13 18:19:10 +01:00
Lennart Poettering
433751ff25 add a module that forwards cork/uncork requests to X11 as fake pause/resume key events 2009-02-13 02:39:07 +01:00
Lennart Poettering
a729786637 implement a module that corks music/video streams automatically when a phone call is active 2009-02-12 03:19:40 +01:00
Lennart Poettering
9f39a44488 add new module-augment-properties module for augmenting properties from .desktop files 2009-02-05 04:14:30 +01:00
Colin Guthrie
871389ac5d A couple of dependancy ordering fixes.
Make sure libdbus-util.so is installed/relinked prior to libalsa-util.so
Make sure libbluetooth-util.so is installed/relinked prior to module-bluetooth-discover.so
2009-02-03 23:49:43 +00:00
Lennart Poettering
f8190be2e6 make update-sbc should also update other BT related sources 2009-02-03 01:34:38 +01:00
Lennart Poettering
390133f2dc big module-bluetooth-device.c rework 2009-02-02 01:58:48 +01:00
Lennart Poettering
a41d72bb2e update sbc stuff 2009-02-02 01:44:37 +01:00
Lennart Poettering
04acc232ec download everything from gitweb twice to make sure we don't get a 'Generating...' message 2009-02-02 00:23:21 +01:00
Lennart Poettering
a71fa021a3 temporary commit of lennarts new bt changes 2009-01-29 16:27:27 +01:00
Lennart Poettering
eca32235fb get rid of module-flat-volumes since we are moving this into the core 2009-01-27 04:29:25 +01:00
Lennart Poettering
24b3a743bd add a bitset implementation 2009-01-27 00:44:45 +01:00
Lennart Poettering
a365c8212d include a few HAL properties in our card/sink/source properties for ALSA devices 2009-01-24 01:25:11 +01:00
Lennart Poettering
3dfe70cf78 add generic rate limiting implementation 2009-01-23 23:58:36 +01:00
Lennart Poettering
f6fcbed6d0 Merge commit 'flameeyes/flameeyes' 2009-01-23 19:46:52 +01:00
Lennart Poettering
5cb29f3a60 add a simple abstraction for SIMD operations 2009-01-23 19:45:11 +01:00
Diego E. 'Flameeyes' Pettenò
c65d3a9fb0 Remove support for internal distributing and bundling of libltdl.
Standing to what the libtool documentation says, the LTDL_INIT macro and
the related configure options are only useful when intending to distribute
libltdl, and is superfluous if the system copy were always to be used.

Which makes it very easy to just drop the internal copy and use the system
library, just do it like any other library lacking pkg-config files to
identify its presence.

If this tries to build against an older libtool version it might fail at
link time, so for now this is not an user-proof solution. But it at least
should provide a working environment for packagers.
2009-01-22 16:37:40 +01:00
Lennart Poettering
13315a7e4c add a card profile restore module 2009-01-21 02:49:42 +01:00
Lennart Poettering
16d200e369 add an API to create arbitrary alsa sinks/sources dynamically without having to load/unload modules 2009-01-21 00:23:18 +01:00
Diego E. 'Flameeyes' Pettenò
bc41fdb20d Include the alsa/ subdirectory for modules in the search path.
Without this, out of tree builds fails.
2009-01-20 00:55:42 +01:00
Diego E. 'Flameeyes' Pettenò
bd70e80531 Allow to opt-out from building tests.
Since the tests are only useful either if you're hacking at pulseaudio as
a developer, or when running "make check", allow users to opt-out from
their build.

This for instance allows for Gentoo users not to build the tests when
installing the ebuild with tests disabled, and also allow for skipping over
eventually broken tests when trying to get the basic build going on a port.
2009-01-20 00:55:39 +01:00
Lennart Poettering
96f01bf73f Merge commit '7104d54bbc' 2009-01-19 23:09:58 +01:00
Diego E. 'Flameeyes' Pettenò
7104d54bbc Add proper -I directives for out-of-tree builds.
When building out of tree, the generated files are put in builddir rather
than srcdir, so handle that properly.
2009-01-19 17:30:41 +01:00
Diego E. 'Flameeyes' Pettenò
348c2cab71 Create only the directory the current target should be created into.
With this change, instead of running multiple `mkdir -p` commands in all
the rules for all the generated definition files, only the call for the
current generated file is executed.

Not only it should shorten build time (especially for parallel make) but it
also fixes out-of-tree builds when new directories are added.

The $(dir $@) construct is GNU make-specific, but the rest of the
buildsystem is already GNU make-dependent so there should be no problem.
2009-01-19 17:20:18 +01:00
Lennart Poettering
b4d80462bf add card profile prober 2009-01-16 23:33:15 +01:00
Lennart Poettering
d4bda31ba1 include libcli.la in libprotocol-cli's dependencies 2009-01-15 21:29:18 +01:00
Lennart Poettering
c7fff97782 move alsa and oss modules into their own subdirectories 2009-01-15 21:02:01 +01:00
Lennart Poettering
29c7a28817 kill autoload stuff as planned 2009-01-15 20:07:13 +01:00
Lennart Poettering
b6deb0cc4c add new pa_card object as a way to logically combine multiple sinks and sources 2009-01-15 18:29:16 +01:00
Lennart Poettering
c2002dcd1f Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio 2009-01-08 21:18:15 +01:00
Lennart Poettering
9fc726c6d7 Add new test source module-sine-source 2009-01-08 21:17:58 +01:00
Marc-André Lureau
d096ad78d3 bluetooth: add update-sbc and friends
Grr.. You can't do:

SBC_FILES = a b c
libsbc_SOURCES = $(addprefix modules/bluetooth/,$(SBC_FILES))

With automake...

So I $(strip 'modules/bluetooth/') instead.
2009-01-08 19:16:59 +02:00
Marc-André Lureau
8e200ed0ce build: run some tests during make check (and distcheck)
Run simple core tests during 'check'.

I plan to add more automated tests, including pulseaudio instances. I
did some for maemo, they still need some love.

Note: it would be funky to enable Automake 'color-tests' option when
this will be released (1.10.2 and from automake git)
2009-01-08 17:21:10 +02:00
Marc-André Lureau
de57edd5d8 build: Use proper -disable-static instead of removing .a
Don't mess up with autofoo, to pass 'make distcheck' again.

Note: I am not convinced by the 'rm -f *.la', I know it can solve
issue, but it should be handled by distributions probably...
2009-01-08 15:12:25 +02:00
Marc-André Lureau
c8b3d8b79c build: add atomic.h and refcnt.h to libpulsecommon
I choose libpulsecommon over libpulsecore because some files
from libpulsecommon (eg. once.{c,h}) include them.
2009-01-08 15:12:25 +02:00
Marc-André Lureau
a206ac0fb5 build: Don't include builddir, but only srcdir.
I guess it used to be builddir because some of the files under
src/modules are generated. However, they are generated at dist time,
not at compile time.
2009-01-08 15:11:39 +02:00
Marc-André Lureau
dd9ca70759 build: use pkg-config for X11
According to Daniel, AC_PATH_XTRA is sort-of deprecated.

This patch changes the configure arguments, --x-includes=dir and
--x-libraries=dir, which are now removed and use standard pkg-config.

It also replaces --with{,out}-x with --{dis,en}able-x11, which is the
same as other optionnal dependencies.

(this patch was done in an attempt to solve a build issue on maemo, it
turns out it didn't help)
2009-01-08 11:52:02 +02:00
Luiz Augusto von Dentz
5db081a898 Disable warnings for bluetooth-device-module. 2008-12-22 14:24:06 -03:00
Lennart Poettering
84cd233035 Make sure libpulse never gets unloaded
When an .so is unloaded during runtime all TLS keys it has registered
need to be freed because the destructor callbacks of the TLS key might
otherwise point to invalid code. Hence it would appear sensible to
destruct the TLS keys from a function marked as __attribute__
((destructor)). However functions marked like that are also called when
an application terminates, on exit(). If a thread continues to run until
the very exit it might still want to access that TLS data. The
destructor functions are called while all other threads are still
running. If __attribute ((destructor)) is used to destruct TLS keys for
such threads this might hence cause a crash when the application shuts
down.

To circumvent this problem we'll now compile libpulse with -z nodelete,
to make it unnecessary to delete the TLS data ever and thus avoiding the
problem. It's suboptimal, but for now I see no better solution.
2008-11-01 21:11:48 +01:00
Lennart Poettering
1d978cea85 Merge branch 'new-world-order'
Conflicts:
	src/Makefile.am
2008-10-25 01:23:02 +02:00
Lennart Poettering
1cd25f1485 reorder setting of AM_CFLAGS a bit 2008-10-22 20:37:58 +02:00
Lennart Poettering
ef0cc74567 a lot more build system updates 2008-10-22 20:36:21 +02:00
Lennart Poettering
695d300156 make new build logic actually work 2008-10-22 02:22:40 +02:00
Lennart Poettering
df6e38bfd2 temporary commit to allow flameeyes a look 2008-10-21 23:55:33 +02:00
Lennart Poettering
260fc50b36 reorder setting of AM_CFLAGS a bit 2008-10-21 22:05:13 +02:00
Lennart Poettering
8e3e88df8b Merge commit 'coling/airtunes-0.9.13' 2008-10-08 23:03:16 +02:00
Colin Guthrie
8715121755 Modularise the RAOP stuff that requires OpenSSL and make it optional at compile time 2008-10-08 20:37:43 +01:00
Colin Guthrie
729bbaf884 Automatic discovery of airtunes devices via Bonjour/Avahi.
This also does some minor reordering in the Makefile.am
Refs #69

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2519 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-10-08 20:35:47 +01:00
Colin Guthrie
264a1c2ffc Add more libraries to librtp now that it's doing a lot more.
This currently hacks in -lssl rather than writing a configure hook to detect it as I want to replace this with nss before official release.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2397 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-10-08 20:32:07 +01:00
Colin Guthrie
41e31ab204 Rename rtsp.{c,h} to rtsp_client.{c,h}.
Renate pa_rtsp_context to pa_rtsp_client.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2376 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-10-08 20:32:07 +01:00