Hallo,
here's a patch for edje_decc that create a file called default.edc in the decompiled source dir.
The file contents is only a line that include the main edc file.
If the default.edc file exist none is created
With this patch I can open edj file from edje_editor (engrave run edje_decc and always open default.edc).

Thanks
Dave


Index: edje_decc.c
===================================================================
RCS file: /cvs/e/e17/libs/edje/src/bin/edje_decc.c,v
retrieving revision 1.18
diff -u -r1.18 edje_decc.c
--- edje_decc.c	23 May 2006 03:23:31 -0000	1.18
+++ edje_decc.c	5 Feb 2007 10:00:37 -0000
@@ -290,6 +290,15 @@
 	chmod(out, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP);
 #endif
 
+   if (strcmp(sf->name,"default.edc"))
+     {
+      snprintf(out, sizeof(out), "%s/default.edc", outdir);
+      printf("Output empty default.edc: %s\n", out);
+      f = fopen(out, "w");
+      fprintf(f, "#include \"%s\"\n", sf->name);
+      fclose(f);
+     }  
+     
 	printf("\n*** CAUTION ***\n"
 	      "Please check the build script for anything malicious "
 	      "before running it!\n\n");
-------------------------------------------------------------------------
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to