[neon/snap-packaging/kf6-core/work.core24] /: comment out more aggresive cleaning. Add more xcb packages.

Scarlett Moore null at kde.org
Mon Jul 6 20:50:20 BST 2026


Git commit 89a1bec0650a255ba43a4496bd4aaeac4a90e566 by Scarlett Moore.
Committed on 06/07/2026 at 19:49.
Pushed by scarlettmoore into branch 'work.core24'.

comment out more aggresive cleaning. Add more xcb packages.

M  +22   -14   snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kf6-core/-/commit/89a1bec0650a255ba43a4496bd4aaeac4a90e566

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 8ddac2b..8b0074d 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -195,9 +195,17 @@ parts:
       - libwacom9
       - libx11-6
       - libxau6
+      - libxcb-cursor-dev
+      - libxcb-randr-dev
+      - libxcb-xtest-dev
+      - libxcb-xinerama-dev
+      - libxcb-shape-dev
+      - libxcb-xkb-dev
+      - libxcb1
       - libxcb-cursor0
       - libxcb-render0
       - libxcb-shape0
+      - libxcb1
       - libxcomposite1
       - libxcursor1
       - libxdamage1
@@ -227,20 +235,20 @@ parts:
       - XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
       - XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
       - LD_LIBRARY_PATH: "$CRAFT_STAGE/usr/lib:$CRAFT_STAGE/lib/:$CRAFT_STAGE/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
-    override-build: |
-      set -eux
-      craftctl default
-      cd $CRAFT_STAGE/usr
-      # We need to explicitly remove this recursively
-      rm -rf $CRAFT_PART_INSTALL/usr/lib/python3/dist-packages/PyGObject-3.*.egg-info
-      find . -type f,l -exec rm -f $CRAFT_PART_INSTALL/usr/{} \;
-      find . -type f,l -name "*.so*" -exec bash -c "rm -f $CRAFT_PART_INSTALL/usr/{}*" \;
-      cd $CRAFT_STAGE/usr/lib
-      find . -type f,l -exec rm -f $CRAFT_PART_INSTALL/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/{} \;
-      find . -type f,l -name "*.so*" -exec bash -c "rm -f $CRAFT_PART_INSTALL/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/{}*" \;
-      cd $CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
-      find . -type f,l -exec rm -f $CRAFT_PART_INSTALL/usr/lib/{} \;
-      find . -type f,l -name "*.so*" -exec bash -c "rm -f $CRAFT_PART_INSTALL/usr/lib/{}*" \;
+    # override-build: |
+    #   set -eux
+    #   craftctl default
+    #   cd $CRAFT_STAGE/usr
+    #   # We need to explicitly remove this recursively
+    #   rm -rf $CRAFT_PART_INSTALL/usr/lib/python3/dist-packages/PyGObject-3.*.egg-info
+    #   find . -type f,l -exec rm -f $CRAFT_PART_INSTALL/usr/{} \;
+    #   find . -type f,l -name "*.so*" -exec bash -c "rm -f $CRAFT_PART_INSTALL/usr/{}*" \;
+    #   cd $CRAFT_STAGE/usr/lib
+    #   find . -type f,l -exec rm -f $CRAFT_PART_INSTALL/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/{} \;
+    #   find . -type f,l -name "*.so*" -exec bash -c "rm -f $CRAFT_PART_INSTALL/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/{}*" \;
+    #   cd $CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
+    #   find . -type f,l -exec rm -f $CRAFT_PART_INSTALL/usr/lib/{} \;
+    #   find . -type f,l -name "*.so*" -exec bash -c "rm -f $CRAFT_PART_INSTALL/usr/lib/{}*" \;
 
   applications-menu:
     plugin: dump


More information about the Neon-commits mailing list