From 22baa6a902b5266ce02c25685dfbec390c04775dd25d0ff988acfeacdb767f47 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 17 Oct 2019 12:22:36 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-initial-setup?expand=0&rev=71 --- gnome-initial-setup-3.12.1.tar.xz | 3 - gnome-initial-setup-3.34.1.tar.xz | 3 + ...al-setup-disable-dep-on-started-docs.patch | 30 + ...nitial-setup-mozc-engine-prioritized.patch | 48 ++ gnome-initial-setup-only-launch-CJK.patch | 45 ++ gnome-initial-setup-only-setup-keyboard.patch | 23 + gnome-initial-setup.changes | 578 ++++++++++++++++++ gnome-initial-setup.spec | 82 ++- 8 files changed, 788 insertions(+), 24 deletions(-) delete mode 100644 gnome-initial-setup-3.12.1.tar.xz create mode 100644 gnome-initial-setup-3.34.1.tar.xz create mode 100644 gnome-initial-setup-disable-dep-on-started-docs.patch create mode 100644 gnome-initial-setup-mozc-engine-prioritized.patch create mode 100644 gnome-initial-setup-only-launch-CJK.patch create mode 100644 gnome-initial-setup-only-setup-keyboard.patch diff --git a/gnome-initial-setup-3.12.1.tar.xz b/gnome-initial-setup-3.12.1.tar.xz deleted file mode 100644 index f474ee1..0000000 --- a/gnome-initial-setup-3.12.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce038570145c19453d1eb6da957903098f8ddcf2786d9e3d54c38e3b831a64a3 -size 2302208 diff --git a/gnome-initial-setup-3.34.1.tar.xz b/gnome-initial-setup-3.34.1.tar.xz new file mode 100644 index 0000000..681fe5f --- /dev/null +++ b/gnome-initial-setup-3.34.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e71f10ef6b631cd92ffde774e4130b32b2494b4df5ef288375d8b1957eeabfa1 +size 1362240 diff --git a/gnome-initial-setup-disable-dep-on-started-docs.patch b/gnome-initial-setup-disable-dep-on-started-docs.patch new file mode 100644 index 0000000..bc4db91 --- /dev/null +++ b/gnome-initial-setup-disable-dep-on-started-docs.patch @@ -0,0 +1,30 @@ +Index: gnome-initial-setup-3.26.0/gnome-initial-setup/gnome-initial-setup-copy-worker.c +=================================================================== +--- gnome-initial-setup-3.26.0.orig/gnome-initial-setup/gnome-initial-setup-copy-worker.c ++++ gnome-initial-setup-3.26.0/gnome-initial-setup/gnome-initial-setup-copy-worker.c +@@ -89,7 +89,6 @@ main (int argc, + move_file_from_homedir (src, dest, path); + + FILE (".config/gnome-initial-setup-done"); +- FILE (".config/run-welcome-tour"); + FILE (".config/dconf/user"); + FILE (".config/goa-1.0/accounts.conf"); + FILE (".config/monitors.xml"); +Index: gnome-initial-setup-3.26.0/gnome-initial-setup/gnome-initial-setup.c +=================================================================== +--- gnome-initial-setup-3.26.0.orig/gnome-initial-setup/gnome-initial-setup.c ++++ gnome-initial-setup-3.26.0/gnome-initial-setup/gnome-initial-setup.c +@@ -285,13 +285,6 @@ gis_ensure_stamp_files (void) + gchar *file; + GError *error = NULL; + +- file = g_build_filename (g_get_user_config_dir (), "run-welcome-tour", NULL); +- if (!g_file_set_contents (file, "yes", -1, &error)) { +- g_warning ("Unable to create %s: %s", file, error->message); +- g_clear_error (&error); +- } +- g_free (file); +- + file = g_build_filename (g_get_user_config_dir (), "gnome-initial-setup-done", NULL); + if (!g_file_set_contents (file, "yes", -1, &error)) { + g_warning ("Unable to create %s: %s", file, error->message); diff --git a/gnome-initial-setup-mozc-engine-prioritized.patch b/gnome-initial-setup-mozc-engine-prioritized.patch new file mode 100644 index 0000000..a1696d5 --- /dev/null +++ b/gnome-initial-setup-mozc-engine-prioritized.patch @@ -0,0 +1,48 @@ +Index: gnome-initial-setup-3.31.90/gnome-initial-setup/pages/keyboard/cc-input-chooser.c +=================================================================== +--- gnome-initial-setup-3.31.90.orig/gnome-initial-setup/pages/keyboard/cc-input-chooser.c 2019-02-04 23:16:02.000000000 +0100 ++++ gnome-initial-setup-3.31.90/gnome-initial-setup/pages/keyboard/cc-input-chooser.c 2019-02-20 13:26:23.074350247 +0100 +@@ -273,6 +273,14 @@ sync_checkmark (GtkWidget *row, + should_be_visible = FALSE; + else + should_be_visible = g_strcmp0 (widget->id, priv->id) == 0 && g_strcmp0 (widget->type, priv->type) == 0; ++ ++ if ((g_strcmp0 (widget->id, "jp") == 0) && ++ (g_strcmp0 (priv->id, "jp") == 0)) ++ should_be_visible = FALSE; ++ ++ if (g_strcmp0 (widget->id, "mozc-jp") == 0) ++ should_be_visible = TRUE; ++ + gtk_widget_set_opacity (widget->checkmark, should_be_visible ? 1.0 : 0.0); + + if (widget->is_extra && should_be_visible) +@@ -451,6 +459,13 @@ input_visible (GtkListBoxRow *row, + + widget = get_input_widget (child); + ++ if((g_strcmp0 (widget->id, "mozc-jp") == 0) || ++ (g_strcmp0 (widget->id, "anthy") == 0)) ++ return TRUE; ++ ++ if(g_strcmp0 (widget->id, "Japanese (Mozc)") == 0) ++ return FALSE; ++ + if (!priv->showing_extra && widget->is_extra) + return FALSE; + +@@ -478,6 +493,14 @@ sort_inputs (GtkListBoxRow *a, + if (lb == NULL) + return -1; + ++ if (g_strcmp0 (la->id, "mozc-jp") == 0 || ++ g_strcmp0 (la->id, "anthy") == 0) ++ return -1; ++ ++ if (g_strcmp0 (lb->id, "mozc-jp") == 0 || ++ g_strcmp0 (lb->id, "anthy") == 0) ++ return 1; ++ + if (la->is_extra && !lb->is_extra) + return 1; + diff --git a/gnome-initial-setup-only-launch-CJK.patch b/gnome-initial-setup-only-launch-CJK.patch new file mode 100644 index 0000000..a83f6c2 --- /dev/null +++ b/gnome-initial-setup-only-launch-CJK.patch @@ -0,0 +1,45 @@ +Index: gnome-initial-setup-3.20.1/gnome-initial-setup/gnome-initial-setup.c +=================================================================== +--- gnome-initial-setup-3.20.1.orig/gnome-initial-setup/gnome-initial-setup.c ++++ gnome-initial-setup-3.20.1/gnome-initial-setup/gnome-initial-setup.c +@@ -184,6 +184,30 @@ get_mode (void) + return GIS_DRIVER_MODE_NEW_USER; + } + ++static gboolean ++language_is_CJK() ++{ ++ gchar **env = g_get_environ (); ++ const gchar *value = g_environ_getenv (env, "LANG"); ++ ++ if (g_ascii_strcasecmp(value, "zh_CN.UTF-8") && ++ g_ascii_strcasecmp(value, "zh_HK.UTF-8") && ++ g_ascii_strcasecmp(value, "zh_MO.UTF-8") && ++ g_ascii_strcasecmp(value, "zh_TW.UTF-8") && ++ g_ascii_strcasecmp(value, "zh_SG.UTF-8") && ++ g_ascii_strcasecmp(value, "zh_MO.UTF-8") && ++ g_ascii_strcasecmp(value, "zh_MO.UTF-8") && ++ g_ascii_strcasecmp(value, "ja_JP.UTF-8") && ++ g_ascii_strcasecmp(value, "ko_KR.UTF-8")) { ++ g_strfreev(env); ++ return FALSE; ++ } ++ else { ++ g_strfreev(env); ++ return TRUE; ++ } ++} ++ + int + main (int argc, char *argv[]) + { +@@ -192,6 +216,9 @@ main (int argc, char *argv[]) + GOptionContext *context; + GisDriverMode mode; + ++ if (!language_is_CJK()) ++ return status; ++ + GOptionEntry entries[] = { + { "existing-user", 0, 0, G_OPTION_ARG_NONE, &force_existing_user_mode, + _("Force existing user mode"), NULL }, diff --git a/gnome-initial-setup-only-setup-keyboard.patch b/gnome-initial-setup-only-setup-keyboard.patch new file mode 100644 index 0000000..12b77e4 --- /dev/null +++ b/gnome-initial-setup-only-setup-keyboard.patch @@ -0,0 +1,23 @@ +diff -urp gnome-initial-setup-3.33.91.orig/gnome-initial-setup/gnome-initial-setup.c gnome-initial-setup-3.33.91/gnome-initial-setup/gnome-initial-setup.c +--- gnome-initial-setup-3.33.91.orig/gnome-initial-setup/gnome-initial-setup.c 2019-08-31 16:14:45.640964145 -0500 ++++ gnome-initial-setup-3.33.91/gnome-initial-setup/gnome-initial-setup.c 2019-08-31 16:21:35.551137124 -0500 +@@ -65,19 +65,10 @@ typedef struct { + #define PAGE(name, new_user_only) { #name, gis_prepare_ ## name ## _page, new_user_only } + + static PageData page_table[] = { +- PAGE (language, FALSE), + #ifdef ENABLE_REGION_PAGE + PAGE (region, FALSE), + #endif /* ENABLE_REGION_PAGE */ + PAGE (keyboard, FALSE), +- PAGE (eula, FALSE), +- PAGE (network, FALSE), +- PAGE (privacy, FALSE), +- PAGE (timezone, TRUE), +- PAGE (software, TRUE), +- PAGE (goa, FALSE), +- PAGE (account, TRUE), +- PAGE (password, TRUE), + PAGE (summary, FALSE), + { NULL }, + }; diff --git a/gnome-initial-setup.changes b/gnome-initial-setup.changes index fd88275..1655b1c 100644 --- a/gnome-initial-setup.changes +++ b/gnome-initial-setup.changes @@ -1,3 +1,581 @@ +------------------------------------------------------------------- +Sat Oct 5 21:53:52 UTC 2019 - Bjørn Lie + +- Update to version 3.34.1: + + Bugs fixed: + - Mark “Accept” button as suggested action + - Disable g-i-s in GDM. + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 24 14:32:46 UTC 2019 - Felix Zhang + +- Fix unpackaged files in specfile. + +------------------------------------------------------------------- +Wed Sep 18 06:47:05 UTC 2019 - Bjørn Lie + +- Update to version 3.34.0: + + Bugs fixed: Fixes for systemd user instance support. + + Updated translations. + +------------------------------------------------------------------- +Sat Aug 31 16:13:35 CDT 2019 - mgorse@suse.com + +- Update to version 3.33.92: + + Translation updates. + + Changes in version 3.33.91: + + build: Add a log domain. + + Translation updates. + + Changes in version 3.33.90: + + systemd user instance support. This is inert without + corresponding changes in other GNOME modules, and can be + disabled entirely with `-Dsystemd=false` at build time. + + Other improvements and bug fixes: + - summary: don't free borrowed password string. + - data: use a11y menu in initial-setup session. + - driver: Account for multi monitor when checking for small screen. + - language: Refactor the logo selection. + - language: Fix the visibility of the placeholder. + - summary: Make the page fit narrow screens. + - Drop the headers for the first rows. + - account: Drop the avatar button padding. + - Refactor page headers. + - data: Update required gnome-settings-daemon plugins. + + Translation updates. + + Changes in version 3.33.4: + + Bugs fixed: + - Check for errors from newlocale(). + + Translation updates. + + Changes in version 3.33.2: + + Bugs fixed: + - setlocale() usage is not threadsafe. + - Include bug report URL in .pot file + + Translation updates. +- Rebase gnome-initial-setup-only-setup-keyboard.patch. +- Depend on systemd. +- Remove setup-shell.desktop from files. +- Add user systemd targets to files. + +------------------------------------------------------------------- +Fri Apr 5 11:54:14 UTC 2019 - Bjørn Lie + +- Update to version 3.32.1: + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 11 13:19:04 UTC 2019 - Bjørn Lie + +- Update to version 3.32.0: + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 5 06:03:49 UTC 2019 - Bjørn Lie + +- Update to version 3.31.92: + + Connect to GDM as soon as gnome-initial-setup starts and fix + memory leaks. + + Improve account page behaviour when offline. + + Updated translations. + +------------------------------------------------------------------- +Wed Feb 20 12:12:27 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 3.31.90: + + Generate default user account pictures. + + Fix Meson build with (buggy) Meson 0.48.0 and 0.48.1. + + Remove Autotools build. + + Fix various compiler warnings. + + Add welcome distro logo for openSUSE. + + Updated translations. +- Switch to meson build system, add meson BuildRequires and macros. +- Drop obsolete intltool BuildRequires: No longer needed. +- Add pkgconfig(packagekit-glib2) BuildRequires: New dependency. +- Refresh patch with refresh_patches service. + +------------------------------------------------------------------- +Wed Sep 26 16:14:52 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 3.30.0: + + Updated translations. + +------------------------------------------------------------------- +Sun Sep 2 18:47:30 UTC 2018 - luc14n0@linuxmail.org + +- Update to version 3.29.92: + + Improved network page. + + Fix timezone selection in new-user mode. + + Properly use libsecret unstable api. + + Updated translations. + +------------------------------------------------------------------- +Fri Aug 3 19:48:49 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 3.29.1: + + Support more general page skipping. + + Show the welcome page if the language page is skipped. + + Look for vendor.conf in /usr/share instead of /var. + + Go back to allowing weak passwords. + + Set keyring password for enterprise accounts. + + Use Debian, Ubuntu logos when appropriate. + + Fix a crash. + + Add meson support. + + Use a new avatar chooser. + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 27 01:45:40 UTC 2018 - yfjiang@suse.com + +- Rebase gnome-initial-setup-disable-dep-on-started-docs.patch: The + run-welcome-tour stamp file is moved to a global function as + stated in bgo#777707. +- Enable the following patches on Leap 42.3, Leap 15 and + later, being consistent with SLE (boo#1086056): + + gnome-initial-setup-only-launch-CJK.patch + + gnome-initial-setup-only-setup-keyboard.patch + + gnome-initial-setup-disable-dep-on-started-docs.patch +- Remove the dependency of gnome-getting-started-docs on Leap, being + consistent with SLE (boo#1086056). +- Url link fix in spec. + +------------------------------------------------------------------- +Tue Mar 13 12:05:53 UTC 2018 - dimstar@opensuse.org + +- Update to version 3.28.0: + + Sync string changes with gnome-software. + + Updated translations. + +------------------------------------------------------------------- +Wed Feb 28 16:28:24 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Tue Feb 27 15:41:14 CET 2018 - sbrabec@suse.com + +- Add missing lang package Recommends (bsc#1038022). + +------------------------------------------------------------------- +Sat Feb 10 22:30:46 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 3.27.90: + + Adjust session components to recent changes. + + Improve sorting in the language list. + + Memory leak fixes. + + Update titlebar when title changes. + + Updated translations. + +------------------------------------------------------------------- +Thu Nov 9 13:29:30 UTC 2017 - qzhao@suse.com + +- Add gnome-initial-setup-mozc-engine-prioritized.patch: Make the + Mozc input engine as the 1st choice for Japanese environment + (boo#1067288,bnc#1029083). + +------------------------------------------------------------------- +Fri Sep 15 06:07:09 UTC 2017 - qzhao@suse.com + +- Update gnome-initial-setup-disable-dep-on-started-docs.patch: + Porting to gnome-initial-setup version 3.26.0. + +------------------------------------------------------------------- +Mon Sep 11 17:05:28 UTC 2017 - zaitor@opensuse.org + +- Update to version 3.26.0: + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 4 17:46:40 UTC 2017 - zaitor@opensuse.org + +- Update to version 3.25.92: + + Updated translations. + +------------------------------------------------------------------- +Wed Jul 19 18:55:14 UTC 2017 - zaitor@opensuse.org + +- Update to version 3.25.4: + + Use Unicode in translatable strings. + + Adjust to g-s-d's plugin removals. + + Updated translations. + +------------------------------------------------------------------- +Thu Jun 22 19:56:28 UTC 2017 - zaitor@opensuse.org + +- Update to version 3.25.3: + + Support a vendor configuration file. + + Update text direction when the locale changes. + + Allow configuring network connections. + + Copy monitor configuration to user session. + + Sync user account page with control-center. + + Show strength indicator for passwords. + +------------------------------------------------------------------- +Thu Jun 1 10:25:31 UTC 2017 - qzhao@suse.com + +- Update gnome-initial-setup-only-setup-keyboard.patch + gnome-initial-setup-disable-dep-on-started-docs.patch: Porting + these patches to gnome-initial-setup version 3.24.2. + +------------------------------------------------------------------- +Wed May 10 21:04:08 UTC 2017 - zaitor@opensuse.org + +- Update to version 3.24.2: + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 21 18:27:01 UTC 2017 - dimstar@opensuse.org + +- Update to version 3.24.0: + + Fix g-i-s session startup deadlock. + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 14 18:04:57 UTC 2017 - dimstar@opensuse.org + +- Update to version 3.23.92: + + Use correct capitalization and unicode characters. + + Exit gracefully when disabled systemwide. + + Adjust to gnome-settings-daemon changes. + + Port network page to use libnm instead of libnm-glib. + + Updated translations. +- Update BuildRequires relating to upstreams port to libnm: + + Remove pkgconfig(libnm-glib), pkgconfig(libnm-gtk) and + pkgconfig(libnm-util). + + Add pkgconfig(libnm) and pkgconfig(libnma). + +------------------------------------------------------------------- +Wed Nov 9 14:19:25 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.23.1: + + Clarify presentation of privacy policies. + + Updated translations. + +------------------------------------------------------------------- +Mon Oct 10 18:17:37 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.22.1: + + Clarify privacy policy links. + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 19 15:01:28 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.22.0: + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 13 16:27:43 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.21.92: + + Port timezone page to use new Geoclue convencience library. + + Minor UI fixes on privacy page. + + Correct license of um-realm-manager. + + Updated translations. +- Replace pkgconfig(geoclue-2.0) for pkgconfig(libgeoclue-2.0), and + add pkgconfig(geocode-glib-1.0) BuildRequires following upstreams + port. + +------------------------------------------------------------------- +Thu Sep 1 18:57:12 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.21.91: + + Better handling of small screens. + + Add a page to configure software sources. + + Updated translations. + +------------------------------------------------------------------- +Thu May 23 07:11:48 UTC 2016 - yfjiang@suse.com + +- Add gnome-initial-setup-disable-dep-on-started-docs.patch: + Dismiss the yelp help page after the initial setup + (FATE#321126). + +------------------------------------------------------------------- +Thu May 16 06:49:02 UTC 2016 - yfjiang@suse.com + +- Add gnome-initial-setup-only-setup-keyboard.patch: Only setup the + keyboard and IM as required (FATE#321126). + +------------------------------------------------------------------- +Fri May 10 11:14:47 UTC 2016 - qzhao@suse.com + +- Add gnome-initial-setup-only-launch-CJK.patch: In SLED, it will + active if user's language is Chinese/Japanese/Korean, and + deactive in other language (FATE#321126). + +------------------------------------------------------------------- +Wed May 8 09:37:13 UTC 2016 - qzhao@suse.com + +- Import gnome-initial-setup to SLE12:SP3(FATE#321126, bsc#988350). + +------------------------------------------------------------------- +Tue Apr 12 11:48:33 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.20.1: + + Updated translations. + +------------------------------------------------------------------- +Thu Apr 7 22:45:11 UTC 2016 - zaitor@opensuse.org + +- Drop pkgconfig(clutter-gst-2.0) and pkgconfig(clutter-x11-1.0) + BuildRequires: Not hard dependencies anymore. +- Add pkgconfig(json-glib-1.0) BuildRequires: Configure looks for + it, so add it to make sure it's pulled in. + +------------------------------------------------------------------- +Mon Mar 21 20:36:31 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.20.0: + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 15 10:37:05 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.19.92: + + Add a translator comment for 'Welcome!'. + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 1 10:57:33 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.19.91: + + Visual refinements on online accounts page. + + Minor tweaks on the privacy and accounts pages. + + Ensure keyring gets created for new users. + + Updated translations. +- Changes from version 3.19.90: + + Visual refresh for the 'ready to go' page. + +------------------------------------------------------------------- +Mon Feb 22 15:51:04 UTC 2016 - dimstar@opensuse.org + +- Add gnome-getting-started-docs Requires: once the g-i-s assistant + is completed, it auto-launches the getting started documentation. + +------------------------------------------------------------------- +Tue Feb 16 10:22:53 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.19.2: + + Fix timezone lookup after locale change. + + Handle screen resolution changes. + + Design updates to the timezone page. + + Don't create a keyring for existing users. + + Updated translations. + +------------------------------------------------------------------- +Mon Feb 15 11:21:26 UTC 2016 - dimstar@opensuse.org + +- Create user 'gnome-initial-setup', which is mandatory to make + this work. + +------------------------------------------------------------------- +Mon Nov 23 23:29:14 UTC 2015 - zaitor@opensuse.org + +- Update to version 3.19.1: + + Ensure locale region matches the selected language. + + Sort languages case-insensitively. + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 21 14:40:24 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.18.0: + + Updated translations. + +------------------------------------------------------------------- +Wed Sep 2 10:41:28 UTC 2015 - zaitor@opensuse.org + +- Update to version 3.17.91: + + Go back to enforcing password policy (bgo#754213). + + Updated translations. + +------------------------------------------------------------------- +Mon Aug 17 18:55:15 UTC 2015 - zaitor@opensuse.org + +- Update to version 3.17.90: + + Detect enterprise accounts without heuristic (bgo#752980). + + Don't change keyring password explicitly (bgo#752980). + + Fix problem with restarting geoclue client. + + Updated translations. + +------------------------------------------------------------------- +Thu Jul 23 07:23:08 UTC 2015 - zaitor@opensuse.org + +- Update to version 3.17.4: + + Create keyring initially unencrypted. + + Password page refinements (bgo#735578). + + Make policy dialog resize properly (bgo#749426). + + Use correct key for privacy policy (bgo#749545). + + Handle disabled network better. + + Avoid a crash on language change (bgo#752134). + + Make gnome-shell launch first. + + AVoid a race in launching welcome tour. + + Updated translations. + +------------------------------------------------------------------- +Fri May 22 08:43:21 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.16.3: + + Avoid keyring problems with preexisting passwordless accounts. + + Improve password page. + + Look for the right key in os-release for privacy policy. + + Make policy dialog resize properly. + + Updated translations. + +------------------------------------------------------------------- +Tue May 12 11:08:30 UTC 2015 - zaitor@opensuse.org + +- Update to version 3.16.2: + + Updated translations. + +------------------------------------------------------------------- +Wed Apr 15 09:38:10 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.16.1: + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 23 13:30:01 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.16.0: + + Updated translations. + +------------------------------------------------------------------- +Wed Mar 18 13:07:39 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.15.92: + + Stop using deprecated API. + + Improved keyboard navigation. + + Adapt to gnome-desktop locale codeset changes. + + Updated translations. + +------------------------------------------------------------------- +Thu Mar 5 09:06:30 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.15.91.1: + + Port to Webkit2. + + Updated translations. +- Replace pkgconfig(webkitgtk-3.0) BuildRequires with + pkgconfig(webkit2gtk-4.0), following upstreams port to WebKit2. + +------------------------------------------------------------------- +Tue Mar 3 08:35:50 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.15.91: + + Fix a possible crash in the network page. + + Updated translations. + +------------------------------------------------------------------- +Wed Feb 25 15:48:05 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.15.90.1: + + Append ibus input sources. + + Allow resizing on small screens. + + Improve account creation dialogs. + + Move privacy page before timezone. + + Use the permanent bus name for abrtd. +- Update to version 3.15.90: + + Add a privacy page. + + Don't wait for GDM to kill us. + + Updated translations. +- Add pkgconfig(webkitgtk-3.0) BuildRequires: new dependency. + +------------------------------------------------------------------- +Wed Feb 25 14:19:36 UTC 2015 - dimstar@opensuse.org + +- Update to version 3.14.3: + + Fix a crash in the network page. + + Append ibus sources to input sources list. + + Allow resizing on small screens. + + Use header bars on goa dialogs. + + Fix a crash in the language page. + + Hide the window instead of letting gdm kill it. + + Fix a crash in the keyboard page. + + Updated translations. + +------------------------------------------------------------------- +Thu Nov 13 19:52:24 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.14.2.1: + + Disable SSLv3 because of POODLE. +- Changes from version 3.14.2: + + Fix changing the login keyring password. + + Ensure that we show the selected input source. + + Preserve system keyboard layouts. + + Don't choose irrelevant layouts as first level choices. + + Add a function to detect small screens. + + Hide images when we have no space for them. + + Drop the minimum size when we are on a small screen. + + Updated translations. +- Changes from version 3.14.1: + + Don't allow to move window. + + Avoid a crash in input chooser. + + Require selecting an input source. + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 22 18:25:42 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.14.0: + + Fix skip button showing up on the last page. + + Updated translations. + +------------------------------------------------------------------- +Wed Sep 17 16:09:51 UTC 2014 - dimstar@opensuse.org + +- Update to version 3.13.7: + + Refine spacing and alignment on all pages. + + keyboard: Show suggestions for the current locale. + + keyboard: Add all IBus engines. + + keyboard: Ellipsize long labels. + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 15 18:24:43 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.13.6: + + language: Drop British English to make page smaller. + + region: Drop, instead show all locales in the language page. + + keyboard: Show all layouts (in the expanded list). + + account: Whitelist realmd actions to enable enterprise setup. + + timezone: Remove icon to make page smaller. + + Improve keyboard navigation. + + Bring back existing-user mode. + + Updated translations. + +------------------------------------------------------------------- +Sun Sep 7 12:35:40 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.13.5: + + language: Don't dim distro logo. + + timezone: Make page smaller. + + input: Fix build without ibus. + + password: Don't hard-enforce strong passwords. + + Updated translations. + +------------------------------------------------------------------- +Sat Aug 16 20:52:23 UTC 2014 - dimstar@opensuse.org + +- Update to version 3.13.4: + + Account: + - Improve wording. + - Update to match control-center. + + Timezone: + - Add geoclue integration. + - Add an icon. + + Password: + - Update to match control-center. + - Properly clean up signal handler. + + Keyring: Open session. + + Copy-worker: Run in early initialization phase. + + Updated translations. +- Add pkgconfig(geoclue-2.0) BuildRequires: new dependency. + +------------------------------------------------------------------- +Sat Aug 16 20:20:55 UTC 2014 - wr@rosenauer.org + +- Set RPM group to System/GUI/GNOME to match other GNOME packages. + ------------------------------------------------------------------- Wed Jul 23 21:18:31 UTC 2014 - dimstar@opensuse.org diff --git a/gnome-initial-setup.spec b/gnome-initial-setup.spec index d6c3cd2..084017b 100644 --- a/gnome-initial-setup.spec +++ b/gnome-initial-setup.spec @@ -1,7 +1,7 @@ # # spec file for package gnome-initial-setup # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,39 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: gnome-initial-setup -Version: 3.12.1 +Version: 3.34.1 Release: 0 Summary: GNOME Initial Setup Assistant -License: GPL-2.0+ -Group: System/GUI/Gnome -Url: http://www.google.com -Source: http://download.gnome.org/sources/gnome-initial-setup/3.12/%{name}-%{version}.tar.xz -BuildRequires: intltool >= 0.40 +License: GPL-2.0-or-later +Group: System/GUI/GNOME +Url: https://wiki.gnome.org/Design/OS/InitialSetup +Source0: https://download.gnome.org/sources/gnome-initial-setup/3.34/%{name}-%{version}.tar.xz + +# PATCH-FEATURE-SLE gnome-initial-setup-only-launch-CJK.patch FATE#321126 qzhao@suse.com -- Make gnome-initial-setup only work for CJK +Patch0: gnome-initial-setup-only-launch-CJK.patch +# PATCH-FEATURE-SLE gnome-initial-setup-only-setup-keyboard.patch FATE#321126 yfjiang@suse.com -- Only launch the keyboard and IM setup +Patch1: gnome-initial-setup-only-setup-keyboard.patch +# PATCH-FEATURE-SLE gnome-initial-setup-disable-dep-on-started-docs.patch FATE#321126 yfjiang@suse.com -- Disable help dialog after g-i-s system to remove the dependency of gnome-getting-started-docs +Patch2: gnome-initial-setup-disable-dep-on-started-docs.patch +# PATCH-FIX-OPENSUSE gnome-initial-setup-mozc-engine-prioritized.patch boo#1067288 bnc#1029083 qzhao@suse.com -- Make the Mozc input engine as the 1st choice for Japanese environment. +Patch3: gnome-initial-setup-mozc-engine-prioritized.patch + BuildRequires: krb5-devel +BuildRequires: meson +BuildRequires: pkgconfig BuildRequires: vala BuildRequires: pkgconfig(accountsservice) -BuildRequires: pkgconfig(clutter-gst-2.0) -BuildRequires: pkgconfig(clutter-x11-1.0) BuildRequires: pkgconfig(cheese) BuildRequires: pkgconfig(cheese-gtk) >= 3.3.5 BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gdm) >= 3.8.3 -BuildRequires: pkgconfig(gio-unix-2.0) >= 2.36.0 +BuildRequires: pkgconfig(geocode-glib-1.0) +BuildRequires: pkgconfig(gio-unix-2.0) >= 2.53.0 BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.7.5 BuildRequires: pkgconfig(goa-1.0) BuildRequires: pkgconfig(goa-backend-1.0) @@ -44,39 +54,58 @@ BuildRequires: pkgconfig(gtk+-3.0) >= 3.11.3 BuildRequires: pkgconfig(gweather-3.0) BuildRequires: pkgconfig(ibus-1.0) >= 1.4.99 BuildRequires: pkgconfig(iso-codes) -BuildRequires: pkgconfig(libnm-glib) >= 0.9.6.4 -BuildRequires: pkgconfig(libnm-gtk) >= 0.9.6.4 -BuildRequires: pkgconfig(libnm-util) >= 0.9.6.4 +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.3.1 +BuildRequires: pkgconfig(libnm) >= 1.2 +BuildRequires: pkgconfig(libnma) >= 1.0 BuildRequires: pkgconfig(libsecret-1) +BuildRequires: pkgconfig(packagekit-glib2) BuildRequires: pkgconfig(pango) >= 1.32.5 BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103 BuildRequires: pkgconfig(pwquality) BuildRequires: pkgconfig(rest-0.7) -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(webkit2gtk-4.0) +Recommends: %{name}-lang +# Remove the yelp document dependency on both sle and leap, keeping tw consistent with upstream +%if !0%{?sle_version} +Requires: gnome-getting-started-docs +%endif %description Initial assistant, helping you to get the system up and running. %lang_package + %prep %setup -q +# Only enable keyboard/im setup feature in CJK environment on both sle and leap, keeping tw consistent with upstream +%if 0%{?sle_version} >= 120300 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%endif +%patch3 -p1 %build -%configure -make %{?_smp_mflags} +%meson \ + %{nil} +%meson_build %install -%make_install +%meson_install %find_lang %{name} %{?no_lang_C} +%pre +useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} || : + %files -%defattr(-,root,root) -%doc README COPYING +%license COPYING +%doc README %dir %{_datadir}/gdm %dir %{_datadir}/gdm/greeter %dir %{_datadir}/gdm/greeter/applications %{_datadir}/gdm/greeter/applications/gnome-initial-setup.desktop -%{_datadir}/gdm/greeter/applications/setup-shell.desktop %dir %{_datadir}/gnome-session %dir %{_datadir}/gnome-session/sessions %{_datadir}/gnome-session/sessions/gnome-initial-setup.session @@ -88,7 +117,18 @@ make %{?_smp_mflags} %{_libexecdir}/gnome-initial-setup-copy-worker %{_libexecdir}/gnome-welcome-tour %{_sysconfdir}/xdg/autostart/gnome-initial-setup-copy-worker.desktop +%{_sysconfdir}/xdg/autostart/gnome-initial-setup-first-login.desktop %{_sysconfdir}/xdg/autostart/gnome-welcome-tour.desktop +%{_userunitdir}/gnome-initial-setup-copy-worker.service +%{_userunitdir}/gnome-initial-setup-first-login.service +%{_userunitdir}/gnome-initial-setup.service +%{_userunitdir}/gnome-welcome-tour.service +%dir %{_userunitdir}/gnome-session.target.wants +%{_userunitdir}/gnome-session.target.wants/gnome-initial-setup-copy-worker.service +%{_userunitdir}/gnome-session.target.wants/gnome-initial-setup-first-login.service +%{_userunitdir}/gnome-session.target.wants/gnome-welcome-tour.service +%dir %{_userunitdir}/gnome-session@gnome-initial-setup.target.wants +%{_userunitdir}/gnome-session@gnome-initial-setup.target.wants/gnome-initial-setup.service %files lang -f %{name}.lang