[V2] libcheck: Upgrade to 0.11.0

Message ID 20171018190550.23205-1-raj.khem@gmail.com
State New
Headers show
Series
  • [V2] libcheck: Upgrade to 0.11.0
Related show

Commit Message

Khem Raj Oct. 18, 2017, 7:05 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
Changes in V2: Pin to release SHA

 .../libcheck/{libcheck_0.10.0.bb => libcheck_git.bb}          | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
 rename meta/recipes-support/libcheck/{libcheck_0.10.0.bb => libcheck_git.bb} (66%)

-- 
2.14.2

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Ross Burton Oct. 20, 2017, 10:29 a.m. | #1
On 18 October 2017 at 20:05, Khem Raj <raj.khem@gmail.com> wrote:

>  .../libcheck/{libcheck_0.10.0.bb => libcheck_git.bb}          | 11

> ++++++-----

>


If it's a release then I much prefer the filename to be the release,
reserving _git filenames for actual snapshots.

Also
https://github.com/libcheck/check/releases/download/0.11.0/check-0.11.0.tar.gz
is a perfectly good tarball, no need to switch to git fetching.

Ross
<div dir="ltr">On 18 October 2017 at 20:05, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> .../libcheck/{<a href="http://libcheck_0.10.0.bb" rel="noreferrer" target="_blank">libcheck_0.10.0.<wbr>bb</a> =&gt; <a href="http://libcheck_git.bb" rel="noreferrer" target="_blank">libcheck_git.bb</a>}          | 11 ++++++-----<br></blockquote><div><br></div><div>If it&#39;s a release then I much prefer the filename to be the release, reserving _git filenames for actual snapshots.</div><div><br></div><div>Also <a href="https://github.com/libcheck/check/releases/download/0.11.0/check-0.11.0.tar.gz">https://github.com/libcheck/check/releases/download/0.11.0/check-0.11.0.tar.gz</a> is a perfectly good tarball, no need to switch to git fetching.</div><div><br></div><div>Ross</div></div></div></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-support/libcheck/libcheck_0.10.0.bb b/meta/recipes-support/libcheck/libcheck_git.bb
similarity index 66%
rename from meta/recipes-support/libcheck/libcheck_0.10.0.bb
rename to meta/recipes-support/libcheck/libcheck_git.bb
index 9d34198a96..a72cf5d43a 100644
--- a/meta/recipes-support/libcheck/libcheck_0.10.0.bb
+++ b/meta/recipes-support/libcheck/libcheck_git.bb
@@ -5,13 +5,14 @@  SECTION = "devel"
 LICENSE  = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \
-          "
+SRCREV = "cbc78bab899858f3ece1f218168da54aac757bb0"
+
+PV = "0.11.0"
 
-SRC_URI[md5sum] = "53c5e5c77d090e103a17f3ed7fd7d8b8"
-SRC_URI[sha256sum] = "f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052"
+SRC_URI = "git://github.com/libcheck/check;protocol=https\
+          "
 
-S = "${WORKDIR}/check-${PV}"
+S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig texinfo