Commit graph

21 commits

Author SHA1 Message Date
Ondrej Holecek
5effc83479 update FSF addresses to FSF web page
FSF addresses used in PA sources are no longer valid and rpmlint
generates numerous warnings during packaging because of this.
This patch changes all FSF addresses to FSF web page according to
the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html

Done automatically by sed-ing through sources.
2015-01-14 22:20:40 +02:00
poljar (Damir Jelić)
d806b19714 Remove pa_bool_t and replace it with bool.
commands used for this (executed from the pulseaudio/src directory):
    find . -regex '\(.*\.[hc]\|.*\.cc\|.*\.m4\)' -not -name 'macro.h' \
        -a -not -name 'reserve.[ch]' -a -not -name 'reserve-monitor.[ch]' \
        -a -not -name 'glib-mainloop.c' -a -not -name 'gkt-test.c' \
        -a -not -name 'glib-mainloop.c' -a -not -name 'gkt-test.c' \
        -a -not -name 'poll-win32.c' -a -not -name 'thread-win32.c' \
        -a -not -name 'dllmain.c' -a -not -name 'gconf-helper.c' \
        -exec sed -i -e 's/\bpa_bool_t\b/bool/g' \
        -e 's/\bTRUE\b/true/g' -e 's/\bFALSE\b/false/g' {} \;

and:
    sed -i -e '181,194!s/\bpa_bool_t\b/bool/' \
        -e '181,194!s/\bTRUE\b/true/' -e \
        '181,194!s/\bFALSE\b/false/' pulsecore/macro.h
2013-07-04 12:25:30 +03:00
Arun Raghavan
30d6303abf build-sys: Fix building without NLS 2011-12-13 09:03:58 +05:30
Arun Raghavan
1798c653db proplist: Add internal API to get stream group
This moves out code from module-stream-restore and makes an internal API
out of it to get a "stream group" for a given sink input or source output.
This is factored out for reuse in module-filter-*.

The stream group basically provides some means of attaching a logical
identification to the stream (by role, application id, etc.).
2011-11-24 13:03:26 +05:30
Maarten Bosmans
2de2c735c9 Fix dependencies and include necessary headers 2011-02-17 11:58:22 +01:00
Lennart Poettering
49fd8ee72e core-util: replace remaining fixed size destination string functions by _malloc() versions
This helps portability to GNU/Hurd.

Patch originally from Samuel Thibault but modified.

Closes ticket #546
2009-08-01 02:03:22 +02:00
Lennart Poettering
ad5a1f312a protocol-native,proplist-util: port to pa_get_{user|host}_name_malloc() 2009-04-29 01:56:02 +02:00
Lennart Poettering
20aba71d94 proplist-util: use pa_session_id() instead of accessing 7b816367b01393ed3e3e650047d78f6e-1239640487.203609-1061245823 directly 2009-04-13 22:23:18 +02:00
Lennart Poettering
edfa39a2af make sure we don't choke on PULSE_PROP_OVERRIDE 2009-02-21 23:46:31 +01:00
Lennart Poettering
27bfa607b9 add new property PA_PROP_APPLICATION_PROCESS_SESSION_ID and initialize it by default 2009-02-21 16:26:09 +01:00
Lennart Poettering
4c3648aea3 tell gcc to ignore invalid gtk header files 2009-02-21 04:12:52 +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
f863756b43 make PULSE_PROP env vars non-overriding but introduce PULSE_PROP_OVERRIDE for allowing overriding 2009-02-13 18:06:30 +01:00
Lennart Poettering
04c3c6716b A few MacOS X portability fixes
Based on patches contributed by "Tron".

See bug #478.
2009-02-06 00:25:47 +01:00
Lennart Poettering
291589ecc1 allow overwriting of process properties with environment variables 2009-02-05 04:09:09 +01:00
Lennart Poettering
9a27b8f0e8 in addition to per-property env vars PULSE_PROP_xxx look for for a stringified PULSE_PROP env var 2009-02-04 17:16:13 +01:00
Lennart Poettering
16e369498c set PA_PROP_WINDOW_X11_DISPLAY from :0.0 and initialize PA_PROP_APPLICATION_PROCESS_MACHINE_ID properly 2009-02-02 00:28:55 +01:00
Lennart Poettering
8ccc9aa665 try to use glib's g_get_application_name() to set PA_PROP_APPLICATION_NAME 2009-02-02 00:28:37 +01:00
Lennart Poettering
7013849354 Check if environ is actually set before we use it
Some applications seem to set **environ to NULL for various reasons.
Before we iterate through it we thus need to make sure it is actually
set to make sure we don't segfault.

Closes rhbz #473080
2008-12-16 14:03:40 +01:00
Lennart Poettering
644f39d261 a few FreeBSD fixes, from alexis
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-01 01:31:56 +02:00
Lennart Poettering
0e32db2212 move pa_init_proplist() to proplist-util.[ch]
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2541 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-17 18:23:09 +00:00