From e0247adde262bd96fdece3480c8dfaa28eb38ee6 Mon Sep 17 00:00:00 2001 From: "Matthew S. Turnbull" Date: Sun, 24 Nov 2024 06:19:42 -0500 Subject: [PATCH] gnome-extra/cinnamon: Fix gtk-doc build Closes: https://bugs.gentoo.org/944188 Signed-off-by: Matthew S. Turnbull Closes: https://github.com/gentoo/gentoo/pull/39445 Signed-off-by: Eli Schwartz --- gnome-extra/cinnamon/cinnamon-6.2.9.ebuild | 4 + ...nnamon-6.2.0-remove-gtk-doc-recorder.patch | 74 +++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 gnome-extra/cinnamon/files/cinnamon-6.2.0-remove-gtk-doc-recorder.patch diff --git a/gnome-extra/cinnamon/cinnamon-6.2.9.ebuild b/gnome-extra/cinnamon/cinnamon-6.2.9.ebuild index 8c997830c621b..34e200355b06c 100644 --- a/gnome-extra/cinnamon/cinnamon-6.2.9.ebuild +++ b/gnome-extra/cinnamon/cinnamon-6.2.9.ebuild @@ -127,6 +127,10 @@ PATCHES=( # Fix path for settings panels on arm64 # https://github.com/linuxmint/cinnamon/pull/12278 "${FILESDIR}/${PN}-6.2.0-fix-arm64-settings-panel-path.patch" + + # Remove reference to non-existant gtk-doc file + # https://github.com/linuxmint/cinnamon/commit/1e43299b9ad548c9395edfd456cbba017ca02b9f + "${FILESDIR}/${PN}-6.2.0-remove-gtk-doc-recorder.patch" ) src_prepare() { diff --git a/gnome-extra/cinnamon/files/cinnamon-6.2.0-remove-gtk-doc-recorder.patch b/gnome-extra/cinnamon/files/cinnamon-6.2.0-remove-gtk-doc-recorder.patch new file mode 100644 index 0000000000000..ee93032177d9a --- /dev/null +++ b/gnome-extra/cinnamon/files/cinnamon-6.2.0-remove-gtk-doc-recorder.patch @@ -0,0 +1,74 @@ +From 1e43299b9ad548c9395edfd456cbba017ca02b9f Mon Sep 17 00:00:00 2001 +From: Rick Calixte <10281587+rcalixte@users.noreply.github.com> +Date: Wed, 2 Oct 2024 11:09:58 -0400 +Subject: [PATCH] docs: Remove recorder.xml.in (#12395) + +This file references another for inclusion that no longer exists. With +gtk-doc-tools 1.34.0, stricter checking is enabled that results in a failure +which halts the build process due to this invalid file reference. +--- + docs/reference/cinnamon/cinnamon-docs.sgml | 1 - + docs/reference/cinnamon/meson.build | 15 +-------------- + docs/reference/cinnamon/recorder.xml.in | 12 ------------ + 3 files changed, 1 insertion(+), 27 deletions(-) + delete mode 100644 docs/reference/cinnamon/recorder.xml.in + +diff --git a/docs/reference/cinnamon/cinnamon-docs.sgml b/docs/reference/cinnamon/cinnamon-docs.sgml +index bd5bebd793..4e79c29933 100644 +--- a/docs/reference/cinnamon/cinnamon-docs.sgml ++++ b/docs/reference/cinnamon/cinnamon-docs.sgml +@@ -35,7 +35,6 @@ + + + +- + + Integration helpers and utilities + +diff --git a/docs/reference/cinnamon/meson.build b/docs/reference/cinnamon/meson.build +index fec3ed34de..0123077f0e 100644 +--- a/docs/reference/cinnamon/meson.build ++++ b/docs/reference/cinnamon/meson.build +@@ -7,23 +7,10 @@ ignore = [ + sniffer_headers, + ] + +-recorder_conf = configuration_data() +- +-if get_option('build_recorder') +- recorder_conf.set('BUILD_RECORDER_XML_START', '-->') +- recorder_conf.set('BUILD_RECORDER_XML_END', '