View previous topic :: View next topic |
Which should be the default in Gentoo, ffmpeg or libav? |
I prefer ffmpeg, and it should be the default. |
|
61% |
[ 199 ] |
I prefer ffmpeg, but I am fine if libav is the default. |
|
4% |
[ 14 ] |
I prefer libav, and it should be the default. |
|
5% |
[ 18 ] |
I prefer libav, but I am fine if ffmpeg is the default. |
|
2% |
[ 8 ] |
I don't care about the default, but users should have a smooth experience with it, even if that means additional hardships for those who choose differently. |
|
7% |
[ 24 ] |
I don't care about the default, but it should be easy to use the non-default, even if that causes a less smooth experience for users of the default. |
|
11% |
[ 38 ] |
I don't care either way. |
|
4% |
[ 14 ] |
None of the above/Other (please comment) |
|
2% |
[ 7 ] |
|
Total Votes : 322 |
|
Author |
Message |
greyspoke Apprentice
Joined: 08 Jan 2010 Posts: 173
|
Posted: Mon Feb 16, 2015 9:45 pm Post subject: |
|
|
stephan-t wrote: | The gstreamer flag always pull the gst-plugins-libav that pull libav.
the mpd and mplayer2 won't work without libav.
I cannot set the correct per package flag. |
Well I seem to have gst-plugins-libav but no libav:
Code: | charles@highgrove ~ $ equery list libav
!!! No installed packages matching 'libav'
* Searching for libav ...
charles@highgrove ~ $ equery list gst-plugins-libav
* Searching for gst-plugins-libav ...
[IP-] [ ] media-plugins/gst-plugins-libav-1.4.5-r1:1.0
charles@highgrove ~ $
charles@highgrove ~ $ equery list ffmpeg
* Searching for ffmpeg ...
[IP-] [ ] media-video/ffmpeg-2.5.3:0/54.56.56
charles@highgrove ~ $
|
|
|
Back to top |
|
|
ff11 l33t
Joined: 10 Mar 2014 Posts: 664
|
Posted: Mon Feb 16, 2015 9:50 pm Post subject: |
|
|
stephan-t wrote: | The gstreamer flag always pull the gst-plugins-libav that pull libav.
the mpd and mplayer2 won't work without libav.
I cannot set the correct per package flag. |
You have to chose first if you go with libav or ffmpeg, you can't have the 2 (even one for a package, and other to another package are not allowed). Then remove the all trace of the other, rebuild your system, them install what you want, and if you can't install without the 2, then report a bug on bugs.gentoo.org. |
|
Back to top |
|
|
Adarion Tux's lil' helper
Joined: 22 Aug 2005 Posts: 78
|
Posted: Tue Feb 17, 2015 8:27 am Post subject: |
|
|
1st thought that came to my mind seeing the poll:
No, thanks. None of both projects.
I don't care which one is used - as long as things work and users can switch without too much trouble.
But imo currently both projects and their interaction with programs that have a dependency on them are in a DIRE state. On my system(s) I couldn't get anything to work correctly for months. Either no DVD playback or no mp4 file playback or garbled or it is something else. Some players never worked at all. Things are constantly causing rebuilds and some software can only use ffmpeg but will either fail to compile with ffmpeg also or exhibit runtime problems.
How about suggesting both projects to shake hands again and do some good maintenance release? _________________ stop tcpa, swpatents, corrupt politicians and other scary stuff |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Tue Feb 17, 2015 8:39 am Post subject: |
|
|
Adarion wrote: | How about suggesting both projects to shake hands again and do some good maintenance release? |
What do we do if that does not work?
One thing that springs to mind, at least for GNU systems, or those using GNU ld as system linker, which I believe is every Gentoo install including under prefix, is to install the libs to separate locations and use rpath/rpath-link.
The only option that makes sense to me, is to leave ffmpeg where it is, since it is most compatible and the original project. Then install libav to a private location, and add the relevant flags to packages which require it, and cannot work with ffmpeg.
Should the situation change, and libav take over, ie ffmpeg becomes a dead project, it's easy enough to switch over, with a modicum of coordination. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Tue Feb 17, 2015 11:25 am Post subject: |
|
|
There is the issue of why, in its present state, libav is available as it is - I still think it should be hard-masked until a few of what I listed is resolved: security, namespace at the very least...
There is a separate issue as to how to deal with this. LibAV is "special" as there is a gentoo dev associated with the split, but what if another project does this? Its bad form but clearly assuming civilised behaviour cannot be guaranteed upon
There is a 3rd issue and that was what drove this thread and the poll: How to set the default. It is being suggested that libav has been the default for some time (2years), it was only the default due to the order libav and ffmpeg were being listed in the ebuild which results in one being "prefered" calling it the default and one for 2years is a stretch as one always has to be listed 1st. If ffmpeg was already installed it was business as usual. This change now, a change to manage the divergence of the two projects WHILE polluting the same namespace has added an unclear situation to users which resulted in a new USE flag being created libav which by DEFAULT was enabled thus setting libav as the gentoo prefered default on the 1st Feb.
The problem is we now have two USE flags ffmpeg and libav and it is causing some users confusion. Rewind... 3years (pre libav coup)
the ffmpeg USE flag was added for packages that *could* be build with ffmpeg support GREAT, Gentoo usual method of giving choice to the user. But what does this flag/library provide? it was named ffmpeg BECAUSE that was all that provided it.
2 years ago:
ffmpeg and libav were mostly compatible and did the same thing, being handled via a VIRTUAL was adequate: USE=ffmpeg would indicate media support or not and then what the user chose to separately install manage the choice (with libav being pulled in if you didn't manually pull in ffmpeg ... ugly way but meh...)
Now:
clear incompatibilities and technical reasons not to choose libav, a new USE flag created to "manage" the choice but it obtusified the issue. People read up on the issue and see that ffmpeg works so USE="ffmpeg" is natural and logical BUT libav is then pulled in because of the new USE flag *FACEPALM*
wouldn't it be more logical to
1) rename the present ffmpeg USE flag to say ... medialib since at the end of the day this is indicating that the user/package want to have media capability provided by another package
2) the ffmpeg USE flag indicates ffmpeg to be ... USED
2) the libav USE flag indicates libav to be ... USED
So:
USE = "-medialib" no media capability enabled in the ebuild: this covers: USE="-medialib -ffmpeg -libav" USE="-medialib ffmpeg -libav" USE="-medialib -ffmpeg libav" USE="-medialib ffmpeg libav #invalid but -medialib dominate"
USE = medialib would then require one of two USE flags
USE = "medialib -ffmpeg -libav" = EBUILD USE warning that the user needs to choose,set a flag
USE = "medialib -ffmpeg libav" = builds ok, pulls in libav and builds with that
USE = "medialib ffmpeg -libav" = builds ok, pulls in ffmpeg and builds with that
USE = "medialib ffmpeg libav" = WARNING!!! incompatible combination, the ebuild for ffmpeg and libav will themselves report a blockage.
That covers the 8 combinations and is a lot clearer to the user until upstream sorts their act out or gentoo blacklists one or the other ...
every "ffmpeg" ebuild would have to be touched but unfortunately thats the way it is, they have to be tested with ffmpeg and libav to see which can be build with either and which cannot (whether it works is a different story...) _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5337 Location: Bavaria
|
Posted: Tue Feb 17, 2015 11:50 am Post subject: |
|
|
Naib,
thanks for your clear conclusion ... but I dont understand why you need a third USE-Flag.
Naib wrote: |
Now:
clear incompatibilities and technical reasons not to choose libav, a new USE flag created to "manage" the choice but it obtusified the issue. People read up on the issue and see that ffmpeg works so USE="ffmpeg" is natural and logical BUT libav is then pulled in because of the new USE flag *FACEPALM*
wouldn't it be more logical to
1) rename the present ffmpeg USE flag to say ... medialib since at the end of the day this is indicating that the user/package want to have media capability provided by another package
2) the ffmpeg USE flag indicates ffmpeg to be ... USED
2) the libav USE flag indicates libav to be ... USED
So:
USE = "-medialib" no media capability enabled in the ebuild: this covers: USE="-medialib -ffmpeg -libav" USE="-medialib ffmpeg -libav" USE="-medialib -ffmpeg libav" USE="-medialib ffmpeg libav #invalid but -medialib dominate"
USE = medialib would then require one of two USE flags
USE = "medialib -ffmpeg -libav" = EBUILD USE warning that the user needs to choose,set a flag
USE = "medialib -ffmpeg libav" = builds ok, pulls in libav and builds with that
USE = "medialib ffmpeg -libav" = builds ok, pulls in ffmpeg and builds with that
USE = "medialib ffmpeg libav" = WARNING!!! incompatible combination, the ebuild for ffmpeg and libav will themselves report a blockage.
|
If ... the USE-Flag "ffmpeg" would only pulls in ffmpeg and the USE-Flag "libav" would only pulls in "libav" you have only 4 possibilities:
1. if no one is set and an application needs one of them you get an EBUILD USE warning
2. you get ffmpeg
3. you get libav
4. if both are set you get the WARNING
Please correct me if Im wrong. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Tue Feb 17, 2015 11:54 am Post subject: |
|
|
More for clarity. You are right this can be done with just two USE flags but the present method "is with two USE flags ... poorly"
The issue at present is the definition of the present ffmpeg USE flag, it is actually closer to a medialib USE flag thus, explicitly labeling it as a medialib USE flag in my example helps remove any ambiguity based upon present implementation (tunnel vision by some...) split that misuse and a lot of things become simpler and self-explanatory to the user.
OR even better drop the ffmpeg USE flag to provide a clear split
libff and libav USE flags _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5337 Location: Bavaria
|
Posted: Tue Feb 17, 2015 12:24 pm Post subject: |
|
|
Naib wrote: | OR even better drop the ffmpeg USE flag to provide a clear split
libff and libav USE flags |
This would be only a renaming and I dont like to check my Use-flags the whole time. BTW: I installed a new Notebook in Dec.2014 and didnt recognize that I have "avlib" instead of ffmpeg. I thought, with having the same Use-flags as I have on my PC I get the same installation as I have on my PC ... (
So more even better: Drop the libav-Use-Flag !
If someone (like me) has ffmpeg set, ffmpeg will be installed. If it isnt set and an application needs one of them, avlib will be installed ... |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Tue Feb 17, 2015 12:26 pm Post subject: |
|
|
pietinger wrote: | Naib wrote: | OR even better drop the ffmpeg USE flag to provide a clear split
libff and libav USE flags |
This would be only a renaming and I dont like to check my Use-flags the whole time. BTW: I installed a new Notebook in Dec.2014 and didnt recognize that I have "avlib" instead of ffmpeg. I thought, with having the same Use-flags as I have on my PC I get the same installation as I have on my PC ... (
So more even better: Drop the libav-Use-Flag !
If someone (like me) have it set, ffmpeg will be installed. If it isnt set and an application needs one of them, avlib will be installed ... | Your case (and quite a few like it) are exactly why what has been done is wrong! ffmpeg is being treated as a medialib USE flag and libav is being treated as a BINARY libav OR ffmpeg USE flag (what if a 3rd library comes along)
IDEALLY libav is dropped
2nd best re-define what the ffmpeg USE flag means as right now it does NOT mean use ffmpeg *facepalm* _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Tue Feb 17, 2015 1:21 pm Post subject: |
|
|
Naib wrote: | There is the issue of why, in its present state, libav is available as it is - I still think it should be hard-masked until a few of what I listed is resolved: security, namespace at the very least...
There is a separate issue as to how to deal with this. LibAV is "special" as there is a gentoo dev associated with the split, but what if another project does this? Its bad form but clearly assuming civilised behaviour cannot be guaranteed upon |
Naib ... it should be hardmasked and/or removed and those responsible be given a stern warning that they have a responsibility not to create such situations for users. That's the problem here, users (and gentoo as a whole) are having to deal with the consequences of allowing developers to "do what they want" in violation of the stated principles of the gentoo charter: for the community, by the community. Users were not clamouring for libav and so have the 'choice' or one or other, nor would they expect such a choice would lead to a situation in which some package would build with one and not the other, or that they would have to abandon some specific app because the required lib can't co-exist (as libav is attempting, via namespace occupation, to replace ffmpeg). None of this is "for the community", or for the benefit of users ... it the very opposite. Fine, libav forked, they are now free of the shackles of MN's dictatorial rule, good for them, but for all of the repercussions of this fork to then effect users negatively, and for this to be played out within a distribution with the stated aim of being "for the community" is basically shameful.
This view is contested, somehow these effects were all unforeseen, or the outcome of developers trying to provide what users want ... well, I'll leave the reader to decide the truth of this.
Naib wrote: | wouldn't it be more logical to
1) rename the present ffmpeg USE flag to say ... medialib since at the end of the day this is indicating that the user/package want to have media capability provided by another package
2) the ffmpeg USE flag indicates ffmpeg to be ... USED
2) the libav USE flag indicates libav to be ... USED |
The problem I have with this is that it requires changes (and so effects users) simply because developers need to sort out a problem that any rational person would have seen as an outcome of the path that was chosen. So, again, its the users getting short changed for a decision that was made without consideration of those users ... because developers "do what they want". If anyone should pay the price of this it is the developers who got us here, and they should be put in line and told in no uncertain terms on who's behalf they are working.
best ... khay |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Tue Feb 17, 2015 3:37 pm Post subject: |
|
|
khayyam wrote: | Naib wrote: | There is the issue of why, in its present state, libav is available as it is - I still think it should be hard-masked until a few of what I listed is resolved: security, namespace at the very least...
There is a separate issue as to how to deal with this. LibAV is "special" as there is a gentoo dev associated with the split, but what if another project does this? Its bad form but clearly assuming civilised behaviour cannot be guaranteed upon |
Naib ... it should be hardmasked and/or removed and those responsible be given a stern warning that they have a responsibility not to create such situations for users. That's the problem here, users (and gentoo as a whole) are having to deal with the consequences of allowing developers to "do what they want" in violation of the stated principles of the gentoo charter: for the community, by the community. Users were not clamouring for libav and so have the 'choice' or one or other, nor would they expect such a choice would lead to a situation in which some package would build with one and not the other, or that they would have to abandon some specific app because the required lib can't co-exist (as libav is attempting, via namespace occupation, to replace ffmpeg). None of this is "for the community", or for the benefit of users ... it the very opposite. Fine, libav forked, they are now free of the shackles of MN's dictatorial rule, good for them, but for all of the repercussions of this fork to then effect users negatively, and for this to be played out within a distribution with the stated aim of being "for the community" is basically shameful.
This view is contested, somehow these effects were all unforeseen, or the outcome of developers trying to provide what users want ... well, I'll leave the reader to decide the truth of this. |
Those two sentences were more of a quick summary, especially as I have and others covered it. I agree basically was just trying to separate it out for the next part.
khayyam wrote: |
Naib wrote: | wouldn't it be more logical to
1) rename the present ffmpeg USE flag to say ... medialib since at the end of the day this is indicating that the user/package want to have media capability provided by another package
2) the ffmpeg USE flag indicates ffmpeg to be ... USED
2) the libav USE flag indicates libav to be ... USED |
The problem I have with this is that it requires changes (and so effects users) simply because developers need to sort out a problem that any rational person would have seen as an outcome of the path that was chosen. So, again, its the users getting short changed for a decision that was made without consideration of those users ... because developers "do what they want". If anyone should pay the price of this it is the developers who got us here, and they should be put in line and told in no uncertain terms on who's behalf they are working.
best ... khay | Short term yes, rip it out of the tree, put it in an overlay. Thing is it won't, a gentoo developer is part of libav (how involve in the manner in the split... thats a ffmpeg political concern, hopefully not a gentoo, had too many such behaviours in the past re. exherbo) and as such it is useful for him to use his distro of choice and equally gentoo dev's seem to hold more faith in libav (http://article.gmane.org/gmane.linux.gentoo.devel/94686
So what todo if it will stay, if it is equally accepted that ffmpeg will stay.. what can be done to help the users ride through upstreams sandbox and gentoo's inaction over it (and yes its inaction because it shouldn't be in the tree in this state!) on the basis that their ABI continues to diverge but their API stays compatible. Either way the meaning of the ffmpeg USE flag is now wrong as the present labeling is closer to a medialib. Make it a USE flag for ffmpeg and help users that think the ffmpeg USE flag means use ffmpeg, its common sense really... _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6204 Location: Dallas area
|
Posted: Tue Feb 17, 2015 3:47 pm Post subject: |
|
|
Quote: | We have a developer inside, so it's easier to bring some sanity in.
Then ffmpeg people copy each patch, so double benefit for us . |
That is some extremely asinine reasoning for keeping libav as it is.
There's no sanity with the way they've chosen to try and shove libav down everyone throats
especially when the majority of those responding to the poll about it, have chosen ffmpeg instead.
All I see is extreme laziness on the part of the devs who want to make you accept their way.
If they want to do that then they should petition RH for a job and quit pretending to care about the gentoo users. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
Posted: Tue Feb 17, 2015 3:54 pm Post subject: |
|
|
ffmpeg all the way. Two reasons:
a) libav devs are full of themselves. Spreading lies about ffmpeg being deprecated, sneakily replacing packages in distros with libav (Debian and derivates, and Gentoo aswell apparently), intentionally breaking compatibility (function headers, etc) or making it harder for ffmpeg to maintain compatibility, generally pretending that THEY are the go-to version while ffmpeg is just the inferior fork, etc etc.
Regardless of politics, software made by people who act like this has no business in any distro.
b) I've had the "pleasure" of using libav myself, as I am maintaining programs that use ffmpeg/libav as their backend. I'm constantly running into bugs and problems in libav that magically disappear when ffmpeg is used. Unfortunately, helping your average Ubuntu/Mint user get rid of libav in favor of ffmpeg is a chore. Eradicating libav across all distributions should be a high priority. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue Feb 17, 2015 3:58 pm Post subject: |
|
|
"We have a developer inside" is a good explanation as to how this quietly got backdoored into gentoo, but it's the opposite of a good justification.
It does make me curious about the forced GTK3 upgrades in 2012 by a handful of loose cannon developers proactively crippling and wontfix'ing working packages; were there under-the-table dealings going on there too?
"Easier to bring sanity in"? More like groupthink. Who wants to place bets on how many of the CVEs in libav's next GLSA will smash Microsoft's all-time record of ~220 days to patch? |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Tue Feb 17, 2015 4:05 pm Post subject: |
|
|
Naib wrote: | Those two sentences were more of a quick summary, especially as I have and others covered it. I agree basically was just trying to separate it out for the next part. |
Naib ... yeah, sorry, I didn't mean to give the impression that was directed at you, its "how do we {un,}fix this" (and of course avoidance of the question of how we got here) that I was taking issue with.
best ... khay |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6204 Location: Dallas area
|
Posted: Tue Feb 17, 2015 4:28 pm Post subject: |
|
|
I do want to clarify my position, I know I'm a little negative on libav being the default.
But that doesn't mean that I think it should be removed from the tree or quit being worked on.
It just shouldn't be the default until such a point in time as it works on more software (correctly) than ffmpeg.
That would allow people who want to use it, for whatever reason to do so. _________________ UM780, 6.12 zen kernel, gcc 13, openrc, wayland |
|
Back to top |
|
|
saellaven l33t
Joined: 23 Jul 2006 Posts: 655
|
Posted: Tue Feb 17, 2015 4:33 pm Post subject: |
|
|
Ant P. wrote: | "We have a developer inside" is a good explanation as to how this quietly got backdoored into gentoo, but it's the opposite of a good justification.
It does make me curious about the forced GTK3 upgrades in 2012 by a handful of loose cannon developers proactively crippling and wontfix'ing working packages; were there under-the-table dealings going on there too?
|
and therein lies much of Gentoo's problem over the last few years... there are some devs who put their own agenda above the community and they've gotten themselves into key positions which they have used to push their agendas further.
I switched to Gentoo in 2006 after spending most of the previous decade rolling my own system... I considered using my experiences to become a dev early on but opted not to because of the behind the scenes political games and the cliquish "devs against the users" mentality that I was already seeing then. I started the process informally in 2012 when there was a request for new blood to join the kernel herd, only to have to abort it when my dad went into the hospital for 6 months before he died. The last two years have pushed me even further away from wanting to contribute precisely because of the abusive devs protected by their circled wagons.
and the best part? Short of the headache and expense of suing the Foundation (assuming grounds can be found), there's absolutely nothing stopping these devs from continuing to trash the distro to push their agenda. The Council has become a rubberstamp for them. |
|
Back to top |
|
|
Morbid Florist n00b
Joined: 19 Feb 2015 Posts: 1
|
Posted: Thu Feb 19, 2015 4:23 pm Post subject: |
|
|
Wait, what?
The poll clearly says to make ffmpeg the default but still libav is chosen?
Whoa, I am pretty new to Gentoo and havent used it since november.
Yet that is blatant user ignorance...
I came to gentoo exactly for having none of these over our heads decisions. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10714 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Feb 19, 2015 4:27 pm Post subject: |
|
|
While the default has engendered a major philosophical discussion, it is in fact a minor technical issue. If you explicitly emerge ffmpeg, you override the default—and it will stick, too. No further action needed on your part. I didn't even notice when libav hit the tree because I already had ffmpeg installed.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
229566 Tux's lil' helper
Joined: 16 Aug 2010 Posts: 127
|
Posted: Thu Feb 19, 2015 4:28 pm Post subject: |
|
|
Morbid Florist wrote: | The poll clearly says to make ffmpeg the default but still libav is chosen? |
It's confusing even more. I just reinstalled a Gentoo box a few weeks ago, and one a few months ago and ffmpeg was default all the way, for the plain desktop profile. I never had to disable, unset or uninstall libav. And according to this thread libav is default for a while now...
Yeah... no idea... |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Thu Feb 19, 2015 4:41 pm Post subject: |
|
|
Morbid Florist wrote: | Wait, what?
The poll clearly says to make ffmpeg the default but still libav is chosen?
Whoa, I am pretty new to Gentoo and havent used it since november.
Yet that is blatant user ignorance...
I came to gentoo exactly for having none of these over our heads decisions. | The ability to change exists so from one aspect Gentoo still provides choice.
There are a couple of issues that have been highlighted in this thread (and the forked discussion)
1) how it was done (it still isn't the clearest... USE= "ffmpeg -libav" to have ffmpeg oO begs the question....)
2) how/why libav became the default and still exists unmasked in light of the state of it
GrueXYZ wrote: | I never had to disable, unset or uninstall libav. And according to this thread libav is default for a while now...
Yeah... no idea... | personally that statement from the gentoo dev's was a gross simplification (or loaded political statement) of the situation
It was "default" for some time simply by appearing 1st in USE test, that is more of a preference that was transparently managed by the user by simply emerging ffmpeg (or doing nothing if you had it installed). THe 1st of Feb was a clear change, a USE flag was created & essentially the meaning of ffmpeg was change. This forced the default. this is a new thing as oppose to the spin gentoo dev's say that it is old _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
229566 Tux's lil' helper
Joined: 16 Aug 2010 Posts: 127
|
Posted: Thu Feb 19, 2015 4:59 pm Post subject: |
|
|
Naib wrote: | It was "default" for some time simply by appearing 1st in USE test, that is more of a preference that was transparently managed by the user by simply emerging ffmpeg (or doing nothing if you had it installed). THe 1st of Feb was a clear change, a USE flag was created & essentially the meaning of ffmpeg was change. This forced the default. this is a new thing as oppose to the spin gentoo dev's say that it is old |
Okay I have a clearer picture now, thanks. Indeed, I didn't install ffmpeg explicitly but it was pulled in with VLC, which was fine with me - if libav was pulled, I'd have replaced it. Hence the confusion, as it was before Feb 1st. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Fri Feb 20, 2015 7:36 am Post subject: |
|
|
Naib wrote: | So:
USE = "-medialib" no media capability enabled in the ebuild: this covers: USE="-medialib -ffmpeg -libav" USE="-medialib ffmpeg -libav" USE="-medialib -ffmpeg libav" USE="-medialib ffmpeg libav #invalid but -medialib dominate"
USE = medialib would then require one of two USE flags
USE = "medialib -ffmpeg -libav" = EBUILD USE warning that the user needs to choose,set a flag
USE = "medialib -ffmpeg libav" = builds ok, pulls in libav and builds with that
USE = "medialib ffmpeg -libav" = builds ok, pulls in ffmpeg and builds with that
USE = "medialib ffmpeg libav" = WARNING!!! incompatible combination, the ebuild for ffmpeg and libav will themselves report a blockage.
That covers the 8 combinations and is a lot clearer to the user until upstream sorts their act out or gentoo blacklists one or the other ...
|
Awful; just papering over the issue, and punting the problem onto the user configuration "because we can."
Please re-read what I wrote in the post just above yours, and tell me why that's broken to such an extent that you wish to inflict this upon us instead. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10714 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Feb 20, 2015 11:49 am Post subject: |
|
|
Also, this implementation flies in the face of standard (and, in my opinion, reasonable) practise. From the Gentoo Development Guide:Conflicting USE Flags
Occasionally, ebuilds will have conflicting USE flags for functionality. Checking for them and returning an error is not a viable solution. Instead, you must pick one of the USE flags in conflict to favour and should alert the user that a particular flag is being used instead. The Gentoo ebuild philosophy on this topic has long been, "Make a reasonable choice, inform, and keep going."
So that brings us back around to the original question.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|