what is involved in a mozilla theme?
![](https://seccdn.libravatar.org/avatar/851a3c5e1f11f380856bf7d3bd9137cb.jpg?s=120&d=mm&r=g)
I've installed the marvellous mozilla skypilot theme. I would like to have this theme available via an rpm. What file(s) should be included in the rpm and where should it be stored? I looked for skypilot on my HD and found only 1 file called skypilot.jar under my home .mozilla/chrome/.... directory. Is it correct that there is only 1 jar file? -- Richard Bos Without a home the journey is endless
![](https://seccdn.libravatar.org/avatar/498f0d009430e6b6f9a0672e4e89ee2d.jpg?s=120&d=mm&r=g)
Richard Bos wrote:
I've installed the marvellous mozilla skypilot theme. I would like to have this theme available via an rpm. What file(s) should be included in the rpm and where should it be stored? I looked for skypilot on my HD and found only 1 file called skypilot.jar under my home .mozilla/chrome/.... directory. Is it correct that there is only 1 jar file?
You wish, it install alot of config stuff in the "*.rdf" files. The most important is "chrome.rdf", just load it in a editor and look for "skypilot.jar". Stefan.
![](https://seccdn.libravatar.org/avatar/851a3c5e1f11f380856bf7d3bd9137cb.jpg?s=120&d=mm&r=g)
Op vrijdag 18 juli 2003 23:26, schreef S. Bulterman:
Richard Bos wrote:
I've installed the marvellous mozilla skypilot theme. I would like to have this theme available via an rpm. What file(s) should be included in the rpm and where should it be stored? I looked for skypilot on my HD and found only 1 file called skypilot.jar under my home .mozilla/chrome/.... directory. Is it correct that there is only 1 jar file?
You wish, it install alot of config stuff in the "*.rdf" files. The most important is "chrome.rdf", just load it in a editor and look for "skypilot.jar".
It appears that adding a skin....skypilot.jar entry to a file called installed...text in /opt/mozilla/lib/chrome is sufficient. That will make the theme available to mozilla. But I'm hestitant now to provide via an rpm as, in this case the user may rm the rpm without doing the right administration in the mozilla config files. In my case I was e.g. not alowed to uninstall the theme from mozilla (don't know the reason). -- Richard Bos Without a home the journey is endless
![](https://seccdn.libravatar.org/avatar/5c786b1b80718534429c90c4126cd5ab.jpg?s=120&d=mm&r=g)
Richard Bos
But I'm hestitant now to provide via an rpm as, in this case the user may rm
Look at the spec file for the german language support rpm for mozilla (name escapes me atm) and you will see how to register and deregister resources from a rpm. Philipp
![](https://seccdn.libravatar.org/avatar/851a3c5e1f11f380856bf7d3bd9137cb.jpg?s=120&d=mm&r=g)
Op zaterdag 19 juli 2003 12:37, schreef Philipp Thomas:
Richard Bos
[19 Jul 2003 09:59:09 +0200]: But I'm hestitant now to provide via an rpm as, in this case the user may rm
Look at the spec file for the german language support rpm for mozilla (name escapes me atm) and you will see how to register and deregister resources from a rpm.
Philipp
Philip, thanks for the reference. I found the only a -cs- and -hu- mozilla rpm. The *spec uses rebuild-databases.sh to install or remove the theme. At the same time it uses its own mozilla-hu-chrome file. That file has the following contents: locale,install,url,jar:resource:/chrome/hu-HU.jar!/locale/hu-HU/alma/ locale,install,url,jar:resource:/chrome/hu-HU.jar!/locale/hu-HU/autoconfig/ locale,install,url,jar:resource:/chrome/hu-HU.jar!/locale/hu-HU/chatzilla/ ..... To be investigated: Is such a file necessary for the skypilot theme as well, or is running rebuild-databases.sh sufficient? And what happens if a user has installed the theme (say e.g. skypilot) and the theme is just removed (rpm -e). Will mozilla fall back to its default theme or won't it start anymore, because the selected theme (e.g. skypilot) does not exist anymore? -- Richard Bos Without a home the journey is endless
![](https://seccdn.libravatar.org/avatar/5c786b1b80718534429c90c4126cd5ab.jpg?s=120&d=mm&r=g)
Richard Bos
thanks for the reference. I found the only a -cs- and -hu- mozilla rpm.
There's also the mozilla-deat.rpm, which is the austrian language pack that's also used for Germany.
The *spec uses rebuild-databases.sh to install or remove the theme. At the same time it uses its own mozilla-hu-chrome file. That file has the following contents: locale,install,url,jar:resource:/chrome/hu-HU.jar!/locale/hu-HU/alma/
To be investigated: Is such a file necessary for the skypilot theme as well, or is running rebuild-databases.sh sufficient?
Nope. I guess you do need such a chrome file to install. That's in a way the same way mozilla installs a theme like this. I can't check now, but I know a colleague of mine figured out how to make RPMs of mozilla themes and I can ask him next week.
And what happens if a user has installed the theme (say e.g. skypilot) and the theme is just removed (rpm -e). Will mozilla fall back to its default theme or won't it start anymore, because the selected theme (e.g. skypilot) does not exist anymore?
AFAIR, you have to set the default theme explicitly, but I wouldn't swear on it. Philipp
![](https://seccdn.libravatar.org/avatar/851a3c5e1f11f380856bf7d3bd9137cb.jpg?s=120&d=mm&r=g)
Op zondag 20 juli 2003 02:14, schreef Philipp Thomas:
Richard Bos
[Sat, 19 Jul 2003 15:05:02 +0200]: thanks for the reference. I found the only a -cs- and -hu- mozilla rpm.
There's also the mozilla-deat.rpm, which is the austrian language pack that's also used for Germany.
The *spec uses rebuild-databases.sh to install or remove the theme. At the same time it uses its own mozilla-hu-chrome file. That file has the following contents: locale,install,url,jar:resource:/chrome/hu-HU.jar!/locale/hu-HU/alma/
To be investigated: Is such a file necessary for the skypilot theme as well, or is running rebuild-databases.sh sufficient?
Nope. I guess you do need such a chrome file to install. That's in a way the same way mozilla installs a theme like this. I can't check now, but I know a colleague of mine figured out how to make RPMs of mozilla themes and I can ask him next week.
I made the skypilot theme rpm. It seems only necessary to tell the file installed-chrome.text that the skypilot theme is installed (via the rpm). After that the rebuild-databases.sh script must be run. This seems sufficient :))
And what happens if a user has installed the theme (say e.g. skypilot) and the theme is just removed (rpm -e). Will mozilla fall back to its default theme or won't it start anymore, because the selected theme (e.g. skypilot) does not exist anymore?
AFAIR, you have to set the default theme explicitly, but I wouldn't swear on it.
In this case mozilla just falls back on its very 1st theme (classic). So that does not seem to be a problem. For the folks using apt, make sure the theme is provided by the "extra" component. The rpm name is: mozilla-theme-skypilot Otherwise the url is: ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.2-i386/RPMS.extra/ -- Richard Bos Without a home the journey is endless
participants (3)
-
Philipp Thomas
-
Richard Bos
-
S. Bulterman