Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113054 - Asterisk ebuild doesn't use virtual/mpg123
Summary: Asterisk ebuild doesn't use virtual/mpg123
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High normal
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-19 22:49 UTC by Daniel Mannarino
Modified: 2005-11-20 20:36 UTC (History)
0 users

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 Daniel Mannarino 2005-11-19 22:49:35 UTC
The net-misc/asterisk ebuilds in Portage have an explicit dependency on media-sound/mpg123.  media-
sound/mpg321 is a drop-in replacement for this package, which is why we have virtual/mpg123.  If we 
change the dependency in the asterisk ebuilds to virtual/mpg123 people who already have mpg321 
installed will not be forced to install mpg123.  mpg123 users will be unaffected.  

Reproducible: Always
Steps to Reproduce:
1.unmerge mpg123, if necessary
2.emerge mpg321
3.emerge asterisk

Actual Results:  
The asterisk ebuild pulls in mpg123

Expected Results:  
mpg123 should not be installed if a virtual/mpg123 package already is.

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.10-ac8 i686)
===============================================================
==
System uname: 2.6.10-ac8 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.0_pre10
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/
share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/mnt/data/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 3ds S3TC X X509 a52 aac acl acpi aim alsa arts artworkextra asm 
async audiofile avi berkdb bidi bitmap-fonts blender-game bluetooth bonobo bzip2 cairo canna cap 
caps ccache cdda cddb cdf cdinstall cdio cdr cdrom chasen chroot cjk clamav cpudetection crypt css 
cups curl curlwrappers dbus devmap dga dhcp dio divx4linux dlloader dri dts dv dvd dvdr dvdread ecc 
eds emboss encode erandom ethereal exif expat extensions fam fame fbcon fbdev festival ffmpeg fftw 
flac flash flatfile fmod font-server foomaticdb fortran freetype freewnn gcj gd gdbm gif gimp glibc-
omitfp glitz glut gmail gnutls gstreamer gtk gtk2 gtkhtml guile h323 hal hardened hardenedphp hdf 
hdf5 high-ints howl hpn http icq idea idn ieee1394 image imagemagick imap imlib imlib2 inkjar 
innodb ipv6 ipv6arpa ithreads jabber jack jack-tmpfs java javascript jbig jce jikes jit joystick jp2 jpeg 
jpeg2k justify kakasi kde kerberos ladcca ladspa lame lcms ldap libcaca libg++ libwww live lzo lzw mad 
maildir mailwrapper maps matroska mbox md5sum memlimit mikmod mime ming mixer mmap mmx 
mmxext mng mono moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg2 mpeg4 mpi 
mplayer msn music mysql mythtv nas ncurses net network nls no-old-linux nocd nowin nptl ntlm oav 
ofx ogg oggvorbis openal opengl openssl operanom2 orathreads oscar pam pcap pcre pda pdf pdflib 
perl pic pie plugin png posix ppds procmail python qemu-fast qt quicktime readline real rogue rtc ruby 
samba sasl scanner sdl serial sftplogging shorten silc skey slang slp smartcard smime sndfile sockets 
socks5 sounds sox spamassassin speex spell sqlite src sse ssl stencil-buffer svg svgz sysfs sysvipc szip 
tcpd tcpmd5 tga theora threads tiff transcode truetype truetype-fonts udev unicode usb userlocales 
utf8 v4l v4l2 vcd videos virus-scan vorbis wifi win32codecs wmf wsconvert wxwindows xatrix xattr xfs 
xine xinerama xml xml2 xprint xrandr xv xvid yahoo yv12 zlib video_cards_radeon userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2005-11-20 02:17:46 UTC
mpg321 isn't a full drop-in replacement, it lacks several features that are  
needed by asterisk:  
 
- switch for mono-only playback 
- downsampling to 8000Hz 
 
Without these it's impossible to use it with asterisk, so the dependency is 
valid. 
  
  
Comment 2 Daniel Mannarino 2005-11-20 20:36:07 UTC
Oops, sorry.

Thanks   ::)

(In reply to comment #1)
> mpg321 isn't a full drop-in replacement, it lacks several features that are  
> needed by asterisk:  
>  
> - switch for mono-only playback 
> - downsampling to 8000Hz 
>  
> Without these it's impossible to use it with asterisk, so the dependency is 
> valid. 
>   
>