Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531624 - www-client/firefox-34.0.5 USE=gmp-autoupdate disables automatic updating instead of enabling it
Summary: www-client/firefox-34.0.5 USE=gmp-autoupdate disables automatic updating inst...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-04 08:06 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2014-12-04 13:39 UTC (History)
1 user (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 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
+