1
0

Accepting request 774249 from home:iznogood:branches:GNOME:Factory

- Update to version 3.34.4:
  + Thunderbolt: Fix memory leak.
  + Printers: Fix read of freed memory.
  + User Accounts:
    - Use absolute path of command usermod.
    - Fix carousel arrow location when animations are disabled.
    - Fix memory leak.
    - Fix uninitialized variable.
  + Region & Language: Fix LC_* variables not being correctly
    reset.
  + Sound: Add missing subwoofer icons.
  + Updated translations.
- Drop gnome-control-center-can-not-find-usermod.patch: Fixed
  upstream.

OBS-URL: https://build.opensuse.org/request/show/774249
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=437
This commit is contained in:
Bjørn Lie 2020-02-15 20:35:03 +00:00 committed by Git OBS Bridge
parent 5be9e5a1b6
commit 2a28296db0
7 changed files with 26 additions and 36 deletions

View File

@ -2,7 +2,7 @@
<service name="obs_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gnome-control-center.git</param>
<param name="revision">refs/tags/3.34.2</param>
<param name="revision">refs/tags/3.34.4</param>
<param name="versionformat">@PARENT_TAG@</param>
</service>
<service name="tar" mode="buildtime"/>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73897481652e5e1daaab40d3aeba419b3fde32466b3fa7acd2e3bee112dcca1c
size 41738765

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e1ddc32dba31f52cf35650b4c64dc78551c412241826daf86b677a3efec816d
size 41853453

View File

@ -1,25 +0,0 @@
From c6be204af030f23905ec7a69ab02c88a80f4a4f5 Mon Sep 17 00:00:00 2001
From: Xiaoguang Wang <xwang@suse.com>
Date: Wed, 11 Dec 2019 15:30:33 +0800
Subject: [PATCH] user-accounts: Use absolute path of command usermod
On distro openSUSE Tumbleweed and SUSE Linux Enterprise the path
of command usermod is not in environment variable PATH, we need to
use absolute path to find command.
---
panels/user-accounts/user-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: gnome-control-center-3.34.2/panels/user-accounts/user-utils.c
===================================================================
--- gnome-control-center-3.34.2.orig/panels/user-accounts/user-utils.c
+++ gnome-control-center-3.34.2/panels/user-accounts/user-utils.c
@@ -486,7 +486,7 @@ is_valid_username_async (const gchar *us
* future, so it would be nice to have some official way for this
* instead of relying on the current "--login" implementation.
*/
- argv[0] = "usermod";
+ argv[0] = "/usr/sbin/usermod";
argv[1] = "--login";
argv[2] = data->username;
argv[3] = "--";

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Feb 13 22:43:51 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.34.4:
+ Thunderbolt: Fix memory leak.
+ Printers: Fix read of freed memory.
+ User Accounts:
- Use absolute path of command usermod.
- Fix carousel arrow location when animations are disabled.
- Fix memory leak.
- Fix uninitialized variable.
+ Region & Language: Fix LC_* variables not being correctly
reset.
+ Sound: Add missing subwoofer icons.
+ Updated translations.
- Drop gnome-control-center-can-not-find-usermod.patch: Fixed
upstream.
-------------------------------------------------------------------
Fri Jan 10 18:56:00 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,5 +1,5 @@
name: gnome-control-center
version: 3.34.2
mtime: 1574693011
commit: 049df20eca021449eadc61960770e8d9709da16e
version: 3.34.4
mtime: 1581632758
commit: de0c355aa2a5ba37bc95d7230775df5fbcbe1a17

View File

@ -26,7 +26,7 @@
%endif
Name: gnome-control-center
Version: 3.34.2
Version: 3.34.4
Release: 0
Summary: The GNOME Control Center
License: GPL-2.0-or-later
@ -34,8 +34,6 @@ Group: System/GUI/GNOME
URL: https://www.gnome.org
Source0: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM gnome-control-center-can-not-find-usermod.patch bsc#1158341 glgo#GNOME/gnome-control-center!653 xwang@suse.com -- user-accounts: can't find command usermod
Patch1: gnome-control-center-can-not-find-usermod.patch
# PATCH-FIX-UPSTREAM gnome-control-center-Initialize-GError-to-NULL-before-use.patch xwang@suse.com -- user-accounts: Initialize GError* to NULL before use
Patch2: gnome-control-center-Initialize-GError-to-NULL-before-use.patch
# PATCH-FIX-UPSTREAM gnome-control-center-fno-common.patch boo#1160393 mgorse@suse.com -- fix build with -fno-common.
@ -195,7 +193,6 @@ GNOME control center.
%setup -q
translation-update-upstream po gnome-control-center-2.0
%patch1 -p1
%patch2 -p1
%patch3 -p1
# patches for Leap >= 15 plus SLE >= 15, but not TW