summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS0
-rw-r--r--COPYING0
-rw-r--r--ChangeLog0
-rw-r--r--INSTALL0
-rw-r--r--Makefile.am94
-rw-r--r--NEWS0
-rw-r--r--README90
-rwxr-xr-xautogen.sh13
-rw-r--r--configure.ac66
9 files changed, 263 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/AUTHORS
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/COPYING
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ChangeLog
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/INSTALL
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..4f5409f
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,94 @@
+#
+# Copyright 2005 Red Hat, Inc.
+#
+# Permission to use, copy, modify, distribute, and sell this software and its
+# documentation for any purpose is hereby granted without fee, provided that
+# the above copyright notice appear in all copies and that both that
+# copyright notice and this permission notice appear in supporting
+# documentation, and that the name of Red Hat not be used in
+# advertising or publicity pertaining to distribution of the software without
+# specific, written prior permission. Red Hat makes no
+# representations about the suitability of this software for any purpose. It
+# is provided "as is" without express or implied warranty.
+#
+# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+# EVENT SHALL RED HAT BE LIABLE FOR 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.
+
+bin_PROGRAMS = xsm
+
+SYSTEM_INIT_DIR = $(libdir)/X11/xsm
+
+
+xsm_CFLAGS = $(DEP_CFLAGS) -DRSHCMD=\"@RSH@\" \
+ -DSYSTEM_INIT_FILE=\"$(SYSTEM_INIT_DIR)/system.xsm\"
+
+xsm_LDADD = $(DEP_LIBS)
+
+xsm_SOURCES = \
+ auth.c \
+ auth.h \
+ choose.c \
+ choose.h \
+ info.c \
+ info.h \
+ list.c \
+ list.h \
+ lock.c \
+ lock.h \
+ log.c \
+ log.h \
+ mainwin.c \
+ mainwin.h \
+ misc.c \
+ popup.c \
+ popup.h \
+ printhex.c \
+ prop.c \
+ prop.h \
+ remote.c \
+ restart.c \
+ restart.h \
+ save.c \
+ save.h \
+ saveutil.c \
+ saveutil.h \
+ signals.c \
+ xsm.c \
+ xsm.h \
+ xtwatch.c \
+ xtwatch.h
+
+dist_man_MANS = \
+ xsm.man
+
+# App default files (*.ad)
+
+appdefaultdir = $(sysconfdir)/X11/app-defaults
+
+
+APPDEFAULTFILES = \
+ XSm
+
+
+$(APPDEFAULTFILES): %: %.ad
+ cp $< $@
+
+appdefault_DATA = $(APPDEFAULTFILES)
+
+# system init file
+
+systeminitdir = $(SYSTEM_INIT_DIR)
+
+systeminit_DATA = system.xsm
+
+#
+
+EXTRA_DIST = $(foreach FILE, $(APPDEFAULTFILES), $(FILE).ad) globals.c system.xsm
+
+CLEANFILES = $(APPDEFAULTFILES)
+
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NEWS
diff --git a/README b/README
new file mode 100644
index 0000000..2118c91
--- /dev/null
+++ b/README
@@ -0,0 +1,90 @@
+$Xorg: README,v 1.3 2000/08/17 19:55:04 cpqbld Exp $
+
+README file for the X Session Manager (xsm)
+-------------------------------------------
+
+xsm is a session manager. A session is a group of applications, each
+of which has a particular state. xsm allows you to create arbitrary
+sessions - for example, you might have a "light" session, a "development"
+session, or an "xterminal" session. Each session can have its own set of
+applications. Within a session, you can perform a "checkpoint" to save
+application state, or a "shutdown" to save state and exit the session. When
+you log back in to the system, you can load a specific session, and you can
+delete sessions you no longer want to keep.
+
+Some session managers simply allow you to manually specify a list of
+applications to be started in a session. xsm is more powerful because it
+lets you run applications and have them automatically become part of the
+session. On a simple level, xsm is useful because it gives you this ability
+to easily define which applications are in a session. The true power of
+xsm, however, can be taken advantage of when more and more applications
+learn to save and restore their state.
+
+This README file discusses the necessary steps you must take to run xsm. To
+learn more about the details of xsm's functionality, read the xsm man page.
+
+Before building xsm, you should make sure you have the following libraries
+built on your system with all fix-trackers patches applied:
+
+libICE - the Inter Client Exchange Library
+libSM - the Session Management Library
+libXt - the X Toolkit with support for session management
+
+To build these libraries, you would change your current directory to
+lib/ICE, lib/SM, or lib/Xt and do the following:
+
+make Makefile
+make includes
+make depend
+make
+
+
+Once you are sure all of the required libraries are built, you are ready
+to build xsm.
+
+Change your current directory to workInProgress
+
+make Makefiles SUBDIRS=xsm
+cd xsm
+make includes
+make depend
+make install
+
+
+Before you can run xsm, you must make sure that the following programs are
+built and installed on your system with all fix-trackers patches applied:
+
+smproxy - the session manager proxy for applications that don't support
+ R6 style session management
+iceauth - handles storing/retrieving ICE authentication information
+rstart - allows xsm to start applications on remote machines
+twm - window manager that support R6 style session management - takes
+ care of saving window configurations in a session
+
+To build and install these programs, you would change your current directory
+to programs/smproxy, programs/iceauth, programs/rstart, or programs/twm and
+do the following:
+
+make Makefile
+make includes
+make depend
+make install
+
+
+Note that to install rstart, you will need to have root privileges because
+the program must be installed in a system wide default path.
+
+*** rstart and iceauth should be installed on each machine that you expect
+ to run applications on that will be part of your session ***
+
+Also note that twm is the default window manager that xsm starts up. If you
+would like to use a different window manager, follow the instructions in the
+xsm man page for defining the default startup applications. Be aware that if
+the window manager you choose has not been modified to support R6 style
+session management, window configurations will not be saved in your sessions.
+
+Once again, for more information about actually using xsm, please read the
+xsm man page.
+
+To learn more about making your applications "session aware", consult the
+X Toolkit Intrinsics documentation.
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..e81f989
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"
+
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..d9ba5c2
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,66 @@
+
+dnl Copyright 2005 Red Hat, Inc.
+dnl
+dnl Permission to use, copy, modify, distribute, and sell this software and its
+dnl documentation for any purpose is hereby granted without fee, provided that
+dnl the above copyright notice appear in all copies and that both that
+dnl copyright notice and this permission notice appear in supporting
+dnl documentation, and that the name of Red Hat not be used in
+dnl advertising or publicity pertaining to distribution of the software without
+dnl specific, written prior permission. Red Hat makes no
+dnl representations about the suitability of this software for any purpose. It
+dnl is provided "as is" without express or implied warranty.
+dnl
+dnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+dnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+dnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+dnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+dnl PERFORMANCE OF THIS SOFTWARE.
+dnl
+dnl Process this file with autoconf to create configure.
+
+AC_PREREQ([2.57])
+AC_INIT(xsm,[7.0], [xorg@freedesktop.org],xsm)
+AM_INIT_AUTOMAKE([dist-bzip2])
+AM_MAINTAINER_MODE
+
+AM_CONFIG_HEADER(config.h)
+
+AC_PROG_CC
+AC_PROG_INSTALL
+
+RSH=
+if [[ -z $RSH ]] ; then
+ AC_PATH_PROG(RSH,rsh)
+fi
+if [[ -z $RSH ]] ; then
+ AC_PATH_PROG(RSH,rcmd)
+fi
+if [[ -z $RSH ]] ; then
+ AC_PATH_PROG(RSH,remsh)
+fi
+if [[ -z $RSH ]] ; then
+ AC_MSG_ERROR(No rsh like program found)
+fi
+
+#if !defined(RshCmd)
+#if SystemV
+#ifdef HPArchitecture
+#define RshCmd remsh
+#else
+#define RshCmd rcmd
+#endif
+#else
+#define RshCmd rsh
+#endif
+#endif
+
+# Checks for pkg-config packages
+XAW_CHECK_XPRINT_SUPPORT(DEP)
+
+AC_SUBST(DEP_CFLAGS)
+AC_SUBST(DEP_LIBS)
+
+AC_OUTPUT([Makefile])