[gnome-sdk-images] Use /usr/libexec/freedesktop-post.sh



commit 414753892b773978dc3370d2bf263345e7fef40e
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Jan 15 12:34:09 2018 +0100

    Use /usr/libexec/freedesktop-post.sh
    
    This cleans things up, and makes the new fontconfig caches work.

 org.gnome.Sdk.json.in |   18 ++++--------------
 1 files changed, 4 insertions(+), 14 deletions(-)
---
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index 8f12d30..fde6e25 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -31,18 +31,13 @@
         "--sdk=org.gnome.Sdk//@@SDK_BRANCH@@",
         "--runtime=org.gnome.Platform//@@SDK_BRANCH@@"
     ],
-    "cleanup": [ "/cache",
-                 "/man",
+    "cleanup": [ "/man",
                  "/share/man",
                  "/share/gtk-doc/html",
                  "/lib/systemd",
                  "*.la", "*.a"],
-    "cleanup-commands": [ "touch -d @0 /usr/share/fonts",
-                          "touch -d @0 /usr/share/fonts/*",
-                          "fc-cache -fs",
-                          "update-desktop-database",
-                          "ldconfig -C /usr/etc/ld.so.cache",
-                          "cp -d /usr/lib/extra-links/* /usr/lib/ || true"
+    "cleanup-commands": [ "update-desktop-database",
+                          "/usr/libexec/freedesktop-post.sh"
                         ],
     "cleanup-platform": [ "/share/runtime/docs",
                           "/include",
@@ -52,12 +47,7 @@
                           "/share/gir-1.0",
                           "/share/vala"
                         ],
-    "cleanup-platform-commands": [ "touch -d @0 /usr/share/fonts",
-                                   "touch -d @0 /usr/share/fonts/*",
-                                   "fc-cache -fs",
-                                   "ldconfig -C /usr/etc/ld.so.cache",
-                                   "cp -d /usr/lib/extra-links/* /usr/lib/ || true"
-                                 ],
+    "cleanup-platform-commands": [  "/usr/libexec/freedesktop-post.sh" ],
     "build-options" : {
         "cflags": "-O2 -g -fstack-protector-strong -D_FORTIFY_SOURCE=2",
         "cxxflags": "-O2 -g -fstack-protector-strong -D_FORTIFY_SOURCE=2",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]