Commit graph

275 commits

Author SHA1 Message Date
Diego Elio 'Flameeyes' Pettenò
4c15115007 Split OSS support in output and wrapper.
Since Fedora does not enable OSS output support at all, but still uses
padsp, and in Gentoo we could also make use of padsp without OSS output
support, split the two things in two parameters, although they both check
for sys/soundcard.h once.
2009-08-08 01:53:15 +02:00
Lennart Poettering
9ade13604e build-sys: drop libcap checks, since we don't use caps anymore 2009-08-08 01:37:32 +02:00
Lennart Poettering
8483de4f2b simple: bump libpulse-simple library revision 2009-08-05 03:53:41 +02:00
Lennart Poettering
f8873ab82b build-sys: bump binary version 2009-07-28 01:43:33 +02:00
Diego Elio 'Flameeyes' Pettenò
0a5257b520 Also request Darwin extensions, as they are needed for stuff like NSIG.
Without this definition, non-POSIX interfaces (which are needed) are hidden
by the _POSIX_C_SOURCE request (for clock_gettime).
2009-07-17 20:41:58 +02:00
Diego Elio 'Flameeyes' Pettenò
a6d6718712 Request explicitly POSIX.1-2001 for clock_gettime.
This might actually call for a rewrite of system extensions handling.
2009-07-17 14:33:33 +02:00
Diego Elio 'Flameeyes' Pettenò
673112b192 Check for support of -z nodelete LD flag, don't use it unconditionally.
On non-GNU, non-Sun linkers, the -z option is often not understood; make
sure that the -z nodelete option is usable before making use of it.

Unbreaks build on Mac OS X.
2009-07-17 14:18:07 +02:00
Diego Elio 'Flameeyes' Pettenò
84200b423e Remove exploitable LD_BIND_NOW hack (CVE-2009-1894).
Instead of trying to re-execute pulseaudio itself with LD_BIND_NOW set,
just find the correct flag for the linker to request immediate bindings
(all ELF files support that option), and use that when linking the daemon.

Reduce the amount of compiled and executed code as well.
2009-07-16 15:57:41 +02:00
Diego Elio 'Flameeyes' Pettenò
ff252cb48d Check for the library containing the backtrace() function.
On FreeBSD the backtrace() function as well as the execinfo.h headers are
provided by libexecinfo (an optional package). PulseAudio “automagically”
identifies execinfo.h and proceeds to use it, but then will fail to link
against the library.

Thanks to Alexis Ballier for reporting.
2009-07-04 13:12:32 +02:00
Diego Elio 'Flameeyes' Pettenò
cd375da1db Use the new CC_CHECK_CFLAGS_APPEND macro instead of a manual for. 2009-06-29 17:40:19 +02:00
Diego Elio 'Flameeyes' Pettenò
a4703ce7e8 Check for and use flags to reject undefined symbols in libraries.
Make sure that all the PulseAudio modules are built properly without
outstanding undefined symbols: if the undefined symbols are found, reject
link.
2009-06-29 17:40:01 +02:00
Diego Elio 'Flameeyes' Pettenò
e832383197 Make it more clear that PulseAudio needs libtool 2.2.
The error message was way too generic, as it was very possible that libltdl
_is_ in the system but is not found because too old. Disambiguate this by
explicitly stating that the version 2 of the library is not found.
2009-06-29 17:39:32 +02:00
Lennart Poettering
390c275173 build-sys: properly drop '-' from major/minor/micro strings 2009-06-23 17:40:33 +02:00
Lennart Poettering
bcae7969db build-sys: use pax tar format to allow longer file names 2009-06-23 01:36:29 +02:00
Lennart Poettering
da6b15671a builds-sys: work around automake 1.11 borkage
As suggested on:

http://lists.gnu.org/archive/html/automake/2009-06/msg00059.html
2009-06-23 00:55:31 +02:00
Lennart Poettering
38e3d83122 build-sys: bump udev revision to pull in new rules files 2009-06-23 00:55:24 +02:00
Lennart Poettering
048e576a6d build-sys: dropo shave support, depend on automake's new silent build support instead 2009-06-22 23:03:43 +02:00
Lennart Poettering
06ec5fda21 mergo 2009-06-19 18:18:49 +02:00
Lennart Poettering
914ef89e55 libpulse: implement client side for sink/source port selection commands 2009-06-17 04:54:11 +02:00
Lennart Poettering
3a118f2a03 build-sys: bump libsndfile dependency 2009-06-06 17:02:57 +02:00
Diego Elio 'Flameeyes' Pettenò
ce6643e8c9 Use the _ONCE variation of AC_CHECKs where applicable.
When we're unconditionally looking for a function, or an header file,
without particular libraries set, or with found/not-found conditional code,
we can save ~1K lines in the final configure script by using the _ONCE
variant.

This makes sure that for each header of function, the check is done exactly
once and never more, reducing the amount of code that has to be generated
and executed.
2009-05-17 23:25:23 +02:00
Diego Elio 'Flameeyes' Pettenò
0de6877934 Don't use == for comparison in tests. Fix build with non-bash shells. 2009-05-15 22:43:56 +02:00
Lennart Poettering
b7e2223186 database: port restore modules to new database API 2009-05-14 01:24:26 +02:00
Marc-André Lureau
35382d6d30 build: there is no such thing as SHAVE_OUTPUT anymore 2009-04-23 20:40:57 +02:00
Marc-André Lureau
ebe22ad0c3 build: generate git tarball using git describe 2009-04-23 19:49:12 +02:00
Lennart Poettering
845b312f44 bump version for final 0.9.15 release 2009-04-14 01:10:47 +02:00
Lennart Poettering
3e29fd7694 prepare another snapshot 2009-04-10 02:28:43 +02:00
Lennart Poettering
707acabde5 prepare test7 2009-04-01 03:09:10 +02:00
Lennart Poettering
d9b19f870c prepare test6 2009-04-01 00:43:29 +02:00
Lennart Poettering
47bc3b76fb prepare test5 2009-03-05 14:31:15 +01:00
Diego Elio 'Flameeyes' Pettenò
21547d7e1d Properly check for versioning flags.
Instead of checking for GNU ld presence, check if the linker knows about
the -version-script flag. Non-GNU linkers may export the same interface.

It also allows to check for alternative syntax for symbol versioning.
2009-03-05 13:59:59 +01:00
Lennart Poettering
c589da7e08 prepare release 0.9.15-test4 2009-03-05 12:31:08 +01:00
Finn Thain
0329edd179 revive solaris module
Hi All,

This patch fixes the solaris audio device source and sink, and fixes some
portability issues that break the build on solaris. Questions and comments
welcomed.

I've tested this patch only with OpenSolaris Express snv 103. Eventually I
hope to be able to test a few older releases and older hardware (though it
is hard to say whether there is much interest in those).

This is my first brush with pulseaudio and so I read the wiki docs and
some of the source code but I'm still unsure of a few things. In
particular I'm wondering about rewind processing, corking and what (if
anything) the module needs for those. I'm also unclear on the implications
of thread_info.buffer_size, .fragment_size and .max_request, and whether
my code is correct or not.

This patch disables link map/library versioning unless ld is GNU ld.
Another approach for solaris would be to use that linker's -M option, but
I couldn't make that work (due to undefined mainloop, browse and simple
symbols when linking pacat. I can post the errors if anyone is intested.)

Thanks,
Finn Thain
2009-03-03 22:27:00 +01:00
Lennart Poettering
5c514aaacc make dependency on udev versioned 2009-03-02 14:06:23 +01:00
Lennart Poettering
784ac5b0da get additional device data from udev 2009-03-01 21:38:22 +01:00
Lennart Poettering
e8d7c50c00 forgot to bump the revision 2009-02-24 23:02:56 +01:00
Marc-André Lureau
16bb6580be build: shave it!
http://damien.lespiau.name/blog/2009/02/18/shave-making-the-autotools-output-sane/
2009-02-24 02:48:46 +02:00
Lennart Poettering
b0c0106824 Merge commit 'elmarco/legacy-dir' 2009-02-19 05:02:52 +01:00
Lennart Poettering
c1892f29de bump required alsa version 2009-02-18 21:44:30 +01:00
Marc-André Lureau
05b7440481 pulse/context: add --enable-legacy-runtime-dir 2009-02-18 17:16:01 +02:00
Iain Hibbert
dc590c7d0a Optionally disable IPv6
Closes #79
2009-02-13 21:58:09 +01:00
Lennart Poettering
9334d900e5 show whether gtk+ support is enabled after configure 2009-02-13 21:57:27 +01:00
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
cc526a0b5f prepare test2 2009-02-12 16:51:52 +01:00
Lennart Poettering
9a4e03c58e bump version and soname 2009-02-04 21:44:25 +01:00
Lennart Poettering
0933f1a2a4 Merge commit 'flameeyes/flameeyes' 2009-02-04 18:42:43 +01:00
Lennart Poettering
69a9ed9ef7 drop -pedantic 2009-02-02 00:23:49 +01:00
Diego Elio 'Flameeyes' Pettenò
e9ca8b1c54 Disable portability warnings from automake.
The portability warning class warns during automake calls about non-POSIX
variable names and GNU make extensions. Since both happens with the current
Makefile.am files and it's reasonable to expect that they wouldn't be
rewritten (GNU make is a reasonable requirement), just avoid the warnings.
2009-01-31 19:26:14 +01:00
Lennart Poettering
f725b06f6f drop -Wpacked 2009-01-31 01:16:16 +01:00