From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 11 21:40:22 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CEF116A4CE for ; Thu, 11 Nov 2004 21:40:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80E7343D48 for ; Thu, 11 Nov 2004 21:40:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iABLeMfs030575 for ; Thu, 11 Nov 2004 21:40:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iABLeMCO030573; Thu, 11 Nov 2004 21:40:22 GMT (envelope-from gnats) Resent-Date: Thu, 11 Nov 2004 21:40:22 GMT Resent-Message-Id: <200411112140.iABLeMCO030573@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jose M Rodriguez Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED71316A4CE; Thu, 11 Nov 2004 21:39:21 +0000 (GMT) Received: from smtp1.jazztel.es (smtp1.jazztel.es [62.14.3.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6278043D31; Thu, 11 Nov 2004 21:39:21 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from antivirus by smtp1.jazztel.es with antivirus id 1CSMfJ-0004Y9-00 Thu, 11 Nov 2004 22:39:37 +0100 Received: from [212.106.238.191] (helo=rguez.homeunix.net) by smtp1.jazztel.es with esmtp id 1CSMfI-0004WM-00 Thu, 11 Nov 2004 22:39:37 +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 iABLdGKJ001901; Thu, 11 Nov 2004 22:39:16 +0100 (CET) (envelope-from freebsd@redesjm.local) Received: (from freebsd@localhost) by redesjm.local (8.13.1/8.13.1/Submit) id iABLdGFZ024431; Thu, 11 Nov 2004 22:39:16 +0100 (CET) (envelope-from freebsd) Message-Id: <200411112139.iABLdGFZ024431@redesjm.local> Date: Thu, 11 Nov 2004 22:39:16 +0100 (CET) From: Jose M Rodriguez To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: gnome@FreeBSD.org Subject: ports/73837: [PATCH] add i18n support to firefox X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jose M Rodriguez List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 21:40:22 -0000 >Number: 73837 >Category: ports >Synopsis: [PATCH] add i18n support to firefox >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 11 21:40:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jose M Rodriguez >Release: FreeBSD 5.3-STABLE i386 >Organization: Redes JM >Environment: System: FreeBSD orion.redesjm.local 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Nov 11 12:52:44 CET 2004 root@orion.redesjm.local:/usr/obj/usr/src/sys/ORION i386 >Description: >How-To-Repeat: >Fix: Add support to bin/firefox for MOZILLA_UILOCALE and MOZILLA_UIREGION env --- 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 ++ moreargs="$moreargs -UILocale ${MOZILLA_UILOCALE}" ++ if [ -n "${MOZILLA_UIREGION}" ]; then ++ moreargs="$moreargs -UIRegion ${MOZILLA_UIREGION}" ++ fi ++fi ++unset _done_locale + + export MRE_HOME + eval "set -- $moreargs" --- patch-firefox ends here --- >Release-Note: >Audit-Trail: >Unformatted: