* [PATCH 1/3] xz: make the LICENSE info more accurate
2013-12-13 14:50 [PATCH 0/3] A few random improvements from the Mentor patch queue Christopher Larson
@ 2013-12-13 14:50 ` Christopher Larson
2013-12-13 14:50 ` [PATCH 2/3] libdrm: use RRECOMMENDS for libdrm-drivers Christopher Larson
2013-12-13 14:50 ` [PATCH 3/3] git: leverage upstream relocation support Christopher Larson
2 siblings, 0 replies; 4+ messages in thread
From: Christopher Larson @ 2013-12-13 14:50 UTC (permalink / raw)
To: openembedded-core; +Cc: Christopher Larson
From: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
meta/recipes-extended/xz/xz_5.1.3alpha.bb | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-extended/xz/xz_5.1.3alpha.bb b/meta/recipes-extended/xz/xz_5.1.3alpha.bb
index b49fbf7..9e2c933 100644
--- a/meta/recipes-extended/xz/xz_5.1.3alpha.bb
+++ b/meta/recipes-extended/xz/xz_5.1.3alpha.bb
@@ -2,7 +2,22 @@ DESCRIPTION = "utils for managing LZMA compressed files"
HOMEPAGE = "http://tukaani.org/xz/"
SECTION = "base"
-LICENSE = "GPLv2+ & LGPLv2.1+"
+# The source includes bits of PD, GPLv2, GPLv3, LGPLv2.1+, but the only file
+# which is GPLv3 is an m4 macro which isn't shipped in any of our packages,
+# and the LGPL bits are under lib/, which appears to be used for libgnu, which
+# appears to be used for DOS builds. So we're left with GPLv2+ and PD.
+LICENSE = "GPLv2+ & GPLv3+ & LGPLv2.1+ & PD"
+LICENSE_${PN} = "GPLv2+"
+LICENSE_${PN}-dev = "GPLv2+"
+LICENSE_${PN}-staticdev = "GPLv2+"
+LICENSE_${PN}-doc = "GPLv2+"
+LICENSE_${PN}-dbg = "GPLv2+"
+LICENSE_${PN}-locale = "GPLv2+"
+LICENSE_liblzma = "PD"
+LICENSE_liblzma-dev = "PD"
+LICENSE_liblzma-staticdev = "PD"
+LICENSE_liblzma-dbg = "PD"
+
LIC_FILES_CHKSUM = "file://COPYING;md5=c475b6c7dca236740ace4bba553e8e1c \
file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
--
1.8.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/3] libdrm: use RRECOMMENDS for libdrm-drivers
2013-12-13 14:50 [PATCH 0/3] A few random improvements from the Mentor patch queue Christopher Larson
2013-12-13 14:50 ` [PATCH 1/3] xz: make the LICENSE info more accurate Christopher Larson
@ 2013-12-13 14:50 ` Christopher Larson
2013-12-13 14:50 ` [PATCH 3/3] git: leverage upstream relocation support Christopher Larson
2 siblings, 0 replies; 4+ messages in thread
From: Christopher Larson @ 2013-12-13 14:50 UTC (permalink / raw)
To: openembedded-core; +Cc: Christopher Larson
From: Christopher Larson <chris_larson@mentor.com>
As libdrm enables modules automatically, based on what it needs / can build,
it's unlikely we'll *ever* get a situation where all the modules are emitted,
so libdrm-drivers, which depends on all of them, ends up being useless and
non-installable. Make it use rrecommends, so it only pulls in what we have.
Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
meta/recipes-graphics/drm/libdrm.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc
index 497220f..1b2ffeb 100644
--- a/meta/recipes-graphics/drm/libdrm.inc
+++ b/meta/recipes-graphics/drm/libdrm.inc
@@ -27,8 +27,8 @@ ALLOW_EMPTY_${PN}-drivers = "1"
PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
${PN}-intel ${PN}-exynos ${PN}-kms"
-RDEPENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
- ${PN}-exynos"
+RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
+ ${PN}-exynos"
FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode* ${bindir}/*test"
FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*"
--
1.8.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 3/3] git: leverage upstream relocation support
2013-12-13 14:50 [PATCH 0/3] A few random improvements from the Mentor patch queue Christopher Larson
2013-12-13 14:50 ` [PATCH 1/3] xz: make the LICENSE info more accurate Christopher Larson
2013-12-13 14:50 ` [PATCH 2/3] libdrm: use RRECOMMENDS for libdrm-drivers Christopher Larson
@ 2013-12-13 14:50 ` Christopher Larson
2 siblings, 0 replies; 4+ messages in thread
From: Christopher Larson @ 2013-12-13 14:50 UTC (permalink / raw)
To: openembedded-core; +Cc: Christopher Larson
From: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
meta/recipes-devtools/git/git.inc | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 183a93c..f33069c 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -16,7 +16,7 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
inherit autotools perlnative
-EXTRA_OEMAKE = "NO_PYTHON=1"
+EXTRA_OEMAKE = "NO_PYTHON=1 RUNTIME_PREFIX=1"
do_compile_prepend () {
# Remove perl/perl.mak to fix the out-of-date perl.mak error
@@ -35,18 +35,6 @@ do_install () {
rmdir ${D}${exec_prefix}/lib || true
}
-do_install_append_class-native() {
- create_wrapper ${D}/${bindir}/git \
- GIT_EXEC_PATH=${libexecdir}/git-core \
- GIT_TEMPLATE_DIR=${STAGING_DATADIR_NATIVE}/git-core/templates
-}
-
-do_install_append_class-nativesdk() {
- create_wrapper ${D}/${bindir}/git \
- GIT_EXEC_PATH=${libexecdir}/git-core \
- GIT_TEMPLATE_DIR=${STAGING_DATADIR_NATIVE}/git-core/templates
-}
-
FILES_${PN} += "${datadir}/git-core ${libxecdir}/git-core/"
FILES_${PN}-dbg += "${libexecdir}/git-core/.debug"
--
1.8.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread