Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266968 - kde-base/phonon-kde: add pulseaudio to IUSE variable
Summary: kde-base/phonon-kde: add pulseaudio to IUSE variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2009-04-21 10:50 UTC by Thomas Pfaff
Modified: 2009-04-24 07:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pfaff 2009-04-21 10:50:21 UTC
phone-kde uses pulseaudio when it is installed (links against libpulseaudio), therefore it should be in their USE variable.

I do not know if pulseaudio support can be configured in phonon-kde, but at least it should rebuild on a change in the global USE variable.

This is especially important when you are building binary packages that are used by machines that have different pulseaudio USE settings. machines with a different pulseaudio setting should ebuild phonon-kde rather than install the binary package.

Reproducible: Always

Steps to Reproduce:
1. install pulseaudio, add pulseaudio to USE flags
2. build phonon-kde
3. remove pulseaudio from USE flags, uninstall pulseaudio
4. emerge --newuse does not rebuild phonon-kde as it should


Actual Results:  
revdep-rebuild complains about missing libpulseaudio in phonon-kde

Expected Results:  
phonon-kde should rebuild on a pulseaudio USE change.

Portage 2.2_rc30 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29.1 i686)
=================================================================
System uname: Linux-2.6.29.1-i686-Intel-R-_Celeron-R-_CPU_2.40GHz-with-glibc2.0
Timestamp of tree: Wed, 15 Apr 2009 01:45:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://anonymous:@obelix/pub http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/src/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acpi alsa aspell berkdb bzip2 cairo cdr cli cracklib crypt cups curl dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox font-server foomaticdb gdbm gif gpm gtk gzip-el hal htmlhandbook iconv ipv6 isdnlog java jikes jpeg kde libnotify logrotate mad midi mikmod mmx motif mp3 mpeg mudflap musicbrainz ncurses nls nogecko-sdk nptl nptlonly nsplugin objc ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcl tcltk tcpd tiff tk toolkit-scroll-bars truetype truetype-fonts type1-fonts unicode usb userlocales vorbis win32codecs x86 xcb xgetdefault xinetd xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="fbdev sis mga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Maciej Mrozowski gentoo-dev 2009-04-21 17:31:46 UTC
Once you're at it - does it add any new audio backend to System settings or it's just dummy (like incomplete code) dependency?
Comment 2 Thomas Pfaff 2009-04-22 07:11:10 UTC
It does not add a new backend but i get a new output device named pulseaudio.

I have one box with a Soundfusion cs46xx sound device where the only working output device is pulseaudio, so this does not looks like a dummy to me.
Comment 3 Maciej Mrozowski gentoo-dev 2009-04-22 07:50:21 UTC
You can try fixed ebuild from kde-testing overlay.
Comment 4 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-04-24 00:06:49 UTC
in tree by jmbsvicetto and fix by reavertm, closing
Comment 5 Thomas Pfaff 2009-04-24 07:56:52 UTC
Just for the record, i tried the ebuild from the overlay yesterday and it worked.
Thanks.