Install missing gtkemojichooser.h

https://bugzilla.redhat.com/show_bug.cgi?id=1806509
This commit is contained in:
Kalev Lember 2020-03-12 09:29:48 +01:00
parent c404b2b052
commit d0e70b9b26
2 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,28 @@
From 1b95cd27bc6a1a7a213a9587a56ffe1e60b85e6c Mon Sep 17 00:00:00 2001
From: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
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

View File

@ -19,12 +19,14 @@
Name: gtk4 Name: gtk4
Version: 3.98.0 Version: 3.98.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: GTK graphical user interface library Summary: GTK graphical user interface library
License: LGPLv2+ License: LGPLv2+
URL: https://www.gtk.org URL: https://www.gtk.org
Source0: https://download.gnome.org/sources/gtk/3.98/gtk-%{version}.tar.xz 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: cups-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -129,7 +131,7 @@ This package contains developer documentation for version 4 of the GTK
widget toolkit. widget toolkit.
%prep %prep
%setup -q -n gtk-%{version} %autosetup -p1 -n gtk-%{version}
%build %build
export CFLAGS='-fno-strict-aliasing %optflags' export CFLAGS='-fno-strict-aliasing %optflags'
@ -231,6 +233,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_datadir}/gtk-doc %{_datadir}/gtk-doc
%changelog %changelog
* Thu Mar 12 2020 Kalev Lember <klember@redhat.com> - 3.98.0-2
- Install missing gtkemojichooser.h (#1806509)
* Tue Feb 11 2020 Kalev Lember <klember@redhat.com> - 3.98.0-1 * Tue Feb 11 2020 Kalev Lember <klember@redhat.com> - 3.98.0-1
- Update to 3.98.0 - Update to 3.98.0
- Use https for source URLs - Use https for source URLs