app-editors/jedit: fdo-mime->xdt-utils migration.
authorMarty E. Plummer <hanetzer@startmail.com>
Fri, 1 Jun 2018 17:24:05 +0000 (12:24 -0500)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 4 Jun 2018 10:06:07 +0000 (12:06 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8683

app-editors/jedit/jedit-5.2.0-r1.ebuild
app-editors/jedit/jedit-5.4.0.ebuild

index 945eb8180648c48c10c5bd5e6bcef3130d92f000..956701724a067ba905d5fe7c6bb5d23d18e3b76d 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 JAVA_PKG_IUSE="doc test"
 
-inherit java-pkg-2 java-ant-2 eutils fdo-mime
+inherit eutils java-pkg-2 java-ant-2 xdg-utils
 
 DESCRIPTION="Programmer's editor written in Java"
 HOMEPAGE="http://www.jedit.org"
@@ -83,7 +83,7 @@ src_install () {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
        elog "The system directory for jEdit plugins is"
        elog "${JEDIT_HOME}/jars"
        elog "If you get plugin related errors on startup, first try updating them."
@@ -91,7 +91,7 @@ pkg_postinst() {
 
 pkg_postrm() {
        if [[ -z ${REPLACED_BY_VERSION} ]]; then
-               fdo-mime_desktop_database_update
+               xdg_desktop_database_update
                elog "jEdit plugins installed into /usr/share/jedit/jars"
                elog "(after installation of jEdit itself) haven't been"
                elog "removed. To get rid of jEdit completely, you may"
index b91e0863229f51c39485f812e0ed7edc05ae499e..e38548dd3afe058cfc8d8ab49ffdde9ebf96b99e 100644 (file)
@@ -5,7 +5,7 @@ EAPI=6
 
 JAVA_PKG_IUSE="doc test"
 
-inherit java-pkg-2 java-ant-2 eutils fdo-mime
+inherit eutils java-pkg-2 java-ant-2 xdg-utils
 
 DESCRIPTION="Programmer's editor written in Java"
 HOMEPAGE="http://www.jedit.org"
@@ -87,7 +87,7 @@ src_install () {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
        elog "The system directory for jEdit plugins is"
        elog "${JEDIT_HOME}/jars"
        elog "If you get plugin related errors on startup, first try updating them."
@@ -95,7 +95,7 @@ pkg_postinst() {
 
 pkg_postrm() {
        if [[ -z ${REPLACED_BY_VERSION} ]]; then
-               fdo-mime_desktop_database_update
+               xdg_desktop_database_update
                elog "jEdit plugins installed into /usr/share/jedit/jars"
                elog "(after installation of jEdit itself) haven't been"
                elog "removed. To get rid of jEdit completely, you may"