Skip to contentSkip to conversation

libjs-jquery-icheck: Use hardcoded SHA for srcrev

PATCH New Khem Raj 1 participant 2 messages Feb 11, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 libjs-jquery-icheck: Use hardcoded SHA for srcrev

Using tags is not good since it will fail to fetch with no network turned on

---
 .../recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb +4 -4
index f14b619a94..31c3534b88 100644
@@ -5,11 +5,9 @@ HOMEPAGE = "http://fronteed.com/iCheck"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://icheck.js;start_line=1;end_line=8;md5=404078d7de9f05ed64d364274f790055"
 
-DEPENDS = "virtual/libc"
+SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV}"
 
-SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV};tag=${PV}"
-
-FILES:${PN} += "${datadir}/javascript/jquery-icheck"
+SRCREV = "c8c1af84e4b90b4aea31466aad09bf877619e943"
 
 S = "${WORKDIR}/git"
 
@@ -40,3 +38,5 @@ do_install() {
         install -m 0644 ${S}/skins/square/* ${D}${datadir}/javascript/jquery-icheck/skins/square/
 }
 
+FILES:${PN} += "${datadir}/javascript/jquery-icheck"
+
Signature · 1 line
2.35.1
author
#1 lore raw

PATCH 2/2 smarty: Upgrade to 4.1.0

Changes are here [1]

[1] https://github.com/smarty-php/smarty/releases/tag/v4.1.0

---
 .../smarty/{smarty_3.1.39.bb => smarty_4.1.0.bb}           | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/smarty/{smarty_3.1.39.bb => smarty_4.1.0.bb} (90%)
meta-oe/recipes-support/smarty/smarty_4.1.0.bb renamed from meta-oe/recipes-support/smarty/smarty_3.1.39.bb +4 -3
similarity index 90%
rename from meta-oe/recipes-support/smarty/smarty_3.1.39.bb
rename to meta-oe/recipes-support/smarty/smarty_4.1.0.bb
index c5b09a0c50..85676e4902 100644
@@ -5,11 +5,11 @@ HOMEPAGE = "https://www.smarty.net/"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3"
 
-DEPENDS = "php"
+DEPENDS += "php"
 
-SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;tag=v${PV};branch=master"
+SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=master"
 
-FILES:${PN} = "${datadir}/php/smarty3/"
+SRCREV = "9e0536de18b53ba193364291ef0303b0ab9903e1"
 
 S = "${WORKDIR}/git"
 
@@ -23,3 +23,4 @@ do_install() {
         install -d ${D}${datadir}/php/smarty3/libs/sysplugins
         install -m 0644 ${S}/libs/sysplugins/*.php ${D}${datadir}/php/smarty3/libs/sysplugins/
 }
+FILES:${PN} = "${datadir}/php/smarty3/"
Signature · 1 line
2.35.1