# ChangeLog for app-editors/jedit
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/ChangeLog,v 1.65 2006/11/13 02:27:06 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/ChangeLog,v 1.66 2006/11/15 06:01:34 nichoj Exp $
+
+*jedit-4.3_pre7 (15 Nov 2006)
+
+ 15 Nov 2006; Joshua Nichols <nichoj@gentoo.org> +jedit-4.3_pre7.ebuild:
+ Version bump, bug #154400.
13 Nov 2006; <dirtyepic@gentoo.org> jedit-4.2-r2.ebuild:
Stable on x86, bug #154857.
MD5 e4b1187284c6be90f0acaa0d919da8ba files/jedit.desktop 186
RMD160 d18fcc9e884ad6eff173900e0a607abdd5c2e477 files/jedit.desktop 186
SHA256 06e0240805d18aa3ecf66b69bcecf54fe6c571942a78c13e3c83609fac8b7351 files/jedit.desktop 186
+DIST jedit4.3pre7source.tar.bz2 1394321 RMD160 bb7d5a2417a9d147d42c4a629635c25f857704c4 SHA1 e7f9a2379e26cf742912ac599811520e56f5d182 SHA256 327fea5467fbd3d104b8613edee0b5f90d72df6fb608c587e1df506ac0173611
DIST jedit42source.tar.gz 1685253 RMD160 5f0f59a64455c4dcaf3e0e7589527a9f6989a23d SHA1 404b3e76c749d0b488c005d3af19c335c102ba60 SHA256 12a5037126b87ae00157b0201818fa97b777c824543e87a79b6064c1357c78b2
EBUILD jedit-4.2-r1.ebuild 2103 RMD160 478636302bd24da5b821b64e9537da82c510fa9a SHA1 c7e75b8d82a810f57645a8f48972fc9b83a2f0c0 SHA256 73bc0405740a4ec1d43aa770d95d0ecd49b4bca95612f8ec73630ee2d3459079
MD5 4d1159371b74c5abd67daf70a7630a1d jedit-4.2-r1.ebuild 2103
MD5 09c2478a655b70234f3d8941f20f076e jedit-4.2.ebuild 2378
RMD160 5f51e443174ad62093174d534078e1279a7e2d38 jedit-4.2.ebuild 2378
SHA256 0abfa6d5707213e3604fdce481ddeb14387679e2447e159e6003fba8c405d39e jedit-4.2.ebuild 2378
-MISC ChangeLog 9034 RMD160 2deb7810332f0439687bb0eb2eb1aa23bc19d72c SHA1 13589edcfcbb2877b60cf561c1aa82f4cfcf3232 SHA256 4c064bf5339b93d951bda99dbe287075fd761aec13107f3a8a9e6220c2fd48ab
-MD5 6f5b557b5206cf30465ab3ae52f5b45a ChangeLog 9034
-RMD160 2deb7810332f0439687bb0eb2eb1aa23bc19d72c ChangeLog 9034
-SHA256 4c064bf5339b93d951bda99dbe287075fd761aec13107f3a8a9e6220c2fd48ab ChangeLog 9034
+EBUILD jedit-4.3_pre7.ebuild 2361 RMD160 5c150ef959804fdea69653cfdb1d7bd89d3ab8e5 SHA1 a1f3d51e7e81a4da5a29da79c30b449bfecc8f58 SHA256 286d9d813c24d21e786528eda8009548e6f148d270fac6a070ba676af5aa667c
+MD5 a9f84483b06b212a6725050855fe63df jedit-4.3_pre7.ebuild 2361
+RMD160 5c150ef959804fdea69653cfdb1d7bd89d3ab8e5 jedit-4.3_pre7.ebuild 2361
+SHA256 286d9d813c24d21e786528eda8009548e6f148d270fac6a070ba676af5aa667c jedit-4.3_pre7.ebuild 2361
+MISC ChangeLog 9076 RMD160 9d595341ae8b9a0121af94cb12b0ad1de629dbdf SHA1 8314d575fd7a9de5383ad1fff9d3ac8d20419ae9 SHA256 8d07947637b567922f6e2a1886f5d89a7cd79cdb647080f638f2378b8f537359
+MD5 45f992b2b8c35eaa4fd00c7168ffced3 ChangeLog 9076
+RMD160 9d595341ae8b9a0121af94cb12b0ad1de629dbdf ChangeLog 9076
+SHA256 8d07947637b567922f6e2a1886f5d89a7cd79cdb647080f638f2378b8f537359 ChangeLog 9076
MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158
MD5 fd03d8bc9aa44769a04bebe07bcf9e30 files/digest-jedit-4.2-r2 244
RMD160 083eabd2f9d766df818004543442a4edef2e4f69 files/digest-jedit-4.2-r2 244
SHA256 2c5796e0ee266ad619dc72a404afb20c3c8e03ab9abc47aabd74fc90b9251768 files/digest-jedit-4.2-r2 244
+MD5 cd898f5a48555461338a20d94490be05 files/digest-jedit-4.3_pre7 262
+RMD160 9522472e5df24cea92a86232d2d6711fa5d90513 files/digest-jedit-4.3_pre7 262
+SHA256 1748b6625650a91dcf4db0373b068d987216e6e0a2be5d6da16f6bc30f53927a files/digest-jedit-4.3_pre7 262
--- /dev/null
+MD5 8410a1211d918e0672f12451ca05dc94 jedit4.3pre7source.tar.bz2 1394321
+RMD160 bb7d5a2417a9d147d42c4a629635c25f857704c4 jedit4.3pre7source.tar.bz2 1394321
+SHA256 327fea5467fbd3d104b8613edee0b5f90d72df6fb608c587e1df506ac0173611 jedit4.3pre7source.tar.bz2 1394321
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.3_pre7.ebuild,v 1.1 2006/11/15 06:01:34 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"
+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() {
+ eant build $(use_doc javadoc docs-html) \
+ -Dgentoo.classpath=$(java-pkg_getjars gnu-regexp-1)
+}
+
+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
+ cd ${D}${JEDIT_HOME}
+# chmod -R u+rw,ug-s,go+u,go-w \
+# ${PN}.jar jars doc macros modes properties startup
+
+ java-pkg_dolauncher ${PN} --pwd ${JEDIT_HOME} --jar ${JEDIT_HOME}/${PN}.jar
+
+ make_desktop_entry ${PN} \
+ jEdit \
+ ${JEDIT_HOME}/doc/${PN}.png \
+ "Application;Development;"
+
+ # keep the plugin directory
+ keepdir ${JEDIT_HOME}/jars
+}
+
+pkg_postinst() {
+ einfo "The system directory for jEdit plugins is"
+ einfo "${JEDIT_HOME}/jars"
+}
+
+pkg_postrm() {
+ einfo "jEdit plugins installed into /usr/share/jedit/jars"
+ einfo "(after installation of jEdit itself) haven't been"
+ einfo "removed. To get rid of jEdit completely, you may"
+ einfo "want to run"
+ einfo ""
+ einfo "\trm -r ${JEDIT_HOME}"
+}