* [meta-oe][PATCH V2] yajl_1.0.12: Add recipe for yajl1
@ 2016-12-20 5:33 Khem Raj
2016-12-20 12:46 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2016-12-20 5:33 UTC (permalink / raw)
To: openembedded-devel
yajl1 and yajl2 are not ABI compatible, therefore
add a recipe for latest release of yajl1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../yajl-1.0.12/0001-bump-version-to-1.0.12.patch | 25 ++++++++++++++++++++++
meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb | 21 ++++++++++++++++++
2 files changed, 46 insertions(+)
create mode 100644 meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch
create mode 100644 meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
diff --git a/meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch b/meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch
new file mode 100644
index 000000000..5e8aef051
--- /dev/null
+++ b/meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch
@@ -0,0 +1,25 @@
+From 17b1790fb9c8abbb3c0f7e083864a6a014191d56 Mon Sep 17 00:00:00 2001
+From: Lloyd Hilaiel <lloyd@hilaiel.com>
+Date: Mon, 25 Apr 2011 12:56:24 -0600
+Subject: [PATCH] bump version to 1.0.12
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 727a488..c703244 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -34,7 +34,7 @@ PROJECT(YetAnotherJSONParser C)
+
+ SET (YAJL_MAJOR 1)
+ SET (YAJL_MINOR 0)
+-SET (YAJL_MICRO 11)
++SET (YAJL_MICRO 12)
+
+ SET (YAJL_DIST_NAME "yajl-${YAJL_MAJOR}.${YAJL_MINOR}.${YAJL_MICRO}")
+
+--
+2.11.0
+
diff --git a/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb b/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
new file mode 100644
index 000000000..f8451a406
--- /dev/null
+++ b/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Yet Another JSON Library."
+
+DESCRIPTION = "YAJL is a small event-driven (SAX-style) JSON parser \
+written in ANSI C, and a small validating JSON generator."
+
+HOMEPAGE = "http://lloyd.github.com/yajl/"
+
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://COPYING;md5=da2e9aa80962d54e7c726f232a2bd1e8"
+
+SRCREV = "6a8906d409dfe6dd3f1e01ed066aa162b1729cec"
+
+SRC_URI = "git://github.com/lloyd/yajl;branch=1.x \
+ file://0001-bump-version-to-1.0.12.patch \
+ "
+
+inherit cmake lib_package
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH V2] yajl_1.0.12: Add recipe for yajl1
2016-12-20 5:33 [meta-oe][PATCH V2] yajl_1.0.12: Add recipe for yajl1 Khem Raj
@ 2016-12-20 12:46 ` Martin Jansa
2016-12-21 6:05 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2016-12-20 12:46 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3150 bytes --]
On Mon, Dec 19, 2016 at 09:33:51PM -0800, Khem Raj wrote:
> yajl1 and yajl2 are not ABI compatible, therefore
> add a recipe for latest release of yajl1
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../yajl-1.0.12/0001-bump-version-to-1.0.12.patch | 25 ++++++++++++++++++++++
> meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb | 21 ++++++++++++++++++
> 2 files changed, 46 insertions(+)
> create mode 100644 meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch
> create mode 100644 meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
>
> diff --git a/meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch b/meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch
> new file mode 100644
> index 000000000..5e8aef051
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch
> @@ -0,0 +1,25 @@
> +From 17b1790fb9c8abbb3c0f7e083864a6a014191d56 Mon Sep 17 00:00:00 2001
> +From: Lloyd Hilaiel <lloyd@hilaiel.com>
> +Date: Mon, 25 Apr 2011 12:56:24 -0600
> +Subject: [PATCH] bump version to 1.0.12
> +
> +---
> + CMakeLists.txt | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/CMakeLists.txt b/CMakeLists.txt
> +index 727a488..c703244 100644
> +--- a/CMakeLists.txt
> ++++ b/CMakeLists.txt
> +@@ -34,7 +34,7 @@ PROJECT(YetAnotherJSONParser C)
> +
> + SET (YAJL_MAJOR 1)
> + SET (YAJL_MINOR 0)
> +-SET (YAJL_MICRO 11)
> ++SET (YAJL_MICRO 12)
> +
> + SET (YAJL_DIST_NAME "yajl-${YAJL_MAJOR}.${YAJL_MINOR}.${YAJL_MICRO}")
> +
> +--
> +2.11.0
> +
> diff --git a/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb b/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
> new file mode 100644
> index 000000000..f8451a406
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
> @@ -0,0 +1,21 @@
> +SUMMARY = "Yet Another JSON Library."
> +
> +DESCRIPTION = "YAJL is a small event-driven (SAX-style) JSON parser \
> +written in ANSI C, and a small validating JSON generator."
> +
> +HOMEPAGE = "http://lloyd.github.com/yajl/"
> +
> +LICENSE = "ISC"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=da2e9aa80962d54e7c726f232a2bd1e8"
yajl1 was BSD:
https://github.com/lloyd/yajl/commit/de81b1fcd22b29b152f921f23faab759c79da7e1
> +
> +SRCREV = "6a8906d409dfe6dd3f1e01ed066aa162b1729cec"
> +
> +SRC_URI = "git://github.com/lloyd/yajl;branch=1.x \
> + file://0001-bump-version-to-1.0.12.patch \
> + "
This should be better than adding local .patch:
# corresponds to tag 1.0.12
SRCREV = "17b1790fb9c8abbb3c0f7e083864a6a014191d56"
SRC_URI = "git://github.com/lloyd/${PN};nobranch=1"
> +
> +inherit cmake lib_package
> +
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
> --
> 2.11.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH V2] yajl_1.0.12: Add recipe for yajl1
2016-12-20 12:46 ` Martin Jansa
@ 2016-12-21 6:05 ` Khem Raj
0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2016-12-21 6:05 UTC (permalink / raw)
To: openembeded-devel
On Tue, Dec 20, 2016 at 4:46 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Mon, Dec 19, 2016 at 09:33:51PM -0800, Khem Raj wrote:
>> yajl1 and yajl2 are not ABI compatible, therefore
>> add a recipe for latest release of yajl1
>>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>> .../yajl-1.0.12/0001-bump-version-to-1.0.12.patch | 25 ++++++++++++++++++++++
>> meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb | 21 ++++++++++++++++++
>> 2 files changed, 46 insertions(+)
>> create mode 100644 meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch
>> create mode 100644 meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
>>
>> diff --git a/meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch b/meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch
>> new file mode 100644
>> index 000000000..5e8aef051
>> --- /dev/null
>> +++ b/meta-oe/recipes-devtools/yajl/yajl-1.0.12/0001-bump-version-to-1.0.12.patch
>> @@ -0,0 +1,25 @@
>> +From 17b1790fb9c8abbb3c0f7e083864a6a014191d56 Mon Sep 17 00:00:00 2001
>> +From: Lloyd Hilaiel <lloyd@hilaiel.com>
>> +Date: Mon, 25 Apr 2011 12:56:24 -0600
>> +Subject: [PATCH] bump version to 1.0.12
>> +
>> +---
>> + CMakeLists.txt | 2 +-
>> + 1 file changed, 1 insertion(+), 1 deletion(-)
>> +
>> +diff --git a/CMakeLists.txt b/CMakeLists.txt
>> +index 727a488..c703244 100644
>> +--- a/CMakeLists.txt
>> ++++ b/CMakeLists.txt
>> +@@ -34,7 +34,7 @@ PROJECT(YetAnotherJSONParser C)
>> +
>> + SET (YAJL_MAJOR 1)
>> + SET (YAJL_MINOR 0)
>> +-SET (YAJL_MICRO 11)
>> ++SET (YAJL_MICRO 12)
>> +
>> + SET (YAJL_DIST_NAME "yajl-${YAJL_MAJOR}.${YAJL_MINOR}.${YAJL_MICRO}")
>> +
>> +--
>> +2.11.0
>> +
>> diff --git a/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb b/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
>> new file mode 100644
>> index 000000000..f8451a406
>> --- /dev/null
>> +++ b/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
>> @@ -0,0 +1,21 @@
>> +SUMMARY = "Yet Another JSON Library."
>> +
>> +DESCRIPTION = "YAJL is a small event-driven (SAX-style) JSON parser \
>> +written in ANSI C, and a small validating JSON generator."
>> +
>> +HOMEPAGE = "http://lloyd.github.com/yajl/"
>> +
>> +LICENSE = "ISC"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=da2e9aa80962d54e7c726f232a2bd1e8"
>
> yajl1 was BSD:
> https://github.com/lloyd/yajl/commit/de81b1fcd22b29b152f921f23faab759c79da7e1
sent a v3
>
>> +
>> +SRCREV = "6a8906d409dfe6dd3f1e01ed066aa162b1729cec"
>> +
>> +SRC_URI = "git://github.com/lloyd/yajl;branch=1.x \
>> + file://0001-bump-version-to-1.0.12.patch \
>> + "
>
> This should be better than adding local .patch:
>
> # corresponds to tag 1.0.12
> SRCREV = "17b1790fb9c8abbb3c0f7e083864a6a014191d56"
> SRC_URI = "git://github.com/lloyd/${PN};nobranch=1"
>
>> +
>> +inherit cmake lib_package
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
>> --
>> 2.11.0
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-12-21 6:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-20 5:33 [meta-oe][PATCH V2] yajl_1.0.12: Add recipe for yajl1 Khem Raj
2016-12-20 12:46 ` Martin Jansa
2016-12-21 6:05 ` Khem Raj
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.