diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-07 06:52:55 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-07 06:52:55 +0000 |
commit | a70650e52242c10acbab999f24391ba7bc3fffe4 (patch) | |
tree | 1336adad35a85b9694bd8d140e85cd9fefbeba02 /chinese/mozilla-tclp | |
parent | Upgrade to v5.2.3. (diff) |
upgrade to 0.9.8
PR: 35618
Submitted by: maintainer
Diffstat (limited to 'chinese/mozilla-tclp')
-rw-r--r-- | chinese/mozilla-tclp/Makefile | 56 | ||||
-rw-r--r-- | chinese/mozilla-tclp/distinfo | 2 | ||||
-rw-r--r-- | chinese/mozilla-tclp/files/installed-chrome.txt | 33 | ||||
-rw-r--r-- | chinese/mozilla-tclp/files/mozilla.in | 8 | ||||
-rw-r--r-- | chinese/mozilla-tclp/files/mozilla.noxpg4 | 6 | ||||
-rw-r--r-- | chinese/mozilla-tclp/files/mozilla.xpg4 | 7 | ||||
-rw-r--r-- | chinese/mozilla-tclp/files/unix.js | 340 | ||||
-rw-r--r-- | chinese/mozilla-tclp/pkg-message | 10 | ||||
-rw-r--r-- | chinese/mozilla-tclp/pkg-plist | 33 |
9 files changed, 448 insertions, 47 deletions
diff --git a/chinese/mozilla-tclp/Makefile b/chinese/mozilla-tclp/Makefile index 15a112fee5f7..4a2ec4be665f 100644 --- a/chinese/mozilla-tclp/Makefile +++ b/chinese/mozilla-tclp/Makefile @@ -4,19 +4,25 @@ # # $FreeBSD$ # +# If this version is out-of-date, please visit +# http://www.csie.ntu.edu.tw/~b7506051/mozilla/ +# And just download and install there. PORTNAME= mozilla -PORTVERSION= 0.9.6 +PORTVERSION= 0.9.8 +PORTREVISION= 1 +PORTEPOCH= 1 CATEGORIES= chinese www -MASTER_SITES= http://www.csie.ntu.edu.tw/~b7506051/mt4/langpack/ +MASTER_SITES= http://www.csie.ntu.edu.tw/~b7506051/mozilla/langpack/ PKGNAMESUFFIX= -tclp -# Same as ftp://ftp.mozilla.org/pub/mozilla/l10n/lang/moz0.96/langzhtw.xpi. +# Same as ftp://ftp.mozilla.org/pub/mozilla/l10n/lang/moz0.98/langzhtw.xpi. # Use this to avoid checksum problems. -DISTNAME= langzhtw-0.9.6-1122 +DISTNAME= langzhtw-0.9.8-0305 EXTRACT_SUFX= .xpi MAINTAINER= piaip@csie.ntu.edu.tw +BUILD_DEPENDS= ${X11BASE}/lib/mozilla/regxpcom:${PORTSDIR}/www/mozilla RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla WRKSRC= ${WRKDIR}/bin @@ -27,27 +33,43 @@ EXTRACT_BEFORE_ARGS= -qo .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 400020 +MOZILLA_SH= mozilla.noxpg4 +.else +MOZILLA_SH= mozilla.xpg4 +.endif + +post-extract: + ${MKDIR} ${WRKSRC}/defaults/pref + ${CP} ${FILESDIR}/unix.js ${WRKSRC}/defaults/pref + ${CHMOD} -R a+rX ${WRKSRC} + do-build: ${SED} -e "s;@PREFIX@;${PREFIX};g" \ - ${FILESDIR}/mozilla.in > ${WRKDIR}/mozilla + ${FILESDIR}/${MOZILLA_SH} > ${WRKDIR}/mozilla do-install: + (cd ${PREFIX}/lib/mozilla; \ + ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \ + ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome) (cd ${PREFIX}/lib/mozilla/chrome; \ - ${MV} -f all-locales.rdf all-locales.rdf.orig; \ - ${MV} -f user-locales.rdf user-locales.rdf.orig; \ - ${MV} installed-chrome.txt installed-chrome.txt.orig) - ${MV} ${PREFIX}/bin/mozilla ${PREFIX}/bin/mozilla.orig + ${MV} -f chrome.rdf chrome.rdf.orig; \ + ${MV} -f installed-chrome.txt installed-chrome.txt.orig) + (cd ${PREFIX}/lib/mozilla/defaults/pref; \ + ${MV} -f unix.js unix.js.orig) + (cd ${PREFIX}/lib/mozilla/searchplugins; \ + ${MV} -f google.gif google.gif.orig; \ + ${MV} -f google.src google.src.orig) + ${MV} -f ${PREFIX}/bin/mozilla ${PREFIX}/bin/mozilla.orig ${INSTALL_SCRIPT} ${WRKDIR}/mozilla ${PREFIX}/bin + (cd ${WRKSRC}; ${TAR} -cf - chrome defaults searchplugins) | \ + ${TAR} -xf - -C ${PREFIX}/lib/mozilla (cd ${PREFIX}/lib/mozilla/chrome; \ ${CP} installed-chrome.txt.orig installed-chrome.txt; \ ${CAT} ${FILESDIR}/installed-chrome.txt >> installed-chrome.txt) - ${INSTALL_DATA} ${WRKSRC}/chrome/zh-TW.jar \ - ${PREFIX}/lib/mozilla/chrome; - ${INSTALL_DATA} ${WRKSRC}/chrome/zh-unix.jar \ - ${PREFIX}/lib/mozilla/chrome; - ${INSTALL_DATA} ${WRKSRC}/chrome/TW.jar \ - ${PREFIX}/lib/mozilla/chrome; - # "===> Registering Language Pack for Mozilla..."; - ${PREFIX}/bin/mozilla -v; + (cd ${PREFIX}/lib/mozilla; \ + ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \ + ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome) + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/chinese/mozilla-tclp/distinfo b/chinese/mozilla-tclp/distinfo index de1395b0600e..6ca5528faae9 100644 --- a/chinese/mozilla-tclp/distinfo +++ b/chinese/mozilla-tclp/distinfo @@ -1 +1 @@ -MD5 (langzhtw-0.9.6-1122.xpi) = 837ac3f6807d49dde25676cf7d6e6bd6 +MD5 (langzhtw-0.9.8-0305.xpi) = 09c3f5600745b35a6f7387b3d755eb9f diff --git a/chinese/mozilla-tclp/files/installed-chrome.txt b/chinese/mozilla-tclp/files/installed-chrome.txt index aede89af18ab..3f98d064172a 100644 --- a/chinese/mozilla-tclp/files/installed-chrome.txt +++ b/chinese/mozilla-tclp/files/installed-chrome.txt @@ -1,23 +1,28 @@ -locale,install,url,jar:resource:/chrome/TW.jar!/locale/TW/communicator-region/ -locale,install,url,jar:resource:/chrome/TW.jar!/locale/TW/editor-region/ -locale,install,url,jar:resource:/chrome/TW.jar!/locale/TW/global-region/ -locale,install,url,jar:resource:/chrome/TW.jar!/locale/TW/messenger-region/ -locale,install,url,jar:resource:/chrome/TW.jar!/locale/TW/navigator-region/ -locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/communicator/ -locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/content-packs/ -locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/cookie/ -locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/editor/ locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/global/ -locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/help/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/communicator/ locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/messenger/ -locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/mozldap/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/editor/ locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/navigator/ locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/necko/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/cookie/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/wallet/ locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/pipnss/ locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/pippki/ -locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/wallet/ -locale,install,url,jar:resource:/chrome/zh-unix.jar!/locale/zh-TW/communicator-platform/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/content-packs/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/help/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/mozldap/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/messenger-smime/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/chatzilla/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/venkman/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/inspector/ locale,install,url,jar:resource:/chrome/zh-unix.jar!/locale/zh-TW/global-platform/ +locale,install,url,jar:resource:/chrome/zh-unix.jar!/locale/zh-TW/communicator-platform/ locale,install,url,jar:resource:/chrome/zh-unix.jar!/locale/zh-TW/navigator-platform/ -locale,install,select,TW +locale,install,url,jar:resource:/chrome/TW.jar!/locale/TW/global-region/ +locale,install,url,jar:resource:/chrome/TW.jar!/locale/TW/communicator-region/ +locale,install,url,jar:resource:/chrome/TW.jar!/locale/TW/editor-region/ +locale,install,url,jar:resource:/chrome/TW.jar!/locale/TW/messenger-region/ +locale,install,url,jar:resource:/chrome/TW.jar!/locale/TW/navigator-region/ locale,install,select,zh-TW +locale,install,select,TW +skin,install,select,modern/1.0 diff --git a/chinese/mozilla-tclp/files/mozilla.in b/chinese/mozilla-tclp/files/mozilla.in deleted file mode 100644 index 37c663b90aab..000000000000 --- a/chinese/mozilla-tclp/files/mozilla.in +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -export LANG; LANG=zh_TW.Big5 -export LC_CTYPE; LC_CTYPE=zh_TW.Big5 -export LC_ALL; LC_ALL=zh_TW.Big5 - -cd @PREFIX@/lib/mozilla -exec ./mozilla $@ diff --git a/chinese/mozilla-tclp/files/mozilla.noxpg4 b/chinese/mozilla-tclp/files/mozilla.noxpg4 new file mode 100644 index 000000000000..fb0349e23505 --- /dev/null +++ b/chinese/mozilla-tclp/files/mozilla.noxpg4 @@ -0,0 +1,6 @@ +#!/bin/sh + +LANG=zh_TW.Big5; export LANG + +cd @PREFIX@/lib/mozilla +exec ./mozilla "$@" diff --git a/chinese/mozilla-tclp/files/mozilla.xpg4 b/chinese/mozilla-tclp/files/mozilla.xpg4 new file mode 100644 index 000000000000..defa70c62ebf --- /dev/null +++ b/chinese/mozilla-tclp/files/mozilla.xpg4 @@ -0,0 +1,7 @@ +#!/bin/sh + +LANG=zh_TW.Big5; export LANG +LD_PRELOAD=/usr/lib/libxpg4.so.2; export LD_PRELOAD + +cd @PREFIX@/lib/mozilla +exec ./mozilla "$@" diff --git a/chinese/mozilla-tclp/files/unix.js b/chinese/mozilla-tclp/files/unix.js new file mode 100644 index 000000000000..cba1d05c5653 --- /dev/null +++ b/chinese/mozilla-tclp/files/unix.js @@ -0,0 +1,340 @@ +/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: NPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Netscape Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Roland Mainz <roland.mainz@informatik.med.uni-giessen.de> + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the NPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the NPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +pref("mail.empty_trash", false); + +// Handled differently under Mac/Windows +pref("network.hosts.smtp_server", "localhost"); +pref("network.hosts.pop_server", "pop"); +pref("mail.check_new_mail", true); +pref("browser.display.screen_resolution", 0); // System setting +pref("browser.startup.license_accepted", ""); +pref("browser.cache.memory.capacity", 4096); +pref("browser.cache.disk.capacity", 50000); +pref("browser.ncols", 0); +pref("browser.installcmap", false); +pref("browser.drag_out_of_frame_style", 1); +pref("mail.signature_file", "~/.signature"); +pref("mail.default_fcc", "~/nsmail/Sent"); +pref("news.default_fcc", "~/nsmail/Sent"); +pref("mailnews.reply_with_extra_lines", 0); +pref("security.warn_accept_cookie", false); +pref("editor.disable_spell_checker", false); +pref("editor.dont_lock_spell_files", true); +pref("editor.singleLine.pasteNewlines", 0); + +// Middle-mouse handling +pref("middlemouse.paste", true); +pref("middlemouse.contentLoadURL", true); +pref("middlemouse.openNewWindow", true); +pref("middlemouse.scrollbarPosition", true); + +// Clipboard behavior +pref("clipboard.autocopy", true); + +pref("browser.urlbar.clickSelectsAll", false); + +// override double-click word selection behavior. +pref("layout.word_select.stop_at_punctuation", false); + +// autocomplete keyboard grab workaround +pref("autocomplete.grab_during_popup", true); +pref("autocomplete.ungrab_during_mode_switch", true); + +// Most Unix people think modal pref windows are stupid: +pref("browser.prefWindowModal", false); + +// turn off scrollbar snapping +pref("slider.snapMultiplier", 0); + +// Unix only +pref("mail.use_movemail", true); +pref("mail.use_builtin_movemail", true); +pref("mail.movemail_program", ""); +pref("mail.movemail_warn", false); +pref("mail.sash_geometry", ""); +pref("news.cache_xover", false); +pref("news.show_first_unread", false); +pref("news.sash_geometry", ""); +pref("helpers.global_mime_types_file", "/etc/mime.types"); +pref("helpers.global_mailcap_file", "/etc/mailcap"); +pref("helpers.private_mime_types_file", "~/.mime.types"); +pref("helpers.private_mailcap_file", "~/.mailcap"); +pref("applications.telnet", "xterm -e telnet %h %p"); +pref("applications.tn3270", "xterm -e tn3270 %h"); +pref("applications.rlogin", "xterm -e rlogin %h"); +pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u"); +pref("applications.tmp_dir", "/tmp"); +// On Solaris/IRIX, this should be "lp" +pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}"); +pref("print.printer_list", ""); // list of printers, seperated by spaces +pref("print.print_reversed", false); +pref("print.print_color", true); +pref("print.print_landscape", false); +pref("print.print_paper_size", 0); + +// print_headerfooter_gap enables platforms to specify an extra "gap" in twips +// between the H/F and the edge of the paper, +// this is used by both Printing and Print Preview +pref("print.print_headerfooter_gap", 60); // twips + +// print_extra_margin enables platforms to specify an extra gap or margin +// around the content of the page for Print Preview only +pref("print.print_extra_margin", 0); // twips + +pref("print.whileInPrintPreview", false); + +pref("font.allow_double_byte_special_chars", true); +// font names + +// ar + +pref("font.name.serif.el", "misc-fixed-iso8859-7"); +pref("font.name.sans-serif.el", "misc-fixed-iso8859-7"); +pref("font.name.monospace.el", "misc-fixed-iso8859-7"); + +pref("font.name.serif.he", "misc-fixed-iso8859-8"); +pref("font.name.sans-serif.he", "misc-fixed-iso8859-8"); +pref("font.name.monospace.he", "misc-fixed-iso8859-8"); + +pref("font.name.serif.ja", "alias-fixed-jisx0208.1983-0"); +pref("font.name.sans-serif.ja", "alias-fixed-jisx0208.1983-0"); +pref("font.name.monospace.ja", "alias-fixed-jisx0208.1983-0"); + +pref("font.name.serif.ko", "daewoo-mincho-ksc5601.1987-0"); +pref("font.name.sans-serif.ko", "daewoo-mincho-ksc5601.1987-0"); +pref("font.name.monospace.ko", "daewoo-mincho-ksc5601.1987-0"); + +// th + +pref("font.name.serif.tr", "adobe-times-iso8859-9"); +pref("font.name.sans-serif.tr", "adobe-helvetica-iso8859-9"); +pref("font.name.monospace.tr", "adobe-courier-iso8859-9"); + +pref("font.name.serif.x-baltic", "b&h-lucidux serif-iso8859-4"); +pref("font.name.sans-serif.x-baltic", "b&h-lucidux sans-iso8859-4"); +pref("font.name.monospace.x-baltic", "b&h-lucidux mono-iso8859-4"); + +pref("font.name.serif.x-central-euro", "adobe-times-iso8859-2"); +pref("font.name.sans-serif.x-central-euro", "adobe-helvetica-iso8859-2"); +pref("font.name.monospace.x-central-euro", "adobe-courier-iso8859-2"); + +pref("font.name.serif.x-cyrillic", "cronyx-times-koi8-r"); +pref("font.name.sans-serif.x-cyrillic", "cronyx-helvetica-koi8-r"); +pref("font.name.monospace.x-cyrillic", "cronyx-courier-koi8-r"); + +pref("font.name.serif.x-unicode", "adobe-times-iso8859-1"); +pref("font.name.sans-serif.x-unicode", "adobe-helvetica-iso8859-1"); +pref("font.name.monospace.x-unicode", "adobe-courier-iso8859-1"); + +pref("font.name.serif.x-user-def", "adobe-times-iso8859-1"); +pref("font.name.sans-serif.x-user-def", "adobe-helvetica-iso8859-1"); +pref("font.name.monospace.x-user-def", "adobe-courier-iso8859-1"); + +pref("font.name.serif.x-western", "adobe-times-iso8859-1"); +pref("font.name.sans-serif.x-western", "adobe-helvetica-iso8859-1"); +pref("font.name.monospace.x-western", "adobe-courier-iso8859-1"); + +pref("font.name.serif.zh-CN", "isas-song ti-gb2312.1980-0"); +pref("font.name.sans-serif.zh-CN", "isas-song ti-gb2312.1980-0"); +pref("font.name.monospace.zh-CN", "isas-song ti-gb2312.1980-0"); + +// zh-TW + +pref("font.default", "serif"); +pref("font.size.variable.ar", 16); +pref("font.size.fixed.ar", 12); + +pref("font.size.variable.el", 16); +pref("font.size.fixed.el", 12); + +pref("font.size.variable.he", 16); +pref("font.size.fixed.he", 12); + +pref("font.size.variable.ja", 14); +pref("font.size.fixed.ja", 14); + +pref("font.size.variable.ko", 16); +pref("font.size.fixed.ko", 16); + +pref("font.size.variable.th", 16); +pref("font.size.fixed.th", 12); + +pref("font.size.variable.tr", 16); +pref("font.size.fixed.tr", 12); + +pref("font.size.variable.x-baltic", 16); +pref("font.size.fixed.x-baltic", 12); + +pref("font.size.variable.x-central-euro", 16); +pref("font.size.fixed.x-central-euro", 12); + +pref("font.size.variable.x-cyrillic", 16); +pref("font.size.fixed.x-cyrillic", 12); + +pref("font.size.variable.x-unicode", 16); +pref("font.size.fixed.x-unicode", 12); + +pref("font.size.variable.x-western", 14); +pref("font.size.fixed.x-western", 12); + +pref("font.size.variable.zh-CN", 16); +pref("font.size.fixed.zh-CN", 16); + +pref("font.size.variable.zh-TW", 16); +pref("font.size.fixed.zh-TW", 16); + +// below a certian pixel size outline scaled fonts produce poor results +pref("font.scale.outline.min", 6); + +// below a certian pixel size anti-aliased bitmat scaled fonts +// produce poor results +pref("font.scale.aa_bitmap.enable", true); +pref("font.scale.aa_bitmap.always", false); +pref("font.scale.aa_bitmap.min", 6); +pref("font.scale.aa_bitmap.undersize", 80); +pref("font.scale.aa_bitmap.oversize", 120); +pref("font.scale.aa_bitmap.dark_text.min", 64); +pref("font.scale.aa_bitmap.dark_text.gain", "0.5"); +pref("font.scale.aa_bitmap.light_text.min", 64); +pref("font.scale.aa_bitmap.light_text.gain", "1.3"); + +pref("font.scale.bitmap.min", 12); +pref("font.scale.bitmap.undersize", 80); +pref("font.scale.bitmap.oversize", 120); + +pref("font.scale.outline.min.ja", 10); +pref("font.scale.aa_bitmap.min.ja", 12); +pref("font.scale.aa_bitmap.always.ja", false); +pref("font.scale.bitmap.min.ja", 16); +pref("font.scale.bitmap.undersize.ja", 80); +pref("font.scale.bitmap.oversize.ja", 120); + +pref("font.scale.outline.min.ko", 10); +pref("font.scale.aa_bitmap.min.ko", 12); +pref("font.scale.aa_bitmap.always.ko", false); +pref("font.scale.bitmap.min.ko", 16); +pref("font.scale.bitmap.undersize.ko", 80); +pref("font.scale.bitmap.oversize.ko", 120); + +pref("font.scale.outline.min.zh-CN", 10); +pref("font.scale.aa_bitmap.min.zh-CN", 12); +pref("font.scale.aa_bitmap.always.zh-CN", false); +pref("font.scale.bitmap.min.zh-CN", 16); +pref("font.scale.bitmap.undersize.zh-CN", 80); +pref("font.scale.bitmap.oversize.zh-CN", 120); + +pref("font.scale.outline.min.zh-TW", 10); +pref("font.scale.aa_bitmap.min.zh-TW", 12); +pref("font.scale.aa_bitmap.always.zh-TW", false); +pref("font.scale.bitmap.min.zh-TW", 16); +pref("font.scale.bitmap.undersize.zh-TW", 80); +pref("font.scale.bitmap.oversize.zh-TW", 120); + +// minimum font sizes + +pref("font.min-size.variable.ja", 8); +pref("font.min-size.fixed.ja", 8); + +pref("font.min-size.variable.ko", 10); +pref("font.min-size.fixed.ko", 10); + +pref("font.min-size.variable.zh-CN", 10); +pref("font.min-size.fixed.zh-CN", 10); + +pref("font.min-size.variable.zh-TW", 10); +pref("font.min-size.fixed.zh-TW", 10); + +// X11 specific +/* X11 font accept/reject patterns: + * Patterns have to match against strings like this: + * (boolean values can only be "true" or "false") + * "fname=.*;scalable=.*;outline_scaled=.*;xdisplay=.*;xdpy=%d;ydpy=%d;xdevice=.*" + * - fname = X11 font name (string) + * - scalable = is font scalable ? (boolean) + * - outline_scaled = is font an outline scaled font ? (boolean) + * - xdisplay = X11 display name (like "host:0.0" (string) + * - xdpy = X DPI (X screen resolution) (integer) + * - ydpy = Y DPI (Y screen resolution) (integer) + * - xdevice = "display" or "printer" (Xprint) + * Patterns use the regular expressions described in the EXTENDED REGULAR + * EXPRESSIONS section of the regex(5) manual page. + * Note that prefs strings can always be concatenated via the '+'-operator, + * e.g. pref("font.x11.acceptfontpattern", "pattern1|" + + * "pattern2|" + + * "pattern3"); + */ +/* reject font if accept pattern does not match it... */ +//pref("font.x11.acceptfontpattern", ".*"); +/* reject font if reject pattern matches it... */ +//pref("font.x11.rejectfontpattern", +// "fname=-urw.*;scalable=false;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevice=.*"); + +/* reject font if accept pattern does not match it... */ +//pref("printer.font.xprint.acceptfontpattern", ".*"); +/* reject font if reject pattern matches it... */ +//pref("printer.font.xprint.rejectfontpattern", +// "fname=-urw.*;scalable=false;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevice=.*"); + +// Chatzilla +pref("mail.signature_date", 0); +pref("extensions.irc.charset", "Big5"); + +// ps font +// this list is used by the postscript font +// to enumerate the list of langGroups +// there should be a call to get the +// langGroups; see bug 75054 +pref("print.psnativefont.ar", ""); +pref("print.psnativefont.el", ""); +pref("print.psnativefont.he", ""); +pref("print.psnativefont.ja", ""); +pref("print.psnativefont.ko", ""); +pref("print.psnativefont.th", ""); +pref("print.psnativefont.tr", ""); +pref("print.psnativefont.x-baltic", ""); +pref("print.psnativefont.x-central-euro", ""); +pref("print.psnativefont.x-cyrillic", ""); +pref("print.psnativefont.x-unicode", ""); +pref("print.psnativefont.x-user-def", ""); +pref("print.psnativefont.x-western", ""); +pref("print.psnativefont.zh-CN", ""); +// Change lines below to your local system fonts +// Check http://freebsd.sinica.edu.tw/~statue/zh-tut/web-browse.html +pref("print.psnativecode.zh-TW", "big5"); +pref("print.psnativefont.zh-TW", "ArphicMingB5-Regular-ETen-B5-H"); diff --git a/chinese/mozilla-tclp/pkg-message b/chinese/mozilla-tclp/pkg-message new file mode 100644 index 000000000000..f4f59973c40a --- /dev/null +++ b/chinese/mozilla-tclp/pkg-message @@ -0,0 +1,10 @@ +******************************** +If your XIM wouldn't work propery, try to make a file + +"${HOME}/.mozilla/${USER}/*.slt/user.js" + +with below content; +-- +user_pref("xim.input_style", "over-the-spot") +-- +******************************** diff --git a/chinese/mozilla-tclp/pkg-plist b/chinese/mozilla-tclp/pkg-plist index 73cd805c912f..0f66ff3ad84c 100644 --- a/chinese/mozilla-tclp/pkg-plist +++ b/chinese/mozilla-tclp/pkg-plist @@ -1,15 +1,34 @@ +@exec env LD_LIBRARY_PATH=%D/lib/mozilla MOZILLA_FIVE_HOME=%D/lib/mozilla %D/lib/mozilla/regxpcom +@exec env LD_LIBRARY_PATH=%D/lib/mozilla MOZILLA_FIVE_HOME=%D/lib/mozilla %D/lib/mozilla/regchrome @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/chrome.rdf %D/lib/mozilla/chrome/chrome.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 +@exec mv %D/lib/mozilla/searchplugins/google.gif %D/lib/mozilla/searchplugins/google.gif.orig +@exec mv %D/lib/mozilla/searchplugins/google.src %D/lib/mozilla/searchplugins/google.src.orig bin/mozilla +lib/mozilla/chrome/TW.jar +lib/mozilla/chrome/chrome.rdf lib/mozilla/chrome/installed-chrome.txt lib/mozilla/chrome/zh-TW.jar +lib/mozilla/chrome/zh-mac.jar lib/mozilla/chrome/zh-unix.jar -lib/mozilla/chrome/TW.jar -lib/mozilla/chrome/all-locales.rdf -lib/mozilla/chrome/user-locales.rdf +lib/mozilla/chrome/zh-win.jar +lib/mozilla/defaults/pref/unix.js +lib/mozilla/defaults/profile/TW/chrome/userChrome.css +lib/mozilla/defaults/profile/TW/chrome/userContent.css +lib/mozilla/defaults/profile/TW/bookmarks.html +lib/mozilla/defaults/profile/TW/localstore.rdf +lib/mozilla/defaults/profile/TW/mimeTypes.rdf +lib/mozilla/defaults/profile/TW/panels.rdf +lib/mozilla/defaults/profile/TW/search.rdf +lib/mozilla/searchplugins/google.gif +lib/mozilla/searchplugins/google.src @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/chrome.rdf.orig %D/lib/mozilla/chrome/chrome.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 +@unexec mv %D/lib/mozilla/searchplugins/google.gif.orig %D/lib/mozilla/searchplugins/google.gif +@unexec mv %D/lib/mozilla/searchplugins/google.src.orig %D/lib/mozilla/searchplugins/google.src +@dirrm lib/mozilla/defaults/profile/TW/chrome +@dirrm lib/mozilla/defaults/profile/TW |