I was wondering if there is / would be any support for FLAC-coded media in beep-media-player (bmp). On some (mainly Mandrake related) sites I found people writing that the "solution" would be sym-linking xmms flac library, which 1. is not "elegant" -- I don't want xmms at all on my machine 2. didn't work for me... Reproducible: Always Steps to Reproduce: 1a.BMP->Preferences->Plugins->Media -- no "FLAC Audio Plugin" 1b.trying to read *flac file results with an error Actual Results: flac file didn't load Expected Results: open flac file and play it's contents
Created attachment 44710 [details, diff] flac-1.1.1-bmp.patch
Created attachment 44711 [details] flac-1.1.1-r1.ebuild
I can't get it to build as a BMP plugin, here are the patch I came up with and the ebuild changes. I am hoping someone else will come along and fix the GTK stuff. Stops compiling as follows (this configure.c file is in src/plugin_xmms): configure.c: In function `FLAC_XMMS__configure': configure.c:244: error: `GTK_WINDOW_DIALOG' undeclared (first use in this function) configure.c:244: error: (Each undeclared identifier is reported only once configure.c:244: error: for each function it appears in.) configure.c:270: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:301: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:338: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:343: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:351: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:361: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:386: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:399: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:417: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:423: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:429: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:435: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:449: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c:455: warning: passing arg 3 of `gtk_signal_connect_full' from incompatible pointer type configure.c: In function `gtk_entry_get_text_1': configure.c:512: warning: return discards qualifiers from pointer target type configure.c:515: warning: return discards qualifiers from pointer target type make[3]: *** [configure.lo] Error 1
using the libxmms-flac works here as long as I dont use the graphical part of it (i.e. ask for file info) for obvious reasons - but just playing flac works well.
Nicolai: how did you configure bmp? maybe i did something wrong and this is actual reason why i can't have FLAC played with xmms plugin...
symlinking works, but no fileinfo (-> crash) Patching the flac-ebuild is IMHO not a good idea. A seperate 'bmp-flac' ebuild would be better. btw: also for 'xmms-flac' itself. A seperate ebuild would be better in this case, instead of a USE-flag. 'All-in-one' ebuilds are sometimes not appropriate.
Same error as Tony Vroon...
The error only occurs when using the "bmp" flag, otherwise it works ok. The cvs version that you can find here compiles just fine: http://ccm.sherry.jp/tmp/flac-CVS-20040316-with-bmp-plugin.tar.bz2 I'll try to copy or make a symlink for the flac library to the beep-media-player's plugin directory and see if it works (both playing a file and see its tags)
After compiling the CVS version (./configure && make)copy the following files to /usr/lib64/bmp/Input : -flac-CVS-20040316-with-bmp-plugin/src/plugin_bmp/.libs/libbmp-flac.so -flac-CVS-20040316-with-bmp-plugin/src/plugin_bmp/libbmp-flac.la libbmp-flac.la contains dependencies information that may point to the path where you compiled so if you erase such directory it will fail. I suggest to install flac and change paths accordingly.
Created attachment 51879 [details] libs for flac support in bmp (compiled for amd64)
Comment on attachment 51879 [details] libs for flac support in bmp (compiled for amd64) oops... wrong file
Created attachment 51881 [details] libbmp-flac.la (compiled for amd64) I stand corrected, it doesn't matter where the paths are pointing, it always works.
Created attachment 51882 [details] libbmp-flac.so (compiled for amd64)
Various attempts have been made at making this compile properly, none have succeeded. Please follow the URL to see the recent fork of BMP 0.9.7.1 into the "Audacious" player, which plans to include AAC & FLAC support on the BMP codebase. With regard to BMP, the final release 0.9.7.1 did not include FLAC support, and development has ceased.