Skip to contentSkip to conversation

meta-multimedia: s|${COREBASE}/meta/files/common-licenses|${COMMON_LICENSE_DIR}

PATCH In review André Draszik 2 participants 3 messages Feb 27, 2020 – Feb 28, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-multimedia: s|${COREBASE}/meta/files/common-licenses|${COMMON_LICENSE_DIR}

---
 .../recipes-multimedia/sample-content/bigbuckbunny-1080p.bb     | 2 +-
 .../recipes-multimedia/sample-content/bigbuckbunny-480p.bb      | 2 +-
 .../recipes-multimedia/sample-content/bigbuckbunny-720p.bb      | 2 +-
 .../recipes-multimedia/sample-content/tearsofsteel-1080p.bb     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb +1 -1
index cee386c2a..70eb6e4be 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Big Buck Bunny movie - 1080P"
 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"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
 SRC_URI = "http://themazzone.com/big_buck_bunny_1080p_surround.avi"
 SRC_URI[md5sum] = "223991c8b33564eb77988a4c13c1c76a"
meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb +1 -1
index d395b9206..df2368996 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Big Buck Bunny movie - 480P"
 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"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
 SRC_URI = "https://archive.org/download/BigBuckBunny/big_buck_bunny_480p_surround-fix.avi"
 SRC_URI[md5sum] = "ed7ed01e9aefba8ddd77c13332cec120"
meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb +1 -1
index 20d562749..cb8ece0cb 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Big Buck Bunny movie - 720P"
 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"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
 SRC_URI = "https://archive.org/download/BigBuckBunny/big_buck_bunny_720p_surround.avi"
 SRC_URI[md5sum] = "0da8fe124595f5b206d64cb1400bbefc"
meta-multimedia/recipes-multimedia/sample-content/tearsofsteel-1080p.bb +1 -1
index 0582a4856..04cbd2e34 100644
@@ -1,6 +1,6 @@
 SUMMARY = "Tears of Steel movie - 1080P"
 LICENSE = "CC-BY-3.0"
-LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
 SRC_URI = "http://ftp.nluug.nl/pub/graphics/blender/demo/movies/ToS/ToS-4k-1920.mov"
 SRC_URI[md5sum] = "e3fee55b1779c553e37b1d3988e6fad6"
Signature · 1 line
2.23.0.rc1
#1 lore raw

Hi André

Thanks for doing this cleanup, but perhaps subject could be more simple and readable and this detail of sed operation could be in details.

Quoted 60 lines · André Draszik
---
  .../recipes-multimedia/sample-content/bigbuckbunny-1080p.bb     | 2 +-
  .../recipes-multimedia/sample-content/bigbuckbunny-480p.bb      | 2 +-
  .../recipes-multimedia/sample-content/bigbuckbunny-720p.bb      | 2 +-
  .../recipes-multimedia/sample-content/tearsofsteel-1080p.bb     | 2 +-
  4 files changed, 4 insertions(+), 4 deletions(-)
meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb +1 -1
index cee386c2a..70eb6e4be 100644
@@ -1,7 +1,7 @@
  SUMMARY = "Big Buck Bunny movie - 1080P"
  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"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
  SRC_URI = "http://themazzone.com/big_buck_bunny_1080p_surround.avi"
  SRC_URI[md5sum] = "223991c8b33564eb77988a4c13c1c76a"
meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb +1 -1
index d395b9206..df2368996 100644
@@ -1,7 +1,7 @@
  SUMMARY = "Big Buck Bunny movie - 480P"
  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"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
  SRC_URI = "https://archive.org/download/BigBuckBunny/big_buck_bunny_480p_surround-fix.avi"
  SRC_URI[md5sum] = "ed7ed01e9aefba8ddd77c13332cec120"
meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb +1 -1
index 20d562749..cb8ece0cb 100644
@@ -1,7 +1,7 @@
  SUMMARY = "Big Buck Bunny movie - 720P"
  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"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
  SRC_URI = "https://archive.org/download/BigBuckBunny/big_buck_bunny_720p_surround.avi"
  SRC_URI[md5sum] = "0da8fe124595f5b206d64cb1400bbefc"
meta-multimedia/recipes-multimedia/sample-content/tearsofsteel-1080p.bb +1 -1
index 0582a4856..04cbd2e34 100644
@@ -1,6 +1,6 @@
  SUMMARY = "Tears of Steel movie - 1080P"
  LICENSE = "CC-BY-3.0"
-LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
  SRC_URI = "http://ftp.nluug.nl/pub/graphics/blender/demo/movies/ToS/ToS-4k-1920.mov"
  SRC_URI[md5sum] = "e3fee55b1779c553e37b1d3988e6fad6"
#2 lore raw
Quoted 4 lines · Khem Raj

Hi André

Thanks for doing this cleanup, but perhaps subject could be more simple and readable and this detail of sed operation could be in details.

Done (although I left out the sed arguments, as it's trivial :-)

Cheers,
Andre'

Quoted 66 lines · André Draszik
Quoted 64 lines
---
  .../recipes-multimedia/sample-content/bigbuckbunny-1080p.bb     | 2 +-
  .../recipes-multimedia/sample-content/bigbuckbunny-480p.bb      | 2 +-
  .../recipes-multimedia/sample-content/bigbuckbunny-720p.bb      | 2 +-
  .../recipes-multimedia/sample-content/tearsofsteel-1080p.bb     | 2 +-
  4 files changed, 4 insertions(+), 4 deletions(-)
meta-multimedia/recipes- renamed from meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb +0 -0

multimedia/sample-content/bigbuckbunny-1080p.bb
index cee386c2a..70eb6e4be 100644

meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-1080p.bb +1 -1
@@ -1,7 +1,7 @@
  SUMMARY = "Big Buck Bunny movie - 1080P"
  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"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
  SRC_URI = "http://themazzone.com/big_buck_bunny_1080p_surround.avi"
  SRC_URI[md5sum] = "223991c8b33564eb77988a4c13c1c76a"
meta-multimedia/recipes- renamed from meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb +0 -0

multimedia/sample-content/bigbuckbunny-480p.bb
index d395b9206..df2368996 100644

meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-480p.bb +1 -1
@@ -1,7 +1,7 @@
  SUMMARY = "Big Buck Bunny movie - 480P"
  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"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
  SRC_URI = "https://archive.org/download/BigBuckBunny/big_buck_bunny_480p_surround-fix.avi"
  SRC_URI[md5sum] = "ed7ed01e9aefba8ddd77c13332cec120"
meta-multimedia/recipes- renamed from meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb +0 -0

multimedia/sample-content/bigbuckbunny-720p.bb
index 20d562749..cb8ece0cb 100644

meta-multimedia/recipes-multimedia/sample-content/bigbuckbunny-720p.bb +1 -1
@@ -1,7 +1,7 @@
  SUMMARY = "Big Buck Bunny movie - 720P"
  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"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
  SRC_URI = "https://archive.org/download/BigBuckBunny/big_buck_bunny_720p_surround.avi"
  SRC_URI[md5sum] = "0da8fe124595f5b206d64cb1400bbefc"
meta-multimedia/recipes- renamed from meta-multimedia/recipes-multimedia/sample-content/tearsofsteel-1080p.bb +0 -0

multimedia/sample-content/tearsofsteel-1080p.bb
index 0582a4856..04cbd2e34 100644

meta-multimedia/recipes-multimedia/sample-content/tearsofsteel-1080p.bb +1 -1
@@ -1,6 +1,6 @@
  SUMMARY = "Tears of Steel movie - 1080P"
  LICENSE = "CC-BY-3.0"
-LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
 
  SRC_URI = "http://ftp.nluug.nl/pub/graphics/blender/demo/movies/ToS/ToS-4k-1920.mov"
  SRC_URI[md5sum] = "e3fee55b1779c553e37b1d3988e6fad6"