Skip to content

Commit

Permalink
app-editors/vim-core: avoid icon file collision with gvim
Browse files Browse the repository at this point in the history
And update icon cache.

Closes: https://bugs.gentoo.org/673926

Signed-off-by: Tim Harder <[email protected]>
  • Loading branch information
radhermit committed Dec 28, 2018
1 parent 0cdab62 commit e248f9b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
12 changes: 10 additions & 2 deletions app-editors/vim-core/vim-core-8.1.0648.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=6
VIM_VERSION="8.1"
inherit estack vim-doc flag-o-matic bash-completion-r1 prefix desktop
inherit estack vim-doc flag-o-matic bash-completion-r1 prefix desktop gnome2-utils

if [[ ${PV} == 9999* ]] ; then
inherit git-r3
Expand All @@ -23,6 +23,8 @@ LICENSE="vim"
IUSE="nls acl minimal"

DEPEND="sys-devel/autoconf"
# avoid icon file collision bug #673880
RDEPEND="!!<app-editors/gvim-8.1.0648"
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"

S=${WORKDIR}/vim-${PV}
Expand Down Expand Up @@ -207,11 +209,17 @@ src_install() {
}

pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
# update documentation tags (from vim-doc.eclass)
update_vim_helptags

# update icon cache
gnome2_icon_cache_update
}

pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags

# update icon cache
gnome2_icon_cache_update
}
12 changes: 10 additions & 2 deletions app-editors/vim-core/vim-core-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=6
VIM_VERSION="8.1"
inherit estack vim-doc flag-o-matic bash-completion-r1 prefix desktop
inherit estack vim-doc flag-o-matic bash-completion-r1 prefix desktop gnome2-utils

if [[ ${PV} == 9999* ]] ; then
inherit git-r3
Expand All @@ -23,6 +23,8 @@ LICENSE="vim"
IUSE="nls acl minimal"

DEPEND="sys-devel/autoconf"
# avoid icon file collision bug #673880
RDEPEND="!!<app-editors/gvim-8.1.0648"
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"

S=${WORKDIR}/vim-${PV}
Expand Down Expand Up @@ -207,11 +209,17 @@ src_install() {
}

pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
# update documentation tags (from vim-doc.eclass)
update_vim_helptags

# update icon cache
gnome2_icon_cache_update
}

pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags

# update icon cache
gnome2_icon_cache_update
}

0 comments on commit e248f9b

Please sign in to comment.