summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2015-08-08 00:36:39 +0000
committerSebastian Pipping <sping@gentoo.org>2015-08-08 00:36:39 +0000
commit3c99286655c6f5cf793ca0be861f8af41072c2c5 (patch)
treee418766d43ebc8324d56370633b990811902c52f
parentdev-java/qdox: Fix homepage (diff)
downloadhistorical-3c99286655c6f5cf793ca0be861f8af41072c2c5.tar.gz
historical-3c99286655c6f5cf793ca0be861f8af41072c2c5.tar.bz2
historical-3c99286655c6f5cf793ca0be861f8af41072c2c5.zip
app-editors/jedit: 5.2.0 (bug #552764)
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0x401A1600
-rw-r--r--app-editors/jedit/ChangeLog8
-rw-r--r--app-editors/jedit/Manifest27
-rw-r--r--app-editors/jedit/files/jedit-5.2.0-build-xml.patch24
-rw-r--r--app-editors/jedit/jedit-5.2.0.ebuild99
4 files changed, 139 insertions, 19 deletions
diff --git a/app-editors/jedit/ChangeLog b/app-editors/jedit/ChangeLog
index 64d054e4e0d2..bd76e8461379 100644
--- a/app-editors/jedit/ChangeLog
+++ b/app-editors/jedit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-editors/jedit
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/ChangeLog,v 1.111 2015/06/09 09:49:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/ChangeLog,v 1.112 2015/08/08 00:36:33 sping Exp $
+
+*jedit-5.2.0 (08 Aug 2015)
+
+ 08 Aug 2015; Sebastian Pipping <sping@gentoo.org> +jedit-5.2.0.ebuild,
+ +files/jedit-5.2.0-build-xml.patch:
+ Bump to 5.2.0 (bug #552764)
09 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Updating remote-id in metadata.xml
diff --git a/app-editors/jedit/Manifest b/app-editors/jedit/Manifest
index 15d23282cbf6..fd74900a8cdd 100644
--- a/app-editors/jedit/Manifest
+++ b/app-editors/jedit/Manifest
@@ -1,26 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
+AUX jedit-5.2.0-build-xml.patch 530 SHA256 c63b33b7c619e0ecf227f5a6b67ab0882b9bd02a7b5d94fca8cc9252593f5c57 SHA512 4396a20fe4d358b8ecf8938a467ed58dfdab81358a785fd56387dfed94b4aaafdbba4cb2639631c58c9c771a2fe9bdbcfc30807def5861473c9b35d7add73dbe WHIRLPOOL f81eef04bd2bf472b843f307c5ccb5d5ec16beaae7ab0d7105e89af3971d41701dde71c757061a66087aabd8bcab1cb242710586f68a964bb718c9747550b230
DIST jedit5.0.0source.tar.bz2 2224469 SHA256 4464cbfe8a01cae15476d6b0cf57b4b89c1cb3d7b541ec2f48ed283385c015ce SHA512 376803339251ee389e6be0cd5267140e36a09120882a9fb8d989c0ed424e6680ede3c509d10fc3d3b8956d1219ff5c009d9b4fbd04e76b81a9be38f77383562d WHIRLPOOL efa3dc731086ecffbf4490c14a597b24ec7849b5c16f1f5df9d1483b08004433b4a478e96963e9e70ec5f7d584075fb65c2d3e63bd516125907998de649c1a70
+DIST jedit5.2.0source.tar.bz2 2456541 SHA256 1d444d2ceab62e449523ae336603fedee322d3655c9e5606d3b4d00c125c950f SHA512 5af99ac864dd70701f24435840e26f73077ba02d155319965122bd24871e6825b82383054d29dfec72bbbedaac72bfb2d86097de6a0c79341f0a279dacd60126 WHIRLPOOL e6a8e837317a2068fe808bc3ada39bf4730a5aaebeca60f7501b5fad2353a5f889b76778c59ffe39b34563107ba3ec02eec550cd612ddcbd00ee03616910cc19
EBUILD jedit-5.0.0.ebuild 2524 SHA256 24ee31a764aeafd7dbf0a61af3b3aae61997ff087fbb10a9ab948a753227f77e SHA512 006086929867bad350d3c4b39661c4e96f7fdbb553b6e6f915b3ac0860e7c4de87b396b2d8f9a9f0f72a16fb50f7ac34b60ae8eefde97423028772d36ddf6458 WHIRLPOOL 66aeb452096852532350b227d0296b286e0225accc6cfacdaf31aef05de99d7d746704bd1e5fd9e825535f4e681df07a4881ae89c5a0ab3ea43bb1a17bafeaf6
-MISC ChangeLog 15498 SHA256 b973d3451037f2fec7c47b3b0a3605f39aa4035f45904445ff05b172ca946d89 SHA512 c82f2b097e1477d8fd17dab8e7e716efa293d252d32c7168414e43069a45e80a4855fedfe0c5831fe413cf9718d052a9d75870a143571f687a9644a75b51633f WHIRLPOOL 008f6768d23b9fd8f326d625ace6e5ee3a3dade480b882354c286c0304cc6ee6410342e5731702b260dc9d5e289e5a42c7a2a0b0b8bc73a28f913a31fefb99f0
+EBUILD jedit-5.2.0.ebuild 2418 SHA256 2227df709c2d2645ac634b3bc89df999d4e756e603febb2249084274685db10f SHA512 d5aaf493f54f2bdec05cc416256d62caf4bc1349b2e4569840fc9aa24eca0178eb56daa609e54d46e4299f88e332ce82b1454925d168d24696aeafff80ae6789 WHIRLPOOL a11d567260a509017f0af5f1f8201eaa429c32fa4b45d40ac1c9e55c5df6602460d3e06aa92ffcb580995bbb7703019e154c2e9c017a94277e2f8b7c177e1e92
+MISC ChangeLog 15669 SHA256 cb5baae9e19a68b8ebbc74e25cb3bb2d43905586245cda21da95fadb75a36c9e SHA512 fbfbe12d18ef4b557ffc28e981dd9eb3d4d4e0b7158b278d51295fb56ab6e5e556ce58bbff2b1f096f940cee314950c0af7c88a2d43791bf561ee10cb1c69c45 WHIRLPOOL c0ec7df87763fec762ffdef6a29c6bb8f9228e7011bc26c15471120c3f2634b28c67015171b702b75b606b41d86a3f8bcc965685bfbf4a49b5b6a62cb6242c5a
MISC metadata.xml 233 SHA256 163204c0dff2a9e1105075be5a61c6304917d152ae36269617d355583997f7c3 SHA512 a366869e81727468bfc7853bc49b4976888857b56b4041273e3b9efbc345ff1006eb1ff55de40bcfe50506e748388dd300bf7e3aa0443aeba469eb03fc7040f9 WHIRLPOOL 5c5bf942606075b68d223f79a0c6488da31deb3234d830cdac1f2e105e157f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vbzdtsBJYQfy2
+=sS21
-----END PGP SIGNATURE-----
diff --git a/app-editors/jedit/files/jedit-5.2.0-build-xml.patch b/app-editors/jedit/files/jedit-5.2.0-build-xml.patch
new file mode 100644
index 000000000000..da0a91d54d22
--- /dev/null
+++ b/app-editors/jedit/files/jedit-5.2.0-build-xml.patch
@@ -0,0 +1,24 @@
+From 4dc53a4c320af0894bd600c77d4432c414cdee16 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Sat, 8 Aug 2015 00:05:20 +0200
+Subject: [PATCH] Do not have target "build" call target "test"
+
+---
+ build.xml | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/build.xml b/build.xml
+index f34934f..da5272a 100644
+--- a/build.xml
++++ b/build.xml
+@@ -504,7 +504,6 @@
+ </copy>
+ </contrib:then>
+ </contrib:if>
+- <antcall target="test" />
+ </target>
+
+ <target name="build-exe-launcher"
+--
+2.5.0
+
diff --git a/app-editors/jedit/jedit-5.2.0.ebuild b/app-editors/jedit/jedit-5.2.0.ebuild
new file mode 100644
index 000000000000..5ed5f7fd53d3
--- /dev/null
+++ b/app-editors/jedit/jedit-5.2.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-5.2.0.ebuild,v 1.1 2015/08/08 00:36:33 sping Exp $
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc test"
+
+inherit java-pkg-2 java-ant-2 eutils fdo-mime
+
+DESCRIPTION="Programmer's editor written in Java"
+HOMEPAGE="http://www.jedit.org"
+SRC_URI="mirror://sourceforge/${PN}/${PN}${PV}source.tar.bz2"
+
+LICENSE="BSD GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+IUSE=""
+
+# missing from tarball
+RESTRICT="test"
+
+COMMON_DEP="
+ dev-java/jsr305:0"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.7"
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.7
+ dev-java/ant-apache-bsf:0
+ dev-java/ant-contrib:0
+ dev-java/bsh[bsf]
+ test? (
+ dev-java/ant-junit:0
+ )"
+
+S="${WORKDIR}/jEdit"
+
+JEDIT_HOME="/usr/share/${PN}"
+
+java_prepare() {
+ mkdir -p lib/{ant-contrib,compile,default-plugins,scripting} || die
+
+ epatch "${FILESDIR}"/${P}-build-xml.patch
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+EANT_ANT_TASKS="ant-apache-bsf ant-contrib bsh"
+EANT_GENTOO_CLASSPATH="jsr305"
+EANT_EXTRA_ARGS="-Divy.jar.present=true -Divy.done=true"
+EANT_BUILD_TARGET="build"
+# TODO could build more docs, ie generate-doc-faq generate-doc-news
+# generate-doc-users-guide ua.
+EANT_DOC_TARGET="generate-javadoc"
+# in fact needed only for docs, but shouldn't hurt
+EANT_NEEDS_TOOLS="true"
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install () {
+ dodir ${JEDIT_HOME}
+ cp -R build/${PN}.jar jars doc keymaps macros modes properties startup \
+ "${D}${JEDIT_HOME}" || die
+
+ java-pkg_regjar ${JEDIT_HOME}/${PN}.jar
+
+ java-pkg_dolauncher ${PN} --main org.gjt.sp.jedit.jEdit
+
+ use doc && java-pkg_dojavadoc build/classes/javadoc/api
+
+ make_desktop_entry ${PN} \
+ jEdit \
+ ${JEDIT_HOME}/doc/${PN}.png \
+ "Development;Utility;TextEditor"
+
+ # keep the plugin directory
+ keepdir ${JEDIT_HOME}/jars
+}
+
+pkg_postinst() {
+ fdo-mime_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
+ 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"
+ elog "want to run"
+ elog ""
+ elog " rm -r ${JEDIT_HOME}"
+ fi
+}