Skip to contentSkip to conversation

vim: workaround nawk dependency problem with RPM

PATCH In review Peter A. Bigot 2 participants 3 messages Sep 3, 2013 – Sep 8, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vim: workaround nawk dependency problem with RPM

One of the examples has a #!/usr/bin/nawk which tells RPM to add that as a dep, which we don't want.

---
 meta-oe/recipes-support/vim/vim.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/vim/vim.inc +2 -1
index d7336c2..991ba74 100644
@@ -54,8 +54,9 @@ EXTRA_OECONF = " \
 "
 
 do_install_append() {
-    # Work around rpm picking up csh as a dep
+    # Work around rpm picking up csh or awk as a dep
     chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/vim132
+    chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/mve.awk
 
     # Install example vimrc from runtime files
     install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${PN}/vimrc
Signature · 1 line
1.8.4
#1 lore raw

Ping? I see this is marked as New, Archived in patchwork so it doesn't show up for merge, but can't tell how it got archived. Is there something wrong with it?

Quoted 23 lines · Peter A. Bigot

One of the examples has a #!/usr/bin/nawk which tells RPM to add that as a dep, which we don't want.

---
  meta-oe/recipes-support/vim/vim.inc | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/vim/vim.inc +2 -1
index d7336c2..991ba74 100644
@@ -54,8 +54,9 @@ EXTRA_OECONF = " \
  "
 
  do_install_append() {
-    # Work around rpm picking up csh as a dep
+    # Work around rpm picking up csh or awk as a dep
      chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/vim132
+    chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/mve.awk
 
      # Install example vimrc from runtime files
      install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${PN}/vimrc
#2 lore raw
Quoted 3 lines · Peter A. Bigot

Ping? I see this is marked as New, Archived in patchwork so it doesn't show up for merge, but can't tell how it got archived. Is there something wrong with it?

It's in jansa/in-test bundle, see
http://www.openembedded.org/wiki/Patchwork#Multiple_layers_sharing_the_same_oe_project_on_patchwork

Quoted 30 lines · Peter A. Bigot
Quoted 13 lines

One of the examples has a #!/usr/bin/nawk which tells RPM to add that as a dep, which we don't want.

---
  meta-oe/recipes-support/vim/vim.inc | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/vim/vim.inc +0 -0
index d7336c2..991ba74 100644

meta-oe/recipes-support/vim/vim.inc EXTRA_OECONF = " \ · line 62

Quoted 10 lines
meta-oe/recipes-support/vim/vim.inc +2 -1
@@ -54,8 +54,9 @@ EXTRA_OECONF = " \
  "
 
  do_install_append() {
-    # Work around rpm picking up csh as a dep
+    # Work around rpm picking up csh or awk as a dep
      chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/vim132
+    chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/mve.awk
 
      # Install example vimrc from runtime files
      install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${PN}/vimrc

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]