Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208407 - Need ebuilds for alternative OpenAL implementations
Summary: Need ebuilds for alternative OpenAL implementations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-02-01 10:37 UTC by Chris
Modified: 2008-11-05 23:40 UTC (History)
12 users (show)

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


Attachments
OpenAL Soft 1.2.218 ebuild (openal-soft-1.2.218.ebuild,1.15 KB, text/plain)
2008-02-01 15:09 UTC, Chris
Details
media-libs/openal-soft-1.3.253.ebuild (openal-soft-1.3.253.ebuild,1.15 KB, text/plain)
2008-02-22 21:33 UTC, Sergey Belyashov
Details
Slightly changed ebuild. (openal-1.3.253.ebuild,1.14 KB, text/plain)
2008-02-29 21:29 UTC, Dennis Schridde
Details
Diff for my "slightly changed ebuild" (openal.ebuild.diff,1.65 KB, patch)
2008-02-29 21:30 UTC, Dennis Schridde
Details | Diff
media-libs/openal-1.4.272.ebuild (openal-1.4.272.ebuild,1.28 KB, text/plain)
2008-06-16 10:50 UTC, Sergey Belyashov
Details
media-libs/openal-1.4.272.ebuild (openal-1.4.272.ebuild,1.45 KB, text/plain)
2008-06-20 14:20 UTC, Sergey Belyashov
Details
openal-1.5.304.ebuild (openal-1.5.304.ebuild,1.45 KB, text/plain)
2008-08-24 12:24 UTC, Steffen 'j0inty' Stollfuß
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2008-02-01 10:37:02 UTC
Currently there are only ebuilds for the outdated, unmaintained Sample Implementation for OpenAL, the last release of which being over a year old with no new releases in sight. However, there are other, more up-to-date and better maintained implementations available.. such as OpenAL Soft <http://kcat.strangesoft.net/openal.html>. There is also OpenAL-ALSA <http://dino.e4a.it/openal-alsa/>, however I can't vouch for its current status.

Many developers are having a difficult time dealing with the latest Sample Implementation release, its bugs and inefficiency with no improvement for it in sight.. some having to ask their users to manually compile and install alternative implementations, others just living with the bugs, and others abandoning OpenAL entirely. These alternative implementations are API and ABI compatible with any app that properly follows the OpenAL spec, and I've personally had nothing but positive results for using OpenAL Soft, in particular, as a drop-in replacement for the Sample Implementation.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-01 10:42:20 UTC
So write them, attach and some developer will have a look (or not, depending on time constraints and interest in such alternatives.)

"I need ebuilds" won't get you very far I'm afraid.
Comment 2 Chris 2008-02-01 15:09:26 UTC
Created attachment 142409 [details]
OpenAL Soft 1.2.218 ebuild

Okay, here's an ebuild for OpenAL Soft 1.2.218. Credit goes to Jouni Kosonen for making it.

However, there are still some issues. The last SI release used libopenal.so.0, while its SVN version and OpenAL Soft use libopenal.so.1. Packages that built against the older lib will need to be rebuilt, and I don't know much about ebuilds to print a warning for users about that.

Also that current packages that use OpenAL depend on media-libs/openal, which is the SI and can't be installed with OpenAL Soft (they both use libopenal.so and AL/al.h and AL/alc.h). Something like virtual/openal is needed so a user can use the lib of their choice.
Comment 3 Arc Riley 2008-02-15 16:28:54 UTC
This ebuild worked for me, and the packages I rebuilt to use it worked beautifully too.  I expect most if not all packages depending on media-libs/openal-0.0.8 could be switched to virtual/openal-1.1 with this as the preference.

OpenAL 0.0.8 lacks quite a bit and is now over 2 years since their last release (2006/02/11).  There is some progress in svn but there's no prospect for a new release anytime soon.

I volunteer to help with testing existing packages for migration to virtual/openal-1.1
Comment 4 Sergey Belyashov 2008-02-22 21:33:55 UTC
Created attachment 144385 [details]
media-libs/openal-soft-1.3.253.ebuild

current version of openal-soft

I think, that is need to rename media-libs/openal to media-libs/openal-sample, add media-libs/openal-soft, virtual/openal and possibly app-admin/eselect-openal to select profiles (such as OpenGL)
Comment 5 Arc Riley 2008-02-23 21:20:14 UTC
This also works great.  Below is the diff between the two ebuilds, it's fairly trivial.

33c33
< 	!use debug || myconf="${myconf} -DCMAKE_BUILD_TYPE=Debug"

---

> 	use debug && myconf="${myconf} -DCMAKE_BUILD_TYPE=Debug"


I'll repeat that we need this.  The version of openal we have in portage right now has numerous bugs and lacks some rather basic OpenAL 1.1 extensions such device enumeration.
Comment 6 Dennis Schridde 2008-02-29 20:59:58 UTC
I heard rumors that OpenAL Soft will replace OpenAL SI sooner or later. So the eselect issue could solve itself in the near future.
But the Creative comes with an own implementation, too...
Comment 7 Dennis Schridde 2008-02-29 21:29:40 UTC
Created attachment 144969 [details]
Slightly changed ebuild.

Slightly changed ebuild, installs as "media-libs/openal" so no virtual thing is required, but also is a bit cleaned up. ${PN}-${PV} in the original ebuild should be replaced by ${P}. Patch to highlight the changes follows.
Comment 8 Dennis Schridde 2008-02-29 21:30:12 UTC
Created attachment 144970 [details, diff]
Diff for my "slightly changed ebuild"
Comment 9 Sergey Belyashov 2008-03-01 11:22:27 UTC
(In reply to comment #7)
> Created an attachment (id=144969) [edit]
> Slightly changed ebuild.
> 
> Slightly changed ebuild, installs as "media-libs/openal" so no virtual thing is
> required, but also is a bit cleaned up. ${PN}-${PV} in the original ebuild
> should be replaced by ${P}. Patch to highlight the changes follows.
> 

Try to reemerge games-action/cromium with openal-soft instead openal installed ;-)
Some programs need to be patched before using openal-soft
Comment 10 Dennis Schridde 2008-03-01 12:18:01 UTC
That ebuild was more to allow for quick testing, than to be the final solution for Gentoo. ;-)
But I hope my audit of the ebuild (see the diff) was not in vain and is usefull for the final solution, too.
Comment 11 Christian Schmitt 2008-04-07 14:36:05 UTC
This is great. The new ebuild finally makes alsa sound work for games/programs that use openal (blender, flightgear, glest). Of course I had to recompile them, but now I don't need to load the oss modules any more. This is a good improvement and I hope to see this version in portage ASAP.
Comment 12 Sergey Belyashov 2008-06-16 10:50:29 UTC
Created attachment 157061 [details]
media-libs/openal-1.4.272.ebuild

Version 1.4.272
Comment 13 Dennis Schridde 2008-06-16 11:45:38 UTC
Any modifications besides incrementing the version number?
Comment 14 Sergey Belyashov 2008-06-16 17:07:18 UTC
Also added support for custom CFLAGS (defined in /etc/make.conf) ;)
Comment 15 Petr Pisar 2008-06-18 20:10:07 UTC
FYI: I have compiled games-sports/torcs (and media-libs/plib) against this openal-1.4.272 successfully, however performance went down drastically (in comparison to openal-0.8.2-r2 over aoss).
Comment 16 Sergey Belyashov 2008-06-19 17:17:16 UTC
(In reply to comment #15)
> FYI: I have compiled games-sports/torcs (and media-libs/plib) against this
> openal-1.4.272 successfully, however performance went down drastically (in
> comparison to openal-0.8.2-r2 over aoss).
> 

try 1.3.253
Comment 17 Petr Pisar 2008-06-19 20:00:22 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > FYI: I have compiled games-sports/torcs (and media-libs/plib) against this
> > openal-1.4.272 successfully, however performance went down drastically (in
> > comparison to openal-0.8.2-r2 over aoss).
> > 
> 
> try 1.3.253
> 

It's a little better (e.g. small pauses during rendering without enabled sound disappeared), however still unusable. With disabled sound it has 18 FPS, with openal-1.3.253 6 FPS and with plib over aoss about 12 FPS. FPS with openal-0.8.2-r2 over aoss is about 15.

Just for compleness the game is linked against openal and freealut which is linked against openal.

I don't know where the problem is exactly, but I think making virtual openal with few alternative implemetations would be more friendly for some user (me) :D
Comment 18 Chris 2008-06-20 03:52:14 UTC
(In reply to comment #17)
> It's a little better (e.g. small pauses during rendering without enabled sound
> disappeared), however still unusable. With disabled sound it has 18 FPS, with
> openal-1.3.253 6 FPS and with plib over aoss about 12 FPS. FPS with
> openal-0.8.2-r2 over aoss is about 15.

What if you use the OSS driver, or disable ALSA mmap? Some cards get really bad performance issues with mmap in ALSA if the frequency isn't set to something specific (I've personally had this occur with mplayer on my SB Live card, but my current built-in chipset doesn't suffer from it). To use the OSS driver by default, you can add this to ~/.alsoftrc:
[general]
drivers = oss,alsa

or to disable ALSA mmap, add:
[alsa]
mmap = off
Comment 19 Petr Pisar 2008-06-20 08:28:56 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > It's a little better (e.g. small pauses during rendering without enabled sound
> > disappeared), however still unusable. With disabled sound it has 18 FPS, with
> > openal-1.3.253 6 FPS and with plib over aoss about 12 FPS. FPS with
> > openal-0.8.2-r2 over aoss is about 15.
> 
> What if you use the OSS driver, or disable ALSA mmap?
>
I have disabled OSS emulation in my kernel. Trying OSS backend over aoss crashes on SIGABORT (after message "terminate called after throwing an instance of 'char const*'").

> Some cards get really bad
> performance issues with mmap in ALSA if the frequency isn't set to something
> specific (I've personally had this occur with mplayer on my SB Live card, but
> my current built-in chipset doesn't suffer from it).
>
I have never encouter such a problem on any sound card. I have integrated AC97  (VT82C686). However switching off mmap in ~/.alsoftrc helped in this case. Now the performance with ALSA output is about 16--17 FPS which is really good.

Tanks o lot.
Comment 20 Sergey Belyashov 2008-06-20 14:20:02 UTC
Created attachment 157743 [details]
media-libs/openal-1.4.272.ebuild

Added information about solution of performance problems.
Comment 21 Alexander Werner 2008-07-18 18:01:15 UTC
The guys from Creative now only mention OpenAl Soft for Download  <http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx> on the *NIX platform. So I suppose that the here supplied ebuilds (great work, thanks!) should succeed the buggy OpenAl-SI in the portage tree.
Comment 22 Christian Schmitt 2008-07-18 20:06:37 UTC
I can only confirm this once more: This version here is much better that the one currently in Portage and it would be great to see an update in this regard.
Comment 23 Chris 2008-07-22 20:32:11 UTC
(In reply to comment #9)
> Try to reemerge games-action/cromium with openal-soft instead openal installed
> ;-)
> Some programs need to be patched before using openal-soft

Building Chromium should work with the GIT/SVN version of OpenAL Soft, now. Are there any other apps that fail to build or run properly? I hope to get out OpenAL Soft 1.5 some time this week.
Comment 24 Petr Pisar 2008-07-23 14:24:54 UTC
I have compiled and run flightgear simulator against openal soft successfully. (I'm sorry about no version information, I have no access to the system now.)
Comment 25 Steffen 'j0inty' Stollfuß 2008-08-24 12:24:08 UTC
Created attachment 163705 [details]
openal-1.5.304.ebuild

Simply renamed the ebuild file for a version bump

arko j0inty # openal-info
Available playback devices:
    ALSA Software on default
    ALSA Software on HDA Intel [ALC861VD Analog]
    ALSA Software on HDA Intel [Si3054 Modem]
    OSS Software
    Wave File Writer
Available capture devices:
    ALSA Capture on default
    ALSA Capture on HDA Intel [ALC861VD Analog]
    ALSA Capture on HDA Intel [Si3054 Modem]
    OSS Capture
Default device: ALSA Software on default
Default capture device: ALSA Capture on default
ALC version: 1.1
ALC extensions:
    ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE, ALC_EXT_EFX
OpenAL vendor string: OpenAL Community
OpenAL renderer string: OpenAL Soft
OpenAL version string: 1.1
OpenAL extensions:
    AL_EXT_EXPONENT_DISTANCE, AL_EXT_FLOAT32, AL_EXT_IMA4,
    AL_EXT_LINEAR_DISTANCE, AL_EXT_MCFORMATS, AL_EXT_OFFSET,
    AL_LOKI_quadriphonic
arko j0inty # emerge --info
 * Overlay eclasses override eclasses from PORTDIR:
 *
 *   '/usr/portage/local/layman/vmware/eclass/vmware.eclass'
 *   '/usr/portage/local/layman/vmware/eclass/vmware-mod.eclass'
 *
 * It is best to avoid overridding eclasses from PORTDIR because it will
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you
 * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to
 * run `emerge --regen` after each time that you run `emerge --sync`. Set
 * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to
 * disable this warning.
Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.7-r2, 2.6.26-tuxonice x86_64)
=================================================================
System uname: Linux-2.6.26-tuxonice-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Fri, 22 Aug 2008 12:18:02 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ALSA_CARDS="hda-intel intel8x0m"
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"
ANT_HOME="/usr/share/ant-core"
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"
APACHE2_MPMS="prefork"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_SIZE="2G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-mtune=core2 -march=core2 -mssse3 -O2 -pipe"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLORTERM=""
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-mtune=core2 -march=core2 -mssse3 -O2 -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-P4wRiuRgbI,guid=249bf13a50f84a1e7f05ffb748b13a77"
DCCC_PATH="/usr/lib/distcc/bin"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="default"
DISPLAY=":0.0"
DISTCC_LOG="/var/log/distcc-x86.log"
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
DM_CONTROL="/var/run/xdmctl"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose --nospinner"
EMERGE_WARNING_DELAY="10"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GAMES_DATADIR="/mnt/games"
GAMES_DATADIR_BASE="/mnt"
GAMES_PREFIX_OPT="/mnt/games"
GCC_SPECS=""
GDK_USE_XFT="1"
GDM_LANG="de_DE.UTF-8"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/gentoo/"
GS_LIB="/home/j0inty/.fonts"
GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/j0inty/.gtkrc-2.0:/home/j0inty/.kde3.5/share/config/gtkrc-2.0"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/j0inty/.gtkrc:/home/j0inty/.kde3.5/share/config/gtkrc"
HG="/usr/bin/hg"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.1/info"
INPUT_DEVICES="mouse keyboard evdev synaptics wacom"
JAVAC="/home/j0inty/.gentoo/java-config-2/current-user-vm/bin/javac"
JAVA_HOME="/home/j0inty/.gentoo/java-config-2/current-user-vm"
JDK_HOME="/home/j0inty/.gentoo/java-config-2/current-user-vm"
KDEDIR="/usr/kde/3.5"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KDESU_LC_ALL="de_DE.UTF-8"
KDESU_USER="j0inty"
KDE_MULTIHEAD="false"
KDE_SESSION_UID="1000"
KDM_LANG="de_DE.UTF-8"
KERNEL="linux"
KERNEL_DIR="/usr/src/linux"
KONSOLE_DCOP="DCOPRef(konsole-9980,konsole)"
KONSOLE_DCOP_SESSION="DCOPRef(konsole-9980,session-3)"
LANG="de_DE.UTF-8"
LANGUAGE="de_DE:de:en_GB:en"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ADDRESS="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_CTYPE="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,-z,now -Wl,--as-needed -Wl,--sort-common"
LDFLAGS_x86="-m elf_i386"
LDPATH="/usr/kde/3.5/lib:/usr/kde/3.5/lib64:/usr/kde/3.5/lib32:"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_x86="lib32"
LINGUAS="de en_GB"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MAKEOPTS="-j4"
MANPATH="/home/j0inty/.gentoo/java-config-2/current-user-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.1/man:/etc/java-config/system-vm/man/:/usr/lib64/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/opt/opera/share/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.3.1:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.1:/usr/qt/3/bin:/usr/games/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASES="warn error info log qa"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/portage/local/layman/sunrise /usr/portage/local/layman/vmware /usr/local/portage/gfxboot_overlay /usr/local/portage"
PORT_LOGDIR="/home/elog"
PWD="/home/j0inty"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/4.3.1:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.1:/usr/qt/3/bin:/usr/games/bin"
RPMDIR="/usr/portage/rpm"
SESSION_MANAGER="local/arko:/tmp/.ICE-unix/9517"
SHELL="/bin/bash"
SHLVL="4"
STAGE1_USE="multilib nptl nptlonly unicode"
SUPPORT_ALSA="1"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
USE="X X509 a52 aac aalib acl acpi activefilter adns adplug alsa amd64 amr amrnb amrwb apache2 arts atm audiofile avahi bash-completion berkdb bidi bluetooth branding bzip2 cairo cdda cddb cdr chardet cli cpudetection cracklib crypt css cups cvs dbus dc1394 device-mapper dhcp divx dri dts dv dvb dvd dvdr dvdread eap-tls eds emboss encode esd evo ext2 ext3 fam fat ffmpeg firefox firewire flac foomaticdb fortran gcrypt gdbm ggi gif gimpprint glitz gnutls gphoto2 gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick ipv6 isdnlog jack java javascript jfs jpeg jpeg2k kde kerberos lame ldap libcaca libnotify libsamplerate lm_sensors log4j loop-aes lua mad matroska midi mikmod mjpeg mmx mng modplug mozdevelop mp2 mp3 mp4 mpeg mppe-mppc mtp mudflap multilib musepack mysql nat ncurses netmeeting network nfs nls nntp nptl nptlonly nsplugin ntfs nvidia ofa ogg openal opengl openmp oss pam pcre pdf perforce perl php png portaudio ppds pppd pulseaudio python qt qt3 qt3support qt4 quicktime quotas radius readline realmedia reflection reiserfs restrict-javascript rss rtsp ruby samba sasl sdl sdl-image session sid smi sndfile speex spell spl sql sqlite sse sse2 sse3 ssl ssse3 startup-notification stream subversion svcd svg swat sysfs syslog tcl tcpd theora threads tiff timidity tk tls truetype tta unicode usb v4l v4l2 vcd vim-syntax vorbis wavpack wifi wma wmf wmp x264 xcb xcomposite xforms xfs xine xinerama xml xml2 xorg xosd xprint xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel intel8x0m" 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nvidia vesa v4l"
WINDOWID="65011717"
XAUTHORITY="/tmp/xauth.XXXX10Alkl"
XCURSOR_THEME="default"
XDG_CONFIG_DIRS="/usr/kde/3.5/etc/xdg"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
XDM_MANAGED="/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic"
_="/usr/bin/emerge"
Comment 26 Karl-Robert Ernst 2008-09-13 15:11:39 UTC
Just tried this ebuild (1.5.304) in x86_64:
OpenAL builds fine. Games build fine and have sound (tested with Spring RTS).
Comment 27 Billy DeVincentis 2008-10-16 00:39:38 UTC
This ebuild just solved problems for me emerging several packages.
Comment 28 jszwast 2008-11-01 21:45:04 UTC
This works for me, too, except scorched3d:  Scorched3d configure wants openal-config which apparently only came with openal-0.0.8.  But warzone2100, chromium, supertuxkart, and torcs all compiled fine.  I've only tested Warzone2100 Supertuxkart ingame so far.
Comment 29 Ben de Groot (RETIRED) gentoo-dev 2008-11-05 23:40:02 UTC
openal-1.5.304.ebuild committed, thanks for your contributions!