Skip to contentSkip to conversation

dleyna: switch to git clones instead of generated tarballs

PATCH Applied Ross Burton 3 participants 6 messages Sep 12, 2013 – Sep 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dleyna: switch to git clones instead of generated tarballs

The tarballs used were the dynamically-generated tarballs from github, which recently have changed checksum. Avoid this problem entirely by fetching from git, locked to the relevant tag.

---
 .../recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb        |    6 +++---
 .../recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb     |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
meta-multimedia/recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb +3 -3
index 6d81ed2..fb0194b 100644
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 DEPENDS = "dbus glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4"
 
-SRC_URI = "https://github.com/01org/${BPN}/archive/v${PV}.zip"
-SRC_URI[md5sum] = "9fc4db84b3459bc77232b24bde48b000"
-SRC_URI[sha256sum] = "9cdee47bbbfa3de5aaa5cf3fc9e208ccd97e5079f6d8fa84a6d1f24a1b760237"
+SRC_URI = "git://github.com/01org/${BPN}.git"
+SRCREV = "1996ecbe4a06c95d22f7d958e32e3d28f7a4a2e9"
+S = "${WORKDIR}/git"
 
 inherit autotools
 
meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb +3 -3
index d23babe..478b1c7 100644
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 DEPENDS = "dbus glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4"
 
-SRC_URI = "https://github.com/01org/${BPN}/archive/v${PV}.zip"
-SRC_URI[md5sum] = "1e19349712a34dd56a14fc280b5d8b74"
-SRC_URI[sha256sum] = "d6623d98dd35ee32bc08349b4a22d12101dda38a2ece1e468ff0160e519a854d"
+SRC_URI = "git://github.com/01org/${BPN}.git"
+SRCREV = "4a0b1d7cd8e22d3cb0e09c77c344ceccbcbbd34f"
+S = "${WORKDIR}/git"
 
 inherit autotools
 
Signature · 1 line
1.7.10.4
Acked-by on v1 1/1
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 12-09-13 17:31, Ross Burton schreef:

Quoted 5 lines

The tarballs used were the dynamically-generated tarballs from github, which recently have changed checksum. Avoid this problem entirely by fetching from git, locked to the relevant tag.

Quoted 22 lines

--- .../recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb |
6 +++--- .../recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb
| 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb b/meta-multimedia/recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb index 6d81ed2..fb0194b 100644 --- a/meta-multimedia/recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb
+++
b/meta-multimedia/recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb

(quoted diff) +0 -0
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM =
 "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 

DEPENDS = "dbus glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4"

(quoted diff) +0 -2
-SRC_URI = "https://github.com/01org/${BPN}/archive/v${PV}.zip" 
-SRC_URI[md5sum] = "9fc4db84b3459bc77232b24bde48b000" -SRC_URI[sha256sum]

= "9cdee47bbbfa3de5aaa5cf3fc9e208ccd97e5079f6d8fa84a6d1f24a1b760237" +SRC_URI = "git://github.com/01org/${BPN}.git" +SRCREV = "1996ecbe4a06c95d22f7d958e32e3d28f7a4a2e9" +S = "${WORKDIR}/git"

Quoted 7 lines

inherit autotools

diff --git a/meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb b/meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb

index d23babe..478b1c7 100644

Quoted 4 lines

---
a/meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb

+++ b/meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb

Quoted 11 lines
(quoted diff) +0 -0
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM =
 "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 

DEPENDS = "dbus glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4"

(quoted diff) +0 -2
-SRC_URI = "https://github.com/01org/${BPN}/archive/v${PV}.zip" 
-SRC_URI[md5sum] = "1e19349712a34dd56a14fc280b5d8b74" -SRC_URI[sha256sum]

= "d6623d98dd35ee32bc08349b4a22d12101dda38a2ece1e468ff0160e519a854d" +SRC_URI = "git://github.com/01org/${BPN}.git" +SRCREV = "4a0b1d7cd8e22d3cb0e09c77c344ceccbcbbd34f" +S = "${WORKDIR}/git"

Quoted 3 lines

inherit autotools

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFSMehiMkyGM64RGpERAsTeAJ0R8qOVSYvcJ9iztlKzIa92UkongQCeNwjh u3SRenLrGTVa/GjCncFhWjU=
=vWrd
-----END PGP SIGNATURE-----

Applied
#2 lore raw
In reply to Ross Burton
Quoted 3 lines · Ross Burton

The tarballs used were the dynamically-generated tarballs from github, which recently have changed checksum. Avoid this problem entirely by fetching from git, locked to the relevant tag.

Merged, thanks!

Quoted 48 lines
---
 .../recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb        |    6 +++---
 .../recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb     |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
meta-multimedia/recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb +3 -3
index 6d81ed2..fb0194b 100644
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 DEPENDS = "dbus glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4"
 
-SRC_URI = "https://github.com/01org/${BPN}/archive/v${PV}.zip"
-SRC_URI[md5sum] = "9fc4db84b3459bc77232b24bde48b000"
-SRC_URI[sha256sum] = "9cdee47bbbfa3de5aaa5cf3fc9e208ccd97e5079f6d8fa84a6d1f24a1b760237"
+SRC_URI = "git://github.com/01org/${BPN}.git"
+SRCREV = "1996ecbe4a06c95d22f7d958e32e3d28f7a4a2e9"
+S = "${WORKDIR}/git"
 
 inherit autotools
 
meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb +3 -3
index d23babe..478b1c7 100644
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 DEPENDS = "dbus glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4"
 
-SRC_URI = "https://github.com/01org/${BPN}/archive/v${PV}.zip"
-SRC_URI[md5sum] = "1e19349712a34dd56a14fc280b5d8b74"
-SRC_URI[sha256sum] = "d6623d98dd35ee32bc08349b4a22d12101dda38a2ece1e468ff0160e519a854d"
+SRC_URI = "git://github.com/01org/${BPN}.git"
+SRCREV = "4a0b1d7cd8e22d3cb0e09c77c344ceccbcbbd34f"
+S = "${WORKDIR}/git"
 
 inherit autotools
 
Signature · 6 lines
1.7.10.4

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 6 lines · Martin Jansa
Quoted 3 lines · Ross Burton

The tarballs used were the dynamically-generated tarballs from github, which recently have changed checksum. Avoid this problem entirely by fetching from git, locked to the relevant tag.

Merged, thanks!

Did you actually push that merge? I don't see it merged here.

Ross

#4 lore raw
Quoted 9 lines · Ross
Quoted 6 lines · Martin Jansa
Quoted 3 lines · Ross Burton

The tarballs used were the dynamically-generated tarballs from github, which recently have changed checksum. Avoid this problem entirely by fetching from git, locked to the relevant tag.

Merged, thanks!

Did you actually push that merge? I don't see it merged here.

Yes
http://git.openembedded.org/meta-openembedded/commit/?id=ef3f283609c5b165f5dfa9d6458f3c9ffb53f209

Quoted 6 lines

Ross
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw
Quoted 7 lines · Martin Jansa
Quoted 6 lines · Ross
Quoted 5 lines · Martin Jansa
Quoted 3 lines · Ross Burton

The tarballs used were the dynamically-generated tarballs from github, which recently have changed checksum. Avoid this problem entirely by fetching from git, locked to the relevant tag.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Merged, thanks!

Did you actually push that merge? I don't see it merged here.

Yes
http://git.openembedded.org/meta-openembedded/commit/?id=ef3f283609c5b165f5dfa9d6458f3c9ffb53f209

So my .git/config is wonky and doing a git pull isn't actually pulling origin. whoops.

Ross