]> git.pld-linux.org Git - packages/e16.git/blobdiff - enlightenment-edirconf.patch
- updated for e16
[packages/e16.git] / enlightenment-edirconf.patch
index 7ca624f09f9af71776eb262b331aeb99c6e10690..2f10e8a9c59d1e7f91849c1ded3eaedc4a80d78f 100644 (file)
@@ -1,88 +1,49 @@
-diff -Nur enlightenment-0.16.7.1.orig/src/config.c enlightenment-0.16.7.1/src/config.c
---- enlightenment-0.16.7.1.orig/src/config.c   2004-08-20 23:35:46.000000000 +0200
-+++ enlightenment-0.16.7.1/src/config.c        2004-10-01 01:32:53.715493632 +0200
-@@ -3348,7 +3348,7 @@
-            i++;
-         }
-       Esnprintf(execline, sizeof(execline), "%s " "-P " "-nostdinc " "-undef "
--                "-include %s/config/definitions " "-I%s " "-I%s/config "
-+                "-include %s/definitions " "-I%s " "-I%s "
-                 "-D ENLIGHTENMENT_VERSION=%s " "-D ENLIGHTENMENT_ROOT=%s "
-                 "-D ENLIGHTENMENT_BIN=%s "
-                 "-D ENLIGHTENMENT_THEME=%s " "-D ECONFDIR=%s "
-@@ -3357,7 +3357,7 @@
-                 "-D SCREEN_DEPTH_%i=1 " "-D USER_NAME=%s " "-D HOME_DIR=%s "
-                 "-D USER_SHELL=%s " "-D ENLIGHTENMENT_VERSION_015=1 "
-                 "%s %s/cached/cfg/%s.preparsed",
--                epp_path, EDirRoot(), themepath, EDirRoot(),
-+                epp_path, EDirConf(), themepath, EDirConf(),
-                 ENLIGHTENMENT_VERSION, EDirRoot(), EDirBin(),
-                 themepath, EDirUser(), EDirUserCache(), VRoot.w, VRoot.h,
-                 VRoot.w, VRoot.h, VRoot.depth, def_user, def_home, def_shell,
-@@ -3586,7 +3586,7 @@
-       EDBUG_RETURN(Estrdup(s));
+diff -urd e16-0.16.8.1/src/config.c e16-0.16.8.1.edirconf/src/config.c
+--- e16-0.16.8.1/src/config.c  2006-03-28 20:06:00.000000000 +0200
++++ e16-0.16.8.1.edirconf/src/config.c 2006-07-17 21:58:47.000000000 +0200
+@@ -200,7 +200,7 @@
+    def_shell = usershell(getuid());
+    Esnprintf(execline, sizeof(execline), "%s " "-P " "-nostdinc " "-undef "
+-           "-include %s/config/definitions " "-I%s " "-I%s/config "
++           "-include %s/definitions " "-I%s " "-I%s "
+            "-D ENLIGHTENMENT_VERSION=%s " "-D ENLIGHTENMENT_ROOT=%s "
+            "-D ENLIGHTENMENT_BIN=%s "
+            "-D ENLIGHTENMENT_THEME=%s " "-D ECONFDIR=%s "
+@@ -209,7 +209,7 @@
+            "-D SCREEN_DEPTH_%i=1 " "-D USER_NAME=%s " "-D HOME_DIR=%s "
+            "-D USER_SHELL=%s " "-D ENLIGHTENMENT_VERSION_015=1 "
+            "%s %s",
+-           epp_path, EDirRoot(), Mode.theme.path, EDirRoot(),
++           epp_path, EDirConf(), Mode.theme.path, EDirConf(),
+            ENLIGHTENMENT_VERSION, EDirRoot(), EDirBin(),
+            Mode.theme.path, EDirUser(), EDirUserCache(), VRoot.w,
+            VRoot.h, VRoot.w, VRoot.h, VRoot.depth, def_user, def_home,
+@@ -450,7 +450,7 @@
+      }
  
     /* look in system config dir */
--   Esnprintf(s, sizeof(s), "%s/config/%s", EDirRoot(), file);
-+   Esnprintf(s, sizeof(s), "%s/%s", EDirConf(), file);
-    if (findLocalizedFile(s) || isfile(s))
-       EDBUG_RETURN(Estrdup(s));
-@@ -3615,7 +3615,7 @@
-       EDBUG_RETURN(Estrdup(s));
-    /* look in system config dir */
--   Esnprintf(s, sizeof(s), "%s/config/%s", EDirRoot(), file);
-+   Esnprintf(s, sizeof(s), "%s/%s", EDirConf(), file);
-    if (findLocalizedFile(s) || isfile(s))
-       EDBUG_RETURN(Estrdup(s));
-@@ -3692,7 +3692,7 @@
-    EDBUG(5, "LoadEConfig");
-    Esnprintf(s, sizeof(s), "%s/", EDirUser());
--   Esnprintf(s, sizeof(s), "%s/config/", EDirRoot());
-+   Esnprintf(s, sizeof(s), "%s/", EDirConf());
-    /* save the current theme */
-    if ((themelocation) && (themelocation[0] != 0))
-diff -Nur enlightenment-0.16.7.1.orig/src/E.h enlightenment-0.16.7.1/src/E.h
---- enlightenment-0.16.7.1.orig/src/E.h        2004-08-20 23:35:46.000000000 +0200
-+++ enlightenment-0.16.7.1/src/E.h     2004-10-01 01:23:11.338028464 +0200
-@@ -2381,6 +2381,7 @@
- /* misc.c */
- void                BlumFlimFrub(void);
+-   Esnprintf(s, sizeof(s), "%s/config", EDirRoot());
++   Esnprintf(s, sizeof(s), "%s", EDirConf());
+    p = FindFileLocalized(file, s, localized);
+    if (p)
+       return p;
+diff -urd e16-0.16.8.1/src/E.h e16-0.16.8.1.edirconf/src/E.h
+--- e16-0.16.8.1/src/E.h       2006-03-28 20:06:01.000000000 +0200
++++ e16-0.16.8.1.edirconf/src/E.h      2006-07-17 21:59:16.000000000 +0200
+@@ -825,6 +825,7 @@
+ /* main.c */
+ void                EExit(int exitcode);
 +const char         *EDirConf(void);
  const char         *EDirRoot(void);
  const char         *EDirBin(void);
- void                EDirUserSet(const char *d);
-diff -Nur enlightenment-0.16.7.1.orig/src/file.c enlightenment-0.16.7.1/src/file.c
---- enlightenment-0.16.7.1.orig/src/file.c     2004-08-20 23:35:46.000000000 +0200
-+++ enlightenment-0.16.7.1/src/file.c  2004-10-01 01:30:04.091280432 +0200
-@@ -300,7 +300,7 @@
- {
-    struct stat         st;
--   EDBUG(9, "filesize");
-+   EDBUG(9, "fileinode");
-    if ((!s) || (!*s))
-       EDBUG_RETURN(0);
-    if (stat(s, &st) < 0)
-@@ -313,7 +313,7 @@
- {
-    struct stat         st;
--   EDBUG(9, "filesize");
-+   EDBUG(9, "filedev");
-    if ((!s) || (!*s))
-       EDBUG_RETURN(0);
-    if (stat(s, &st) < 0)
-diff -Nur enlightenment-0.16.7.1.orig/src/misc.c enlightenment-0.16.7.1/src/misc.c
---- enlightenment-0.16.7.1.orig/src/misc.c     2004-08-20 23:35:46.000000000 +0200
-+++ enlightenment-0.16.7.1/src/misc.c  2004-10-01 01:30:25.558016992 +0200
-@@ -76,6 +76,13 @@
-    return ENLIGHTENMENT_ROOT;
+ const char         *EDirUser(void);
+diff -urd e16-0.16.8.1/src/misc.c e16-0.16.8.1.edirconf/src/misc.c
+--- e16-0.16.8.1/src/misc.c    2006-03-28 20:06:01.000000000 +0200
++++ e16-0.16.8.1.edirconf/src/misc.c   2006-07-17 21:56:16.000000000 +0200
+@@ -147,6 +147,13 @@
+    return k1 + x * l;
  }
  
 +const char         *
@@ -93,16 +54,5 @@ diff -Nur enlightenment-0.16.7.1.orig/src/misc.c enlightenment-0.16.7.1/src/misc
 +
 +
  void
- EDirUserSet(const char *d)
- {
-diff -Nur enlightenment-0.16.7.1.orig/src/setup.c enlightenment-0.16.7.1/src/setup.c
---- enlightenment-0.16.7.1.orig/src/setup.c    2004-08-20 23:35:46.000000000 +0200
-+++ enlightenment-0.16.7.1/src/setup.c 2004-10-01 01:26:45.939404096 +0200
-@@ -568,6 +568,7 @@
+ ETimedLoopInit(int k1, int k2, int speed)
  {
-    char                s[1024];
-+   // EDirConf ?
-    Esetenv("EVERSION", ENLIGHTENMENT_VERSION, 1);
-    Esetenv("EROOT", EDirRoot(), 1);
-    Esetenv("EBIN", EDirBin(), 1);
This page took 0.077643 seconds and 4 git commands to generate.