Patchwork [V3,1/4] gawk: upgrade from 4.0.2 to 4.1.1

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date June 6, 2014, 2:28 a.m.
Message ID <6d4c4b72f95fa7b7a4bced0e7747ae341b9af71a.1402021350.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/73367/
State New
Headers show

Comments

Qi.Chen@windriver.com - June 6, 2014, 2:28 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}          |    9 +++++----
 2 files changed, 5 insertions(+), 4 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} (80%)
Ross Burton - June 6, 2014, 3:37 p.m.
On 6 June 2014 03:28, Chen Qi <Qi.Chen@windriver.com> wrote:
> -FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*"
> +FILES_gawk-common += "${datadir}/awk/* ${libdir}/gawk/awk/* ${libdir}/gawk/*.so"

grcat and pwcat are installed into $libexecdir, so this patch is wrong too.

Ross

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 80%
rename from meta/recipes-extended/gawk/gawk_4.0.2.bb
rename to meta/recipes-extended/gawk/gawk_4.1.1.bb
index cb2f9c0..474649e 100644
--- a/meta/recipes-extended/gawk/gawk_4.0.2.bb
+++ b/meta/recipes-extended/gawk/gawk_4.1.1.bb
@@ -20,17 +20,18 @@  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/* ${libdir}/gawk/awk/* ${libdir}/gawk/*.so"
 FILES_pgawk = "${bindir}/pgawk*"
-FILES_${PN}-dbg += "${libexecdir}/awk/.debug"
+FILES_${PN}-dev += "${libdir}/gawk/*.la"
+FILES_${PN}-dbg += "${libdir}/gawk/awk/.debug"
 FILES_dgawk = "${bindir}/dgawk*"
 
 ALTERNATIVE_${PN} = "awk"