Commit graph

298 commits

Author SHA1 Message Date
Colin Guthrie
9ee422916f build-sys: Add echo-cancel dummy Makefile 2011-06-23 21:56:05 +01:00
Arnaud Fontaine
b72fc9b4f1 x11: More XCB fixes.
Commit 65ef80b fixed building with xcb-util >= 0.3.8, but the reply is never
checked (possible SIGSEGV if the reply is NULL) nor freed (memory leak at each
call of the functions).

Also, remove include and dependencies on xcb-atom, as it was only meaningful
for xcb_atom_get() and STRING, and depend instead on xcb >= 1.6 for
XCB_ATOM_STRING.
2011-05-07 17:01:28 +01:00
Colin Guthrie
eb966f7455 build-sys: Make --disable-dbus actually work.
Previously this argument passed to configure only worked if --disable-hal and
--disable-bluez was also passed which wasn't immediately obvious to the
untrained compiler.

This change simply makes --disable-dbus disable the other two as well
and errors out of specific, incompatible --enable/--disable flags
are provided.

The summary table is also adjusted and intended to try and show the
dependency relationship a little.
2011-01-11 11:32:07 +00:00
Colin Guthrie
8f8d247386 build-sys: Mention dbus support in the summary 2011-01-11 11:31:57 +00:00
Colin Guthrie
b3ff4f400f build-sys: Put in specific warnings when there is no udev or DBUS support
Users have often come to me when their build doesn't work and typically
this is when they do not have dev headers for DBUS and udev installed
when building. Put in some specific warnings about these optional,
but critical, elements.

This will likely display this message on platforms where they are not
available, so patches welcome to hide them in a semi-intelligent way.
2011-01-11 11:27:43 +00:00
Colin Guthrie
675cc0ae0b build-sys: Replace dummy Makefiles with proper Makefile.am's
This is needed to better support out of tree builds (including
distcheck) and to ensure the necessary folders are created in the
build tree on configure and also works around an intl-tools bug
(https://bugs.launchpad.net/intltool/+bug/605826)

The Makefile.am's used are minimal (and in some cases completely
blank). At present they do not include anything interesting
with the majority of the real work still done by the monolitic
src/Makefile.am

It may make sense to start splitting out src/Makefile.am into
smaller chunks but this commit makes the minimum changes to address
the issues that result from using make distcheck and other out of
tree builds.

Note: This 'breaks' the ability to type make in e.g. the src/modules
folder and have all of PA rebuilt accordingly (this is because the
static Makefiles previously present just did a "make -C ..") which
was purportedly for use in emacs. But I'm sure there will be a better
and more robust way to configure emacs to do your builds properly if
this behaviour is still desirable.
2010-12-04 13:59:48 +00:00
Arun Raghavan
f6574c8c22 volume: Add explicit checks for ARMv6 instructions
This ensures that the build does not fail if the ssat and pkhbt
instructions are not available (armv5te and below).

Fixes: http://www.pulseaudio.org/ticket/790
2010-11-28 16:58:38 +00:00
Lennart Poettering
3a67ddeae7 build-sys: bump soname 2010-11-26 01:38:52 +01:00
Arun Raghavan
9729966ac3 Add a configure option to change 'udevrulesdir'
This patch serves two purposes:

  1) Allows something other than the de-facto standard udev rules dir or
     /lib/udev/rules.d to be used (the udev build system allows you to
     customise this)

  2) Allows a prefixed, non-root install (right now, the /lib/... path
     is hard-coded into the build system
2010-09-21 22:56:40 +01:00
Colin Guthrie
2b88634671 x11: Partially convert to XCB.
This commit mostly converts the X11 handling to XCB. There are still
some uses of XLib to deal with the X11 session handling modules, however all
client-side code should now be free of XLib and thus this should fix Bug #799
2010-08-15 21:41:52 +01:00
Kees Cook
d3efa43d85 core-util: ensure that we chmod only the dir we ourselves created 2010-03-04 04:17:23 +01:00
Lennart Poettering
f9b31fe544 build-sys: add gobject to build dependencies
Since we call g_object_unref() we need to link against gobject in
compliance of the new Fedora implicit DSO linking policy.
2010-02-16 01:43:00 +01:00
Lennart Poettering
06327b1e67 bump soname 2009-11-23 05:07:00 +01:00
Lennart Poettering
bff94c192d build-sys: bump soname 2009-11-11 05:32:24 +01:00
Lennart Poettering
afd1b6d355 build-sys: bump soname 2009-09-30 03:04:12 +02:00
Lennart Poettering
6c0317dbdf build-sys: bump soname for release 2009-09-19 01:58:03 +02:00
Lennart Poettering
7e43371c17 build-sys: increase library version 2009-09-11 01:28:03 +02:00
Wim Taymans
25724cdd40 Get rid of liboil
Get rid of the liboil dependency and reimplement the liboil functions with an
equivalent C implementation. Note that most of these functions are deprecated in
liboil and that none of them had  any optimisations. We can further specialize
our handrolled versions for some extra speedups.
2009-08-20 11:31:03 +02:00
Juho Hämäläinen
ea5cdcbe52 database: simple hashmap based database implementation 2009-08-15 02:07:00 +02:00
Lennart Poettering
c1039c94fb udev: drop definition of LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
We depend on udev 143 anyway, where this definition is not necessary
anymore.
2009-08-11 23:06:44 +02:00
Lennart Poettering
c904f97e2d hal: add stub module that loads module-udev-detect instead of module-hal-detect
This adds module-hal-detect-compat.c which when enabled will be compiled
into a module module-hal-detect which simply loads module-udev-detect.

The purpose of this is to allow easy upgrading without breaking
default.pa. Distributions are recommended to enable this to easy
upgrades from HAL versions of PA to udev versions.
2009-08-11 23:04:35 +02:00
Lennart Poettering
ebe35968d7 Revert "build-sys: drop libcap checks, since we don't use caps anymore"
This reverts commit 9ade13604e.
2009-08-10 21:43:03 +02:00
Diego Elio 'Flameeyes' Pettenò
10e4171265 Update the end-of-configuration summary for OSS output/wrapper split. 2009-08-08 02:09:26 +02:00
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