summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorJing-Tang Keith Jang <keith@FreeBSD.org>2001-03-11 05:27:34 +0000
committerJing-Tang Keith Jang <keith@FreeBSD.org>2001-03-11 05:27:34 +0000
commit800ca3c7481e5e412234595aa7c5380a3c928921 (patch)
treec0311452ae33c9f3018683241d382b737dd8fac0 /chinese
parentSeveral satellite ports that depend on this one require bzip2 to be (diff)
Fix mozill-bin polling problems when initializing, due to an
incomplete locale setting. Reported and fix tested by: kliev, vanilla, keichii, sothat@zoonews.ee.ntu.edu.tw (Y.Chiu.=)
Notes
Notes: svn path=/head/; revision=39543
Diffstat (limited to 'chinese')
-rw-r--r--chinese/mozilla-tclp/Makefile3
-rw-r--r--chinese/mozilla-tclp/files/all-locales.rdf88
-rw-r--r--chinese/mozilla-tclp/pkg-plist3
3 files changed, 94 insertions, 0 deletions
diff --git a/chinese/mozilla-tclp/Makefile b/chinese/mozilla-tclp/Makefile
index 69e64f446353..21547990140b 100644
--- a/chinese/mozilla-tclp/Makefile
+++ b/chinese/mozilla-tclp/Makefile
@@ -33,6 +33,7 @@ do-build:
do-install:
(cd ${PREFIX}/lib/mozilla/chrome; \
+ ${MV} all-locales.rdf all-locales.rdf.orig; \
${MV} user-locales.rdf user-locales.rdf.orig; \
${MV} installed-chrome.txt installed-chrome.txt.orig)
(cd ${PREFIX}/lib/mozilla/defaults/pref; \
@@ -42,6 +43,8 @@ do-install:
(cd ${PREFIX}/lib/mozilla/chrome; \
${CP} installed-chrome.txt.orig installed-chrome.txt; \
${CAT} ${FILESDIR}/installed-chrome.txt >> installed-chrome.txt)
+ ${INSTALL_DATA} ${FILESDIR}/all-locales.rdf \
+ ${PREFIX}/lib/mozilla/chrome;
${INSTALL_DATA} ${WRKSRC}/chrome/user-locales.rdf \
${PREFIX}/lib/mozilla/chrome;
${INSTALL_DATA} ${WRKSRC}/chrome/zh-TW.jar \
diff --git a/chinese/mozilla-tclp/files/all-locales.rdf b/chinese/mozilla-tclp/files/all-locales.rdf
new file mode 100644
index 000000000000..5c2c782df7ee
--- /dev/null
+++ b/chinese/mozilla-tclp/files/all-locales.rdf
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+<RDF:RDF
+ xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <RDF:Description about="urn:mozilla:locale:en-US:navigator">
+ <NS942:baseURL xmlns:NS942="http://www.mozilla.org/rdf/chrome#">resource:/chrome/en-US/locale/en-US/navigator/</NS942:baseURL>
+ <NS943:package xmlns:NS943="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:navigator"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:zh-TW:global">
+ <NS944:baseURL xmlns:NS944="http://www.mozilla.org/rdf/chrome#">jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/global/</NS944:baseURL>
+ <NS945:package xmlns:NS945="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:global"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:en-US">
+ <NS946:displayName xmlns:NS946="http://www.mozilla.org/rdf/chrome#">English(US)</NS946:displayName>
+ <NS947:author xmlns:NS947="http://www.mozilla.org/rdf/chrome#">mozilla.org</NS947:author>
+ <NS948:name xmlns:NS948="http://www.mozilla.org/rdf/chrome#">en-US</NS948:name>
+ <NS949:previewURL xmlns:NS949="http://www.mozilla.org/rdf/chrome#">http://www.mozilla.org/locales/en-US.gif</NS949:previewURL>
+ <NS950:locType xmlns:NS950="http://www.mozilla.org/rdf/chrome#">install</NS950:locType>
+ <NS951:packages xmlns:NS951="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:locale:en-US:packages"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:en-US:embed">
+ <NS952:baseURL xmlns:NS952="http://www.mozilla.org/rdf/chrome#">resource:/chrome/embed/locale/en-US/embed/</NS952:baseURL>
+ <NS953:package xmlns:NS953="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:embed"/>
+ </RDF:Description>
+ <RDF:Seq about="urn:mozilla:locale:zh-TW:packages">
+ <RDF:li resource="urn:mozilla:locale:zh-TW:global"/>
+ <RDF:li resource="urn:mozilla:locale:zh-TW:communicator"/>
+ <RDF:li resource="urn:mozilla:locale:zh-TW:messenger"/>
+ <RDF:li resource="urn:mozilla:locale:zh-TW:editor"/>
+ <RDF:li resource="urn:mozilla:locale:zh-TW:navigator"/>
+ </RDF:Seq>
+ <RDF:Seq about="urn:mozilla:locale:root">
+ <RDF:li resource="urn:mozilla:locale:en-US"/>
+ <RDF:li resource="urn:mozilla:locale:zh-TW"/>
+ </RDF:Seq>
+ <RDF:Description about="urn:mozilla:locale:zh-TW:editor">
+ <NS954:baseURL xmlns:NS954="http://www.mozilla.org/rdf/chrome#">jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/editor/</NS954:baseURL>
+ <NS955:package xmlns:NS955="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:editor"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:zh-TW:messenger">
+ <NS956:baseURL xmlns:NS956="http://www.mozilla.org/rdf/chrome#">jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/messenger/</NS956:baseURL>
+ <NS957:package xmlns:NS957="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:messenger"/>
+ </RDF:Description>
+ <RDF:Seq about="urn:mozilla:locale:en-US:packages">
+ <RDF:li resource="urn:mozilla:locale:en-US:necko"/>
+ <RDF:li resource="urn:mozilla:locale:en-US:embed"/>
+ <RDF:li resource="urn:mozilla:locale:en-US:editor"/>
+ <RDF:li resource="urn:mozilla:locale:en-US:navigator"/>
+ <RDF:li resource="urn:mozilla:locale:en-US:communicator"/>
+ <RDF:li resource="urn:mozilla:locale:en-US:global"/>
+ <RDF:li resource="urn:mozilla:locale:en-US:messenger"/>
+ </RDF:Seq>
+ <RDF:Description about="urn:mozilla:locale:en-US:global">
+ <NS958:baseURL xmlns:NS958="http://www.mozilla.org/rdf/chrome#">resource:/chrome/en-US/locale/en-US/global/</NS958:baseURL>
+ <NS959:package xmlns:NS959="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:global"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:zh-TW:communicator">
+ <NS960:baseURL xmlns:NS960="http://www.mozilla.org/rdf/chrome#">jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/communicator/</NS960:baseURL>
+ <NS961:package xmlns:NS961="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:communicator"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:en-US:editor">
+ <NS962:baseURL xmlns:NS962="http://www.mozilla.org/rdf/chrome#">resource:/chrome/en-US/locale/en-US/editor/</NS962:baseURL>
+ <NS963:package xmlns:NS963="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:editor"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:zh-TW:navigator">
+ <NS964:baseURL xmlns:NS964="http://www.mozilla.org/rdf/chrome#">jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/navigator/</NS964:baseURL>
+ <NS965:package xmlns:NS965="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:navigator"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:en-US:necko">
+ <NS966:baseURL xmlns:NS966="http://www.mozilla.org/rdf/chrome#">resource:/chrome/en-US/locale/en-US/necko/</NS966:baseURL>
+ <NS967:package xmlns:NS967="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:necko"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:en-US:messenger">
+ <NS968:baseURL xmlns:NS968="http://www.mozilla.org/rdf/chrome#">resource:/chrome/en-US/locale/en-US/messenger/</NS968:baseURL>
+ <NS969:package xmlns:NS969="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:messenger"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:en-US:communicator">
+ <NS970:baseURL xmlns:NS970="http://www.mozilla.org/rdf/chrome#">resource:/chrome/en-US/locale/en-US/communicator/</NS970:baseURL>
+ <NS971:package xmlns:NS971="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:package:communicator"/>
+ </RDF:Description>
+ <RDF:Description about="urn:mozilla:locale:zh-TW">
+ <NS972:displayName xmlns:NS972="http://www.mozilla.org/rdf/chrome#">Japanese(Japan)</NS972:displayName>
+ <NS973:author xmlns:NS973="http://www.mozilla.org/rdf/chrome#">Kazu Yamamoto + Ryoichi Furukawa</NS973:author>
+ <NS974:name xmlns:NS974="http://www.mozilla.org/rdf/chrome#">zh-TW</NS974:name>
+ <NS975:previewURL xmlns:NS975="http://www.mozilla.org/rdf/chrome#">http://www.mozilla.gr.jp/jlp/jlpicon.png</NS975:previewURL>
+ <NS976:locType xmlns:NS976="http://www.mozilla.org/rdf/chrome#">install</NS976:locType>
+ <NS977:packages xmlns:NS977="http://www.mozilla.org/rdf/chrome#" resource="urn:mozilla:locale:zh-TW:packages"/>
+ </RDF:Description>
+</RDF:RDF>
diff --git a/chinese/mozilla-tclp/pkg-plist b/chinese/mozilla-tclp/pkg-plist
index 98e6e2b4a5e5..c3ade47920cd 100644
--- a/chinese/mozilla-tclp/pkg-plist
+++ b/chinese/mozilla-tclp/pkg-plist
@@ -1,13 +1,16 @@
@exec mv %D/bin/mozilla %D/bin/mozilla.orig
+@exec mv %D/lib/mozilla/chrome/all-locales.rdf %D/lib/mozilla/chrome/all-locales.rdf.orig
@exec mv %D/lib/mozilla/chrome/user-locales.rdf %D/lib/mozilla/chrome/user-locales.rdf.orig
@exec mv %D/lib/mozilla/chrome/installed-chrome.txt %D/lib/mozilla/chrome/installed-chrome.txt.orig
@exec mv %D/lib/mozilla/defaults/pref/unix.js %D/lib/mozilla/defaults/pref/unix.js.orig
bin/mozilla
lib/mozilla/chrome/installed-chrome.txt
lib/mozilla/chrome/zh-TW.jar
+lib/mozilla/chrome/all-locales.rdf
lib/mozilla/chrome/user-locales.rdf
lib/mozilla/defaults/pref/unix.js
@unexec mv %D/bin/mozilla.orig %D/bin/mozilla
+@unexec mv %D/lib/mozilla/chrome/all-locales.rdf.orig %D/lib/mozilla/chrome/all-locales.rdf
@unexec mv %D/lib/mozilla/chrome/user-locales.rdf.orig %D/lib/mozilla/chrome/user-locales.rdf
@unexec mv %D/lib/mozilla/chrome/installed-chrome.txt.orig %D/lib/mozilla/chrome/installed-chrome.txt
@unexec mv %D/lib/mozilla/defaults/pref/unix.js.orig %D/lib/mozilla/defaults/pref/unix.js