All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/3] Add ofono package + dependency libraries
@ 2012-03-26 20:12 Marek Belisko
  2012-03-26 20:12 ` [Buildroot] [PATCH v2 1/3] Add libcap-ng package Marek Belisko
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Marek Belisko @ 2012-03-26 20:12 UTC (permalink / raw)
  To: buildroot

Following patches add ofono package + new libcap-ng and broadband mobile
provider info packages. Ofono bluetooth support is optional and 
selectable via config.

Marek Belisko (3):
  Add libcap-ng package.
  Add mobile-broadband-provider-info package.
  Add ofono package.

 package/Config.in                                  |    3 ++
 package/libcap-ng/Config.in                        |   10 ++++++++
 package/libcap-ng/libcap-ng.mk                     |   12 +++++++++
 package/mobile-broadband-provider-info/Config.in   |    6 ++++
 .../mobile_broadband_provider_info.mk              |   14 +++++++++++
 package/ofono/Config.in                            |   20 ++++++++++++++++
 package/ofono/ofono.mk                             |   25 ++++++++++++++++++++
 7 files changed, 90 insertions(+), 0 deletions(-)
 create mode 100644 package/libcap-ng/Config.in
 create mode 100644 package/libcap-ng/libcap-ng.mk
 create mode 100644 package/mobile-broadband-provider-info/Config.in
 create mode 100644 package/mobile-broadband-provider-info/mobile_broadband_provider_info.mk
 create mode 100644 package/ofono/Config.in
 create mode 100644 package/ofono/ofono.mk

-- 
1.7.5.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 1/3] Add libcap-ng package.
  2012-03-26 20:12 [Buildroot] [PATCH v2 0/3] Add ofono package + dependency libraries Marek Belisko
@ 2012-03-26 20:12 ` Marek Belisko
  2012-03-26 20:17   ` Yegor Yefremov
  2012-03-26 20:12 ` [Buildroot] [PATCH v2 2/3] Add mobile-broadband-provider-info package Marek Belisko
  2012-03-26 20:12 ` [Buildroot] [PATCH v2 3/3] Add ofono package Marek Belisko
  2 siblings, 1 reply; 11+ messages in thread
From: Marek Belisko @ 2012-03-26 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 package/Config.in              |    1 +
 package/libcap-ng/Config.in    |   10 ++++++++++
 package/libcap-ng/libcap-ng.mk |   12 ++++++++++++
 3 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 package/libcap-ng/Config.in
 create mode 100644 package/libcap-ng/libcap-ng.mk

diff --git a/package/Config.in b/package/Config.in
index b394f18..2dc7e1f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -377,6 +377,7 @@ source "package/argp-standalone/Config.in"
 source "package/boost/Config.in"
 source "package/libatomic_ops/Config.in"
 source "package/libcap/Config.in"
+source "package/libcap-ng/Config.in"
 source "package/libdaemon/Config.in"
 source "package/libelf/Config.in"
 source "package/libevent/Config.in"
diff --git a/package/libcap-ng/Config.in b/package/libcap-ng/Config.in
new file mode 100644
index 0000000..d1663cd
--- /dev/null
+++ b/package/libcap-ng/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBCAP_NG
+	bool "libcap-ng"
+	help
+	  The libcap-ng library is intended to make programming with
+	  posix capabilities much easier than the traditional libcap
+	  library. It includes utilities that can analyse all currently
+	  running applications and print out any capabilities and whether
+	  or not it has an open ended bounding set.
+
+	  http://people.redhat.com/sgrubb/libcap-ng/
diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk
new file mode 100644
index 0000000..6ea5de4
--- /dev/null
+++ b/package/libcap-ng/libcap-ng.mk
@@ -0,0 +1,12 @@
+#############################################################
+#
+# libcap-ng
+#
+#############################################################
+
+LIBCAP_NG_VERSION = 0.6.6
+LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng/
+LIBCAP_NG_SOURCE = libcap-ng-$(LIBCAP_NG_VERSION).tar.gz
+LIBCAP_NG_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS))
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 2/3] Add mobile-broadband-provider-info package.
  2012-03-26 20:12 [Buildroot] [PATCH v2 0/3] Add ofono package + dependency libraries Marek Belisko
  2012-03-26 20:12 ` [Buildroot] [PATCH v2 1/3] Add libcap-ng package Marek Belisko
@ 2012-03-26 20:12 ` Marek Belisko
  2012-03-28 21:34   ` Arnout Vandecappelle
  2012-03-26 20:12 ` [Buildroot] [PATCH v2 3/3] Add ofono package Marek Belisko
  2 siblings, 1 reply; 11+ messages in thread
From: Marek Belisko @ 2012-03-26 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 package/Config.in                                  |    1 +
 package/mobile-broadband-provider-info/Config.in   |    6 ++++++
 .../mobile_broadband_provider_info.mk              |   14 ++++++++++++++
 3 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 package/mobile-broadband-provider-info/Config.in
 create mode 100644 package/mobile-broadband-provider-info/mobile_broadband_provider_info.mk

diff --git a/package/Config.in b/package/Config.in
index 2dc7e1f..cd41eb9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -424,6 +424,7 @@ endmenu
 endmenu
 
 menu "Miscellaneous"
+source "package/mobile-broadband-provider-info/Config.in"
 source "package/shared-mime-info/Config.in"
 endmenu
 
diff --git a/package/mobile-broadband-provider-info/Config.in b/package/mobile-broadband-provider-info/Config.in
new file mode 100644
index 0000000..dda7105
--- /dev/null
+++ b/package/mobile-broadband-provider-info/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO
+	bool "mobile-broadband-provider-info"
+	help
+	  Mobile broadband provider database.
+
+	  http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders
diff --git a/package/mobile-broadband-provider-info/mobile_broadband_provider_info.mk b/package/mobile-broadband-provider-info/mobile_broadband_provider_info.mk
new file mode 100644
index 0000000..9204bd9
--- /dev/null
+++ b/package/mobile-broadband-provider-info/mobile_broadband_provider_info.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# mobile broadband provider info
+#
+#############################################################
+MOBILE_BROADBAND_PROVIDER_INFO_VERSION = master
+MOBILE_BROADBAND_PROVIDER_INFO_SITE = git://git.gnome.org/mobile-broadband-provider-info
+MOBILE_BROADBAND_PROVIDER_INFO_INSTALL_STAGING = YES
+MOBILE_BROADBAND_PROVIDER_INFO_DEPENDENCIES = host-pkg-config
+
+MOBILE_BROADBAND_PROVIDER_INFO_AUTORECONF=YES
+
+$(eval $(call AUTOTARGETS))
+
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/3] Add ofono package.
  2012-03-26 20:12 [Buildroot] [PATCH v2 0/3] Add ofono package + dependency libraries Marek Belisko
  2012-03-26 20:12 ` [Buildroot] [PATCH v2 1/3] Add libcap-ng package Marek Belisko
  2012-03-26 20:12 ` [Buildroot] [PATCH v2 2/3] Add mobile-broadband-provider-info package Marek Belisko
@ 2012-03-26 20:12 ` Marek Belisko
  2012-03-28 21:48   ` Arnout Vandecappelle
  2 siblings, 1 reply; 11+ messages in thread
From: Marek Belisko @ 2012-03-26 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 package/Config.in       |    1 +
 package/ofono/Config.in |   20 ++++++++++++++++++++
 package/ofono/ofono.mk  |   25 +++++++++++++++++++++++++
 3 files changed, 46 insertions(+), 0 deletions(-)
 create mode 100644 package/ofono/Config.in
 create mode 100644 package/ofono/ofono.mk

diff --git a/package/Config.in b/package/Config.in
index cd41eb9..4dfbce4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -201,6 +201,7 @@ source "package/memtester/Config.in"
 source "package/minicom/Config.in"
 source "package/mtd/Config.in"
 source "package/ntfs-3g/Config.in"
+source "package/ofono/Config.in"
 source "package/open2300/Config.in"
 source "package/openocd/Config.in"
 source "package/parted/Config.in"
diff --git a/package/ofono/Config.in b/package/ofono/Config.in
new file mode 100644
index 0000000..b10e42d
--- /dev/null
+++ b/package/ofono/Config.in
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_OFONO
+	bool "ofono"
+	select BR2_PACKAGE_LIBCAP_NG
+	select BR2_PACKAGE_DBUS
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO
+	help
+	  oFono.org is a place to bring developers together around designing an
+	  infrastructure for building mobile telephony (GSM/UMTS) applications.
+
+if BR2_PACKAGE_OFONO
+
+config BR2_PACKAGE_OFONO_BLUETOOTH
+        bool "ofono with bluetooth support"
+	select BR2_PACKAGE_BLUEZ_UTILS
+        help
+	  Enable bluetooh support.
+endif
+
+
diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
new file mode 100644
index 0000000..e408a61
--- /dev/null
+++ b/package/ofono/ofono.mk
@@ -0,0 +1,25 @@
+#############################################################
+#
+# ofono
+#
+#############################################################
+OFONO_VERSION = 1.5
+OFONO_SITE = git://git.kernel.org/pub/scm/network/ofono/ofono.git
+
+OFONO_DEPENDENCIES = host-pkg-config libglib2 dbus libcap-ng mobile-broadband-provider-info
+
+OFONO_CONF_OPT = --disable-test --disable-bluetooth
+
+OFONO_AUTORECONF = YES
+
+ifneq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),y)
+	OFONO_CONF_OPT += --disable-udev
+endif
+
+ifeq ($(BR2_PACKAGE_OFONO_BLUETOOTH),y)
+	OFONO_CONF_OPT += --enable-bluetooth
+	OFONO_DEPENDENCIES += bluez_utils
+endif
+
+$(eval $(call AUTOTARGETS))
+
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 1/3] Add libcap-ng package.
  2012-03-26 20:12 ` [Buildroot] [PATCH v2 1/3] Add libcap-ng package Marek Belisko
@ 2012-03-26 20:17   ` Yegor Yefremov
  2012-03-26 20:21     ` Belisko Marek
  0 siblings, 1 reply; 11+ messages in thread
From: Yegor Yefremov @ 2012-03-26 20:17 UTC (permalink / raw)
  To: buildroot

On Mon, Mar 26, 2012 at 10:12 PM, Marek Belisko
<marek.belisko@open-nandra.com> wrote:
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> ---
> ?package/Config.in ? ? ? ? ? ? ?| ? ?1 +
> ?package/libcap-ng/Config.in ? ?| ? 10 ++++++++++
> ?package/libcap-ng/libcap-ng.mk | ? 12 ++++++++++++
> ?3 files changed, 23 insertions(+), 0 deletions(-)
> ?create mode 100644 package/libcap-ng/Config.in
> ?create mode 100644 package/libcap-ng/libcap-ng.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index b394f18..2dc7e1f 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -377,6 +377,7 @@ source "package/argp-standalone/Config.in"
> ?source "package/boost/Config.in"
> ?source "package/libatomic_ops/Config.in"
> ?source "package/libcap/Config.in"
> +source "package/libcap-ng/Config.in"
> ?source "package/libdaemon/Config.in"
> ?source "package/libelf/Config.in"
> ?source "package/libevent/Config.in"
> diff --git a/package/libcap-ng/Config.in b/package/libcap-ng/Config.in
> new file mode 100644
> index 0000000..d1663cd
> --- /dev/null
> +++ b/package/libcap-ng/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_LIBCAP_NG
> + ? ? ? bool "libcap-ng"
> + ? ? ? help
> + ? ? ? ? The libcap-ng library is intended to make programming with
> + ? ? ? ? posix capabilities much easier than the traditional libcap
> + ? ? ? ? library. It includes utilities that can analyse all currently
> + ? ? ? ? running applications and print out any capabilities and whether
> + ? ? ? ? or not it has an open ended bounding set.
> +
> + ? ? ? ? http://people.redhat.com/sgrubb/libcap-ng/
> diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk
> new file mode 100644
> index 0000000..6ea5de4
> --- /dev/null
> +++ b/package/libcap-ng/libcap-ng.mk
> @@ -0,0 +1,12 @@
> +#############################################################
> +#
> +# libcap-ng
> +#
> +#############################################################
> +
> +LIBCAP_NG_VERSION = 0.6.6
> +LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng/
> +LIBCAP_NG_SOURCE = libcap-ng-$(LIBCAP_NG_VERSION).tar.gz
> +LIBCAP_NG_INSTALL_STAGING = YES
> +
> +$(eval $(call AUTOTARGETS))

Have you tried to download the package without LIBCAP_NG_SITE?

Yegor

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 1/3] Add libcap-ng package.
  2012-03-26 20:17   ` Yegor Yefremov
@ 2012-03-26 20:21     ` Belisko Marek
  2012-03-26 20:28       ` Yegor Yefremov
  0 siblings, 1 reply; 11+ messages in thread
From: Belisko Marek @ 2012-03-26 20:21 UTC (permalink / raw)
  To: buildroot

On Mon, Mar 26, 2012 at 10:17 PM, Yegor Yefremov
<yegorslists@googlemail.com> wrote:
> On Mon, Mar 26, 2012 at 10:12 PM, Marek Belisko
> <marek.belisko@open-nandra.com> wrote:
>> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
>> ---
>> ?package/Config.in ? ? ? ? ? ? ?| ? ?1 +
>> ?package/libcap-ng/Config.in ? ?| ? 10 ++++++++++
>> ?package/libcap-ng/libcap-ng.mk | ? 12 ++++++++++++
>> ?3 files changed, 23 insertions(+), 0 deletions(-)
>> ?create mode 100644 package/libcap-ng/Config.in
>> ?create mode 100644 package/libcap-ng/libcap-ng.mk
>>
>> diff --git a/package/Config.in b/package/Config.in
>> index b394f18..2dc7e1f 100644
>> --- a/package/Config.in
>> +++ b/package/Config.in
>> @@ -377,6 +377,7 @@ source "package/argp-standalone/Config.in"
>> ?source "package/boost/Config.in"
>> ?source "package/libatomic_ops/Config.in"
>> ?source "package/libcap/Config.in"
>> +source "package/libcap-ng/Config.in"
>> ?source "package/libdaemon/Config.in"
>> ?source "package/libelf/Config.in"
>> ?source "package/libevent/Config.in"
>> diff --git a/package/libcap-ng/Config.in b/package/libcap-ng/Config.in
>> new file mode 100644
>> index 0000000..d1663cd
>> --- /dev/null
>> +++ b/package/libcap-ng/Config.in
>> @@ -0,0 +1,10 @@
>> +config BR2_PACKAGE_LIBCAP_NG
>> + ? ? ? bool "libcap-ng"
>> + ? ? ? help
>> + ? ? ? ? The libcap-ng library is intended to make programming with
>> + ? ? ? ? posix capabilities much easier than the traditional libcap
>> + ? ? ? ? library. It includes utilities that can analyse all currently
>> + ? ? ? ? running applications and print out any capabilities and whether
>> + ? ? ? ? or not it has an open ended bounding set.
>> +
>> + ? ? ? ? http://people.redhat.com/sgrubb/libcap-ng/
>> diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk
>> new file mode 100644
>> index 0000000..6ea5de4
>> --- /dev/null
>> +++ b/package/libcap-ng/libcap-ng.mk
>> @@ -0,0 +1,12 @@
>> +#############################################################
>> +#
>> +# libcap-ng
>> +#
>> +#############################################################
>> +
>> +LIBCAP_NG_VERSION = 0.6.6
>> +LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng/
>> +LIBCAP_NG_SOURCE = libcap-ng-$(LIBCAP_NG_VERSION).tar.gz
>> +LIBCAP_NG_INSTALL_STAGING = YES
>> +
>> +$(eval $(call AUTOTARGETS))
>
> Have you tried to download the package without LIBCAP_NG_SITE?
Guess yes? Why?
>
> Yegor

marek


-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 1/3] Add libcap-ng package.
  2012-03-26 20:21     ` Belisko Marek
@ 2012-03-26 20:28       ` Yegor Yefremov
  2012-03-26 20:32         ` Belisko Marek
  0 siblings, 1 reply; 11+ messages in thread
From: Yegor Yefremov @ 2012-03-26 20:28 UTC (permalink / raw)
  To: buildroot

On Mon, Mar 26, 2012 at 10:21 PM, Belisko Marek <marek.belisko@gmail.com> wrote:
> On Mon, Mar 26, 2012 at 10:17 PM, Yegor Yefremov
> <yegorslists@googlemail.com> wrote:
>> On Mon, Mar 26, 2012 at 10:12 PM, Marek Belisko
>> <marek.belisko@open-nandra.com> wrote:
>>> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
>>> ---
>>> ?package/Config.in ? ? ? ? ? ? ?| ? ?1 +
>>> ?package/libcap-ng/Config.in ? ?| ? 10 ++++++++++
>>> ?package/libcap-ng/libcap-ng.mk | ? 12 ++++++++++++
>>> ?3 files changed, 23 insertions(+), 0 deletions(-)
>>> ?create mode 100644 package/libcap-ng/Config.in
>>> ?create mode 100644 package/libcap-ng/libcap-ng.mk
>>>
>>> diff --git a/package/Config.in b/package/Config.in
>>> index b394f18..2dc7e1f 100644
>>> --- a/package/Config.in
>>> +++ b/package/Config.in
>>> @@ -377,6 +377,7 @@ source "package/argp-standalone/Config.in"
>>> ?source "package/boost/Config.in"
>>> ?source "package/libatomic_ops/Config.in"
>>> ?source "package/libcap/Config.in"
>>> +source "package/libcap-ng/Config.in"
>>> ?source "package/libdaemon/Config.in"
>>> ?source "package/libelf/Config.in"
>>> ?source "package/libevent/Config.in"
>>> diff --git a/package/libcap-ng/Config.in b/package/libcap-ng/Config.in
>>> new file mode 100644
>>> index 0000000..d1663cd
>>> --- /dev/null
>>> +++ b/package/libcap-ng/Config.in
>>> @@ -0,0 +1,10 @@
>>> +config BR2_PACKAGE_LIBCAP_NG
>>> + ? ? ? bool "libcap-ng"
>>> + ? ? ? help
>>> + ? ? ? ? The libcap-ng library is intended to make programming with
>>> + ? ? ? ? posix capabilities much easier than the traditional libcap
>>> + ? ? ? ? library. It includes utilities that can analyse all currently
>>> + ? ? ? ? running applications and print out any capabilities and whether
>>> + ? ? ? ? or not it has an open ended bounding set.
>>> +
>>> + ? ? ? ? http://people.redhat.com/sgrubb/libcap-ng/
>>> diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk
>>> new file mode 100644
>>> index 0000000..6ea5de4
>>> --- /dev/null
>>> +++ b/package/libcap-ng/libcap-ng.mk
>>> @@ -0,0 +1,12 @@
>>> +#############################################################
>>> +#
>>> +# libcap-ng
>>> +#
>>> +#############################################################
>>> +
>>> +LIBCAP_NG_VERSION = 0.6.6
>>> +LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng/
>>> +LIBCAP_NG_SOURCE = libcap-ng-$(LIBCAP_NG_VERSION).tar.gz
>>> +LIBCAP_NG_INSTALL_STAGING = YES
>>> +
>>> +$(eval $(call AUTOTARGETS))
>>
>> Have you tried to download the package without LIBCAP_NG_SITE?
> Guess yes? Why?

AFAIK if you have package file named like packagename-version.tar.gz,
then this will be tried automatically. See vsftpd for example.

Sorry I meant LIBCAP_NG_SOURCE not SITE :-(

Yegor

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 1/3] Add libcap-ng package.
  2012-03-26 20:28       ` Yegor Yefremov
@ 2012-03-26 20:32         ` Belisko Marek
  0 siblings, 0 replies; 11+ messages in thread
From: Belisko Marek @ 2012-03-26 20:32 UTC (permalink / raw)
  To: buildroot

On Mon, Mar 26, 2012 at 10:28 PM, Yegor Yefremov
<yegorslists@googlemail.com> wrote:
> On Mon, Mar 26, 2012 at 10:21 PM, Belisko Marek <marek.belisko@gmail.com> wrote:
>> On Mon, Mar 26, 2012 at 10:17 PM, Yegor Yefremov
>> <yegorslists@googlemail.com> wrote:
>>> On Mon, Mar 26, 2012 at 10:12 PM, Marek Belisko
>>> <marek.belisko@open-nandra.com> wrote:
>>>> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
>>>> ---
>>>> ?package/Config.in ? ? ? ? ? ? ?| ? ?1 +
>>>> ?package/libcap-ng/Config.in ? ?| ? 10 ++++++++++
>>>> ?package/libcap-ng/libcap-ng.mk | ? 12 ++++++++++++
>>>> ?3 files changed, 23 insertions(+), 0 deletions(-)
>>>> ?create mode 100644 package/libcap-ng/Config.in
>>>> ?create mode 100644 package/libcap-ng/libcap-ng.mk
>>>>
>>>> diff --git a/package/Config.in b/package/Config.in
>>>> index b394f18..2dc7e1f 100644
>>>> --- a/package/Config.in
>>>> +++ b/package/Config.in
>>>> @@ -377,6 +377,7 @@ source "package/argp-standalone/Config.in"
>>>> ?source "package/boost/Config.in"
>>>> ?source "package/libatomic_ops/Config.in"
>>>> ?source "package/libcap/Config.in"
>>>> +source "package/libcap-ng/Config.in"
>>>> ?source "package/libdaemon/Config.in"
>>>> ?source "package/libelf/Config.in"
>>>> ?source "package/libevent/Config.in"
>>>> diff --git a/package/libcap-ng/Config.in b/package/libcap-ng/Config.in
>>>> new file mode 100644
>>>> index 0000000..d1663cd
>>>> --- /dev/null
>>>> +++ b/package/libcap-ng/Config.in
>>>> @@ -0,0 +1,10 @@
>>>> +config BR2_PACKAGE_LIBCAP_NG
>>>> + ? ? ? bool "libcap-ng"
>>>> + ? ? ? help
>>>> + ? ? ? ? The libcap-ng library is intended to make programming with
>>>> + ? ? ? ? posix capabilities much easier than the traditional libcap
>>>> + ? ? ? ? library. It includes utilities that can analyse all currently
>>>> + ? ? ? ? running applications and print out any capabilities and whether
>>>> + ? ? ? ? or not it has an open ended bounding set.
>>>> +
>>>> + ? ? ? ? http://people.redhat.com/sgrubb/libcap-ng/
>>>> diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk
>>>> new file mode 100644
>>>> index 0000000..6ea5de4
>>>> --- /dev/null
>>>> +++ b/package/libcap-ng/libcap-ng.mk
>>>> @@ -0,0 +1,12 @@
>>>> +#############################################################
>>>> +#
>>>> +# libcap-ng
>>>> +#
>>>> +#############################################################
>>>> +
>>>> +LIBCAP_NG_VERSION = 0.6.6
>>>> +LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng/
>>>> +LIBCAP_NG_SOURCE = libcap-ng-$(LIBCAP_NG_VERSION).tar.gz
>>>> +LIBCAP_NG_INSTALL_STAGING = YES
>>>> +
>>>> +$(eval $(call AUTOTARGETS))
>>>
>>> Have you tried to download the package without LIBCAP_NG_SITE?
>> Guess yes? Why?
>
> AFAIK if you have package file named like packagename-version.tar.gz,
> then this will be tried automatically. See vsftpd for example.
Yes you're right. Will update. Thanks for review.
>
> Sorry I meant LIBCAP_NG_SOURCE not SITE :-(
>
> Yegor

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 2/3] Add mobile-broadband-provider-info package.
  2012-03-26 20:12 ` [Buildroot] [PATCH v2 2/3] Add mobile-broadband-provider-info package Marek Belisko
@ 2012-03-28 21:34   ` Arnout Vandecappelle
  0 siblings, 0 replies; 11+ messages in thread
From: Arnout Vandecappelle @ 2012-03-28 21:34 UTC (permalink / raw)
  To: buildroot

On Monday 26 March 2012 22:12:35 Marek Belisko wrote:
> +MOBILE_BROADBAND_PROVIDER_INFO_VERSION = master
> +MOBILE_BROADBAND_PROVIDER_INFO_SITE = git://git.gnome.org/mobile-broadband-provider-info

 Please use an explicit commit ID rather than 'master', otherwise the
build is not reproducible.

 Also, I prefer the http method for git access, because some firewalls
block git traffic.  (Actually, ideally the git method should be
updated to try http if the git access method fails...)

 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/3] Add ofono package.
  2012-03-26 20:12 ` [Buildroot] [PATCH v2 3/3] Add ofono package Marek Belisko
@ 2012-03-28 21:48   ` Arnout Vandecappelle
  2012-03-31 13:24     ` Belisko Marek
  0 siblings, 1 reply; 11+ messages in thread
From: Arnout Vandecappelle @ 2012-03-28 21:48 UTC (permalink / raw)
  To: buildroot

On Monday 26 March 2012 22:12:36 Marek Belisko wrote:
[snip]
> diff --git a/package/ofono/Config.in b/package/ofono/Config.in
> new file mode 100644
> index 0000000..b10e42d
> --- /dev/null
> +++ b/package/ofono/Config.in
> @@ -0,0 +1,20 @@
> +config BR2_PACKAGE_OFONO
> +	bool "ofono"
> +	select BR2_PACKAGE_LIBCAP_NG
> +	select BR2_PACKAGE_DBUS
> +	select BR2_PACKAGE_LIBGLIB2
> +	select BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO

 Missing
	depends on BR2_USE_WCHAR # gettext/libglib2

 which also means you need a comment in case we don't have WCHAR.

> +	helpimplies
> +	  oFono.org is a place to bring developers together around designing an
> +	  infrastructure for building mobile telephony (GSM/UMTS) applications.

 This doesn't really explain what the package does.  Also, a link to a
website is convenient.

> +
> +if BR2_PACKAGE_OFONO
> +
> +config BR2_PACKAGE_OFONO_BLUETOOTH
> +        bool "ofono with bluetooth support"
> +	select BR2_PACKAGE_BLUEZ_UTILS
> +        help
> +	  Enable bluetooh support.
> +endif

 There's some funky whitespace here.  Also a type: bluetooh -> bluetooth

> +
> +

 No empty lines at the end of the file please.

> diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
> new file mode 100644
> index 0000000..e408a61
> --- /dev/null
> +++ b/package/ofono/ofono.mk
> @@ -0,0 +1,25 @@
> +#############################################################
> +#
> +# ofono
> +#
> +#############################################################
> +OFONO_VERSION = 1.5
> +OFONO_SITE = git://git.kernel.org/pub/scm/network/ofono/ofono.git

 Why not use the tar from $(BR2_KERNEL_MIRROR)/linux/network/ofono ?

> +
> +OFONO_DEPENDENCIES = host-pkg-config libglib2 dbus libcap-ng mobile-broadband-provider-info
> +
> +OFONO_CONF_OPT = --disable-test --disable-bluetooth

 The --disable-bluetooth should be in the else of the OFONO_BLUETOOTH
option.

> +
> +OFONO_AUTORECONF = YES

 Not needed if you use the tar.

> +
> +ifneq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),y)
> +	OFONO_CONF_OPT += --disable-udev
> +endif

 It's better to use --enable-udev explicitly in the positive case, and
you probably need to add udev to DEPENDENCIES anyway.

 Also it's more logical to check for BR2_PACKAGE_UDEV.


 Regards,
 Arnout

> +
> +ifeq ($(BR2_PACKAGE_OFONO_BLUETOOTH),y)
> +	OFONO_CONF_OPT += --enable-bluetooth
> +	OFONO_DEPENDENCIES += bluez_utils
> +endif
> +
> +$(eval $(call AUTOTARGETS))
> +
> 

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH v2 3/3] Add ofono package.
  2012-03-28 21:48   ` Arnout Vandecappelle
@ 2012-03-31 13:24     ` Belisko Marek
  0 siblings, 0 replies; 11+ messages in thread
From: Belisko Marek @ 2012-03-31 13:24 UTC (permalink / raw)
  To: buildroot

On Wed, Mar 28, 2012 at 11:48 PM, Arnout Vandecappelle <arnout@mind.be> wrote:
> On Monday 26 March 2012 22:12:36 Marek Belisko wrote:
> [snip]
>> diff --git a/package/ofono/Config.in b/package/ofono/Config.in
>> new file mode 100644
>> index 0000000..b10e42d
>> --- /dev/null
>> +++ b/package/ofono/Config.in
>> @@ -0,0 +1,20 @@
>> +config BR2_PACKAGE_OFONO
>> + ? ? bool "ofono"
>> + ? ? select BR2_PACKAGE_LIBCAP_NG
>> + ? ? select BR2_PACKAGE_DBUS
>> + ? ? select BR2_PACKAGE_LIBGLIB2
>> + ? ? select BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO
>
> ?Missing
> ? ? ? ?depends on BR2_USE_WCHAR # gettext/libglib2
>
> ?which also means you need a comment in case we don't have WCHAR.
>
>> + ? ? helpimplies
>> + ? ? ? oFono.org is a place to bring developers together around designing an
>> + ? ? ? infrastructure for building mobile telephony (GSM/UMTS) applications.
>
> ?This doesn't really explain what the package does. ?Also, a link to a
> website is convenient.
>
>> +
>> +if BR2_PACKAGE_OFONO
>> +
>> +config BR2_PACKAGE_OFONO_BLUETOOTH
>> + ? ? ? ?bool "ofono with bluetooth support"
>> + ? ? select BR2_PACKAGE_BLUEZ_UTILS
>> + ? ? ? ?help
>> + ? ? ? Enable bluetooh support.
>> +endif
>
> ?There's some funky whitespace here. ?Also a type: bluetooh -> bluetooth
>
>> +
>> +
>
> ?No empty lines at the end of the file please.
>
>> diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
>> new file mode 100644
>> index 0000000..e408a61
>> --- /dev/null
>> +++ b/package/ofono/ofono.mk
>> @@ -0,0 +1,25 @@
>> +#############################################################
>> +#
>> +# ofono
>> +#
>> +#############################################################
>> +OFONO_VERSION = 1.5
>> +OFONO_SITE = git://git.kernel.org/pub/scm/network/ofono/ofono.git
>
> ?Why not use the tar from $(BR2_KERNEL_MIRROR)/linux/network/ofono ?
Ok will do.
>
>> +
>> +OFONO_DEPENDENCIES = host-pkg-config libglib2 dbus libcap-ng mobile-broadband-provider-info
>> +
>> +OFONO_CONF_OPT = --disable-test --disable-bluetooth
>
> ?The --disable-bluetooth should be in the else of the OFONO_BLUETOOTH
> option.
>
>> +
>> +OFONO_AUTORECONF = YES
When switch to tar version without this line it can' t configure because
./configure doesn't exist (just bootstrap)
>
> ?Not needed if you use the tar.
>
>> +
>> +ifneq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),y)
>> + ? ? OFONO_CONF_OPT += --disable-udev
>> +endif
>
> ?It's better to use --enable-udev explicitly in the positive case, and
> you probably need to add udev to DEPENDENCIES anyway.
ofono have by default udev enabled. For systems where udev isn't available
could be also used (just need to created /dev entry for modem by hand).
What about something like that:
+ifeq ($(BR2_PACKAGE_UDEV),y)
+	OFONO_CONF_OPT += --enable-udev
+	OFONO_DEPENDENCIES += udev
+else
+	OFONO_CONF_OPT += --disable-udev
+endif

For target with udev it will be used otherwise not.
>
> ?Also it's more logical to check for BR2_PACKAGE_UDEV.
>
>
> ?Regards,
> ?Arnout
>
>> +
>> +ifeq ($(BR2_PACKAGE_OFONO_BLUETOOTH),y)
>> + ? ? OFONO_CONF_OPT += --enable-bluetooth
>> + ? ? OFONO_DEPENDENCIES += bluez_utils
>> +endif
>> +
>> +$(eval $(call AUTOTARGETS))
>> +
>>
>
> --
> Arnout Vandecappelle ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? arnout at mind be
> Senior Embedded Software Architect ? ? ? ? ? ? ? ? +32-16-286540
> Essensium/Mind ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium ? ? ? ? ? ? ? ?BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint: ?7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

regards,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-03-31 13:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-26 20:12 [Buildroot] [PATCH v2 0/3] Add ofono package + dependency libraries Marek Belisko
2012-03-26 20:12 ` [Buildroot] [PATCH v2 1/3] Add libcap-ng package Marek Belisko
2012-03-26 20:17   ` Yegor Yefremov
2012-03-26 20:21     ` Belisko Marek
2012-03-26 20:28       ` Yegor Yefremov
2012-03-26 20:32         ` Belisko Marek
2012-03-26 20:12 ` [Buildroot] [PATCH v2 2/3] Add mobile-broadband-provider-info package Marek Belisko
2012-03-28 21:34   ` Arnout Vandecappelle
2012-03-26 20:12 ` [Buildroot] [PATCH v2 3/3] Add ofono package Marek Belisko
2012-03-28 21:48   ` Arnout Vandecappelle
2012-03-31 13:24     ` Belisko Marek

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.