mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v3 2/5] modemmanager: version bump 1.16.2 -> 1.16.6
Date: Wed, 23 Jun 2021 09:33:06 +0200	[thread overview]
Message-ID: <20210623073309.23058-3-ada@thorsis.com> (raw)
In-Reply-To: <20210623073309.23058-1-ada@thorsis.com>

Patch gone upstream.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 ...dev-don-t-use-autoptr-in-GUdev-types.patch | 127 ------------------
 patches/ModemManager-1.16.2/series            |   4 -
 rules/modemmanager.make                       |   4 +-
 3 files changed, 2 insertions(+), 133 deletions(-)
 delete mode 100644 patches/ModemManager-1.16.2/0001-kerneldevice-udev-don-t-use-autoptr-in-GUdev-types.patch
 delete mode 100644 patches/ModemManager-1.16.2/series

diff --git a/patches/ModemManager-1.16.2/0001-kerneldevice-udev-don-t-use-autoptr-in-GUdev-types.patch b/patches/ModemManager-1.16.2/0001-kerneldevice-udev-don-t-use-autoptr-in-GUdev-types.patch
deleted file mode 100644
index 511b1693f..000000000
--- a/patches/ModemManager-1.16.2/0001-kerneldevice-udev-don-t-use-autoptr-in-GUdev-types.patch
+++ /dev/null
@@ -1,127 +0,0 @@
-From: Aleksander Morgado <aleksander@aleksander.es>
-Date: Tue, 23 Mar 2021 15:36:58 +0100
-Subject: [PATCH] kerneldevice,udev: don't use autoptr in GUdev types
-
-The autoptr support in all GUdev types was introduced in
-commit 272533131c6ed38479a88805, included in libgudev 232.
-
-In the MM 1.16 branch we depend on libgudev 147, so avoid
-implicitly bumping the required version.
-
-Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/349
----
- src/kerneldevice/mm-kernel-device-udev.c | 30 +++++++++++++++++++++---------
- 1 file changed, 21 insertions(+), 9 deletions(-)
-
-diff --git a/src/kerneldevice/mm-kernel-device-udev.c b/src/kerneldevice/mm-kernel-device-udev.c
-index f75104bd6b1c..a6bf1a71df88 100644
---- a/src/kerneldevice/mm-kernel-device-udev.c
-+++ b/src/kerneldevice/mm-kernel-device-udev.c
-@@ -81,7 +81,7 @@ static void
- preload_contents_platform (MMKernelDeviceUdev *self,
-                            const gchar        *platform)
- {
--    g_autoptr(GUdevDevice) iter = NULL;
-+    GUdevDevice *iter;
- 
-     iter = g_object_ref (self->priv->device);
-     while (iter) {
-@@ -102,17 +102,19 @@ preload_contents_platform (MMKernelDeviceUdev *self,
-         g_clear_object (&iter);
-         iter = parent;
-     }
-+
-+    g_clear_object (&iter);
- }
- 
- static void
- preload_contents_pcmcia (MMKernelDeviceUdev *self)
- {
--    g_autoptr(GUdevDevice) iter = NULL;
--    gboolean               pcmcia_subsystem_found = FALSE;
-+    GUdevDevice *iter;
-+    gboolean     pcmcia_subsystem_found = FALSE;
- 
-     iter = g_object_ref (self->priv->device);
-     while (iter) {
--        g_autoptr(GUdevDevice) parent = NULL;
-+        GUdevDevice *parent;
- 
-         /* Store the first driver found */
-         if (!self->priv->driver)
-@@ -133,18 +135,21 @@ preload_contents_pcmcia (MMKernelDeviceUdev *self)
-             self->priv->product = udev_device_get_sysfs_attr_as_hex (iter, "card_id");
-             self->priv->physdev = g_object_ref (iter);
-             /* stop traversing as soon as the physical device is found */
-+            g_clear_object (&parent);
-             break;
-         }
- 
-         g_clear_object (&iter);
--        iter = g_steal_pointer (&parent);
-+        iter = parent;
-     }
-+
-+    g_clear_object (&iter);
- }
- 
- static void
- preload_contents_pci (MMKernelDeviceUdev *self)
- {
--    g_autoptr(GUdevDevice) iter = NULL;
-+    GUdevDevice *iter;
- 
-     iter = g_object_ref (self->priv->device);
-     while (iter) {
-@@ -170,12 +175,14 @@ preload_contents_pci (MMKernelDeviceUdev *self)
-         g_clear_object (&iter);
-         iter = parent;
-     }
-+
-+    g_clear_object (&iter);
- }
- 
- static void
- preload_contents_usb (MMKernelDeviceUdev *self)
- {
--    g_autoptr(GUdevDevice) iter = NULL;
-+    GUdevDevice *iter;
- 
-     iter = g_object_ref (self->priv->device);
-     while (iter) {
-@@ -204,12 +211,14 @@ preload_contents_usb (MMKernelDeviceUdev *self)
-         g_clear_object (&iter);
-         iter = parent;
-     }
-+
-+    g_clear_object (&iter);
- }
- 
- static gchar *
- find_device_bus_subsystem (MMKernelDeviceUdev *self)
- {
--    g_autoptr(GUdevDevice) iter = NULL;
-+    GUdevDevice *iter;
- 
-     iter = g_object_ref (self->priv->device);
-     while (iter) {
-@@ -224,8 +233,10 @@ find_device_bus_subsystem (MMKernelDeviceUdev *self)
-             (g_strcmp0 (subsys, "pci") == 0)      ||
-             (g_strcmp0 (subsys, "platform") == 0) ||
-             (g_strcmp0 (subsys, "pnp") == 0)      ||
--            (g_strcmp0 (subsys, "sdio") == 0))
-+            (g_strcmp0 (subsys, "sdio") == 0)) {
-+            g_clear_object (&iter);
-             return g_strdup (subsys);
-+        }
- 
-         parent = g_udev_device_get_parent (iter);
-         g_clear_object (&iter);
-@@ -233,6 +244,7 @@ find_device_bus_subsystem (MMKernelDeviceUdev *self)
-     }
- 
-     /* no more parents to check */
-+    g_clear_object (&iter);
-     return NULL;
- }
- 
diff --git a/patches/ModemManager-1.16.2/series b/patches/ModemManager-1.16.2/series
deleted file mode 100644
index 073ee95c5..000000000
--- a/patches/ModemManager-1.16.2/series
+++ /dev/null
@@ -1,4 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-kerneldevice-udev-don-t-use-autoptr-in-GUdev-types.patch
-# 7ee4df7afdcd7083fe59386d7e47c795  - git-ptx-patches magic
diff --git a/rules/modemmanager.make b/rules/modemmanager.make
index 18191583c..43d8e607e 100644
--- a/rules/modemmanager.make
+++ b/rules/modemmanager.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_MODEMMANAGER) += modemmanager
 #
 # Paths and names
 #
-MODEMMANAGER_VERSION	:= 1.16.2
-MODEMMANAGER_MD5	:= 83c5fc0bf65b8f321532b61b5f2b0b51
+MODEMMANAGER_VERSION	:= 1.16.6
+MODEMMANAGER_MD5	:= bde995400758db3a98c886608c2d5d9d
 MODEMMANAGER		:= ModemManager-$(MODEMMANAGER_VERSION)
 MODEMMANAGER_SUFFIX	:= tar.xz
 MODEMMANAGER_URL	:= https://www.freedesktop.org/software/ModemManager/$(MODEMMANAGER).$(MODEMMANAGER_SUFFIX)
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  parent reply	other threads:[~2021-06-23  7:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23  7:33 [ptxdist] [PATCH v3 0/5] mobile broadband software version bump Alexander Dahl
2021-06-23  7:33 ` [ptxdist] [PATCH v3 1/5] libqmi: version bump 1.28.2 -> 1.28.6 Alexander Dahl
2021-06-29  5:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-06-23  7:33 ` Alexander Dahl [this message]
2021-06-29  5:09   ` [ptxdist] [APPLIED] modemmanager: version bump 1.16.2 -> 1.16.6 Michael Olbrich
2021-06-23  7:33 ` [ptxdist] [PATCH v3 3/5] networkmanager: version bump 1.26.2 -> 1.30.4 Alexander Dahl
2021-06-29  5:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-06-23  7:33 ` [ptxdist] [PATCH v3 4/5] networkmanager: Make "more logging" optional Alexander Dahl
2021-06-29  5:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-06-23  7:33 ` [ptxdist] [PATCH v3 5/5] ppp: version bump 2.4.7 -> 2.4.9 Alexander Dahl
2021-06-29  5:09   ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210623073309.23058-3-ada@thorsis.com \
    --to=ada@thorsis.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox