Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72443 - beep-media-player (bmp): no support for FLAC codec
Summary: beep-media-player (bmp): no support for FLAC codec
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL: http://audacious.nenolod.net/Main_Page
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-25 04:02 UTC by Mateusz Neumann
Modified: 2005-10-29 14:46 UTC (History)
5 users (show)

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


Attachments
flac-1.1.1-bmp.patch (flac-1.1.1-bmp.patch,1.09 KB, patch)
2004-11-25 05:58 UTC, Tony Vroon
Details | Diff
flac-1.1.1-r1.ebuild (flac-1.1.1-r1.ebuild,1.72 KB, text/plain)
2004-11-25 05:59 UTC, Tony Vroon
Details
libs for flac support in bmp (compiled for amd64) (libbmp-flac.la,3.23 KB, application/octet-stream)
2005-02-22 08:25 UTC, Pablo Trabajos
Details
libbmp-flac.la (compiled for amd64) (libbmp-flac.la,3.23 KB, application/octet-stream)
2005-02-22 08:38 UTC, Pablo Trabajos
Details
libbmp-flac.so (compiled for amd64) (libbmp-flac.so,248.49 KB, application/octet-stream)
2005-02-22 08:45 UTC, Pablo Trabajos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Neumann 2004-11-25 04:02:02 UTC
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
Comment 1 Tony Vroon gentoo-dev 2004-11-25 05:58:43 UTC
Created attachment 44710 [details, diff]
flac-1.1.1-bmp.patch
Comment 2 Tony Vroon gentoo-dev 2004-11-25 05:59:04 UTC
Created attachment 44711 [details]
flac-1.1.1-r1.ebuild
Comment 3 Tony Vroon gentoo-dev 2004-11-25 06:01:13 UTC
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
Comment 4 Nicolai Lissner 2004-11-25 11:21:41 UTC
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.
Comment 5 Mateusz Neumann 2004-11-25 23:13:37 UTC
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...
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2005-01-09 03:19:01 UTC
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.
Comment 7 Pablo Trabajos 2005-02-22 05:12:05 UTC
Same error as Tony Vroon...
Comment 8 Pablo Trabajos 2005-02-22 07:28:08 UTC
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)
Comment 9 Pablo Trabajos 2005-02-22 08:15:34 UTC
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.
Comment 10 Pablo Trabajos 2005-02-22 08:25:21 UTC
Created attachment 51879 [details]
libs for flac support in bmp (compiled for amd64)
Comment 11 Pablo Trabajos 2005-02-22 08:30:08 UTC
Comment on attachment 51879 [details]
libs for flac support in bmp (compiled for amd64)

oops... wrong file
Comment 12 Pablo Trabajos 2005-02-22 08:38:38 UTC
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.
Comment 13 Pablo Trabajos 2005-02-22 08:45:45 UTC
Created attachment 51882 [details]
libbmp-flac.so (compiled for amd64)
Comment 14 Tony Vroon gentoo-dev 2005-10-29 14:46:01 UTC
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.