From 3b08f674e3f771b49370edb144dab0958c8cf721 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 31 Aug 2021 08:59:54 +0100 Subject: gentoo resync : 31.08.2021 --- ...-Fix-detection-for-pre-compiled-css-files.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 gui-libs/gtk/files/4.4.0-build-Fix-detection-for-pre-compiled-css-files.patch (limited to 'gui-libs/gtk/files/4.4.0-build-Fix-detection-for-pre-compiled-css-files.patch') diff --git a/gui-libs/gtk/files/4.4.0-build-Fix-detection-for-pre-compiled-css-files.patch b/gui-libs/gtk/files/4.4.0-build-Fix-detection-for-pre-compiled-css-files.patch new file mode 100644 index 000000000000..1292e85cefa1 --- /dev/null +++ b/gui-libs/gtk/files/4.4.0-build-Fix-detection-for-pre-compiled-css-files.patch @@ -0,0 +1,29 @@ +From 552a4b2c82f41c1dbba410b825673cf67d089b68 Mon Sep 17 00:00:00 2001 +From: Kalev Lember +Date: Mon, 23 Aug 2021 15:38:46 +0200 +Subject: [PATCH] build: Fix detection for pre-compiled css files + +The default theme changed from Adwaita to Default and this tripped up +the logic to detect if the tarball builds contain pre-built css files or +not. Fix this by looking at pre-compiled css files in themes/Default/ +instead of themes/Adwaita/. +--- + gtk/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gtk/meson.build b/gtk/meson.build +index fa66764c50..bfb5105fe5 100644 +--- a/gtk/meson.build ++++ b/gtk/meson.build +@@ -842,7 +842,7 @@ gtk_gresources_xml = configure_file(output: 'gtk.gresources.xml', + + theme_deps = [] + # For git checkouts, but not for tarballs... +-if not fs.exists('theme/Adwaita/Adwaita.css') ++if not fs.exists('theme/Default/Default-light.css') + # ... build the theme files + sassc = find_program('sassc', required: false) + if not sassc.found() +-- +2.31.1 + -- cgit v1.2.3