Enlightenment CVS committal Author : horms Project : e17 Module : apps/entrance
Dir : e17/apps/entrance/src/client Modified Files: Makefile.am entrance_session.c Log Message: * Relocate internal binaries (entrance_login and entrance_wrapper) from PREFIX/bin to PREFIX/lib/entrance * Allow configured Xsession not to exist at build time (Need to fix up error reporting at run time) Debian Package * Removed useless debian/dirs * Removed useless debian/entrance.conffiles * Added Debian specific init script - Uses debian's start-stip - Somewhat more LSB compliant * Added Debian specific pam file * Added Debian specific Xsession - On Debian /etc/X11/Xsession is non-executable (at the time of writing) and is expected to be sourced nopt run. This wrapper does that and nothing else. * Update maintainer to E17 Debian Team * Add build dependancy on automake1.7 | automaken, libtool, ecore0-bin, edje0-bin, libesmart-dev * Update build dependancy on libpam0g-dev | libpam-dev to libpam0g-dev (I think libpam-dev is very ancient) * Add dependancy on x11-common for /etc/X11/Xsession * Start entrance in postinst rather than reloading it - entranced fundamentally doesn't support reload and accordintly neither the existing, or new Debian-specitic init script don't have this opperation - Restarting is problematic, because it might well restart a running session. Probably the best idea is to do what xdm does and as the user if they want entrance started if its controlling a running session. But for the mean time just start entrance. This will cause it to start if it isn't already running (and its the default display manager). Otherwise the upgrade to the new entrance will be defered untill the next time entrance is restarted, the next time the user logs in. =================================================================== RCS file: /cvs/e/e17/apps/entrance/src/client/Makefile.am,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- Makefile.am 5 Sep 2005 16:55:50 -0000 1.18 +++ Makefile.am 6 May 2006 08:05:15 -0000 1.19 @@ -3,7 +3,11 @@ INCLUDES = @EDJE_CFLAGS@ @ECORE_CFLAGS@ @EVAS_CFLAGS@ \ @ESMART_CFLAGS@ -bin_PROGRAMS = entrance entrance_login entrance_edit +entrancelibdir = $(libdir)/$(PACKAGE) + +bin_PROGRAMS = entrance entrance_edit + +entrancelib_PROGRAMS = entrance_login entrance_SOURCES = \ entrance_auth.c entrance_auth.h \ =================================================================== RCS file: /cvs/e/e17/apps/entrance/src/client/entrance_session.c,v retrieving revision 1.81 retrieving revision 1.82 diff -u -3 -r1.81 -r1.82 --- entrance_session.c 5 Apr 2006 16:29:51 -0000 1.81 +++ entrance_session.c 6 May 2006 08:05:15 -0000 1.82 @@ -472,14 +472,15 @@ #ifdef HAVE_PAM if (e->config->auth == ENTRANCE_USE_PAM) { - snprintf(buf, sizeof(buf), "%s/entrance_login %i %s %s", - PACKAGE_BIN_DIR, (int) pid, pwent->pw_name, e->display); + snprintf(buf, sizeof(buf), "%s/%s/entrance_login %i %s %s", + PACKAGE_LIB_DIR, PACKAGE, (int) pid, pwent->pw_name, + e->display); } else #endif { - snprintf(buf, sizeof(buf), "%s/entrance_login %i", PACKAGE_BIN_DIR, - (int) pid); + snprintf(buf, sizeof(buf), "%s/%s/entrance_login %i", + PACKAGE_LIB_DIR, PACKAGE, (int) pid); } shell = strdup("/bin/sh"); /* this bypasses a race condition where entrance loses its x ------------------------------------------------------- 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