--- a/components/gnome/gnome-control-center/patches/01-user-accounts.patch Mon Nov 14 14:13:08 2016 -0800
+++ b/components/gnome/gnome-control-center/patches/01-user-accounts.patch Thu Nov 10 15:03:56 2016 -0800
@@ -3,6 +3,13 @@
Not suitable for upstream as is - would need to convert to check if pwquality
is present and if not, then disable the module.
+Even if that's resolved, we'd need to deal with panels/user-accounts/run-passwd.c
+which currently execs /usr/bin/passwd and looks for the responses it expects
+from the Linux passwd command, instead of using PAM or similar for Solaris.
+
+If this panel is ever restored, then you will also need to remove
+../gnome-shell/patches/07-account-settings.patch to restore its menu entry.
+
--- gnome-control-center-3.18.2/configure.ac 2016-10-05 13:52:06.244424424 -0700
+++ gnome-control-center-3.18.2/configure.ac 2016-10-05 14:09:43.829904386 -0700
@@ -167,7 +167,6 @@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gnome-shell/patches/07-account-settings.patch Thu Nov 10 15:03:56 2016 -0800
@@ -0,0 +1,18 @@
+Remove "Account Settings" from the status menu in the top right of the screen
+since we aren't shipping the gnome-user-accounts-panel on Solaris due to
+../gnome-control-center/patches/01-user-accounts.patch .
+
+--- gnome-shell-3.18.3/js/ui/status/system.js
++++ gnome-shell-3.18.3/js/ui/status/system.js
+@@ -350,8 +350,9 @@
+ this._switchUserSubMenu.menu.addMenuItem(item);
+ this._logoutItem = item;
+
+- this._switchUserSubMenu.menu.addSettingsAction(_("Account Settings"),
+- 'gnome-user-accounts-panel.desktop');
++// gnome-user-accounts-panel is not currently available on Solaris
++// this._switchUserSubMenu.menu.addSettingsAction(_("Account Settings"),
++// 'gnome-user-accounts-panel.desktop');
+
+ this._user.connect('notify::is-loaded', Lang.bind(this, this._updateSwitchUserSubMenu));
+ this._user.connect('changed', Lang.bind(this, this._updateSwitchUserSubMenu));