Compare commits

...

2 Commits
rawhide ... f14

Author SHA1 Message Date
Dan Williams d9358d24cd add patches 2011-07-11 19:46:42 -05:00
Dan Williams c9b9b874cd Update to 0.4.998 (0.5-beta) snapshot 2011-07-11 19:31:29 -05:00
4 changed files with 89 additions and 7 deletions

View File

@ -0,0 +1,12 @@
diff -up ModemManager-0.4/src/mm-log.c.format ModemManager-0.4/src/mm-log.c
--- ModemManager-0.4/src/mm-log.c.format 2011-01-24 14:31:25.000000000 -0600
+++ ModemManager-0.4/src/mm-log.c 2011-02-25 08:03:00.315754971 -0600
@@ -88,7 +88,7 @@ _mm_log (const char *loc,
usecs += 1000000;
}
- snprintf (&tsbuf[0], sizeof (tsbuf), " [%06ld.%06ld]", secs, usecs);
+ snprintf (&tsbuf[0], sizeof (tsbuf), " [%06ld.%06ld]", secs, (long) usecs);
}
if ((log_level & LOGL_DEBUG) && (level == LOGL_DEBUG))

View File

@ -1,10 +1,10 @@
%define snapshot .git20100720
%define snapshot .git20110706
%define ppp_version 2.4.5
Summary: Mobile broadband modem management service
Name: ModemManager
Version: 0.4
Release: 4%{snapshot}%{?dist}
Version: 0.4.998
Release: 1%{snapshot}%{?dist}
#
# Source from git://anongit.freedesktop.org/ModemManager/ModemManager
# tarball built with:
@ -24,28 +24,35 @@ BuildRequires: dbus-glib-devel >= 0.82
BuildRequires: libgudev-devel >= 143
BuildRequires: ppp = %{ppp_version}
BuildRequires: ppp-devel = %{ppp_version}
BuildRequires: polkit-devel
BuildRequires: automake autoconf intltool libtool
# for xsltproc
BuildRequires: libxslt
Patch0: buildsys-hates-openpty.patch
# HACK patch to workaround FTBFS on sparc, type mismatch where
# suseconds_t is int -- Rex
Patch1: ModemManager-0.4-hack_sparc_werror.patch
%description
The ModemManager service provides a consistent API to operate many different
modems, including mobile broadband (3G) devices.
%prep
%setup -q
%patch0 -p1 -b .pty
%patch1 -p1 -b .hack_sparc_werror.patch
%build
pppddir=`ls -1d %{_libdir}/pppd/2*`
autoreconf -i
%configure \
--enable-more-warnings=yes \
--with-udev-base-dir=/lib/udev \
--with-tests=yes \
--with-docs=yes \
--disable-static \
--with-pppd-plugin-dir=$pppddir \
--with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
--with-polkit=no \
--with-dist-version=%{version}-%{release}
@ -60,6 +67,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/2.*/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/2.*/*.so
rm -f $RPM_BUILD_ROOT%{_includedir}/mm/mm-modem.h
%post
/sbin/ldconfig
@ -86,8 +94,58 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
/lib/udev/rules.d/*
%{_datadir}/polkit-1/actions/*.policy
%{_datadir}/icons/hicolor/22x22/apps/modem-manager.png
%{_datadir}/dbus-1/interfaces/*.xml
%changelog
* Wed Jul 7 2011 Dan Williams <dcbw@redhat.com> - 0.4.998-1.git20110706
- Update to 0.5-beta4
- gsm: various USSD fixes
- samsung: support for Y3400 module and various other fixes
- gobi: support access technology reporting while disconnected
- nokia: fix issues with N900 USB connected operation (rh #583691)
* Mon Jun 6 2011 Dan Williams <dcbw@redhat.com> - 0.4.997-1
- Update to 0.5-beta3
- samsung: only support Y3300 (fixes issues with other Samsung modems)
- longcheer: restrict to only supported devices
- simtech: add support for Prolink PH-300
- gsm: various SMS cleanups and fixes
- x22x: add support for access technology reporting and the Alcatel X200 modem
* Wed Apr 27 2011 Dan Williams <dcbw@redhat.com> 0.4-8.git20110427
- samsung: add support for Samsung Y3300 GSM modem
- huawei: fixes for probing and handling various Huawei devices
- wavecom: add support for some Wavecom modems
- zte: fix crashes with Icera-based devices
- mbm: add support for Lenovo F5521gw module
- core: add support for basic SMS reception
- core: faster probing for devices that support it (option, samsung)
* Fri Feb 25 2011 Rex Dieter <rdieter@fedoraproejct.org> 0.4-7.git20110201.1
- hack around FTBFS on sparc
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-7.git20110201
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Feb 1 2011 Dan Williams <dcbw@redhat.com> - 0.4-6.git20110201
- Attempt to fix Icera plugin crash on second dial
* Tue Feb 1 2011 Dan Williams <dcbw@redhat.com> - 0.4-5.git20110201
- core: add device and SIM identifier properties
- dbus: fix property access permissions via D-Bus (rh #58594)
- cdma: better detection of EVDO registration
- cdma: recognize dual-mode devices as CDMA instead of GSM
- gsm: better handling of wrong PIN entry
- gsm: allow usage of older GSM character encoding schemes
- gsm: preliminary USSD support
- gsm: fix handling of modems that report signal strength via +CIND
- sierra: fix handling of Sierra CnS ports mistakenly recognized as QCDM
- sierra: ensure packet-switched network attachment before dialing
- zte: add support for T-Mobile Rocket 2.0
- mbm: add support for HP-branded Ericsson devices
- linktop: add support for Linktop/Teracom LW273
- x22x: add support for various Alcatel devices (like the X220D)
* Tue Jul 20 2010 Dan Williams <dcbw@redhat.com> - 0.4-4.git20100720
- gsm: fix location services API signals
- gsm: fix issue with invalid operator names (rh #597088)

View File

@ -0,0 +1,12 @@
diff -up ModemManager-0.4.998/src/tests/Makefile.am.foo ModemManager-0.4.998/src/tests/Makefile.am
--- ModemManager-0.4.998/src/tests/Makefile.am.foo 2011-07-06 17:59:53.711343366 -0500
+++ ModemManager-0.4.998/src/tests/Makefile.am 2011-07-06 18:00:08.971152593 -0500
@@ -45,7 +45,6 @@ if WITH_TESTS
check-local: test-modem-helpers
$(abs_builddir)/test-modem-helpers
$(abs_builddir)/test-charsets
- $(abs_builddir)/test-qcdm-serial-port
endif

View File

@ -1 +1 @@
47e7d7a94cd24143c641ddf573596540 ModemManager-0.4.git20100720.tar.bz2
2f9132a179190b2534726107a54eb1e9 ModemManager-0.4.998.git20110706.tar.bz2