usbutils: Fix typo in md5sum
PATCH 1/5 usbutils: Fix typo in md5sum
--- meta/recipes-bsp/usbutils/usbutils_008.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-bsp/usbutils/usbutils_008.bb +1 -1
@@ -14,7 +14,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \ file://iconv.patch \ " -RC_URI[md5sum] = "cb20148c2e784577e924a7b4c560c8fb" +SRC_URI[md5sum] = "cb20148c2e784577e924a7b4c560c8fb" SRC_URI[sha256sum] = "6d5f16c2961df37e22e492c736a3e162a8fde24480f23a40d85f79af80d3fe95" inherit autotools gettext pkgconfig distro_features_check
Signature · 1 line
2.1.1
PATCH 2/5 icu: Upgrade to v54
The license checksum changed because instead of having the license text in the local html file it is now referred to as a href to url
---
meta/recipes-support/icu/icu.inc | 2 +-
meta/recipes-support/icu/{icu_53.1.bb => icu_54.1.bb} | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-support/icu/{icu_53.1.bb => icu_54.1.bb} (67%)meta/recipes-support/icu/icu.inc +1 -1
@@ -25,7 +25,7 @@ EXTRA_OECONF_class-native = "" EXTRA_OECONF_class-nativesdk = "--with-cross-build=${STAGING_ICU_DIR_NATIVE}" # ICU puts custom m4 autoconf functions in aclocal.m4. -# However, this file is deleted in our build system. +# However, this file is deleted in our build system. # To make it work, we copy aclocal.m4 to acinclude.m4. # This is a bug of ICU. See bug reference: # http://bugs.icu-project.org/trac/ticket/9790
meta/recipes-support/icu/icu_54.1.bb renamed from meta/recipes-support/icu/icu_53.1.bb +3 -3
@@ -1,6 +1,6 @@ require icu.inc -LIC_FILES_CHKSUM = "file://../license.html;md5=8b139ac5b93769623bd343318048238c" +LIC_FILES_CHKSUM = "file://../license.html;md5=9890f5ff4ed056a0c2fa84848b9b6066" def icu_download_version(d): pvsplit = d.getVar('PV', True).split('.')
@@ -16,6 +16,6 @@ SRC_URI = "${BASE_SRC_URI} \ SRC_URI_append_class-target = "\ file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \ " +SRC_URI[md5sum] = "e844caed8f2ca24c088505b0d6271bc0" +SRC_URI[sha256sum] = "d42bc9a8ca6a91c55eb0925c279f49e5b508d51ef26ac9850d9be55de5bb8ab3" -SRC_URI[md5sum] = "b73baa6fbdfef197608d1f69300919b9" -SRC_URI[sha256sum] = "6fa74fb5aac070c23eaba1711a7178fe582c59867484c5ec07c49002787a9a28"
Signature · 1 line
2.1.1
PATCH 3/5 pigz: Upgrade to 2.3.3
In reply to Khem RajFix build issues due to libz being required but
is specified before use.
--- meta/recipes-extended/pigz/pigz.inc | 24 +++++++-------- meta/recipes-extended/pigz/pigz/link-order.patch | 38 ++++++++++++++++++++++++ meta/recipes-extended/pigz/pigz_2.3.1.bb | 10 ------- meta/recipes-extended/pigz/pigz_2.3.3.bb | 14 +++++++++ 4 files changed, 64 insertions(+), 22 deletions(-) create mode 100644 meta/recipes-extended/pigz/pigz/link-order.patch delete mode 100644 meta/recipes-extended/pigz/pigz_2.3.1.bb create mode 100644 meta/recipes-extended/pigz/pigz_2.3.3.bb
meta/recipes-extended/pigz/pigz.inc +12 -12
@@ -7,23 +7,23 @@ HOMEPAGE = "http://zlib.net/pigz/" SECTION = "console/utils" LICENSE = "Zlib & Apache-2.0" -SRC_URI = "http://zlib.net/pigz/pigz-${PV}.tar.gz" +SRC_URI = "http://zlib.net/${BPN}/${BP}.tar.gz" PROVIDES_class-native += "gzip-native" DEPENDS = "zlib" -do_install () { - if [ "${CLASSOVERRIDE}" = "class-target" ] ; then - # Install files into /bin (FHS), which is typical place for gzip - install -d ${D}${base_bindir} - install ${B}/pigz ${D}${base_bindir}/gzip - install ${B}/unpigz ${D}${base_bindir}/gunzip - else - install -d ${D}${bindir} - install ${B}/pigz ${D}${bindir}/gzip - install ${B}/unpigz ${D}${bindir}/gunzip - fi +do_install_class-target() { + # Install files into /bin (FHS), which is typical place for gzip + install -d ${D}${base_bindir} + install ${B}/pigz ${D}${base_bindir}/gzip + install ${B}/unpigz ${D}${base_bindir}/gunzip +} + +do_install() { + install -d ${D}${bindir} + install ${B}/pigz ${D}${bindir}/gzip + install ${B}/unpigz ${D}${bindir}/gunzip } ALTERNATIVE_${PN} = "gzip gunzip"
meta/recipes-extended/pigz/pigz/link-order.patch new file +38 -0
@@ -0,0 +1,38 @@ +This patch avoids underlinking issues since we pass -lz via LDFLAGS but it appears +before pigz.o which needs symbols from libz however due to order linker happily discards libz + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <[email protected]> + +Index: pigz-2.3.3/Makefile +=================================================================== +--- pigz-2.3.3.orig/Makefile 2015-01-19 20:12:31.000000000 -0800 ++++ pigz-2.3.3/Makefile 2015-01-25 12:21:38.762669184 -0800 +@@ -5,7 +5,7 @@ + # use gcc and gmake on Solaris + + pigz: pigz.o yarn.o try.o ${ZOPFLI}deflate.o ${ZOPFLI}blocksplitter.o ${ZOPFLI}tree.o ${ZOPFLI}lz77.o ${ZOPFLI}cache.o ${ZOPFLI}hash.o ${ZOPFLI}util.o ${ZOPFLI}squeeze.o ${ZOPFLI}katajainen.o +- $(CC) $(LDFLAGS) -o pigz $^ -lpthread -lm ++ $(CC) -o pigz $^ $(LDFLAGS) -lpthread -lm + ln -f pigz unpigz + + pigz.o: pigz.c yarn.h try.h ${ZOPFLI}deflate.h ${ZOPFLI}util.h +@@ -35,7 +35,7 @@ + dev: pigz pigzt pigzn + + pigzt: pigzt.o yarnt.o try.o ${ZOPFLI}deflate.o ${ZOPFLI}blocksplitter.o ${ZOPFLI}tree.o ${ZOPFLI}lz77.o ${ZOPFLI}cache.o ${ZOPFLI}hash.o ${ZOPFLI}util.o ${ZOPFLI}squeeze.o ${ZOPFLI}katajainen.o +- $(CC) $(LDFLAGS) -o pigzt $^ -lpthread -lm ++ $(CC) -o pigzt $^ $(LDFLAGS) -lpthread -lm + + pigzt.o: pigz.c yarn.h try.h + $(CC) $(CFLAGS) -DDEBUG -g -c -o pigzt.o pigz.c +@@ -44,7 +44,7 @@ + $(CC) $(CFLAGS) -DDEBUG -g -c -o yarnt.o yarn.c + + pigzn: pigzn.o tryn.o ${ZOPFLI}deflate.o ${ZOPFLI}blocksplitter.o ${ZOPFLI}tree.o ${ZOPFLI}lz77.o ${ZOPFLI}cache.o ${ZOPFLI}hash.o ${ZOPFLI}util.o ${ZOPFLI}squeeze.o ${ZOPFLI}katajainen.o +- $(CC) $(LDFLAGS) -o pigzn $^ -lm ++ $(CC) -o pigzn $^ $(LDFLAGS) -lm + + pigzn.o: pigz.c try.h + $(CC) $(CFLAGS) -DDEBUG -DNOTHREAD -g -c -o pigzn.o pigz.c
meta/recipes-extended/pigz/pigz_2.3.1.bb deleted +0 -10
@@ -1,10 +0,0 @@ -require pigz.inc -LIC_FILES_CHKSUM = "file://pigz.c;beginline=7;endline=21;md5=a21d4075cb00ab4ca17fce5e7534ca95" - -SRC_URI[md5sum] = "e803f8bc0770c7a5e96dccb1d2dd2aab" -SRC_URI[sha256sum] = "629b0ce5422a3978f31742bf8275d0be2f84987140d18f390f1e3b4e46e0af54" - -NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" - -BBCLASSEXTEND = "native nativesdk" -
meta/recipes-extended/pigz/pigz_2.3.3.bb new file +14 -0
@@ -0,0 +1,14 @@ +require pigz.inc +LIC_FILES_CHKSUM = "file://pigz.c;beginline=7;endline=21;md5=a21d4075cb00ab4ca17fce5e7534ca95" + +SRC_URI += "file://link-order.patch" + +SRC_URI[md5sum] = "01d7a16cce77929cc1a78aa1bdfb68cb" +SRC_URI[sha256sum] = "4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c" + +BUILD_LDFLAGS += "-lz" + +NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" + +BBCLASSEXTEND = "native nativesdk" +
Signature · 1 line
2.1.1
PATCH 4/5 gmp: Change the SRC_URI to reflect upstream changed location
In reply to Khem RajThis avoid warnings during parse though it gets it from yocto mirrors builds dont fail.
--- meta/recipes-support/gmp/gmp.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/gmp/gmp.inc +2 -2
@@ -4,9 +4,9 @@ DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operati HOMEPAGE = "http://gmplib.org/" LICENSE = "GPLv3 LGPLv3" -REVISION = "" +REVISION ?= "" -SRC_URI = "ftp://ftp.gmplib.org/pub/gmp-${PV}/gmp-${PV}${REVISION}.tar.bz2 \ +SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \ file://configure.patch \ file://amd64.patch "
Signature · 1 line
2.1.1
PATCH 5/5 libpng: Upgrade to 1.6.16
In reply to Khem RajLicense checksum changed because of date change like below
-libpng versions 1.2.6, August 15, 2004, through 1.6.13, August 21, 2014, are +libpng versions 1.2.6, August 15, 2004, through 1.6.16, December 22, 2014, are
---
.../libpng/{libpng_1.6.13.bb => libpng_1.6.16.bb} | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
rename meta/recipes-multimedia/libpng/{libpng_1.6.13.bb => libpng_1.6.16.bb} (62%)meta/recipes-multimedia/libpng/libpng_1.6.16.bb renamed from meta/recipes-multimedia/libpng/libpng_1.6.13.bb +5 -5
@@ -2,17 +2,17 @@ SUMMARY = "PNG image format decoding library" HOMEPAGE = "http://www.libpng.org/" SECTION = "libs" LICENSE = "Libpng" -LIC_FILES_CHKSUM = "file://LICENSE;md5=46401ee4b225b9ec066cb96cf1025c0f \ - file://png.h;endline=15;md5=8167a17735fc618d1df109f8b0f839a6 \ - file://png.h;beginline=229;endline=343;md5=5cdf8564a14e2f00339e4437a83b4913" +LIC_FILES_CHKSUM = "file://LICENSE;md5=76dbddb73e547d9b3fa16909a98049c0 \ + file://png.h;endline=15;md5=fd8f7ae7b090a168a9e023d0a5d68a3e \ + file://png.h;beginline=229;endline=343;md5=44075eedf4763ada355d8f60ac3296c9" DEPENDS = "zlib" LIBV = "16" SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz \ " -SRC_URI[md5sum] = "9822c25466f060142359f80ed142c9e5" -SRC_URI[sha256sum] = "d9c8ce54a5fc8052ed794ca65b553384a74c0608b09ae163cbbb07176018e625" +SRC_URI[md5sum] = "23b7286b5d4a86de950fd2ffc5cac742" +SRC_URI[sha256sum] = "42f754df633e4e700544e5913cbe2fd4928bbfccdc07708a5cf84e59827fbe60" BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
Signature · 1 line
2.1.1
Re: [PATCH 3/5] pigz: Upgrade to 2.3.3
In reply to Khem RajHi Khem,
Quoted 3 lines · Khem Raj
Fix build issues due to libz being required but
is specified before use.
Unusual build environments cause this to break:
http://errors.yoctoproject.org/Errors/Search/Details/7981/2/10/186f59834b147ba51c65da82138dcc26fd7b1e4a
http://errors.yoctoproject.org/Errors/Search/Details/7959/3/10/186f59834b147ba51c65da82138dcc26fd7b1e4a
Can you have a look at this please?
Cheers,
Ross