$ git diff --patch-with-stat --summary 60d7e607afe781604de4dc3c0453c94517ed33fd..991d5a99a67441b671d9bc6ab4dc400275a8de7c
.abf.yml | 2 +-
breeze-gtk.spec | 19 ++++++++++++++-----
debug.patch | 12 ++++++++++++
3 files changed, 27 insertions(+), 6 deletions(-)
create mode 100644 debug.patch
diff --git a/.abf.yml b/.abf.yml
index 1cdbe9a..3ad50da 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
sources:
- breeze-gtk-5.23.5.tar.xz: 59cd3c73e112d270712246c228a0508df7961eba
+ breeze-gtk-5.26.5.tar.xz: 299dd069a9f69c43657520e9d3743549d95e24f7
diff --git a/breeze-gtk.spec b/breeze-gtk.spec
index 76d7f10..d2e1a8d 100644
--- a/breeze-gtk.spec
+++ b/breeze-gtk.spec
@@ -3,12 +3,21 @@
Summary: The Breeze theme for GTK+ windows
Name: breeze-gtk
-Version: 5.23.5
-Release: 3
+Version: 5.26.5
+Release: 1
License: GPL
Group: Graphical desktop/KDE
Url: http://www.kde.org
Source0: http://download.kde.org/%{stable}/plasma/%(echo %{version} |cut -d. -f1-3)/%{name}-%{version}.tar.xz
+# FIXME this is a really weird issue: On aarch64, the
+# build fails with a crash in pycairo, but as soon as
+# any sort of debugging is enabled, the problem goes
+# away.
+# This is obviously not the right "fix" - but in the
+# mean time, it does allow the package to be built and
+# if the problem returns, at least we'll get some
+# information about it.
+Patch0: debug.patch
BuildRequires: cmake(ECM)
BuildRequires: cmake(Breeze)
BuildRequires: pkgconfig(Qt5Core)
@@ -34,11 +43,11 @@ and environments, such as GNOME.
#-----------------------------------------------------------------------------
%prep
-%setup -q
-%cmake_kde5 -DWITH_GTK3_VERSION=3.20
+%autosetup -p1
+%cmake_kde5
%build
-%ninja -C build
+%ninja_build -C build
%install
%ninja_install -C build
diff --git a/debug.patch b/debug.patch
new file mode 100644
index 0000000..91dc68d
--- /dev/null
+++ b/debug.patch
@@ -0,0 +1,12 @@
+diff -up breeze-gtk-5.25.5/src/build_theme.sh.cmake.1~ breeze-gtk-5.25.5/src/build_theme.sh.cmake
+--- breeze-gtk-5.25.5/src/build_theme.sh.cmake.1~ 2022-09-06 12:59:48.000000000 +0100
++++ breeze-gtk-5.25.5/src/build_theme.sh.cmake 2022-09-07 14:00:54.868300277 +0100
+@@ -42,7 +42,7 @@ render_theme () {
+ THEME_BUILD_DIR="$(mktemp -d)"
+ create_folders "${THEME_BUILD_DIR}"
+ cp -R gtk2/* "${THEME_BUILD_DIR}/gtk-2.0/"
+- @PYTHON_EXECUTABLE@ render_assets.py -c "$1" -a "${THEME_BUILD_DIR}/assets" \
++ @PYTHON_EXECUTABLE@ -m trace --trace render_assets.py -c "$1" -a "${THEME_BUILD_DIR}/assets" \
+ -g "${THEME_BUILD_DIR}/gtk-2.0" -G "${THEME_BUILD_DIR}" -b "$4"
+ build_sass gtk3/gtk.scss "${THEME_BUILD_DIR}/gtk-3.0/gtk.css" "${THEME_BUILD_DIR}"
+ build_sass gtk4/gtk.scss "${THEME_BUILD_DIR}/gtk-4.0/gtk.css" "${THEME_BUILD_DIR}"