[neon/snap-packaging/kf6-core/work.core24] /: disable gtk icon cache for now. gtk dependencies are piling up.
Scarlett Moore
null at kde.org
Tue Apr 29 18:42:07 BST 2025
Git commit 78ebcdf39a6a381070db6a125647e1d0e62fcc7c by Scarlett Moore.
Committed on 29/04/2025 at 17:41.
Pushed by scarlettmoore into branch 'work.core24'.
disable gtk icon cache for now. gtk dependencies are piling up.
M +25 -26 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/kf6-core/-/commit/78ebcdf39a6a381070db6a125647e1d0e62fcc7c
diff --git a/snapcraft.yaml b/snapcraft.yaml
index b3f0289..5548283 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -246,6 +246,7 @@ parts:
- kf6
plugin: nil
build-packages:
+ - gtk-update-icon-cache
- shared-mime-info
stage-packages:
- shared-mime-info
@@ -284,8 +285,6 @@ parts:
- python3-pip
- zip
- python3-apt
- stage-packages:
- - libgdk-pixbuf-2.0-0
stage:
- -usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libxml2.so.2.9.14
build-environment: *buildenvironment
@@ -293,30 +292,30 @@ parts:
craftctl default
set -eux
- cd /snap/gtk-common-themes/current
- find . -type f,l ! -name index.theme -exec rm -f $CRAFT_PRIME/usr/{} \;
- cd $CRAFT_PRIME
- for dir in usr/share/icons/*; do
- if [ -f "$dir/index.theme" ]; then
- $CRAFT_STAGE/usr/bin/gtk-update-icon-cache --force "$dir"
- fi
- done
- cd /snap/gtk-theme-breeze/current
- find . -type f,l ! -name index.theme -exec rm -f $CRAFT_PRIME/usr/{} \;
- cd $CRAFT_PRIME
- for dir in usr/share/icons/*; do
- if [ -f "$dir/index.theme" ]; then
- $CRAFT_STAGE/usr/bin/gtk-update-icon-cache --force "$dir"
- fi
- done
- cd /snap/icon-theme-breeze/current
- find . -type f,l ! -name index.theme -exec rm -f $CRAFT_PRIME/usr/{} \;
- cd $CRAFT_PRIME
- for dir in usr/share/icons/*; do
- if [ -f "$dir/index.theme" ]; then
- $CRAFT_STAGE/usr/bin/gtk-update-icon-cache --force "$dir"
- fi
- done
+ # cd /snap/gtk-common-themes/current
+ # find . -type f,l ! -name index.theme -exec rm -f $CRAFT_PRIME/usr/{} \;
+ # cd $CRAFT_PRIME
+ # for dir in usr/share/icons/*; do
+ # if [ -f "$dir/index.theme" ]; then
+ # $CRAFT_STAGE/usr/bin/gtk-update-icon-cache --force "$dir"
+ # fi
+ # done
+ # cd /snap/gtk-theme-breeze/current
+ # find . -type f,l ! -name index.theme -exec rm -f $CRAFT_PRIME/usr/{} \;
+ # cd $CRAFT_PRIME
+ # for dir in usr/share/icons/*; do
+ # if [ -f "$dir/index.theme" ]; then
+ # $CRAFT_STAGE/usr/bin/gtk-update-icon-cache --force "$dir"
+ # fi
+ # done
+ # cd /snap/icon-theme-breeze/current
+ # find . -type f,l ! -name index.theme -exec rm -f $CRAFT_PRIME/usr/{} \;
+ # cd $CRAFT_PRIME
+ # for dir in usr/share/icons/*; do
+ # if [ -f "$dir/index.theme" ]; then
+ # $CRAFT_STAGE/usr/bin/gtk-update-icon-cache --force "$dir"
+ # fi
+ # done
$CRAFT_STAGE/usr/bin/kbuildsycoca6 --noincremental
rm -rf usr/share/doc
rm -rf usr/share/man
More information about the Neon-commits
mailing list