xulrunner-1.8.1.3 port

Greg Minshall minshall at acm.org
Fri Dec 21 22:44:01 PST 2007


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





More information about the freebsd-gnome mailing list