Patchwork [meta-oe,meta-multimedia,2/2] bigbuckbunny: Don't use whole avi in LIC_FILES_CHKSUM and add version

login
register
mail settings
Submitter Martin Jansa
Date Oct. 20, 2013, 12:53 p.m.
Message ID <1382273632-10984-2-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/60271/
State Accepted, archived
Commit 12994b85e6018eb09ca9ccb238ac179ee23dc229
Headers show

Comments

Martin Jansa - Oct. 20, 2013, 12:53 p.m.
* it's causing huge deploy/licenses files:
  211M    deploy/licenses/bigbuckbunny-480p
  317M    deploy/licenses/bigbuckbunny-720p
  886M    deploy/licenses/bigbuckbunny-1080p
  and avi checksum is already verified by SRC_URI checksums

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../recipes-multimedia/sample-content/bigbuckbunny-1080p.bb          | 5 +++--
 .../recipes-multimedia/sample-content/bigbuckbunny-480p.bb           | 5 +++--
 .../recipes-multimedia/sample-content/bigbuckbunny-720p.bb           | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)
Otavio Salvador - Oct. 21, 2013, 2:13 p.m.
On Sun, Oct 20, 2013 at 10:53 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> * it's causing huge deploy/licenses files:
>   211M    deploy/licenses/bigbuckbunny-480p
>   317M    deploy/licenses/bigbuckbunny-720p
>   886M    deploy/licenses/bigbuckbunny-1080p
>   and avi checksum is already verified by SRC_URI checksums
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

Agreed!

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

Patch

diff --git a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb
index 93a52c0..e49b472 100644
--- a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb
+++ b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb
@@ -1,6 +1,7 @@ 
 DESCRIPTION = "Big Buck Bunny movie - 1080P"
-LICENSE = "CC-BY"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/big_buck_bunny_1080p_surround.avi;md5=223991c8b33564eb77988a4c13c1c76a"
+LICENSE = "CC-BY-3.0"
+# http://www.bigbuckbunny.org/index.php/about/
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
 SRC_URI = "http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_surround.avi"
 SRC_URI[md5sum] = "223991c8b33564eb77988a4c13c1c76a"
diff --git a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb
index 31a90ca..84f3259 100644
--- a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb
+++ b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb
@@ -1,6 +1,7 @@ 
 DESCRIPTION = "Big Buck Bunny movie - 480P"
-LICENSE = "CC-BY"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/big_buck_bunny_480p_surround-fix.avi;md5=ed7ed01e9aefba8ddd77c13332cec120"
+LICENSE = "CC-BY-3.0"
+# http://www.bigbuckbunny.org/index.php/about/
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
 SRC_URI = "http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi"
 SRC_URI[md5sum] = "ed7ed01e9aefba8ddd77c13332cec120"
diff --git a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb
index 61cdfdc..810e05f 100644
--- a/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb
+++ b/meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb
@@ -1,6 +1,7 @@ 
 DESCRIPTION = "Big Buck Bunny movie - 720P"
-LICENSE = "CC-BY"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/big_buck_bunny_720p_surround.avi;md5=0da8fe124595f5b206d64cb1400bbefc"
+LICENSE = "CC-BY-3.0"
+# http://www.bigbuckbunny.org/index.php/about/
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
 SRC_URI = "http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_surround.avi"
 SRC_URI[md5sum] = "0da8fe124595f5b206d64cb1400bbefc"