Commit Graph

80 Commits

Author SHA1 Message Date
Aleksander Morgado
0e60d964b3 build: MBIM support is auto
Use it if found, don't use it if not found.

Can be explicitly requested with --with-mbim.
2013-04-17 15:34:23 +02:00
Aleksander Morgado
dd5680debe build: new '--with-mbim' configure switch
Will enable MBIM support through libmbim.
2013-04-17 15:19:37 +02:00
Aleksander Morgado
678f596ff9 qcdm-serial-port: avoid playing with GByteArray internals
Since glib 2.32, we can use g_byte_array_new_take() to build a new GByteArray
from an own allocated buffer, so skip playing with the GByteArray internals.
2013-04-02 17:04:01 +02:00
Aleksander Morgado
e6a5ad259c build: fix check for libqmi when newest QMI commands are enabled
Reported by Marius Kotsbak <marius.kotsbak@gmail.com>
2013-03-14 14:41:50 +01:00
Aleksander Morgado
222825d642 systemd: include systemd unit file support
Allow having systemd handling the life cycle of the ModemManager process.
2013-02-06 17:32:59 +01:00
Aleksander Morgado
596c9ea508 build: polish configure.ac a bit 2013-02-06 16:26:07 +01:00
Dan Williams
26c19ff474 release: bump version to 0.7.990 2012-12-07 15:43:26 -06:00
Martyn Russell
bc49794848 docs,ModemManager: Don't use .in file for manpage, no need 2012-10-23 19:47:55 +02:00
Aleksander Morgado
d84b4f634e build,data: include missing generation of the policy file 2012-10-04 12:25:35 +02:00
Aleksander Morgado
b6d628b3a1 build: merge libmm-common into libmm-glib
It's pointless to have libmm-common around, just merge it into libmm-glib and
make ModemManager depend on libmm-glib directly. At the end, the non-common
stuff in libmm-glib is really minimal.
2012-10-04 10:17:05 +02:00
Aleksander Morgado
ca14de0605 doc: setup gtk-doc generation for libmm-glib 2012-10-01 23:44:47 +02:00
Aleksander Morgado
1b5804895f build: use $PKG_CONFIG
The build system sets up this variable for us, so use it rather than
hardcoding "pkg-config" which might be the wrong one.

Equivalent to the one done by
    Mike Frysinger <vapier@gentoo.org>
in libqmi.
2012-09-24 04:36:38 +02:00
Aleksander Morgado
4804c37604 build: new `--without-qmi' configure option
For those who don't care about the QMI support through libqmi-glib, or if you're
stuck with glib 2.30 (libqmi-glib requires 2.32), this configure switch allows
disabling the QMI support completely.

The logic to detect cdc-wdm ports is still in place, but the QMI probing is
never launched at them. Also, all QMI-related objects won't be compiled.
2012-09-05 20:02:31 +02:00
Aleksander Morgado
12246a8c60 broadband-modem-qmi: use only deprecated commands
The QMI protocol is updated frequently with new commands replacing and
improving some already existing ones, which get marked as deprecated.
Instead of initially try to cover the logic with both the old and the new
commands, we'll default to use only the old deprecated ones, which should be
supported also in the modems with newer services.

The supported already implemented for the new QMI commands is hidden behind a
`--with-newest-qmi-commands' configure switch.

Once the implementation is fully developed and tested using the deprecated
commands we can then focus in including the support for the new ones.
2012-08-29 17:26:46 +02:00
Aleksander Morgado
26d3c28e43 core: new `MMQmiPort' object
This object encapsulates the usage of the `QmiDevice' coming from libqmi-glib.
2012-08-29 17:14:47 +02:00
Aleksander Morgado
dc8d9dfdb9 build: fix definitions of cflags/libs 2012-08-29 17:14:47 +02:00
Aleksander Morgado
4add521a98 build: remove duplicate `--with-docs' switch 2012-08-02 10:40:33 +02:00
Dan Williams
e7b1c48daf uml290: add mode switching tool
Switches UML290 mode between 4G/LTE, 3G/EVDO/1X, and auto.
2012-05-30 11:48:42 -05:00
Aleksander Morgado
6fa3f0b0d7 build: provide pkg-config files for ModemManager, libmm-common and libmm-glib 2012-05-24 09:59:53 +02:00
Aleksander Morgado
c52762ea67 build: require gudev >= 147
Since udev 147 the gudev API is no longer marked as experimental, and therefore
`G_UDEV_API_IS_SUBJECT_TO_CHANGE' is no longer needed.
2012-03-16 14:53:25 +01:00
Aleksander Morgado
0c6dad40a0 build: get path of `glib-mkenums' from pkg-config 2012-03-16 14:53:17 +01:00
Aleksander Morgado
ca9104dcb4 build: generate PNG files automatically from DIA files 2012-03-16 14:53:17 +01:00
Aleksander Morgado
7d9d003324 build: rename the binary from modem-manager' to ModemManager' 2012-03-16 14:53:17 +01:00
Aleksander Morgado
c55b5d097e marshallers: integrate them into the daemon compilation 2012-03-16 14:53:16 +01:00
Aleksander Morgado
5ab3ec6bce build: require polkit-gobject >= 0.97
It's new enough, and it lets us use polkit_authority_get_sync().
2012-03-16 14:53:15 +01:00
Aleksander Morgado
38b7e6e129 build: so long dbus-glib, and thanks for all the fish 2012-03-16 14:28:15 +01:00
Aleksander Morgado
b7938448ea libmm-common,tests: new tests for the key/value parser 2012-03-15 14:15:04 +01:00
Aleksander Morgado
4016a1ec20 build: require glib 2.30.2
So that we get the following fix in glib-mkenums:
https://bugzilla.gnome.org/show_bug.cgi?id=661797
2012-03-15 14:14:46 +01:00
Aleksander Morgado
6081919744 libmm-common: make it installable
We'll install libmm-common and its headers, which will be used by libmm-glib
and the ModemManager daemon.
2012-03-15 14:14:34 +01:00
Aleksander Morgado
8f450d82b6 cli: initial cli implementation 2012-03-15 14:14:25 +01:00
Aleksander Morgado
ba0e4ca88e libmm-glib: setup build of the libmm-glib library
The library will contain a small layer of code on top of the proxies and object
manager client generated by gdbus-codegen. Therefore, the headers auto-generated
from the DBus introspection XMLs need to be distributed along with the
libmm-glib specific headers.
2012-03-15 14:14:25 +01:00
Aleksander Morgado
8d97538c72 build: setup all data (polkit, icon, dbus...) in the same `data' directory
Also fixed dist when not using polkit, the icon was no longer included in the
tarball.
2012-03-15 14:14:19 +01:00
Aleksander Morgado
3b976c4399 docs: added new man page for the modem-manager daemon 2012-03-15 14:14:19 +01:00
Aleksander Morgado
09f40c8369 docs: setup generation of gtk-doc based DBus API documentation
It includes gdbus-codegen generated API documentation, plus the common Enums,
Flags and Errors, which will also be used in libmm-glib.
2012-03-15 14:14:19 +01:00
Aleksander Morgado
ade484826c libmm-common: setup new library, with the gdbus-codegen generated code
This library will not (probably) be installable, but will share the GDBus
and new Enum/Flag/Error type support between the core daemon and the new
libmm-glib library.
2012-03-15 14:14:18 +01:00
Aleksander Morgado
bb7311f27c build: improve project bootstrapping
Align autogen.sh with the one in NM:
  * Just calling autoreconf once
  * Using autopoint from GNU gettext
  * Enabling the use of NOCONFIGURE
2012-03-15 14:14:18 +01:00
Aleksander Morgado
7e0f016c25 build: improve configure output report 2012-03-15 14:14:18 +01:00
Aleksander Morgado
dbb06b6246 build: require GLib and GIO >= 2.30
gdbus-codegen is first available in the stable 2.30 release of GLib, see
http://mail.gnome.org/archives/gtk-devel-list/2011-September/msg00218.html

GIO and GIO-Unix are now required during the build.
2012-03-15 14:14:18 +01:00
Aleksander Morgado
365b906a3e build: setup header generator in its own include/Makefile
Also move helper files to the new `build-aux' directory.
2012-03-15 14:14:18 +01:00
Dan Williams
8f5cd49361 release: bump version to 0.7.0 (devel for 0.8.x stable) 2012-03-14 11:11:26 -05:00
Dan Williams
4fd6264848 build: more libwmc and libqcdm standalone fixes
Make it pass distcheck.
2012-01-27 15:14:30 -06:00
Dan Williams
3dd4cdaf2b libwmc: beginning of bits for WMC-based devices like UML290 2011-09-17 13:27:54 -05:00
Dan Williams
1f86a85c1c build: bump version to 0.5.999 for 0.6 development 2011-05-04 11:33:36 -05:00
Aleksander Morgado
0cce1f4e4c build: remove unneeded message in configure build report
Location API is always built
2011-04-28 12:02:10 +02:00
Dan Williams
83bbd0eb11 build: only require gettext if enabling polkit 2011-04-27 14:54:41 -05:00
Dan Williams
c96db0c91b Revert "build: don't require intltool unless --with-polkit=yes"
This reverts commit 0299cf51c4.
2011-04-27 14:47:00 -05:00
Dan Williams
0299cf51c4 build: don't require intltool unless --with-polkit=yes 2011-04-27 13:00:51 -05:00
Aleksander Morgado
95b0863f87 build: use brackets in autoconf initialization macros 2011-04-04 21:38:22 -05:00
Aleksander Morgado
641ec51c8b build: use LT_INIT to initialize libtool, and require at least 2.2 2011-04-04 21:38:22 -05:00
Aleksander Morgado
e68bf52bc3 build: require autoconf 2.60 and fix warnings
AC_GNU_SOURCE is deprecated, AC_USE_SYSTEM_EXTENSIONS (introduced in
autoconf 2.60) should be used instead.
2011-04-04 21:38:22 -05:00