Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        Makefile.am e_prefix.c 
Added Files:
        e_start_main.c 


Log Message:


add a launcher. this is OPTIONAL - it is only needed if e is installed
somewhere where its bin dir is not in $PATH and lib dir is not in ld.so.conf
OR in $LD_LIBRARY_PATH. this will quickly determine prefix set up 2 env vars
and launch e itself.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/Makefile.am,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -3 -r1.113 -r1.114
--- Makefile.am 4 Mar 2006 04:11:51 -0000       1.113
+++ Makefile.am 5 Mar 2006 06:23:14 -0000       1.114
@@ -13,7 +13,8 @@
 enlightenment_remote \
 enlightenment_eapp \
 enlightenment_eapp_cache_gen \
-enlightenment_imc
+enlightenment_imc \
+enlightenment_start
 
 ENLIGHTENMENTHEADERS = \
 e.h \
@@ -311,6 +312,11 @@
 
 enlightenment_imc_LDFLAGS = @e_libs@ @dlopen_libs@
 
+enlightenment_start_SOURCES = \
+e_start_main.c
+
+enlightenment_start_LDFLAGS = 
+
 installed_headersdir = $(prefix)/include/enlightenment
 installed_headers_DATA = $(ENLIGHTENMENTHEADERS)
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_prefix.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_prefix.c  21 Feb 2006 15:00:10 -0000      1.11
+++ e_prefix.c  5 Mar 2006 06:23:14 -0000       1.12
@@ -62,17 +62,17 @@
                       strcat(_prefix_path_locale, "/share/locale");
                       
                       _prefix_path_bin = malloc(strlen(_prefix_path) + 1 +
-                                                   strlen("/bin"));
+                                                strlen("/bin"));
                       strcpy(_prefix_path_bin, _prefix_path);
                       strcat(_prefix_path_bin, "/bin");
                       
                       _prefix_path_data = malloc(strlen(_prefix_path) + 1 +
-                                                   
strlen("/share/enlightenment"));
+                                                 
strlen("/share/enlightenment"));
                       strcpy(_prefix_path_data, _prefix_path);
                       strcat(_prefix_path_data, "/share/enlightenment");
-
+                      
                       _prefix_path_lib = malloc(strlen(_prefix_path) + 1 +
-                                                   strlen("/lib"));
+                                                strlen("/lib"));
                       strcpy(_prefix_path_lib, _prefix_path);
                       strcat(_prefix_path_lib, "/lib");
                       




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to