--- a/open-src/Makefile Fri Aug 31 14:31:09 2007 -0700
+++ b/open-src/Makefile Tue Sep 04 16:05:23 2007 -0700
@@ -28,7 +28,7 @@
# or other dealings in this Software without prior written authorization
# of the copyright holder.
#
-# @(#)Makefile 1.16 07/08/29
+# @(#)Makefile 1.17 07/09/04
#
###############################################################################
#
@@ -50,7 +50,7 @@
app \
xserver/xorg \
driver \
- data/xcursor-themes \
+ data \
font
ALL = $(BEFOREX) $(AFTERX)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/Makefile Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,60 @@
+# Makefile for X Consolidation Open Source data modules
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use subject to license terms.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# @(#)Makefile 1.1 07/09/04
+#
+###############################################################################
+
+OS_SUBDIRS = \
+ smf-rbac \
+ workspace-patterns \
+ xcursor-themes
+
+all:
+ $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
+
+World: clean all
+
+clean:
+ $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
+
+install:
+ $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
+
+download:
+ $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
+
+subdirs:
+ @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
+ for i in $(OS_SUBDIRS) ;\
+ do \
+ (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/proto/$$i..."; \
+ $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
+ done
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/FontStates.html Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,46 @@
+<HTML>
+<HEAD>
+<!--
+
+Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, and/or sell copies of the Software, and to permit persons
+to whom the Software is furnished to do so, provided that the above
+copyright notice(s) and this permission notice appear in all copies of
+the Software and that both the above copyright notice(s) and this
+permission notice appear in supporting documentation.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder
+shall not be used in advertising or otherwise to promote the sale, use
+or other dealings in this Software without prior written authorization
+of the copyright holder.
+
+ -->
+ <TITLE> </TITLE>
+
+
+</HEAD>
+<BODY>
+<!-- ident "@(#)FontStates.html 1.2 07/09/04 SMI" -->
+
+When Font States is in the Authorizations Included column, it grants the
+authorization to manipulate font services via the Service Management Framework.
+<p>
+If Font States is grayed, then you are not entitled to Add or Remove this authorization.
+<p>
+</BODY>
+</HTML>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/Makefile Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,110 @@
+###############################################################################
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use subject to license terms.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+#
+# ident "@(#)Makefile 1.4 07/09/04 SMI"
+#
+# Files for integration with Solaris Service Management Framework (SMF) and
+# Role Based Access Control (RBAC)
+
+# No upstream sources for these files, since they're Solaris-specific
+SOURCE_TARBALL_NAME=NONE
+
+# Build per-arch, not per-bitsize
+BUILD_TYPES_SET=yes
+BUILD_TYPES=$(MACH)
+
+### Include common rulesets
+PWD:sh=pwd
+TOP=$(PWD)/../..
+include $(TOP)/common/Makefile.inc
+
+source_i386:
+
+source_sparc:
+
+SUN_SMF_MANIFEST_DIR=/var/svc/manifest/application
+SUN_SMF_METHOD_DIR=/lib/svc/method
+DESTDIR=$(PROTODIR)
+
+BUILD_TARGETS = x11-server.xml check
+
+build_common: $(BUILD_TARGETS)
+build_sparc: build_common
+build_i386: build_common
+
+DEFAULT_XSERVER_sparc=/usr/openwin/bin/Xsun
+DEFAULT_XSERVER_i386=/usr/X11/bin/Xorg
+DEFAULT_XSERVER=$(DEFAULT_XSERVER_$(MACH))
+
+x11-server.xml: x11-server.xml.in
+ sed -e 's|@DEFAULT_XSERVER@|$(DEFAULT_XSERVER)|' < x11-server.xml.in > $@
+
+check:: x11-server.xml ogl-select.xml
+ /usr/sbin/svccfg validate x11-server.xml
+ /usr/sbin/svccfg validate ogl-select.xml
+
+clean_common:
+ $(RM) x11-server.xml
+
+clean_sparc: clean_common
+clean_i386: clean_common
+
+RBAC_ATTR_FILES=auth_attr exec_attr prof_attr
+RBAC_AUTH_HELP=X11States.html FontStates.html
+RBAC_PROFILE_HELP=RtDesktopConfiguration.html
+
+install_common: $(BUILD_TARGETS)
+ mkdir -p $(DESTDIR)$(SUN_SMF_MANIFEST_DIR)/x11 \
+ $(DESTDIR)$(SUN_SMF_METHOD_DIR) \
+ $(DESTDIR)$(X11_DIR)/bin \
+ $(DESTDIR)/etc/security \
+ $(DESTDIR)/usr/lib/help/auths/locale/C \
+ $(DESTDIR)/usr/lib/help/profiles/locale/C
+ cp -p x11-server.xml $(DESTDIR)$(SUN_SMF_MANIFEST_DIR)/x11
+ cp -p x11-server $(DESTDIR)$(SUN_SMF_METHOD_DIR)
+ cp -p Xserver $(DESTDIR)$(X11_DIR)/bin
+ cp -p $(RBAC_ATTR_FILES) $(DESTDIR)/etc/security
+ cp -p $(RBAC_AUTH_HELP) $(DESTDIR)/usr/lib/help/auths/locale/C
+ cp -p $(RBAC_PROFILE_HELP) $(DESTDIR)/usr/lib/help/profiles/locale/C
+
+install_sparc: install_common
+
+OGL_VENDOR_SCRIPTS=nvidia_vendor_select mesa_vendor_select
+
+install_i386: install_common
+ mkdir -p $(DESTDIR)$(SUN_SMF_MANIFEST_DIR)/opengl \
+ $(DESTDIR)$(SUN_SMF_METHOD_DIR) \
+ $(DESTDIR)/lib/opengl/ogl_select/
+ cp -p ogl-select.xml $(DESTDIR)$(SUN_SMF_MANIFEST_DIR)/opengl
+ cp -p ogl-select $(DESTDIR)$(SUN_SMF_METHOD_DIR)/ogl-select
+ cp -p $(OGL_VENDOR_SCRIPTS) $(DESTDIR)/lib/opengl/ogl_select/
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/RtDesktopConfiguration.html Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,45 @@
+<HTML>
+<HEAD>
+<!--
+
+Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, and/or sell copies of the Software, and to permit persons
+to whom the Software is furnished to do so, provided that the above
+copyright notice(s) and this permission notice appear in all copies of
+the Software and that both the above copyright notice(s) and this
+permission notice appear in supporting documentation.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder
+shall not be used in advertising or otherwise to promote the sale, use
+or other dealings in this Software without prior written authorization
+of the copyright holder.
+
+ -->
+ <TITLE> </TITLE>
+
+
+</HEAD>
+<BODY>
+<!-- ident "@(#)RtDesktopConfiguration.html 1.2 07/09/04 SMI" -->
+
+When Desktop Configuration is in the Rights Included column, it grants the right to manipulate X Window System and Font services via the Service Management Framework, and to configure the X Window System and related graphical desktop software.
+<p>
+If Desktop Configuration is grayed, then you are not entitled to Add or Remove this right.
+<p>
+</BODY>
+</HTML>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/X11States.html Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,47 @@
+<HTML>
+<HEAD>
+<!--
+
+Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, and/or sell copies of the Software, and to permit persons
+to whom the Software is furnished to do so, provided that the above
+copyright notice(s) and this permission notice appear in all copies of
+the Software and that both the above copyright notice(s) and this
+permission notice appear in supporting documentation.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder
+shall not be used in advertising or otherwise to promote the sale, use
+or other dealings in this Software without prior written authorization
+of the copyright holder.
+
+ -->
+ <TITLE> </TITLE>
+
+
+</HEAD>
+<BODY>
+<!-- ident "@(#)X11States.html 1.2 07/09/04 SMI" -->
+
+When X11 States is in the Authorizations Included column, it grants the
+authorization to manipulate X Window System services via the Service
+Management Framework.
+<p>
+If X11 States is grayed, then you are not entitled to Add or Remove this authorization.
+<p>
+</BODY>
+</HTML>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/Xserver Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,181 @@
+#!/bin/ksh
+#
+# ident "@(#)Xserver 1.4 07/09/04 SMI"
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+
+USAGE="Usage: $0 [-c <class>] :<display> [<X server arguments>]"
+
+PATH=/usr/bin:/usr/sbin:/usr/openwin/bin:/usr/X11/bin
+
+#########
+#
+# Default values
+#
+# Users must not modify this script to change them - change via SMF properties
+#
+
+DISPLAY="0"
+DEFDEPTH="24"
+CLASSES=""
+TCP_LISTEN=""
+SERVERARGS=""
+
+if [ `arch` = "sun4" ] ; then
+ XSERVER="/usr/openwin/bin/Xsun"
+else
+ XSERVER="/usr/X11/bin/Xorg"
+fi
+
+while getopts :c: opt; do
+ case $opt in
+ c) CLASSES="$CLASSES :$OPTARG" ;;
+ ?) echo $USAGE ; exit 2;;
+ esac
+done
+
+shift `expr $OPTIND - 1`
+
+if [ $# -gt 1 ] ; then
+ case $1 in
+ :*)
+ DISPLAY=$1
+ DISPLAY=$(echo $DISPLAY | sed 's/^://')
+ shift
+ ;;
+ *)
+ # Do nothing
+ ;;
+ esac
+fi
+
+REMOTE="false"
+for a in $SERVERARGS $* ; do
+ case $a in
+ -query|-broadcast|-multicast|-indirect)
+ REMOTE="true"
+ ;;
+ *)
+ # Do nothing
+ ;;
+ esac
+done
+
+if [ "$REMOTE" = "true" ] ; then
+ CLASSES="$CLASSES remote"
+else
+ CLASSES="$CLASSES local"
+fi
+
+getprop() {
+ PROPVAL=""
+ # The "" instance is to get the properties from the base service without
+ # any instance specifier
+ for INSTANCE in ":display$DISPLAY" $CLASSES "" ; do
+ svcprop -q -p $1 application/x11/x11-server$INSTANCE
+ if [ $? -eq 0 ] ; then
+ PROPVAL=$(svcprop -p $1 application/x11/x11-server$INSTANCE)
+ if [ "$PROPVAL" == "\"\"" ] ; then
+ PROPVAL=""
+ fi
+ return
+ fi
+ done
+ return
+}
+
+getprop options/default_depth
+if [ "$PROPVAL" != "" ] ; then
+ DEFDEPTH=$PROPVAL
+fi
+
+getprop options/server
+if [ "$PROPVAL" != "" ] ; then
+ XSERVER=$PROPVAL
+fi
+
+getprop options/server_args
+if [ "$PROPVAL" != "" ] ; then
+ SERVERARGS=$PROPVAL
+fi
+
+getprop options/tcp_listen
+if [ "$PROPVAL" != "" ] ; then
+ TCP_LISTEN=$PROPVAL
+fi
+
+# Make sure $XSERVER is a known X server binary
+
+case $XSERVER in
+ /usr/openwin/bin/Xsun) ;;
+ /usr/openwin/bin/Xvfb) ;;
+ /usr/X11/bin/Xorg) ;;
+ /usr/X11/bin/amd64/Xorg) ;;
+ /usr/X11/bin/i386/Xorg) ;;
+ /usr/X11/bin/Xvfb) ;;
+ /usr/X11/bin/amd64/Xvfb) ;;
+ /usr/X11/bin/i386/Xvfb) ;;
+ *)
+ echo "$0: $XSERVER is not a valid X server"
+ exit 1
+ ;;
+esac
+
+
+case $XSERVER in
+ *Xsun)
+ DEPTHARG="-defdepth $DEFDEPTH"
+ ;;
+ *Xorg)
+ DEPTHARG="-depth $DEFDEPTH"
+ ;;
+ *)
+ DEPTHARG=""
+ ;;
+esac
+
+# Should not happen, but just in case
+if [ "$TCP_LISTEN" = "" ] ; then
+ if [ "$REMOTE" = "true" ] ; then
+ TCP_LISTEN="true"
+ else
+ TCP_LISTEN="false"
+ fi
+fi
+
+if [ "$TCP_LISTEN" = "false" ] ; then
+ LISTENARG="-nolisten tcp"
+else
+ LISTENARG=""
+fi
+
+ALLARGS="$DEPTHARG $LISTENARG $SERVERARGS $*"
+
+exec $XSERVER :$DISPLAY $ALLARGS
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/auth_attr Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,3 @@
+solaris.smf.manage.x11:::Manage X11 Service States:::help=X11States.html
+solaris.smf.manage.font:::Manage Font Service States:::help=FontStates.html
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/exec_attr Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,3 @@
+Desktop Configuration:solaris:cmd:::/usr/X11/bin/scanpci:euid=0;privs=sys_config
+Desktop Configuration:solaris:cmd:::/usr/X11/bin/xorgconfig:euid=0
+Desktop Configuration:solaris:cmd:::/usr/X11/bin/xorgcfg:euid=0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/mesa_vendor_select Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,101 @@
+#!/bin/ksh
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# ident "@(#)mesa_vendor_select 1.2 07/09/04 SMI"
+#
+
+LINKDIR=/var/run/opengl
+
+PATH=/usr/bin:/usr/sbin:/usr/openwin/bin:/usr/X11/bin
+
+#
+# No support for SPARC, yet
+#
+if [ `uname -p` = "sparc" ]; then
+ return 0
+fi
+
+MYIDENTITY="SUNWtext mesa"
+
+# If this is just a probe, identify ourself and leave.
+if [ $# -eq 1 ]; then
+ if [ $1 = "identify" ]; then
+ echo $MYIDENTITY
+ return 0
+ fi
+fi
+
+# Make a directory link. $1 is the pathname.
+make_dir_link() {
+ if [ $# != 1 ]; then
+ return
+ fi
+ if [ ! -d $1 ]; then
+ mkdir -p $1
+ fi
+ chmod 755 $1
+}
+
+dir_init() {
+ make_dir_link $LINKDIR
+ make_dir_link $LINKDIR/lib
+ make_dir_link $LINKDIR/lib/amd64
+ make_dir_link $LINKDIR/include
+ make_dir_link $LINKDIR/server
+ make_dir_link $LINKDIR/server/amd64
+}
+
+# Make a file link. $1 is the source path, $2 is the target path
+make_file_link() {
+ if [ $# != 2 ]; then
+ return
+ fi
+ if [ -h $2 ]; then
+ rm -f $2
+ fi
+ ln -sf $1 $2
+}
+
+dir_init
+
+# User libraries
+make_file_link /usr/X11/lib/mesa/libGL.so.1 $LINKDIR/lib/libGL.so.1
+make_file_link /usr/X11/lib/mesa/amd64/libGL.so.1 $LINKDIR/lib/amd64/libGL.so.1
+
+# Server libraries
+make_file_link /usr/X11/lib/modules/extensions/mesa/libglx.so $LINKDIR/server/libglx.so
+make_file_link /usr/X11/lib/modules/extensions/mesa/amd64/libglx.so $LINKDIR/server/amd64/libglx.so
+
+# Includes
+make_file_link /usr/X11/include/mesa/gl.h $LINKDIR/include/gl.h
+make_file_link /usr/X11/include/mesa/glext.h $LINKDIR/include/glext.h
+make_file_link /usr/X11/include/mesa/glx.h $LINKDIR/include/glx.h
+make_file_link /usr/X11/include/mesa/glxext.h $LINKDIR/include/glxext.h
+
+return 0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/nvidia_vendor_select Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,101 @@
+#!/bin/ksh
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# ident "@(#)nvidia_vendor_select 1.2 07/09/04 SMI"
+#
+
+LINKDIR=/var/run/opengl
+
+PATH=/usr/bin:/usr/sbin:/usr/openwin/bin:/usr/X11/bin
+
+#
+# No support for SPARC, yet
+#
+if [ `uname -p` = "sparc" ]; then
+ return 0
+fi
+
+MYIDENTITY="NVDAnvda nvidia"
+
+# If this is just a probe, identify ourself and leave.
+if [ $# -eq 1 ]; then
+ if [ $1 = "identify" ]; then
+ echo $MYIDENTITY
+ return 0
+ fi
+fi
+
+# Make a directory link. $1 is the pathname.
+make_dir_link() {
+ if [ $# != 1 ]; then
+ return
+ fi
+ if [ ! -d $1 ]; then
+ mkdir -p $1
+ fi
+ chmod 755 $1
+}
+
+dir_init() {
+ make_dir_link $LINKDIR
+ make_dir_link $LINKDIR/lib
+ make_dir_link $LINKDIR/lib/amd64
+ make_dir_link $LINKDIR/include
+ make_dir_link $LINKDIR/server
+ make_dir_link $LINKDIR/server/amd64
+}
+
+# Make a file link. $1 is the source path, $2 is the target path
+make_file_link() {
+ if [ $# != 2 ]; then
+ return
+ fi
+ if [ -h $2 ]; then
+ rm -f $2
+ fi
+ ln -sf $1 $2
+}
+
+dir_init
+
+# User libraries
+make_file_link /usr/X11/lib/NVIDIA/libGL.so.1 $LINKDIR/lib/libGL.so.1
+make_file_link /usr/X11/lib/NVIDIA/amd64/libGL.so.1 $LINKDIR/lib/amd64/libGL.so.1
+
+# Server libraries
+make_file_link /usr/X11/lib/modules/extensions/NVIDIA/libglx.so $LINKDIR/server/libglx.so
+make_file_link /usr/X11/lib/modules/extensions/NVIDIA/amd64/libglx.so $LINKDIR/server/amd64/libglx.so
+
+# Includes
+make_file_link /usr/X11/include/NVIDIA/GL/gl.h $LINKDIR/include/gl.h
+make_file_link /usr/X11/include/NVIDIA/GL/glext.h $LINKDIR/include/glext.h
+make_file_link /usr/X11/include/NVIDIA/GL/glx.h $LINKDIR/include/glx.h
+make_file_link /usr/X11/include/NVIDIA/GL/glxext.h $LINKDIR/include/glxext.h
+
+return 0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/ogl-select Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,151 @@
+#!/bin/ksh
+#
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# ident "@(#)ogl-select 1.4 07/09/04 SMI"
+#
+
+. /lib/svc/share/smf_include.sh
+
+USAGE="Usage: $0 <method>"
+
+PATH=/usr/bin:/usr/sbin:/usr/openwin/bin:/usr/X11/bin
+
+DRIVER=""
+OGL_SELECT_DIR=/lib/opengl/ogl_select
+
+#######
+#
+# Default values
+#
+# Users must not modify this script to change them - change via SMF properties
+#
+
+#
+# No support for SPARC, yet
+#
+if [ `uname -p` = "sparc" ]; then
+ exit $SMF_EXIT_OK
+fi
+
+# Default to MESA
+VENDOR="MESA"
+
+METHOD=$1
+if [ $# -lt 1 ] ; then
+ echo $USAGE
+ exit $SMF_EXIT_ERR_FATAL
+fi
+shift
+
+case $METHOD in
+ start)
+ # Continue with rest of script
+ ;;
+ stop)
+ # Nothing to do
+ exit $SMF_EXIT_OK
+ ;;
+ *)
+ echo "Invalid method $METHOD"
+ exit $SMF_EXIT_ERR_FATAL
+ ;;
+esac
+
+if [ "$1" != "" ] ; then
+ echo $USAGE
+ exit $SMF_EXIT_ERR_FATAL
+fi
+
+getprop() {
+ PROPVAL=""
+ # The "" instance is to get the properties from the base service
+ # without any instance specifier
+ svcprop -q -p $1 application/opengl/ogl-select
+ if [ $? -eq 0 ] ; then
+ PROPVAL=$(svcprop -p $1 application/opengl/ogl-select)
+ if [ "$PROPVAL" == "\"\"" ] ; then
+ PROPVAL=""
+ fi
+ return
+ fi
+ return
+}
+
+readregistry()
+{
+ while read DRIVERTMP VENDORTMP; do
+ case "$DRIVERTMP" in
+ '#'* | '') # Ignore comments or empty lines
+ continue ;;
+ esac
+ if [ $DRIVERTMP = $DRIVER -a $VENDORTMP != '' ]; then
+ VENDOR=$VENDORTMP
+ fi
+ done
+}
+
+# Get the driver attached to the console
+DRIVER=`/usr/X/bin/constype`
+
+REGISTRY=/tmp/ogl_select$$
+if [ -e $REGISTRY ]; then
+ rm -f $REGISTRY
+fi
+touch $REGISTRY
+
+for x in $OGL_SELECT_DIR/*_vendor_select
+do
+ if [ -x $x ]; then
+ ($x identify >> $REGISTRY)
+ fi
+done
+
+if [ -f $REGISTRY ]; then
+ readregistry < $REGISTRY
+fi
+
+# Check for user override of vendor
+getprop options/vendor
+if [ "$PROPVAL" != "" -a "$PROPVAL" != "notset" ] ; then
+ VENDOR=$PROPVAL
+fi
+
+# Force the vendor name to lower case
+VENDOR=`echo ${VENDOR} | /usr/bin/tr "[A-Z]" "[a-z]"`
+
+# Build vendor script name
+SELECT_SCRIPT=$OGL_SELECT_DIR/${VENDOR}_vendor_select
+if [ ! -x $SELECT_SCRIPT ]; then
+ echo $0 "Can't execute vendor select script:" $SELECT_SCRIPT
+ exit $SMF_EXIT_ERR_FATAL
+fi
+
+($SELECT_SCRIPT)
+
+exit $SMF_ERR_OK
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/ogl-select.xml Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,134 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<!--
+
+Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, and/or sell copies of the Software, and to permit persons
+to whom the Software is furnished to do so, provided that the above
+copyright notice(s) and this permission notice appear in all copies of
+the Software and that both the above copyright notice(s) and this
+permission notice appear in supporting documentation.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder
+shall not be used in advertising or otherwise to promote the sale, use
+or other dealings in this Software without prior written authorization
+of the copyright holder.
+
+-->
+
+<service_bundle type='manifest' name='SUNWxwplr:ogl-select'>
+
+<service
+ name='application/opengl/ogl-select'
+ type='service'
+ version='1'>
+
+ <create_default_instance enabled='true'/>
+ <single_instance/>
+
+ <!-- Need / & /usr filesystems mounted, /var mounted read/write -->
+ <dependency
+ name='fs-local'
+ type='service'
+ grouping='require_all'
+ restart_on='none'>
+ <service_fmri value='svc:/system/filesystem/local' />
+ </dependency>
+
+ <dependency
+ name='network-service'
+ grouping='require_all'
+ restart_on='none'
+ type='service'>
+ <service_fmri value='svc:/network/service' />
+ </dependency>
+
+ <dependency
+ name='name-services'
+ grouping='require_all'
+ restart_on='refresh'
+ type='service'>
+ <service_fmri value='svc:/milestone/name-services' />
+ </dependency>
+
+ <!-- We need to run before x11/dtlogin/gdm starts -->
+ <dependent
+ name='ogl-select_before_x11-server'
+ grouping='optional_all'
+ restart_on='none'>
+ <service_fmri value='svc:/application/x11/x11-server' />
+ </dependent>
+
+ <dependent
+ name='ogl-select_before_dtlogin'
+ grouping='optional_all'
+ restart_on='none'>
+ <service_fmri value='svc:/application/graphical-login/cde-login' />
+ </dependent>
+
+ <dependent
+ name='ogl-select_before_gdm2-login'
+ grouping='optional_all'
+ restart_on='none'>
+ <service_fmri value='svc:/application/gdm2-login' />
+ </dependent>
+
+ <exec_method
+ type='method'
+ name='start'
+ exec='/lib/svc/method/ogl-select start'
+ timeout_seconds='30'>
+ </exec_method>
+
+ <exec_method
+ type='method'
+ name='stop'
+ exec='/lib/svc/method/ogl-select stop'
+ timeout_seconds='30'>
+ </exec_method>
+
+ <property_group name='startd' type='framework'>
+ <propval name='duration' type='astring' value='transient' />
+ </property_group>
+
+ <property_group name='options' type='application'>
+ <stability value='Evolving' />
+
+ <propval name='vendor' type='astring'
+ value='notset' />
+
+ <propval name='value_authorization' type='astring'
+ value='solaris.smf.manage.opengl' />
+ </property_group>
+
+ <stability value='Evolving' />
+
+ <template>
+ <common_name>
+ <loctext xml:lang='C'>
+ OpenGL runtime select
+ </loctext>
+ </common_name>
+ <documentation>
+ <manpage title='ogl-select' section='1' manpath='/usr/X11/share/man' />
+ </documentation>
+ </template>
+</service>
+
+</service_bundle>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/prof_attr Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,1 @@
+Desktop Configuration:::Configure graphical desktop software:auths=solaris.smf.manage.x11,solaris.smf.manage.font:help=RtDesktopConfiguration.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/x11-server Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,91 @@
+#!/bin/ksh
+#
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+
+USAGE="Usage: $0 [-d <display>] [-c <class>] <method> [-- <X server arguments>]"
+
+PATH=/usr/bin:/usr/sbin:/usr/openwin/bin:/usr/X11/bin
+
+#########
+#
+# Default values
+#
+# Users must not modify this script to change them - change via SMF properties
+#
+
+DISPLAY="0"
+CLASSES=""
+
+while getopts c:d: opt; do
+ case $opt in
+ c) if [ "$OPTARG" != "default" ] ; then
+ CLASSES="$CLASSES -c $OPTARG"
+ fi ;;
+ d) DISPLAY="$OPTARG";;
+ ?) echo $USAGE ; exit 2;;
+ esac
+done
+
+shift `expr $OPTIND - 1`
+
+METHOD=$1
+if [ $# -lt 1 ] ; then
+ echo $USAGE
+ exit 2
+fi
+shift
+
+case $METHOD in
+ start)
+ # Continue with rest of script
+ ;;
+ *)
+ echo "Invalid method $METHOD"
+ exit 2
+ ;;
+esac
+
+if [ "$1" = "--" ] ; then
+ shift
+else
+ if [ "$1" != "" ] ; then
+ echo $USAGE
+ exit 2
+ fi
+fi
+
+# If the X server is started with SIGUSR1 set to ignore, then it
+# sends SIGUSR1 to its parent process when it is ready to run
+Xserver_ready() {
+ exit 0
+}
+
+trap Xserver_ready USR1
+(trap '' USR1 ; exec /usr/X11/bin/Xserver $CLASSES :$DISPLAY $* &)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/smf-rbac/x11-server.xml.in Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,117 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<!--
+
+Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, and/or sell copies of the Software, and to permit persons
+to whom the Software is furnished to do so, provided that the above
+copyright notice(s) and this permission notice appear in all copies of
+the Software and that both the above copyright notice(s) and this
+permission notice appear in supporting documentation.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder
+shall not be used in advertising or otherwise to promote the sale, use
+or other dealings in this Software without prior written authorization
+of the copyright holder.
+
+-->
+
+<service_bundle type='manifest' name='SUNWxwplr:x11-server'>
+
+<service
+ name='application/x11/x11-server'
+ type='service'
+ version='1'>
+
+ <!-- Need / & /usr filesystems mounted, /var mounted read/write -->
+ <dependency
+ name='fs-local'
+ type='service'
+ grouping='require_all'
+ restart_on='none'>
+ <service_fmri value='svc:/system/filesystem/local' />
+ </dependency>
+
+ <dependency
+ name='network-service'
+ grouping='require_all'
+ restart_on='none'
+ type='service'>
+ <service_fmri value='svc:/network/service' />
+ </dependency>
+
+ <dependency
+ name='name-services'
+ grouping='require_all'
+ restart_on='refresh'
+ type='service'>
+ <service_fmri value='svc:/milestone/name-services' />
+ </dependency>
+
+ <exec_method
+ type='method'
+ name='start'
+ exec='/lib/svc/method/x11-server -d 0 -c %i %m'
+ timeout_seconds='0'>
+ </exec_method>
+
+ <exec_method
+ type='method'
+ name='stop'
+ exec=':kill -TERM'
+ timeout_seconds='10'>
+ </exec_method>
+
+ <property_group name='general' type='framework'>
+ <!-- manage server state -->
+ <propval name='action_authorization' type='astring'
+ value='solaris.smf.manage.x11' />
+ </property_group>
+
+ <property_group name='options' type='application'>
+ <stability value='Evolving' />
+ <propval name='server' type='astring'
+ value='@DEFAULT_XSERVER@' />
+ <propval name='server_args' type='astring'
+ value='' />
+ <propval name='default_depth' type='integer'
+ value='24' />
+ <propval name='tcp_listen' type='boolean'
+ value='true' />
+ <propval name='value_authorization' type='astring'
+ value='solaris.smf.manage.x11' />
+ </property_group>
+
+ <stability value='Evolving' />
+
+ <template>
+ <common_name>
+ <loctext xml:lang='C'>
+ X Window System server
+ </loctext>
+ </common_name>
+ <documentation>
+ <manpage title='Xserver' section='1' manpath='/usr/openwin/share/man' />
+ <manpage title='Xsun' section='1' manpath='/usr/openwin/share/man' />
+ <manpage title='Xorg' section='1' manpath='/usr/X11/share/man' />
+ </documentation>
+ </template>
+</service>
+
+</service_bundle>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/COPYING Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,29 @@
+The image files in this directory are covered by the following copyright
+notice & license:
+
+ Copyright 1993 Sun Microsystems, Inc. All rights reserved.
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, and/or sell copies of the Software, and to permit persons
+ to whom the Software is furnished to do so, provided that the above
+ copyright notice(s) and this permission notice appear in all copies of
+ the Software and that both the above copyright notice(s) and this
+ permission notice appear in supporting documentation.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+ OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+ HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+ INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+ FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+ Except as contained in this notice, the name of a copyright holder
+ shall not be used in advertising or otherwise to promote the sale, use
+ or other dealings in this Software without prior written authorization
+ of the copyright holder.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/Makefile Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,70 @@
+###############################################################################
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use subject to license terms.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+
+# No upstream sources for these files, since they're Solaris-specific
+SOURCE_TARBALL_NAME=NONE
+
+### Include common rulesets
+PWD:sh=pwd
+TOP=$(PWD)/../..
+include $(TOP)/common/Makefile.inc
+
+DESTDIR=$(PROTODIR)
+INSTDIR=$(DESTDIR)/$(OW_DIR)/share/etc/workspace/patterns/
+
+install_gen::
+ mkdir -p $(INSTDIR)
+ cp -p attributes $(INSTDIR)
+ cp -p background.xbm $(INSTDIR)
+ cp -p bricks.xbm $(INSTDIR)
+ cp -p burl.xbm $(INSTDIR)
+ cp -p corn.xbm $(INSTDIR)
+ cp -p dmndpla.xbm $(INSTDIR)
+ cp -p dolphin.xbm $(INSTDIR)
+ cp -p dotwave2.xbm $(INSTDIR)
+ cp -p dune.xbm $(INSTDIR)
+ cp -p flowers.xbm $(INSTDIR)
+ cp -p flyseye.xbm $(INSTDIR)
+ cp -p foreground.xbm $(INSTDIR)
+ cp -p fuji.xbm $(INSTDIR)
+ cp -p geiger2.xbm $(INSTDIR)
+ cp -p gray25.xbm $(INSTDIR)
+ cp -p gray50.xbm $(INSTDIR)
+ cp -p gray75.xbm $(INSTDIR)
+ cp -p miniweave.xbm $(INSTDIR)
+ cp -p sbump.xbm $(INSTDIR)
+ cp -p sizmk2.xbm $(INSTDIR)
+ cp -p southwest.xbm $(INSTDIR)
+ cp -p squares.xbm $(INSTDIR)
+ cp -p sunmulti.xbm $(INSTDIR)
+ cp -p swirl2.xbm $(INSTDIR)
+ cp -p wave1.xbm $(INSTDIR)
+ cp -p wrnkle2.xbm $(INSTDIR)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/attributes Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,94 @@
+! Copyright 1993 Sun Microsystems, Inc. All rights reserved.
+!
+! Permission is hereby granted, free of charge, to any person obtaining a
+! copy of this software and associated documentation files (the
+! "Software"), to deal in the Software without restriction, including
+! without limitation the rights to use, copy, modify, merge, publish,
+! distribute, and/or sell copies of the Software, and to permit persons
+! to whom the Software is furnished to do so, provided that the above
+! copyright notice(s) and this permission notice appear in all copies of
+! the Software and that both the above copyright notice(s) and this
+! permission notice appear in supporting documentation.
+!
+! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+! OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+! HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+! INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+! FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+! NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+! WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+!
+! Except as contained in this notice, the name of a copyright holder
+! shall not be used in advertising or otherwise to promote the sale, use
+! or other dealings in this Software without prior written authorization
+! of the copyright holder.
+!
+! Workspace Pattern Attributes
+!
+OpenWindows.background.xbm.Rank: 1
+OpenWindows.bricks.xbm.WorkspaceBitmapFg: #bfb498
+OpenWindows.bricks.xbm.WorkspaceBitmapBg: #999999
+OpenWindows.bricks.xbm.Rank: 18
+OpenWindows.burl.xbm.WorkspaceBitmapFg: #b2b2b2
+OpenWindows.burl.xbm.WorkspaceBitmapBg: #e5d8b7
+OpenWindows.burl.xbm.Rank: 10
+OpenWindows.corn.xbm.WorkspaceBitmapFg: #e5be5b
+OpenWindows.corn.xbm.WorkspaceBitmapBg: #e5d8b7
+OpenWindows.corn.xbm.Rank: 14
+OpenWindows.dmndpla.xbm.WorkspaceBitmapFg: #98a2bf
+OpenWindows.dmndpla.xbm.WorkspaceBitmapBg: #b7e5e5
+OpenWindows.dmndpla.xbm.Rank: 9
+OpenWindows.dolphin.xbm.WorkspaceBitmapFg: #b7c2e5
+OpenWindows.dolphin.xbm.WorkspaceBitmapBg: #b7e5e5
+OpenWindows.dolphin.xbm.Rank: 7
+OpenWindows.dotwave2.xbm.WorkspaceBitmapFg: #ffffff
+OpenWindows.dotwave2.xbm.WorkspaceBitmapBg: #b7c2e5
+OpenWindows.dotwave2.xbm.Rank: 11
+OpenWindows.dune.xbm.WorkspaceBitmapFg: #bdbf98
+OpenWindows.dune.xbm.WorkspaceBitmapBg: #e5d8b7
+OpenWindows.dune.xbm.Rank: 6
+OpenWindows.flowers.xbm.WorkspaceBitmapFg: #e5b7da
+OpenWindows.flowers.xbm.WorkspaceBitmapBg: #bf9898
+OpenWindows.flowers.xbm.Rank: 13
+OpenWindows.flyseye.xbm.WorkspaceBitmapFg: #b7e5c2
+OpenWindows.flyseye.xbm.WorkspaceBitmapBg: #98bfa2
+OpenWindows.flyseye.xbm.Rank: 12
+OpenWindows.foreground.xbm.Rank: 2
+OpenWindows.fuji.xbm.WorkspaceBitmapFg: #b7c2e5
+OpenWindows.fuji.xbm.WorkspaceBitmapBg: #98a2bf
+OpenWindows.fuji.xbm.Rank: 15
+OpenWindows.geiger2.xbm.WorkspaceBitmapFg: #bf7272
+OpenWindows.geiger2.xbm.WorkspaceBitmapBg: #e5b7da
+OpenWindows.geiger2.xbm.Rank: 25
+OpenWindows.gray25.xbm.Rank: 3
+OpenWindows.gray50.xbm.Rank: 4
+OpenWindows.gray75.xbm.Rank: 5
+OpenWindows.miniweave.xbm.WorkspaceBitmapFg: #e0e589
+OpenWindows.miniweave.xbm.WorkspaceBitmapBg: #b2b2b2
+OpenWindows.miniweave.xbm.Rank: 16
+OpenWindows.sbump.xbm.WorkspaceBitmapFg: #999999
+OpenWindows.sbump.xbm.WorkspaceBitmapBg: #cccccc
+OpenWindows.sbump.xbm.Rank: 22
+OpenWindows.sizmk2.xbm.WorkspaceBitmapFg: #b7e5c2
+OpenWindows.sizmk2.xbm.WorkspaceBitmapBg: #98bfbf
+OpenWindows.sizmk2.xbm.Rank: 19
+OpenWindows.southwest.xbm.WorkspaceBitmapFg: #bf9898
+OpenWindows.southwest.xbm.WorkspaceBitmapBg: #e5d8b7
+OpenWindows.southwest.xbm.Rank: 20
+OpenWindows.squares.xbm.WorkspaceBitmapFg: #e5b7b7
+OpenWindows.squares.xbm.WorkspaceBitmapBg: #e5d8b7
+OpenWindows.squares.xbm.Rank: 24
+OpenWindows.sunmulti.xbm.WorkspaceBitmapFg: #b7c2e5
+OpenWindows.sunmulti.xbm.WorkspaceBitmapBg: #98a2bf
+OpenWindows.sunmulti.xbm.Rank: 23
+OpenWindows.swirl2.xbm.WorkspaceBitmapFg: #e5b7b7
+OpenWindows.swirl2.xbm.WorkspaceBitmapBg: #b298bf
+OpenWindows.swirl2.xbm.Rank: 8
+OpenWindows.wave1.xbm.WorkspaceBitmapFg: #bf98b6
+OpenWindows.wave1.xbm.WorkspaceBitmapBg: #98a2bf
+OpenWindows.wave1.xbm.Rank: 17
+OpenWindows.wrnkle2.xbm.WorkspaceBitmapFg: #89e5a0
+OpenWindows.wrnkle2.xbm.WorkspaceBitmapBg: #b7c2e5
+OpenWindows.wrnkle2.xbm.Rank: 21
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/background.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define background.xbm_width 32
+#define background.xbm_height 32
+static unsigned char background.xbm_bits[] = {
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/bricks.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define brick_tile_width 32
+#define brick_tile_height 32
+static char brick_tile_bits[] = {
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0xfe, 0xff,
+ 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff,
+ 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff,
+ 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff,
+ 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff,
+ 0xff, 0x7f, 0xfe, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f,
+ 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f,
+ 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f,
+ 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f,
+ 0xfe, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x7f};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/burl.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,12 @@
+#define burl_width 32
+#define burl_height 32
+static char burl_bits[] = {
+ 0x05,0x10,0x05,0x34,0x45,0xa0,0x20,0xea,0x12,0x00,0x00,0xc6,0x49,0x00,0x80,
+ 0x14,0x02,0x00,0x00,0xc0,0x10,0xa8,0x00,0x41,0x08,0x45,0x05,0x28,0xa3,0x00,
+ 0x20,0x00,0x10,0x00,0x40,0x01,0x04,0xe0,0x02,0x0a,0x01,0xda,0x0b,0xa0,0x00,
+ 0x97,0x36,0x00,0xc0,0x40,0xc8,0x00,0x2c,0xb8,0x15,0x03,0x91,0x54,0x09,0xa8,
+ 0x04,0x29,0x12,0x00,0x00,0x14,0xc9,0x01,0xd0,0x14,0x6c,0x2f,0xa5,0x2b,0x35,
+ 0x5a,0x00,0x51,0x57,0x00,0x10,0xe2,0x23,0x02,0x00,0x01,0x50,0x04,0xa0,0x00,
+ 0xe0,0x02,0x05,0xa0,0x40,0x41,0x10,0x04,0x0a,0x20,0x40,0xb1,0x20,0x09,0x00,
+ 0xd8,0x02,0x00,0x00,0x2a,0x04,0x00,0x04,0x04,0x01,0x00,0x1a,0x12,0x06,0x50,
+ 0x35,0x04,0x10,0x0a,0x30,0x08,0x80,0x70};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/corn.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,12 @@
+#define corn_width 32
+#define corn_height 32
+static char corn_bits[] = {
+ 0x70,0x00,0x00,0x0e,0x30,0x00,0x00,0x06,0x11,0x40,0x40,0x02,0x93,0x50,0xe1,
+ 0x12,0xd6,0xe1,0x80,0x3b,0xfc,0x4b,0x02,0x5f,0x7c,0x52,0x01,0x8e,0x38,0xe0,
+ 0x00,0x06,0x10,0x40,0x20,0x02,0x10,0x48,0x60,0x12,0x10,0x5c,0xc2,0x3a,0x00,
+ 0x70,0x87,0x7f,0x00,0xe0,0x8d,0x4f,0x00,0xc0,0x01,0x87,0x00,0xc0,0x00,0x02,
+ 0x10,0x48,0x00,0x02,0x54,0x5c,0x02,0x02,0x38,0x70,0x07,0x00,0x92,0xe0,0x0b,
+ 0x00,0x54,0xc0,0x01,0x00,0x38,0xc0,0x00,0x00,0x10,0x44,0x00,0x02,0x12,0x4c,
+ 0x82,0x0a,0x97,0x58,0x07,0x07,0xdc,0xf1,0x4f,0x12,0x78,0xf3,0x89,0x0a,0x70,
+ 0xe0,0x00,0x07,0x30,0x40,0x00,0x02,0x12,0x40,0x40,0x02,0x97,0x40,0xe0,0x12,
+ 0xdc,0x01,0x80,0x3b,0xf8,0x02,0x00,0x6f};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/dmndpla.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,6 @@
+#define dmndpla_width 16
+#define dmndpla_height 16
+static char dmndpla_bits[] = {
+ 0xc2,0xc2,0x6d,0x6d,0xba,0xba,0x56,0x56,0x2c,0x2c,0xd6,0xd6,0xab,0xab,0x65,
+ 0x65,0xc2,0xc2,0x6d,0x6d,0xba,0xba,0x56,0x56,0x2c,0x2c,0xd6,0xd6,0xab,0xab,
+ 0x65,0x65};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/dolphin.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define dolphin.xbm_width 32
+#define dolphin.xbm_height 32
+static char dolphin.xbm_bits[] = {
+ 0xaa, 0x7a, 0xaa, 0xab, 0x55, 0x3d, 0x55, 0x55, 0xaa, 0x9e, 0xaa, 0xaa,
+ 0x55, 0x5d, 0x55, 0x55, 0xaa, 0x9e, 0xaa, 0xaa, 0x55, 0x5d, 0x55, 0x55,
+ 0xaa, 0x9a, 0xaa, 0xaa, 0x55, 0x55, 0x55, 0x55, 0xaa, 0xaa, 0xaa, 0xba,
+ 0x55, 0x55, 0x55, 0x5f, 0xba, 0xaa, 0xea, 0xaf, 0x75, 0x55, 0xf5, 0x7f,
+ 0xff, 0xab, 0x0a, 0xfc, 0xff, 0x5f, 0x55, 0xf9, 0xff, 0xff, 0xaa, 0xf2,
+ 0xff, 0xff, 0x55, 0xe5, 0xff, 0xff, 0xab, 0x8a, 0xfc, 0xff, 0x57, 0x55,
+ 0x80, 0x03, 0xa8, 0xaa, 0xd5, 0x53, 0x55, 0x55, 0xaa, 0xa9, 0xaa, 0xaa,
+ 0xd5, 0x55, 0x75, 0x55, 0xaa, 0xaa, 0xea, 0xaa, 0x55, 0x55, 0xf5, 0x57,
+ 0xaa, 0xaa, 0xfa, 0xbf, 0x55, 0x55, 0xfd, 0xff, 0xab, 0xaa, 0xfe, 0xff,
+ 0x57, 0x55, 0xff, 0xff, 0xaf, 0xaa, 0xff, 0xff, 0x40, 0xd5, 0x1f, 0x07,
+ 0xaa, 0xea, 0xab, 0xaf, 0x55, 0xf5, 0x54, 0x53};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/dotwave2.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define dotwave2.xbm_width 32
+#define dotwave2.xbm_height 32
+static char dotwave2.xbm_bits[] = {
+ 0x02, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0x04, 0x00,
+ 0x00, 0x01, 0x40, 0x00, 0x10, 0x00, 0x00, 0x04, 0x02, 0x00, 0x00, 0x40,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0x04, 0x00, 0x00, 0x01, 0x40, 0x00,
+ 0x10, 0x00, 0x00, 0x04, 0x02, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x90, 0x04, 0x00, 0x00, 0x01, 0x40, 0x00, 0x10, 0x00, 0x00, 0x04,
+ 0x02, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0x04, 0x00,
+ 0x00, 0x01, 0x40, 0x00, 0x10, 0x00, 0x00, 0x04};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/dune.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,12 @@
+#define dune_width 32
+#define dune_height 32
+static char dune_bits[] = {
+ 0x5c,0x95,0x4a,0xa5,0x25,0x65,0xad,0x50,0x2a,0x50,0x0a,0x80,0x05,0x00,0x00,
+ 0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0xa8,0x55,0x00,0xa0,0x5a,0xaa,0xa5,0xad,
+ 0xad,0x52,0x2a,0x56,0x2a,0x69,0x95,0x10,0x40,0x14,0x00,0x00,0x00,0x00,0x00,
+ 0x80,0x06,0x00,0x50,0x5d,0x3a,0x00,0x25,0xa5,0xad,0x52,0xa8,0x56,0xaa,0x69,
+ 0x00,0x80,0xd4,0x16,0x00,0x00,0x00,0x49,0x40,0x01,0x00,0x00,0x98,0x56,0x00,
+ 0x00,0x65,0x2d,0xad,0x53,0x2a,0x56,0x2a,0x28,0x95,0x70,0x49,0x00,0x00,0x94,
+ 0x02,0x00,0x00,0x00,0x00,0x50,0x0a,0x00,0x00,0x25,0x25,0x25,0xad,0x52,0x28,
+ 0xd6,0x2a,0x29,0x01,0x50,0x02,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,
+ 0x28,0x05,0x50,0xd2,0xa6,0x49,0x85,0x04};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/flowers.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define flower_tile_width 32
+#define flower_tile_height 32
+static char flower_tile_bits[] = {
+ 0x00, 0x60, 0x00, 0x60, 0x05, 0x00, 0x05, 0x00, 0x01, 0x40, 0x01, 0x40,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x80, 0x00,
+ 0x80, 0x00, 0x80, 0x00, 0x00, 0x06, 0x00, 0x06, 0x60, 0x00, 0x60, 0x00,
+ 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x02, 0x80, 0x02, 0x80, 0x00, 0xa0, 0x00, 0xa0,
+ 0x06, 0x00, 0x06, 0x00, 0x00, 0x60, 0x00, 0x60, 0x05, 0x00, 0x05, 0x00,
+ 0x01, 0x40, 0x01, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x00, 0x06, 0x00, 0x06,
+ 0x60, 0x00, 0x60, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x80, 0x02, 0x80,
+ 0x00, 0xa0, 0x00, 0xa0, 0x06, 0x00, 0x06, 0x00};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/flyseye.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,6 @@
+#define flyseye_width 16
+#define flyseye_height 16
+static char flyseye_bits[] = {
+ 0xe0,0x1b,0x70,0x28,0xb8,0x08,0x58,0x10,0x1b,0xe0,0x28,0x70,0x08,0xb8,0x10,
+ 0x58,0xe0,0x1b,0x70,0x28,0xb8,0x08,0x58,0x10,0x1b,0xe0,0x28,0x70,0x08,0xb8,
+ 0x10,0x58};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/foreground.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define foreground.xbm_width 32
+#define foreground.xbm_height 32
+static unsigned char foreground.xbm_bits[] = {
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/fuji.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,12 @@
+#define fuji_width 32
+#define fuji_height 32
+static char fuji_bits[] = {
+ 0x00,0xe8,0x2f,0x00,0x00,0xfc,0x7f,0x00,0x00,0xff,0xfe,0x01,0xc0,0x57,0xd5,
+ 0x07,0x70,0x0d,0x60,0x1d,0x98,0x00,0x00,0x32,0x02,0x00,0x00,0x80,0x00,0x00,
+ 0x00,0x00,0x2f,0x00,0x00,0xe8,0x7f,0x00,0x00,0xfc,0xfe,0x01,0x00,0xff,0xd5,
+ 0x07,0xc0,0x57,0x60,0x1d,0x70,0x0d,0x00,0x32,0x98,0x00,0x00,0x80,0x02,0x00,
+ 0x00,0x00,0x00,0x00,0x00,0xe8,0x2f,0x00,0x00,0xfc,0x7f,0x00,0x00,0xff,0xfe,
+ 0x01,0xc0,0x57,0xd5,0x07,0x70,0x0d,0x60,0x1d,0x98,0x00,0x00,0x32,0x02,0x00,
+ 0x00,0x80,0x00,0x00,0x00,0x00,0x2f,0x00,0x00,0xe8,0x7f,0x00,0x00,0xfc,0xfe,
+ 0x01,0x00,0xff,0xd5,0x07,0xc0,0x57,0x60,0x1d,0x70,0x0d,0x00,0x32,0x98,0x00,
+ 0x00,0x80,0x02,0x00,0x00,0x00,0x00,0x00};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/geiger2.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,12 @@
+#define geiger2_width 32
+#define geiger2_height 32
+static char geiger2_bits[] = {
+ 0x55,0x92,0x92,0x25,0x00,0x00,0x28,0x00,0x00,0x00,0x90,0x00,0xb5,0xa0,0x42,
+ 0x54,0x00,0x0a,0x04,0xa8,0x28,0x00,0x48,0x52,0x9c,0xd0,0x2a,0xb5,0x01,0x2a,
+ 0xc0,0x7a,0x6a,0x05,0x22,0xe8,0x54,0x40,0x45,0x85,0x00,0xa0,0x66,0x2a,0x00,
+ 0x74,0x21,0x07,0xab,0xaa,0x8c,0xa1,0x35,0x45,0xa2,0x5a,0x80,0x28,0x09,0x08,
+ 0x10,0x90,0x14,0x06,0x24,0x4a,0x0a,0xe9,0x8b,0x02,0x85,0x54,0x35,0x29,0x52,
+ 0x12,0x88,0x42,0x28,0x05,0x40,0xad,0x05,0x00,0xa5,0xd6,0xde,0xae,0x10,0x29,
+ 0x35,0x35,0x05,0x00,0x00,0xa8,0x00,0x00,0x00,0x00,0xa8,0xaa,0x02,0x00,0x55,
+ 0x55,0x95,0x45,0x22,0x00,0x6a,0xaa,0x00,0x00,0x80,0x05,0xaa,0x5a,0x00,0x00,
+ 0x7f,0xa5,0x46,0x69,0xaa,0x49,0xa9,0x96};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/gray25.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,4 @@
+#define gray25_width 8
+#define gray25_height 8
+static unsigned char gray25_bits[] = {
+ 0x88, 0x44, 0x11, 0x22, 0x88, 0x44, 0x11, 0x22};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/gray50.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,4 @@
+#define gray50_width 4
+#define gray50_height 4
+static unsigned char gray50_bits[] = {
+ 0x05, 0x0a, 0x05, 0x0a};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/gray75.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,4 @@
+#define gray75_width 8
+#define gray75_height 8
+static unsigned char gray75_bits[] = {
+ 0x77, 0xbb, 0xee, 0xdd, 0x77, 0xbb, 0xee, 0xdd};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/miniweave.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define miniweave_tile_width 32
+#define miniweave_tile_height 32
+static char miniweave_tile_bits[] = {
+ 0x39, 0x39, 0x39, 0x39, 0x70, 0x70, 0x70, 0x70, 0xe0, 0xe0, 0xe0, 0xe0,
+ 0xc9, 0xc9, 0xc9, 0xc9, 0x9c, 0x9c, 0x9c, 0x9c, 0x0e, 0x0e, 0x0e, 0x0e,
+ 0x07, 0x07, 0x07, 0x07, 0x93, 0x93, 0x93, 0x93, 0x39, 0x39, 0x39, 0x39,
+ 0x70, 0x70, 0x70, 0x70, 0xe0, 0xe0, 0xe0, 0xe0, 0xc9, 0xc9, 0xc9, 0xc9,
+ 0x9c, 0x9c, 0x9c, 0x9c, 0x0e, 0x0e, 0x0e, 0x0e, 0x07, 0x07, 0x07, 0x07,
+ 0x93, 0x93, 0x93, 0x93, 0x39, 0x39, 0x39, 0x39, 0x70, 0x70, 0x70, 0x70,
+ 0xe0, 0xe0, 0xe0, 0xe0, 0xc9, 0xc9, 0xc9, 0xc9, 0x9c, 0x9c, 0x9c, 0x9c,
+ 0x0e, 0x0e, 0x0e, 0x0e, 0x07, 0x07, 0x07, 0x07, 0x93, 0x93, 0x93, 0x93,
+ 0x39, 0x39, 0x39, 0x39, 0x70, 0x70, 0x70, 0x70, 0xe0, 0xe0, 0xe0, 0xe0,
+ 0xc9, 0xc9, 0xc9, 0xc9, 0x9c, 0x9c, 0x9c, 0x9c, 0x0e, 0x0e, 0x0e, 0x0e,
+ 0x07, 0x07, 0x07, 0x07, 0x93, 0x93, 0x93, 0x13};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/sbump.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,6 @@
+#define sbump_width 16
+#define sbump_height 16
+static char sbump_bits[] = {
+ 0xaa,0xaa,0x5d,0x55,0xae,0xaa,0x57,0xd5,0xaa,0xaa,0x15,0x55,0x8a,0xaa,0x55,
+ 0x5d,0xaa,0xaa,0x55,0x5d,0xaa,0xae,0xd5,0x57,0xaa,0xaa,0x55,0x15,0xaa,0x8a,
+ 0x5d,0x55};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/sizmk2.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define sizmk2.xbm_width 32
+#define sizmk2.xbm_height 32
+static char sizmk2.xbm_bits[] = {
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x50,
+ 0x4a, 0x40, 0x00, 0xa4, 0x05, 0x00, 0xa4, 0x4a, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0xa0, 0x00, 0x12, 0x00, 0x48, 0x95, 0x80, 0x48, 0x95, 0x0a, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/southwest.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,12 @@
+#define sexist_width 32
+#define sexist_height 32
+static char sexist_bits[] = {
+ 0x55,0xd5,0x3c,0x53,0xaa,0x6a,0x9a,0xa9,0x55,0x35,0xcd,0x54,0xaa,0x9a,0xa6,
+ 0xaa,0x55,0x4d,0x53,0x55,0xaa,0xa2,0xa9,0xaa,0x55,0xd5,0x54,0x55,0xaa,0x6a,
+ 0xaa,0xaa,0x55,0x15,0x55,0x55,0xaa,0xaa,0xaa,0xaa,0x55,0x55,0x55,0x55,0xaa,
+ 0xaa,0xaa,0xaa,0x55,0x55,0x55,0x55,0xaa,0xaa,0xaa,0xaa,0x55,0x55,0x55,0x55,
+ 0xaa,0xaa,0xaa,0xaa,0x55,0x55,0x55,0x55,0xaa,0xaa,0xaa,0xaa,0x55,0x55,0x55,
+ 0x55,0xaa,0xaa,0xaa,0xaa,0x55,0x55,0x55,0x55,0xaa,0xaa,0xaa,0xaa,0x55,0x55,
+ 0x75,0x5d,0xaa,0xaa,0xfa,0xae,0x55,0x55,0xcd,0x45,0xaa,0xaa,0xe6,0xa3,0x55,
+ 0x55,0xf3,0x57,0xaa,0xaa,0xf9,0xaf,0x55,0x55,0xf4,0x5f,0xaa,0xaa,0xee,0x99,
+ 0x55,0x55,0xdf,0x4c,0xaa,0xaa,0x3f,0xa6};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/squares.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define block_tile_width 32
+#define block_tile_height 32
+static char block_tile_bits[] = {
+ 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, 0x7e, 0x20, 0x07, 0x00, 0x42, 0xe0,
+ 0x00, 0x00, 0x42, 0x00, 0x00, 0x00, 0x42, 0x00, 0xe0, 0x07, 0x42, 0x00,
+ 0x20, 0x04, 0x7e, 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, 0x00,
+ 0x20, 0x04, 0x00, 0x7e, 0xe0, 0x07, 0x00, 0x42, 0x00, 0x00, 0x00, 0x42,
+ 0x00, 0x00, 0x00, 0x42, 0x00, 0xe0, 0x07, 0x42, 0x00, 0x20, 0x04, 0x7e,
+ 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, 0x7e, 0x20, 0x04, 0x00,
+ 0x42, 0xe0, 0x07, 0x00, 0x42, 0x00, 0x00, 0x00, 0x42, 0x00, 0x00, 0x00,
+ 0x42, 0x00, 0xe0, 0x07, 0x7e, 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04,
+ 0x00, 0x00, 0x20, 0x04, 0x00, 0x7e, 0x20, 0x04, 0x00, 0x42, 0xe0, 0x07,
+ 0x00, 0x42, 0x00, 0x00, 0x00, 0x42, 0x00, 0x00, 0x07, 0x42, 0x00, 0xe0,
+ 0x04, 0x7e, 0x00, 0x20, 0x04, 0x00, 0x00, 0x20};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/sunmulti.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,12 @@
+#define sunmulti_width 32
+#define sunmulti_height 32
+static char sunmulti_bits[] = {
+ 0x7c,0x77,0x7c,0x77,0xbb,0xbb,0xbb,0xbb,0xc7,0xdd,0xc7,0xdd,0xee,0xce,0xee,
+ 0xce,0x5d,0xd7,0x5d,0xd7,0xbb,0xbb,0xbb,0xbb,0x77,0x75,0x77,0x75,0xee,0xee,
+ 0xee,0xee,0x5d,0xdd,0x5d,0xdd,0xbb,0xbb,0xbb,0xbb,0xd7,0x75,0xd7,0x75,0xe6,
+ 0xee,0xe6,0xee,0x77,0xc7,0x77,0xc7,0xbb,0xbb,0xbb,0xbb,0xdc,0x7d,0xdc,0x7d,
+ 0xec,0x6e,0xec,0x6e,0x7c,0x77,0x7c,0x77,0xbb,0xbb,0xbb,0xbb,0xc7,0xdd,0xc7,
+ 0xdd,0xee,0xce,0xee,0xce,0x5d,0xd7,0x5d,0xd7,0xbb,0xbb,0xbb,0xbb,0x77,0x75,
+ 0x77,0x75,0xee,0xee,0xee,0xee,0x5d,0xdd,0x5d,0xdd,0xbb,0xbb,0xbb,0xbb,0xd7,
+ 0x75,0xd7,0x75,0xe6,0xee,0xe6,0xee,0x77,0xc7,0x77,0xc7,0xbb,0xbb,0xbb,0xbb,
+ 0xdc,0x7d,0xdc,0x7d,0xec,0x6e,0xec,0x6e};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/swirl2.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define swirl2.xbm_width 32
+#define swirl2.xbm_height 32
+static char swirl2.xbm_bits[] = {
+ 0x00, 0x00, 0xc2, 0x81, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x04, 0x04,
+ 0x00, 0xea, 0x00, 0x0c, 0x80, 0x57, 0x07, 0x0e, 0xe0, 0x01, 0xfe, 0x0f,
+ 0x79, 0x00, 0xf8, 0x87, 0x3f, 0xf8, 0x50, 0xc1, 0x1c, 0xfe, 0x03, 0x40,
+ 0x00, 0xff, 0x05, 0x20, 0xa0, 0xab, 0x16, 0x08, 0xd4, 0x80, 0x5a, 0x01,
+ 0x3b, 0x00, 0x04, 0xc0, 0x1d, 0x1e, 0x00, 0xf0, 0x02, 0x7f, 0x00, 0xc8,
+ 0x81, 0xf5, 0x02, 0x02, 0xc0, 0x80, 0x55, 0x00, 0x21, 0x1e, 0x00, 0x80,
+ 0x94, 0x7f, 0x03, 0x20, 0xe0, 0xff, 0x5d, 0x4b, 0xf1, 0x83, 0xab, 0xaa,
+ 0xfe, 0x00, 0x00, 0x00, 0x7c, 0x5a, 0x88, 0xed, 0x00, 0x7f, 0xf0, 0xf6,
+ 0x80, 0xfe, 0x3c, 0x80, 0x51, 0x5d, 0x0c, 0x0b, 0xbf, 0x68, 0x86, 0x1f,
+ 0x06, 0x1c, 0xe7, 0x3f, 0x00, 0x08, 0xe5, 0x70, 0xf0, 0x19, 0xe3, 0x70,
+ 0x7d, 0x33, 0xc6, 0xc0, 0x0f, 0x44, 0x9e, 0x81};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/wave1.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define wave1.xbm_width 32
+#define wave1.xbm_height 32
+static char wave1.xbm_bits[] = {
+ 0x3c, 0x00, 0xfb, 0x06, 0x0e, 0x00, 0x50, 0x81, 0x03, 0x3e, 0x00, 0xc0,
+ 0x80, 0xff, 0x00, 0x60, 0xe0, 0xaa, 0x07, 0x18, 0x18, 0x00, 0xfe, 0x0f,
+ 0x06, 0x00, 0xf8, 0x07, 0x01, 0xfe, 0x50, 0x81, 0x80, 0xff, 0x03, 0x40,
+ 0xe0, 0xff, 0x05, 0x20, 0xf0, 0xab, 0x17, 0x08, 0xf8, 0x80, 0x5a, 0x03,
+ 0x3c, 0x00, 0xb4, 0x00, 0x1e, 0x1e, 0x00, 0x00, 0x86, 0x7f, 0x00, 0x00,
+ 0xc1, 0xf5, 0x00, 0x00, 0x60, 0x80, 0x01, 0x80, 0x30, 0x00, 0x06, 0x20,
+ 0x08, 0x00, 0x58, 0x09, 0x07, 0x1a, 0xb0, 0x06, 0x81, 0x7f, 0x40, 0x81,
+ 0xe0, 0xea, 0x01, 0x40, 0x18, 0x00, 0x05, 0x10, 0x06, 0x00, 0x58, 0x0d,
+ 0x81, 0x0f, 0xe0, 0x83, 0xe0, 0x3f, 0x00, 0x20, 0x70, 0xc1, 0x00, 0x08,
+ 0x18, 0x00, 0xaf, 0x06, 0x04, 0x00, 0xfc, 0x01, 0x82, 0x1f, 0x00, 0x00,
+ 0xe1, 0x7f, 0x00, 0x80, 0xf0, 0xc9, 0x00, 0x20};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/data/workspace-patterns/wrnkle2.xbm Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,14 @@
+#define wrnkle2.xbm_width 32
+#define wrnkle2.xbm_height 32
+static char wrnkle2.xbm_bits[] = {
+ 0x00, 0x54, 0x05, 0x00, 0x00, 0x80, 0x12, 0x00, 0x00, 0x00, 0x40, 0x01,
+ 0xa0, 0x10, 0x80, 0x54, 0x08, 0x44, 0x02, 0xa8, 0x25, 0x09, 0x00, 0x40,
+ 0x4a, 0x00, 0x00, 0x80, 0x05, 0x00, 0xb5, 0x02, 0x00, 0x20, 0x0a, 0x08,
+ 0x00, 0x94, 0x00, 0x40, 0x80, 0x2a, 0x00, 0x00, 0x20, 0x05, 0x00, 0x00,
+ 0x50, 0x00, 0x00, 0x00, 0x2a, 0x00, 0xa4, 0x52, 0x05, 0x40, 0x29, 0x80,
+ 0x00, 0xa8, 0x06, 0x00, 0x00, 0x55, 0x01, 0x00, 0xa0, 0x2a, 0x00, 0x2a,
+ 0x2a, 0x04, 0x40, 0x55, 0x55, 0x01, 0xa8, 0xaa, 0x00, 0x80, 0x54, 0x15,
+ 0x00, 0x00, 0x00, 0x00, 0xa4, 0x12, 0x00, 0x00, 0x00, 0x48, 0x01, 0x00,
+ 0x00, 0xa0, 0xaa, 0xaa, 0x2a, 0x00, 0x50, 0x55, 0x55, 0x15, 0x00, 0x00,
+ 0x00, 0xaa, 0x02, 0x00, 0x01, 0x40, 0x55, 0x55, 0x0d, 0x00, 0xa8, 0xaa,
+ 0xa2, 0x10, 0x40, 0x11, 0x00, 0xaa, 0x02, 0x00};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/SUNWxwplr/Makefile Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,42 @@
+#
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+
+SOURCEDIR = ..
+TMPLFILES += preinstall
+DATAFILES +=
+
+.KEEP_STATE:
+
+all \
+install: $(TMPLFILES) $(DATAFILES)
+
+preinstall: preinstall.tmpl $(SOURCEDIR)/awk_procedure
+ $(RM) $@
+ SOURCEDIR=${SOURCEDIR} \
+ nawk -f $(SOURCEDIR)/awk_procedure [email protected] >$@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/SUNWxwplr/depend Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,61 @@
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+#
+# @(#)depend 1.2 07/09/04
+#
+
+# This package information file defines software dependencies associated
+# with the pkg. You can define three types of pkg dependencies with this file:
+# P indicates a prerequisite for installation
+# I indicates an incompatible package
+# R indicates a reverse dependency
+# <pkg.abbr> see pkginfo(4), PKG parameter
+# <name> see pkginfo(4), NAME parameter
+# <version> see pkginfo(4), VERSION parameter
+# <arch> see pkginfo(4), ARCH parameter
+# <type> <pkg.abbr> <name>
+# (<arch>)<version>
+# (<arch>)<version>
+# ...
+# <type> <pkg.abbr> <name>
+# ...
+#
+
+# Required system dependencies
+P SUNWcar Core Architecture, (Root)
+P SUNWcakr Core Solaris Kernel Architecture (Root)
+P SUNWkvm Core Architecture, (Kvm)
+P SUNWcsr Core Solaris, (Root)
+P SUNWckr Core Solaris Kernel (Root)
+P SUNWcnetr Core Solaris Network Infrastructure (Root)
+P SUNWcsu Core Solaris, (Usr)
+P SUNWcsd Core Solaris Devices
+P SUNWcsl Core Solaris Libraries
+
+# Other packages this package has dependencies
+# upon at install-time or run-time.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/SUNWxwplr/pkginfo.tmpl Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,49 @@
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# @(#)pkginfo.tmpl 1.4 07/09/04
+#
+# This required package information file describes characteristics of the
+# package, such as package abbreviation, full package name, package version,
+# and package architecture.
+#
+PKG=SUNWxwplr
+NAME="X Window System platform software configuration"
+ARCH="ISA"
+VERSION=6.4.2.0,REV=0.2000.02.02
+SUNW_PRODNAME="Solaris X11"
+SUNW_PRODVERS="RELEASE/VERSION"
+SUNW_PKGVERS=1.0
+SUNW_PKGTYPE=root
+MAXINST=1000
+CATEGORY=system
+DESC="X Window System platform software configuration"
+VENDOR=Sun Microsystems, Inc.
+HOTLINE=Please contact your local service provider
+EMAIL=
+CLASSES="none manifest rbac"
+BASEDIR=/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/SUNWxwplr/preinstall.tmpl Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,38 @@
+#!/bin/sh
+#
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# ident "@(#)preinstall.tmpl 1.2 07/09/04 SMI"
+#
+
+include smf_remove
+
+# Remove inetconv generated manifest for font server
+# (Needed for upgrades from Solaris 10 Betas to Solaris 10 release)
+
+smf_delete_manifest /var/svc/manifest/network/fs-tcp6.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/SUNWxwplr/prototype_com Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,66 @@
+# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# ident "@(#)prototype_com 1.5 07/09/04 SMI"
+#
+# This required package information file contains a list of package contents.
+# The 'pkgmk' command uses this file to identify the contents of a package
+# and their location on the development machine when building the package.
+# Can be created via a text editor or through use of the 'pkgproto' command.
+
+#!search
+#!default 0711 root bin
+
+# packaging files
+i pkginfo
+i copyright
+i depend
+i preinstall
+
+#
+# source locations relative to the prototype file
+#
+# SUNWxwplr
+#
+d none etc 755 root sys
+d none etc/security 755 root sys
+!search ../etc/security
+e rbac etc/security/auth_attr 0644 root sys
+e rbac etc/security/prof_attr 0644 root sys
+d none lib 755 root bin
+d none lib/svc 755 root bin
+d none lib/svc/method 755 root bin
+!search ../lib/svc/method
+f none lib/svc/method/x11-server 755 root bin
+d none var 755 root sys
+d none var/svc 755 root sys
+d none var/svc/manifest 755 root sys
+d none var/svc/manifest/application 755 root sys
+d none var/svc/manifest/application/x11 755 root sys
+!search ../var/svc/manifest/application/x11
+f manifest var/svc/manifest/application/x11/x11-server.xml 0444 root sys
+f manifest var/svc/manifest/application/x11/xfs.xml 0444 root sys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/SUNWxwplr/prototype_i386 Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,48 @@
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# ident "@(#)prototype_i386 1.3 07/09/04 SMI"
+#
+#
+# Include ISA independent files (prototype_com)
+#
+!include prototype_com
+
+!search ../etc/security
+e rbac etc/security/exec_attr 0644 root sys
+
+!search ../lib/opengl/ogl_select
+d none lib/opengl 0755 root bin
+d none lib/opengl/ogl_select 0755 root bin
+f none lib/opengl/ogl_select/mesa_vendor_select 0755 root bin
+f none lib/opengl/ogl_select/nvidia_vendor_select 0755 root bin
+
+!search ../lib/svc/method
+f none lib/svc/method/ogl-select 755 root bin
+!search ../var/svc/manifest/application/opengl
+d none var/svc/manifest/application/opengl 755 root sys
+f manifest var/svc/manifest/application/opengl/ogl-select.xml 0444 root sys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/common_files/proc.smf_remove Tue Sep 04 16:05:23 2007 -0700
@@ -0,0 +1,49 @@
+#
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# ident "@(#)proc.smf_remove 1.3 07/09/04 SMI"
+#
+
+# proc.smf_remove -- common code for smf upgrade conditions
+#
+
+# Delete a previous manifest for this service and remove its services
+smf_delete_manifest() {
+ manifest=$1
+
+ [ -f $BASEDIR/$manifest ] || return 0;
+
+ cat >> $BASEDIR/var/svc/profile/upgrade <<-EOF
+
+ ENTITIES=\`svccfg inventory $manifest\`
+ for fmri in \$ENTITIES; do
+ svccfg delete \$fmri
+ done
+ rm $manifest
+ EOF
+}