Date: Thu, 11 Aug 2005 18:28:45 +0800 (CST) From: chinsan <chinsan.tw@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/84792: [PATCH] chinese/firefox-zh_TW: fix error(Google search parament) Message-ID: <20050811102845.A19057301F@chinsan.twbbs.org> Resent-Message-ID: <200508111030.j7BAUHEV096813@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84792 >Category: ports >Synopsis: [PATCH] chinese/firefox-zh_TW: 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 10:30:16 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-zh_TW.diff begins here --- diff -ruN firefox-zh_TW.orig/Makefile firefox-zh_TW/Makefile --- firefox-zh_TW.orig/Makefile Thu Aug 11 17:33:57 2005 +++ firefox-zh_TW/Makefile Thu Aug 11 17:42:20 2005 @@ -7,10 +7,11 @@ PORTNAME= firefox PORTVERSION= 1.0.6 +PORTREVISION= 1 CATEGORIES= chinese www MASTER_SITES= http://bbs.ilc.edu.tw/~chinsan/firefox/ PKGNAMESUFFIX= -zh_TW -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} @@ -43,11 +42,12 @@ (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 - *) | \ + (cd ${WRKSRC}; ${TAR} -cf - *) | \ ${TAR} -xf - -C ${FIREFOX_HOME} echo "===> Cleaning Chrome's registry..." diff -ruN firefox-zh_TW.orig/distinfo firefox-zh_TW/distinfo --- firefox-zh_TW.orig/distinfo Thu Aug 11 17:33:57 2005 +++ firefox-zh_TW/distinfo Thu Aug 11 18:22:21 2005 @@ -1,2 +1,2 @@ -MD5 (firefox-zh_TW.1.0.6.zip) = 995abd0ff6788f34c4d63665b6b38832 -SIZE (firefox-zh_TW.1.0.6.zip) = 84312 +MD5 (firefox-zh_TW.1.0.6b.tar.gz) = 8c2b83035d440bb8267b9f664bab2bc6 +SIZE (firefox-zh_TW.1.0.6b.tar.gz) = 400175 diff -ruN firefox-zh_TW.orig/pkg-plist firefox-zh_TW/pkg-plist --- firefox-zh_TW.orig/pkg-plist Thu Aug 11 17:33:57 2005 +++ firefox-zh_TW/pkg-plist Thu Aug 11 18:11: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/zh-TW.jar @@ -13,6 +15,7 @@ lib/%%FIREFOX%%/searchplugins/FreeBSD_PR.png lib/%%FIREFOX%%/searchplugins/FreeBSD_PR.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-zh_TW.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?20050811102845.A19057301F>