Bug 214149 - port to new libmpcdec API
Summary: port to new libmpcdec API
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 1.68.0
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 19:19 UTC by Fathi Boudra
Modified: 2009-11-21 21:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
port attempt to the new libmpcdec API (5.06 KB, application/octet-stream)
2009-11-11 19:22 UTC, Fathi Boudra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fathi Boudra 2009-11-11 19:19:31 UTC
Version:           1.68.0 alpha3 (using KDE 4.3.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

This is a forwarded Debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476379

please port your application to the new libmpcdec API in experimental.
You find it as libmpcdec-dev / libmpcdec6 in the libmpc source package.

The API changes are fairly trivial, see [0] for a patch that does this
for the GStreamer plugin.

The API might not be 100% stable yet but there are very few changes (if
any) to be expected. I don't know if libmpc (and Musepack's stream
version 8) will be ready for lenny but when this gets uploaded to
unstable this bugs will become grave.

Thanks

[0] http://bugzilla.gnome.org/show_bug.cgi?id=526905
Comment 1 Fathi Boudra 2009-11-11 19:22:00 UTC
Created attachment 38267 [details]
port attempt to the new libmpcdec API

Please find attached an attempt to port k3b to the new libmpcdec API.
It is based on SVN trunk, as I thought the KDE4 port of k3b will
replace the 1.x KDE3 one pretty soon.

Apparently playback support was removed (to be replaced by Phonon,
maybe?), so I'm not entirely sure that the patch is correct.
Comment 2 Michał Małek 2009-11-21 21:57:02 UTC
SVN commit 1052485 by mmalek:

Added suport for new libmpcdec API. Patch by Yavor Doganov, thanks a lot!
BUG: 214149
CC: yavor@gnu.org

 M  +27 -16    cmake/modules/FindMuse.cmake  
 M  +1 -0      plugins/decoder/musepack/k3bmpc_config.h.cmake  
 M  +58 -0     plugins/decoder/musepack/k3bmpcwrapper.cpp  
 M  +4 -0      plugins/decoder/musepack/k3bmpcwrapper.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1052485