[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to package Mozilla themes?



On Mon, Jun 10, 2002 at 01:29:49PM -0400, Kevin B. McCarty wrote:
> I am trying to create a local Debian package of the Mozilla Pinball theme.  
> This consists only of the pinball.jar file, which the package puts into 
> /usr/lib/mozilla/chrome, and the file 99pinball, which goes into 
> /var/lib/mozilla/chrome.d .  Contents of 99pinball are as follows:
> 
> skin,install,url,jar:resource:/chrome/pinball.jar!/communicator/
                                                    ^^^^^^^^^^^^^^
Are you sure these paths are right? They seem awfully short. Something like
/skin/pinball/communicator/ would seem more appropriate. I could be wrong, but
it would explain why update-mozilla-chrome won't update the rdf.

> skin,install,url,jar:resource:/chrome/pinball.jar!/editor/
> skin,install,url,jar:resource:/chrome/pinball.jar!/global/
> skin,install,url,jar:resource:/chrome/pinball.jar!/navigator/
> skin,install,url,jar:resource:/chrome/pinball.jar!/forms/
> skin,install,url,jar:resource:/chrome/pinball.jar!/messenger/
> skin,install,select,pinball

I wouldn't do that: it pre-selects the theme for all users and may break
other gecko-based browsers. Have a look at mozilla-locale-de-at's bug
log for an example.
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=126087&repeatmerged=yes>

> I put "/usr/sbin/update-mozilla-chrome" into my postinst and postrm 
> scripts, and have the package depend upon 
> "mozilla-browser (>= 2:0.9.9), mozilla-browser (<< 2:1.0)"
> since this is the version of pinball for Mozilla 0.9.9.
> 
> The problem is that Mozilla remains blissfully unaware of the new theme
> once the package is installed.  Doing "grep -ir pinball /usr/lib/mozilla",

Is is just not installed by default, or is it not even listed in the
themes selection box?

> I find that after installing mozilla-pinball, it is mentioned only in
> /usr/lib/mozilla/chrome/installed-chrome.txt .
> I suspect it must also be listed in /var/lib/mozilla/chrome/chrome.rdf, 
> which it is not.

Update-mozilla-chrome should do this, given a good 99pinball.

> What else do I need to do so this package will update Mozilla's themes 
> correctly?  I have no problems installing the theme into my ~/.mozilla 
> directory as a normal user, but I want everyone on the system to have 
> access to it.

Nice! are there versions for the 1.0 RCs and the 1.0 final?

Florian

-- 
Ben> I don't think anybody has done a Intercal machine yet, since Intercal is
Ben> not exactly the #1 langauge to program in.
Paul> Intel has one, but few seem to want to buy it for some odd reason.
                      -- Ben Franchuk and Paul Repacholi in comp.sys.dec (2002)

Attachment: pgpbH9CsXzp4y.pgp
Description: PGP signature


Reply to: