Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 23:23:12 +0100 (CET)
From:      Jose M Rodriguez <josemi@freebsd.jazztel.es>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/73839: [PATCH] add i18n support to thunderbird
Message-ID:  <200411112223.iABMNC2t006801@redesjm.local>
Resent-Message-ID: <200411112230.iABMUUND035978@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73839
>Category:       ports
>Synopsis:       [PATCH] add i18n support to thunderbird
>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 22:30:29 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:
    Add support for MOZILLA_UILOCALE & MOZILLA_UIREGION to
    ${PREFIX}/bin/thunderbird

>How-To-Repeat:
>Fix:


--- patch-thunderbird begins here ---
diff -Nru /usr/ports/mail/thunderbird/files/patch-mail_app_mozilla.in mail/thunderbird/files/patch-mail_app_mozilla.in
--- /usr/ports/mail/thunderbird/files/patch-mail_app_mozilla.in	Thu Jan  1 01:00:00 1970
+++ mail/thunderbird/files/patch-mail_app_mozilla.in	Thu Nov 11 23:16:50 2004
@@ -0,0 +1,34 @@
+--- mail/app/mozilla.in.orig	Thu Nov 11 23:14:17 2004
++++ mail/app/mozilla.in	Thu Nov 11 23:15:43 2004
+@@ -218,12 +218,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-thunderbird ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411112223.iABMNC2t006801>