SLOT="0" KEYWORDS="x86" DESCRIPTION="Lightweight, free, cross-platform sound library" HOMEPAGE="http://audiere.sourceforge.net" SRC_URI="http://unc.dl.sourceforge.net/sourceforge/audiere/audiere-1.9.3.tar.gz" IUSE="" LICENSE="LGPL-2" src_install() { make DESTDIR=${D} install || die "make install failed" }
Created attachment 42128 [details] ebuild for audiere
is there any packages that actually need this library?
*** Bug 54950 has been marked as a duplicate of this bug. ***
Audiere's used in some of the Ogre3d demos. It's a pretty good api. In all fairness, it deserves an ebuild because it makes it just that tad easier to install for someone developing a program that needs sound.
Created attachment 54864 [details] updated media-libs/audiere ebuild I've added media-libs/flac to DEPEND.
The ebuild is unusable as it's now. Please see documentation to prepare a valid ebuild.
Created attachment 89503 [details] new ebuild for audiere
Created attachment 89504 [details, diff] Patch for Makefile.am - adds "foreign" to AUTOMAKE_OPTIONS
Created attachment 89505 [details, diff] patch for configure.in - fixes dependencies, speex support.
Just posted a new ebuild and 2 patches. The Makefile.am patch adds foreign to AUTOMAKE_OPTIONS (needed for autoreconf). The configure.in patch fixes dependency issues (originally, all deps were auto-detected and enabled if present). Note: Speex support failed to compile for me using GCC 4.1.1, and requires a rather nasty kludge to even work at all. I'm about to file a bug upstream to get a better fix for speex support (speex headers need to be #included using "speex/header" instead of just "header"). If somebody will test this ebuild with GCC 3.4 and/or GCC 4.0 I'd be grateful.
(In reply to comment #7) > Created an attachment (id=89503) [edit] > new ebuild for audiere > - You should only have one inherit line in the ebuild, with all eclasses there. - 'MYCONF=use_enable debug' is not a valid syntax.
Created attachment 89524 [details] updated ebuild for audiere Fixes inherit, configure flags. --Arek
The compilation doesn't work for me : if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"audiere\" -DVERSION=\"1.9.4\" -DDEBUG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DNO_FLAC=1 -DNO_DUMB=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_WXWINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_OSS=1 -DNO_SPEEX=1 -I. -I. -I ../../src -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -O2 -mtune=i686 -march=pentium4 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden -g -Wall -Wno-non-virtual-dtor -MT wxPlayer-DeviceFrame.o -MD -MP -MF ".deps/wxPlayer-DeviceFrame.Tpo" -c -o wxPlayer-DeviceFrame.o `test -f 'DeviceFrame.cpp' || echo './'`DeviceFrame.cpp; \ then mv -f ".deps/wxPlayer-DeviceFrame.Tpo" ".deps/wxPlayer-DeviceFrame.Po"; else rm -f ".deps/wxPlayer-DeviceFrame.Tpo"; exit 1; fi /usr/include/wx-2.6/wx/hashmap.h: In member function 'wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const': /usr/include/wx-2.6/wx/hashmap.h:705: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/clntdata.h: In member function 'wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.6/wx/clntdata.h:26: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/clntdata.h: In member function 'wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.6/wx/clntdata.h:31: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/gdicmn.h: In member function 'wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.6/wx/gdicmn.h:476: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/image.h: In member function 'wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const': /usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned pointer will break strict-aliasing rules DeviceFrame.cpp: In constructor 'DeviceFrame::DeviceFrame(audiere::AudioDevicePtr)': DeviceFrame.cpp:60: error: call of overloaded 'wxString(const char*)' is ambiguous /usr/include/wx-2.6/wx/string.h:718: note: candidates are: wxString::wxString(const wxWCharBuffer&) <near match> /usr/include/wx-2.6/wx/string.h:690: note: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.6/wx/string.h:688: note: wxString::wxString(const wxString&) <near match> /usr/include/wx-2.6/wx/string.h:680: note: wxString::wxString(int) <near match> make: *** [wxPlayer-DeviceFrame.o] Error 1 localhost wxPlayer # x11-libs/wxGTK-2.6.3.3 (/usr/include/wx-2.6/wx/string.h)
Created attachment 121396 [details, diff] Fix the compialtion problem The patch comes from project : http://sourceforge.net/tracker/index.php?func=detail&aid=1688993&group_id=32783&atid=406496 It seems it works :)
Created attachment 121634 [details] audiere-1.9.4.ebuild Everything works for me.
Created attachment 121635 [details] files/audiere-1.9.4-configure.in.patch
Created attachment 121636 [details] files/audiere-1.9.4-Makefile.am.patch
Created attachment 121637 [details] files/audiere-1.9.4-speex-path.patch
Created attachment 121638 [details] files/audiere-1.9.4-wx-fixes.patch
I'm in the process of adding a live ebuild of wxMUD to the portage tree. It is a graphical MUD client, maintainer upstream by myself, and it has optional support for audiere for doing the actual playing of sound that is requested over the MUD Sound Protocol (MSP). So I'm wondering if there are other actual use cases for audiere around, with upstream being pretty silent, with last release almost two years ago. Or maybe I should simply convert wxMUD to use a different sound library, that is perhaps better and more maintained upstream. Meanwhile I'm interested in an audiere ebuild in portage too, to be able to optionally compile support for it in the wxMUD ebuild - however if there is no point in using audiere these days with something better existing, I'd better rewrite the minimal sound code to use that different thing before an actual release (as opposed to that live ebuild). Comments?
Created attachment 172355 [details, diff] GCC 4.3 compile error fix
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Created attachment 199900 [details] media-libs/audiere-1.9.4.ebuild updated DEPEND, removed redundant WANT_* calls, fixed ebuild headers and added gcc4.3 patch from #172355
Created attachment 242749 [details, diff] media-libs/audiere/files/audiere-1.9.4-gcc4.patch an additional patch which is required for newer gccs.
omg. sry - forget my patch. I had an old ebuild in my local overlay which didn't have Roman Karshiev's patch included... sry for noise - time's up for weekend...
Emerge failed... libtool: compile: i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"audiere\" -DVERSION=\"1.9.4\" -DDEBUG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_FLAC=1 -DNO_DUMB=1 -DHAVE_CLOCK_GETTIME=1 -DSTDC_HEADERS=1 -DHAVE_OSS=1 -DNO_SPEEX=1 -I. -O2 -march=core2 -mtune=generic -pipe -g -g -Wall -Wno-non-virtual-dtor -MT utility.lo -MD -MP -MF .deps/utility.Tpo -c utility.cpp -fPIC -DPIC -o .libs/utility.o utility.cpp: In member function 'int audiere::ParameterList::getInt(const std::string&, int) const': utility.cpp:67:27: error: 'sprintf' was not declared in this scope make[3]: *** [utility.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/audiere-1.9.4/work/audiere-1.9.4/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/audiere-1.9.4/work/audiere-1.9.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/audiere-1.9.4/work/audiere-1.9.4' make: *** [all] Error 2 emake failed ------------ Portage 2.1.9.25 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r3-libre-waltercool i686) ================================================================= System uname: Linux-2.6.36-gentoo-r3-libre-waltercool-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 06 Dec 2010 22:00:23 +0000 ccache version 3.1.3 [enabled] app-shells/bash: 4.1_p9 dev-lang/python: 2.7.1, 3.1.3 dev-util/ccache: 3.1.3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.7 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.5.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="@FREE skype-eula unRAR 2dboy-EULA hemispheregames-EULA NWN-EULA ut2003" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -mtune=generic -pipe -g" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=core2 -mtune=generic -pipe -g" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en es" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="gzip" PORTAGE_COMPRESS_FLAGS="-9" 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="/var/lib/layman/gnome /var/lib/layman/mozilla /var/lib/layman/armagetron /var/lib/layman/sunrise /var/lib/layman/waltercool" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amr apng auto-hinter autoipd avahi bash-completion berkdb blender-game bluetooth branding bzip2 cairo ccache cdda cddb cdr cjk cleartype cli collab connection-sharing consolekit cracklib crypt curl cxx daap dbus deblob dhclient djvu dri drm dts dvd dvdr dvi eds emboss encode evo exif expat faac fam fat ffmpeg firefox flac fontconfig fortran fuse gcj gconf gdbm gdu gif git glade gles glitz gmp gnome gnome-keyring gnuplot gnutls gpg gpm gstreamer gtk hpn iconv imagemagick ipv6 jabber jpeg lame laptop latex lcdfilter lcms libffi libnotify libv4l2 lj mad matroska mdnsresponder-compat mercurial mikmod mmx mng modules mp3 mp4 mpeg msn mudflap multitarget musicbrainz nautilus ncurses network networkmanager nfs nls nowin nptl nptlonly nsplugin objc objc++ objc-gc offensive ogg openal openexr opengl openmp openssl openxml otr ots pam pango pdf plotutils png policykit ppds pppd pulseaudio python python3 qt3support readline realtime samba sdl session sip smp sndfile sound spell sqlite sqlite3 sse sse2 ssl stars startup-notification subversion svg svn symlink sysfs tcl tcpd templates theora thesaurus thin-splines threads thumbnail tiff timidity tk truetype twolame udev umfpack unicode usb v4l2 vala videos vim-syntax vorbis weather webkit wifi winbind x264 x86 xcb xchatdccserver xinerama xml xorg xulrunner xv xvid zeroconf 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
I have an updated fork of audiere with modernized build metadata and fixes from abandoned svn and from forks: https://github.com/poikilos/audiere I hope this helps.