Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152007 - [Tracker] flac 1.1.3 compatibility
Summary: [Tracker] flac 1.1.3 compatibility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 157125 157582 157586 157587 157588 157594 157706 157707 157849 157986 181822 181829 181864 185330
Blocks: 184853
  Show dependency tree
 
Reported: 2006-10-19 13:56 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2007-07-14 18:42 UTC (History)
8 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-19 13:56:17 UTC
Currently masked flac-1.1.3_beta2 package is going to widely break API, because upstream:

a) removed libOggFLAC and libOggFLAC++ libraries;
b) moved inside libFLAC the Ogg support;
c) changed some internal APIs entirely.

Up to now, a few packages built fine with the new 1.1.3, mostly the ones that just use the metadata-access functions. Software that uses flac command for encoding without using libFLAC should be fine too, the rest should be checked, if it does not build, or it disables FLAC support (pay attention to that!), then the dependency should be changed to ~media-libs/flac-1.1.2 to make sure the tree is correct. When patches will be available, the dep will be changed.

gnustep-apps/cynthiune-0.9.4
kde-base/kdemultimedia-kioslaves-3.5.2
kde-base/kdemultimedia-kioslaves-3.5.3
kde-base/kdemultimedia-kioslaves-3.5.4
kde-base/kdemultimedia-kioslaves-3.5.5
media-plugins/audacious-plugins-1.2.0-r1
media-plugins/audacious-plugins-1.2.1
media-plugins/gst-plugins-flac-0.10.3
media-plugins/mythmusic-0.19
media-plugins/mythmusic-0.20
media-sound/abcde-2.1.15
media-sound/abcde-2.1.19
media-sound/abcde-2.1.9
media-sound/abcde-2.2.0
media-sound/abcde-2.3.0
media-sound/asunder-0.1.0
media-sound/audacious-1.1.0
media-sound/audacious-1.1.1
media-sound/audacious-1.1.1-r1
media-sound/audacious-1.1.2
media-sound/audacious-1.1.2-r1
media-sound/audiotag-0.13
media-sound/audiotag-0.14
media-sound/audiotag-0.15
media-sound/hydrogen-0.9.0
media-sound/hydrogen-0.9.1
media-sound/hydrogen-0.9.2
media-sound/hydrogen-0.9.3
media-sound/jack-3.0.0
media-sound/jack-3.1.1
media-sound/lltag-0.10
media-sound/lltag-0.12.1
media-sound/moc-2.2.0-r1
media-sound/moc-2.3.0
media-sound/mpd-0.11.5-r2
media-sound/mpd-0.12.0
media-sound/mpd-0.12.1
media-sound/mpd-svn-20060810
media-sound/mpd-svn-20060817
media-sound/mpd-svn-20060824
media-sound/mpd-svn-20060916
media-sound/muine-0.8.4
media-sound/muine-0.8.5
media-sound/prokyon3-0.9.4
media-sound/prokyon3-0.9.4-r1
media-sound/qmbtagger-0.07
media-sound/rezound-0.12.0_beta
media-sound/rezound-0.12.2_beta
media-sound/rezound-0.12.2_beta-r1
media-sound/ripperx-2.6.4
media-sound/ripperx-2.6.6
media-sound/timidity++-2.13.2-r2
media-video/mkvtoolnix-1.5.5
media-video/mkvtoolnix-1.7.0
net-p2p/lopster-1.2.2
net-p2p/lopster-1.2.2-r1
net-p2p/lopster-1.2.2-r2
rox-extra/musicbox-027
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-19 14:10:50 UTC
kdebase-kioslaves uses only flac binary for encoding.
Comment 2 Alexandre Buisse (RETIRED) gentoo-dev 2006-10-19 14:37:45 UTC
lltag only uses metaflac and a test showed it worked fine with the new version.
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2006-10-19 15:36:03 UTC
rox-extra/musicbox-027 is not compatible with 1.1.3 (builds some custom python bindings)

I have changed the dependency to ~media-libs/flac-1.1.2 which works great.
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2006-10-19 15:46:02 UTC
(In reply to comment #0)
> media-sound/mpd-0.11.5-r2
> media-sound/mpd-0.12.0
> media-sound/mpd-0.12.1
> media-sound/mpd-svn-20060810
> media-sound/mpd-svn-20060817
> media-sound/mpd-svn-20060824
> media-sound/mpd-svn-20060916

With flac-1.1.3_beta2, mpd's configure decides to disable oggflac support, but dies during compile anyway. Depend atom changed to ~media-sound/flac-1.1.2.

I'm not going to touch mpd-svn anymore, as it is package.masked and about to be removed from the tree completely.

Thanks for the heads up!
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-19 16:44:39 UTC
mkvtoolnix deps fixed to 1.1.2 too.
Comment 6 Avuton Olrich 2006-10-19 18:43:17 UTC
mpd-svn is depreciated, We're hopeing to have a patch sooner than later for MPD, but no guarantees.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-20 04:49:15 UTC
qmbtagger is incompatible with 1.1.3, dependency fixed.
audiotag uses the commands at runtime, and it's fine.
abcde is a bash script, uses the commands at runtime, and it's fine.
asunder uses the commands at runtime, and it's fine.

The list is now down to:

gnustep-apps/cynthiune-0.9.4
media-plugins/audacious-plugins-1.2.0-r1
media-plugins/audacious-plugins-1.2.1
media-plugins/gst-plugins-flac-0.10.3
media-plugins/mythmusic-0.19
media-plugins/mythmusic-0.20
media-sound/audacious-1.1.0
media-sound/audacious-1.1.1
media-sound/audacious-1.1.1-r1
media-sound/audacious-1.1.2
media-sound/audacious-1.1.2-r1
media-sound/hydrogen-0.9.0
media-sound/hydrogen-0.9.1
media-sound/hydrogen-0.9.2
media-sound/hydrogen-0.9.3
media-sound/jack-3.0.0
media-sound/jack-3.1.1
media-sound/moc-2.2.0-r1
media-sound/moc-2.3.0
media-sound/muine-0.8.4
media-sound/muine-0.8.5
media-sound/prokyon3-0.9.4
media-sound/prokyon3-0.9.4-r1
media-sound/rezound-0.12.0_beta
media-sound/rezound-0.12.2_beta
media-sound/rezound-0.12.2_beta-r1
media-sound/ripperx-2.6.4
media-sound/ripperx-2.6.6
media-sound/timidity++-2.13.2-r2
net-p2p/lopster-1.2.2
net-p2p/lopster-1.2.2-r1
net-p2p/lopster-1.2.2-r2
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-20 11:37:38 UTC
lopster builds fine
jack does not use the library
prokyon3 builds but says FLAC is disabled (not sure if it's a generic bug of the ebuild)
ripperx builds and seems not to require the library
Comment 9 Fabian Groffen gentoo-dev 2006-10-20 13:31:21 UTC
gnustep-apps/cynthiune fixed at 1.1.2
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-20 15:30:15 UTC
audacious (and plugins) checked, does not build, fixed to 1.1.2
mythmusic checked, does not build, fixed to 1.1.2
moc checked, does not build, fixed to 1.1.2

rezound does not build, might be worth removing it? I'll consider that.
prokyon3 still has to be checked, as I'm afraid something is broken in it..

media-plugins/gst-plugins-flac-0.10.3
media-sound/hydrogen-0.9.0
media-sound/hydrogen-0.9.1
media-sound/hydrogen-0.9.2
media-sound/hydrogen-0.9.3
media-sound/muine-0.8.4
media-sound/muine-0.8.5
media-sound/prokyon3-0.9.4
media-sound/prokyon3-0.9.4-r1
media-sound/rezound-0.12.0_beta
media-sound/rezound-0.12.2_beta
media-sound/rezound-0.12.2_beta-r1
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-20 15:44:45 UTC
I cannot test muine on pitr, dotnet guys, it's yours.
Comment 12 Peter Johanson (RETIRED) gentoo-dev 2006-10-20 15:55:11 UTC
My amd64 machine at home will happily test muine for you sometime this weekend.
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-20 16:03:33 UTC
hydrogen depends on libsndfile, which in turn requires flac 1.1.2, so it's not much important right now.

rezound is masked and last rited.

gst-plugins-flac is fixed to 1.1.2.
Comment 14 Peter Johanson (RETIRED) gentoo-dev 2006-10-23 18:23:11 UTC
Fixed muine to 1.1.2 since it uses gst-plugins-flac anyways.
Comment 15 Maarten Maathuis 2006-12-04 12:32:04 UTC
I would like to add easytag to the list of apps in need of "fixing" for flac 1.1.3.
Comment 16 Tony Vroon (RETIRED) gentoo-dev 2006-12-10 04:35:09 UTC
To confirm, the following combination is FLAC 1.1.3 tolerant (tested compile & playback on PPC):
media-sound/audacious-1.2.2
media-plugins/audacious-plugins-1.2.5

Runtime switching is not supported, the configure script will make a decision on whether to build the flac112 or the flac113 plugin.
This should fit in well with a revdep-rebuild. Anyone managing to get FLAC upstream to stop this continuous API breaking madness wins a lot of respect, btw.
Comment 17 Alexis Ballier gentoo-dev 2006-12-10 09:28:50 UTC
(In reply to comment #16)

> Anyone managing to get FLAC
> upstream to stop this continuous API breaking madness wins a lot of respect,
> btw.


I think we can't blame Josh for that, the api changes are meant to simplify flac api and he sent patches to be compatible with both api to almost every single package upstream :) (look at the bunch of bugs I've been filling lately, all patches are from him)


So now, besides the bugs blocking this one, the following packages still need patches :

media-libs/sdl-sound

media-plugins/mythmusic

media-sound/bossogg -- I have patches for this one, but it doesn't want to start (this doesnt seem to be flac related, I'll investigate this)

media-sound/cmus -- doesn't compile with flac 1.1.3, not even ~ depping to flac 1.1.2 : opfer ?

media-sound/hydrogen -- doesn't compile with flac 1.1.3, not even ~ depping to flac 1.1.2 : eldad ?

media-sound/audacity -- doesn't compile with flac 1.1.3, failing at configure, not even ~ depping to flac 1.1.2 : I'll fix this one

media-sound/mpd : Ticho, any news from upstream about this ?

media-sound/muine -- depends on bug #157707 , we'll check this one when it'll be resolved.

media-video/vlc -- We have the patches, Diego (or me) should apply them soon

rox-extra/musicbox


Hopin' I didn't forget anything
Comment 18 Avuton Olrich 2006-12-10 09:37:30 UTC
> media-sound/mpd : Ticho, any news from upstream about this ?

Ticho is not around in #mpd, so here's the skinny. MPDs svn is working with flac-1.1.3, we're simply working out the details of the next release, which hopefully, will happen in the next week.
Comment 19 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-10 10:07:20 UTC
(In reply to comment #17)
> media-sound/cmus -- doesn't compile with flac 1.1.3, not even ~ depping to flac
> 1.1.2 : opfer ?

 I contacted upstream.
Comment 20 Alexis Ballier gentoo-dev 2006-12-10 10:32:01 UTC
(In reply to comment #18)
> Ticho is not around in #mpd, so here's the skinny. MPDs svn is working with
> flac-1.1.3, we're simply working out the details of the next release, which
> hopefully, will happen in the next week.


That's perfect, thanks.


media-video/vlc-0.8.6 is flac 1.1.3 ready

media-sound/timidity++ is not flac 1.1.3 ready, I had forgot it, I have Josh's patches but that'd be better to fix bug #156539 before.
Comment 21 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-10 22:56:42 UTC
(In reply to comment #17)
> media-sound/cmus -- doesn't compile with flac 1.1.3, not even ~ depping to flac
> 1.1.2 : opfer ?

 A new version will be release soon, upstream is investigating how to fix it with flac 1.1.3.  In the meantime, should cmus-2.0.4 depend on flac 1.1.2?  That works here.
Comment 22 Alexis Ballier gentoo-dev 2006-12-10 23:15:11 UTC
>  A new version will be release soon, upstream is investigating how to fix it
> with flac 1.1.3.  In the meantime, should cmus-2.0.4 depend on flac 1.1.2? 
> That works here.


Like Diego said : "... if it does not build, or it disables FLAC support (pay attention to that!),
then the dependency should be changed to ~media-libs/flac-1.1.2 to make sure..." 

:)


If that might help them, there are some flac 1.1.3 patches in the tree. The best way to fix this would be to be compatible with flac 1.1.2 and flac 1.1.3  like it has always been the case with the patches I've commited, so that when we'll be ready to unmask flac 1.1.3 there won't be any extra work.
Comment 23 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-18 16:31:44 UTC
cmus will build with flac 1.1.3 in the next release...should I backport the patch or just wait for new upstream files?
Comment 24 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-18 16:39:04 UTC
Feel free to wait, it will take a bit before we unmask it anyway.
Comment 25 Christian Faulhammer (RETIRED) gentoo-dev 2007-01-03 03:16:14 UTC
cmus is updated to 2.1.0, which supports flac 1.1.3 and .2
Comment 26 Dominique Michel 2007-04-07 12:31:33 UTC
Just to say at flac>=1.3 will break 
media-sound/alsaplayer with USE=flac.

I committed a fix into alsaplayer svn and I am doing some tests. A new release with support for flac 1.2, 1.3 and 1.4 will be done in the following days. Normally, it will be enough to just bump alsaplayer ebuild when the release will be done.
Comment 27 Maarten Maathuis 2007-05-14 17:58:57 UTC
Is there something keeping flac from being unmasked?
Comment 28 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-23 15:56:47 UTC
(In reply to comment #27)
> Is there something keeping flac from being unmasked?

No.
Comment 29 Alexis Ballier gentoo-dev 2007-06-23 16:11:04 UTC
(In reply to comment #28)
> (In reply to comment #27)
> > Is there something keeping flac from being unmasked?
> 
> No.
> 

3 packages that fail to build isn't enough ?

Note that if you don't care about those packages, you can still unmask flac locally, so I don't see the point in unmasking it while we *know* that some packages will break
Comment 30 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-23 17:15:33 UTC
(In reply to comment #29)
> 3 packages that fail to build

Exactly which ones?
Comment 31 Alexis Ballier gentoo-dev 2007-06-23 18:01:30 UTC
(In reply to comment #30)
> (In reply to comment #29)
> > 3 packages that fail to build
> 
> Exactly which ones?
> 

the ones for which I had opened a bug and that this bug depends on, i.e., bug #181822 , bug #181829 , bug #181864 that are still not marked as fixed
Comment 32 Samuli Suominen (RETIRED) gentoo-dev 2007-07-12 17:40:16 UTC
(In reply to comment #15)
> I would like to add easytag to the list of apps in need of "fixing" for flac
> 1.1.3.
> 

It's been fixed by upstream before 2.0 release in testing 1.99.x ones, and ~arch is actually in version 2.1.2 by now. Previous versions have been removed from tree, they we're using GTK+-1.2 anyways.. fugly..
Comment 33 Samuli Suominen (RETIRED) gentoo-dev 2007-07-13 18:59:39 UTC
Unmasked.
Comment 34 Samuli Suominen (RETIRED) gentoo-dev 2007-07-14 18:42:52 UTC
Nothing left to do here. All bugs closed.