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



commit fbbc8b6dc2fb486b3736aa06c8cc61b94c0d2cf6
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 b29856b..7d08ed2 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -32,18 +32,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",
@@ -53,12 +48,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]