* [meta-oe][PATCH 0/2] libjs: Add new recipes
@ 2014-12-04 9:38 Qian Lei
2014-12-04 9:38 ` [meta-oe][PATCH 1/2] libjs-jquery: Add new recipe Qian Lei
2014-12-04 9:38 ` [meta-oe][PATCH 2/2] libjs-sizzle: " Qian Lei
0 siblings, 2 replies; 5+ messages in thread
From: Qian Lei @ 2014-12-04 9:38 UTC (permalink / raw)
To: openembedded-devel
libjs-jquery and libjs-sizzle are supported on Ubuntu14.04
Qian Lei (2):
libjs-jquery: Add new recipe
libjs-sizzle: Add new recipe
.../recipes-support/libjs/libjs-jquery_1.7.1.bb | 24 ++++++++++++++++++++++
.../recipes-support/libjs/libjs-sizzle_1.9.3.bb | 21 +++++++++++++++++++
2 files changed, 45 insertions(+)
create mode 100644 meta-oe/recipes-support/libjs/libjs-jquery_1.7.1.bb
create mode 100644 meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
--
1.8.3.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [meta-oe][PATCH 1/2] libjs-jquery: Add new recipe
2014-12-04 9:38 [meta-oe][PATCH 0/2] libjs: Add new recipes Qian Lei
@ 2014-12-04 9:38 ` Qian Lei
2014-12-04 9:38 ` [meta-oe][PATCH 2/2] libjs-sizzle: " Qian Lei
1 sibling, 0 replies; 5+ messages in thread
From: Qian Lei @ 2014-12-04 9:38 UTC (permalink / raw)
To: openembedded-devel
libjs-jquery is a javascript library for dynamic web application
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
---
.../recipes-support/libjs/libjs-jquery_1.7.1.bb | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 meta-oe/recipes-support/libjs/libjs-jquery_1.7.1.bb
diff --git a/meta-oe/recipes-support/libjs/libjs-jquery_1.7.1.bb b/meta-oe/recipes-support/libjs/libjs-jquery_1.7.1.bb
new file mode 100644
index 0000000..cf7c2d5
--- /dev/null
+++ b/meta-oe/recipes-support/libjs/libjs-jquery_1.7.1.bb
@@ -0,0 +1,24 @@
+SUMMARY = "JavaScript library for dynamic web applications"
+LICENSE = "GPLv2+ & MIT"
+LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-jquery/copyright;md5=2b490904c50a58472452b6e9e1c81203"
+
+SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/main/j/jquery/${BPN}_${PV}-1ubuntu1_all.deb;subdir=${BP}"
+SRC_URI[md5sum] = "1ac8a9e4dfe18de22e65baec3dd53f8b"
+SRC_URI[sha256sum] = "0551e20c88035d80c00b552707573d62ee89e8e5a204d8b427a6020b065e2542"
+
+JQUERYDIR = "${datadir}/javascript/jquery"
+JQUERYDOCDIR = "${docdir}/libjs-jquery"
+
+do_install() {
+ install -d -m 0755 ${D}${JQUERYDIR}
+ install -m 0644 ${S}${JQUERYDIR}/jquery.js ${D}${JQUERYDIR}/
+ install -m 0644 ${S}${JQUERYDIR}/jquery.min.js ${D}${JQUERYDIR}/
+
+ ln -sf jquery.min.js ${D}${JQUERYDIR}/jquery.lite.js
+ ln -sf jquery.min.js ${D}${JQUERYDIR}/jquery.pack.js
+
+ install -d -m 0644 ${D}${JQUERYDOCDIR}
+ install -m 0644 ${S}${JQUERYDOCDIR}/copyright ${D}${JQUERYDOCDIR}/
+}
+
+FILES_${PN} = "/usr/share/javascript/jquery"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [meta-oe][PATCH 2/2] libjs-sizzle: Add new recipe
2014-12-04 9:38 [meta-oe][PATCH 0/2] libjs: Add new recipes Qian Lei
2014-12-04 9:38 ` [meta-oe][PATCH 1/2] libjs-jquery: Add new recipe Qian Lei
@ 2014-12-04 9:38 ` Qian Lei
2014-12-09 17:51 ` Martin Jansa
1 sibling, 1 reply; 5+ messages in thread
From: Qian Lei @ 2014-12-04 9:38 UTC (permalink / raw)
To: openembedded-devel
libjs-sizzle is a pure-javascript CSS selector engine
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
---
meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
diff --git a/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
new file mode 100644
index 0000000..d773617
--- /dev/null
+++ b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Pure-JavaScript CSS selector engine"
+LICENSE = "GPLv2+ & MIT & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-sizzle/copyright;md5=9b35efb1635ff8f06d1984376b06ee5a"
+
+SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/${BPN}_${PV}-1_all.deb;subdir=${BP}"
+SRC_URI[md5sum] = "d88d4ed02a2098e32ba057cc0c2724ba"
+SRC_URI[sha256sum] = "604029bc97b6e84da7e9eba4cef8e822c80d9255cf3d9e1d0f7d53652b0986aa"
+
+SIZZLEDIR = "${datadir}/javascript/sizzle"
+SIZZLEDOCDIR = "${docdir}/libjs-sizzle"
+
+do_install() {
+ install -d -m 0755 ${D}${SIZZLEDIR}
+ install -m 0644 ${S}${SIZZLEDIR}/sizzle.js ${D}${SIZZLEDIR}/
+ install -m 0644 ${S}${SIZZLEDIR}/sizzle.min.js ${D}${SIZZLEDIR}/
+
+ install -d -m 0755 ${D}${SIZZLEDOCDIR}
+ install -m 0644 ${S}${SIZZLEDOCDIR}/* ${D}${SIZZLEDOCDIR}/
+}
+
+FILES_${PN} = "/usr/share/javascript/sizzle/"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-oe][PATCH 2/2] libjs-sizzle: Add new recipe
2014-12-04 9:38 ` [meta-oe][PATCH 2/2] libjs-sizzle: " Qian Lei
@ 2014-12-09 17:51 ` Martin Jansa
2014-12-10 7:50 ` [meta-oe][PATCH v2] " Qian Lei
0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2014-12-09 17:51 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3645 bytes --]
On Thu, Dec 04, 2014 at 05:38:47PM +0800, Qian Lei wrote:
> libjs-sizzle is a pure-javascript CSS selector engine
>
> Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
> ---
> meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
> create mode 100644 meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
>
> diff --git a/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
> new file mode 100644
> index 0000000..d773617
> --- /dev/null
> +++ b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
> @@ -0,0 +1,21 @@
> +SUMMARY = "Pure-JavaScript CSS selector engine"
> +LICENSE = "GPLv2+ & MIT & BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-sizzle/copyright;md5=9b35efb1635ff8f06d1984376b06ee5a"
> +
> +SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/${BPN}_${PV}-1_all.deb;subdir=${BP}"
> +SRC_URI[md5sum] = "d88d4ed02a2098e32ba057cc0c2724ba"
> +SRC_URI[sha256sum] = "604029bc97b6e84da7e9eba4cef8e822c80d9255cf3d9e1d0f7d53652b0986aa"
Fails to fetch:
NOTE: recipe libjs-sizzle-1.9.3-r0: task do_fetch: Started
WARNING: Checksum failure encountered with download of http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/libjs-sizzle_1.9.3-1_all.deb;subdir=libjs-sizzle-1.9.3 - will attempt other sources if available
WARNING: Renaming /home/jenkins/oe/world/shr-core/downloads/libjs-sizzle_1.9.3-1_all.deb to /home/jenkins/oe/world/shr-core/downloads/libjs-sizzle_1.9.3-1_all.deb_bad-checksum_748b8805e21caed658f6765f7c491d46
ERROR: Fetcher failure for URL: 'http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/libjs-sizzle_1.9.3-1_all.deb;subdir=libjs-sizzle-1.9.3'. Checksum mismatch!
File: '/home/jenkins/oe/world/shr-core/downloads/libjs-sizzle_1.9.3-1_all.deb' has md5 checksum 748b8805e21caed658f6765f7c491d46 when d88d4ed02a2098e32ba057cc0c2724ba was expected
File: '/home/jenkins/oe/world/shr-core/downloads/libjs-sizzle_1.9.3-1_all.deb' has sha256 checksum 2a6468763c40a30f6f7d0df8906cd17aaebd6edaa5478aeaffd7b6b5fb8abd35 when 604029bc97b6e84da7e9eba4cef8e822c80d9255cf3d9e1d0f7d53652b0986aa was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "748b8805e21caed658f6765f7c491d46"
SRC_URI[sha256sum] = "2a6468763c40a30f6f7d0df8906cd17aaebd6edaa5478aeaffd7b6b5fb8abd35"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
ERROR: Function failed: Fetcher failure for URL: 'http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/libjs-sizzle_1.9.3-1_all.deb;subdir=libjs-sizzle-1.9.3'. Unable to fetch URL from any source.
> +
> +SIZZLEDIR = "${datadir}/javascript/sizzle"
> +SIZZLEDOCDIR = "${docdir}/libjs-sizzle"
> +
> +do_install() {
> + install -d -m 0755 ${D}${SIZZLEDIR}
> + install -m 0644 ${S}${SIZZLEDIR}/sizzle.js ${D}${SIZZLEDIR}/
> + install -m 0644 ${S}${SIZZLEDIR}/sizzle.min.js ${D}${SIZZLEDIR}/
> +
> + install -d -m 0755 ${D}${SIZZLEDOCDIR}
> + install -m 0644 ${S}${SIZZLEDOCDIR}/* ${D}${SIZZLEDOCDIR}/
> +}
> +
> +FILES_${PN} = "/usr/share/javascript/sizzle/"
> --
> 1.8.3.1
>
> --
> _______________________________________________
> 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: 188 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [meta-oe][PATCH v2] libjs-sizzle: Add new recipe
2014-12-09 17:51 ` Martin Jansa
@ 2014-12-10 7:50 ` Qian Lei
0 siblings, 0 replies; 5+ messages in thread
From: Qian Lei @ 2014-12-10 7:50 UTC (permalink / raw)
To: openembedded-devel
libjs-sizzle is a pure-javascript CSS selector engine
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
---
meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
diff --git a/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
new file mode 100644
index 0000000..ad0f9c6
--- /dev/null
+++ b/meta-oe/recipes-support/libjs/libjs-sizzle_1.9.3.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Pure-JavaScript CSS selector engine"
+LICENSE = "GPLv2+ & MIT & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://usr/share/doc/libjs-sizzle/copyright;md5=9b35efb1635ff8f06d1984376b06ee5a"
+
+SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/${BPN}_${PV}-1_all.deb;subdir=${BP}"
+SRC_URI[md5sum] = "748b8805e21caed658f6765f7c491d46"
+SRC_URI[sha256sum] = "2a6468763c40a30f6f7d0df8906cd17aaebd6edaa5478aeaffd7b6b5fb8abd35"
+
+SIZZLEDIR = "${datadir}/javascript/sizzle"
+SIZZLEDOCDIR = "${docdir}/libjs-sizzle"
+
+do_install() {
+ install -d -m 0755 ${D}${SIZZLEDIR}
+ install -m 0644 ${S}${SIZZLEDIR}/sizzle.js ${D}${SIZZLEDIR}/
+ install -m 0644 ${S}${SIZZLEDIR}/sizzle.min.js ${D}${SIZZLEDIR}/
+ install -d -m 0755 ${D}${SIZZLEDOCDIR}
+ install -m 0644 ${S}${SIZZLEDOCDIR}/* ${D}${SIZZLEDOCDIR}/
+}
+
+FILES_${PN} = "/usr/share/javascript/sizzle/"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-10 7:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-04 9:38 [meta-oe][PATCH 0/2] libjs: Add new recipes Qian Lei
2014-12-04 9:38 ` [meta-oe][PATCH 1/2] libjs-jquery: Add new recipe Qian Lei
2014-12-04 9:38 ` [meta-oe][PATCH 2/2] libjs-sizzle: " Qian Lei
2014-12-09 17:51 ` Martin Jansa
2014-12-10 7:50 ` [meta-oe][PATCH v2] " Qian Lei
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.