git: 71ef76454bec - main - x11-themes/adwaita-icon-theme: drop check for gtk-update-icon-cache
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Jun 2025 14:06:54 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=71ef76454bec21998a50ba037ddd69a483251767
commit 71ef76454bec21998a50ba037ddd69a483251767
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-06-10 14:05:57 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-06-10 14:05:57 +0000
x11-themes/adwaita-icon-theme: drop check for gtk-update-icon-cache
The check at build time it only needed for make install when not running
with destdir which is not our use case
Reported by: vvd
---
.../adwaita-icon-theme/files/patch-meson.build | 34 +++++++++++-----------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/x11-themes/adwaita-icon-theme/files/patch-meson.build b/x11-themes/adwaita-icon-theme/files/patch-meson.build
index b2ec93308db3..97a2d0e2183e 100644
--- a/x11-themes/adwaita-icon-theme/files/patch-meson.build
+++ b/x11-themes/adwaita-icon-theme/files/patch-meson.build
@@ -1,18 +1,18 @@
---- meson.build.orig 2023-09-18 10:49:05 UTC
+--- meson.build.orig 2025-06-10 14:04:30 UTC
+++ meson.build
-@@ -4,6 +4,7 @@ pkg.generate(
- pkg.generate(
- name : 'adwaita-icon-theme',
- description : 'A collection of icons used as the basis for GNOME themes',
-+ install_dir : join_paths(get_option('prefix'), 'libdata', 'pkgconfig'),
- dataonly : true,
- )
-
-@@ -19,6 +20,7 @@ install_subdir(
- 'Adwaita',
- install_dir: adwaita_dir,
- exclude_directories: ['cursors'],
-+ exclude_files: ['.icon-theme.cache'],
- strip_directory : true,
- install_tag : 'runtime',
- )
+@@ -93,15 +93,3 @@ endif
+ endforeach
+ endforeach
+ endif
+-
+-gtk_update_icon_cache = find_program(
+- 'gtk4-update-icon-cache',
+- 'gtk-update-icon-cache',
+- required : true,
+-)
+-meson.add_install_script(
+- gtk_update_icon_cache,
+- '-qtf',
+- get_option('prefix') / adwaita_dir,
+- skip_if_destdir: true,
+-)