ports/55412: add new cli options for mozilla startup script

Alexander Nedotsukov bland at mail.ru
Sat Aug 9 07:30:17 UTC 2003


>Number:         55412
>Category:       ports
>Synopsis:       add new cli options for mozilla startup script
>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:   Sat Aug 09 00:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Nedotsukov
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD bbnest.dyndns.org 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Sat Aug 9 13:03:25 JST 2003 bland at bbnest.dyndns.org:/usr/obj/usr/src/sys/SU i386


	
>Description:
This two new cli options -browser and -compose will make mozilla startup script
more convinient for creating desktop launchers. The original idea of this options
was taken from mozilla/win32 distribution.
	
>How-To-Repeat:
	
>Fix:
Apply the patch attached
	

--- mozilla.sh.patch begins here ---
--- files/mozilla.sh.orig	Fri Aug  8 17:41:56 2003
+++ files/mozilla.sh	Sat Aug  9 16:03:30 2003
@@ -7,8 +7,14 @@
 cd $MOZILLA_DIR                                     || exit 1
 
 case $1 in
+    -browser)
+    	REMOTE_COMMAND="xfeDoCommand (openBrowser)"
+	;;
     -mail)
     	REMOTE_COMMAND="xfeDoCommand (openInbox)"
+	;;
+    -compose)
+    	REMOTE_COMMAND="xfeDoCommand (composeMessage)"
 	;;
     -*)
     	exec ./$MOZILLA_EXEC "$@"
--- mozilla.sh.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list