* [Buildroot] [PATCH] jq: new package
@ 2013-09-25 0:58 Danomi Manchego
2013-09-25 5:59 ` Thomas De Schampheleire
0 siblings, 1 reply; 7+ messages in thread
From: Danomi Manchego @ 2013-09-25 0:58 UTC (permalink / raw)
To: buildroot
jq is like sed for JSON data - you can use it to slice and filter
and map and transform structured data with the same ease that sed,
awk, grep and friends let you play with text.
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
The package description is as per the author - not my words.
---
package/Config.in | 1 +
package/jq/Config.in | 8 ++++++++
package/jq/jq.mk | 13 +++++++++++++
3 files changed, 22 insertions(+)
create mode 100644 package/jq/Config.in
create mode 100644 package/jq/jq.mk
diff --git a/package/Config.in b/package/Config.in
index 1dd60d1..ce18ec7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -108,6 +108,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/grep/Config.in"
endif
source "package/intltool/Config.in"
+source "package/jq/Config.in"
source "package/make/Config.in"
source "package/libtool/Config.in"
source "package/m4/Config.in"
diff --git a/package/jq/Config.in b/package/jq/Config.in
new file mode 100644
index 0000000..9329b2f
--- /dev/null
+++ b/package/jq/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_JQ
+ bool "jq"
+ help
+ jq is like sed for JSON data - you can use it to slice and filter
+ and map and transform structured data with the same ease that sed,
+ awk, grep and friends let you play with text.
+
+ http://stedolan.github.io/jq/
diff --git a/package/jq/jq.mk b/package/jq/jq.mk
new file mode 100644
index 0000000..b0436bb
--- /dev/null
+++ b/package/jq/jq.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# jq
+#
+################################################################################
+
+JQ_VERSION = 1.3
+JQ_SITE = http://github.com/stedolan/jq/archive
+JQ_AUTORECONF = YES
+JQ_LICENSE = jq license
+JQ_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] jq: new package
2013-09-25 0:58 [Buildroot] [PATCH] jq: new package Danomi Manchego
@ 2013-09-25 5:59 ` Thomas De Schampheleire
2013-09-25 12:44 ` Danomi Manchego
0 siblings, 1 reply; 7+ messages in thread
From: Thomas De Schampheleire @ 2013-09-25 5:59 UTC (permalink / raw)
To: buildroot
Danomi Manchego <danomimanchego123@gmail.com> wrote:
>jq is like sed for JSON data - you can use it to slice and filter
>and map and transform structured data with the same ease that sed,
>awk, grep and friends let you play with text.
>
>Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
>
>---
>
>The package description is as per the author - not my words.
>---
> package/Config.in | 1 +
> package/jq/Config.in | 8 ++++++++
> package/jq/jq.mk | 13 +++++++++++++
> 3 files changed, 22 insertions(+)
> create mode 100644 package/jq/Config.in
> create mode 100644 package/jq/jq.mk
>
>diff --git a/package/Config.in b/package/Config.in
>index 1dd60d1..ce18ec7 100644
>--- a/package/Config.in
>+++ b/package/Config.in
>@@ -108,6 +108,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
> source "package/grep/Config.in"
> endif
> source "package/intltool/Config.in"
>+source "package/jq/Config.in"
> source "package/make/Config.in"
> source "package/libtool/Config.in"
> source "package/m4/Config.in"
>diff --git a/package/jq/Config.in b/package/jq/Config.in
>new file mode 100644
>index 0000000..9329b2f
>--- /dev/null
>+++ b/package/jq/Config.in
>@@ -0,0 +1,8 @@
>+config BR2_PACKAGE_JQ
>+ bool "jq"
>+ help
>+ jq is like sed for JSON data - you can use it to slice and filter
>+ and map and transform structured data with the same ease that sed,
>+ awk, grep and friends let you play with text.
>+
>+ http://stedolan.github.io/jq/
>diff --git a/package/jq/jq.mk b/package/jq/jq.mk
>new file mode 100644
>index 0000000..b0436bb
>--- /dev/null
>+++ b/package/jq/jq.mk
>@@ -0,0 +1,13 @@
>+################################################################################
>+#
>+# jq
>+#
>+################################################################################
>+
>+JQ_VERSION = 1.3
>+JQ_SITE = http://github.com/stedolan/jq/archive
The buildroot manual talks about a slightly different url for github packages. It's there a specific reason you're not using that one?
>+JQ_AUTORECONF = YES
>+JQ_LICENSE = jq license
>+JQ_LICENSE_FILES = COPYING
>+
>+$(eval $(autotools-package))
Are there no dependencies?
No need for threads, c++, or any of that?
Best regards,
Thomas
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] jq: new package
2013-09-25 5:59 ` Thomas De Schampheleire
@ 2013-09-25 12:44 ` Danomi Manchego
2013-09-25 14:14 ` Jerzy Grzegorek
0 siblings, 1 reply; 7+ messages in thread
From: Danomi Manchego @ 2013-09-25 12:44 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Wed, Sep 25, 2013 at 1:59 AM, Thomas De Schampheleire
<patrickdepinguin@gmail.com> wrote:
> Danomi Manchego <danomimanchego123@gmail.com> wrote:
>>jq is like sed for JSON data - you can use it to slice and filter
>>and map and transform structured data with the same ease that sed,
>>awk, grep and friends let you play with text.
>>
>>Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
>>
>>---
>>
>>The package description is as per the author - not my words.
>>---
>> package/Config.in | 1 +
>> package/jq/Config.in | 8 ++++++++
>> package/jq/jq.mk | 13 +++++++++++++
>> 3 files changed, 22 insertions(+)
>> create mode 100644 package/jq/Config.in
>> create mode 100644 package/jq/jq.mk
>>
>>diff --git a/package/Config.in b/package/Config.in
>>index 1dd60d1..ce18ec7 100644
>>--- a/package/Config.in
>>+++ b/package/Config.in
>>@@ -108,6 +108,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
>> source "package/grep/Config.in"
>> endif
>> source "package/intltool/Config.in"
>>+source "package/jq/Config.in"
>> source "package/make/Config.in"
>> source "package/libtool/Config.in"
>> source "package/m4/Config.in"
>>diff --git a/package/jq/Config.in b/package/jq/Config.in
>>new file mode 100644
>>index 0000000..9329b2f
>>--- /dev/null
>>+++ b/package/jq/Config.in
>>@@ -0,0 +1,8 @@
>>+config BR2_PACKAGE_JQ
>>+ bool "jq"
>>+ help
>>+ jq is like sed for JSON data - you can use it to slice and filter
>>+ and map and transform structured data with the same ease that sed,
>>+ awk, grep and friends let you play with text.
>>+
>>+ http://stedolan.github.io/jq/
>>diff --git a/package/jq/jq.mk b/package/jq/jq.mk
>>new file mode 100644
>>index 0000000..b0436bb
>>--- /dev/null
>>+++ b/package/jq/jq.mk
>>@@ -0,0 +1,13 @@
>>+################################################################################
>>+#
>>+# jq
>>+#
>>+################################################################################
>>+
>>+JQ_VERSION = 1.3
>>+JQ_SITE = http://github.com/stedolan/jq/archive
>
> The buildroot manual talks about a slightly different url for github packages. It's there a specific reason you're not using that one?
Yes, I saw the github documentation in the on-line documentation, so I
tried this:
JQ_SITE = http://github.com/stedolan/jq/tarball/$(JQ_VERSION)
But it didn't work - after a github redirection or two, I got 404.
>>+JQ_AUTORECONF = YES
>>+JQ_LICENSE = jq license
>>+JQ_LICENSE_FILES = COPYING
>>+
>>+$(eval $(autotools-package))
>
> Are there no dependencies?
> No need for threads, c++, or any of that?
No, none that I can see - the source is all .c, and no pthread hits
when I grep for "thread".
Do you use a particular defconfig to verify this?
> Best regards,
> Thomas
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] jq: new package
2013-09-25 12:44 ` Danomi Manchego
@ 2013-09-25 14:14 ` Jerzy Grzegorek
2013-09-25 15:42 ` Danomi Manchego
0 siblings, 1 reply; 7+ messages in thread
From: Jerzy Grzegorek @ 2013-09-25 14:14 UTC (permalink / raw)
To: buildroot
Hi Danomi,
> Hi Thomas,
>
> On Wed, Sep 25, 2013 at 1:59 AM, Thomas De Schampheleire
> <patrickdepinguin@gmail.com> wrote:
>> Danomi Manchego <danomimanchego123@gmail.com> wrote:
>>> jq is like sed for JSON data - you can use it to slice and filter
>>> and map and transform structured data with the same ease that sed,
>>> awk, grep and friends let you play with text.
>>>
>>> Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
>>>
>>> ---
>>>
>>> The package description is as per the author - not my words.
>>> ---
>>> package/Config.in | 1 +
>>> package/jq/Config.in | 8 ++++++++
>>> package/jq/jq.mk | 13 +++++++++++++
>>> 3 files changed, 22 insertions(+)
>>> create mode 100644 package/jq/Config.in
>>> create mode 100644 package/jq/jq.mk
>>>
>>> diff --git a/package/Config.in b/package/Config.in
>>> index 1dd60d1..ce18ec7 100644
>>> --- a/package/Config.in
>>> +++ b/package/Config.in
>>> @@ -108,6 +108,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
>>> source "package/grep/Config.in"
>>> endif
>>> source "package/intltool/Config.in"
>>> +source "package/jq/Config.in"
>>> source "package/make/Config.in"
>>> source "package/libtool/Config.in"
>>> source "package/m4/Config.in"
>>> diff --git a/package/jq/Config.in b/package/jq/Config.in
>>> new file mode 100644
>>> index 0000000..9329b2f
>>> --- /dev/null
>>> +++ b/package/jq/Config.in
>>> @@ -0,0 +1,8 @@
>>> +config BR2_PACKAGE_JQ
>>> + bool "jq"
>>> + help
>>> + jq is like sed for JSON data - you can use it to slice and filter
>>> + and map and transform structured data with the same ease that sed,
>>> + awk, grep and friends let you play with text.
>>> +
>>> + http://stedolan.github.io/jq/
>>> diff --git a/package/jq/jq.mk b/package/jq/jq.mk
>>> new file mode 100644
>>> index 0000000..b0436bb
>>> --- /dev/null
>>> +++ b/package/jq/jq.mk
>>> @@ -0,0 +1,13 @@
>>> +################################################################################
>>> +#
>>> +# jq
>>> +#
>>> +################################################################################
>>> +
>>> +JQ_VERSION = 1.3
JQ_VERSION = jq-1.3
Regards,
Jerzy
>>> +JQ_SITE = http://github.com/stedolan/jq/archive
>> The buildroot manual talks about a slightly different url for github packages. It's there a specific reason you're not using that one?
> Yes, I saw the github documentation in the on-line documentation, so I
> tried this:
>
> JQ_SITE = http://github.com/stedolan/jq/tarball/$(JQ_VERSION)
>
> But it didn't work - after a github redirection or two, I got 404.
>
>
>>> +JQ_AUTORECONF = YES
>>> +JQ_LICENSE = jq license
>>> +JQ_LICENSE_FILES = COPYING
>>> +
>>> +$(eval $(autotools-package))
>> Are there no dependencies?
>> No need for threads, c++, or any of that?
> No, none that I can see - the source is all .c, and no pthread hits
> when I grep for "thread".
>
> Do you use a particular defconfig to verify this?
>
>
>> Best regards,
>> Thomas
>>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] jq: new package
2013-09-25 14:14 ` Jerzy Grzegorek
@ 2013-09-25 15:42 ` Danomi Manchego
2013-09-25 19:06 ` Lionel Orry
2013-09-25 19:10 ` Lionel Orry
0 siblings, 2 replies; 7+ messages in thread
From: Danomi Manchego @ 2013-09-25 15:42 UTC (permalink / raw)
To: buildroot
Jerzy,
On Wed, Sep 25, 2013 at 10:14 AM, Jerzy Grzegorek
<jerzy.grzegorek@trzebnica.net> wrote:
>>>> +JQ_VERSION = 1.3
>
>
> JQ_VERSION = jq-1.3
Ah, you're right, specifying version as "jq-1.3" work with the github
rule in the buildroot users manual. Though, then you get a tarball
called "jq-jq-1.3.tar.gz", which seems odd.
Is it better to use the normal github site and get this strange name?
That section of the manual says "Packages on github often don?t have a
download area with release tarballs." But this package *does* have a
download area, to get "jq-1.3.tar.gz" and older version. So I'm
thinking that I can keep as is.
No?
Danomi -
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] jq: new package
2013-09-25 15:42 ` Danomi Manchego
@ 2013-09-25 19:06 ` Lionel Orry
2013-09-25 19:10 ` Lionel Orry
1 sibling, 0 replies; 7+ messages in thread
From: Lionel Orry @ 2013-09-25 19:06 UTC (permalink / raw)
To: buildroot
Hi,
On Wed, Sep 25, 2013 at 5:42 PM, Danomi Manchego
<danomimanchego123@gmail.com> wrote:
> Jerzy,
>
> On Wed, Sep 25, 2013 at 10:14 AM, Jerzy Grzegorek
> <jerzy.grzegorek@trzebnica.net> wrote:
>>>>> +JQ_VERSION = 1.3
>>
>>
>> JQ_VERSION = jq-1.3
>
> Ah, you're right, specifying version as "jq-1.3" work with the github
> rule in the buildroot users manual. Though, then you get a tarball
> called "jq-jq-1.3.tar.gz", which seems odd.
>
> Is it better to use the normal github site and get this strange name?
> That section of the manual says "Packages on github often don?t have a
> download area with release tarballs." But this package *does* have a
> download area, to get "jq-1.3.tar.gz" and older version. So I'm
> thinking that I can keep as is.
>
> No?
>
> Danomi -
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] jq: new package
2013-09-25 15:42 ` Danomi Manchego
2013-09-25 19:06 ` Lionel Orry
@ 2013-09-25 19:10 ` Lionel Orry
1 sibling, 0 replies; 7+ messages in thread
From: Lionel Orry @ 2013-09-25 19:10 UTC (permalink / raw)
To: buildroot
Hi,
On Wed, Sep 25, 2013 at 5:42 PM, Danomi Manchego
<danomimanchego123@gmail.com> wrote:
> Jerzy,
>
> On Wed, Sep 25, 2013 at 10:14 AM, Jerzy Grzegorek
> <jerzy.grzegorek@trzebnica.net> wrote:
>>>>> +JQ_VERSION = 1.3
>>
>>
>> JQ_VERSION = jq-1.3
>
> Ah, you're right, specifying version as "jq-1.3" work with the github
> rule in the buildroot users manual. Though, then you get a tarball
> called "jq-jq-1.3.tar.gz", which seems odd.
The fact is, you should actually use:
JQ_VERSION = 1.3
JQ_SITE = http://github.com/stedolan/jq/tarball/jq-$(JQ_VERSION)
>
> Is it better to use the normal github site and get this strange name?
> That section of the manual says "Packages on github often don?t have a
> download area with release tarballs." But this package *does* have a
> download area, to get "jq-1.3.tar.gz" and older version. So I'm
> thinking that I can keep as is.
>
> No?
>
> Danomi -
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Cheers,
Lionel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-09-25 19:10 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-25 0:58 [Buildroot] [PATCH] jq: new package Danomi Manchego
2013-09-25 5:59 ` Thomas De Schampheleire
2013-09-25 12:44 ` Danomi Manchego
2013-09-25 14:14 ` Jerzy Grzegorek
2013-09-25 15:42 ` Danomi Manchego
2013-09-25 19:06 ` Lionel Orry
2013-09-25 19:10 ` Lionel Orry
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.