* [Buildroot] [PATCH v5 1/4] libqmi: bump to 1.6.0
@ 2013-11-13 20:57 Yegor Yefremov
2013-11-13 20:57 ` [Buildroot] [PATCH v5 2/4] libmbim: add new package Yegor Yefremov
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Yegor Yefremov @ 2013-11-13 20:57 UTC (permalink / raw)
To: buildroot
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
package/libqmi/libqmi.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/libqmi/libqmi.mk b/package/libqmi/libqmi.mk
index 4f3f9a9..edd11f7 100644
--- a/package/libqmi/libqmi.mk
+++ b/package/libqmi/libqmi.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBQMI_VERSION = 1.4.0
+LIBQMI_VERSION = 1.6.0
LIBQMI_SITE = http://www.freedesktop.org/software/libqmi/
LIBQMI_SOURCE = libqmi-$(LIBQMI_VERSION).tar.xz
LIBQMI_LICENSE = LGPLv2+ (library), GPLv2+ (programs)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v5 2/4] libmbim: add new package
2013-11-13 20:57 [Buildroot] [PATCH v5 1/4] libqmi: bump to 1.6.0 Yegor Yefremov
@ 2013-11-13 20:57 ` Yegor Yefremov
2013-11-13 20:57 ` [Buildroot] [PATCH v5 3/4] pcre: add UTF-8/16/32 support option Yegor Yefremov
2013-11-13 20:57 ` [Buildroot] [PATCH v5 4/4] ModemManager: add new package Yegor Yefremov
2 siblings, 0 replies; 5+ messages in thread
From: Yegor Yefremov @ 2013-11-13 20:57 UTC (permalink / raw)
To: buildroot
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
package/Config.in | 1 +
package/libmbim/Config.in | 17 +++++++++++++++++
package/libmbim/libmbim.mk | 20 ++++++++++++++++++++
3 files changed, 38 insertions(+)
create mode 100644 package/libmbim/Config.in
create mode 100644 package/libmbim/libmbim.mk
diff --git a/package/Config.in b/package/Config.in
index 311cc6c..86498bd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -546,6 +546,7 @@ source "package/libfreefare/Config.in"
source "package/libftdi/Config.in"
source "package/libhid/Config.in"
source "package/libiqrf/Config.in"
+source "package/libmbim/Config.in"
source "package/libnfc/Config.in"
source "package/libnfc-llcp/Config.in"
source "package/libqmi/Config.in"
diff --git a/package/libmbim/Config.in b/package/libmbim/Config.in
new file mode 100644
index 0000000..ccc0f25
--- /dev/null
+++ b/package/libmbim/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_LIBMBIM
+ bool "libmbim"
+ depends on BR2_USE_WCHAR # libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+ depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_UDEV_ALL_EXTRAS
+ help
+ libmbim is a glib-based library for talking to WWAN modems and
+ devices which speak the Mobile Interface Broadband Model (MBIM)
+ protocol.
+
+ http://www.freedesktop.org/wiki/Software/libmbim/
+
+comment "libmbim needs udev and a toolchain w/ wchar, threads"
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+ !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
diff --git a/package/libmbim/libmbim.mk b/package/libmbim/libmbim.mk
new file mode 100644
index 0000000..acf9f79
--- /dev/null
+++ b/package/libmbim/libmbim.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# libmbim
+#
+################################################################################
+
+LIBMBIM_VERSION = 1.4.0
+LIBMBIM_SITE = http://www.freedesktop.org/software/libmbim/
+LIBMBIM_SOURCE = libmbim-$(LIBMBIM_VERSION).tar.xz
+LIBMBIM_LICENSE = GPLv2
+LIBMBIM_LICENSE_FILES = COPYING
+LIBMBIM_INSTALL_STAGING = YES
+
+LIBMBIM_DEPENDENCIES = libglib2 udev
+
+# we don't want -Werror
+LIBMBIM_CONF_OPT = --enable-more-warnings=no
+
+$(eval $(autotools-package))
+
--
1.8.1.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v5 3/4] pcre: add UTF-8/16/32 support option
2013-11-13 20:57 [Buildroot] [PATCH v5 1/4] libqmi: bump to 1.6.0 Yegor Yefremov
2013-11-13 20:57 ` [Buildroot] [PATCH v5 2/4] libmbim: add new package Yegor Yefremov
@ 2013-11-13 20:57 ` Yegor Yefremov
2013-11-13 20:57 ` [Buildroot] [PATCH v5 4/4] ModemManager: add new package Yegor Yefremov
2 siblings, 0 replies; 5+ messages in thread
From: Yegor Yefremov @ 2013-11-13 20:57 UTC (permalink / raw)
To: buildroot
Add BR2_PACKAGE_PCRE_UTF option, that activates
--enable-unicode-properties for UTF-8/16/32.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
Changes:
v3: change option to "UTF-8/16/32 support"
package/pcre/Config.in | 5 +++++
package/pcre/pcre.mk | 1 +
2 files changed, 6 insertions(+)
diff --git a/package/pcre/Config.in b/package/pcre/Config.in
index dc92274..e49d693 100644
--- a/package/pcre/Config.in
+++ b/package/pcre/Config.in
@@ -19,4 +19,9 @@ config BR2_PACKAGE_PCRE_32
help
This option builds the 32-bits pcre library, i.e 'libpcre32'
+config BR2_PACKAGE_PCRE_UTF
+ bool "UTF-8/16/32 support"
+ help
+ This option enables UTF support
+
endif
diff --git a/package/pcre/pcre.mk b/package/pcre/pcre.mk
index bf86a3d..0d1d66b 100644
--- a/package/pcre/pcre.mk
+++ b/package/pcre/pcre.mk
@@ -19,5 +19,6 @@ endif
PCRE_CONF_OPT += --enable-pcre8
PCRE_CONF_OPT += $(if $(BR2_PACKAGE_PCRE_16),--enable-pcre16,--disable-pcre16)
PCRE_CONF_OPT += $(if $(BR2_PACKAGE_PCRE_32),--enable-pcre32,--disable-pcre32)
+PCRE_CONF_OPT += $(if $(BR2_PACKAGE_PCRE_UTF),--enable-unicode-properties,--disable-unicode-properties)
$(eval $(autotools-package))
--
1.8.1.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v5 4/4] ModemManager: add new package
2013-11-13 20:57 [Buildroot] [PATCH v5 1/4] libqmi: bump to 1.6.0 Yegor Yefremov
2013-11-13 20:57 ` [Buildroot] [PATCH v5 2/4] libmbim: add new package Yegor Yefremov
2013-11-13 20:57 ` [Buildroot] [PATCH v5 3/4] pcre: add UTF-8/16/32 support option Yegor Yefremov
@ 2013-11-13 20:57 ` Yegor Yefremov
2013-11-13 21:00 ` Yegor Yefremov
2 siblings, 1 reply; 5+ messages in thread
From: Yegor Yefremov @ 2013-11-13 20:57 UTC (permalink / raw)
To: buildroot
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
Changes:
v4: change dependency comment to the standard one (Arnout Vandecappelle)
v3: depend on pcre, fix comments and indentation etc. (comments from Thomas Petazzoni)
v2: typos, add select QMI to the config option, don't install to staging
package/Config.in | 1 +
package/modem-manager/Config.in | 39 ++++++++++++++++++++++++++++++++++
package/modem-manager/modem-manager.mk | 28 ++++++++++++++++++++++++
3 files changed, 68 insertions(+)
create mode 100644 package/modem-manager/Config.in
create mode 100644 package/modem-manager/modem-manager.mk
diff --git a/package/Config.in b/package/Config.in
index 86498bd..468e819 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -823,6 +823,7 @@ source "package/lrzsz/Config.in"
source "package/macchanger/Config.in"
source "package/mii-diag/Config.in"
source "package/minidlna/Config.in"
+source "package/modem-manager/Config.in"
source "package/mongoose/Config.in"
source "package/mongrel2/Config.in"
source "package/mrouted/Config.in"
diff --git a/package/modem-manager/Config.in b/package/modem-manager/Config.in
new file mode 100644
index 0000000..00a7a79
--- /dev/null
+++ b/package/modem-manager/Config.in
@@ -0,0 +1,39 @@
+config BR2_PACKAGE_MODEM_MANAGER
+ bool "modemmanager"
+ depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
+ select BR2_PACKAGE_DBUS
+ depends on BR2_INET_IPV6
+ depends on BR2_LARGEFILE # acl
+ depends on BR2_USE_WCHAR # libglib2 and gnutls
+ depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
+ depends on BR2_USE_MMU # dbus
+ select BR2_PACKAGE_DBUS_GLIB
+ select BR2_PACKAGE_UDEV
+ select BR2_PACKAGE_UDEV_ALL_EXTRAS
+ select BR2_PACKAGE_PCRE
+ select BR2_PACKAGE_PCRE_UTF
+ help
+ ModemManager is a DBus-activated daemon which controls mobile
+ broadband (2G/3G/4G) devices and connections.
+
+ http://www.freedesktop.org/wiki/Software/ModemManager/
+
+if BR2_PACKAGE_MODEM_MANAGER
+
+config BR2_PACKAGE_MODEM_MANAGER_LIBMBIM
+ bool "MBIM support"
+ select BR2_PACKAGE_LIBMBIM
+ help
+ This option enables support for MBIM protocol
+
+config BR2_PACKAGE_MODEM_MANAGER_LIBQMI
+ bool "QMI support"
+ select BR2_PACKAGE_LIBQMI
+ help
+ This option enables support for QMI protocol
+endif
+
+comment "modemmanager needs udev and a toolchain w/ largefile, wchar, threads, IPv6"
+ depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \
+ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
+
diff --git a/package/modem-manager/modem-manager.mk b/package/modem-manager/modem-manager.mk
new file mode 100644
index 0000000..b75d2cb
--- /dev/null
+++ b/package/modem-manager/modem-manager.mk
@@ -0,0 +1,28 @@
+################################################################################
+#
+# modem-manager
+#
+################################################################################
+
+MODEM_MANAGER_VERSION = 1.0.0
+MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
+MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager/
+MODEM_MANAGER_LICENSE = GPLv2
+MODEM_MANAGER_LICENSE_FILES = COPYING
+MODEM_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib host-intltool pcre
+
+ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQMI),y)
+ MODEM_MANAGER_DEPENDENCIES += libqmi
+ MODEM_MANAGER_CONF_OPT += --with-qmi
+else
+ MODEM_MANAGER_CONF_OPT += --without-qmi
+endif
+
+ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBMBIM),y)
+ MODEM_MANAGER_DEPENDENCIES += libmbim
+ MODEM_MANAGER_CONF_OPT += --with-mbim
+else
+ MODEM_MANAGER_CONF_OPT += --without-mbim
+endif
+
+$(eval $(autotools-package))
--
1.8.1.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v5 4/4] ModemManager: add new package
2013-11-13 20:57 ` [Buildroot] [PATCH v5 4/4] ModemManager: add new package Yegor Yefremov
@ 2013-11-13 21:00 ` Yegor Yefremov
0 siblings, 0 replies; 5+ messages in thread
From: Yegor Yefremov @ 2013-11-13 21:00 UTC (permalink / raw)
To: buildroot
On Wed, Nov 13, 2013 at 9:57 PM, Yegor Yefremov
<yegorslists@googlemail.com> wrote:
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> Changes:
v5: add libmbim support
> v4: change dependency comment to the standard one (Arnout Vandecappelle)
> v3: depend on pcre, fix comments and indentation etc. (comments from Thomas Petazzoni)
> v2: typos, add select QMI to the config option, don't install to staging
Yegor
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-11-13 21:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-13 20:57 [Buildroot] [PATCH v5 1/4] libqmi: bump to 1.6.0 Yegor Yefremov
2013-11-13 20:57 ` [Buildroot] [PATCH v5 2/4] libmbim: add new package Yegor Yefremov
2013-11-13 20:57 ` [Buildroot] [PATCH v5 3/4] pcre: add UTF-8/16/32 support option Yegor Yefremov
2013-11-13 20:57 ` [Buildroot] [PATCH v5 4/4] ModemManager: add new package Yegor Yefremov
2013-11-13 21:00 ` Yegor Yefremov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.