* [gentoo-commits] proj/kde:master commit in: eclass/
@ 2016-01-29 10:34 99% Michael Palimaka
0 siblings, 0 replies; 1+ results
From: Michael Palimaka @ 2016-01-29 10:34 UTC (permalink / raw
To: gentoo-commits
commit: 82b1bdcc1fe9c333b7cf2e3990badb4ee5229c22
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 29 10:04:24 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Jan 29 10:04:24 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=82b1bdcc
kde5.eclass: port from fdo-mime to xdg
This will ensure that both the desktop database and the mime database will
always be updated, with the added benefit that the update will only be
triggered if the relevant files are installed.
eclass/kde5.eclass | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 2218212..70437b1 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -19,7 +19,7 @@ _KDE5_ECLASS=1
# for tests you should proceed with setting VIRTUALX_REQUIRED=test.
: ${VIRTUALX_REQUIRED:=manual}
-inherit cmake-utils eutils flag-o-matic gnome2-utils kde5-functions versionator virtualx
+inherit cmake-utils eutils flag-o-matic gnome2-utils kde5-functions versionator virtualx xdg
if [[ ${KDE_BUILD_TYPE} = live ]]; then
case ${KDE_SCM} in
@@ -627,6 +627,7 @@ kde5_pkg_preinst() {
debug-print-function ${FUNCNAME} "$@"
gnome2_icon_savelist
+ xdg_pkg_preinst
}
# @FUNCTION: kde5_pkg_postinst
@@ -636,7 +637,7 @@ kde5_pkg_postinst() {
debug-print-function ${FUNCNAME} "$@"
gnome2_icon_cache_update
- fdo-mime_desktop_database_update
+ xdg_pkg_postinst
}
# @FUNCTION: kde5_pkg_postrm
@@ -646,7 +647,7 @@ kde5_pkg_postrm() {
debug-print-function ${FUNCNAME} "$@"
gnome2_icon_cache_update
- fdo-mime_desktop_database_update
+ xdg_pkg_postrm
}
fi
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-01-29 10:34 99% [gentoo-commits] proj/kde:master commit in: eclass/ Michael Palimaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox