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




commit 60f9584e7ac2870bdc07d8d2d96699c1674fae80
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 | 60 +++++++++++++++++++++++++++++++++++++++-
 elements/vm/filesystem.bst       | 30 +++++++++++++++++++-
 4 files changed, 94 insertions(+), 2 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..385deee08 100644
--- a/elements/vm/filesystem-devel.bst
+++ b/elements/vm/filesystem-devel.bst
@@ -5,6 +5,64 @@ build-depends:
 - vm/initramfs.bst
 - vm/manifest-devel.bst
 
+public:
+  bst:
+    integration-commands:
+    # FIXME: we inherit fd.o sources
+    - rm -r '%{sourcedir}'
+
+    - rm -r '%{debugdir}%{libexecdir}/installed-tests'
+    - rm -r '%{debugdir}%{libexecdir}/gcc'
+
+    # for -devel
+    - rm -r '%{debugdir}%{libexecdir}/valgrind'
+    - rm -r '%{debugdir}%{libdir}/samba'
+    - rm -r '%{debugdir}%{libdir}/sane'
+    - 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}/%{triplet}/bin/ld.gold.debug'
+    - rm '%{debugdir}%{libdir}/libLLVM-12.so.debug'
+    - rm '%{debugdir}%{libdir}/libclang.so.12.so.debug'
+    - rm '%{debugdir}%{libdir}/libclang-cpp.so.12.so.debug'
+    - rm '%{debugdir}%{libdir}/libprotoc.so.26.0.8.debug'
+    - rm '%{debugdir}%{libdir}/libaom.so.3.2.0.debug'
+    - rm '%{debugdir}%{libdir}/libprotobuf.so.26.0.8.debug'
+    - rm '%{debugdir}%{bindir}/doxygen.debug'
+    - rm '%{debugdir}%{bindir}/podman.debug'
+    - rm '%{debugdir}%{bindir}/podman-remote.debug'
+    - rm '%{debugdir}%{bindir}/obj2yaml.debug'
+    - rm '%{debugdir}%{bindir}/yaml2obj.debug'
+    - rm '%{debugdir}%{bindir}/llvm-tblgen.debug'
+    - rm '%{debugdir}%{bindir}/lli-child-target.debug'
+    - rm '%{debugdir}%{bindir}/perf.debug'
+
+    # for -user
+    - rm '%{debugdir}%{libdir}/libmozjs-78.so.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 -r '%{datadir}/gtk-doc'
+
 config:
   exclude:
-  - debug
+  - webkit-debug
+  - source
diff --git a/elements/vm/filesystem.bst b/elements/vm/filesystem.bst
index 932f08c90..9d401ee14 100644
--- a/elements/vm/filesystem.bst
+++ b/elements/vm/filesystem.bst
@@ -5,8 +5,36 @@ 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 -user
+    - rm '%{debugdir}%{libdir}/libmozjs-78.so.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
+  - webkit-debug
+  - source


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