Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321029 - add prefix support for media-sound/pulseaudio in gentoo-x86
Summary: add prefix support for media-sound/pulseaudio in gentoo-x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2010-05-22 12:53 UTC by Benda Xu
Modified: 2010-09-21 22:37 UTC (History)
2 users (show)

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


Attachments
patch for ebuild (pulseaudio-0.9.21.2-r1.ebuild.diff,2.64 KB, patch)
2010-09-20 22:57 UTC, Jonathan Callen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benda Xu gentoo-dev 2010-05-22 12:53:23 UTC
ecopy autogenerated ebuild works just find on my system.

Reproducible: Always

Steps to Reproduce:
ecopy and emerge



emerge --info output

Portage 2.2.00.15842-prefix (prefix/linux/x86, gcc-4.2.4, unavailable,
2.6.27.38-170.2.113.fc10.i686.PAE i686)
=================================================================
System uname:
Linux-2.6.27.38-170.2.113.fc10.i686.PAE-i686-Intel-R-_Xeon-R-_CPU_X5470_@_3.33GHz-with-fedora-10-Cambridge
Timestamp of tree: Sat, 22 May 2010 11:08:13 +0000
distcc 2.18.3 i386-redhat-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r2
dev-util/cmake:      2.8.1-r1
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3,
1.10.2-r00.1, 1.11.1
sys-devel/binutils:  2.20.51.0.6
sys-devel/gcc:       4.2.4-r01.2, 4.4.3
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="~x86-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/home/benda/local/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news
parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j8"
PKGDIR="/home/benda/local/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/benda/local/"
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="/home/benda/local/var/tmp"
PORTDIR="/home/benda/local/usr/portage"
PORTDIR_OVERLAY="/home/benda/local/usr/local/portage/tauon"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X audio berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6
modules mudflap ncurses nls nptl nptlonly openmp pcre perl pppd prefix python
qt3support readline reflection session spl ssl sysfs tcpd unicode video x86
xorg 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="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel
mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware
voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2010-09-20 22:57:11 UTC
As the current ebuild in portage does *not* work when simply ecopied, I will attach a patch I feel is suitable for inclusion in the tree. There is one last hack left, as the path "/lib/udev/rules.d" is hardcoded into the makefiles (which actually is wrong on amd64 as well, where it should be /lib64/udev/rules.d) and is created during src_install even if nothing is installed: I set it to be "${EPREFIX}/$(get_libdir)/udev/rules.d" which should be correct everywhere, although it would be better if this were a configure option.

I also changed a built_with_use command to the equivalent has_version command.
Comment 2 Jonathan Callen (RETIRED) gentoo-dev 2010-09-20 22:57:57 UTC
Created attachment 248217 [details, diff]
patch for ebuild
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-20 23:02:48 UTC
Why assigning to me? I'm no longer the maintainer.

I doubt that installing the udev stuff in prefix makes any sense at all.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2010-09-21 21:33:50 UTC
Herd approval for commit. Please proceed, mentioning my nick in your commit.
Comment 5 Jonathan Callen (RETIRED) gentoo-dev 2010-09-21 22:37:46 UTC
Committed