Add comment for gtk-update-icon-cache as suggested by smcv

This commit is contained in:
Jeremy Bícha 2025-01-27 11:55:58 -05:00
parent e316967ba3
commit a28fa9771f
2 changed files with 3 additions and 0 deletions

1
debian/control vendored
View File

@ -255,6 +255,7 @@ Description: GTK graphical user interface library -- gir bindings
This package can be used by other packages using the GIRepository format to This package can be used by other packages using the GIRepository format to
generate dynamic bindings. generate dynamic bindings.
# gtk-update-icon-cache is not built on release architectures. See debian/rules
Package: gtk-update-icon-cache Package: gtk-update-icon-cache
Section: misc Section: misc
Architecture: any Architecture: any

2
debian/rules vendored
View File

@ -106,6 +106,8 @@ else
configure_flags_deb += -Dprofiler=false configure_flags_deb += -Dprofiler=false
endif endif
# We don't build gtk-update-icon-cache on release architectures (+ loong64) because we assume they get it from gtk4.
# We still build it on -ports architectures (except loong64) because they don't build gtk4 reliably.
ifneq (,$(filter amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x loong64,$(DEB_HOST_ARCH))) ifneq (,$(filter amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x loong64,$(DEB_HOST_ARCH)))
dh_options += -Ngtk-update-icon-cache dh_options += -Ngtk-update-icon-cache
endif endif