network-manager-applet: update to 1.0.10
PATCH 1/2 network-manager-applet: update to 1.0.10
Hotspot (Host-AP) was implemented in 1.0.8 so our patches are no more required.
Signed-off-by Andreas Müller <[email protected]>
---
...port-for-AP-mode-setting-for-wifi-sharing.patch | 132 ---------------------
...for-network-sharing-if-device-supports-it.patch | 48 --------
...t_1.0.4.bb => network-manager-applet_1.0.10.bb} | 11 +-
3 files changed, 4 insertions(+), 187 deletions(-)
delete mode 100644 meta-gnome/recipes-connectivity/network-manager-applet/files/0001-Add-support-for-AP-mode-setting-for-wifi-sharing.patch
delete mode 100644 meta-gnome/recipes-connectivity/network-manager-applet/files/0002-Use-AP-mode-for-network-sharing-if-device-supports-it.patch
rename meta-gnome/recipes-connectivity/network-manager-applet/{network-manager-applet_1.0.4.bb => network-manager-applet_1.0.10.bb} (74%)meta-gnome/recipes-connectivity/network-manager-applet/files/0001-Add-support-for-AP-mode-setting-for-wifi-sharing.patch deleted +0 -132
@@ -1,132 +0,0 @@ -From d789ef88a8806887bf1160bfa5d3d9eb47b6216c Mon Sep 17 00:00:00 2001 -From: "Marius B. Kotsbak" <[email protected]> -Date: Mon, 11 Aug 2014 22:11:52 +0200 -Subject: [PATCH] Add support for AP mode setting for wifi sharing. - -Upstream-Status: Pending [1] - -[1] https://bugzilla.gnome.org/show_bug.cgi?id=734589 ---- - src/connection-editor/ce-page-wifi.ui | 3 +++ - src/connection-editor/page-wifi.c | 48 ++++++++++++++++++++--------------- - 2 files changed, 31 insertions(+), 20 deletions(-) - -diff --git a/src/connection-editor/ce-page-wifi.ui b/src/connection-editor/ce-page-wifi.ui -index a7b8f20..0bd9130 100644 ---- a/src/connection-editor/ce-page-wifi.ui -+++ b/src/connection-editor/ce-page-wifi.ui -@@ -50,6 +50,9 @@ - <row> - <col id="0" translatable="yes">Ad-hoc</col> - </row> -+ <row> -+ <col id="0" translatable="yes">Shared AP</col> -+ </row> - </data> - </object> - <object class="GtkTable" id="WifiPage"> -diff --git a/src/connection-editor/page-wifi.c b/src/connection-editor/page-wifi.c -index 8a25c64..e4b4df1 100644 ---- a/src/connection-editor/page-wifi.c -+++ b/src/connection-editor/page-wifi.c -@@ -58,6 +58,12 @@ typedef struct { - int last_channel; - } CEPageWifiPrivate; - -+enum { -+ WIFI_MODE_INFRASTRUCTURE, -+ WIFI_MODE_ADHOC, -+ WIFI_MODE_AP -+}; -+ - static void - wifi_private_init (CEPageWifi *self) - { -@@ -245,23 +251,17 @@ mode_combo_changed_cb (GtkComboBox *combo, - CEPageWifiPrivate *priv = CE_PAGE_WIFI_GET_PRIVATE (self); - CEPage *parent = CE_PAGE (self); - GtkWidget *widget_band_label, *widget_chan_label, *widget_bssid_label; -- gboolean adhoc; -+ gint wifi_mode; -+ gboolean shared_wifi; - -- switch (gtk_combo_box_get_active (GTK_COMBO_BOX (combo))) { -- case 1: /* adhoc */ -- adhoc = TRUE; -- break; -- default: /* infrastructure */ -- adhoc = FALSE; -- break; -- } -+ wifi_mode = gtk_combo_box_get_active (GTK_COMBO_BOX (combo)); - - widget_band_label = GTK_WIDGET (gtk_builder_get_object (parent->builder, "wifi_band_label")); - widget_chan_label = GTK_WIDGET (gtk_builder_get_object (parent->builder, "wifi_channel_label")); - widget_bssid_label = GTK_WIDGET (gtk_builder_get_object (parent->builder, "wifi_bssid_label")); - -- if (adhoc) { -- /* For Ad-Hoc show Band and Channel */ -+ if (WIFI_MODE_ADHOC == wifi_mode || WIFI_MODE_AP == wifi_mode) { -+ /* For Ad-Hoc/AP show Band and Channel */ - gtk_widget_show (widget_band_label); - gtk_widget_show (GTK_WIDGET (priv->band)); - gtk_widget_show (widget_chan_label); -@@ -284,12 +284,13 @@ mode_combo_changed_cb (GtkComboBox *combo, - gtk_widget_show (GTK_WIDGET (priv->bssid)); - } - -- gtk_widget_set_sensitive (widget_band_label, adhoc); -- gtk_widget_set_sensitive (GTK_WIDGET (priv->band), adhoc); -- gtk_widget_set_sensitive (widget_chan_label, adhoc); -- gtk_widget_set_sensitive (GTK_WIDGET (priv->channel), adhoc); -- gtk_widget_set_sensitive (widget_bssid_label, !adhoc); -- gtk_widget_set_sensitive (GTK_WIDGET (priv->bssid), !adhoc); -+ shared_wifi = wifi_mode != WIFI_MODE_INFRASTRUCTURE; -+ gtk_widget_set_sensitive (widget_band_label, shared_wifi); -+ gtk_widget_set_sensitive (GTK_WIDGET (priv->band), shared_wifi); -+ gtk_widget_set_sensitive (widget_chan_label, shared_wifi); -+ gtk_widget_set_sensitive (GTK_WIDGET (priv->channel), shared_wifi); -+ gtk_widget_set_sensitive (widget_bssid_label, !shared_wifi); -+ gtk_widget_set_sensitive (GTK_WIDGET (priv->bssid), !shared_wifi); - - ce_page_changed (CE_PAGE (self)); - } -@@ -348,9 +349,12 @@ populate_ui (CEPageWifi *self) - g_byte_array_free (ssid, TRUE); - - /* Default to Infrastructure */ -- gtk_combo_box_set_active (priv->mode, 0); -+ gtk_combo_box_set_active (priv->mode, WIFI_MODE_INFRASTRUCTURE); - if (mode && !strcmp (mode, "adhoc")) -- gtk_combo_box_set_active (priv->mode, 1); -+ gtk_combo_box_set_active (priv->mode, WIFI_MODE_ADHOC); -+ else if (mode && !strcmp (mode, "ap")) -+ gtk_combo_box_set_active (priv->mode, WIFI_MODE_AP); -+ - mode_combo_changed_cb (priv->mode, self); - g_signal_connect (priv->mode, "changed", G_CALLBACK (mode_combo_changed_cb), self); - g_free (mode); -@@ -506,6 +510,7 @@ ui_to_setting (CEPageWifi *self) - GByteArray *bssid = NULL; - GByteArray *device_mac = NULL; - GByteArray *cloned_mac = NULL; -+ gint wifi_mode; - char *ifname = NULL; - const char *mode; - const char *band; -@@ -516,8 +521,11 @@ ui_to_setting (CEPageWifi *self) - - ssid = ce_page_wifi_get_ssid (self); - -- if (gtk_combo_box_get_active (priv->mode) == 1) -+ wifi_mode = gtk_combo_box_get_active (priv->mode); -+ if (WIFI_MODE_ADHOC == wifi_mode) - mode = "adhoc"; -+ else if (WIFI_MODE_AP == wifi_mode) -+ mode = "ap"; - else - mode = "infrastructure"; - --- -2.1.0 -
meta-gnome/recipes-connectivity/network-manager-applet/files/0002-Use-AP-mode-for-network-sharing-if-device-supports-it.patch deleted +0 -48
48 lines not on this page · raw message
meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.0.10.bb renamed from meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.0.4.bb +4 -7
@@ -2,18 +2,14 @@ SUMMARY = "GTK+ applet for NetworkManager" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" -DEPENDS = "gtk+3 libnotify libsecret networkmanager dbus-glib gconf libgnome-keyring iso-codes" +DEPENDS = "gtk+3 libnotify libsecret networkmanager dbus-glib gconf libgnome-keyring iso-codes nss" inherit gnomebase gsettings gtk-icon-cache GNOME_COMPRESS_TYPE = "xz" -SRC_URI += " \ - file://0001-Add-support-for-AP-mode-setting-for-wifi-sharing.patch \ - file://0002-Use-AP-mode-for-network-sharing-if-device-supports-it.patch \ -" -SRC_URI[archive.md5sum] = "7fc2ed3f0c46ed41ddabe99d51513b1c" -SRC_URI[archive.sha256sum] = "2cc26f03d0011d2a067bd5205dc0c17d5aa0470020a8c36d319ae10e5728af72" +SRC_URI[archive.md5sum] = "86b17e1bf1a37c649874883b587c6db6" +SRC_URI[archive.sha256sum] = "b045ac3eaa68ccbbefe91510ad67b4002a7e09d1e5ce1c4bf9a67619bd2cf0eb" PACKAGECONFIG[bluetooth] = "--with-bluetooth,--without-bluetooth,gnome-bluetooth,gnome-bluetooth" PACKAGECONFIG[modemmanager] = "--with-modem-manager-1,--without-modem-manager-1,modemmanager"
@@ -29,6 +25,7 @@ do_configure_append() { RDEPENDS_${PN} =+ "networkmanager" FILES_${PN} += " \ + ${datadir}/appdata \ ${datadir}/nm-applet/ \ ${datadir}/libnm-gtk/wifi.ui \ "
Signature · 1 line
2.5.0
PATCH 2/2 cppunit: fix loads of host-user-contaminated warnings
Signed-off-by Andreas Müller <[email protected]>
--- meta-oe/recipes-devtools/cppunit/cppunit_1.13.1.bb | 5 +++- ...e.am-do-not-preserve-file-flags-when-copy.patch | 31 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-devtools/cppunit/files/0001-doc-Makefile.am-do-not-preserve-file-flags-when-copy.patch
meta-oe/recipes-devtools/cppunit/cppunit_1.13.1.bb +4 -1
@@ -4,7 +4,10 @@ LICENSE = "LGPL-2.1" SECTION = "libs" LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" -SRC_URI = "http://dev-www.libreoffice.org/src/cppunit-${PV}.tar.gz" +SRC_URI = " \ + http://dev-www.libreoffice.org/src/cppunit-${PV}.tar.gz \ + file://0001-doc-Makefile.am-do-not-preserve-file-flags-when-copy.patch \ +" SRC_URI[md5sum] = "fa9aa839145cdf860bf596532bb8af97" SRC_URI[sha256sum] = "d5b9f3ffc9f1634d75b20b54f48c02e0817bca6afa1d5160b244889d6bff8e0f"
meta-oe/recipes-devtools/cppunit/files/0001-doc-Makefile.am-do-not-preserve-file-flags-when-copy.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 9d7ce869607d123cd9837890d71f940c5ced3393 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Mon, 29 Feb 2016 07:58:20 +0100 +Subject: [PATCH] doc/Makefile.am: do not preserve file flags when copying +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [cross specific] + +Signed-off-by: Andreas Müller <[email protected]> +--- + doc/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/Makefile.am b/doc/Makefile.am +index 8815476..3237499 100644 +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -22,7 +22,7 @@ htmldir += $(pkgdatadir)/html + html_DATA += $(static_pages) html/index.html + + install-data-hook: +- cp -pR html/* $(DESTDIR)$(htmldir) ++ cp -R html/* $(DESTDIR)$(htmldir) + + # Automake's "distcheck" is sensitive to having files left over + # after "make uninstall", so we have to clean up the install hook. +-- +2.5.0 +
Signature · 1 line
2.5.0