Enlightenment CVS committal

Author  : essiene
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance


Modified Files:
        TODO configure.in 


Log Message:
- Yay! Entrance now dynamically generates the session list. There are two fixed 
"virtual" sessions,
         - "Default" which currently does nothing but should be configurable 
via entrance_edit*
         - "FailSafe" which drops you into an arcane xterm (this should be 
configurable too?)
  Then comes the actual sessions found on your system. These are listed before 
the "virtual" sessions

- Update AUTOFOO to allow ENTRANCE_SESSIONS_DIR
        - Default value is $prefix/share/xsessions
        - Can be overwritten with --with-sessions=foobar (incase you install 
entrance in 
                        $prefix=/usr/local, but you session are in 
/usr/share/bleh)

- Update TODO file
        - ONE MASSIVE todo has basically vanished... hurray! thnx to onefang 
for the hardwork on ecore_desktop.

===================================================================
RCS file: /cvs/e/e17/apps/entrance/TODO,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- TODO        28 Aug 2006 04:12:43 -0000      1.27
+++ TODO        29 Aug 2006 00:29:38 -0000      1.28
@@ -20,9 +20,6 @@
  ESSENTIAL FEATURES
 -------------------------------------------------------------------------------
 
-*** Create abstracted interface for obtaining system session list.
-  - Add functions for finding session list on various distributions
-  - Move entrance-definded sessions out of config into 
$prefix/share/xsessions/.
 *** Handle sessions that crash immediately gracefully by providing some kind of
   custom error message a la GDM 
 * Xinerama - widgets follow mouse pointer from screen to screen
===================================================================
RCS file: /cvs/e/e17/apps/entrance/configure.in,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -3 -r1.64 -r1.65
--- configure.in        13 Aug 2006 23:46:40 -0000      1.64
+++ configure.in        29 Aug 2006 00:29:38 -0000      1.65
@@ -191,6 +191,29 @@
 AC_DEFINE_UNQUOTED(ENTRANCE_XSESSION, "$xsession", [Xsession script])
 AC_SUBST(xsession)
 
+# what Sessions dir we're using
+sessions=$prefix/share/xsessions
+if test ! -d "$sessions" ; then
+    sessions=/usr/share/xsessions
+fi
+
+AC_ARG_WITH(sessions,
+                       AC_HELP_STRING([--with-sessions=PATH],[Specify the 
location of sessions .desktop files]),
+       [
+           if test "x$withval" != "xno" ; then
+               sessions=$withval
+           fi
+       ]
+)
+if test ! -d "$sessions" ; then
+    AC_MSG_WARN([** $sessions does not exist or is not a directory **])
+    AC_MSG_WARN([** Please consider overriding with --with-sessions **])
+fi
+
+AC_DEFINE_UNQUOTED(ENTRANCE_SESSIONS_DIR, "$sessions", [Sessions .desktop 
directory])
+AC_SUBST(sessions)
+
+
 AC_PATH_XTRA
 
 EDJE_DEF=""
@@ -268,6 +291,7 @@
 echo "Support for shadow authentication ... $have_shadow"
 echo "Support for PAM authentication ...... $have_pam"
 echo "XSession file to use ................ $xsession "
+echo "Sessions dir to use ................ $sessions "
 echo "X binaries prefix  .................. $xbin"
 echo
 echo "Now type 'make' (gmake on some systems) to compile $PACKAGE"



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to