recipes: fix LICENSE fields
PATCH 1/2 recipes: fix LICENSE fields
* & in LICENSE breaks distribute_sources
ERROR: Function 'SRC_DISTRIBUTECOMMAND' failed (see /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/log.do_distribute_sources.17340 for further information)
ERROR: Logfile of failure stored in: /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/log.do_distribute_sources.17340
Log data follows:
| WARNING: LICENSE: 'PublicDomain & MIT & MIT-style' | WARNING: licenses: ['PublicDomain', '&', 'MIT', '&', 'MIT-style'] | WARNING: license: PublicDomain | WARNING: license: & | ERROR: Function 'SRC_DISTRIBUTECOMMAND' failed (see /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/log.do_distribute_sources.17340 for further information) | + cd /OE/tmpdir-shr/deploy/sources/PublicDomain/pixman | + SRC_DISTRIBUTECOMMAND | + test -e /OE/pixman-0.22.0.tar.gz.md5 | + ln -sf /OE/pixman-0.22.0.tar.gz . | + /pixman | + cd /OE/tmpdir-shr/deploy/sources/ | /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/run.SRC_DISTRIBUTECOMMAND.17340: line 95: /pixman: No such file or directory
NOTE: package pixman-0.22.0-r5.0: task do_distribute_sources: Failed
* "Public Domain" causes sources distributed from "Public" and "Domain" folders which is not expected, so use PD as in other recipes
* embryo and epdf had LICENSE defined before inherit efl which overwrites it (that's why distribute_sources wasn't failing on their &
--- recipes/antlr/antlr_2.7.7.bb | 4 +++- recipes/dt/dt.inc | 4 ++-- recipes/efl1/embryo.inc | 7 ++++--- recipes/efl1/epdf_svn.bb | 10 ++++++---- recipes/gtk+/composite-pixbuf_0.0.bb | 3 ++- recipes/mesa/mesa-demos_8.0.1.bb | 4 ++-- recipes/nrlolsr/nrlolsr_7.8.1.bb | 4 +++- recipes/xml-commons/jaxp1.3_1.3.04.bb | 4 +++- recipes/xorg-lib/pixman_0.22.0.bb | 4 ++-- 9 files changed, 27 insertions(+), 17 deletions(-)
recipes/antlr/antlr_2.7.7.bb +3 -1
@@ -1,8 +1,10 @@ DESCRIPTION = "Framework for constructing recognizers, interpreters, compilers, and translators" # see http://www.antlr2.org/license.html -LICENSE = "Public Domain" +LICENSE = "PD" HOMEPAGE = "http://www.antlr2.org" +PR = "r1" + SRC_URI = "http://www.antlr2.org/download/${BP}.tar.gz" inherit java-library
recipes/dt/dt.inc +2 -2
@@ -3,8 +3,8 @@ operation of peripherals, file systems, device drivers, or any data stream suppo operating system." SECTION = "console/tests" HOMEPAGE = "http://home.comcast.net/~SCSIguy/SCSI_FAQ/RMiller_Tools/dt.html" -LICENSE = "Public domain" -INC_PR = "r0" +LICENSE = "PD" +INC_PR = "r1" SRC_URI = "http://home.comcast.net/~SCSIguy/SCSI_FAQ/RMiller_Tools/ftp/dt/dt-source.tar.gz" S = "${WORKDIR}/dt.d"
recipes/efl1/embryo.inc +4 -3
@@ -1,11 +1,12 @@ DESCRIPTION = "The Enlightenment C-like scripting language for Edje" -LICENSE = "MIT BSD & CompuPhase" -LIC_FILES_CHKSUM = "file://COPYING;md5=6aa45e26c1ed178da910fd76b306a875" inherit efl +LICENSE = "MIT BSD CompuPhase" +LIC_FILES_CHKSUM = "file://COPYING;md5=6aa45e26c1ed178da910fd76b306a875" + BBCLASSEXTEND = "native" -INC_PR = "r0" +INC_PR = "r1" # Some upgrade path tweaking AUTO_LIBNAME_PKGS = ""
recipes/efl1/epdf_svn.bb +6 -4
@@ -1,8 +1,4 @@ DESCRIPTION = "Epdf is the glue between EFL and libpoppler" -LICENSE = "GPLv2 & LGPLv3" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ - file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ -" DEPENDS = "poppler evas ecore" PV = "0.1.0+svnr${SRCPV}"
@@ -10,6 +6,12 @@ PR = "r4" SRCREV = "${EFL_SRCREV}" inherit efl + +LICENSE = "GPLv2 LGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ + file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ +" + SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};proto=http;scmdata=keep" S = "${WORKDIR}/${SRCNAME}"
recipes/gtk+/composite-pixbuf_0.0.bb +2 -1
@@ -1,6 +1,7 @@ DESCRIPTION = "Pixbuf performance test" -LICENSE = "Public domain" +LICENSE = "PD" DEPENDS = "gtk+" +PR = "r1" SRC_URI = "http://amelang.net/composite_pixbuf.c"
recipes/mesa/mesa-demos_8.0.1.bb +2 -2
@@ -2,11 +2,11 @@ DESCRIPTION = "mesa demo applications" HOMEPAGE = "http://mesa3d.org" SECTION = "x11" -LICENSE = "MIT & PD" +LICENSE = "MIT PD" DEPENDS = "virtual/libx11 virtual/libgl libglew" -PR = "r0" +PR = "r1" SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${PN}-${PV}.tar.bz2"
recipes/nrlolsr/nrlolsr_7.8.1.bb +3 -1
@@ -1,6 +1,8 @@ DESCRIPTION = "NRL OLSR - added to OE to support the Maniac Challenge (http://www.maniacchallenge.org/)" SECTION = "applications" -LICENSE = "Public Domain" +LICENSE = "PD" + +PR = "r1" S="${WORKDIR}/nrlolsr/"
recipes/xml-commons/jaxp1.3_1.3.04.bb +3 -1
@@ -1,7 +1,9 @@ DESCRIPTION = "Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX)" -LICENSES = "AL2.0 W3C Public Domain" +LICENSES = "AL2.0 W3C PD" AUTHOR = "Apache Software Foundation" +PR = "r1" + SRC_URI = "http://archive.apache.org/dist/xml/commons/source/xml-commons-external-${PV}-src.tar.gz;subdir=${BPN}-${PV}" inherit java-library
recipes/xorg-lib/pixman_0.22.0.bb +2 -2
@@ -1,12 +1,12 @@ require pixman.inc -LICENSE = "MIT & MIT-style & Public Domain" +LICENSE = "MIT MIT-style PD" LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3\ file://pixman/pixman-matrix.c;endline=25;md5=ba6e8769bfaaee2c41698755af04c4be \ file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \ file://pixman/pixman-x64-mmx-emulation.h;beginline=4;endline=9;md5=4e32716f2efaa6c4659222667c339bb8" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" SRC_URI = "http://xorg.freedesktop.org/archive/individual/lib/${BPN}-${PV}.tar.gz \ file://0001-Generic-C-implementation-of-pixman_blt-with-overlapp.patch \
Signature · 1 line
1.7.5.rc3
PATCH 2/2 recipes: drop '+' from LICENSE fields
* '+' is valid folder name, so it does not break distribute_sources like & does, but still tmp/deploy/sources/+ folder doesn't make sense at all
* PR was bumped only when white-spaces were removed from LICENSE field causing sources to be stored in different folder (classpathx recipes)
--- recipes/classpathx/gnujaf_1.1.1.bb | 4 ++-- recipes/classpathx/gnumail_1.1.2.bb | 4 ++-- recipes/classpathx/inetlib_1.1.1.bb | 4 ++-- recipes/gpe-themes/gpe-theme-e17_0.1.bb | 2 +- recipes/hwdata/hwdata_0.191.bb | 2 +- recipes/sdr/soft66_git.bb | 2 +- recipes/tesseract/tesseract_1.0.bb | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-)
recipes/classpathx/gnujaf_1.1.1.bb +2 -2
@@ -1,5 +1,5 @@ DESCRIPTION = "Provides a mean to type data and locate components suitable for performing various kinds of action on it." -LICENSE = "GPL + library exception" +LICENSE = "GPL+libraryexception" AUTHOR = "GNU ClasspathX" SRC_URI = "\
@@ -12,7 +12,7 @@ inherit autotools java-library S = "${WORKDIR}/activation-${PV}" -PR = "r1" +PR = "r2" export JAVAC = "javac"
recipes/classpathx/gnumail_1.1.2.bb +2 -2
@@ -1,5 +1,5 @@ DESCRIPTION = "GNU's free implementation of the JavaMail API specification" -LICENSE = "GPL + library exception" +LICENSE = "GPL+libraryexception" AUTHOR = "GNU ClasspathX" SRC_URI = "\
@@ -14,7 +14,7 @@ S = "${WORKDIR}/mail-${PV}" DEPENDS = "fastjar-native gnujaf inetlib" DEPENDS_virtclass-native = "fastjar-native gnujaf-native inetlib-native" -PR = "r1" +PR = "r2" export JAVAC = "${STAGING_BINDIR_NATIVE}/javac" export JAVA = "${STAGING_BINDIR_NATIVE}/java"
recipes/classpathx/inetlib_1.1.1.bb +2 -2
@@ -1,5 +1,5 @@ DESCRIPTION = "A Java library of clients for common internet protocols" -LICENSE = "GPL + library exception" +LICENSE = "GPL+libraryexception" AUTHOR = "GNU Classpath" HOMEPAGE = "http://gnu.org/software/classpath/inetlib.html"
@@ -12,7 +12,7 @@ inherit java-library autotools DEPENDS = "fastjar-native" -PR = "r1" +PR = "r2" JPN = "libgnuinet-java"
recipes/gpe-themes/gpe-theme-e17_0.1.bb +1 -1
@@ -1,5 +1,5 @@ DESCRIPTION = "GTK+ enlightenment theme adjusted for GPE" -LICENSE = "MIT + GPL" +LICENSE = "MIT GPL" PR = "r1" #it doesn't really depends on it, but it's nice to make OE build it
recipes/hwdata/hwdata_0.191.bb +1 -1
@@ -1,5 +1,5 @@ DESCRIPTION = "This package contains various hardware identification and configuration data, such as the pci.ids database, or the XFree86/xorg Cards database. It's needed for the kudzu hardware detection." -LICENSE = "GPL + X11" +LICENSE = "GPL X11" PR = "r1"
recipes/sdr/soft66_git.bb +1 -1
@@ -1,5 +1,5 @@ DESCRIPTION = "Library and tools for Soft66ADD and related SDR radio receivers" -LICENSE = "GPLv3 + LGPLv3" +LICENSE = "GPLv3 LGPLv3" DEPENDS = "libftdi"
recipes/tesseract/tesseract_1.0.bb +1 -1
@@ -1,5 +1,5 @@ DESCRIPTION = "A commercial quality OCR engine " -LICENSE = "APL + others" +LICENSE = "APL others" DEPENDS = "tiff"
Signature · 1 line
1.7.5.rc3
Re: [PATCH 2/2] recipes: drop '+' from LICENSE fields
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 6 lines · Martin Jansa
* '+' is valid folder name, so it does not break
distribute_sourceslike & does, but still tmp/deploy/sources/+ folder doesn't make sense at all
* PR was bumped only when white-spaces were removed from LICENSE field causing sources to be stored in different folder (classpathx recipes)Signed-off-by Martin Jansa <[email protected]>
Quoted 108 lines
--- recipes/classpathx/gnujaf_1.1.1.bb | 4 ++-- recipes/classpathx/gnumail_1.1.2.bb | 4 ++-- recipes/classpathx/inetlib_1.1.1.bb | 4 ++-- recipes/gpe-themes/gpe-theme-e17_0.1.bb | 2 +- recipes/hwdata/hwdata_0.191.bb | 2 +- recipes/sdr/soft66_git.bb | 2 +- recipes/tesseract/tesseract_1.0.bb | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-)recipes/classpathx/gnujaf_1.1.1.bb +2
-2@@ -1,5 +1,5 @@ DESCRIPTION = "Provides a mean to type data and locate components suitable for performing various kinds of action on it." -LICENSE = "GPL + library exception" +LICENSE = "GPL+libraryexception" AUTHOR = "GNU ClasspathX" SRC_URI = "\@@ -12,7 +12,7 @@ inherit autotools java-library S = "${WORKDIR}/activation-${PV}" -PR = "r1" +PR = "r2" export JAVAC = "javac"recipes/classpathx/gnumail_1.1.2.bb +2
-2@@ -1,5 +1,5 @@ DESCRIPTION = "GNU's free implementation of the JavaMail API specification" -LICENSE = "GPL + library exception" +LICENSE = "GPL+libraryexception" AUTHOR = "GNU ClasspathX" SRC_URI = "\@@ -14,7 +14,7 @@ S = "${WORKDIR}/mail-${PV}" DEPENDS = "fastjar-native gnujaf inetlib" DEPENDS_virtclass-native = "fastjar-native gnujaf-native inetlib-native" -PR = "r1" +PR = "r2" export JAVAC = "${STAGING_BINDIR_NATIVE}/javac" export JAVA = "${STAGING_BINDIR_NATIVE}/java"recipes/classpathx/inetlib_1.1.1.bb +2
-2@@ -1,5 +1,5 @@ DESCRIPTION = "A Java library of clients for common internet protocols" -LICENSE = "GPL + library exception" +LICENSE = "GPL+libraryexception" AUTHOR = "GNU Classpath" HOMEPAGE = "http://gnu.org/software/classpath/inetlib.html"@@ -12,7 +12,7 @@ inherit java-library autotools DEPENDS = "fastjar-native" -PR = "r1" +PR = "r2" JPN = "libgnuinet-java"recipes/gpe-themes/gpe-theme-e17_0.1.bb +1
-1@@ -1,5 +1,5 @@ DESCRIPTION = "GTK+ enlightenment theme adjusted for GPE" -LICENSE = "MIT + GPL" +LICENSE = "MIT GPL" PR = "r1" #it doesn't really depends on it, but it's nice to make OE build itrecipes/hwdata/hwdata_0.191.bb +1
-1@@ -1,5 +1,5 @@ DESCRIPTION = "This package contains various hardware identification and configuration data, such as the pci.ids database, or the XFree86/xorg Cards database. It's needed for the kudzu hardware detection." -LICENSE = "GPL + X11" +LICENSE = "GPL X11" PR = "r1"recipes/sdr/soft66_git.bb +1
-1@@ -1,5 +1,5 @@ DESCRIPTION = "Library and tools for Soft66ADD and related SDR radio receivers" -LICENSE = "GPLv3 + LGPLv3" +LICENSE = "GPLv3 LGPLv3" DEPENDS = "libftdi"recipes/tesseract/tesseract_1.0.bb +0
-0
recipes/tesseract/tesseract_1.0.bb line 5
Quoted 6 lines
recipes/tesseract/tesseract_1.0.bb +1
-1@@ -1,5 +1,5 @@ DESCRIPTION = "A commercial quality OCR engine " -LICENSE = "APL + others" +LICENSE = "APL others" DEPENDS = "tiff"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNyPC9MkyGM64RGpERApcpAKCpHvFEqaG50Z9dIMxzHwm6ccY6GQCdEESy GHutDfOjxispdcit8ypbqDk=
=Uz9S
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 181 lines · Martin Jansa
* & in LICENSE breaks
distribute_sources
ERROR: Function 'SRC_DISTRIBUTECOMMAND' failed (see /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/log.do_distribute_sources.17340 for further information)
ERROR: Logfile of failure stored in: /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/log.do_distribute_sources.17340
Log data follows:| WARNING: LICENSE: 'PublicDomain & MIT & MIT-style' | WARNING: licenses: ['PublicDomain', '&', 'MIT', '&', 'MIT-style'] | WARNING: license: PublicDomain | WARNING: license: & | ERROR: Function 'SRC_DISTRIBUTECOMMAND' failed (see /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/log.do_distribute_sources.17340 for further information) | + cd /OE/tmpdir-shr/deploy/sources/PublicDomain/pixman | + SRC_DISTRIBUTECOMMAND | + test -e /OE/pixman-0.22.0.tar.gz.md5 | + ln -sf /OE/pixman-0.22.0.tar.gz . | + /pixman | + cd /OE/tmpdir-shr/deploy/sources/ | /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/run.SRC_DISTRIBUTECOMMAND.17340: line 95: /pixman: No such file or directoryNOTE: package pixman-0.22.0-r5.0: task
do_distribute_sources: Failed
* "Public Domain" causes sources distributed from "Public" and "Domain" folders which is not expected, so use PD as in other recipes
* embryo and epdf had LICENSE defined before inherit efl which overwrites it (that's whydistribute_sourceswasn't failing on their &Signed-off-by Martin Jansa <[email protected]>--- recipes/antlr/antlr_2.7.7.bb | 4 +++- recipes/dt/dt.inc | 4 ++-- recipes/efl1/embryo.inc | 7 ++++--- recipes/efl1/epdf_svn.bb | 10 ++++++---- recipes/gtk+/composite-pixbuf_0.0.bb | 3 ++- recipes/mesa/mesa-demos_8.0.1.bb | 4 ++-- recipes/nrlolsr/nrlolsr_7.8.1.bb | 4 +++- recipes/xml-commons/jaxp1.3_1.3.04.bb | 4 +++- recipes/xorg-lib/pixman_0.22.0.bb | 4 ++-- 9 files changed, 27 insertions(+), 17 deletions(-)recipes/antlr/antlr_2.7.7.bb +3
-1@@ -1,8 +1,10 @@ DESCRIPTION = "Framework for constructing recognizers, interpreters, compilers, and translators" # see http://www.antlr2.org/license.html -LICENSE = "Public Domain" +LICENSE = "PD" HOMEPAGE = "http://www.antlr2.org" +PR = "r1" + SRC_URI = "http://www.antlr2.org/download/${BP}.tar.gz" inherit java-libraryrecipes/dt/dt.inc +2
-2@@ -3,8 +3,8 @@ operation of peripherals, file systems, device drivers, or any data stream suppo operating system." SECTION = "console/tests" HOMEPAGE = "http://home.comcast.net/~SCSIguy/SCSI_FAQ/RMiller_Tools/dt.html" -LICENSE = "Public domain" -INC_PR = "r0" +LICENSE = "PD" +INC_PR = "r1" SRC_URI = "http://home.comcast.net/~SCSIguy/SCSI_FAQ/RMiller_Tools/ftp/dt/dt-source.tar.gz" S = "${WORKDIR}/dt.d"recipes/efl1/embryo.inc +4
-3@@ -1,11 +1,12 @@ DESCRIPTION = "The Enlightenment C-like scripting language for Edje" -LICENSE = "MIT BSD & CompuPhase" -LIC_FILES_CHKSUM = "file://COPYING;md5=6aa45e26c1ed178da910fd76b306a875" inherit efl +LICENSE = "MIT BSD CompuPhase" +LIC_FILES_CHKSUM = "file://COPYING;md5=6aa45e26c1ed178da910fd76b306a875" + BBCLASSEXTEND = "native" -INC_PR = "r0" +INC_PR = "r1" # Some upgrade path tweaking AUTO_LIBNAME_PKGS = ""recipes/efl1/epdf_svn.bb +6
-4@@ -1,8 +1,4 @@ DESCRIPTION = "Epdf is the glue between EFL and libpoppler" -LICENSE = "GPLv2 & LGPLv3" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ - file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ -" DEPENDS = "poppler evas ecore" PV = "0.1.0+svnr${SRCPV}"@@ -10,6 +6,12 @@ PR = "r4" SRCREV = "${EFL_SRCREV}" inherit efl + +LICENSE = "GPLv2 LGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ + file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ +" + SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};proto=http;scmdata=keep" S = "${WORKDIR}/${SRCNAME}"recipes/gtk+/composite-pixbuf_0.0.bb +2
-1@@ -1,6 +1,7 @@ DESCRIPTION = "Pixbuf performance test" -LICENSE = "Public domain" +LICENSE = "PD" DEPENDS = "gtk+" +PR = "r1" SRC_URI = "http://amelang.net/composite_pixbuf.c"recipes/mesa/mesa-demos_8.0.1.bb +2
-2@@ -2,11 +2,11 @@ DESCRIPTION = "mesa demo applications" HOMEPAGE = "http://mesa3d.org" SECTION = "x11" -LICENSE = "MIT & PD" +LICENSE = "MIT PD" DEPENDS = "virtual/libx11 virtual/libgl libglew" -PR = "r0" +PR = "r1" SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${PN}-${PV}.tar.bz2"recipes/nrlolsr/nrlolsr_7.8.1.bb +3
-1@@ -1,6 +1,8 @@ DESCRIPTION = "NRL OLSR - added to OE to support the Maniac Challenge (http://www.maniacchallenge.org/)" SECTION = "applications" -LICENSE = "Public Domain" +LICENSE = "PD" + +PR = "r1" S="${WORKDIR}/nrlolsr/"recipes/xml-commons/jaxp1.3_1.3.04.bb +3
-1@@ -1,7 +1,9 @@ DESCRIPTION = "Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX)" -LICENSES = "AL2.0 W3C Public Domain" +LICENSES = "AL2.0 W3C PD" AUTHOR = "Apache Software Foundation" +PR = "r1" + SRC_URI = "http://archive.apache.org/dist/xml/commons/source/xml-commons-external-${PV}-src.tar.gz;subdir=${BPN}-${PV}" inherit java-libraryrecipes/xorg-lib/pixman_0.22.0.bb +1
-1@@ -1,12 +1,12 @@ require pixman.inc -LICENSE = "MIT & MIT-style & Public Domain" +LICENSE = "MIT MIT-style PD"
recipes/xorg-lib/pixman_0.22.0.bb line 12
Quoted 10 lines
recipes/xorg-lib/pixman_0.22.0.bb +1
-1LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3\ file://pixman/pixman-matrix.c;endline=25;md5=ba6e8769bfaaee2c41698755af04c4be \ file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \ file://pixman/pixman-x64-mmx-emulation.h;beginline=4;endline=9;md5=4e32716f2efaa6c4659222667c339bb8" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" SRC_URI = "http://xorg.freedesktop.org/archive/individual/lib/${BPN}-${PV}.tar.gz \ file://0001-Generic-C-implementation-of-pixman_blt-with-overlapp.patch \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNyPCxMkyGM64RGpERAt9eAJ4z9eLM+NkO3TV9fpy7EeSW3Pd9SgCgsy1k c9pg4QSATzX78taQD4K7nWs=
=oxrv
-----END PGP SIGNATURE-----
Quoted 1 line · Martin Jansa
| /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/run.SRC_DISTRIBUTECOMMAND.17340: line 95: /pixman: No such file or directory
If '&' in ${LICENSE} is breaking SRC_DISTRIBUTECOMMAND then that suggests there is a bug in that code (probably some sort of missing quotes). Removing the &s might be a fine thing to do anyway, but it would also be a good idea to track down and fix the underlying bug.
p.
Quoted 7 lines · Phil Blundell
Quoted 1 line · Martin Jansa
| /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/run.SRC_DISTRIBUTECOMMAND.17340: line 95: /pixman: No such file or directory
If '&' in ${LICENSE} is breaking
SRC_DISTRIBUTECOMMANDthen that suggests there is a bug in that code (probably some sort of missing quotes). Removing the &s might be a fine thing to do anyway, but it would also be a good idea to track down and fix the underlying bug.
it calls cd tmp/deploy/sources/$license/pixman
where with $license == '&' (because LICENSE field is splitted by ' ' and then '|'), it ends doing cd on background and then complaing about /pixman
Directory named & even when created with right backslash is still hard to use, so I think it would be better to have QA check that LICENSE field has sane value, even better when we have list of possible values etc.
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 3 lines · Martin Jansa
it calls cd tmp/deploy/sources/$license/pixman
where with $license == '&' (because LICENSE field is splitted by ' ' and then '|'), it ends doing cd on background and then complaing about /pixman
Right, so that is a bug. The argument to cd should be quoted. (There is no need for backslashes as your mail implied.)
Quoted 4 lines
Directory named & even when created with right backslash is still hard to use, so I think it would be better to have QA check that LICENSE field has sane value, even better when we have list of possible values etc.
Yes, agreed, but I think the quoting bug should also be fixed.
p.
Quoted 9 lines · Martin Jansa
Quoted 7 lines · Phil Blundell
Quoted 1 line · Martin Jansa
| /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/run.SRC_DISTRIBUTECOMMAND.17340: line 95: /pixman: No such file or directory
If '&' in ${LICENSE} is breaking
SRC_DISTRIBUTECOMMANDthen that suggests there is a bug in that code (probably some sort of missing quotes). Removing the &s might be a fine thing to do anyway, but it would also be a good idea to track down and fix the underlying bug.
Quoted 8 lines
it calls cd tmp/deploy/sources/$license/pixman
where with $license == '&' (because LICENSE field is splitted by ' ' and then '|'), it ends doing cd on background and then complaing about /pixmanDirectory named & even when created with right backslash is still hard to use, so I think it would be better to have QA check that LICENSE field has sane value, even better when we have list of possible values etc.
I would agree with Phil that fixing distribute_sources is required, but I'd go even further as to say that the current implementation of distribute_sources is quite bad. It splits the LICENSE field into tokens based on the wrong assumptions that all the whitespaces are used to separate multiple licenses. In other words, "Public Domain" is a valid license and shouldn't be replaced with "PD". What are you going to do with "GPLv2+ w/ GCC RLE"? Which stands for "GPL version 2 (or later) with GCC Runtime Library Exception" and is a valid license with an exception... Sorry, but "GPL+libraryexception" is just bogus (and it's not a personal remark - I do understand your constrains, see below).
I understand that distribute_sources is quite important and useful. So, maybe the correct way is to adopt a proper and stricter syntax for the LICENSE field, which uses some other characters to separate multiple licenses. Say, something like ":" or "|" should work. Using "," would be even better, but I'm afraid it can easily be used inside the license name on its own... Basically, something along the lines of "GPL:MIT:Public Domain:Texas A&M Proprietary" etc.
Any comments or objections?
Signature · 1 line
Denys
Quoted 27 lines · Denys Dmytriyenko
Quoted 9 lines · Martin Jansa
Quoted 7 lines · Phil Blundell
Quoted 1 line · Martin Jansa
| /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/run.SRC_DISTRIBUTECOMMAND.17340: line 95: /pixman: No such file or directory
If '&' in ${LICENSE} is breaking
SRC_DISTRIBUTECOMMANDthen that suggests there is a bug in that code (probably some sort of missing quotes). Removing the &s might be a fine thing to do anyway, but it would also be a good idea to track down and fix the underlying bug.Quoted 8 lines
it calls cd tmp/deploy/sources/$license/pixman
where with $license == '&' (because LICENSE field is splitted by ' ' and then '|'), it ends doing cd on background and then complaing about /pixmanDirectory named & even when created with right backslash is still hard to use, so I think it would be better to have QA check that LICENSE field has sane value, even better when we have list of possible values etc.
I would agree with Phil that fixing
distribute_sourcesis required, but I'd go even further as to say that the current implementation ofdistribute_sourcesis quite bad. It splits the LICENSE field into tokens based on the wrong assumptions that all the whitespaces are used to separate multiple licenses. In other words, "Public Domain" is a valid license and shouldn't be replaced with "PD". What are you going to do with "GPLv2+ w/ GCC RLE"? Which stands for "GPL version 2 (or later) with GCC Runtime Library Exception" and is a valid
Quoted 2 lines
license with an exception... Sorry, but "GPL+libraryexception" is just bogus (and it's not a personal remark - I do understand your constrains, see below).
Agreed, but do you find
LICENSE = "GPL + library exception"
better?
Quoted 4 lines
I understand that
distribute_sourcesis quite important and useful. So, maybe the correct way is to adopt a proper and stricter syntax for the LICENSE field, which uses some other characters to separate multiple licenses. Say, something like ":" or "|" should work. Using "," would be even better, but I'm
'|' is alredy used for split in distribute_sources, but I'm not sure if my interpretation that it means logical OR in LICENSE context is right (and space as logical AND).
Quoted 4 lines
afraid it can easily be used inside the license name on its own... Basically, something along the lines of "GPL:MIT:Public Domain:Texas A&M Proprietary" etc.
Any comments or objections?
oe-core does more with LICENSEs (like LIC_FILES_CHKSUMs and keeping common licenses in /OE/shr-core/openembedded-core/meta/files/common-licenses which could be used for QA check on LICENSE field) so I think it should be discussed on oe-core ML first and then use the same syntax in oe.dev or just switch to oe-core..
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 28 lines · Martin Jansa
Quoted 26 lines · Denys Dmytriyenko
Quoted 9 lines · Martin Jansa
Quoted 7 lines · Phil Blundell
Quoted 1 line · Martin Jansa
| /OE/tmpdir-shr/work/armv4t-oe-linux-gnueabi/pixman-0.22.0-r5.0/temp/run.SRC_DISTRIBUTECOMMAND.17340: line 95: /pixman: No such file or directory
If '&' in ${LICENSE} is breaking
SRC_DISTRIBUTECOMMANDthen that suggests there is a bug in that code (probably some sort of missing quotes). Removing the &s might be a fine thing to do anyway, but it would also be a good idea to track down and fix the underlying bug.Quoted 8 lines
it calls cd tmp/deploy/sources/$license/pixman
where with $license == '&' (because LICENSE field is splitted by ' ' and then '|'), it ends doing cd on background and then complaing about /pixmanDirectory named & even when created with right backslash is still hard to use, so I think it would be better to have QA check that LICENSE field has sane value, even better when we have list of possible values etc.
I would agree with Phil that fixing
distribute_sourcesis required, but I'd go even further as to say that the current implementation ofdistribute_sourcesis quite bad. It splits the LICENSE field into tokens based on the wrong assumptions that all the whitespaces are used to separate multiple licenses. In other words, "Public Domain" is a valid license and shouldn't be replaced with "PD". What are you going to do with "GPLv2+ w/ GCC RLE"? Which stands for "GPL version 2 (or later) with GCC Runtime Library Exception" and is a valid
Quoted 5 lines
Quoted 2 lines
license with an exception... Sorry, but "GPL+libraryexception" is just bogus (and it's not a personal remark - I do understand your constrains, see below).
Agreed, but do you find
LICENSE = "GPL + library exception"
LICENSE = "GPL w/ library exception"
Quoted 10 lines
better?
Quoted 4 lines
I understand that
distribute_sourcesis quite important and useful. So, maybe the correct way is to adopt a proper and stricter syntax for the LICENSE field, which uses some other characters to separate multiple licenses. Say, something like ":" or "|" should work. Using "," would be even better, but I'm'|' is alredy used for split in
distribute_sources, but I'm not sure if my interpretation that it means logical OR in LICENSE context is right (and space as logical AND).
Yes, I had already previously suggested using Debian's syntax for the license field, which allows complex combinations, such as OR/AND:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/38585/focus=38590
Quoted 11 lines
Quoted 4 lines
afraid it can easily be used inside the license name on its own... Basically, something along the lines of "GPL:MIT:Public Domain:Texas A&M Proprietary" etc.
Any comments or objections?
oe-core does more with LICENSEs (like
LIC_FILES_CHKSUMsand keeping common licenses in /OE/shr-core/openembedded-core/meta/files/common-licenses which could be used for QA check on LICENSE field) so I think it should be discussed on oe-core ML first and then use the same syntax in oe.dev or just switch to oe-core..
Yes, I'm quite aware of Yocto/oe-core handling of licenses and checksum verification mechanism for them, but unfortunately we don't have that in mainline classic OE... We could try backporting it from oe-core to classic OE or just wait until with switch to oe-core completely. In that case I'd suggest avoid mangling license fields just to satisfy broken distribute_sources...
Signature · 1 line
Denys
Quoted 5 lines · Denys Dmytriyenko
Yes, I'm quite aware of Yocto/oe-core handling of licenses and checksum verification mechanism for them, but unfortunately we don't have that in mainline classic OE... We could try backporting it from oe-core to classic OE or just wait until with switch to oe-core completely. In that case I'd suggest avoid mangling license fields just to satisfy broken
distribute_sources...
OK, those & were breaking my image build because I have distribute_sources enabled.. but next time I won't push anything changing LICENSE fields to oe.dev..
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]