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
You can leave a response, or trackback from your own site.
2010-07-09 21:46:06+0000
“copyright issues with the Firefox logos that have been solved recently.”
=> Tell us more please :)
2010-07-09 22:05:10+0000
Christoph: http://glandium.org/blog/?p=933
2010-07-09 22:45:33+0000
Minor bug: the “Additional plugins are required” bar has come back in this version.
2010-07-09 22:55:41+0000
Another minor bug: right-clicking on a bookmark in the bookmark and choosing “properties” doesn’t do anything.
2010-07-09 22:56:31+0000
(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.)
2010-07-09 22:58:13+0000
[...] 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, [...]
2010-07-09 23:11:31+0000
So when’s Debian moving back to non-ice* branding?
2010-07-10 15:41:05+0000
[...] Hommey rozpoczął prace nad wydaniem Iceweasela 4.0 w ciągu kilku miesięcy. Przygotawał wstępne pakiety (nadal wymagają kilku technicznych [...]
2010-07-10 16:13:17+0000
_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.
2010-07-10 16:32:52+0000
[...] 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 [...]
2010-07-10 17:13:49+0000
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.
2010-07-11 12:50:30+0000
[...] – http://glandium.org/blog/?p=1032 Share/Bookmark var a2a_config = a2a_config || {}; a2a_config.linkname="Firefox^Iceweasel [...]
2010-07-11 21:39:57+0000
[...] [...]
2010-07-12 09:59:14+0000
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.
2010-07-12 21:44:14+0000
Hi, maybe a bit of topic, but when do you think 3.6 and/or 4.0 will be available in unstable?
2010-07-12 23:26:02+0000
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.
2010-07-13 11:15:20+0000
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.
2010-07-13 12:05:32+0000
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.)
2010-07-13 12:34:20+0000
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.
2010-07-14 14:49:29+0000
[...] 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 [...]
2010-07-15 21:10:22+0000
> 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)…
2010-07-15 21:37:40+0000
Eero Tamminen: the Iceweasel UA includes “like Firefox/x.y” since 3.5.5-1, which solves most of these problems.
2010-08-30 19:53:57+0000
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.
2010-08-31 12:15:08+0000
I corrected the procedure, you need to install xulrunner-2.0, not xulrunner-1.9.2. My bad.
2010-08-31 21:34:22+0000
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.