Skip to content

Commit

Permalink
app-editors/jedit: fdo-mime->xdt-utils migration.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: gentoo#8683
  • Loading branch information
hanetzer authored and monsieurp committed Jun 4, 2018
1 parent 5f9102b commit 7af14c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions app-editors/jedit/jedit-5.2.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -83,15 +83,15 @@ 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."
}

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"
Expand Down
6 changes: 3 additions & 3 deletions app-editors/jedit/jedit-5.4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -87,15 +87,15 @@ 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."
}

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"
Expand Down

0 comments on commit 7af14c7

Please sign in to comment.