mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
libxsettings-client: fix COPYING file
Fixed: * Move the code of copy COPYING file from do_configure_append() to do_patch[postfuncs] since we had moved license-checksum from do_package_qa to do_populate_lic. * Add xsettings-client.c and xsettings-common.c to LIC_FILES_CHKSUM. * Update comments. (From OE-Core rev: 89332686ac6c756672cbf67c2df70c5150efa998) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b13367b10f
commit
46bfdecf14
@@ -9,7 +9,9 @@ SECTION = "x/libs"
|
|||||||
LICENSE = "MIT-style"
|
LICENSE = "MIT-style"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
|
||||||
file://xsettings-client.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
|
file://xsettings-client.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
|
||||||
file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b"
|
file://xsettings-client.c;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
|
||||||
|
file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
|
||||||
|
file://xsettings-common.c;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b"
|
||||||
DEPENDS = "virtual/libx11"
|
DEPENDS = "virtual/libx11"
|
||||||
|
|
||||||
PR = "r5"
|
PR = "r5"
|
||||||
@@ -31,10 +33,11 @@ inherit autotools gettext distro_features_check
|
|||||||
# depends on virtual/libx11
|
# depends on virtual/libx11
|
||||||
REQUIRED_DISTRO_FEATURES = "x11"
|
REQUIRED_DISTRO_FEATURES = "x11"
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_patch[postfuncs] += "update_copying_file"
|
||||||
# This package doesn't ship with its own COPYING file and
|
update_copying_file() {
|
||||||
# autotools will install a GPLv2 one instead of the actual MIT-style license here.
|
# This package ships with a GPLv2 COPYING file, but the author says
|
||||||
# Add the correct license here to avoid confusion.
|
# it is actual MIT-style license, add the correct license here to
|
||||||
|
# avoid confusion.
|
||||||
cp -f ${WORKDIR}/MIT-style-license ${S}/COPYING
|
cp -f ${WORKDIR}/MIT-style-license ${S}/COPYING
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user