Hello community, here is the log from the commit of package NetworkManager-applet for openSUSE:Factory checked in at 2018-04-05 15:31:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/NetworkManager-applet (Old) and /work/SRC/openSUSE:Factory/.NetworkManager-applet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "NetworkManager-applet" Thu Apr 5 15:31:06 2018 rev:17 rq:592875 version:1.8.10 Changes: -------- --- /work/SRC/openSUSE:Factory/NetworkManager-applet/NetworkManager-applet.changes 2018-03-26 12:39:17.816814456 +0200 +++ /work/SRC/openSUSE:Factory/.NetworkManager-applet.new/NetworkManager-applet.changes 2018-04-05 15:31:10.337172087 +0200 @@ -1,0 +2,8 @@ +Wed Mar 28 16:53:43 UTC 2018 - sfl...@suse.de + +- Re enable appindicator in autotools BuildRequires +- Add feature-app-indicator-desktop-file.patch to launch the startup + application with appindicator support and add a delay to ensure + that the desktop's systray service is running beforehand. + +------------------------------------------------------------------- New: ---- feature-app-indicator-desktop-file.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ NetworkManager-applet.spec ++++++ --- /var/tmp/diff_new_pack.fKBFQb/_old 2018-04-05 15:31:13.065073492 +0200 +++ /var/tmp/diff_new_pack.fKBFQb/_new 2018-04-05 15:31:13.065073492 +0200 @@ -31,7 +31,7 @@ Summary: GTK+ tray applet for use with NetworkManager License: GPL-2.0-or-later Group: System/GUI/GNOME -URL: https://gnome.org/projects/NetworkManager +Url: https://gnome.org/projects/NetworkManager Source: http://download.gnome.org/sources/network-manager-applet/1.8/%{_name}-%{version}.tar.xz # PATCH-NEEDS-REBASE nm-applet-private-connection.patch boo#751211 bgo#646187 dims...@opensuse.org -- Create private connections if the user is not authorised. Allows to create wifi connections without root access. Patch under discussion upstream. (WAS: PATCH-FIX-UPSTREAM) Patch0: nm-applet-private-connection.patch @@ -43,6 +43,8 @@ Patch3: 0001-shared-compat-fix-memory-handling-of-nm_setting_vpn_.patch # PATCH-FIX-UPSTREAM 0002-shared-compat-fix-memory-handling-of-nm_setting_vpn_.patch fst...@suse.com -- fix memory handling of nm_setting_vpn_get_*_keys Patch4: 0002-shared-compat-fix-memory-handling-of-nm_setting_vpn_.patch +# nm-applet needs to be launched with --indicator and needs a startup delay incase its started before the systray. +Patch5: feature-app-indicator-desktop-file.patch BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: pkgconfig @@ -181,6 +183,9 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%if %{with appindicator} +%patch5 -p1 +%endif translation-update-upstream %build @@ -197,6 +202,9 @@ autoreconf -fiv %configure \ --disable-static \ +%if %{with appindicator} + --with-appindicator \ +%endif --without-selinux %make_build %endif ++++++ feature-app-indicator-desktop-file.patch ++++++ Index: network-manager-applet-1.8.10/nm-applet.desktop.in =================================================================== --- network-manager-applet-1.8.10.orig/nm-applet.desktop.in +++ network-manager-applet-1.8.10/nm-applet.desktop.in @@ -2,7 +2,7 @@ _Name=Network _Comment=Manage your network connections Icon=nm-device-wireless -Exec=nm-applet +Exec=nm-applet --indicator Terminal=false Type=Application NoDisplay=true @@ -11,3 +11,6 @@ X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=NetworkManager X-GNOME-Bugzilla-Component=nm-applet X-GNOME-UsesNotifications=true +# We need to make sure the systray has already started +# otherwise nm-applet will fall back to non systray too quickly +X-GNOME-Autostart-Delay=4