Iceweasel 4.0 beta 1 preliminary packages for Debian, and a nice trick

Since this blog is now syndicated on Planet Mozilla, a little background for its readers: Iceweasel is the name under which Firefox is distributed in Debian. This is an unfortunate detail due to copyright issues with the Firefox logos that have been solved recently. Work is under progress to get Firefox back in Debian (I do have good hope this will be possible).

Anyways, I’ve started to work on getting Iceweasel in shape for the 4.0 release in a few months. The packaging being in a good enough shape, I am hereby making available some preliminary packages (meaning there is still some more work needed for proper packaging) for the first beta release.

The packages are available in a separate repository, which you need to add to your sources.list:

deb http://mozilla.debian.net/packages/ ./

Only x86 and x86-64 (amd64) packages are available for now. As far as I tested it, it works as well as the official Firefox 4.0beta1 binaries, though some xpcshell tests failed, and I haven’t got reftests working yet.

If you still wish to use a current version of iceweasel (i.e. non-beta), but want to try this beta, here is the nice trick: Instead of installing iceweasel from the above mentioned repository,

  • Install xulrunner-2.0,
  • Download the iceweasel package (don’t install),
  • Run the following command: dpkg-deb -x iceweasel_4.0b1-0_*.deb /some/directory,
  • Create a necessary symbolic link: ln -s /usr/lib/xulrunner-2.0 /some/directory/usr/lib.

Now you can start the Iceweasel beta with /some/directory/usr/bin/iceweasel. This trick should work with older versions of iceweasel, too.

2010-07-09 20:59:08+0000

firefox, xulrunner

You can leave a response, or trackback from your own site.

25 Responses to “Iceweasel 4.0 beta 1 preliminary packages for Debian, and a nice trick”

  1. Christoph Anton Mitterer Says:

    “copyright issues with the Firefox logos that have been solved recently.”
    => Tell us more please :)

  2. glandium Says:

    Christoph: http://glandium.org/blog/?p=933

  3. Anonymous Says:

    Minor bug: the “Additional plugins are required” bar has come back in this version.

  4. Anonymous Says:

    Another minor bug: right-clicking on a bookmark in the bookmark and choosing “properties” doesn’t do anything.

  5. Anonymous Says:

    (Happy to report these kinds of issues to upstream bugzilla too, but I figured I’d start here in case they don’t apply to upstream. In particular, the plugin issue seemed likely to interact with Debian-specific changes.)

  6. Paquetes preliminares de IceWeasel 4.0 beta 1 en Debian. Probando -;) – debianHackers Says:

    [...] estaba pegándome con la beta de Firefox y hoy me encuentro con esta gran noticia en Planet Debian. Ya tenemos disponible para nuestras Debian los paquetes preliminares de la flamante (en beta, [...]

  7. Christoph Anton Mitterer Says:

    So when’s Debian moving back to non-ice* branding?

  8. Planeta jakilinux.org » Iceweasel 4.0 beta 1 dla Debiana Says:

    [...] Hommey rozpoczął prace nad wydaniem Iceweasela 4.0 w ciągu kilku miesięcy. Przygotawał wstępne pakiety (nadal wymagają kilku technicznych [...]

  9. oscar Says:

    _please_ include the fix for https://bugzilla.mozilla.org/show_bug.cgi?id=422179 (bilinear filtering of upscaled images) for Linux

    AFAICS all driver problems have been fixed, but noone bothers to include the fix for this in xulrunner.

  10. Iceweasel, el Firefox de Debian, sigue mejorando | MuyLinux Says:

    [...] comportamiento perfecto. Muchas extensiones, sin ir más lejos, aún no están soportadas. Por eso han dejado un truquillo para probar esta 4.0 sin necesidad de [...]

  11. tim Says:

    Thanks again for the work. Will the change to firefox make any practical difference for debian? (example, much less effort to make debian packages?); in other recent blogs you’ve mentioned that the gap between iceweasel and upstream is much less now, and I guess the speed with which the Debian iceweasel team is following upstream is proof of that.

  12. Firefox^Iceweasel 4.0beta1 | elmig Says:

    [...] – http://glandium.org/blog/?p=1032 Share/Bookmark var a2a_config = a2a_config || {}; a2a_config.linkname="Firefox^Iceweasel [...]

  13. Iceweasel 4.0 beta 1 preliminary packages for Debian Says:

    [...] [...]

  14. glandium Says:

    Anonymous: If you don’t have the necessary plugin, that’s not unexpected. As for bookmarks properties, works for me.

    Christoph: When it’s ready.

    oscar: Apparently not as simple as it looks, since X drivers may not be behaving correctly. (and we currently have several problems already with cairo 1.9.x)

    tim: It would only simplify a small amount of work, actually.
    The current number of patches against xulrunner 1.9.2 (ffx 3.6) is 100+, the number of patches against xulrunner 2.0 (ffx 4.0) is less than 50. Packaging 4.0beta1 took much less time than first packaging 3.6.

  15. Grzes Says:

    Hi, maybe a bit of topic, but when do you think 3.6 and/or 4.0 will be available in unstable?

  16. Anonymous Says:

    glandium: The bookmarks properties thing seems to have magically fixed itself; no idea why.

    However, regarding plugins: that behavior has regressed from 3.5/3.6 in Debian, which did not prompt me about plugins at all. 4.0 pops up the “Additional plugins are required” bar every time a site has any flash on it, a serious annoyance.

  17. glandium Says:

    Grzes: after squeeze is released.

    Anonymous: I just tested both 3.5 and 3.6, and they both are displaying the “additional plugins are required” bar.

    Now, maybe what really happens for you is that you had set plugins.hide_infobar_for_missing_plugin in your 3.5/3.6 profile and not in the 4.0 one.

  18. Anonymous Says:

    glandium: I don’t have separate profiles for 4.0 and 3.6, and I haven’t touched that setting.

    However, investigating, I *do* have this in user.js:
    user_pref(“plugin.default_plugin_disabled”, false);
    That preference solves this problem for 3.6 but not 4.0, an annoying incompatibility.

    (Now that I think of it, I think Debian’s packages used to do something equivalent to this, like not installing the default plugin, and I made this change when they stopped doing so.)

  19. glandium Says:

    Anonymous: the difference then is that 4.0 doesn’t have the default plugin at all, and the plugin.default_plugin_disabled pref has now no effect. plugins.hide_infobar_for_missing_plugin is what you want, and works on 3.x and 4.0.

  20. TecnoAmigo Blog » Blog Archive » Probar la nueva versión de Iceweasel 4.0 Beta 1 Says:

    [...] 1 semana de haber lanzado la beta de Iceweasel, si aun no la han probado les dejo la guía que ellos mismos publicaron. La primer forma es si desean instalarlo en consola y como [...]

  21. Eero Tamminen Says:

    > Will the change to firefox make any practical difference for debian?

    Some stupid (e.g. internal corporate) sites check Browsers based on what name Browser gives and refuse to work with an unknown entity called Iceweasel. I know that one can change user-agent from about:config, but many people don’t know it (or that this can cause issues)…

  22. glandium Says:

    Eero Tamminen: the Iceweasel UA includes “like Firefox/x.y” since 3.5.5-1, which solves most of these problems.

  23. Mathieu Says:

    I just tried it out, with unfortunately a failure. I’m running Debian Squeeze on amd64, with xulrunner-1.9.2 installed as specified.

    # apt-cache policy xulrunner-1.9.2
    xulrunner-1.9.2:
    Installé : 1.9.2.4-2
    Candidat : 1.9.2.4-2
    Table de version :
    1.9.2.8-2 0
    1 http://ftp.ca.debian.org experimental/main Packages
    *** 1.9.2.4-2 0
    100 /var/lib/dpkg/status

    I installed Iceweasel 4 (beta 4 from August 24) in /usr/lib/iceweasel4:

    # mkdir /usr/lib/iceweasel4
    # dpkg-deb -x iceweasel_4.0~b4-0_amd64.deb /usr/lib/iceweasel4/
    # ln -s /usr/lib/xulrunner-2.0 /usr/lib/iceweasel4/usr/lib/

    And then, as root or regular user:

    # /usr/lib/iceweasel4/usr/bin/iceweasel
    exec: 193: /usr/lib/iceweasel4/usr/lib/iceweasel/firefox-bin: not found

    The file exists, though:

    # ls /usr/lib/iceweasel4/usr/lib/iceweasel
    application.ini components iceweasel searchplugins
    blocklist.xml defaults iceweasel-xremote-client xulrunner
    chrome extensions icons
    chrome.manifest firefox-bin modules

    Did I miss something? Is there any information that could be useful?

    Thx for all the good work,
    Mathieu.

  24. glandium Says:

    I corrected the procedure, you need to install xulrunner-2.0, not xulrunner-1.9.2. My bad.

  25. Mathieu Says:

    Now it works! (and the use of xulrunner-2.0 makes much more sense to me…)

    For the record, here is what I did in the end (with Debian Squeeze and some apt pining):

    1) download from http://mozilla.debian.net/packages/
    * iceweasel_4.0~b4-0_amd64.deb
    * libmozjs4d_2.0~b4-0_amd64.deb
    * xulrunner-2.0_2.0~b4-0_amd64.deb

    2) install or update the dependencies:
    # dpkg –install libmozjs4d_2.0~b4-0_amd64.deb
    # aptitude install -t unstable libsqlite3-0
    # dpkg –install xulrunner-2.0_2.0~b4-0_amd64.deb

    3) finally install iceweasel 4 as previously explained:
    # mkdir /usr/lib/iceweasel4
    # dpkg-deb -x iceweasel_4.0~b4-0_amd64.deb /usr/lib/iceweasel4/
    # ln -s /usr/lib/xulrunner-2.0 /usr/lib/iceweasel4/usr/lib/

    And then to launch iceweasel4:
    # /usr/lib/iceweasel4/usr/bin/iceweasel

    I still have to figure out why it only works as root, and not as a regular user (it launches the regular iceweasel 3.6). I also get the following warning:

    (firefox-bin:9710): GnomeUI-WARNING **: While connecting to session manager:
    None of the authentication protocols specified are supported.

    Seems to work like a charm, though (I already love WebM). Thx for the help, and thank you a lot for providing iceweasel 4!
    Mathieu.

Leave a Reply