After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783388 - Misc patches from Endless downstream tree
Misc patches from Endless downstream tree
Status: RESOLVED FIXED
Product: gnome-initial-setup
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Initial Setup maintainer(s)
GNOME Initial Setup maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-06-03 18:32 UTC by Cosimo Cecchi
Modified: 2017-06-12 16:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: add tar-ustar to AM_INIT_AUTOMAKE (706 bytes, patch)
2017-06-03 18:33 UTC, Cosimo Cecchi
committed Details | Review
polkit: allow control over NetworkManager actions (1.28 KB, patch)
2017-06-03 18:33 UTC, Cosimo Cecchi
committed Details | Review
driver: update GTK text direction when locale changes (1020 bytes, patch)
2017-06-03 18:33 UTC, Cosimo Cecchi
committed Details | Review
build: add an option to specify vendor configuration file (1.07 KB, patch)
2017-06-03 18:33 UTC, Cosimo Cecchi
committed Details | Review
gnome-initial-setup: use new vendor configuration file to skip pages (3.10 KB, patch)
2017-06-03 18:33 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2017-06-03 18:32:58 UTC
We recently rebased gnome-initial-setup and these patches seemed nice to bring upstream; there are others but will consider them separately.
Comment 1 Cosimo Cecchi 2017-06-03 18:33:00 UTC
Created attachment 353119 [details] [review]
build: add tar-ustar to AM_INIT_AUTOMAKE
Comment 2 Cosimo Cecchi 2017-06-03 18:33:03 UTC
Created attachment 353120 [details] [review]
polkit: allow control over NetworkManager actions

This patch is shipped in Debian and Endless by default; since
gnome-initial-setup allows configuring connections, polkit should be
configured to allow it.
Comment 3 Cosimo Cecchi 2017-06-03 18:33:06 UTC
Created attachment 353121 [details] [review]
driver: update GTK text direction when locale changes

This fixes issues when switching between a RTL and LTR locale from the
initial language list.
Comment 4 Cosimo Cecchi 2017-06-03 18:33:09 UTC
Created attachment 353122 [details] [review]
build: add an option to specify vendor configuration file

This file will contain customization values for vendor extension
points.
Comment 5 Cosimo Cecchi 2017-06-03 18:33:12 UTC
Created attachment 353123 [details] [review]
gnome-initial-setup: use new vendor configuration file to skip pages

This will allow defining a custom list of skipped pages as part of
vendor image configuration.
Comment 6 Rui Matos 2017-06-12 15:31:51 UTC
Review of attachment 353119 [details] [review]:

sure
Comment 7 Rui Matos 2017-06-12 15:32:31 UTC
Review of attachment 353120 [details] [review]:

makes sense
Comment 8 Rui Matos 2017-06-12 15:51:27 UTC
Review of attachment 353121 [details] [review]:

wonder how we got this far without this

::: gnome-initial-setup/gis-driver.c
@@ +231,3 @@
+
+  direction = gtk_get_locale_direction ();
+  gtk_widget_set_default_direction (direction);

shouldn't this be called before rebuild_pages() since we create the new page instances there?
Comment 9 Rui Matos 2017-06-12 16:00:52 UTC
Review of attachment 353123 [details] [review]:

::: gnome-initial-setup/gnome-initial-setup.c
@@ -106,3 @@
   skip_pages_file = g_key_file_new ();
-  /* TODO: put the skipfile somewhere sensible */
-  if (g_key_file_load_from_file (skip_pages_file, "/tmp/skip_pages_file",

hopefully no-one is using this...
Comment 10 Rui Matos 2017-06-12 16:00:59 UTC
Review of attachment 353122 [details] [review]:

lgtm
Comment 11 Cosimo Cecchi 2017-06-12 16:43:23 UTC
Thanks, pushed with the suggested change.

Attachment 353119 [details] pushed as 5bbcf59 - build: add tar-ustar to AM_INIT_AUTOMAKE
Attachment 353120 [details] pushed as 8c9c450 - polkit: allow control over NetworkManager actions
Attachment 353121 [details] pushed as db0b19d - driver: update GTK text direction when locale changes
Attachment 353122 [details] pushed as c794f26 - build: add an option to specify vendor configuration file
Attachment 353123 [details] pushed as 8efc550 - gnome-initial-setup: use new vendor configuration file to skip pages