[gnome-build-meta/alatiera/debugsym: 5/5] wip




commit c35d5493d7db13605b569d9174eade881329dcf2
Author: Jordan Petridis <jordan centricular com>
Date:   Mon Jan 24 18:08:57 2022 +0200

    wip

 elements/sdk/webkit2gtk-4.0.bst  |  3 +++
 elements/sdk/webkit2gtk-5.0.bst  |  3 +++
 elements/vm/filesystem-devel.bst |  8 +++++++-
 elements/vm/filesystem.bst       | 41 ++++++++++++++++++++++++++++++++++++++--
 4 files changed, 52 insertions(+), 3 deletions(-)
---
diff --git a/elements/sdk/webkit2gtk-4.0.bst b/elements/sdk/webkit2gtk-4.0.bst
index 0aaf8bdde..51d0b50ab 100644
--- a/elements/sdk/webkit2gtk-4.0.bst
+++ b/elements/sdk/webkit2gtk-4.0.bst
@@ -23,3 +23,6 @@ public:
         (>):
         - '%{libdir}/libjavascriptcoregtk-4.0.so'
         - '%{libdir}/libwebkit2gtk-4.0.so'
+      webkit-debug:
+      - '%{debugdir}'
+      - '%{debugdir}/**'
diff --git a/elements/sdk/webkit2gtk-5.0.bst b/elements/sdk/webkit2gtk-5.0.bst
index c88768c9f..0db05b292 100644
--- a/elements/sdk/webkit2gtk-5.0.bst
+++ b/elements/sdk/webkit2gtk-5.0.bst
@@ -21,3 +21,6 @@ public:
         (>):
         - '%{libdir}/libjavascriptcoregtk-5.0.so'
         - '%{libdir}/libwebkit2gtk-5.0.so'
+      webkit-debug:
+      - '%{debugdir}'
+      - '%{debugdir}/**'
diff --git a/elements/vm/filesystem-devel.bst b/elements/vm/filesystem-devel.bst
index efbf2ef4b..2fc4079c9 100644
--- a/elements/vm/filesystem-devel.bst
+++ b/elements/vm/filesystem-devel.bst
@@ -5,6 +5,12 @@ build-depends:
 - vm/initramfs.bst
 - vm/manifest-devel.bst
 
+public:
+  bst:
+    integration-commands:
+    - rm -r %{sourcedir}
+
 config:
   exclude:
-  - debug
+  - webkit-debug
+  - source
diff --git a/elements/vm/filesystem.bst b/elements/vm/filesystem.bst
index 932f08c90..15e052eb6 100644
--- a/elements/vm/filesystem.bst
+++ b/elements/vm/filesystem.bst
@@ -5,8 +5,45 @@ build-depends:
 - vm/initramfs.bst
 - vm/manifest.bst
 
+public:
+  bst:
+    integration-commands:
+    # FIXME: we inherit fd.o sources
+    - rm -rv '%{sourcedir}'
+
+    - rm -rv '%{debugdir}%{libexecdir}/installed-tests'
+    - rm -rv '%{debugdir}%{libexecdir}/gcc'
+
+    # for -devel
+    # - rm -r '%{debugdir}%{libexecdir}/valgrind'
+    # - rm '%{debugdir}%{bindir}/ctest.debug'
+    # - rm '%{debugdir}%{bindir}/cpack.debug'
+    # - rm '%{debugdir}%{bindir}/cmake.debug'
+    # - rm '%{debugdir}%{bindir}/ccmake.debug'
+    # - rm '%{debugdir}%{bindir}/c-index-test.debug'
+    # - rm '%{debugdir}%{bindir}/llvm-exegesis.debug'
+    # - rm '%{debugdir}%{bindir}/gdb.debug'
+    # - rm '%{debugdir}%{bindir}/dwp.debug'
+    # - rm '%{debugdir}%{bindir}/ccache.debug'
+
+    - rm '%{debugdir}%{bindir}/lto-dump.debug'
+    - rm '%{debugdir}%{bindir}/gs.debug'
+    - rm '%{debugdir}%{bindir}/gpcl6.debug'
+    - rm '%{debugdir}%{bindir}/gxps.debug'
+    - rm '%{debugdir}%{bindir}/fish_indent.debug'
+    - rm '%{debugdir}%{bindir}/fish.debug'
+    - rm '%{debugdir}%{bindir}/fish_key_reader.debug'
+    - rm '%{debugdir}%{bindir}/smbtorture.debug'
+    - rm '%{debugdir}%{bindir}/gen_binary_files.debug'
+
+    # FIXME:
+    # /usr/doc/libgfbgraph exists
+    # gtk-doc/html/{gio, glib, gobject, libxml2, orc} still exist, inherited from fd.o?
+    - rm -rv '%{datadir}/gtk-doc'
+
 config:
   exclude:
-  - devel
-  - debug
   - doc
+  - devel
+  - webkit-debug
+  - source


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