Date: Thu, 11 Aug 2005 19:24:35 +0800 (CST) From: chinsan <chinsan.tw@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/84795: [PATCH] japanese/firefox-ja_JP: fix error(Google search parament) Message-ID: <20050811112435.61D0D7301F@chinsan.twbbs.org> Resent-Message-ID: <200508111130.j7BBU98j004389@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84795 >Category: ports >Synopsis: [PATCH] japanese/firefox-ja_JP: fix error(Google search parament) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 11 11:30:08 GMT 2005 >Closed-Date: >Last-Modified: >Originator: chinsan >Release: FreeBSD 5.4-STABLE i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD chinsan.twbbs.org 5.4-STABLE FreeBSD 5.4-STABLE #2: Sat Jul 30 16:27:25 CST 2005 root@chinsan.twbbs.org:/usr/obj/usr/src/sys/TAKAKO i386 >Description: - fix error(Google search parament) Ref: http://forum.moztw.org/viewtopic.php?p=41848 - update some settings (including CJK Printing setting) - make Makefile more shorter Thanks. >How-To-Repeat: >Fix: --- firefox-ja_JP.diff begins here --- diff -ruN firefox-ja_JP.orig/Makefile firefox-ja_JP/Makefile --- firefox-ja_JP.orig/Makefile Wed Jul 27 10:32:35 2005 +++ firefox-ja_JP/Makefile Thu Aug 11 19:10:05 2005 @@ -7,10 +7,11 @@ PORTNAME= firefox PORTVERSION= 1.0.6 +PORTREVISION= 1 CATEGORIES= japanese www MASTER_SITES= http://bbs.ilc.edu.tw/~chinsan/firefox/ PKGNAMESUFFIX= -ja_JP -DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION} +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION}b # Maintainership available: drop me a line if interested :p MAINTAINER= chinsan.tw@gmail.com @@ -20,9 +21,7 @@ RUN_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/firefox USE_X_PREFIX= yes -USE_ZIP= yes NO_BUILD= yes -EXTRACT_BEFORE_ARGS= -qo FIREFOX= ${PORTNAME} FIREFOX_HOME= ${PREFIX}/lib/${FIREFOX} @@ -35,7 +34,7 @@ .include <bsd.port.pre.mk> do-install: - echo "===> Backup setting files..." + @${ECHO_MSG} "===> Backup setting files..." (cd ${FIREFOX_HOME}; \ ${MV} -f browserconfig.properties browserconfig.properties.orig) (cd ${FIREFOX_HOME}/defaults/pref; \ @@ -43,21 +42,22 @@ (cd ${FIREFOX_HOME}/defaults/profile; \ ${MV} -f bookmarks.html bookmarks.html.orig) (cd ${FIREFOX_HOME}/chrome; \ + ${MV} -f browser.jar browser.jar.orig; \ ${MV} -f chrome.rdf chrome.rdf.orig; \ ${MV} -f installed-chrome.txt installed-chrome.txt.orig) - echo "===> Copying locale files..." - (cd ${WRKDIR}; ${TAR} -cf - *) | \ + @${ECHO_MSG} "===> Copying locale files..." + (cd ${WRKSRC}; ${TAR} -cf - *) | \ ${TAR} -xf - -C ${FIREFOX_HOME} - echo "===> Cleaning Chrome's registry..." + @${ECHO_MSG} "===> Cleaning Chrome's registry..." ${RM} -rf ${FIREFOX_HOME}/chrome/overlayinfo ${RM} -f ${FIREFOX_HOME}/chrome/*.rdf ${MKDIR} ${FIREFOX_HOME}/chrome/overlayinfo ${RM} -f ${FIREFOX_HOME}/component.reg ${RM} -rf ${FIREFOX_HOME}/extensions - echo "===> Building Chrome's registry..." + @${ECHO_MSG} "===> Building Chrome's registry..." (cd ${FIREFOX_HOME} || exit 1 ; \ ./run-mozilla.sh ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. \ ${REGXPCOM} || true ; \ diff -ruN firefox-ja_JP.orig/distinfo firefox-ja_JP/distinfo --- firefox-ja_JP.orig/distinfo Thu Jul 21 10:43:21 2005 +++ firefox-ja_JP/distinfo Thu Aug 11 19:20:33 2005 @@ -1,2 +1,2 @@ -MD5 (firefox-ja_JP.1.0.6.zip) = e18925483f0084186b41570808e84f6b -SIZE (firefox-ja_JP.1.0.6.zip) = 180757 +MD5 (firefox-ja_JP.1.0.6b.tar.gz) = bbd98e5466795ec9efde646eb71580e5 +SIZE (firefox-ja_JP.1.0.6b.tar.gz) = 491532 diff -ruN firefox-ja_JP.orig/pkg-plist firefox-ja_JP/pkg-plist --- firefox-ja_JP.orig/pkg-plist Thu Jul 21 10:43:21 2005 +++ firefox-ja_JP/pkg-plist Thu Aug 11 19:07:59 2005 @@ -1,9 +1,11 @@ @exec mv %D/lib/%%FIREFOX%%/browserconfig.properties %D/lib/%%FIREFOX%%/browserconfig.properties.orig +@exec mv %D/lib/%%FIREFOX%%/chrome/browser.jar %D/lib/%%FIREFOX%%/chrome/browser.jar.orig @exec mv %D/lib/%%FIREFOX%%/chrome/chrome.rdf %D/lib/%%FIREFOX%%/chrome/chrome.rdf.orig @exec mv %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt.orig @exec mv %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js.orig @exec mv %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html.orig lib/%%FIREFOX%%/browserconfig.properties +lib/%%FIREFOX%%/chrome/browser.jar lib/%%FIREFOX%%/chrome/chrome.rdf lib/%%FIREFOX%%/chrome/installed-chrome.txt lib/%%FIREFOX%%/chrome/ja-JP.jar @@ -29,6 +31,7 @@ lib/%%FIREFOX%%/searchplugins/yahoo-ja.png lib/%%FIREFOX%%/searchplugins/yahoo-ja.src @unexec mv %D/lib/%%FIREFOX%%/browserconfig.properties.orig %D/lib/%%FIREFOX%%/browserconfig.properties +@unexec mv %D/lib/%%FIREFOX%%/chrome/browser.jar.orig %D/lib/%%FIREFOX%%/chrome/browser.jar @unexec mv %D/lib/%%FIREFOX%%/chrome/chrome.rdf.orig %D/lib/%%FIREFOX%%/chrome/chrome.rdf @unexec mv %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt.orig %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt @unexec mv %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js.orig %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js --- firefox-ja_JP.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050811112435.61D0D7301F>