[poky] Problem getting PulseAudio Server Binaries

Akshat Saha akshat.embedded at gmail.com
Wed Jun 29 01:55:44 PDT 2011


Hi All,

I am trying to pull PulseAudio.
But am able to get *conf(/usr/share/pulseaudio)* files only in my RFS.
In the pulseaudio.inc file, it can be observed below that there are some
function and parametres specific to *pulseaudio-server package . Can anyone
guide me on how to get other pulseaudio binaries and configs into my build**
.*

*I am using Ubuntu 10.10, 64-bit Host machine.
Building for MACHINE?="fishriver"
*
*Command used to build:*
$ bitbake poky-image-minimal-xyz-live

*Contents of the poky-image-minimal-xyz.bb :*
require recipes-core/images/poky-image-minimal.bb
IMAGE_INSTALL += "pulseaudio"
LICENSE = "MIT"

*Excrepts from pulseaudio.inc, for quick reference :*
:
:
PACKAGES =+ "libpulsecore libpulsecommon libpulsedsp libpulse
libpulse-simple libpulse-browse libpulse-mainloop-glib \
             *pulseaudio-server *pulseaudio-misc pulseaudio-gconf-helper"

#upgrade path:
*RREPLACES_pulseaudio-server = "libpulse-bin libpulse-conf"*

PACKAGES_DYNAMIC = "pulseaudio-lib* pulseaudio-module* libpulse-lib*
libpulse-module* "

FILES_libpulsecore = "${libdir}/libpulsecore*.so"
FILES_libpulsecommon = "${libdir}/libpulsecommon*.so"
FILES_libpulsedsp = "${libdir}/libpulsedsp*.so"
FILES_libpulse = "${libdir}/libpulse.so.*"
FILES_libpulse-simple = "${libdir}/libpulse-simple.so.*"
FILES_libpulse-browse = "${libdir}/libpulse-browse.so.*"
FILES_libpulse-mainloop-glib = "${libdir}/libpulse-mainloop-glib.so.*"

FILES_${PN}-dbg += "${libexecdir}/pulse/.debug \
                    ${libdir}/pulse-${PV}/modules/.debug"
FILES_${PN}-dev += "${libdir}/pulse-${PV}/modules/*.la"
*FILES_${PN}-conf = "${sysconfdir}"*
FILES_${PN}-bin = "${bindir}/* \
                   ${sysconfdir}/default/volatiles/volatiles.04_pulse"
FILES_${PN}-server = "${bindir}/pulseaudio ${bindir}/start-* ${sysconfdir}
${bindir}/pactl"
FILES_${PN}-gconf-helper = "${libexecdir}/pulse/gconf-helper"
FILES_${PN}-misc = "${bindir}/*"

# Allow the pulseaudio package to be created empty as a placeholder (-dbg
and -dev depend on it)
ALLOW_EMPTY_${PN} = "1"

*CONFFILES_pulseaudio-server = "\ *
  ${sysconfdir}/pulse/default.pa \
  ${sysconfdir}/pulse/daemon.conf \
  ${sysconfdir}/pulse/client.conf \
  "

*pkg_postinst_${PN}-server() {*
        # can't do this offline
        if [ "x$D" != "x" ]; then
                exit 1
        fi
        grep -q pulse: /etc/group || addgroup pulse
        grep -q pulse: /etc/passwd || \
            adduser --disabled-password --home=/var/run/pulse --system \
                    --ingroup pulse --no-create-home -g "Pulse audio daemon"
pulse
        addgroup pulse audio
        /etc/init.d/populate-volatile.sh update
}

*pkg_postrm_${PN}-server() {*
        deluser pulse || true
}

python populate_packages_prepend() {
        #bb.data.setVar('PKG_pulseaudio', 'pulseaudio', d)

        plugindir = bb.data.expand('${libdir}/pulse-${PV}/modules/', d)
        do_split_packages(d, plugindir, '^module-(.*)\.so$',
'pulseaudio-module-%s', 'PulseAudio module for %s', extra_depends='' )
        do_split_packages(d, plugindir, '^lib(.*)\.so$',
'pulseaudio-lib-%s', 'PulseAudio library for %s', extra_depends='' )
}

RDEPENDS_pulseaudio-module-console-kit =+ "consolekit"
RDEPENDS_pulseaudio-module-hal_detect =+ "hal"
*RDEPENDS_pulseaudio-server = " \*
    pulseaudio-module-device-restore \
    pulseaudio-module-stream-restore \
    pulseaudio-module-card-restore \
    pulseaudio-module-augment-properties \
    pulseaudio-module-detect \
    pulseaudio-module-alsa-sink \
    pulseaudio-module-alsa-source \
    pulseaudio-module-alsa-card \
    pulseaudio-module-native-protocol-unix \
    pulseaudio-module-hal-detect \
    pulseaudio-module-default-device-restore \
    pulseaudio-module-rescue-streams \
    pulseaudio-module-always-sink \
    pulseaudio-module-suspend-on-idle \
    pulseaudio-module-console-kit \
    pulseaudio-module-position-event-sounds \
    pulseaudio-module-cork-music-on-phone "
*
*

-- 
Thanks In Advance [?]
Akshat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110629/8bc5a3c4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 328.png
Type: image/png
Size: 569 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110629/8bc5a3c4/attachment.png>


More information about the poky mailing list