Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xdvik/
Date: Thu, 28 Sep 2017 17:18:55
Message-Id: 1506618660.729f17f718d0d3abb9eb2b702215d6b44ccc74b2.floppym@gentoo
1 commit: 729f17f718d0d3abb9eb2b702215d6b44ccc74b2
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Thu Sep 28 16:37:52 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 28 17:11:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=729f17f7
7
8 app-text/xdvik: Call xdg_desktop_database_update() (bug #628826).
9
10 app-text/xdvik/xdvik-22.87.03.ebuild | 8 +++++++-
11 1 file changed, 7 insertions(+), 1 deletion(-)
12
13 diff --git a/app-text/xdvik/xdvik-22.87.03.ebuild b/app-text/xdvik/xdvik-22.87.03.ebuild
14 index 534a820e633..76037612857 100644
15 --- a/app-text/xdvik/xdvik-22.87.03.ebuild
16 +++ b/app-text/xdvik/xdvik-22.87.03.ebuild
17 @@ -2,7 +2,7 @@
18 # Distributed under the terms of the GNU General Public License v2
19
20 EAPI=5
21 -inherit eutils flag-o-matic elisp-common toolchain-funcs multilib
22 +inherit elisp-common eutils flag-o-matic multilib toolchain-funcs xdg-utils
23
24 DESCRIPTION="DVI previewer for X Window System"
25 HOMEPAGE="http://xdvi.sourceforge.net/"
26 @@ -92,6 +92,8 @@ src_install() {
27 }
28
29 pkg_postinst() {
30 + xdg_desktop_database_update
31 +
32 if use emacs; then
33 elog "Add"
34 elog " (add-to-list 'load-path \"${EPREFIX}${SITELISP}/tex-utils\")"
35 @@ -99,3 +101,7 @@ pkg_postinst() {
36 elog "to your ~/.emacs file"
37 fi
38 }
39 +
40 +pkg_postrm() {
41 + xdg_desktop_database_update
42 +}