[PATCH app-xinit 1/3] Remove SCO support for SHELL_CMD and startx man page.

Alan Coopersmith alan.coopersmith at oracle.com
Mon Feb 16 08:35:18 PST 2015


On 02/16/15 08:25 AM, Gaetan Nadon wrote:
> SCO support was removed from startx.cpp and xinitrc.cpp earlier.
>
>      Remove unixware / sco support
>      http://cgit.freedesktop.org/xorg/app/xinit/commit/
>      ?id=fdf03cd2fdfd9cd5635334c5e4dc2bb23e92e37a
>
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
>   configure.ac    |  5 -----
>   man/Makefile.am |  1 -
>   man/startx.man  | 15 ---------------
>   3 files changed, 21 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 18794b3..461648b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -190,13 +190,8 @@ case $host_os in
>       *solaris*)
>   	SHELL_CMD="/bin/ksh"
>   	;;
> -    *sco*)
> -	SHELL_CMD="/bin/ksh"
> -	SCOMAN=1
> -	;;
>   esac
>   AC_SUBST(SHELL_CMD)
> -AC_SUBST(SCOMAN)
>   AC_SUBST(XSERVERNAME)
>   AC_SUBST(XCONFIGFILE)
>   AC_SUBST(XCONFIGFILEMAN)
> diff --git a/man/Makefile.am b/man/Makefile.am
> index b24faca..9c6569f 100644
> --- a/man/Makefile.am
> +++ b/man/Makefile.am
> @@ -13,7 +13,6 @@ MAN_SUBSTS+=	-e 's|__XSERVERNAME__|$(XSERVERNAME)|g' \
>   		-e 's|__xinitdir__|$(XINITDIR)|g' \
>   		-e 's|__bindir__|$(bindir)|g' \
>   		-e 's|__libdir__|$(libdir)|g' \
> -		-e 's|__SCOMAN__|$(SCOMAN)|g' \
>   		-e 's|__configdir__|$(XINITDIR)|g'
>
>
> diff --git a/man/startx.man b/man/startx.man
> index 0405be0..03e15a9 100644
> --- a/man/startx.man
> +++ b/man/startx.man
> @@ -74,7 +74,6 @@ startx -- -dpi 100
>   .PP
>   startx -- -layout Multihead
>   .RE
> -.if '__SCOMAN__'' .ig
>   .PP
>   To determine the client to run,
>   .B startx
> @@ -90,20 +89,6 @@ looks for the following files, in order:
>   .I __xinitdir__/xinitrc
>   .RE
>   .PP
> -..
> -.if !'x.__SCOMAN__'x.' .ig
> -.PP
> -To determine the client to run,
> -.B startx
> -first looks for a file called
> -.I .xinitrc
> -in the user's home directory.  If that is not found, it uses
> -the file
> -.I xinitrc
> -in the
> -.I xinit
> -library directory.
> -..
>   If command line client options are given, they override this
>   behavior and revert to the
>   .BR xinit (__appmansuffix__)
>

Shouldn't you also be removing the reference in the FILES section?

.SH FILES
.if '__SCOMAN__'' .ig
.TP 25
.I $(HOME)/.startxrc
Client to run.  Typically a shell script which runs many programs in
the background.
.TP 25
.I __libdir__/sys.startxrc
Client to use if the user has no
.I .startxrc
file.
..

Other than that, looks good to me.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list