[arch-commits] Commit in modemmanager/trunk (PKGBUILD strict-filter.diff)
Jan Steffens
heftig at archlinux.org
Fri Jun 26 14:41:28 UTC 2020
Date: Friday, June 26, 2020 @ 14:41:28
Author: heftig
Revision: 390496
1.14.0-1
Modified:
modemmanager/trunk/PKGBUILD
Deleted:
modemmanager/trunk/strict-filter.diff
--------------------+
PKGBUILD | 21 +++++++++------------
strict-filter.diff | 13 -------------
2 files changed, 9 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-26 14:09:29 UTC (rev 390495)
+++ PKGBUILD 2020-06-26 14:41:28 UTC (rev 390496)
@@ -3,7 +3,7 @@
pkgbase=modemmanager
pkgname=(modemmanager libmm-glib)
-pkgver=1.12.10
+pkgver=1.14.0
pkgrel=1
pkgdesc="Mobile broadband modem management service"
arch=(x86_64)
@@ -12,11 +12,9 @@
depends=(systemd libgudev polkit ppp libqmi libmbim
mobile-broadband-provider-info)
makedepends=(gtk-doc gobject-introspection vala autoconf-archive git)
-_commit=1c6f356089bbee7c4f4421ca95e1fb4002677f49 # tags/1.12.10
-source=("git+https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git#commit=$_commit"
- strict-filter.diff)
-sha256sums=('SKIP'
- '0602cc5088b193426c3af3d6ce14a7fd6502b06f77982dc56291d834280f311e')
+_commit=5f20662aeb9b0f79865a9a9df151349a29b4a2bd # tags/1.14.0
+source=("git+https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git#commit=$_commit")
+sha256sums=('SKIP')
pkgver() {
cd ModemManager
@@ -25,10 +23,6 @@
prepare() {
cd ModemManager
-
- # Recommended by upstream
- git apply -3 ../strict-filter.diff
-
NOCONFIGURE=1 ./autogen.sh
}
@@ -44,6 +38,7 @@
--with-polkit=permissive \
--with-systemd-journal \
--with-systemd-suspend-resume \
+ --enable-compile-warnings=yes \
--enable-gtk-doc \
--disable-static
@@ -59,7 +54,8 @@
}
package_modemmanager() {
- depends+=(libmm-glib)
+ depends+=(libmm-glib.so libg{lib,object,io,module}-2.0.so libsystemd.so libgudev-1.0.so
+ libqmi-glib.so libmbim-glib.so)
optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
options=(!emptydirs)
@@ -75,7 +71,8 @@
package_libmm-glib() {
pkgdesc="ModemManager library"
- depends=(glib2)
+ depends=(libg{lib,object,io}-2.0.so)
+ provides=(libmm-glib.so)
install -d "$pkgdir/usr/lib"
mv include "$pkgdir/usr"
Deleted: strict-filter.diff
===================================================================
--- strict-filter.diff 2020-06-26 14:09:29 UTC (rev 390495)
+++ strict-filter.diff 2020-06-26 14:41:28 UTC (rev 390496)
@@ -1,13 +0,0 @@
-diff --git i/src/mm-context.c w/src/mm-context.c
-index 88d71384..fd17f830 100644
---- i/src/mm-context.c
-+++ w/src/mm-context.c
-@@ -38,7 +38,7 @@
- static gboolean help_flag;
- static gboolean version_flag;
- static gboolean debug;
--static MMFilterRule filter_policy = MM_FILTER_POLICY_DEFAULT;
-+static MMFilterRule filter_policy = MM_FILTER_POLICY_STRICT;
- static gboolean no_auto_scan = NO_AUTO_SCAN_DEFAULT;
- static const gchar *initial_kernel_events;
-
More information about the arch-commits
mailing list