Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628716 - app-editors/scite-3.6.5-r1: missing xdg_desktop_database_update() call
Summary: app-editors/scite-3.6.5-r1: missing xdg_desktop_database_update() call
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ervin Peters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-23 15:41 UTC by Michał Górny
Modified: 2017-11-18 01:26 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-editors:scite-3.6.5-r1:20170823-153813.log (app-editors:scite-3.6.5-r1:20170823-153813.log,135.65 KB, text/x-log)
2017-08-23 15:41 UTC, Michał Górny
Details
stable scite-3.5.5.ebuild - added xdg_desktop_database_update calll (scite-3.5.5.ebuild,2.07 KB, text/plain)
2017-11-17 09:45 UTC, Ervin Peters
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-23 15:41:20 UTC
Created attachment 490228 [details]
app-editors:scite-3.6.5-r1:20170823-153813.log

With secret development branch of Portage:

 * Messages for package app-editors/scite-3.6.5-r1:
 * Log file: /var/log/portage/app-editors:scite-3.6.5-r1:20170823-153813.log

 * QA Notice: .desktop files with MimeType= were found installed
 * but desktop mimeinfo cache has not been updated:
 *   /usr/share/applications/SciTE.desktop
 * Please make sure to call xdg_desktop_database_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
Comment 1 Ervin Peters 2017-11-13 18:12:07 UTC
fixed in proposed 4.0.2 ebuild, see bug #593542

ervin
Comment 2 Jonas Stein gentoo-dev 2017-11-13 19:39:36 UTC
please mark as fixed, when merged.
You can add 
Closes: https://bugs.gentoo.org/628716
in the bottom of the commit message, and get automatically a link here and the ticket will be closed on merge.
Comment 3 Jonas Stein gentoo-dev 2017-11-17 00:20:40 UTC
The version bump does not fix this, because it is also in 3.5.5 and this one is stable. We can not remove it until 4.0.2 is stable. 
Could you fix 3.5.5 too, please?
Comment 4 Ervin Peters 2017-11-17 09:45:30 UTC
Created attachment 504550 [details]
stable scite-3.5.5.ebuild - added xdg_desktop_database_update calll

diff -u  /usr/portage/app-editors/scite/scite-3.5.5.ebuild scite-3.5.5.ebuild 
--- /usr/portage/app-editors/scite/scite-3.5.5.ebuild	2017-08-23 18:07:03.000000000 +0200
+++ scite-3.5.5.ebuild	2017-11-13 09:30:27.470317824 +0100
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit toolchain-funcs eutils
+inherit toolchain-funcs eutils xdg-utils
 
 MY_PV=${PV//./}
 DESCRIPTION="A very powerful editor for programmers"
@@ -82,3 +82,11 @@
 	doman ../doc/scite.1
 	dodoc ../README
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+}

worksforme, no complaints by repoman.
ervin
Comment 5 Larry the Git Cow gentoo-dev 2017-11-18 01:26:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1e42deb79f1ccbb0ffaa1526731039af792cf1

commit 8c1e42deb79f1ccbb0ffaa1526731039af792cf1
Author:     Ervin Peters <ervin.peters@ervnet.de>
AuthorDate: 2017-11-18 01:23:42 +0000
Commit:     Jonas Stein <jstein@gentoo.org>
CommitDate: 2017-11-18 01:26:12 +0000

    app-editors/scite: Add inherit xdg-utils
    
    Closes: https://bugs.gentoo.org/628716
    Package-Manager: Portage-2.3.14, Repoman-2.3.5

 app-editors/scite/scite-3.5.5.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)