From owner-freebsd-gnome@FreeBSD.ORG Fri Nov 12 15:47:49 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4A1E16A4D5; Fri, 12 Nov 2004 15:47:49 +0000 (GMT) Received: from smtp1.jazztel.es (smtp1.jazztel.es [62.14.3.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B3343D2F; Fri, 12 Nov 2004 15:47:48 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from antivirus by smtp1.jazztel.es with antivirus id 1CSdee-00015g-00 Fri, 12 Nov 2004 16:48:04 +0100 Received: from [212.106.239.196] (helo=rguez.homeunix.net) by smtp1.jazztel.es with esmtp id 1CSdee-00015B-00 Fri, 12 Nov 2004 16:48:04 +0100 Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) by rguez.homeunix.net (8.13.1/8.13.1) with ESMTP id iACFlkTM004536; Fri, 12 Nov 2004 16:47:46 +0100 (CET) (envelope-from freebsd@redesjm.local) Received: from localhost (localhost [[UNIX: localhost]]) by redesjm.local (8.13.1/8.13.1/Submit) id iACFlkTc069773; Fri, 12 Nov 2004 16:47:46 +0100 (CET) (envelope-from freebsd@redesjm.local) From: Jose M Rodriguez To: FreeBSD-gnats-submit@freebsd.org, gnome@freebsd.org Date: Fri, 12 Nov 2004 16:47:44 +0100 User-Agent: KMail/1.7.1 References: <200411112139.iABLdGFZ024431@redesjm.local> In-Reply-To: <200411112139.iABLdGFZ024431@redesjm.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411121647.46078.freebsd@redesjm.local> X-AntiVirus: checked by AntiVir Milter (version: 1.1; AVE: 6.28.0.12; VDF: 6.28.0.59; host: antares.redesjm.local) X-Virus-Scanned: by antivirus Subject: Re: ports/73837: [PATCH] add i18n support to firefox X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 15:47:49 -0000 Sorry, posted bad patch. This is the working one >Fix: --- patch-firefox begins here --- --- /usr/ports/www/firefox/files/patch-browser_app_mozilla.in Wed Oct 13 22:28:12 2004 +++ www/firefox/files/patch-browser_app_mozilla.in Thu Nov 11 22:33:18 2004 @@ -1,5 +1,5 @@ ---- browser/app/mozilla.in.orig Sat Oct 2 02:05:53 2004 -+++ browser/app/mozilla.in Sat Oct 2 02:06:15 2004 +--- browser/app/mozilla.in.orig Tue Oct 26 11:26:11 2004 ++++ browser/app/mozilla.in Thu Nov 11 22:31:28 2004 @@ -110,6 +110,7 @@ # Check default compile-time libdir if [ -x "$moz_libdir/run-mozilla.sh" ]; then @@ -8,3 +8,35 @@ else echo "Cannot find mozilla runtime directory. Exiting." exit 1 +@@ -207,12 +208,31 @@ + script_args="$script_args -d $2" + shift 2 + ;; ++ -UILocale) ++ moreargs="$moreargs -UILocale $2" ++ _done_locale="YES" ++ shift 2 ++ ;; ++ -UIRegion) ++ if [ -n "${_done_locale}" ]; then ++ moreargs="$moreargs -UIRegion $2" ++ fi ++ shift 2 ++ ;; + *) + moreargs="$moreargs \"$1\"" + shift 1 + ;; + esac + done ++ ++if [ ! -n "${_done_locale}" -a -n "${MOZILLA_UILOCALE}" ]; then ++ if [ -n "${MOZILLA_UIREGION}" ]; then ++ moreargs="-UIRegion ${MOZILLA_UIREGION} $moreargs" ++ fi ++ moreargs="-UILocale ${MOZILLA_UILOCALE} $moreargs" ++fi ++unset _done_locale + + export MRE_HOME + eval "set -- $moreargs" --- patch-firefox ends here ---