Patchwork [1/3] gawk: upgrade from 4.0.2 to 4.1.1

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date June 3, 2014, 1:41 a.m.
Message ID <324a9842b540fda121d095b0e2f899969cd8fdb5.1401419076.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/73091/
State New
Headers show

Comments

Qi.Chen@windriver.com - June 3, 2014, 1:41 a.m.
Upgrade gawk from 4.0.2 to 4.1.1.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../gawk/{gawk-4.0.2 => gawk-4.1.1}/run-ptest      |    0
 .../gawk/{gawk_4.0.2.bb => gawk_4.1.1.bb}          |    6 +++---
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-extended/gawk/{gawk-4.0.2 => gawk-4.1.1}/run-ptest (100%)
 rename meta/recipes-extended/gawk/{gawk_4.0.2.bb => gawk_4.1.1.bb} (84%)
Ross Burton - June 3, 2014, 9:52 a.m.
On 3 June 2014 02:41, Chen Qi <Qi.Chen@windriver.com> wrote:
> +FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/* ${libexecdir}/*.so ${libexecdir}/*.la"

.la files should *never* be installed in a non-dev package (and in
general they can be ignored anyway).  Are the .so files symlinks, or
runtime loadable modules?  I'm currently working on a patch to move
libexecdir so can you check with the makefile to see if they're being
installed into libexecdir, or libdir/gawk/

Ross
Qi.Chen@windriver.com - June 5, 2014, 5:28 a.m.
On 06/03/2014 05:52 PM, Burton, Ross wrote:
> On 3 June 2014 02:41, Chen Qi <Qi.Chen@windriver.com> wrote:
>> +FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/* ${libexecdir}/*.so ${libexecdir}/*.la"
> .la files should *never* be installed in a non-dev package (and in
> general they can be ignored anyway).  Are the .so files symlinks, or
> runtime loadable modules?  I'm currently working on a patch to move
> libexecdir so can you check with the makefile to see if they're being
> installed into libexecdir, or libdir/gawk/
>
> Ross
>
>

Thanks for pointing this out.
I've updated my patch and sent out a V2.

Best Regards,
Chen Qi

Patch

diff --git a/meta/recipes-extended/gawk/gawk-4.0.2/run-ptest b/meta/recipes-extended/gawk/gawk-4.1.1/run-ptest
similarity index 100%
rename from meta/recipes-extended/gawk/gawk-4.0.2/run-ptest
rename to meta/recipes-extended/gawk/gawk-4.1.1/run-ptest
diff --git a/meta/recipes-extended/gawk/gawk_4.0.2.bb b/meta/recipes-extended/gawk/gawk_4.1.1.bb
similarity index 84%
rename from meta/recipes-extended/gawk/gawk_4.0.2.bb
rename to meta/recipes-extended/gawk/gawk_4.1.1.bb
index cb2f9c0..a6872d8 100644
--- a/meta/recipes-extended/gawk/gawk_4.0.2.bb
+++ b/meta/recipes-extended/gawk/gawk_4.1.1.bb
@@ -20,15 +20,15 @@  SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \
            file://run-ptest \
 "
 
-SRC_URI[md5sum] = "4d505dc2c9f1eb3e9f8d6cac87d4bd1a"
-SRC_URI[sha256sum] = "6e0de117c3713aa8d7fa347fc9fd645b10038ae49d8cf947d8c1d51cbb76141a"
+SRC_URI[md5sum] = "45f5b09aa87b4744c4c53bf274e96ed0"
+SRC_URI[sha256sum] = "556464bd2e4bc5a0fad4526b59623e4be40b4c2f4c663dfaaf246af6e2ec1d62"
 
 inherit autotools gettext texinfo update-alternatives
 
 PACKAGES += "gawk-common pgawk dgawk"
 
 FILES_${PN} = "${bindir}/gawk* ${bindir}/igawk"
-FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*"
+FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/* ${libexecdir}/*.so ${libexecdir}/*.la"
 FILES_pgawk = "${bindir}/pgawk*"
 FILES_${PN}-dbg += "${libexecdir}/awk/.debug"
 FILES_dgawk = "${bindir}/dgawk*"