Skip to contentSkip to conversation

vim, vim-tiny: Make vim provide xxd without vim-tiny doing it too

PATCH New Peter Kjellerstedt 1 participant 1 message Jul 31, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vim, vim-tiny: Make vim provide xxd without vim-tiny doing it too

There is no xxd in vim-tiny, so there is no reason to provide vim-tiny-xxd. Besides, it is typically "xxd-native" that one wants to be able to depend on, not "vim-native-xxd" (then the old dependency on vim-native already did the trick).

---
 meta-oe/recipes-support/vim/vim-tiny_8.1.0172.bb | 2 ++
 meta-oe/recipes-support/vim/vim_8.1.0172.bb      | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-support/vim/vim-tiny_8.1.0172.bb +2 -0
index 84ad659e0..23f6aec49 100644
@@ -2,6 +2,8 @@ require vim_${PV}.bb
 
 SUMMARY += " (with tiny features)"
 
+PROVIDES_remove = "xxd"
+
 PACKAGECONFIG += "tiny"
 
 do_install() {
meta-oe/recipes-support/vim/vim_8.1.0172.bb +2 -2
index fd2afbc5a..371fe35ee 100644
@@ -1,5 +1,7 @@
 SUMMARY = "Vi IMproved - enhanced vi editor"
 SECTION = "console/utils"
+
+PROVIDES = "xxd"
 DEPENDS = "ncurses gettext-native"
 # vimdiff doesn't like busybox diff
 RSUGGESTS_${PN} = "diffutils"
@@ -111,5 +113,3 @@ ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim"
 ALTERNATIVE_PRIORITY = "100"
 
 BBCLASSEXTEND = "native"
-
-PROVIDES += "${PN}-xxd"
Signature · 1 line
2.12.0