From owner-freebsd-gecko@FreeBSD.ORG Sun Sep 20 17:34:43 2009 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48173106566C for ; Sun, 20 Sep 2009 17:34:43 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 130068FC15 for ; Sun, 20 Sep 2009 17:34:41 +0000 (UTC) Received: from deuterium.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id n8KHYdlD031826 for ; Sun, 20 Sep 2009 19:34:39 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4AB667AF.7060108@fgznet.ch> Date: Sun, 20 Sep 2009 19:34:39 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: gecko@freebsd.org Content-Type: multipart/mixed; boundary="------------080908070106080209070709" Cc: Subject: [patch] Thunderbird powerpc port X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2009 17:34:43 -0000 This is a multi-part message in MIME format. --------------080908070106080209070709 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi all, it took a while since I needed to port a gdb for powerpc first. But here it is, this patch allows me to build AND run thunderbird on powerpc freebsd. The patch contains three parts, an already existing Makefile.in patch. A new set of files for powerpc and the bsd-gecko-mk patch. Regarding the bsd-gecko one I asked a month ago about rules. But no answer so far. http://lists.freebsd.org/pipermail/freebsd-gecko/2009-August/000275.html All was happening on a 8.0 system, and the port version of thunderbird is 2.0.0.23. Feedback welcome. Andreas --------------080908070106080209070709 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="patch-xptcall-powerpc" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-xptcall-powerpc" --- xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_freebsd.s.orig 2009-09-11 23:18:37.000000000 +0200 +++ xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_freebsd.s 2009-09-19 21:18:53.000000000 +0200 @@ -0,0 +1,110 @@ +# -*- Mode: Asm -*- +# +# The contents of this file are subject to the Netscape Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1999 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# Franz.Sirl-kernel@lauterbach.com (Franz Sirl) +# beard@netscape.com (Patrick Beard) +# waterson@netscape.com (Chris Waterson) +# +.set r0,0; .set sp,1; .set RTOC,2; .set r3,3; .set r4,4 +.set r5,5; .set r6,6; .set r7,7; .set r8,8; .set r9,9 +.set r10,10; .set r11,11; .set r12,12; .set r13,13; .set r14,14 +.set r15,15; .set r16,16; .set r17,17; .set r18,18; .set r19,19 +.set r20,20; .set r21,21; .set r22,22; .set r23,23; .set r24,24 +.set r25,25; .set r26,26; .set r27,27; .set r28,28; .set r29,29 +.set r30,30; .set r31,31 +.set f0,0; .set f1,1; .set f2,2; .set f3,3; .set f4,4 +.set f5,5; .set f6,6; .set f7,7; .set f8,8; .set f9,9 +.set f10,10; .set f11,11; .set f12,12; .set f13,13; .set f14,14 +.set f15,15; .set f16,16; .set f17,17; .set f18,18; .set f19,19 +.set f20,20; .set f21,21; .set f22,22; .set f23,23; .set f24,24 +.set f25,25; .set f26,26; .set f27,27; .set f28,28; .set f29,29 +.set f30,30; .set f31,31 + + .section ".text" + .align 2 + .globl XPTC_InvokeByIndex + .type XPTC_InvokeByIndex,@function + +# +# XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex, +# PRUint32 paramCount, nsXPTCVariant* params) +# + +XPTC_InvokeByIndex: + stwu sp,-32(sp) # setup standard stack frame + mflr r0 # save LR + stw r3,8(sp) # r3 <= that + stw r4,12(sp) # r4 <= methodIndex + stw r30,16(sp) + stw r31,20(sp) + + stw r0,36(sp) # store LR backchain + mr r31,sp + + rlwinm r10,r5,3,0,27 # r10 = (ParamCount * 2 * 4) & ~0x0f + addi r0,r10,96 # reserve stack for GPR and FPR register save area r0 = r10 + 96 + lwz r9,0(sp) # r9 = backchain + neg r0,r0 + stwux r9,sp,r0 # reserve stack sapce and save SP backchain + + addi r3,sp,8 # r3 <= args + mr r4,r5 # r4 <= paramCount + mr r5,r6 # r5 <= params + add r6,r3,r10 # r6 <= gpregs ( == args + r10 ) + mr r30,r6 # store in r30 for use later... + addi r7,r6,32 # r7 <= fpregs ( == gpregs + 32 ) + + bl invoke_copy_to_stack@local # (args, paramCount, params, gpregs, fpregs) + + lfd f1,32(r30) # load FP registers with method parameters + lfd f2,40(r30) + lfd f3,48(r30) + lfd f4,56(r30) + lfd f5,64(r30) + lfd f6,72(r30) + lfd f7,80(r30) + lfd f8,88(r30) + + lwz r3,8(r31) # r3 <= that + lwz r4,12(r31) # r4 <= methodIndex + lwz r5,0(r3) # r5 <= vtable ( == *that ) + + slwi r4,r4,2 # convert to offset ( *= 4 ) + lwzx r0,r5,r4 # r0 <= methodpointer ( == vtable + offset ) + + lwz r4,4(r30) # load GP regs with method parameters + lwz r5,8(r30) + lwz r6,12(r30) + lwz r7,16(r30) + lwz r8,20(r30) + lwz r9,24(r30) + lwz r10,28(r30) + + mtlr r0 # copy methodpointer to LR + blrl # call method + + lwz r30,16(r31) # restore r30 & r31 + lwz r31,20(r31) + + lwz r11,0(sp) # clean up the stack + lwz r0,4(r11) + mtlr r0 + mr sp,r11 + blr --- xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_freebsd.cpp.orig 2009-09-11 23:18:37.000000000 +0200 +++ xpcom/reflect/xptcall/src/md/unix/xptcinvoke_ppc_freebsd.cpp 2009-09-19 21:22:23.000000000 +0200 @@ -0,0 +1,141 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Franz.Sirl-kernel@lauterbach.com (Franz Sirl) + * beard@netscape.com (Patrick Beard) + * waterson@netscape.com (Chris Waterson) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +// Platform specific code to invoke XPCOM methods on native objects + +// The purpose of XPTC_InvokeByIndex() is to map a platform +// indepenpent call to the platform ABI. To do that, +// XPTC_InvokeByIndex() has to determine the method to call via vtable +// access. The parameters for the method are read from the +// nsXPTCVariant* and prepared for th native ABI. For the Linux/PPC +// ABI this means that the first 8 integral and floating point +// parameters are passed in registers. + +#include "xptcprivate.h" + +// 8 integral parameters are passed in registers +#define GPR_COUNT 8 + +// 8 floating point parameters are passed in registers, floats are +// promoted to doubles when passed in registers +#define FPR_COUNT 8 + +extern "C" PRUint32 +invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s) +{ + return PRUint32(((paramCount * 2) + 3) & ~3); +} + +extern "C" void +invoke_copy_to_stack(PRUint32* d, + PRUint32 paramCount, + nsXPTCVariant* s, + PRUint32* gpregs, + double* fpregs) +{ + PRUint32 gpr = 1; // skip one GP reg for 'that' + PRUint32 fpr = 0; + PRUint32 tempu32; + PRUint64 tempu64; + + for(uint32 i = 0; i < paramCount; i++, s++) { + if(s->IsPtrData()) + tempu32 = (PRUint32) s->ptr; + else { + switch(s->type) { + case nsXPTType::T_FLOAT: break; + case nsXPTType::T_DOUBLE: break; + case nsXPTType::T_I8: tempu32 = s->val.i8; break; + case nsXPTType::T_I16: tempu32 = s->val.i16; break; + case nsXPTType::T_I32: tempu32 = s->val.i32; break; + case nsXPTType::T_I64: tempu64 = s->val.i64; break; + case nsXPTType::T_U8: tempu32 = s->val.u8; break; + case nsXPTType::T_U16: tempu32 = s->val.u16; break; + case nsXPTType::T_U32: tempu32 = s->val.u32; break; + case nsXPTType::T_U64: tempu64 = s->val.u64; break; + case nsXPTType::T_BOOL: tempu32 = s->val.b; break; + case nsXPTType::T_CHAR: tempu32 = s->val.c; break; + case nsXPTType::T_WCHAR: tempu32 = s->val.wc; break; + default: tempu32 = (PRUint32) s->val.p; break; + } + } + + if (!s->IsPtrData() && s->type == nsXPTType::T_DOUBLE) { + if (fpr < FPR_COUNT) + fpregs[fpr++] = s->val.d; + else { + if ((PRUint32) d & 4) d++; // doubles are 8-byte aligned on stack + *((double*) d) = s->val.d; + d += 2; + } + } + else if (!s->IsPtrData() && s->type == nsXPTType::T_FLOAT) { + if (fpr < FPR_COUNT) + fpregs[fpr++] = s->val.f; // if passed in registers, floats are promoted to doubles + else + *((float*) d++) = s->val.f; + } + else if (!s->IsPtrData() && (s->type == nsXPTType::T_I64 + || s->type == nsXPTType::T_U64)) { + if ((gpr + 1) < GPR_COUNT) { + if (gpr & 1) gpr++; // longlongs are aligned in odd/even register pairs, eg. r5/r6 + *((PRUint64*) &gpregs[gpr]) = tempu64; + gpr += 2; + } + else { + if ((PRUint32) d & 4) d++; // longlongs are 8-byte aligned on stack + *((PRUint64*) d) = tempu64; + d += 2; + } + } + else { + if (gpr < GPR_COUNT) + gpregs[gpr++] = tempu32; + else + *d++ = tempu32; + } + + } +} + +extern "C" +XPTC_PUBLIC_API(nsresult) +XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex, + PRUint32 paramCount, nsXPTCVariant* params); --- xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_freebsd.s.orig 2009-09-11 23:18:37.000000000 +0200 +++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_freebsd.s 2009-09-11 23:18:37.000000000 +0200 @@ -0,0 +1,89 @@ +# -*- Mode: Asm -*- +# +# The contents of this file are subject to the Netscape Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1999 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# Franz.Sirl-kernel@lauterbach.com (Franz Sirl) +# beard@netscape.com (Patrick Beard) +# waterson@netscape.com (Chris Waterson) +# + +.set r0,0; .set sp,1; .set RTOC,2; .set r3,3; .set r4,4 +.set r5,5; .set r6,6; .set r7,7; .set r8,8; .set r9,9 +.set r10,10; .set r11,11; .set r12,12; .set r13,13; .set r14,14 +.set r15,15; .set r16,16; .set r17,17; .set r18,18; .set r19,19 +.set r20,20; .set r21,21; .set r22,22; .set r23,23; .set r24,24 +.set r25,25; .set r26,26; .set r27,27; .set r28,28; .set r29,29 +.set r30,30; .set r31,31 +.set f0,0; .set f1,1; .set f2,2; .set f3,3; .set f4,4 +.set f5,5; .set f6,6; .set f7,7; .set f8,8; .set f9,9 +.set f10,10; .set f11,11; .set f12,12; .set f13,13; .set f14,14 +.set f15,15; .set f16,16; .set f17,17; .set f18,18; .set f19,19 +.set f20,20; .set f21,21; .set f22,22; .set f23,23; .set f24,24 +.set f25,25; .set f26,26; .set f27,27; .set f28,28; .set f29,29 +.set f30,30; .set f31,31 + + .section ".text" + .align 2 + .globl SharedStub + .type SharedStub,@function + +SharedStub: + stwu sp,-112(sp) # room for + # linkage (8), + # gprData (32), + # fprData (64), + # stack alignment(8) + mflr r0 + stw r0,116(sp) # save LR backchain + + stw r4,12(sp) # save GP registers + stw r5,16(sp) # (n.b. that we don't save r3 + stw r6,20(sp) # because PrepareAndDispatch() is savvy) + stw r7,24(sp) + stw r8,28(sp) + stw r9,32(sp) + stw r10,36(sp) + + stfd f1,40(sp) # save FP registers + stfd f2,48(sp) + stfd f3,56(sp) + stfd f4,64(sp) + stfd f5,72(sp) + stfd f6,80(sp) + stfd f7,88(sp) + stfd f8,96(sp) + + # r3 has the 'self' pointer already + + mr r4,r11 # r4 <= methodIndex selector, passed + # via r11 in the nsXPTCStubBase::StubXX() call + + addi r5,sp,120 # r5 <= pointer to callers args area, + # beyond r3-r10/f1-f8 mapped range + + addi r6,sp,8 # r6 <= gprData + addi r7,sp,40 # r7 <= fprData + + bl PrepareAndDispatch@local # Go! + + lwz r0,116(sp) # restore LR + mtlr r0 + la sp,112(sp) # clean up the stack + blr + --- xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_freebsd.cpp.orig 2009-09-11 23:18:38.000000000 +0200 +++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_freebsd.cpp 2009-09-19 21:48:12.000000000 +0200 @@ -0,0 +1,232 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Franz.Sirl-kernel@lauterbach.com (Franz Sirl) + * beard@netscape.com (Patrick Beard) + * waterson@netscape.com (Chris Waterson) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +// Implement shared vtbl methods. + +#include "xptcprivate.h" + +// The PPC/SYSV ABI passes the first 8 integral +// parameters and the first 8 floating point parameters in registers +// (r3-r10 and f1-f8), no stack space is allocated for these by the +// caller. The rest of the parameters are passed in the callers stack +// area. The stack pointer has to retain 16-byte alignment, longlongs +// and doubles are aligned on 8-byte boundaries. + +#define PARAM_BUFFER_COUNT 16 +#define GPR_COUNT 8 +#define FPR_COUNT 8 + +// PrepareAndDispatch() is called by SharedStub() and calls the actual method. +// +// - 'args[]' contains the arguments passed on stack +// - 'gprData[]' contains the arguments passed in integer registers +// - 'fprData[]' contains the arguments passed in floating point registers +// +// The parameters are mapped into an array of type 'nsXPTCMiniVariant' +// and then the method gets called. + +extern "C" nsresult +PrepareAndDispatch(nsXPTCStubBase* self, + PRUint32 methodIndex, + PRUint32* args, + PRUint32 *gprData, + double *fprData) +{ + nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT]; + nsXPTCMiniVariant* dispatchParams = NULL; + nsIInterfaceInfo* iface_info = NULL; + const nsXPTMethodInfo* info; + PRUint32 paramCount; + PRUint32 i; + nsresult result = NS_ERROR_FAILURE; + + NS_ASSERTION(self,"no self"); + + self->GetInterfaceInfo(&iface_info); + NS_ASSERTION(iface_info,"no interface info"); + if (! iface_info) + return NS_ERROR_UNEXPECTED; + + iface_info->GetMethodInfo(PRUint16(methodIndex), &info); + NS_ASSERTION(info,"no method info"); + if (! info) + return NS_ERROR_UNEXPECTED; + + paramCount = info->GetParamCount(); + + // setup variant array pointer + if(paramCount > PARAM_BUFFER_COUNT) + dispatchParams = new nsXPTCMiniVariant[paramCount]; + else + dispatchParams = paramBuffer; + + NS_ASSERTION(dispatchParams,"no place for params"); + if (! dispatchParams) + return NS_ERROR_OUT_OF_MEMORY; + + PRUint32* ap = args; + PRUint32 gpr = 1; // skip one GPR register + PRUint32 fpr = 0; + PRUint32 tempu32; + PRUint64 tempu64; + + for(i = 0; i < paramCount; i++) { + const nsXPTParamInfo& param = info->GetParam(i); + const nsXPTType& type = param.GetType(); + nsXPTCMiniVariant* dp = &dispatchParams[i]; + + if (!param.IsOut() && type == nsXPTType::T_DOUBLE) { + if (fpr < FPR_COUNT) + dp->val.d = fprData[fpr++]; + else { + if ((PRUint32) ap & 4) ap++; // doubles are 8-byte aligned on stack + dp->val.d = *(double*) ap; + ap += 2; + } + continue; + } + else if (!param.IsOut() && type == nsXPTType::T_FLOAT) { + if (fpr < FPR_COUNT) + dp->val.f = (float) fprData[fpr++]; // in registers floats are passed as doubles + else + dp->val.f = *(float*) ap++; + continue; + } + else if (!param.IsOut() && (type == nsXPTType::T_I64 + || type == nsXPTType::T_U64)) { + if (gpr & 1) gpr++; // longlongs are aligned in odd/even register pairs, eg. r5/r6 + if ((gpr + 1) < GPR_COUNT) { + tempu64 = *(PRUint64*) &gprData[gpr]; + gpr += 2; + } + else { + if ((PRUint32) ap & 4) ap++; // longlongs are 8-byte aligned on stack + tempu64 = *(PRUint64*) ap; + ap += 2; + } + } + else { + if (gpr < GPR_COUNT) + tempu32 = gprData[gpr++]; + else + tempu32 = *ap++; + } + + if(param.IsOut() || !type.IsArithmetic()) { + dp->val.p = (void*) tempu32; + continue; + } + + switch(type) { + case nsXPTType::T_I8: dp->val.i8 = (PRInt8) tempu32; break; + case nsXPTType::T_I16: dp->val.i16 = (PRInt16) tempu32; break; + case nsXPTType::T_I32: dp->val.i32 = (PRInt32) tempu32; break; + case nsXPTType::T_I64: dp->val.i64 = (PRInt64) tempu64; break; + case nsXPTType::T_U8: dp->val.u8 = (PRUint8) tempu32; break; + case nsXPTType::T_U16: dp->val.u16 = (PRUint16) tempu32; break; + case nsXPTType::T_U32: dp->val.u32 = (PRUint32) tempu32; break; + case nsXPTType::T_U64: dp->val.u64 = (PRUint64) tempu64; break; + case nsXPTType::T_BOOL: dp->val.b = (PRBool) tempu32; break; + case nsXPTType::T_CHAR: dp->val.c = (char) tempu32; break; + case nsXPTType::T_WCHAR: dp->val.wc = (wchar_t) tempu32; break; + + default: + NS_ASSERTION(0, "bad type"); + break; + } + } + + result = self->CallMethod((PRUint16) methodIndex, info, dispatchParams); + + NS_RELEASE(iface_info); + + if (dispatchParams != paramBuffer) + delete [] dispatchParams; + + return result; +} + +// Load r11 with the constant 'n' and branch to SharedStub(). + +// As G++3 ABI contains the length of the functionname in the mangled +// name, it is difficult to get a generic assembler mechanism like +// in the G++ 2.95 case. +// Create names would be like: +// _ZN14nsXPTCStubBase5Stub1Ev +// _ZN14nsXPTCStubBase6Stub12Ev +// _ZN14nsXPTCStubBase7Stub123Ev +// _ZN14nsXPTCStubBase8Stub1234Ev +// etc. +// Use assembler directives to get the names right... + +# define STUB_ENTRY(n) \ +__asm__ ( \ + ".align 2 \n\t" \ + ".if "#n" < 10 \n\t" \ + ".globl _ZN14nsXPTCStubBase5Stub"#n"Ev \n\t" \ + ".type _ZN14nsXPTCStubBase5Stub"#n"Ev,@function \n\n" \ +"_ZN14nsXPTCStubBase5Stub"#n"Ev: \n\t" \ + \ + ".elseif "#n" < 100 \n\t" \ + ".globl _ZN14nsXPTCStubBase6Stub"#n"Ev \n\t" \ + ".type _ZN14nsXPTCStubBase6Stub"#n"Ev,@function \n\n" \ +"_ZN14nsXPTCStubBase6Stub"#n"Ev: \n\t" \ + \ + ".elseif "#n" < 1000 \n\t" \ + ".globl _ZN14nsXPTCStubBase7Stub"#n"Ev \n\t" \ + ".type _ZN14nsXPTCStubBase7Stub"#n"Ev,@function \n\n" \ +"_ZN14nsXPTCStubBase7Stub"#n"Ev: \n\t" \ + \ + ".else \n\t" \ + ".err \"stub number "#n" >= 1000 not yet supported\"\n" \ + ".endif \n\t" \ + \ + "li 11,"#n" \n\t" \ + "b SharedStub@local \n" \ +); + +#define SENTINEL_ENTRY(n) \ +nsresult nsXPTCStubBase::Sentinel##n() \ +{ \ + NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \ + return NS_ERROR_NOT_IMPLEMENTED; \ +} + +#include "xptcstubsdef.inc" --------------080908070106080209070709 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="patch-xpcom-reflect-xptcall-src-md-unix-Makefile.in" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-xpcom-reflect-xptcall-src-md-unix-Makefile.in" --- xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2008-02-19 22:11:34.000000000 +0100 +++ xpcom/reflect/xptcall/src/md/unix/Makefile.in 2009-09-11 23:18:37.000000000 +0200 @@ -66,6 +66,9 @@ ifeq (86,$(findstring 86,$(OS_TEST))) CPPSRCS := xptcinvoke_unixish_x86.cpp xptcstubs_unixish_x86.cpp endif +ifeq (amd64,$(OS_TEST)) +CPPSRCS := xptcinvoke_x86_64_linux.cpp xptcstubs_x86_64_linux.cpp +endif endif # # OpenBSD/amd64 @@ -88,7 +91,7 @@ endif endif # IA64 Linux -ifneq (,$(filter Linux,$(OS_ARCH))) +ifneq (,$(filter Linux FreeBSD,$(OS_ARCH))) ifneq (,$(findstring ia64,$(OS_TEST))) CPPSRCS := xptcinvoke_ipf64.cpp xptcstubs_ipf64.cpp ASFILES := xptcstubs_asm_ipf64.s xptcinvoke_asm_ipf64.s @@ -151,9 +154,15 @@ CPPSRCS := xptcinvoke_openbsd_alpha.cpp xptcstubs_openbsd_alpha.cpp endif # +# FreeBSD/Alpha +# +ifeq ($(OS_ARCH)$(OS_TEST),FreeBSDalpha) +CPPSRCS := xptcinvoke_freebsd_alpha.cpp xptcstubs_freebsd_alpha.cpp +endif +# # Linux/Alpha # -ifneq (,$(filter Linuxalpha FreeBSDalpha NetBSDalpha,$(OS_ARCH)$(OS_TEST))) +ifneq (,$(filter Linuxalpha NetBSDalpha,$(OS_ARCH)$(OS_TEST))) CPPSRCS := xptcinvoke_linux_alpha.cpp xptcstubs_linux_alpha.cpp endif # @@ -293,6 +302,14 @@ endif # +# FreeBSD/PPC +# +ifeq ($(OS_ARCH)$(OS_TEST),FreeBSDpowerpc) +CPPSRCS := xptcinvoke_ppc_freebsd.cpp xptcstubs_ppc_freebsd.cpp +ASFILES := xptcinvoke_asm_ppc_freebsd.s xptcstubs_asm_ppc_freebsd.s +endif + +# # Linux/PPC # ifeq ($(OS_ARCH)$(OS_TEST),Linuxppc) @@ -364,6 +381,15 @@ ASFILES := xptcinvoke_asm_sparc_netbsd.s xptcstubs_asm_sparc_netbsd.s endif # +# FreeBSD/SPARC64 +# +ifeq ($(OS_ARCH),FreeBSD) +ifneq (,$(findstring sparc,$(OS_TEST))) +CPPSRCS := xptcinvoke_sparc64_freebsd.cpp xptcstubs_sparc64_freebsd.cpp +ASFILES := xptcinvoke_asm_sparc64_freebsd.s xptcstubs_asm_sparcv9_solaris.s +endif +endif +# # Solaris/SPARC # ifeq ($(OS_ARCH),SunOS) --------------080908070106080209070709 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="patch-bsd-gecko-mk" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-bsd-gecko-mk" --- bsd.gecko.mk.orig 2009-08-21 20:39:38.000000000 +0200 +++ bsd.gecko.mk 2009-08-28 23:48:12.000000000 +0200 @@ -275,7 +275,7 @@ PORT_MOZCONFIG?= ${FILESDIR}/mozconfig.in MOZCONFIG?= ${WRKSRC}/.mozconfig MOZILLA_PLIST_DIRS?= bin include lib share/idl -GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE} +GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 '%{\!pg: %{pthread:' | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE} PKGINSTALL?= ${WRKDIR}/pkg-install PKGDEINSTALL?= ${WRKDIR}/pkg-deinstall MASTER_MOZDIR?= ${PORTSDIR}/www/mozilla --------------080908070106080209070709-- From owner-freebsd-gecko@FreeBSD.ORG Mon Sep 21 06:30:11 2009 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2B0110656A7 for ; Mon, 21 Sep 2009 06:30:11 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mail.droso.net (koala.ipv6.droso.net [IPv6:2001:6c8:6:c:20d:56ff:fe6f:f935]) by mx1.freebsd.org (Postfix) with ESMTP id 789738FC22 for ; Mon, 21 Sep 2009 06:30:11 +0000 (UTC) Received: from koala.droso.net (localhost.droso.net [IPv6:::1]) by mail.droso.net (Postfix) with ESMTP id BF2151CC2E for ; Mon, 21 Sep 2009 08:30:10 +0200 (CEST) From: linimon@FreeBSD.org To: gecko@freebsd.org Message-Id: <20090921063010.BF2151CC2E@mail.droso.net> Date: Mon, 21 Sep 2009 08:30:10 +0200 (CEST) Cc: Subject: FreeBSD ports that you maintain which are currently marked forbidden X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 06:30:11 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users about ports that are marked as "forbidden" in their Makefiles. Often, these ports are so marked due to security concerns, such as known exploits. An overview of each port, including errors seen on the build farm, is included below. portname: www/firefox forbidden because: too many security issues http://www.vuxml.org/freebsd/922d2398-9e2d-11de-a998-0030843d3802.html http://www.vuxml.org/freebsd/49e8f2ee-8147-11de-a994-0030843d3802.html build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=www&portname=firefox If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-gecko@FreeBSD.ORG Mon Sep 21 08:38:55 2009 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16BED1065670; Mon, 21 Sep 2009 08:38:55 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id C6A2F8FC1B; Mon, 21 Sep 2009 08:38:53 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1MpeQ6-0007k8-8n; Mon, 21 Sep 2009 09:38:52 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1MpeQ5-0001LO-Nw; Mon, 21 Sep 2009 09:38:50 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id n8L8cnaZ004969; Mon, 21 Sep 2009 09:38:49 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id n8L8cnfg004968; Mon, 21 Sep 2009 09:38:49 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 21 Sep 2009 09:38:49 +0100 From: Anton Shterenlikht To: Martin Wilke Message-ID: <20090921083849.GA4959@mech-cluster241.men.bris.ac.uk> References: <20090918091449.GA49746@mech-cluster241.men.bris.ac.uk> <20090918193111.GR92158@bsdcrew.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090918193111.GR92158@bsdcrew.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.2 X-Spam-Level: ---- Cc: gecko@freebsd.org, Anton Shterenlikht , freebsd-ia64@freebsd.org Subject: Re: port www/libxul fails to build on ia64 HEAD X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 08:38:55 -0000 On Fri, Sep 18, 2009 at 09:31:11PM +0200, Martin Wilke wrote: > I'm sorry, we don't have any access to a ia64 box, > if you can share a access we're willing to play here a bit > if not i guess we don't have any chance to fix that and > we need to mark that broken. I'm working on making a ports-bld ia64 box. Hopefully will set it up this week. Will be in touch. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-gecko@FreeBSD.ORG Mon Sep 21 11:06:55 2009 Return-Path: Delivered-To: freebsd-gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7472210656C4 for ; Mon, 21 Sep 2009 11:06:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1A52B8FC18 for ; Mon, 21 Sep 2009 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8LB6svq030244 for ; Mon, 21 Sep 2009 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8LB6skt030240 for freebsd-gecko@FreeBSD.org; Mon, 21 Sep 2009 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Sep 2009 11:06:54 GMT Message-Id: <200909211106.n8LB6skt030240@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-gecko@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-gecko@FreeBSD.org X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 11:06:55 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/134121 gecko www/firefox3-devel packaging errors f ports/132231 gecko [PATCH] www/firefox3: Add option to build with Profile f ports/128694 gecko www/firefox3 - Firefox 3 corrupts PostScript printer f o ports/103529 gecko www/seamonkey: enable SVG and Pango font rendering sup 4 problems total. From owner-freebsd-gecko@FreeBSD.ORG Mon Sep 21 11:07:15 2009 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C89210656A3 for ; Mon, 21 Sep 2009 11:07:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 324D18FC25 for ; Mon, 21 Sep 2009 11:07:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8LB7F81030549 for ; Mon, 21 Sep 2009 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8LB7ESJ030545 for gecko@FreeBSD.org; Mon, 21 Sep 2009 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Sep 2009 11:07:14 GMT Message-Id: <200909211107.n8LB7ESJ030545@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: gecko@FreeBSD.org Cc: Subject: Current problem reports assigned to gecko@FreeBSD.org X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 11:07:15 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/138902 gecko deskutils/lightning-xpi not available in thunderbird o o ports/134689 gecko www/Firefox ports and packages in chroot or jails cras 2 problems total. From owner-freebsd-gecko@FreeBSD.ORG Mon Sep 21 23:06:11 2009 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15070106566B for ; Mon, 21 Sep 2009 23:06:11 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id A26BF8FC16 for ; Mon, 21 Sep 2009 23:06:10 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.3/8.14.3) with ESMTP id n8LN69nl042081 for ; Mon, 21 Sep 2009 23:06:09 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.3/8.14.3/Submit) id n8LN64cc041024 for freebsd-gecko@freebsd.org; Mon, 21 Sep 2009 23:06:04 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Mon, 21 Sep 2009 23:06:04 GMT Message-Id: <200909212306.n8LN64cc041024@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [SVN-Commit] r114 - trunk/www/libxul X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 23:06:11 -0000 Author: miwi Date: Mon Sep 21 23:06:03 2009 New Revision: 114 Log: - Sync with ports Modified: trunk/www/libxul/Makefile trunk/www/libxul/distinfo Modified: trunk/www/libxul/Makefile ============================================================================== --- trunk/www/libxul/Makefile Fri Sep 18 00:25:34 2009 (r113) +++ trunk/www/libxul/Makefile Mon Sep 21 23:06:03 2009 (r114) @@ -7,7 +7,7 @@ # PORTNAME= libxul -PORTVERSION= 1.9.0.13 +PORTVERSION= 1.9.0.14 CATEGORIES?= www devel MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= xulrunner/releases/${PORTVERSION}/source/ Modified: trunk/www/libxul/distinfo ============================================================================== --- trunk/www/libxul/distinfo Fri Sep 18 00:25:34 2009 (r113) +++ trunk/www/libxul/distinfo Mon Sep 21 23:06:03 2009 (r114) @@ -1,3 +1,3 @@ -MD5 (xulrunner-1.9.0.13-source.tar.bz2) = 040d01a1e22a1ec1b28188479df06007 -SHA256 (xulrunner-1.9.0.13-source.tar.bz2) = 07afeb577038812b97169cdf6bb41938072d3b12f2e9194041c7c31382047be3 -SIZE (xulrunner-1.9.0.13-source.tar.bz2) = 37318606 +MD5 (xulrunner-1.9.0.14-source.tar.bz2) = 5a075644b1f8d5dbb23525803b6c81dd +SHA256 (xulrunner-1.9.0.14-source.tar.bz2) = c680306ed6a8bc7fd32ff6424fc936d31e2ecf7b544228ab9409172907c4fbd1 +SIZE (xulrunner-1.9.0.14-source.tar.bz2) = 37353041 From owner-freebsd-gecko@FreeBSD.ORG Tue Sep 22 07:55:11 2009 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A9A41065679 for ; Tue, 22 Sep 2009 07:55:11 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id AB4D98FC1A for ; Tue, 22 Sep 2009 07:55:10 +0000 (UTC) Received: from daedalus.network.local (183-61.3-85.cust.bluewin.ch [85.3.61.183]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.3/8.14.3) with ESMTP id n8M7s2OD014960 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 22 Sep 2009 07:54:03 GMT (envelope-from beat@FreeBSD.org) Message-ID: <4AB8831D.4050203@FreeBSD.org> Date: Tue, 22 Sep 2009 09:56:13 +0200 From: Beat Gaetzi User-Agent: Thunderbird 2.0.0.23 (X11/20090821) MIME-Version: 1.0 To: Andreas Tobler References: <4AB667AF.7060108@fgznet.ch> In-Reply-To: <4AB667AF.7060108@fgznet.ch> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gecko@FreeBSD.org Subject: Re: [patch] Thunderbird powerpc port X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 07:55:11 -0000 Hi Andreas, Andreas Tobler wrote: > it took a while since I needed to port a gdb for powerpc first. > > But here it is, this patch allows me to build AND run thunderbird on > powerpc freebsd. Thanks a lot for this work. > The patch contains three parts, an already existing Makefile.in patch. > A new set of files for powerpc and the bsd-gecko-mk patch. Is this modification in bsd.gecko.mk needed for all gecko ports on powerpc or just for thunderbird? If its just for thunderbird please remove inclusion of ${PORTSDIR}/www/mozilla/Makefile.common in Makefile and add USE_GECKO= gecko somewhere near USE_GMAKE. With this modification you should be able to use GECKO_PTHREAD_LIBS directly in thunderbird Makefile. Thanks, Beat From owner-freebsd-gecko@FreeBSD.ORG Tue Sep 22 08:10:03 2009 Return-Path: Delivered-To: gecko@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE94F106568B for ; Tue, 22 Sep 2009 08:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 836ED8FC0A for ; Tue, 22 Sep 2009 08:10:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8M8A3Gm045885 for ; Tue, 22 Sep 2009 08:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8M8A3wx045884; Tue, 22 Sep 2009 08:10:03 GMT (envelope-from gnats) Date: Tue, 22 Sep 2009 08:10:03 GMT Message-Id: <200909220810.n8M8A3wx045884@freefall.freebsd.org> To: gecko@FreeBSD.org From: Beat Gaetzi Cc: Subject: Re: ports/138902: deskutils/lightning-xpi not available in thunderbird on FreeBSD 8 Beta4 amd64 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Beat Gaetzi List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 08:10:03 -0000 The following reply was made to PR ports/138902; it has been noted by GNATS. From: Beat Gaetzi To: bug-followup@FreeBSD.org, freebsd@krausser-edv.de Cc: Subject: Re: ports/138902: deskutils/lightning-xpi not available in thunderbird on FreeBSD 8 Beta4 amd64 Date: Tue, 22 Sep 2009 10:05:09 +0200 Hi, Could you please send me the output of: # pkg_info -Ix lightning # pkg_info -Ix thunderbird Please check Tools -> Add-Ons. Is lightning listed in the plugins list? Are there some icons like Mail, Calendar, Taks in the left or right under corner? Thanks, Beat From owner-freebsd-gecko@FreeBSD.ORG Tue Sep 22 09:20:03 2009 Return-Path: Delivered-To: gecko@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F2A31065751 for ; Tue, 22 Sep 2009 09:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5B9CC8FC0A for ; Tue, 22 Sep 2009 09:20:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8M9K3vZ017817 for ; Tue, 22 Sep 2009 09:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8M9K30D017812; Tue, 22 Sep 2009 09:20:03 GMT (envelope-from gnats) Date: Tue, 22 Sep 2009 09:20:03 GMT Message-Id: <200909220920.n8M9K30D017812@freefall.freebsd.org> To: gecko@FreeBSD.org From: Eric Krausser Cc: Subject: Re: ports/138902: deskutils/lightning-xpi not available in thunderbird on FreeBSD 8 Beta4 amd64 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eric Krausser List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 09:20:03 -0000 The following reply was made to PR ports/138902; it has been noted by GNATS. From: Eric Krausser To: bug-followup@FreeBSD.org, Beat Gaetzi Cc: Subject: Re: ports/138902: deskutils/lightning-xpi not available in thunderbird on FreeBSD 8 Beta4 amd64 Date: Tue, 22 Sep 2009 11:00:26 +0200 Hi Beat, # pkg_info -Ix lightning lightning-xpi-0.9 An integrated calendar for Thunderbird # pkg_info -Ix thunderbird thunderbird-2.0.0.23 Mozilla Thunderbird is standalone mail and news that stands thunderbird-i18n-2.0.0.23 Localized interface for Thunderbird No Lightning in "Add-Ons" and no icons on the under corner. # pkg_info -L lightning-xpi-0.9 Information for lightning-xpi-0.9: Files: /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar-en-US.jar /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar.jar /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/chromelist.txt /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/icons/default/calendar-alarm-dialog.xpm /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/lightning-en-US.jar /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/lightning.jar /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calCompositeCalendar.js .... /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/js/calWcapUtils.js /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/js/calWeekInfoService.js /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/js/calWeekPrinter.js /usr/local/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones.sqlite I checked some files and they are really there. A debug version of Thunderbird didn't tell something about a failed plugin. The same with a removed ~/.thunderbird directory. Even on an other amd64 BETA-4 machine. Without port thunderbird-i18n-2.0.0.23 the same problem. Eric Beat Gaetzi schrieb: > Hi, > > Could you please send me the output of: > # pkg_info -Ix lightning > # pkg_info -Ix thunderbird > > Please check Tools -> Add-Ons. Is lightning listed in the plugins list? > > Are there some icons like Mail, Calendar, Taks in the left or right > under corner? > > Thanks, > Beat From owner-freebsd-gecko@FreeBSD.ORG Tue Sep 22 18:42:05 2009 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E1E4106568B; Tue, 22 Sep 2009 18:42:05 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id A1A738FC26; Tue, 22 Sep 2009 18:42:03 +0000 (UTC) Received: from deuterium.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id n8MIg2qa078594; Tue, 22 Sep 2009 20:42:02 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4AB91A7A.3030200@fgznet.ch> Date: Tue, 22 Sep 2009 20:42:02 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Beat Gaetzi References: <4AB667AF.7060108@fgznet.ch> <4AB8831D.4050203@FreeBSD.org> In-Reply-To: <4AB8831D.4050203@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: gecko@FreeBSD.org Subject: Re: [patch] Thunderbird powerpc port X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 18:42:05 -0000 Hoi Beat, Beat Gaetzi wrote: > Andreas Tobler wrote: >> it took a while since I needed to port a gdb for powerpc first. >> >> But here it is, this patch allows me to build AND run thunderbird on >> powerpc freebsd. > > Thanks a lot for this work. Welcome. It was fun :) >> The patch contains three parts, an already existing Makefile.in patch. >> A new set of files for powerpc and the bsd-gecko-mk patch. > > Is this modification in bsd.gecko.mk needed for all gecko ports on > powerpc or just for thunderbird? If its just for thunderbird please > remove inclusion of ${PORTSDIR}/www/mozilla/Makefile.common in Makefile > and add USE_GECKO= gecko somewhere near USE_GMAKE. With this > modification you should be able to use GECKO_PTHREAD_LIBS directly in > thunderbird Makefile. Aha. This is the trick. Well, beside Firefox35 and Thunderbird I did not build anything else which uses bsd.gecko.mk. But from the code pov I'd say every port suffers from this issue on powerpc. Maybe we can leave the bsd.gecko.mk for later. Currently I try your suggestion. Below is the diff for the Makefile. With this patch, the bsd.gecko.mk part is not needed. Still building. Gruss, Andreas --- Makefile.orig 2009-08-21 16:27:32.000000000 +0200 +++ Makefile 2009-09-22 20:14:27.000000000 +0200 @@ -2,13 +2,12 @@ # Date created: 4 September 2003 # Whom: Joe Marcus Clarke # -# $FreeBSD: ports/mail/thunderbird/Makefile,v 1.105 2009/07/23 07:46:42 ale Exp $ +# $FreeBSD: ports/mail/thunderbird/Makefile,v 1.106 2009/08/22 11:52:00 beat Exp $ # $MCom: ports-stable/mail/thunderbird/Makefile,v 1.18 2009/01/02 21:16:20 mezz Exp $ # PORTNAME= thunderbird -DISTVERSION= 2.0.0.22 -PORTREVISION= 1 +DISTVERSION= 2.0.0.23 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED} MASTER_SITE_SUBDIR= thunderbird/releases/${DISTVERSION}/source @@ -24,6 +23,7 @@ HAS_CONFIGURE= yes USE_BZIP2= yes USE_GMAKE= yes +USE_GECKO= gecko WANT_PERL= yes MOZ_EXTENSIONS= wallet,spellcheck,xmlextras,webservices,auth,transformiix @@ -44,7 +44,9 @@ .include -GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE} +GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 '%{\!pg: %{pthread:' | ${SED +} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE} + .if (${ARCH}=="sparc64" && ${OSVERSION} < 601101) IGNORE= core dumps on ${ARCH}, kern.osreldate>=601101 needed @@ -89,5 +91,4 @@ ${INSTALL_DATA} ${WRKSRC}/other-licenses/branding/${PORTNAME}/default.xpm \ ${PORTNAME_ICON} -.include "${PORTSDIR}/www/mozilla/Makefile.common" .include From owner-freebsd-gecko@FreeBSD.ORG Thu Sep 24 11:42:13 2009 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED38710656A4 for ; Thu, 24 Sep 2009 11:42:12 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id 98B648FC0C for ; Thu, 24 Sep 2009 11:42:12 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.3/8.14.3) with ESMTP id n8OBgBTK054925 for ; Thu, 24 Sep 2009 11:42:11 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.3/8.14.3/Submit) id n8OBg64i054080 for freebsd-gecko@freebsd.org; Thu, 24 Sep 2009 11:42:06 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Thu, 24 Sep 2009 11:42:06 GMT Message-Id: <200909241142.n8OBg64i054080@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [SVN-Commit] r115 - in branches/experimental/mail/thunderbird-devel: . files X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2009 11:42:13 -0000 Author: beat Date: Thu Sep 24 11:42:05 2009 New Revision: 115 Log: - Update to 3.0 Beta 4 Modified: branches/experimental/mail/thunderbird-devel/Makefile branches/experimental/mail/thunderbird-devel/distinfo branches/experimental/mail/thunderbird-devel/files/patch-media_liboggz_include_oggz_oggz_off_t_generated.h Modified: branches/experimental/mail/thunderbird-devel/Makefile ============================================================================== --- branches/experimental/mail/thunderbird-devel/Makefile Mon Sep 21 23:06:03 2009 (r114) +++ branches/experimental/mail/thunderbird-devel/Makefile Thu Sep 24 11:42:05 2009 (r115) @@ -6,11 +6,11 @@ # PORTNAME= thunderbird -DISTVERSION= 3.0b3 +DISTVERSION= 3.0b4 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_MOZILLA} -MASTER_SITE_SUBDIR= ${PORTNAME}/nightly/${DISTVERSION}-candidates/build1/source/ -DISTNAME= ${PORTNAME}-${DISTVERSION}-source +MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${DISTVERSION}/source/ +DISTNAME= ${PORTNAME}-${DISTVERSION}.source MAINTAINER= gecko@FreeBSD.org COMMENT= Mozilla Thunderbird is standalone mail and news that stands above @@ -54,8 +54,8 @@ .include -MOZSRC:= ${WRKDIR}/mozilla -WRKSRC= ${WRKDIR} +WRKSRC= ${WRKDIR}/comm-central +MOZSRC:= ${WRKSRC}/mozilla .if ${OSVERSION} < 700000 LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio @@ -86,7 +86,7 @@ ${SED} -e 's|@MOZILLA_ICON@|${MOZILLA_ICON}|' -e 's|@MOZILLA@|${MOZILLA}|' \ -e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \ <${FILESDIR}/thunderbird.desktop.in >${WRKDIR}/${MOZILLA}.desktop - ${LN} -s ${WRKDIR}/mail ${WRKDIR}/mozilla/mail + ${LN} -s ${WRKSRC}/mail ${WRKSRC}/mozilla/mail post-patch: ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \ Modified: branches/experimental/mail/thunderbird-devel/distinfo ============================================================================== --- branches/experimental/mail/thunderbird-devel/distinfo Mon Sep 21 23:06:03 2009 (r114) +++ branches/experimental/mail/thunderbird-devel/distinfo Thu Sep 24 11:42:05 2009 (r115) @@ -1,3 +1,3 @@ -MD5 (thunderbird-3.0b3-source.tar.bz2) = 1d589b53e86282808a0ac43ec95bcb7a -SHA256 (thunderbird-3.0b3-source.tar.bz2) = adccafb816f28554a1a9f385d8a1aa311ac5f11d746446f56b7e8fd85dc17836 -SIZE (thunderbird-3.0b3-source.tar.bz2) = 58488996 +MD5 (thunderbird-3.0b4.source.tar.bz2) = 0f7c7cdfebd8948b7e3fe835773b072d +SHA256 (thunderbird-3.0b4.source.tar.bz2) = 3847fdfdd1ef8301bd874cad246fe404e331306a61acae48133fffefe94a5f32 +SIZE (thunderbird-3.0b4.source.tar.bz2) = 58912915 Modified: branches/experimental/mail/thunderbird-devel/files/patch-media_liboggz_include_oggz_oggz_off_t_generated.h ============================================================================== --- branches/experimental/mail/thunderbird-devel/files/patch-media_liboggz_include_oggz_oggz_off_t_generated.h Mon Sep 21 23:06:03 2009 (r114) +++ branches/experimental/mail/thunderbird-devel/files/patch-media_liboggz_include_oggz_oggz_off_t_generated.h Thu Sep 24 11:42:05 2009 (r115) @@ -1,11 +1,11 @@ ---- mozilla/media/liboggz/include/oggz/oggz_off_t_generated.h.orig 2009-08-13 11:39:02.000000000 +0200 -+++ mozilla/media/liboggz/include/oggz/oggz_off_t_generated.h 2009-08-13 11:39:27.000000000 +0200 +--- mozilla/media/liboggz/include/oggz/oggz_off_t_generated.h.orig 2009-09-16 02:56:44.000000000 +0200 ++++ mozilla/media/liboggz/include/oggz/oggz_off_t_generated.h 2009-09-24 13:04:49.000000000 +0200 @@ -59,7 +59,7 @@ #include --#if defined(__APPLE__) || defined(SOLARIS) -+#if defined(__APPLE__) || defined(SOLARIS) || defined (__FreeBSD__) +-#if defined(__APPLE__) || defined(SOLARIS) || defined(OS2) ++#if defined(__APPLE__) || defined(SOLARIS) || defined(OS2) || defined (__FreeBSD__) typedef off_t oggz_off_t; #else typedef loff_t oggz_off_t; From owner-freebsd-gecko@FreeBSD.ORG Fri Sep 25 09:47:35 2009 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D094C1065693 for ; Fri, 25 Sep 2009 09:47:35 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id 7CEC28FC1B for ; Fri, 25 Sep 2009 09:47:35 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.3/8.14.3) with ESMTP id n8P9lY7g070360 for ; Fri, 25 Sep 2009 09:47:34 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.3/8.14.3/Submit) id n8P9lTol068797 for freebsd-gecko@freebsd.org; Fri, 25 Sep 2009 09:47:29 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Fri, 25 Sep 2009 09:47:29 GMT Message-Id: <200909250947.n8P9lTol068797@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [SVN-Commit] r116 - in branches/experimental/mail/thunderbird-devel: . files X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2009 09:47:35 -0000 Author: beat Date: Fri Sep 25 09:47:28 2009 New Revision: 116 Log: - Move execution of AUTOCONF from post-extract to pre-configure - Pet portlint Added: branches/experimental/mail/thunderbird-devel/files/patch-configure.in - copied, changed from r114, branches/experimental/mail/thunderbird-devel/files/patch-configure branches/experimental/mail/thunderbird-devel/files/patch-mozilla-configure.in - copied, changed from r114, branches/experimental/mail/thunderbird-devel/files/patch-configure Deleted: branches/experimental/mail/thunderbird-devel/files/patch-configure Modified: branches/experimental/mail/thunderbird-devel/Makefile branches/experimental/mail/thunderbird-devel/files/patch-mozilla-js-src-configure.in Modified: branches/experimental/mail/thunderbird-devel/Makefile ============================================================================== --- branches/experimental/mail/thunderbird-devel/Makefile Thu Sep 24 11:42:05 2009 (r115) +++ branches/experimental/mail/thunderbird-devel/Makefile Fri Sep 25 09:47:28 2009 (r116) @@ -15,7 +15,6 @@ MAINTAINER= gecko@FreeBSD.org COMMENT= Mozilla Thunderbird is standalone mail and news that stands above -EXTRACT_DEPENDS= autoconf-2.13:${PORTSDIR}/devel/autoconf213 BUILD_DEPENDS= nspr>=4.8:${PORTSDIR}/devel/nspr USE_AUTOTOOLS= autoconf:213 @@ -80,9 +79,6 @@ .endif post-extract:: - (cd ${WRKSRC} && ${AUTOCONF}) - (cd ${MOZSRC} && ${AUTOCONF}) - (cd ${MOZSRC}/js/src/ && ${AUTOCONF}) ${SED} -e 's|@MOZILLA_ICON@|${MOZILLA_ICON}|' -e 's|@MOZILLA@|${MOZILLA}|' \ -e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \ <${FILESDIR}/thunderbird.desktop.in >${WRKDIR}/${MOZILLA}.desktop @@ -102,11 +98,16 @@ s|/usr/X11R6|${LOCALBASE}|g' \ ${MOZSRC}/js/src/configure +pre-configure: + (cd ${WRKSRC} && ${AUTOCONF}) + (cd ${MOZSRC} && ${AUTOCONF}) + (cd ${MOZSRC}/js/src/ && ${AUTOCONF}) + port-pre-install: ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \ ${FAKEDIR}/bin/thunderbird ${RM} -f ${FAKEDIR}/bin/*.bak - ${MKDIR} -p ${FAKEDIR}/lib/${PORTNAME}/defaults + ${MKDIR} ${FAKEDIR}/lib/${PORTNAME}/defaults pre-install: @${ECHO_CMD} 'share/applications/${PORTNAME}.desktop' >> ${PLIST} Deleted: branches/experimental/mail/thunderbird-devel/files/patch-configure ============================================================================== --- branches/experimental/mail/thunderbird-devel/files/patch-configure Fri Sep 25 09:47:28 2009 (r115) +++ /dev/null 00:00:00 1970 (deleted) @@ -1,11 +0,0 @@ ---- configure.orig 2009-08-14 11:24:58.206076928 +0200 -+++ configure 2009-08-14 11:25:29.601293359 +0200 -@@ -5680,7 +5680,7 @@ - CPU_ARCH=sparc - ;; - --x86_64 | ia64) -+amd64 | x86_64 | ia64) - CPU_ARCH="$OS_TEST" - ;; - esac Copied and modified: branches/experimental/mail/thunderbird-devel/files/patch-configure.in (from r114, branches/experimental/mail/thunderbird-devel/files/patch-configure) ============================================================================== --- branches/experimental/mail/thunderbird-devel/files/patch-configure Mon Sep 21 23:06:03 2009 (r114, copy source) +++ branches/experimental/mail/thunderbird-devel/files/patch-configure.in Fri Sep 25 09:47:28 2009 (r116) @@ -1,5 +1,5 @@ ---- configure.orig 2009-08-14 11:24:58.206076928 +0200 -+++ configure 2009-08-14 11:25:29.601293359 +0200 +--- configure.in.orig 2009-08-14 11:24:58.206076928 +0200 ++++ configure.in 2009-08-14 11:25:29.601293359 +0200 @@ -5680,7 +5680,7 @@ CPU_ARCH=sparc ;; Copied and modified: branches/experimental/mail/thunderbird-devel/files/patch-mozilla-configure.in (from r114, branches/experimental/mail/thunderbird-devel/files/patch-configure) ============================================================================== --- branches/experimental/mail/thunderbird-devel/files/patch-configure Mon Sep 21 23:06:03 2009 (r114, copy source) +++ branches/experimental/mail/thunderbird-devel/files/patch-mozilla-configure.in Fri Sep 25 09:47:28 2009 (r116) @@ -1,5 +1,5 @@ ---- configure.orig 2009-08-14 11:24:58.206076928 +0200 -+++ configure 2009-08-14 11:25:29.601293359 +0200 +--- mozilla/configure.in.orig 2009-08-14 11:24:58.206076928 +0200 ++++ mozilla/configure.in 2009-08-14 11:25:29.601293359 +0200 @@ -5680,7 +5680,7 @@ CPU_ARCH=sparc ;; Modified: branches/experimental/mail/thunderbird-devel/files/patch-mozilla-js-src-configure.in ============================================================================== --- branches/experimental/mail/thunderbird-devel/files/patch-mozilla-js-src-configure.in Thu Sep 24 11:42:05 2009 (r115) +++ branches/experimental/mail/thunderbird-devel/files/patch-mozilla-js-src-configure.in Fri Sep 25 09:47:28 2009 (r116) @@ -1,5 +1,5 @@ ---- mozilla/js/src/configure.orig 2009-09-17 11:09:10.000000000 +0200 -+++ mozilla/js/src/configure 2009-09-17 11:09:33.000000000 +0200 +--- mozilla/js/src/configure.in.orig 2009-09-17 11:09:10.000000000 +0200 ++++ mozilla/js/src/configure.in 2009-09-17 11:09:33.000000000 +0200 @@ -2467,10 +2467,6 @@ ENABLE_JIT=1 NANOJIT_ARCH=ARM