mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emacs/emhacks: Unconditionally remove jsee.
Byte compilation of jsee.el fails with recent Emacs versions. After its removal, the jde USE flag is not needed any more. Closes: https://bugs.gentoo.org/642588 Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
25
app-emacs/emhacks/emhacks-20070920-r1.ebuild
Normal file
25
app-emacs/emhacks/emhacks-20070920-r1.ebuild
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Useful Emacs Lisp libraries, including gdiff, jjar, jmaker, swbuff, and tabbar"
|
||||
HOMEPAGE="http://emhacks.sourceforge.net/"
|
||||
# CVS snapshot
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="Changelog"
|
||||
|
||||
src_prepare() {
|
||||
# remove files included in Emacs>=22 or not useful on GNU/Linux
|
||||
# remove jsee #642588
|
||||
rm -r findstr* jsee* overlay-fix* recentf* ruler-mode* tree-widget* || die
|
||||
eapply_user
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Useful Emacs Lisp libraries, including gdiff, jjar, jmaker, swbuff, and tabbar"
|
||||
HOMEPAGE="http://emhacks.sourceforge.net/"
|
||||
# CVS snapshot
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="jde"
|
||||
|
||||
DEPEND="jde? ( app-emacs/jde )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
# remove files included in Emacs>=22 or not useful on GNU/Linux
|
||||
rm -r findstr* overlay-fix* recentf* ruler-mode* tree-widget* || die
|
||||
# this requires jde and cedet, not everyone may want it
|
||||
use jde || rm jsee.el || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install ${PN} *.el *.elc
|
||||
|
||||
cp "${FILESDIR}/${SITEFILE}" "${T}"
|
||||
use jde || sed -i -e '/;; jsee/,$d' "${T}/${SITEFILE}"
|
||||
elisp-site-file-install "${T}/${SITEFILE}"
|
||||
|
||||
dodoc Changelog
|
||||
}
|
||||
@@ -26,7 +26,3 @@ And update the status window if showing." t)
|
||||
;; jmaker
|
||||
(autoload 'jmaker-generate-makefile "jmaker"
|
||||
"Generate and edit a Java Makefile in directory ROOT." t)
|
||||
|
||||
;; jsee
|
||||
(autoload 'jsee-browse-api-doc "jsee"
|
||||
"Browse the Java API Documentation of the current Java file." t)
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
swbuff, Quick switch between Emacs buffers;
|
||||
tabbar, Display a tab bar in the header line.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="jde">Enable support for Java Development Environment</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">emhacks</remote-id>
|
||||
</upstream>
|
||||
|
||||
Reference in New Issue
Block a user