Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2007 22:42:24 -0800
From:      Greg Minshall <minshall@acm.org>
To:        ken <ken@tydfam.jp>
Cc:        gnome@freebsd.org
Subject:   Re: xulrunner-1.8.1.3 port 
Message-ID:  <20071222064224.8EE6D5DC5@gregtx.cliq.com>
In-Reply-To: Your message of "Sat, 22 Dec 2007 11:21:53 %2B0900." <20071222.112153.180098111.ken@tydfam.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
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






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