summaryrefslogtreecommitdiff
path: root/meta/recipes-gnome/libwnck
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-08-05 13:23:52 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-10 10:45:32 +0100
commitd5e1375884e509ec745bac43f1f7f7950f62f280 (patch)
treea8f7021277bc5864a603cc78ed361605944b21de /meta/recipes-gnome/libwnck
parent91d9f3271c12fb755ab332637b17650d5fe75ce2 (diff)
downloadopenembedded-core-d5e1375884e509ec745bac43f1f7f7950f62f280.tar.gz
openembedded-core-d5e1375884e509ec745bac43f1f7f7950f62f280.tar.bz2
openembedded-core-d5e1375884e509ec745bac43f1f7f7950f62f280.zip
license: improve handling of license files with identical basenames
Previously, find_license_files() in license.bbclass just blindly assumed that all different licenses specified in LIC_FILES_CHKSUM have unique filenames. As a consequence, only the last one of these similarly named license files was copied and the rest were "lost". This patch changes the behavior so that all license files get copied. However, if multiple identically named files are found, they are renamed to <file>.0, <file>.1 etc. The patch also changes the handling of NO_GENERIC_LICENSE slightly. Previously, only basenames of NO_GENERIC_LICENSE and LIC_FILES_CHKSUM were compared when searching for the correct license file. After this patch NO_GENERIC_LICENSE must have the full path, matching what is specified in LIC_FILES_CHKSUM. This is required in order to be able to handle identical filenames (basenames) consistently. For example, if you have: LICENSE = "my-custom-license" LIC_FILES_CHKSUM = "file://src/LICENCE;md5=d41d8cd98f00b204e9800998ecf8427e" you must specify: NO_GENERIC_LICENSE[my-custom-license] = "src/LICENCE" [YOCTO #9663] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'meta/recipes-gnome/libwnck')
0 files changed, 0 insertions, 0 deletions