Archive for the 'firefox' Category

Warning for xulrunner 1.9.1 users

Beware ! xulrunner 1.9.1 might break some applications like epiphany, galeon, yelp, chmsee, etc.

You have three main options to work around this problem:

  • Set the MOZ_GRE_CONF environment variable to /etc/gre.d/1.9.system.conf
  • Remove the /etc/gre.d/1.9.1.system.conf file
  • Copy the /etc/gre.d/1.9.system.conf file in the ${HOME}/.gre.d directory (which you can create if it doesn't exist, which is very likely)

For the moment, I identified a definite breakage of epiphany.

Depending on what API the applications use, they might break more or less. What happens is that some of the applications depending on xulrunner-1.9, using the XPCOM standalone glue, give a too broad range of versions of xulrunner they claim to be compatible with. The net result is that the glue can end up loading libxul 1.9.1, which may not be totally binary compatible with what the application actually needs.

The problem may or may not happen on your computer, because the XPCOM glue is half broken in its way to find a proper libxul : it stops at the first one if sees that fits in the given range. This means that depending on the order of the files in the /etc/gre.d directory, you can get a different version of libxul.

The workarounds above ensure libxul 1.9 is always loaded.

2009-07-09 23:13:42+0900

firefox, xulrunner | Comments Off on Warning for xulrunner 1.9.1 users

How to install Iceweasel 3.5 on Lenny

In my previous posts about the release of Iceweasel 3.5, some people succeeded in installing Iceweasel on Lenny by rebuilding xulrunner-1.9.1 (not without some trouble).

Actually, thanks to the improved dpkg-shlibdeps, it's almost painless to install the packages from testing/experimental. The old days where pulling a package from testing or unstable would pull a new libc6 and a bunch of other packages are long gone (though, as we will see, things could be even better).

So, if you are a Lenny user, are not afraid with a few packages from testing on your system, and want to use Iceweasel 3.5, here are the steps you can go through to install it:

  • Add the testing and experimental sources to your apt sources:
    $ echo deb http://ftp.fr.debian.org/debian testing main > /etc/apt/sources.list.d/testing.list
    $ echo deb http://ftp.fr.debian.org/debian experimental main > /etc/apt/sources.list.d/experimental.list
  • Set the default distribution to "stable":
    $ echo 'APT::Default-Release "stable";' > /etc/apt/apt.conf.d/default
  • apt-get update
  • Install a few dependencies from "testing":
    $ apt-get install -t testing libstartup-notification0 libsqlite3-0 libnss3-1d libhunspell-1.2-0 libasound2
  • Install iceweasel:
    $ apt-get install iceweasel/experimental

The latter won't work until xulrunner-1.9.1 reaches experimental (Update: it got there), but the following alternative procedure will do in the meanwhile:

  • Tentatively install xulrunner-1.9.1 (provided you downloaded it following the previous instructions):
    $ dpkg -i xulrunner-1.9.1_1.9.1-1_*.deb libmozjs2d_1.9.1-1_*.deb
    You will get dependency problems, ignore them.
  • Fix the dependency problems:
    $ apt-get -f install
    This will install all the required packages from Lenny.
  • Install iceweasel:
    $ apt-get install iceweasel/experimental

Now, the sad thing about this, is that technically, you shouldn't need to install libstartup-notification0 and libasound2 from testing at all. The same might even apply for libhunspell-1.2-0. The reason is that technically, xulrunner-1.9.1, which has a versioned dependency on these libraries, doesn't actually require the versions it demands, and earlier versions could work as well. The ones from Lenny should be enough.

The reason why this happens is that these libraries don't provide symbols files, which are the basis for the improved dpkg-shlibdeps to make better dependencies, ones that would allow xulrunner-1.9.1 from experimental to work with Lenny's libstartup-notification0, libasound2, and libhunspell-1.2-0.

2009-07-08 22:14:29+0900

firefox, xulrunner | 16 Comments »

Iceweasel 3.5-1 in experimental

I just uploaded iceweasel 3.5-1 in experimental. It should reach your mirrors soon, but its main dependency, xulrunner-1.9.1, is still in NEW, so you'll have to take it from my people.debian.org space until is comes out from there.

Some quick links:

And until it reaches your nearby mirror, you can take iceweasel from there too:

For the people using Lenny, note that you should only need to rebuild xulrunner. The iceweasel package should be installable as is once you have xulrunner 1.9.1 installed.

You will need the following change to configure.in to be able to build xulrunner on Lenny:
- PKG_CHECK_MODULES(SQLITE, sqlite3 >= $SQLITE_VERSION)
+ PKG_CHECK_MODULES(SQLITE, sqlite3)

Then run autoconf.

I might provide backported packages in the near future.

2009-07-08 08:59:41+0900

firefox, xulrunner | 31 Comments »

xulrunner 1.9.1-1 soon to be uploaded to experimental

When I said I had to update the copyright file...

$ git diff --stat debian/1.9 debian/1.9.1 debian/copyright
 debian/copyright | 543 +++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 502 insertions(+), 41 deletions(-)
$ wc -l debian/copyright
1259 debian/copyright

Note that many of those lines should probably be added to the copyright file for the current version in unstable...

The release is currently building on my PC and will be uploaded after some testing. Stay tuned.

Iceweasel will probably follow tomorrow.

Note for the ftp-masters reading this: Yes, a bunch of libraries were added to the source, and they are currently used by the packages. This has been done on purpose, for two reasons: lack of time to implement the necessary hacks to use system libraries, and lack of time to investigate the state of the patches against these libraries to avoid iceweasel crashing.

Update: Uploaded. The packages may sit in NEW for a while, so they are already available on my people.debian.org space.

2009-07-08 00:56:18+0900

firefox, xulrunner | 3 Comments »

Iceweasel 3.5 pre-release packages available

It took less time I expected, but after making xulrunner 1.9.1 pre-release packages available, I'm making iceweasel 3.5 pre-release packages available:

As for xulrunner, some more work on these is required before they are ready to be uploaded to the Debian archive.

2009-07-04 11:59:22+0900

firefox | 28 Comments »

Try your own monster

I'm more than halfway to an upload of xulrunner to experimental, but until I get iceweasel itself built, and xulrunner in an uploadable shape, you can download amd64 and i386 packages of xulrunner-1.9.1 from my p.d.o space. To get something that works, you only need libmozjs2d and xulrunner-1.9.1. Following are direct links to the relevant files:

I only tested the amd64 binary, which doesn't have JIT javascript, so if you have particular problems with the i386 binaries, please report them in the comments. You can obviously leave comments for problems with the amd64 binaries, by the way.

Since iceweasel 3.5 is not ready yet, you may still want something to try this xulrunner out. You can try your own monster, for that purpose. The steps involved to create the monster are actually simple:

  • Edit the /usr/lib/iceweasel/application.ini file and change the MaxVersion value in the [Gecko] section to 1.9.1
  • Replace the /usr/lib/iceweasel/xulrunner symbolic link with a symbolic link to /usr/lib/xulrunner-1.9.1 (ln -sfn ../xulrunner-1.9.1 /usr/lib/iceweasel/xulrunner)

With these changes, running iceweasel will start the monster.

If you still want to have iceweasel running the "normal" version, skip the second step above and start xulrunner-1.9.1 /usr/lib/iceweasel/application.ini instead.

2009-07-04 10:05:47+0900

firefox, xulrunner | 6 Comments »

I created a monster

This post has been posted with the following monster:

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1) Gecko/20090629 Iceweasel/3.0.11 (Debian-3.0.11-1)

For those not following or not very much aware of what it means, this is Iceweasel/Firefox 3.0 using the engine from Iceweasel/Firefox 3.5. And except a few components, it seems to work fine. And the demos for Firefox 3.5 from hack.mozilla.org all work as expected.

The xulrunner 1.9.1 package I'm using still needs more polishing before upload, though.

2009-06-30 00:26:45+0900

firefox, xulrunner | 5 Comments »

Orphaning packages

Since I am expected to spend more than half my packaging time updating the debian/copyright file, I am hereby orphaning nspr, nss, iceape and xulrunner. I am also stopping work on webkit and iceweasel, but they don't end up in the orphan state since they are comaintained.

Good luck to my fellow developpers. (And sorry, sincerely)

Update: As I do realize writing while being pissed doesn't help making the motives right, and apparently, some people have seen this as an extortion, let me make things clearer:

I was starting to work on xulrunner 1.9.1 when the discussion about the copyright files came up. It will require a significant amount of time, and while Noah Slater's opinion alone wouldn't really have carried me that far, despite me saying so because I got pissed by his words, 2 messages from Jörg Jaspert (the only ones he posted so far in the thread, by the way) did make it clear that my work on xulrunner 1.9.1 was going to be a waste of time, which I already lack to properly handle the bugs in my maintained packages, let alone keeping the copyright file up-to-date.

As I am obviously unable to handle the amount of work required to maintain big packages, as drawing new blood in the mozilla team has always failed so far, I just prefer to stop than to over-overflow. Call it extortion to get people in the mozilla team if you want, I'm fine with the notion.

I've been thinking to stop working on big packages for nearly a year already, but never mentionned it but to a few people in a few occasions. I couldn't resolve myself to do it, though I did reduce the amount of time I spend on these packages (I was overflown, a year ago). I just found an excuse to actually do it.

I must say I feel awkward now, and I still don't know if I will be able to keep this resolution.

As for the new copyright file format, with full licensing information and copyright holders list, I *did* try, on a significantly smaller piece of software than the mozilla packages, namely on Webkit, which is not really small either but still 6 times less files than xulrunner. I must say I hate to have to list copyright holders and file names with a passion, and the amount of time it takes. It is the main reason why there wasn't more uploads of WebKit svn snapshots in the archive...

Last but not least, thanks for the nice comments.

2009-03-21 18:54:03+0900

firefox, iceape, webkit, xulrunner | 16 Comments »

Iceweasel display corruptions, maybe a real fix?

Thanks for the feedback on the xulrunner-1.9 packages I posted yesterday. They led me to find a possible fix for the issue.

Wasn't the package fixed? will you ask. Well, yes and no. Actually, it was built using the internal copy of cairo in the mozilla source tree. And this internal copy is (guess what) not vanilla. And we don't want to be using the internal copy because it's hell for stable security.

I took a deeper look into the changes and spotted something that looks like a workaround for exactly this corruption issue. So if people having the corruptions before installing the test package could downgrade to the current version in unstable (apt-get install xulrunner-1.9=1.9.0.3-1 should do), install the following cairo package: for i386 and for amd64, and tell me if the corruptions are gone, that would be very helpful :).

2008-10-14 07:54:43+0900

firefox, xulrunner | 13 Comments »

Iceweasel display corruptions anyone?

We have had quite a bunch of bug reports for some display corruptions in Iceweasel, most, if not all, of which are due to offscreen pixmaps being badly rendered by the X.org video driver.

If you happen to be a silent (or even vocal) victim, please give a try to these test packages: for i386 and for amd64. If that solves the corruptions for you, please leave a comment here.

Thanks

2008-10-13 21:19:58+0900

firefox, xulrunner | 5 Comments »