Accepting request 795259 from GNOME:Factory

Resub, spellfix (forwarded request 795115 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/795259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-control-center?expand=0&rev=189
This commit is contained in:
Dominique Leuenberger 2020-04-23 16:28:31 +00:00 committed by Git OBS Bridge
commit a53ee5eb1c
8 changed files with 97 additions and 84 deletions

View File

@ -1,15 +0,0 @@
<services>
<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.5</param>
<param name="versionformat">@PARENT_TAG@</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled" />
</services>

View File

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

View File

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

View File

@ -1,27 +0,0 @@
From 54caab7b0762b553e1e6663f416474fce77e4c51 Mon Sep 17 00:00:00 2001
From: Ting-Wei Lan <lantw@src.gnome.org>
Date: Thu, 29 Aug 2019 11:58:02 +0800
Subject: [PATCH] user-accounts: Initialize GError* to NULL before use
Otherwise, it causes warnings to be shown on the terminal when it is
used and quickly leads to a crash.
---
panels/user-accounts/user-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panels/user-accounts/user-utils.c b/panels/user-accounts/user-utils.c
index dfd3a2949..72401e40b 100644
--- a/panels/user-accounts/user-utils.c
+++ b/panels/user-accounts/user-utils.c
@@ -458,7 +458,7 @@ is_valid_username_async (const gchar *username,
isValidUsernameData *data;
gchar *argv[6];
GPid pid;
- GError *error;
+ GError *error = NULL;
task = g_task_new (NULL, cancellable, callback, callback_data);
g_task_set_source_tag (task, is_valid_username_async);
--
2.16.4

View File

@ -1,26 +0,0 @@
From 92b50d6037ff4d6ccd888beb5b01b55c50bc33ed Mon Sep 17 00:00:00 2001
From: Mike Gorse <mgorse@suse.com>
Date: Thu, 9 Jan 2020 14:11:40 -0600
Subject: [PATCH] Thunderbolt: make BoltError enum a typedef
Fixes error when compiled with -fno-common
---
panels/thunderbolt/bolt-error.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panels/thunderbolt/bolt-error.h b/panels/thunderbolt/bolt-error.h
index 39b3eee98..7d3823d35 100644
--- a/panels/thunderbolt/bolt-error.h
+++ b/panels/thunderbolt/bolt-error.h
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
*
* Error codes used inside Bolt.
*/
-enum {
+typedef enum {
BOLT_ERROR_FAILED = 0,
BOLT_ERROR_UDEV,
BOLT_ERROR_NOKEY,
--
2.24.1

View File

@ -1,3 +1,94 @@
-------------------------------------------------------------------
Mon Mar 30 08:25:53 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.36.1:
+ Update man page for info panel change.
+ Display: Fix resolution options getting stuck in a low
resolution.
+ Sound: Remove unused files.
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 30 08:25:52 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.36.0:
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 30 08:25:51 UTC 2020 - mgorse@suse.com
- Update to version 3.35.92:
+ Applications: Update icon.
+ Background:
- Remove split desktop and lock screen wallpapers.
- Improve visuals of the background icons.
+ Network: Make VPN gear buttons consistent with other buttons.
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 30 08:25:50 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.35.91:
+ Share GCancellable code
+ Background: Remove unused GCancellable.
+ Power: Fix mobile broadband switch logic.
+ Sharing: Remember password on remote desktop sharing.
+ Thunderbolt: Fix GCancellable leak.
+ User Accounts: Always generate user avatars.
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 30 08:25:49 UTC 2020 - dimstar@opensuse.org
- Update to version 3.35.90:
+ New sidebar panel order and grouping.
+ Introduce CcPermissionInfoBar.
+ More code style updates.
+ Applications:
- Add "Run in Background" switch.
- Add "Set Desktop Background" switch.
- Show snap packages.
+ Network:
- Add SAE support.
- Many code refactorings.
- Switch to use GtkTemplate.
+ Power: Hide power button the chassis is handset.
+ Printers: Use CcPermissionInfoBar.
+ Region & Language: New design for the Formats dialog.
+ User Accounts:
- Use CcPermissionInfoBar.
- Improved layout.
- Changes from version 3.35.2:
+ Tighten up code style.
+ Improve timezone for various countries.
+ Replace deprecated logging functions with modern equivalents.
+ Background: Update clock in both preview modes.
+ Date & Time: Allow changing the timezone when auto-update is
prohibited.
+ Display: Replace CC_DISPLAY_*_GET_PRIVATE.
+ Info:
- Implement new design.
- Add windowing system field.
+ Network
- Add new hotspot creation dialog.
- Major cleanups and code refactorings.
- Plug various memory leaks.
+ Privacy: Drop the panel and replace it by various subpanels.
+ Search: Make rows and its elements reachable via keyboard.
+ Sharing: Set new shared folder visible as soon as it gets
added.
+ Sound: Remove leftover canberra-gtk header inclusion.
+ Universal Access: Make rows and its elements reachable via
keyboard.
+ User Accounts: Use 'pw usershow' to check username validity on
FreeBSD.
+ Updated translations.
- Drop gnome-control-center-can-not-find-usermod.patch,
gnome-control-center-fno-common.patch and
gnome-control-center-Initialize-GError-to-NULL-before-use.patch:
fixed upstream.
- Switch back to regular release tarballs.
-------------------------------------------------------------------
Mon Mar 30 08:25:48 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,5 +0,0 @@
name: gnome-control-center
version: 3.34.5
mtime: 1585531855
commit: d2a1a35be8ea6cef98d54becc90360d3931f11d6

View File

@ -26,18 +26,14 @@
%endif
Name: gnome-control-center
Version: 3.34.5
Version: 3.36.1
Release: 0
Summary: The GNOME Control Center
License: GPL-2.0-or-later
Group: System/GUI/GNOME
URL: https://www.gnome.org
Source0: %{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/gnome-control-center/3.36/%{name}-%{version}.tar.xz
# 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.
Patch3: gnome-control-center-fno-common.patch
### patches for Leap >= 15 plus SLE >= 15, but not TW
# PATCH-FEATURE-SLE gnome-control-center-info-never-use-gnome-software.patch bsc#999336 fezhang@suse.com -- info: Never search for gnome-software as an option when checking for updates on SLE and Leap 42.2, because we use gpk-update-viewer.
Patch1001: gnome-control-center-info-never-use-gnome-software.patch
@ -193,8 +189,6 @@ GNOME control center.
%setup -q
translation-update-upstream po gnome-control-center-2.0
%patch2 -p1
%patch3 -p1
# patches for Leap >= 15 plus SLE >= 15, but not TW
%if 0%{?sle_version} >= 150000
%patch1001 -p1
@ -251,6 +245,7 @@ rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
%dir %{_datadir}/sounds/gnome/default/alerts
%{_datadir}/sounds/gnome/default/alerts/*.ogg
%{_libexecdir}/cc-remote-login-helper
%{_libexecdir}/gnome-control-center-print-renderer
%{_libexecdir}/gnome-control-center-search-provider
%{_mandir}/man1/gnome-control-center.1%{?ext_man}