Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284289 - Ebuild request: raop_play (alsa_raoppcm) is able to stream music to an Apple Airport Express WLAN access point.
Summary: Ebuild request: raop_play (alsa_raoppcm) is able to stream music to an Apple ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://raop-play.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 18:17 UTC by Andreas Thalhammer
Modified: 2010-06-22 21:21 UTC (History)
2 users (show)

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


Attachments
raop-play-0.5.1.ebuild (raop-play-0.5.1.ebuild,703 bytes, text/plain)
2010-06-22 19:21 UTC, Samuli Suominen (RETIRED)
Details
Respect LDFLAGS, CXXFLAGS and fix building. (raop-play-0.5.1.ebuild,860 bytes, text/plain)
2010-06-22 21:21 UTC, Samuli Suominen (RETIRED)
Details
raop-play-0.5.1-gcc44.patch (raop-play-0.5.1-gcc44.patch,698 bytes, patch)
2010-06-22 21:21 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Thalhammer 2009-09-09 18:17:37 UTC
With raop_play and the ALSA driver alsa_raoppcm it should be possible to stream music in the formats m4a (alac or aac), wav, mp3, ogg, flac, aac, pls and rawpcm to an Apple Airport Express WLAN access point. Apple calls this AirTunes, it is officially supported using iTunes for Mac OS X or Windows. With ALSA and the alsa_raoppcm driver in Linux it should be possible for any application to stream music to the Airport Express.

URLs:
http://www.apple.com/airportexpress/
http://raop-play.sourceforge.net/
http://raop-play.sourceforge.net/alsa_raoppcm.html

I also found a weblog report:
http://www.jroller.com/nwinkler/entry/amarok_and_the_airport_express

I'm planning to buy such a device and would be happy to find an ebuild for this in portage. I'm pretty sure I wouldn't be the only one using this WLAN access point.

Thanks in advance.
Comment 1 Andriy Baranskyy 2009-12-03 03:31:56 UTC
There seems to be a problem compiling alsa_raoppcm when using kernel 2.6.31. The application used to work fine, but here is whatb I am getting with the new kernel: 
andriy raop_play # make
for i in rendezvous raop_play aexcl drivers; do make -C $i; done
make[1]: Вхожу у каталог "/opt/raop-cvs/raop_play/rendezvous"
make[1]: Ціль "all" не вимагає виконання команд.
make[1]: Залишаю каталог "/opt/raop-cvs/raop_play/rendezvous"
make[1]: Вхожу у каталог "/opt/raop-cvs/raop_play/raop_play"
make[1]: Ціль "all" не вимагає виконання команд.
make[1]: Залишаю каталог "/opt/raop-cvs/raop_play/raop_play"
make[1]: Вхожу у каталог "/opt/raop-cvs/raop_play/aexcl"
make[1]: Ціль "all" не вимагає виконання команд.
make[1]: Залишаю каталог "/opt/raop-cvs/raop_play/aexcl"
make[1]: Вхожу у каталог "/opt/raop-cvs/raop_play/drivers"
make -C /lib/modules/2.6.31-tuxonice/build  SUBDIRS=/opt/raop-cvs/raop_play/drivers modules
make[2]: Вхожу у каталог "/usr/src/linux-2.6.31-tuxonice"
  CC [M]  /opt/raop-cvs/raop_play/drivers/alsa_raoppcm.o
/opt/raop-cvs/raop_play/drivers/alsa_raoppcm.c:26:26: error: sound/driver.h: No such file or directory
/opt/raop-cvs/raop_play/drivers/alsa_raoppcm.c: In function ‘alsa_raoppcm_init’:
/opt/raop-cvs/raop_play/drivers/alsa_raoppcm.c:280: error: implicit declaration of function ‘snd_card_new’
/opt/raop-cvs/raop_play/drivers/alsa_raoppcm.c:280: warning: assignment makes pointer from integer without a cast
make[3]: *** [/opt/raop-cvs/raop_play/drivers/alsa_raoppcm.o] Помилка 1
make[2]: *** [_module_/opt/raop-cvs/raop_play/drivers] Помилка 2
make[2]: Залишаю каталог "/usr/src/linux-2.6.31-tuxonice"
make[1]: *** [2.6.] Помилка 2
make[1]: Залишаю каталог "/opt/raop-cvs/raop_play/drivers"
make: *** [all] Помилка 2
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-06-22 19:21:27 UTC
Created attachment 236269 [details]
raop-play-0.5.1.ebuild

The package will fail OpenSSL test at ./configure time with forced asneeded, and it will fail to compile later on too.

Then it will also fail to compile with GCC 4.4.0 and modern glibc:

aexcl_play.cxx:209:41: error: invalid conversion from ‘const char*’ to ‘char*’

But I'm attaching ebuild anyway if someone wants to play with it.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-06-22 21:21:01 UTC
Created attachment 236279 [details]
Respect LDFLAGS, CXXFLAGS and fix building.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-06-22 21:21:41 UTC
Created attachment 236281 [details, diff]
raop-play-0.5.1-gcc44.patch

I'm sure there are better ways of fixing the code, but this builds and runs...