From d0e70b9b26ba7dce21aacfa2a7bd38c714650b38 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 12 Mar 2020 09:29:48 +0100 Subject: [PATCH] Install missing gtkemojichooser.h https://bugzilla.redhat.com/show_bug.cgi?id=1806509 --- 0001-build-Install-gtkemojichooser.h.patch | 28 ++++++++++++++++++++++ gtk4.spec | 9 +++++-- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 0001-build-Install-gtkemojichooser.h.patch diff --git a/0001-build-Install-gtkemojichooser.h.patch b/0001-build-Install-gtkemojichooser.h.patch new file mode 100644 index 0000000..5033405 --- /dev/null +++ b/0001-build-Install-gtkemojichooser.h.patch @@ -0,0 +1,28 @@ +From 1b95cd27bc6a1a7a213a9587a56ffe1e60b85e6c Mon Sep 17 00:00:00 2001 +From: Georges Basile Stavracas Neto +Date: Wed, 12 Feb 2020 15:41:49 -0300 +Subject: [PATCH] build: Install gtkemojichooser.h + +It was made public at ef7172dc1ee86a, but the header file +wasn't added to the public headers list. + +Add the header file to the list. +--- + gtk/meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gtk/meson.build b/gtk/meson.build +index 295ed0af6d..52badca381 100644 +--- a/gtk/meson.build ++++ b/gtk/meson.build +@@ -461,6 +461,7 @@ gtk_public_headers = files([ + 'gtkdragsource.h', + 'gtkdrawingarea.h', + 'gtkeditable.h', ++ 'gtkemojichooser.h', + 'gtkentry.h', + 'gtkentrybuffer.h', + 'gtkentrycompletion.h', +-- +2.24.1 + diff --git a/gtk4.spec b/gtk4.spec index 7cf0068..0983fae 100644 --- a/gtk4.spec +++ b/gtk4.spec @@ -19,12 +19,14 @@ Name: gtk4 Version: 3.98.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK graphical user interface library License: LGPLv2+ URL: https://www.gtk.org Source0: https://download.gnome.org/sources/gtk/3.98/gtk-%{version}.tar.xz +# Backported from upstream +Patch0: 0001-build-Install-gtkemojichooser.h.patch BuildRequires: cups-devel BuildRequires: desktop-file-utils @@ -129,7 +131,7 @@ This package contains developer documentation for version 4 of the GTK widget toolkit. %prep -%setup -q -n gtk-%{version} +%autosetup -p1 -n gtk-%{version} %build export CFLAGS='-fno-strict-aliasing %optflags' @@ -231,6 +233,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_datadir}/gtk-doc %changelog +* Thu Mar 12 2020 Kalev Lember - 3.98.0-2 +- Install missing gtkemojichooser.h (#1806509) + * Tue Feb 11 2020 Kalev Lember - 3.98.0-1 - Update to 3.98.0 - Use https for source URLs