diff options
-rw-r--r-- | meta-oe/recipes-support/vim/vim_8.1.0347.bb | 7 | ||||
-rw-r--r-- | meta-xfce/recipes-support/vim/vim_%.bbappend | 1 | ||||
-rw-r--r-- | meta-xfce/recipes-support/vim/vim_xfce.inc | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/meta-oe/recipes-support/vim/vim_8.1.0347.bb b/meta-oe/recipes-support/vim/vim_8.1.0347.bb index 2a3d14a2c..1c41caaf1 100644 --- a/meta-oe/recipes-support/vim/vim_8.1.0347.bb +++ b/meta-oe/recipes-support/vim/vim_8.1.0347.bb | |||
@@ -80,6 +80,13 @@ do_install() { | |||
80 | 80 | ||
81 | # we use --with-features=big as default | 81 | # we use --with-features=big as default |
82 | mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN} | 82 | mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN} |
83 | |||
84 | if ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'true', 'false', d)}; then | ||
85 | # The mouse being autoenabled is just annoying in xfce4-terminal (mouse | ||
86 | # drag make vim go into visual mode and there is no right click menu), | ||
87 | # delete the block. | ||
88 | sed -i '/the mouse works just fine/,+4d' ${D}/${datadir}/${BPN}/vimrc | ||
89 | fi | ||
83 | } | 90 | } |
84 | 91 | ||
85 | PARALLEL_MAKEINST = "" | 92 | PARALLEL_MAKEINST = "" |
diff --git a/meta-xfce/recipes-support/vim/vim_%.bbappend b/meta-xfce/recipes-support/vim/vim_%.bbappend deleted file mode 100644 index 7b449630e..000000000 --- a/meta-xfce/recipes-support/vim/vim_%.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | require ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${BPN}_xfce.inc', '', d)} | ||
diff --git a/meta-xfce/recipes-support/vim/vim_xfce.inc b/meta-xfce/recipes-support/vim/vim_xfce.inc deleted file mode 100644 index 25403e6cb..000000000 --- a/meta-xfce/recipes-support/vim/vim_xfce.inc +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | do_install_append() { | ||
2 | # The mouse being autoenabled is just annoying in xfce4-terminal (mouse | ||
3 | # drag make vim go into visual mode and there is no right click menu), | ||
4 | # delete the block. | ||
5 | sed -i '/the mouse works just fine/,+4d' ${D}/${datadir}/${BPN}/vimrc | ||
6 | } | ||