summaryrefslogtreecommitdiff
path: root/www/mozilla
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2000-10-29 09:14:24 +0000
committermycroft <mycroft@pkgsrc.org>2000-10-29 09:14:24 +0000
commitfda797ceb44a9628520619a79fb5dc599f4b32c3 (patch)
tree46f94c29adafe5eee602c38ad36691798871af95 /www/mozilla
parentca03967569b2051cf41e172d147d85ce86efbfe3 (diff)
downloadpkgsrc-fda797ceb44a9628520619a79fb5dc599f4b32c3.tar.gz
I was on crack. It is still necessary to generate these files at install time.
Instead, update to a current, correct version.
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/files/user-locales.rdf19
-rw-r--r--www/mozilla/files/user-skins.rdf19
-rw-r--r--www/mozilla/pkg/PLIST-ELF6
-rw-r--r--www/mozilla/pkg/PLIST-a.out6
-rwxr-xr-xwww/mozilla/scripts/moz-install6
5 files changed, 50 insertions, 6 deletions
diff --git a/www/mozilla/files/user-locales.rdf b/www/mozilla/files/user-locales.rdf
new file mode 100644
index 00000000000..f74433c00d8
--- /dev/null
+++ b/www/mozilla/files/user-locales.rdf
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<RDF:RDF
+ xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <RDF:Description about="urn:mozilla:package:global">
+ <NS13:selectedLocale xmlns:NS13="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:locale:en-US:global"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:package:messenger">
+ <NS14:selectedLocale xmlns:NS14="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:locale:en-US:messenger"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:package:communicator">
+ <NS15:selectedLocale xmlns:NS15="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:locale:en-US:communicator"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:package:navigator">
+ <NS16:selectedLocale xmlns:NS16="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:locale:en-US:navigator"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:package:editor">
+ <NS17:selectedLocale xmlns:NS17="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:locale:en-US:editor"/>
+ </RDF:Description>
+</RDF:RDF>
diff --git a/www/mozilla/files/user-skins.rdf b/www/mozilla/files/user-skins.rdf
new file mode 100644
index 00000000000..3a236cb2d19
--- /dev/null
+++ b/www/mozilla/files/user-skins.rdf
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<RDF:RDF
+ xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <RDF:Description about="urn:mozilla:package:global">
+ <NS7:selectedSkin xmlns:NS7="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:skin:classic/1.0:global"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:package:messenger">
+ <NS8:selectedSkin xmlns:NS8="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:skin:classic/1.0:messenger"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:package:communicator">
+ <NS9:selectedSkin xmlns:NS9="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:skin:classic/1.0:communicator"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:package:navigator">
+ <NS10:selectedSkin xmlns:NS10="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:skin:classic/1.0:navigator"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:package:editor">
+ <NS11:selectedSkin xmlns:NS11="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:skin:classic/1.0:editor"/>
+ </RDF:Description>
+</RDF:RDF>
diff --git a/www/mozilla/pkg/PLIST-ELF b/www/mozilla/pkg/PLIST-ELF
index 8f7311a7426..d3c8777387f 100644
--- a/www/mozilla/pkg/PLIST-ELF
+++ b/www/mozilla/pkg/PLIST-ELF
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST-ELF,v 1.4 2000/10/29 03:51:19 mycroft Exp $
+@comment $NetBSD: PLIST-ELF,v 1.5 2000/10/29 09:14:25 mycroft Exp $
@option extract-in-place
bin/mozilla
+lib/mozilla/chrome/user-locales.rdf
+lib/mozilla/chrome/user-skins.rdf
@comment begin PROGRAMS
lib/mozilla/mozilla-bin
lib/mozilla/nsTestSample
@@ -130,8 +132,6 @@ lib/mozilla/chrome/overlayinfo/editor/content/overlays.rdf
lib/mozilla/chrome/overlayinfo/messenger/content/overlays.rdf
lib/mozilla/chrome/overlayinfo/navigator/content/overlays.rdf
lib/mozilla/chrome/toolkit.jar
-lib/mozilla/chrome/user-locales.rdf
-lib/mozilla/chrome/user-skins.rdf
lib/mozilla/component.reg
lib/mozilla/components/absync.xpt
lib/mozilla/components/addrbook.xpt
diff --git a/www/mozilla/pkg/PLIST-a.out b/www/mozilla/pkg/PLIST-a.out
index 5ad0e0b93df..5fbf088f402 100644
--- a/www/mozilla/pkg/PLIST-a.out
+++ b/www/mozilla/pkg/PLIST-a.out
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST-a.out,v 1.4 2000/10/29 03:51:20 mycroft Exp $
+@comment $NetBSD: PLIST-a.out,v 1.5 2000/10/29 09:14:25 mycroft Exp $
@option extract-in-place
bin/mozilla
+lib/mozilla/chrome/user-locales.rdf
+lib/mozilla/chrome/user-skins.rdf
@comment begin PROGRAMS
lib/mozilla/mozilla-bin
lib/mozilla/nsTestSample
@@ -130,8 +132,6 @@ lib/mozilla/chrome/overlayinfo/editor/content/overlays.rdf
lib/mozilla/chrome/overlayinfo/messenger/content/overlays.rdf
lib/mozilla/chrome/overlayinfo/navigator/content/overlays.rdf
lib/mozilla/chrome/toolkit.jar
-lib/mozilla/chrome/user-locales.rdf
-lib/mozilla/chrome/user-skins.rdf
lib/mozilla/component.reg
lib/mozilla/components/absync.xpt
lib/mozilla/components/addrbook.xpt
diff --git a/www/mozilla/scripts/moz-install b/www/mozilla/scripts/moz-install
index 2575afd5e40..2bf0be59a28 100755
--- a/www/mozilla/scripts/moz-install
+++ b/www/mozilla/scripts/moz-install
@@ -33,3 +33,9 @@ for i in `${SED} -n -e '/^@comment begin DATA$/,/^@comment end DATA$/p' ${PLIST_
src=`echo $i | sed -e 's@lib/mozilla@dist/bin@'`;
${BSD_INSTALL_DATA} ${WRKSRC}/${src} ${PREFIX}/$i
done
+
+# install missing data.
+# those files are generated automatically at first startup
+# without root privilege, those could not be generated and mozilla could not be started
+${BSD_INSTALL_DATA} ${FILESDIR}/user-locales.rdf ${PREFIX}/lib/mozilla/chrome
+${BSD_INSTALL_DATA} ${FILESDIR}/user-skins.rdf ${PREFIX}/lib/mozilla/chrome