Compare commits

...

1 Commits

Author SHA1 Message Date
David Abdurachmanov d2685c58cc
Fix glib2 2.58 compilation error
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-08-12 07:21:12 +03:00
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 9b32898ceee74647c08b2a0ea9a57cccd6136c2b Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@igalia.com>
Date: Wed, 16 May 2018 13:01:12 -0500
Subject: [PATCH] thunderbolt: Fix build
Providing autocleanups for types you don't own is not a good idea, since
it breaks when upstream adds those autocleanups.
---
panels/thunderbolt/bolt-enums.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/panels/thunderbolt/bolt-enums.c b/panels/thunderbolt/bolt-enums.c
index de77737f8..bb34ba7c9 100644
--- a/panels/thunderbolt/bolt-enums.c
+++ b/panels/thunderbolt/bolt-enums.c
@@ -25,8 +25,10 @@
#include <gio/gio.h>
+#if !GLIB_CHECK_VERSION(2, 57, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GEnumClass, g_type_class_unref);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GFlagsClass, g_type_class_unref);
+#endif
gboolean
bolt_enum_class_validate (GEnumClass *enum_class,

View File

@ -10,7 +10,7 @@
Name: gnome-control-center
Version: 3.28.2
Release: 2%{?dist}
Release: 2.0.riscv64%{?dist}
Summary: Utilities to configure the GNOME desktop
License: GPLv2+ and CC-BY-SA
@ -25,6 +25,10 @@ Patch1: 0001-shell-Don-t-set-per-panel-icon.patch
Patch2: 0002-shell-Icon-name-helper-returns-symbolic-name.patch
Patch3: 0003-thunderbolt-new-panel-for-device-management.patch
Patch4: 0004-thunderbolt-move-to-the-Devices-page.patch
# See:
# - https://github.com/GNOME/gnome-control-center/commit/9b32898ceee74647c08b2a0ea9a57cccd6136c2b
# Fixes glib 2.58 compilation issue
Patch70: 9b32898ceee74647c08b2a0ea9a57cccd6136c2b.patch
BuildRequires: chrpath
BuildRequires: cups-devel
@ -194,6 +198,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
%dir %{_datadir}/gnome/wm-properties
%changelog
* Sun Aug 12 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.28.2-2.0.riscv64
- Fix glib2 2.57 compilation error
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild