[arch-commits] Commit in libmbim/repos (6 files)

Jan Steffens heftig at nymeria.archlinux.org
Thu May 30 00:01:37 EDT 2013


    Date: Thursday, May 30, 2013 @ 06:01:37
  Author: heftig
Revision: 186608

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  libmbim/repos/extra-i686/
  libmbim/repos/extra-i686/PKGBUILD
    (from rev 186606, libmbim/trunk/PKGBUILD)
  libmbim/repos/extra-i686/format.patch
    (from rev 186606, libmbim/trunk/format.patch)
  libmbim/repos/extra-x86_64/
  libmbim/repos/extra-x86_64/PKGBUILD
    (from rev 186607, libmbim/trunk/PKGBUILD)
  libmbim/repos/extra-x86_64/format.patch
    (from rev 186607, libmbim/trunk/format.patch)

---------------------------+
 extra-i686/PKGBUILD       |   38 ++++++++++++++++++++++++++++++++++++++
 extra-i686/format.patch   |   14 ++++++++++++++
 extra-x86_64/PKGBUILD     |   38 ++++++++++++++++++++++++++++++++++++++
 extra-x86_64/format.patch |   14 ++++++++++++++
 4 files changed, 104 insertions(+)

Copied: libmbim/repos/extra-i686/PKGBUILD (from rev 186606, libmbim/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-05-30 04:01:37 UTC (rev 186608)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libmbim
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="MBIM modem protocol helper library"
+arch=(i686 x86_64)
+url="http://cgit.freedesktop.org/libmbim/libmbim"
+license=(GPL2)
+depends=(glib2 bash systemd)
+makedepends=(gtk-doc python)
+options=('!libtool')
+source=($url/snapshot/$pkgname-$pkgver.tar.xz format.patch)
+sha256sums=('c3d668a5dc51700749a62fb5d50f149900e8dd4265e4d132c1d9cc4cb77eef0c'
+            'fbf54d12660c132f756c59cebd448a38750e3bbc9de8a7a97ceda466440dcb41')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../format.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --with-tests
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: libmbim/repos/extra-i686/format.patch (from rev 186606, libmbim/trunk/format.patch)
===================================================================
--- extra-i686/format.patch	                        (rev 0)
+++ extra-i686/format.patch	2013-05-30 04:01:37 UTC (rev 186608)
@@ -0,0 +1,14 @@
+diff -u -r libmbim-1.0.0/cli/mbimcli-basic-connect.c libmbim-1.0.0-format/cli/mbimcli-basic-connect.c
+--- libmbim-1.0.0/cli/mbimcli-basic-connect.c	2013-05-22 16:20:29.000000000 +0200
++++ libmbim-1.0.0-format/cli/mbimcli-basic-connect.c	2013-05-30 05:53:49.269777442 +0200
+@@ -909,8 +909,8 @@
+              "\t         Network error: '%s'\n"
+              "\t  Packet service state: '%s'\n"
+              "\tAvailable data classes: '%s'\n"
+-             "\t          Uplink speed: '%lu bps'\n"
+-             "\t        Downlink speed: '%lu bps'\n",
++             "\t          Uplink speed: '%" G_GUINT64_FORMAT " bps'\n"
++             "\t        Downlink speed: '%" G_GUINT64_FORMAT " bps'\n",
+              mbim_device_get_path_display (device),
+              VALIDATE_UNKNOWN (mbim_nw_error_get_string (nw_error)),
+              VALIDATE_UNKNOWN (mbim_packet_service_state_get_string (packet_service_state)),

Copied: libmbim/repos/extra-x86_64/PKGBUILD (from rev 186607, libmbim/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-05-30 04:01:37 UTC (rev 186608)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libmbim
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="MBIM modem protocol helper library"
+arch=(i686 x86_64)
+url="http://cgit.freedesktop.org/libmbim/libmbim"
+license=(GPL2)
+depends=(glib2 bash systemd)
+makedepends=(gtk-doc python)
+options=('!libtool')
+source=($url/snapshot/$pkgname-$pkgver.tar.xz format.patch)
+sha256sums=('c3d668a5dc51700749a62fb5d50f149900e8dd4265e4d132c1d9cc4cb77eef0c'
+            'fbf54d12660c132f756c59cebd448a38750e3bbc9de8a7a97ceda466440dcb41')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../format.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --with-tests
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: libmbim/repos/extra-x86_64/format.patch (from rev 186607, libmbim/trunk/format.patch)
===================================================================
--- extra-x86_64/format.patch	                        (rev 0)
+++ extra-x86_64/format.patch	2013-05-30 04:01:37 UTC (rev 186608)
@@ -0,0 +1,14 @@
+diff -u -r libmbim-1.0.0/cli/mbimcli-basic-connect.c libmbim-1.0.0-format/cli/mbimcli-basic-connect.c
+--- libmbim-1.0.0/cli/mbimcli-basic-connect.c	2013-05-22 16:20:29.000000000 +0200
++++ libmbim-1.0.0-format/cli/mbimcli-basic-connect.c	2013-05-30 05:53:49.269777442 +0200
+@@ -909,8 +909,8 @@
+              "\t         Network error: '%s'\n"
+              "\t  Packet service state: '%s'\n"
+              "\tAvailable data classes: '%s'\n"
+-             "\t          Uplink speed: '%lu bps'\n"
+-             "\t        Downlink speed: '%lu bps'\n",
++             "\t          Uplink speed: '%" G_GUINT64_FORMAT " bps'\n"
++             "\t        Downlink speed: '%" G_GUINT64_FORMAT " bps'\n",
+              mbim_device_get_path_display (device),
+              VALIDATE_UNKNOWN (mbim_nw_error_get_string (nw_error)),
+              VALIDATE_UNKNOWN (mbim_packet_service_state_get_string (packet_service_state)),



More information about the arch-commits mailing list