From 53eccc93a29cc08a01ed8002631a9c539cfcc026 Mon Sep 17 00:00:00 2001 From: Dominik George Date: Tue, 26 Dec 2017 09:56:08 +0100 Subject: [PATCH] Simplify pulseaudio module build instructions --- sesman/chansrv/pulse/README.md | 38 +++++----------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/sesman/chansrv/pulse/README.md b/sesman/chansrv/pulse/README.md index a072df5d..dbc89242 100644 --- a/sesman/chansrv/pulse/README.md +++ b/sesman/chansrv/pulse/README.md @@ -56,36 +56,13 @@ current directory. Enter into the directory and build the pulseaudio package. cd pulseaudio-10.0 - dpkg-buildpackage -rfakeroot -uc -b - -Enter into pulse directory in xrdp source. - - cd ~/xrdp/sesman/chansrv/pulse - nano Makefile - -Edit the `Makefile`. Replace `/tmp/pulseaudio-10.0` with your pulseaudio source -directory. - -```diff -diff --git a/sesman/chansrv/pulse/Makefile b/sesman/chansrv/pulse/Makefile -index 74977221..395ef0a0 100644 ---- a/sesman/chansrv/pulse/Makefile -+++ b/sesman/chansrv/pulse/Makefile -@@ -3,7 +3,7 @@ - # - - # change this to your pulseaudio source directory --PULSE_DIR = /tmp/pulseaudio-10.0 -+PULSE_DIR = /home/debian/pulseaudio-10.0 - CFLAGS = -Wall -O2 -I$(PULSE_DIR) -I$(PULSE_DIR)/src -DHAVE_CONFIG_H -fPIC - - all: module-xrdp-sink.so module-xrdp-source.so -``` + ./configure Finally, let's make. You'll have two .so files `module-xrdp-sink.so` and `module-xrdp-source.so`. - make + cd ~/xrdp/sesman/chansrv/pulse + make PULSE_DIR="~/pulseaudio-10.0" ## Other distro @@ -105,16 +82,11 @@ directory, then run `./configure`. If additional packages are required to run `./configure`, install requisite packages depending on your environment. -Next, enter into pulse directory in xrdp source and replace `/tmp/pulseaudio-10.0` -in `Makefile` with your pulseaudio source directory. - - cd ~/xrdp/sesman/chansrv/pulse - nano Makefile - Finally, let's make. You'll have two .so files `module-xrdp-sink.so` and `module-xrdp-source.so`. - make + cd ~/xrdp/sesman/chansrv/pulse + make PULSE_DIR="~/pulseaudio-10.0" # Install