[arch-commits] Commit in modemmanager/repos/extra-x86_64 (4 files)

Jan Steffens heftig at archlinux.org
Sun Aug 12 14:45:13 UTC 2018


    Date: Sunday, August 12, 2018 @ 14:45:12
  Author: heftig
Revision: 331403

archrelease: copy trunk to extra-x86_64

Added:
  modemmanager/repos/extra-x86_64/PKGBUILD
    (from rev 331402, modemmanager/trunk/PKGBUILD)
  modemmanager/repos/extra-x86_64/strict-filter.diff
    (from rev 331402, modemmanager/trunk/strict-filter.diff)
Deleted:
  modemmanager/repos/extra-x86_64/PKGBUILD
  modemmanager/repos/extra-x86_64/strict-filter.diff

--------------------+
 PKGBUILD           |  174 +++++++++++++++++++++++++--------------------------
 strict-filter.diff |   26 +++----
 2 files changed, 100 insertions(+), 100 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-12 14:44:51 UTC (rev 331402)
+++ PKGBUILD	2018-08-12 14:45:12 UTC (rev 331403)
@@ -1,87 +0,0 @@
-# $Id$
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=modemmanager
-pkgname=(modemmanager libmm-glib)
-pkgver=1.8.0
-pkgrel=1
-pkgdesc="Mobile broadband modem management service"
-arch=(x86_64)
-url="https://www.freedesktop.org/wiki/Software/ModemManager/"
-license=(GPL2 LGPL2.1)
-depends=(systemd libgudev polkit ppp libqmi libmbim)
-makedepends=(gtk-doc gobject-introspection vala autoconf-archive git)
-_commit=c187c5fef5e3ffa456b73367afb8d3c888599437  # tags/1.8.0
-source=("git+https://anongit.freedesktop.org/git/ModemManager/ModemManager#commit=$_commit"
-        strict-filter.diff)
-sha256sums=('SKIP'
-            '0602cc5088b193426c3af3d6ce14a7fd6502b06f77982dc56291d834280f311e')
-
-pkgver() {
-  cd ModemManager
-  git describe --tags | sed 's/-rc/rc/;s/-/+/g'
-}
-
-prepare() {
-  cd ModemManager
-
-  # Recommended by upstream
-  patch -Np1 -i ../strict-filter.diff
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd ModemManager
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --sbindir=/usr/bin \
-    --with-dbus-sys-dir=/usr/share/dbus-1/system.d \
-    --with-udev-base-dir=/usr/lib/udev \
-    --with-polkit=permissive \
-    --with-systemd-journal \
-    --with-systemd-suspend-resume \
-    --enable-gtk-doc \
-    --disable-static
-
-  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
-}
-
-check() {
-  cd ModemManager
-  make -k check
-}
-
-package_modemmanager() {
-  depends+=(libmm-glib)
-  optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
-  options=(!emptydirs)
-
-  cd ModemManager
-  make DESTDIR="$pkgdir" install
-  make DESTDIR="$pkgdir" -C libmm-glib uninstall
-  make DESTDIR="$pkgdir" -C vapi uninstall
-
-  # Some stuff to move is left over
-  mv "$pkgdir/usr/include" ..
-  mv "$pkgdir/usr/lib/pkgconfig" ..
-}
-
-package_libmm-glib() {
-  pkgdesc="ModemManager library"
-  depends=(glib2)
-
-  install -d "$pkgdir/usr/lib"
-  mv include "$pkgdir/usr"
-  mv pkgconfig "$pkgdir/usr/lib"
-
-  cd ModemManager
-  make DESTDIR="$pkgdir" -C libmm-glib install
-  make DESTDIR="$pkgdir" -C vapi install
-}

Copied: modemmanager/repos/extra-x86_64/PKGBUILD (from rev 331402, modemmanager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-12 14:45:12 UTC (rev 331403)
@@ -0,0 +1,87 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=modemmanager
+pkgname=(modemmanager libmm-glib)
+pkgver=1.8.0
+pkgrel=2
+pkgdesc="Mobile broadband modem management service"
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/ModemManager/"
+license=(GPL2 LGPL2.1)
+depends=(systemd libgudev polkit ppp libqmi libmbim)
+makedepends=(gtk-doc gobject-introspection vala autoconf-archive git)
+_commit=c187c5fef5e3ffa456b73367afb8d3c888599437  # tags/1.8.0
+source=("git+https://anongit.freedesktop.org/git/ModemManager/ModemManager#commit=$_commit"
+        strict-filter.diff)
+sha256sums=('SKIP'
+            '0602cc5088b193426c3af3d6ce14a7fd6502b06f77982dc56291d834280f311e')
+
+pkgver() {
+  cd ModemManager
+  git describe --tags | sed 's/-rc/rc/;s/-/+/g'
+}
+
+prepare() {
+  cd ModemManager
+
+  # Recommended by upstream
+  patch -Np1 -i ../strict-filter.diff
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd ModemManager
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --sbindir=/usr/bin \
+    --with-dbus-sys-dir=/usr/share/dbus-1/system.d \
+    --with-udev-base-dir=/usr/lib/udev \
+    --with-polkit=permissive \
+    --with-systemd-journal \
+    --with-systemd-suspend-resume \
+    --enable-gtk-doc \
+    --disable-static
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+check() {
+  cd ModemManager
+  make -k check
+}
+
+package_modemmanager() {
+  depends+=(libmm-glib)
+  optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
+  options=(!emptydirs)
+
+  cd ModemManager
+  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" -C libmm-glib uninstall
+  make DESTDIR="$pkgdir" -C vapi uninstall
+
+  # Some stuff to move is left over
+  mv "$pkgdir/usr/include" ..
+  mv "$pkgdir/usr/lib/pkgconfig" ..
+}
+
+package_libmm-glib() {
+  pkgdesc="ModemManager library"
+  depends=(glib2)
+
+  install -d "$pkgdir/usr/lib"
+  mv include "$pkgdir/usr"
+  mv pkgconfig "$pkgdir/usr/lib"
+
+  cd ModemManager
+  make DESTDIR="$pkgdir" -C libmm-glib install
+  make DESTDIR="$pkgdir" -C vapi install
+}

Deleted: strict-filter.diff
===================================================================
--- strict-filter.diff	2018-08-12 14:44:51 UTC (rev 331402)
+++ strict-filter.diff	2018-08-12 14:45:12 UTC (rev 331403)
@@ -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;
- 

Copied: modemmanager/repos/extra-x86_64/strict-filter.diff (from rev 331402, modemmanager/trunk/strict-filter.diff)
===================================================================
--- strict-filter.diff	                        (rev 0)
+++ strict-filter.diff	2018-08-12 14:45:12 UTC (rev 331403)
@@ -0,0 +1,13 @@
+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