Accepting request 494454 from GNOME:Factory
New stable rel (forwarded request 494400 from Zaitor) OBS-URL: https://build.opensuse.org/request/show/494454 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-control-center?expand=0&rev=153
This commit is contained in:
commit
9368dc7d0e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:30cc8e19fdddf4bde7607fa3897bbba837659e1df9db0de8741723053889a53c
|
|
||||||
size 7343036
|
|
3
gnome-control-center-3.24.2.tar.xz
Normal file
3
gnome-control-center-3.24.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:382a4b1bf54754c1f5f83adb1faeca2e9de70df5d3d85ac6b0fb192801518f2b
|
||||||
|
size 7269112
|
46
gnome-control-center-info-disc-size-for-btrfs.patch
Normal file
46
gnome-control-center-info-disc-size-for-btrfs.patch
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
|
||||||
|
index d904f6c..d9d3504 100644
|
||||||
|
--- a/panels/info/cc-info-panel.c
|
||||||
|
+++ b/panels/info/cc-info-panel.c
|
||||||
|
@@ -547,7 +547,9 @@ get_primary_disc_info (CcInfoPanel *self)
|
||||||
|
{
|
||||||
|
GList *points;
|
||||||
|
GList *p;
|
||||||
|
+ GHashTable *hash;
|
||||||
|
|
||||||
|
+ hash = g_hash_table_new (g_str_hash, g_str_equal);
|
||||||
|
points = g_unix_mount_points_get (NULL);
|
||||||
|
|
||||||
|
/* If we do not have /etc/fstab around, try /etc/mtab */
|
||||||
|
@@ -558,21 +560,30 @@ get_primary_disc_info (CcInfoPanel *self)
|
||||||
|
{
|
||||||
|
GUnixMountEntry *mount = p->data;
|
||||||
|
const char *mount_path;
|
||||||
|
+ const char *device_path;
|
||||||
|
|
||||||
|
mount_path = g_unix_mount_get_mount_path (mount);
|
||||||
|
+ device_path = g_unix_mount_get_device_path (mount);
|
||||||
|
+
|
||||||
|
+ /* Do not count multiple mounts with same device_path, because it is
|
||||||
|
+ * probably something like btrfs subvolume. Use only the first one in
|
||||||
|
+ * order to count the real size. */
|
||||||
|
|
||||||
|
if (gsd_should_ignore_unix_mount (mount) ||
|
||||||
|
gsd_is_removable_mount (mount) ||
|
||||||
|
g_str_has_prefix (mount_path, "/media/") ||
|
||||||
|
- g_str_has_prefix (mount_path, g_get_home_dir ()))
|
||||||
|
+ g_str_has_prefix (mount_path, g_get_home_dir ()) ||
|
||||||
|
+ g_hash_table_lookup (hash, device_path) != NULL)
|
||||||
|
{
|
||||||
|
g_unix_mount_free (mount);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
self->priv->primary_mounts = g_list_prepend (self->priv->primary_mounts, mount);
|
||||||
|
+ g_hash_table_insert (hash, (gpointer) device_path, (gpointer) device_path);
|
||||||
|
}
|
||||||
|
g_list_free (points);
|
||||||
|
+ g_hash_table_destroy (hash);
|
||||||
|
|
||||||
|
get_primary_disc_info_start (self);
|
||||||
|
}
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 10 17:16:08 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.24.2:
|
||||||
|
+ Memory leak and correctness fixes.
|
||||||
|
+ Keyboard: Discard the added shortcut on Escape.
|
||||||
|
+ Network: Fix mobile broadband switch state.
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 3 06:01:24 UTC 2017 - fezhang@suse.com
|
||||||
|
|
||||||
|
- Add gnome-control-center-info-disc-size-for-btrfs.patch:
|
||||||
|
Fix total disc size for btrfs subvolumes displayed in info panel,
|
||||||
|
backported upstream commit b619f7c (bsc#890385, bsc#1037234,
|
||||||
|
bgo#708786).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 24 16:56:35 UTC 2017 - dimstar@opensuse.org
|
Mon Apr 24 16:56:35 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
%define with_cacert_patch 0
|
%define with_cacert_patch 0
|
||||||
|
|
||||||
Name: gnome-control-center
|
Name: gnome-control-center
|
||||||
Version: 3.24.1
|
Version: 3.24.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The GNOME Control Center
|
Summary: The GNOME Control Center
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
@ -52,6 +52,8 @@ Patch20: gnome-control-center-disable-error-message-for-NM.patch
|
|||||||
Patch21: gnome-control-center-info-never-use-gnome-software.patch
|
Patch21: gnome-control-center-info-never-use-gnome-software.patch
|
||||||
# PATCH-FIX-OPENSUSE gnome-control-center-more-power-button-actions.patch bsc#993381 fezhang@suse.com -- power: Bring back the "shutdown" and "interactive" power button actions.
|
# PATCH-FIX-OPENSUSE gnome-control-center-more-power-button-actions.patch bsc#993381 fezhang@suse.com -- power: Bring back the "shutdown" and "interactive" power button actions.
|
||||||
Patch22: gnome-control-center-more-power-button-actions.patch
|
Patch22: gnome-control-center-more-power-button-actions.patch
|
||||||
|
# PATCH-FIX-UPSTREAM gnome-control-center-info-disc-size-for-btrfs.patch bsc#890385 bsc#1037234 bgo#708786 fezhang@suse.com -- info: Fix total disc size for btrfs subvolumes
|
||||||
|
Patch23: gnome-control-center-info-disc-size-for-btrfs.patch
|
||||||
BuildRequires: cups-devel
|
BuildRequires: cups-devel
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -218,6 +220,7 @@ translation-update-upstream
|
|||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch22 -p1
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ACLOCAL_FLAGS="-I libgd" NOCONFIGURE=1 gnome-autogen.sh
|
ACLOCAL_FLAGS="-I libgd" NOCONFIGURE=1 gnome-autogen.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user