From owner-freebsd-gnome@FreeBSD.ORG Sat Dec 22 06:44:01 2007 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7C9A16A417 for ; Sat, 22 Dec 2007 06:44:01 +0000 (UTC) (envelope-from minshall@acm.org) Received: from einstein.cliq.org (einstein.cliq.org [131.161.246.13]) by mx1.freebsd.org (Postfix) with ESMTP id 94E4713C448 for ; Sat, 22 Dec 2007 06:44:01 +0000 (UTC) (envelope-from minshall@acm.org) Received: from gregtx.cliq.com (minshall@localhost.cliq.org [IPv6:::1]) by einstein.cliq.org (8.13.4/8.13.4) with ESMTP id lBM6hwts004353; Fri, 21 Dec 2007 22:43:58 -0800 (PST) Received: from gregtx (localhost [127.0.0.1]) by gregtx.cliq.com (Postfix) with ESMTP id 8EE6D5DC5; Fri, 21 Dec 2007 22:42:24 -0800 (PST) X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 From: Greg Minshall To: ken In-reply-to: Your message of "Sat, 22 Dec 2007 11:21:53 +0900." <20071222.112153.180098111.ken@tydfam.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Dec 2007 22:42:24 -0800 Sender: minshall@acm.org Message-Id: <20071222064224.8EE6D5DC5@gregtx.cliq.com> Cc: gnome@freebsd.org Subject: Re: xulrunner-1.8.1.3 port X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2007 06:44:01 -0000 Ken, i'm afraid i'm not going to be able to be of much help. i am also a novice in terms of xulrunner. but: does your system install in /usr/local or /usr/X11R6? are you invoking xulrunner or xulrunner-bin? (i think you should be invoking the former, a shell script which presumably sets things up then invokes the latter.) my /usr/X11R6/lib/xulrunner does not contain libjavaxpcomglue.so. below is the patch relating to expr(1). (i'm including, rather than attaching, it, so watch out for spurious line breaks.) hope something helps. Greg ---- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # patch-xulrunner::app::mozilla.in # echo x - patch-xulrunner::app::mozilla.in sed 's/^X//' >patch-xulrunner::app::mozilla.in << 'END-of-patch-xulrunner::app: :mozilla.in' X*** xulrunner/app/mozilla.in.orig Sun Nov 11 04:49:48 2007 X--- xulrunner/app/mozilla.in Sun Nov 11 04:50:29 2007 X*************** X*** 193,204 **** X done #others arg X X #???: needs check if othersopt begin with -* ? X! if [ `expr "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then X # Last argument seems to be a local file/directory X # Check, if it is absolutely specified (ie. /home/foo/file vs. ./file) X # If it is just "relatively" (./file) specified, make it absolutely X! [ `expr "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optLast }" X! elif [ `expr "${_optLast}" : '.*:/.*'` -gt 0 -o -n "${_optOthers}" ]; then #???? like before... X _NEW_WINDOW=1 X fi X X--- 193,204 ---- X done #others arg X X #???: needs check if othersopt begin with -* ? X! if [ `expr -- "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then X # Last argument seems to be a local file/directory X # Check, if it is absolutely specified (ie. /home/foo/file vs. ./file) X # If it is just "relatively" (./file) specified, make it absolutely X! [ `expr -- "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optL ast}" X! elif [ `expr -- "${_optLast}" : '.*:/.*'` -gt 0 -o -n "${_optOthers}" ]; then #???? like before... X _NEW_WINDOW=1 X fi X X*************** X*** 264,270 **** X arg="$1" X shift X set -- "$@" "$arg" X! pass_arg_count=`expr $pass_arg_count + 1` X ;; X esac X done X--- 264,270 ---- X arg="$1" X shift X set -- "$@" "$arg" X! pass_arg_count=`expr -- $pass_arg_count + 1` X ;; X esac X done END-of-patch-xulrunner::app::mozilla.in exit # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # patch-xulrunner::app::mozilla.in # echo x - patch-xulrunner::app::mozilla.in sed 's/^X//' >patch-xulrunner::app::mozilla.in << 'END-of-patch-xulrunner::app: :mozilla.in' X*** xulrunner/app/mozilla.in.orig Sun Nov 11 04:49:48 2007 X--- xulrunner/app/mozilla.in Sun Nov 11 04:50:29 2007 X*************** X*** 193,204 **** X done #others arg X X #???: needs check if othersopt begin with -* ? X! if [ `expr "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then X # Last argument seems to be a local file/directory X # Check, if it is absolutely specified (ie. /home/foo/file vs. ./file) X # If it is just "relatively" (./file) specified, make it absolutely X! [ `expr "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optLast }" X! elif [ `expr "${_optLast}" : '.*:/.*'` -gt 0 -o -n "${_optOthers}" ]; then #???? like before... X _NEW_WINDOW=1 X fi X X--- 193,204 ---- X done #others arg X X #???: needs check if othersopt begin with -* ? X! if [ `expr -- "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then X # Last argument seems to be a local file/directory X # Check, if it is absolutely specified (ie. /home/foo/file vs. ./file) X # If it is just "relatively" (./file) specified, make it absolutely X! [ `expr -- "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optL ast}" X! elif [ `expr -- "${_optLast}" : '.*:/.*'` -gt 0 -o -n "${_optOthers}" ]; then #???? like before... X _NEW_WINDOW=1 X fi X X*************** X*** 264,270 **** X arg="$1" X shift X set -- "$@" "$arg" X! pass_arg_count=`expr $pass_arg_count + 1` X ;; X esac X done X--- 264,270 ---- X arg="$1" X shift X set -- "$@" "$arg" X! pass_arg_count=`expr -- $pass_arg_count + 1` X ;; X esac X done END-of-patch-xulrunner::app::mozilla.in exit