diff --git a/0001-info-Remove-trailing-spaces-in-renderer-strings.patch b/0001-info-Remove-trailing-spaces-in-renderer-strings.patch new file mode 100644 index 0000000..8b15807 --- /dev/null +++ b/0001-info-Remove-trailing-spaces-in-renderer-strings.patch @@ -0,0 +1,25 @@ +From 887148033bdc9170d6cd33777854c64b713ac719 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Fri, 21 Oct 2016 19:39:07 +0200 +Subject: [PATCH] info: Remove trailing spaces in renderer strings + +https://bugzilla.gnome.org/show_bug.cgi?id=773213#c4 +--- + panels/info/cc-info-panel.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c +index 96129dc..209f07c 100644 +--- a/panels/info/cc-info-panel.c ++++ b/panels/info/cc-info-panel.c +@@ -237,6 +237,7 @@ prettify_info (const char *info) + return NULL; + + pretty = g_markup_escape_text (info, -1); ++ pretty = g_strchug (g_strchomp (pretty)); + + for (i = 0; i < G_N_ELEMENTS (rs); i++) + { +-- +2.9.3 + diff --git a/control-center.spec b/control-center.spec index 3d8f9da..7253c2f 100644 --- a/control-center.spec +++ b/control-center.spec @@ -10,7 +10,7 @@ Name: control-center Epoch: 1 Version: 3.22.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utilities to configure the GNOME desktop License: GPLv2+ and GFDL @@ -24,6 +24,7 @@ Patch0: distro-logo.patch # https://bugzilla.gnome.org/show_bug.cgi?id=773213 Patch1: 0001-info-Get-renderer-from-gnome-session-under-Wayland.patch Patch2: 0002-info-Show-both-GPUs-on-dual-GPU-machines.patch +Patch3: 0001-info-Remove-trailing-spaces-in-renderer-strings.patch BuildRequires: pkgconfig(accountsservice) BuildRequires: pkgconfig(cheese-gtk) >= 3.5.91 @@ -135,6 +136,7 @@ utilities. %patch0 -p1 -b .distro-logo %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %configure \ @@ -220,6 +222,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Fri Oct 21 2016 Bastien Nocera - 3.22.1-3 ++ control-center-3.22.1-3 +- Remove trailing spaces from renderer strings + * Fri Oct 21 2016 Bastien Nocera - 1:3.22.1-2 + control-center-3.22.1-2 - Show the correct GPUs available when under Wayland or with dual GPUs