Update to 3.11.90

This commit is contained in:
Richard Hughes 2014-02-28 11:26:43 +00:00
parent 86014e81f2
commit a0078cc5d9
6 changed files with 8 additions and 75 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/gnome-initial-setup-3.10.0.tar.xz
/gnome-initial-setup-3.10.0.1.tar.xz
/gnome-initial-setup-3.10.1.1.tar.xz
/gnome-initial-setup-3.11.90.tar.xz

View File

@ -1,25 +0,0 @@
From 93340174b7e13ec85ce82f299ffcd577a33902fa Mon Sep 17 00:00:00 2001
From: Rui Matos <tiagomatos@gmail.com>
Date: Fri, 29 Nov 2013 18:15:34 +0100
Subject: [PATCH] Disable GOA page in new user mode
---
gnome-initial-setup/gnome-initial-setup.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnome-initial-setup/gnome-initial-setup.c b/gnome-initial-setup/gnome-initial-setup.c
index 0cb370a..145d3be 100644
--- a/gnome-initial-setup/gnome-initial-setup.c
+++ b/gnome-initial-setup/gnome-initial-setup.c
@@ -105,6 +105,8 @@ should_skip_page (GisDriver *driver,
}
break;
case GIS_DRIVER_MODE_NEW_USER:
+ if (g_strcmp0 ("goa", page_id) == 0)
+ return TRUE;
default:
break;
}
--
1.8.3.1

View File

@ -1,27 +0,0 @@
From 48302b7796e7016dc563f3d6366982f073b27ebe Mon Sep 17 00:00:00 2001
From: "Jasper St. Pierre" <jstpierre@mecheye.net>
Date: Sat, 9 Nov 2013 11:43:48 -0500
Subject: [PATCH] goa: Prevent a use-after-free
If the user dismisses the dialog, we'll get an error and free it,
but forget to set it to NULL, and segfault.
---
gnome-initial-setup/pages/goa/gis-goa-page.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnome-initial-setup/pages/goa/gis-goa-page.c b/gnome-initial-setup/pages/goa/gis-goa-page.c
index 85b8ff5..3228159 100644
--- a/gnome-initial-setup/pages/goa/gis-goa-page.c
+++ b/gnome-initial-setup/pages/goa/gis-goa-page.c
@@ -106,7 +106,7 @@ on_have_providers (GObject *source,
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
- g_error_free (error);
+ g_clear_error (&error);
}
g_list_free_full (providers, g_object_unref);
--
1.8.3.1

View File

@ -1,21 +1,16 @@
Name: gnome-initial-setup
Version: 3.10.1.1
Release: 5%{?dist}
Version: 3.11.90
Release: 1%{?dist}
Summary: Bootstrapping your OS
License: GPLv2+
URL: https://live.gnome.org/GnomeOS/Design/Whiteboards/InitialSetup
Source0: http://download.gnome.org/sources/%{name}/3.10/%{name}-%{version}.tar.xz
Source0: http://download.gnome.org/sources/%{name}/3.11/%{name}-%{version}.tar.xz
# this depends on a yelp patch that hasn't been merged upstream yet
# https://bugzilla.gnome.org/show_bug.cgi?id=687957
Patch0: yelp-fixes.patch
# upstream fix
Patch1: goa-add.patch
Patch2: 0001-goa-Prevent-a-use-after-free.patch
Patch3: 0001-Disable-GOA-page-in-new-user-mode.patch
%global nm_version 0.9.6.4
%global glib_required_version 2.36.0
%global gtk_required_version 3.7.11
@ -70,9 +65,6 @@ you through configuring it. It is integrated with gdm.
%prep
%setup -q
%patch0 -p1 -b .yelp-fixes
%patch1 -p1 -b .goa
%patch2 -p1
%patch3 -p1
%build
%configure
@ -112,6 +104,9 @@ useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} &>/dev/null ||
%{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules
%changelog
* Fri Feb 28 2014 Richard Hughes <rhughes@redhat.com> - 3.11.90-1
- Update to 3.11.90
* Wed Feb 19 2014 Kalev Lember <kalevlember@gmail.com> - 3.10.1.1-5
- Rebuilt for libgnome-desktop soname bump

View File

@ -1,11 +0,0 @@
diff -up gnome-initial-setup-3.10.1.1/gnome-initial-setup/pages/goa/gis-goa-page.c.goa gnome-initial-setup-3.10.1.1/gnome-initial-setup/pages/goa/gis-goa-page.c
--- gnome-initial-setup-3.10.1.1/gnome-initial-setup/pages/goa/gis-goa-page.c.goa 2013-11-01 20:03:47.453759134 -0400
+++ gnome-initial-setup-3.10.1.1/gnome-initial-setup/pages/goa/gis-goa-page.c 2013-11-01 20:03:59.450736921 -0400
@@ -81,6 +81,7 @@ on_have_providers (GObject *source
goa_panel_add_account_dialog_add_provider (GOA_PANEL_ADD_ACCOUNT_DIALOG (dialog), provider);
}
+ gtk_widget_show_all (dialog);
goa_panel_add_account_dialog_run (GOA_PANEL_ADD_ACCOUNT_DIALOG (dialog));
goa_panel_add_account_dialog_get_account (GOA_PANEL_ADD_ACCOUNT_DIALOG (dialog), &error);
gtk_widget_destroy (dialog);

View File

@ -1 +1 @@
a66a23a85d0b8f2cbff70cc68572e84c gnome-initial-setup-3.10.1.1.tar.xz
e2abd0e3d31910d1827d83211007ebe9 gnome-initial-setup-3.11.90.tar.xz