# ChangeLog for app-editors/jedit
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/ChangeLog,v 1.72 2007/01/09 15:27:13 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/ChangeLog,v 1.73 2007/02/22 01:34:04 nichoj Exp $
+
+*jedit-4.3_pre9 (22 Feb 2007)
+
+ 22 Feb 2007; Joshua Nichols <nichoj@gentoo.org> +jedit-4.3_pre9.ebuild:
+ Version bump. See bug #167892.
09 Jan 2007; Vlastimil Babka <caster@gentoo.org>
-files/jedit-4.1-jikes-fix.patch, -files/jedit.desktop, -jedit-4.2.ebuild,
DIST jedit4.3pre7source.tar.bz2 1394321 RMD160 bb7d5a2417a9d147d42c4a629635c25f857704c4 SHA1 e7f9a2379e26cf742912ac599811520e56f5d182 SHA256 327fea5467fbd3d104b8613edee0b5f90d72df6fb608c587e1df506ac0173611
+DIST jedit4.3pre9source.tar.bz2 1415361 RMD160 7a9c4a4942edbb936de21d145c17afaf0419d205 SHA1 d74add2a25bfe6bb115b660c40b653f414433529 SHA256 7919bb603b1ad0e7ac4cd3e6a2486d2d702eebf444e65d5e3e8f8f868604aa4f
DIST jedit42source.tar.gz 1685253 RMD160 5f0f59a64455c4dcaf3e0e7589527a9f6989a23d SHA1 404b3e76c749d0b488c005d3af19c335c102ba60 SHA256 12a5037126b87ae00157b0201818fa97b777c824543e87a79b6064c1357c78b2
EBUILD jedit-4.2-r2.ebuild 2004 RMD160 e385df59cfaf968af3444230c3579edcc6ac1ee0 SHA1 7ce502d3ba0f60eeff5102267719caa383b7d22d SHA256 01a3e8631b50f4674c208b19e9f6395ed6205984319c0ae5d460b823228e5fc1
MD5 911d18025286a7f3a13538cc7b9764f8 jedit-4.2-r2.ebuild 2004
MD5 ab945903db0af6141ad6a32b7934fbc1 jedit-4.3_pre7.ebuild 2353
RMD160 d88bc48ae852899eb0812dd75ecffc829a423fac jedit-4.3_pre7.ebuild 2353
SHA256 186f04d9f5e57114b093f3498f0068c41cff899fe5584d7bd0bb903ab198a27d jedit-4.3_pre7.ebuild 2353
-MISC ChangeLog 9934 RMD160 b44933993334a022a86ff6c85786ba3c61fdc501 SHA1 03ad0a79bd64ecb4a54e1aa9f3c263162bf17ec2 SHA256 3a2bd84283d8d4f133d38b626a2922e0b1ea71bd509544c4b89ae381c46f36ef
-MD5 341c791ae72add4c816815f8a5b99fff ChangeLog 9934
-RMD160 b44933993334a022a86ff6c85786ba3c61fdc501 ChangeLog 9934
-SHA256 3a2bd84283d8d4f133d38b626a2922e0b1ea71bd509544c4b89ae381c46f36ef ChangeLog 9934
+EBUILD jedit-4.3_pre9.ebuild 2412 RMD160 59e9e42732635f8aa4bdfe716e4225578549796d SHA1 8db044d200a416a8a1141fb12fa4eb90ba6b09bc SHA256 27e275b00b6066ec1efe604009a228cc6ebba2438c20fef18dc894523b4f6291
+MD5 767850caa8c31e6c6175e6724378afe0 jedit-4.3_pre9.ebuild 2412
+RMD160 59e9e42732635f8aa4bdfe716e4225578549796d jedit-4.3_pre9.ebuild 2412
+SHA256 27e275b00b6066ec1efe604009a228cc6ebba2438c20fef18dc894523b4f6291 jedit-4.3_pre9.ebuild 2412
+MISC ChangeLog 10073 RMD160 aa45803f76bbf28ccaa52e15a86f261bb5649e85 SHA1 9c0185b04ac6af2f28eb1a677b37d46a2d764b59 SHA256 dfea3cdd5801fc730cf840e3a0d96b1b2be7c093efb0bc9c6c8d15803e94f997
+MD5 23cf671a72fa945a8cd949715f4cc24d ChangeLog 10073
+RMD160 aa45803f76bbf28ccaa52e15a86f261bb5649e85 ChangeLog 10073
+SHA256 dfea3cdd5801fc730cf840e3a0d96b1b2be7c093efb0bc9c6c8d15803e94f997 ChangeLog 10073
MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158
MD5 cd898f5a48555461338a20d94490be05 files/digest-jedit-4.3_pre7-r1 262
RMD160 9522472e5df24cea92a86232d2d6711fa5d90513 files/digest-jedit-4.3_pre7-r1 262
SHA256 1748b6625650a91dcf4db0373b068d987216e6e0a2be5d6da16f6bc30f53927a files/digest-jedit-4.3_pre7-r1 262
+MD5 376e97cff8e6a1f439cb668b43c771b2 files/digest-jedit-4.3_pre9 262
+RMD160 38a5f0ee46cc65a5b03f4093029772e87fd61f56 files/digest-jedit-4.3_pre9 262
+SHA256 d9b0ffa53301dc60f77e06f1d4329e5756f8b229076800d90d0385f7430b795f files/digest-jedit-4.3_pre9 262
--- /dev/null
+MD5 7219767fe93d9c38d23ed760b22df4fa jedit4.3pre9source.tar.bz2 1415361
+RMD160 7a9c4a4942edbb936de21d145c17afaf0419d205 jedit4.3pre9source.tar.bz2 1415361
+SHA256 7919bb603b1ad0e7ac4cd3e6a2486d2d702eebf444e65d5e3e8f8f868604aa4f jedit4.3pre9source.tar.bz2 1415361
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.3_pre9.ebuild,v 1.1 2007/02/22 01:34:04 nichoj Exp $
+
+inherit java-pkg-2 java-ant-2 eutils
+
+# TODO use versionator
+MY_PV="${PV//_/}"
+
+DESCRIPTION="Programmer's editor written in Java"
+HOMEPAGE="http://www.jedit.org"
+SRC_URI="mirror://sourceforge/${PN}/${PN}${MY_PV}source.tar.bz2"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="doc"
+
+RDEPEND=">=virtual/jre-1.5
+ =dev-java/gnu-regexp-1*"
+DEPEND=">=virtual/jdk-1.5
+ doc? (
+ =app-text/docbook-xml-dtd-4.3*
+ >=app-text/docbook-xsl-stylesheets-1.65.1
+ dev-libs/libxslt
+ )
+ >=dev-java/ant-1.5.4
+ =dev-java/gnu-regexp-1*"
+
+S="${WORKDIR}/jEdit"
+
+JEDIT_HOME="/usr/share/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # we need to use our own classpath
+ java-ant_rewrite-classpath build.xml
+
+ if use doc; then
+ local xsl=$(echo /usr/share/sgml/docbook/xsl-stylesheets-*)
+ xsl=${xsl// *}
+
+ local xml=$(echo /usr/share/sgml/docbook/xml-dtd-4.3*)
+ xml=${xml// *}
+
+ echo "build.directory=." > build.properties
+ echo "docbook.dtd.catalog=${xml}/docbook.cat" >> build.properties
+ echo "docbook.xsl=${xsl}" >> build.properties
+ fi
+
+ # remove bundled sources
+ rm -r gnu/* # gnu-regexp
+ # still need to do: bsh, com.microstar.xml.*, org.gjt.*
+}
+src_compile() {
+ # TODO could build more docs, ie userdocs target instead of generate-javadoc
+ eant build $(use_doc generate-javadoc) \
+ -Dgentoo.classpath=$(java-pkg_getjars gnu-regexp-1):$(java-config --tools)
+}
+
+src_install () {
+ dodir ${JEDIT_HOME}
+ cp -R build/${PN}.jar jars doc macros modes properties startup \
+ ${D}/usr/share/jedit
+
+ java-pkg_regjar ${JEDIT_HOME}/${PN}.jar
+
+ java-pkg_dolauncher ${PN} --pwd ${JEDIT_HOME} --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 \
+ "Application;Development;"
+
+ # keep the plugin directory
+ keepdir ${JEDIT_HOME}/jars
+}
+
+pkg_postinst() {
+ elog "The system directory for jEdit plugins is"
+ elog "${JEDIT_HOME}/jars"
+}
+
+pkg_postrm() {
+ 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 "\trm -r ${JEDIT_HOME}"
+}