Skip to contentSkip to conversation

package/libmbim: bump version to 1.28.2

PATCH Applied Heiko Thiery 3 participants 9 messages Dec 8, 2022 – Dec 12, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 package/libmbim: bump version to 1.28.2

---
 package/libmbim/libmbim.hash | 2 +-
 package/libmbim/libmbim.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/libmbim/libmbim.hash +1 -1
index e98c53b1c9..2e2b46fcdb 100644
@@ -1,4 +1,4 @@
 # Locally computed
-sha256  58cd9ab1a2af9bbf40f9c02d3152a96baaa34a5f66a4289e928c7cf1c9584abb  libmbim-1.26.4.tar.gz
+sha256  cf74682c56f4c34ca4aee86de3b8c425a89fc2c0782052815295faf6a8e0a9fb  libmbim-1.28.2.tar.gz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
package/libmbim/libmbim.mk +1 -1
index 1e2b1771eb..1c12b82298 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBMBIM_VERSION = 1.26.4
+LIBMBIM_VERSION = 1.28.2
 LIBMBIM_SITE = https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/$(LIBMBIM_VERSION)
 LIBMBIM_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)
 LIBMBIM_LICENSE_FILES = COPYING COPYING.LIB
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 2/3 package/libqmi: bump version to 1.32.2

---

v2: change to stable version 1.32.2 (thanks to Aleksander)

 package/libqmi/libqmi.hash | 2 +-
 package/libqmi/libqmi.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/libqmi/libqmi.hash +1 -1
index dee2a94d93..5036c1d3c0 100644
@@ -1,4 +1,4 @@
 # Locally computed:
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
-sha256  b2e0285690f94fe6d0cc3c422514117b187c8ddb90133c2900993e13343f5a5e  libqmi-1.30.8.tar.gz
+sha256  aec96bf2733a7b5ba27bb52346ce3a1ab54440800843f78001cc2a51213ce1b9  libqmi-1.32.2.tar.gz
package/libqmi/libqmi.mk +1 -1
index 6b7f45729e..c3db50a92c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBQMI_VERSION = 1.30.8
+LIBQMI_VERSION = 1.32.2
 LIBQMI_SITE = https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/$(LIBQMI_VERSION)
 LIBQMI_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)
 LIBQMI_LICENSE_FILES = COPYING COPYING.LIB
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH v2 2/3] package/libqmi: bump version to 1.32.2

Quoted 2 lines · On Thu, 8 Dec 2022 14:39:30 +0100 Heiko Thiery <[email protected]> wrote:

---

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH v2 3/3 package/modem-manager: bump version to 1.20.2

In reply to Heiko Thiery

Switch package type to meson as the primary supported build system from now on is meson and the autotools support as despricated.

The package tarball is no longer support, thus the MODEM_MANAGER_SOURCE is changed to the gitlab archive URL.

All previously supported options are converted to the meson configuraiton options and support for new ones is added.
The new options are: bash_completion, polkit, systemd, qrtr.

For building with libqmi support version 1.32.2 is required and for libmbim version 1.28.2 is required.

---
v2: mention version 1.32.2 of libqmi as build dependency (thanks to Aleksander)

 package/modem-manager/modem-manager.hash |  2 +-
 package/modem-manager/modem-manager.mk   | 72 ++++++++++++++++++------
 2 files changed, 55 insertions(+), 19 deletions(-)
package/modem-manager/modem-manager.hash +1 -1
index 40c8ad703f..e6967f8d62 100644
@@ -1,4 +1,4 @@
 #Locally calculated after checking https://www.freedesktop.org/software/ModemManager/ModemManager-1.18.12.tar.xz.asc
-sha256  b464e4925d955a6ca86dd08616e763b26ae46d7fd37dbe281678e34065b1e430  ModemManager-1.18.12.tar.xz
+sha256  ba56aa764edc148f58348a589743cf1c1e27c55dcd7ebd820dcedd52fb8d7179  ModemManager-1.20.2.tar.gz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
package/modem-manager/modem-manager.mk +54 -18

100 lines not on this page · raw message

Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH v2 3/3] package/modem-manager: bump version to 1.20.2

Hello Heiko!

package/modem-manager/modem-manager.mk line 13

Quoted 11 lines · On Thu, 8 Dec 2022 14:39:32 +0100 Heiko Thiery <[email protected]> wrote:
package/modem-manager/modem-manager.mk +4 -4
-MODEM_MANAGER_VERSION = 1.18.12
-MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
-MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager
+MODEM_MANAGER_VERSION = 1.20.2
+MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.gz
+MODEM_MANAGER_SITE = https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/archive/$(MODEM_MANAGER_VERSION)
 MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib)
 MODEM_MANAGER_LICENSE_FILES = COPYING COPYING.LIB
 MODEM_MANAGER_SELINUX_MODULES = modemmanager
-MODEM_MANAGER_DEPENDENCIES = host-pkgconf libglib2 $(TARGET_NLS_DEPENDENCIES)
+MODEM_MANAGER_DEPENDENCIES = host-pkgconf dbus libglib2 $(TARGET_NLS_DEPENDENCIES) host-libxslt

So D-Bus is no longer just a runtime dependency? Why? If that's really the case then package/modem-manager/Config.in needs to be adjusted, as it claims D-Bus is a runtime dependency.

package/modem-manager/modem-manager.mk line 17

Quoted 5 lines

MODEM_MANAGER_INSTALL_STAGING = YES

package/modem-manager/modem-manager.mk +3 -1
-MODEM_MANAGER_CONF_OPTS = --disable-more-warnings
+MODEM_MANAGER_CONF_OPTS = \
+	-Dpowerd_suspend_resume=false \
+	-Dudevdir=/usr/lib/udev

Is this needed even when -Dudev=false? Doesn't -Dudevdir=/usr/lib/udev belong instead the BR2_PACKAGE_LIBGUDEV==y conditional?

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

Re: [Buildroot] [PATCH v2 3/3] package/modem-manager: bump version to 1.20.2

Hey!

Quoted 7 lines
Quoted 7 lines
package/modem-manager/modem-manager.mk +3 -3
-MODEM_MANAGER_VERSION = 1.18.12
-MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
-MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager
+MODEM_MANAGER_VERSION = 1.20.2
+MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.gz
+MODEM_MANAGER_SITE = https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/archive/$(MODEM_MANAGER_VERSION)
 MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib)
Quoted 9 lines

package/modem-manager/modem-manager.mk line 13

Quoted 4 lines

MODEM_MANAGER_LICENSE_FILES = COPYING COPYING.LIB MODEM_MANAGER_SELINUX_MODULES = modemmanager

package/modem-manager/modem-manager.mk +1 -1
-MODEM_MANAGER_DEPENDENCIES = host-pkgconf libglib2 $(TARGET_NLS_DEPENDENCIES)
+MODEM_MANAGER_DEPENDENCIES = host-pkgconf dbus libglib2 $(TARGET_NLS_DEPENDENCIES) host-libxslt

So D-Bus is no longer just a runtime dependency? Why? If that's really the case then package/modem-manager/Config.in needs to be adjusted, as it claims D-Bus is a runtime dependency.

The build-time dependency on DBus is exclusively to read "interfaces_dir" and "system_bus_services_dir" from the pkg-config (/usr/lib/pkgconfig/dbus-1.pc) file installed. I agree this is not very pretty, as we don´t really require a full working DBus, just the pkgconfig file :/

Quoted 8 lines

package/modem-manager/modem-manager.mk line 17

Quoted 5 lines

MODEM_MANAGER_INSTALL_STAGING = YES

package/modem-manager/modem-manager.mk +3 -1
-MODEM_MANAGER_CONF_OPTS = --disable-more-warnings
+MODEM_MANAGER_CONF_OPTS = \
+     -Dpowerd_suspend_resume=false \
+     -Dudevdir=/usr/lib/udev

Is this needed even when -Dudev=false? Doesn't -Dudevdir=/usr/lib/udev belong instead the BR2_PACKAGE_LIBGUDEV==y conditional?

No, udevdir is required even if -Dudev=false. The reason is that udevdir is used to install the udev rules files, and ModemManager has a built-in udev rules parser used when the daemon is built without udev support (e.g. default in openwrt). The udev rules specify port type hints and other things, MM won't work fine without those rules.

Signature · 5 lines
Aleksander
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

Re: [Buildroot] [PATCH v2 3/3] package/modem-manager: bump version to 1.20.2

Quoted 5 lines · On Mon, 12 Dec 2022 10:19:32 +0100 Aleksander Morgado…

The build-time dependency on DBus is exclusively to read "interfaces_dir" and "system_bus_services_dir" from the pkg-config (/usr/lib/pkgconfig/dbus-1.pc) file installed. I agree this is not very pretty, as we don´t really require a full working DBus, just the pkgconfig file :/

ACK!

Quoted 5 lines

No, udevdir is required even if -Dudev=false. The reason is that udevdir is used to install the udev rules files, and ModemManager has a built-in udev rules parser used when the daemon is built without udev support (e.g. default in openwrt). The udev rules specify port type hints and other things, MM won't work fine without those rules.

OK, thanks for the information.

Heiko: will you follow-up with an updated patch?

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw

Re: [Buildroot] [PATCH v2 3/3] package/modem-manager: bump version to 1.20.2

Hi Thomas, Hi Aleksander,

Am Mo., 12. Dez. 2022 um 10:29 Uhr schrieb Thomas Petazzoni <[email protected]>:

Quoted 18 lines
Quoted 5 lines · On Mon, 12 Dec 2022 10:19:32 +0100 Aleksander Morgado…

The build-time dependency on DBus is exclusively to read "interfaces_dir" and "system_bus_services_dir" from the pkg-config (/usr/lib/pkgconfig/dbus-1.pc) file installed. I agree this is not very pretty, as we don´t really require a full working DBus, just the pkgconfig file :/

ACK!

Quoted 5 lines

No, udevdir is required even if -Dudev=false. The reason is that udevdir is used to install the udev rules files, and ModemManager has a built-in udev rules parser used when the daemon is built without udev support (e.g. default in openwrt). The udev rules specify port type hints and other things, MM won't work fine without those rules.

Quoted 3 lines

OK, thanks for the information.

Heiko: will you follow-up with an updated patch?

I will update the patch to create the runtime dependency in package/modem-manager/Config.in.

--
Heiko

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#8 lore raw
In reply to Heiko Thiery
Quoted 5 lines · On Thu, 8 Dec 2022 14:39:27 +0100 Heiko Thiery <[email protected]> wrote:
---
 package/libmbim/libmbim.hash | 2 +-
 package/libmbim/libmbim.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot