diff options
Diffstat (limited to 'japanese/mozilla-jlp')
-rw-r--r-- | japanese/mozilla-jlp/Makefile | 10 | ||||
-rw-r--r-- | japanese/mozilla-jlp/distinfo | 2 | ||||
-rw-r--r-- | japanese/mozilla-jlp/files/all.js | 43 | ||||
-rw-r--r-- | japanese/mozilla-jlp/files/unix.js | 3 | ||||
-rw-r--r-- | japanese/mozilla-jlp/pkg-plist | 67 |
5 files changed, 105 insertions, 20 deletions
diff --git a/japanese/mozilla-jlp/Makefile b/japanese/mozilla-jlp/Makefile index 8cca3de42794..bc9cf9e097ad 100644 --- a/japanese/mozilla-jlp/Makefile +++ b/japanese/mozilla-jlp/Makefile @@ -6,13 +6,13 @@ # PORTNAME= mozilla -PORTVERSION= M18 -PORTREVISION= 1 +PORTVERSION= 0.7 +PORTEPOCH= 1 CATEGORIES= japanese www MASTER_SITES= http://www.mozilla.gr.jp/jlp/ \ http://mozilla.inmel.net/ PKGNAMESUFFIX= -jlp -DISTNAME= ${PORTVERSION}-langjajp +DISTNAME= ${PORTNAME}${PORTVERSION}-langjajp EXTRACT_SUFX= .xpi MAINTAINER= yatt@msc.biglobe.ne.jp @@ -36,7 +36,6 @@ MOZILLA_SH= mozilla.xpg4 .endif post-extract: - find ${WRKSRC} -type d -exec ${CHMOD} 755 {} \; ${MKDIR} ${WRKSRC}/defaults/pref ${CP} ${FILESDIR}/all.js ${WRKSRC}/defaults/pref ${CP} ${FILESDIR}/unix.js ${WRKSRC}/defaults/pref @@ -48,7 +47,10 @@ do-build: do-install: (cd ${PREFIX}/lib/mozilla/chrome; \ ${MV} all-locales.rdf all-locales.rdf.orig; \ + ${MV} all-packages.rdf all-packages.rdf.orig; \ + ${MV} all-skins.rdf all-skins.rdf.orig; \ ${MV} user-locales.rdf user-locales.rdf.orig; \ + ${MV} user-skins.rdf user-skins.rdf.orig; \ ${MV} installed-chrome.txt installed-chrome.txt.orig) (cd ${PREFIX}/lib/mozilla/defaults/pref; \ ${MV} all.js all.js.orig; ${MV} unix.js unix.js.orig) diff --git a/japanese/mozilla-jlp/distinfo b/japanese/mozilla-jlp/distinfo index 2190da4774e9..73a6db7b9650 100644 --- a/japanese/mozilla-jlp/distinfo +++ b/japanese/mozilla-jlp/distinfo @@ -1 +1 @@ -MD5 (M18-langjajp.xpi) = 20de4c7d800dbd58347798321603fc40 +MD5 (mozilla0.7-langjajp.xpi) = 7741a5b78da6e529dce0cb5fe6e782ad diff --git a/japanese/mozilla-jlp/files/all.js b/japanese/mozilla-jlp/files/all.js index 51bce16aaa91..088f700102a2 100644 --- a/japanese/mozilla-jlp/files/all.js +++ b/japanese/mozilla-jlp/files/all.js @@ -26,9 +26,9 @@ pref("network.search.url","http://cgi.netscape.com/cgi-bin/url_search.cgi?search="); pref("keyword.URL", "http://keyword.netscape.com/keyword/"); -pref("keyword.enabled", false); +pref("keyword.enabled", true); pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties"); -pref("general.useragent.misc", "m18"); +pref("general.useragent.misc", "0.7"); pref("general.startup.browser", true); pref("general.startup.mail", false); @@ -48,6 +48,8 @@ pref("general.help_source.url", ""); pref("general.fullcircle_enable", true); pref("general.fullcircle_collect_ns_data", false); +pref("general.open_location.last_url", ""); + pref("browser.enable_style_sheets", true); // 0 = blank, 1 = home (browser.startup.homepage), 2 = last pref("browser.startup.page", 1); @@ -127,6 +129,7 @@ localDefPref("browser.socksfile_location", ""); localDefPref("browser.ldapfile_location", ""); pref("browser.history.last_page_visited", ""); +pref("browser.history_expire_days", 9); pref("browser.url_history.URL_1", ""); pref("browser.url_history.URL_2", ""); @@ -166,6 +169,9 @@ pref("nglayout.view.useViewManager2", true); // css2 hover pref pref("nglayout.events.showHierarchicalHover", false); +// whether or not to use xbl form controls +pref("nglayout.debug.enable_xbl_forms", false); + // Smart Browsing prefs pref("browser.related.enabled", true); pref("browser.related.autoload", 1); // 0 = Always, 1 = After first use, 2 = Never @@ -182,17 +188,41 @@ localDefPref("browser.navcenter.docked.selector.visible", true); localDefPref("browser.navcenter.docked.tree.width", 250); // Percent of parent window consumed by docked nav center localDefPref("browser.navcenter.floating.rect", "20, 20, 400, 600"); // Window dimensions when floating +// Default Capability Preferences: Security-Critical! +// Editing these may create a security risk - be sure you know what you're doing pref("capability.policy.default.barprop.visible.write", "UniversalBrowserWrite"); +pref("capability.policy.default.domexception.code", "allAccess"); +pref("capability.policy.default.domexception.message", "allAccess"); +pref("capability.policy.default.domexception.name", "allAccess"); +pref("capability.policy.default.domexception.result", "allAccess"); +pref("capability.policy.default.domexception.tostring", "allAccess"); + pref("capability.policy.default.history.current.read", "UniversalBrowserRead"); pref("capability.policy.default.history.next.read", "UniversalBrowserRead"); pref("capability.policy.default.history.previous.read", "UniversalBrowserRead"); pref("capability.policy.default.history.item.read", "UniversalBrowserRead"); +pref("capability.policy.default.location.hash.write", "allAccess"); +pref("capability.policy.default.location.host.write", "allAccess"); +pref("capability.policy.default.location.hostname.write", "allAccess"); +pref("capability.policy.default.location.href.write", "allAccess"); +pref("capability.policy.default.location.pathname.write", "allAccess"); +pref("capability.policy.default.location.port.write", "allAccess"); +pref("capability.policy.default.location.protocol.write", "allAccess"); +pref("capability.policy.default.location.search.write", "allAccess"); + pref("capability.policy.default.navigator.preference.read", "UniversalPreferencesRead"); pref("capability.policy.default.navigator.preference.write", "UniversalPreferencesWrite"); + +pref("capability.policy.default.windowinternal.close", "allAccess"); pref("capability.policy.default.windowinternal.location.write", "allAccess"); +// window.openDialog is insecure and must be made inaccessible from web scripts - see bug 56009 +pref("capability.policy.default.windowinternal.opendialog", "noAccess"); + +pref("capability.policy.mailnews.sites", "mailbox: imap: news: pop: pop3:"); +pref("capability.policy.mailnews.window.name", "noAccess"); localDefPref("ghist.expires.pos", 4); localDefPref("ghist.expires.width", 1400); @@ -349,7 +379,7 @@ pref("intl.charsetmenu.browser.cache.size", 5); pref("intl.charset.detector", "chrome://navigator/locale/navigator.properties"); pref("intl.charset.default", "chrome://navigator/locale/navigator.properties"); -pref("font.default", "sans-serif"); +pref("font.default", "serif"); pref("font.size.variable.ar", 16); pref("font.size.fixed.ar", 13); @@ -384,7 +414,7 @@ pref("font.size.variable.x-unicode", 16); pref("font.size.fixed.x-unicode", 13); pref("font.size.variable.x-western", 14); -pref("font.size.fixed.x-western", 14); +pref("font.size.fixed.x-western", 13); pref("font.size.variable.zh-CN", 16); pref("font.size.fixed.zh-CN", 16); @@ -426,8 +456,7 @@ pref("imap.io.mac.logging", false); pref("browser.editor.disabled", false); -pref("SpellChecker.DefaultLanguage", 0); -pref("SpellChecker.DefaultDialect", 0); +pref("spellchecker.dictionary", ""); pref("mime.table.allow_add", true); pref("mime.table.allow_edit", true); @@ -445,7 +474,7 @@ pref("ui.key.menuAccessKeyFocuses", false); // Middle-mouse handling pref("middlemouse.paste", false); -pref("middlemouse.openNewWindow", false); +pref("middlemouse.openNewWindow", true); // Clipboard behavior pref("clipboard.autocopy", false); diff --git a/japanese/mozilla-jlp/files/unix.js b/japanese/mozilla-jlp/files/unix.js index 2748f58fba4c..24b98d47078c 100644 --- a/japanese/mozilla-jlp/files/unix.js +++ b/japanese/mozilla-jlp/files/unix.js @@ -37,6 +37,7 @@ pref("browser.cache.memory_cache_size", 3000); pref("browser.cache.disk_cache_size", 5000); 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"); @@ -142,7 +143,7 @@ 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", "ms-gothic-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"); diff --git a/japanese/mozilla-jlp/pkg-plist b/japanese/mozilla-jlp/pkg-plist index c8365009bf93..f9890c7438e2 100644 --- a/japanese/mozilla-jlp/pkg-plist +++ b/japanese/mozilla-jlp/pkg-plist @@ -1,34 +1,87 @@ @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/all-packages.rdf %D/lib/mozilla/chrome/all-packages.rdf.orig +@exec mv %D/lib/mozilla/chrome/all-skins.rdf %D/lib/mozilla/chrome/all-skins.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/user-skins.rdf %D/lib/mozilla/chrome/user-skins.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/all.js %D/lib/mozilla/defaults/pref/all.js.orig @exec mv %D/lib/mozilla/defaults/pref/unix.js %D/lib/mozilla/defaults/pref/unix.js.orig bin/mozilla lib/mozilla/chrome/all-locales.rdf +lib/mozilla/chrome/all-packages.rdf +lib/mozilla/chrome/all-skins.rdf lib/mozilla/chrome/installed-chrome.txt -lib/mozilla/chrome/user-locales.rdf lib/mozilla/chrome/ja-JP.jar +lib/mozilla/chrome/user-locales.rdf +lib/mozilla/chrome/user-skins.rdf +lib/mozilla/defaults/pref/all.js +lib/mozilla/defaults/pref/unix.js lib/mozilla/defaults/profile/ja-JP/bookmarks.html lib/mozilla/defaults/profile/ja-JP/localstore.rdf lib/mozilla/defaults/profile/ja-JP/mimeTypes.rdf lib/mozilla/defaults/profile/ja-JP/panels.rdf lib/mozilla/defaults/profile/ja-JP/search.rdf -lib/mozilla/defaults/pref/all.js -lib/mozilla/defaults/pref/unix.js -lib/mozilla/searchplugins/Bugzilla-ja-Summary.png -lib/mozilla/searchplugins/Bugzilla-ja-Summary.src +lib/mozilla/searchplugins/BiglobeSearch.png +lib/mozilla/searchplugins/BiglobeSearch.src lib/mozilla/searchplugins/Bugzilla-Summary.png lib/mozilla/searchplugins/Bugzilla-Summary.src +lib/mozilla/searchplugins/Bugzilla-jp-Summary.png +lib/mozilla/searchplugins/Bugzilla-jp-Summary.src +lib/mozilla/searchplugins/CNETJapan.png +lib/mozilla/searchplugins/CNETJapan.src +lib/mozilla/searchplugins/ExciteJapan.png +lib/mozilla/searchplugins/ExciteJapan.src lib/mozilla/searchplugins/Fresheye_Japan.gif lib/mozilla/searchplugins/Fresheye_Japan.src +lib/mozilla/searchplugins/GooNeJp.png +lib/mozilla/searchplugins/GooNeJp.src +lib/mozilla/searchplugins/ImpressWatchJp.png +lib/mozilla/searchplugins/ImpressWatchJp.src +lib/mozilla/searchplugins/InfoseekJapan.png +lib/mozilla/searchplugins/InfoseekJapan.src +lib/mozilla/searchplugins/JavaHouse.png +lib/mozilla/searchplugins/JavaHouse.src +lib/mozilla/searchplugins/LYCOSJapan.png +lib/mozilla/searchplugins/LYCOSJapan.src +lib/mozilla/searchplugins/LYCOSJapan_auction.png +lib/mozilla/searchplugins/LYCOSJapan_auction.src lib/mozilla/searchplugins/MozillaGrJp.png lib/mozilla/searchplugins/MozillaGrJp.src -lib/mozilla/searchplugins/Netscape_Japan.gif -lib/mozilla/searchplugins/Netscape_Japan.src +lib/mozilla/searchplugins/MycomPcWeb.png +lib/mozilla/searchplugins/MycomPcWeb.src +lib/mozilla/searchplugins/NikkeiJava.png +lib/mozilla/searchplugins/NikkeiJava.src +lib/mozilla/searchplugins/NikkeiLinux.png +lib/mozilla/searchplugins/NikkeiLinux.src +lib/mozilla/searchplugins/YahooJapan.png +lib/mozilla/searchplugins/YahooJapan.src +lib/mozilla/searchplugins/YahooJapan_auction.png +lib/mozilla/searchplugins/YahooJapan_auction.src +lib/mozilla/searchplugins/ZDNetJapan.png +lib/mozilla/searchplugins/ZDNetJapan.src +lib/mozilla/searchplugins/ascii_24.png +lib/mozilla/searchplugins/ascii_24.src +lib/mozilla/searchplugins/ascii_ghelp.png +lib/mozilla/searchplugins/ascii_ghelp.src +lib/mozilla/searchplugins/atmarkIT.png +lib/mozilla/searchplugins/atmarkIT.src +lib/mozilla/searchplugins/jpnic_rfc.png +lib/mozilla/searchplugins/jpnic_rfc.src +lib/mozilla/searchplugins/linux_24.png +lib/mozilla/searchplugins/linux_24.src +lib/mozilla/searchplugins/linux_JFJM.png +lib/mozilla/searchplugins/linux_JFJM.src +lib/mozilla/searchplugins/rakuten_auction.png +lib/mozilla/searchplugins/rakuten_auction.src +lib/mozilla/searchplugins/w3c.png +lib/mozilla/searchplugins/w3c.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/all-packages.rdf.orig %D/lib/mozilla/chrome/all-packages.rdf +@unexec mv %D/lib/mozilla/chrome/all-skins.rdf.orig %D/lib/mozilla/chrome/all-skins.rdf @unexec mv %D/lib/mozilla/chrome/user-locales.rdf.orig %D/lib/mozilla/chrome/user-locales.rdf +@unexec mv %D/lib/mozilla/chrome/user-skins.rdf.orig %D/lib/mozilla/chrome/user-skins.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/all.js.orig %D/lib/mozilla/defaults/pref/all.js @unexec mv %D/lib/mozilla/defaults/pref/unix.js.orig %D/lib/mozilla/defaults/pref/unix.js |