Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to alter the firefox package to remove WebM and other features.

I prefer not just to compile sources - I need to understand what in a deb package I need to alter.

I don't want to have a pile of sources which are manually configured, compiled and installed via non package manager route; and was looking for a way to set package config flags on Ubuntu

How do I alter the Firefox's deb package to do the above?

share|improve this question
2  
What is the problem with that route? –  jippie May 11 '12 at 21:54
1  
... so you want to compile a binary without compiling? that's a little difficult unless you find something like launchpad to do the compiling. Perhaps you should explain in your question what the issue is with apt-get build-dep etc. –  fossfreedom May 11 '12 at 22:12
    
@fossfreedom, there's nothing to explain: I don't want to have a pile of sources which are manually configured, compiled and installed via non package manager route; and was looking for a way to set package config flags on Ubuntu. –  kagali-san May 12 '12 at 14:34
    
@jippie there was a problem of me not knowing the configuration part of of it, which includes the editor mentioned below. –  kagali-san May 12 '12 at 14:34
1  
@kagali-san - in that case - a slight change in the description makes this a good question. +1 –  fossfreedom May 12 '12 at 14:39

1 Answer 1

up vote 3 down vote accepted

If you just want to disable WebM:

  1. Open the URL about:config
  2. Accept the warning
  3. Search for media.webm.enabled and double-click on it to toggle the value. Set it to false.
  4. Changes are immediately applied.

Otherwise there is no easy way to disable WebM without recompiling. Recompiling is as easy as:

sudo apt-get build-dep firefox
apt-get source firefox
cd firefox-*
editor debian/rules
dpkg-buildpackage -b -us -uc

At the editor step, adjust the configure options.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.