Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 531624

Summary: www-client/firefox-34.0.5 USE=gmp-autoupdate disables automatic updating instead of enabling it
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal CC: kensington
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arfrever Frehtes Taifersar Arahesis 2014-12-04 08:06:50 UTC
<flag name="gmp-autoupdate">Allow Gecko Media Plugins (binary blobs) to be automatically downloaded and kept up-to-date in user profiles</flag>

However enabling of "gmp-autoupdate" USE flag results in setting media.gmp-gmpopenh264.autoupdate=false in configuration.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2014-12-04 09:24:17 UTC
You could use usex:

for plugin in gmp-gmpopenh264 ; do
  echo "pref(\"media.${plugin}.autoupdate\", $(usex gmp-autoupdate true false));" >> ...
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2014-12-04 13:39:10 UTC
the problem with usex is that in the USEflag-enabled case I don't want to set any default pref -- that is, I want the pref to be empty/unset instead of being set to true.

Anyhow, i already fixed this in-tree:

+  04 Dec 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+  +firefox-34.0.5-r1.ebuild, -firefox-34.0.5.ebuild:
+  fixed inverted logic on gmp-autoupdate flag, bug 531624
+