summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-08-22 13:03:57 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-08-22 13:03:57 +0000
commit131af8a4a56532d7205286e637f1783a0ed824f6 (patch)
treeaffcf9049f621c968377871ec35a8988053244dc /dev-util/ecletex
parentStable on alpha. (Manifest recommit) (diff)
downloadgentoo-2-131af8a4a56532d7205286e637f1783a0ed824f6.tar.gz
gentoo-2-131af8a4a56532d7205286e637f1783a0ed824f6.tar.bz2
gentoo-2-131af8a4a56532d7205286e637f1783a0ed824f6.zip
New upstream version. Fixes #59934.
Diffstat (limited to 'dev-util/ecletex')
-rw-r--r--dev-util/ecletex/ChangeLog7
-rw-r--r--dev-util/ecletex/Manifest6
-rw-r--r--dev-util/ecletex/ecletex-0.0.3.ebuild51
-rw-r--r--dev-util/ecletex/files/build.xml-0.0.3127
-rw-r--r--dev-util/ecletex/files/digest-ecletex-0.0.31
5 files changed, 189 insertions, 3 deletions
diff --git a/dev-util/ecletex/ChangeLog b/dev-util/ecletex/ChangeLog
index 17ad7fc810c1..b527e5a4b2ed 100644
--- a/dev-util/ecletex/ChangeLog
+++ b/dev-util/ecletex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/ecletex
# Copyright 2000-2004 Gentoo Foundation; Distributed unde the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ecletex/ChangeLog,v 1.3 2004/08/06 08:13:08 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ecletex/ChangeLog,v 1.4 2004/08/22 13:03:57 karltk Exp $
+
+*ecletex-0.0.3 (22 Aug 2004)
+
+ 22 Aug 2004; Karl Trygve Kalleberg <karltk@gentoo.org> ecletex-0.0.3.ebuild:
+ New upstream version. Fixes #60200.
06 Aug 2004; David Holm <dholm@gentoo.org> ecletex-0.0.2.ebuild:
Added to ~ppc.
diff --git a/dev-util/ecletex/Manifest b/dev-util/ecletex/Manifest
index 634c28874cf3..98f1afa41884 100644
--- a/dev-util/ecletex/Manifest
+++ b/dev-util/ecletex/Manifest
@@ -1,5 +1,7 @@
-MD5 4381af4438bb628350b675ca94ef3af0 ChangeLog 457
+MD5 64664ebf2c3784a36eaa413e69cba745 ecletex-0.0.3.ebuild 1276
MD5 3a1db271971ee827a1bf806a1e866d1b ecletex-0.0.2.ebuild 1283
+MD5 4381af4438bb628350b675ca94ef3af0 ChangeLog 457
MD5 a019ed743e7db3b8bcf517a492f1ed03 metadata.xml 496
-MD5 e49c48fda4f16e037c3fa8d10f1c882a files/build.xml-0.0.2 7180
MD5 7802436384014c919e4e2d4b632dfa4b files/digest-ecletex-0.0.2 70
+MD5 e6f8663a52b0283c846324a27681fbb8 files/digest-ecletex-0.0.3 63
+MD5 e49c48fda4f16e037c3fa8d10f1c882a files/build.xml-0.0.2 7180
diff --git a/dev-util/ecletex/ecletex-0.0.3.ebuild b/dev-util/ecletex/ecletex-0.0.3.ebuild
new file mode 100644
index 000000000000..c10dd3eb1f2a
--- /dev/null
+++ b/dev-util/ecletex/ecletex-0.0.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ecletex/ecletex-0.0.3.ebuild,v 1.1 2004/08/22 13:03:57 karltk Exp $
+
+DESCRIPTION="LaTeX plugin for Eclipse 3.0 and newer"
+HOMEPAGE="http://etex.sf.net"
+SRC_URI="mirror://sourceforge/etex/${PN}.${PV}.zip"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+DEPEND=">=virtual/jdk-1.4
+ =dev-util/eclipse-sdk-3.0*"
+
+src_unpack() {
+ mkdir -p ${S}
+ cd ${S}
+ unpack ${A}
+
+ cd plugins/ish.ecletex_${PV}
+
+ rm ecletex.jar ecletexsrc.zip
+
+ ln -s /usr/lib/eclipse-3/plugins ext
+ echo "temp.folder=dist" > build.properties || die "Failed to create build.propertes"
+
+ cp ${FILESDIR}/build.xml-${PV} build.xml || die "Failed to add build.xml"
+}
+
+src_compile() {
+ cd plugins/ish.ecletex_${PV}
+
+ ant build.jars || die "Failed to build main plugin"
+ ant ecletexsrc.zip || die "Failed to build source .zip"
+}
+
+src_install() {
+ cd plugins/ish.ecletex_${PV}
+
+ local etexdir="/usr/lib/eclipse-3/plugins/ish.ecletex_${PV}"
+ dodir ${etexdir}
+
+ insinto ${etexdir}
+ doins ecletexsrc.zip || die "Failed to install source"
+ doins ecletex.jar || die "Failed to install main plugin"
+ doins plugin.xml || die "Failed to install plugin.xml"
+
+ for x in codeassist dictionary icons templates ; do
+ cp -dpR $x ${D}/${etexdir}/ || die "Failed to install directory $x"
+ done
+}
diff --git a/dev-util/ecletex/files/build.xml-0.0.3 b/dev-util/ecletex/files/build.xml-0.0.3
new file mode 100644
index 000000000000..81abf9d441ef
--- /dev/null
+++ b/dev-util/ecletex/files/build.xml-0.0.3
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="ish.ecletex" default="build.jars" basedir=".">
+
+ <property name="bootclasspath" value=""/>
+ <property name="basews" value="${ws}"/>
+ <property name="baseos" value="${os}"/>
+ <property name="basearch" value="${arch}"/>
+ <property name="basenl" value="${nl}"/>
+ <property name="javacFailOnError" value="true"/>
+ <property name="javacDebugInfo" value="on"/>
+ <property name="javacVerbose" value="false"/>
+ <property name="javacSource" value="1.4"/>
+ <property name="javacTarget" value="1.4"/>
+
+ <target name="init" depends="properties">
+ <property name="temp.folder" value="${basedir}/temp.folder"/>
+ <property name="plugin.destination" value="${basedir}"/>
+ <property name="build.result.folder" value="${basedir}"/>
+ </target>
+
+ <target name="properties" if="eclipse.running">
+ <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
+ </target>
+
+ <target name="build.update.jar" depends="init" description="Build the plug-in: ish.ecletex for an update site.">
+ <delete dir="${temp.folder}"/>
+ <mkdir dir="${temp.folder}"/>
+ <antcall target="build.jars"/>
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <zip zipfile="${plugin.destination}/ish.ecletex_0.0.2.jar" basedir="${temp.folder}/ish.ecletex_0.0.2" filesonly="false" whenempty="skip"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+ <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
+ <mkdir dir="${destination.temp.folder}/ish.ecletex_0.0.2"/>
+ <copy todir="${destination.temp.folder}/ish.ecletex_0.0.2">
+ <fileset dir="${build.result.folder}" includes="plugin.xml,ecletex.jar,icons/,codeassist/,dictionary/,templates/" />
+ </copy>
+ <copy todir="${destination.temp.folder}/ish.ecletex_0.0.2">
+ <fileset dir="${basedir}" includes="plugin.xml,ecletex.jar,icons/,codeassist/,dictionary/,templates/" />
+ </copy>
+ </target>
+
+ <target name="ecletex.jar" depends="init" unless="ecletex.jar" description="Create jar: ecletex.jar.">
+ <delete dir="${temp.folder}/ecletex.jar.bin"/>
+ <mkdir dir="${temp.folder}/ecletex.jar.bin"/>
+ <!-- compile the source code -->
+ <javac destdir="${temp.folder}/ecletex.jar.bin" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" classpath="ext/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt-pi.jar;ext/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.jar;ext/org.eclipse.core.boot_3.0.0/boot.jar;ext/org.eclipse.core.runtime_3.0.0/runtime.jar;;ext/org.eclipse.osgi_3.0.0/osgi.jar;ext/org.eclipse.osgi_3.0.0/core.jar;ext/org.eclipse.osgi_3.0.0/resolver.jar;ext/org.eclipse.osgi_3.0.0/defaultAdaptor.jar;ext/org.eclipse.osgi_3.0.0/eclipseAdaptor.jar;ext/org.eclipse.osgi_3.0.0/console.jar;ext/org.eclipse.osgi.services_3.0.0/services.jar;ext/org.eclipse.osgi.util_3.0.0/util.jar;ext/org.eclipse.ui_3.0.0/ui.jar;ext/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar;ext/org.eclipse.update.configurator_3.0.0/configurator.jar;ext/org.eclipse.help_3.0.0/help.jar;;ext/org.eclipse.jface_3.0.0/jface.jar;ext/org.eclipse.ui.workbench_3.0.0/compatibility.jar;ext/org.eclipse.ui.workbench_3.0.0/workbench.jar;ext/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar;ext/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar;ext/org.eclipse.jface.text_3.0.0/jfacetext.jar;ext/org.eclipse.text_3.0.0/text.jar;ext/org.eclipse.ui.editors_3.0.0/editors.jar;ext/org.eclipse.ui.ide_3.0.0/ide.jar;ext/org.eclipse.core.resources_3.0.0/resources.jar;ext/org.eclipse.ui.views_3.0.0/views.jar;ext/org.eclipse.update.core_3.0.0/updatecore.jar;ext/org.eclipse.ui.workbench.texteditor_3.0.0/texteditor.jar;ext/org.eclipse.core.filebuffers_3.0.0/filebuffers.jar;ext/org.eclipse.ui.forms_3.0.0/forms.jar" source="${javacSource}" target="${javacTarget}" >
+ <!-- -->
+ <src path="src/" />
+ </javac>
+ <!-- copy necessary resources -->
+ <copy todir="${temp.folder}/ecletex.jar.bin">
+ <fileset dir="src/" excludes="**/*.java" />
+ </copy>
+ <mkdir dir="${build.result.folder}"/>
+ <jar jarfile="${build.result.folder}/ecletex.jar" basedir="${temp.folder}/ecletex.jar.bin"/>
+ <delete dir="${temp.folder}/ecletex.jar.bin"/>
+ </target>
+
+ <target name="ecletexsrc.zip" depends="init" unless="ecletexsrc.zip">
+ <mkdir dir="${build.result.folder}"/>
+ <zip zipfile="${build.result.folder}/ecletexsrc.zip" filesonly="false" whenempty="skip">
+ <fileset dir="src/" includes="**/*.java" />
+ </zip>
+ </target>
+
+ <target name="build.jars" depends="init" description="Build all the jars for the plug-in: ish.ecletex.">
+ <available property="ecletex.jar" file="${build.result.folder}/ecletex.jar"/>
+ <antcall target="ecletex.jar"/>
+ </target>
+
+ <target name="build.sources" depends="init">
+ <available property="ecletexsrc.zip" file="${build.result.folder}/ecletexsrc.zip"/>
+ <antcall target="ecletexsrc.zip"/>
+ </target>
+
+ <target name="build.zips" depends="init">
+ </target>
+
+ <target name="gather.sources" depends="init" if="destination.temp.folder">
+ <mkdir dir="${destination.temp.folder}/ish.ecletex_0.0.2"/>
+ <copy file="${build.result.folder}/ecletexsrc.zip" todir="${destination.temp.folder}/ish.ecletex_0.0.2"/>
+ <copy todir="${destination.temp.folder}/ish.ecletex_0.0.2">
+ <fileset dir="${basedir}" includes="plugin.xml,build.xml,codeassist/,dictionary/,icons/,src/,templates/,build.properties,.classpath,.project,.template" />
+ </copy>
+ </target>
+
+ <target name="gather.logs" depends="init" if="destination.temp.folder">
+ <mkdir dir="${destination.temp.folder}/ish.ecletex_0.0.2"/>
+ <copy file="${temp.folder}/ecletex.jar.bin.log" todir="${destination.temp.folder}/ish.ecletex_0.0.2"/>
+ </target>
+
+ <target name="clean" depends="init" description="Clean the plug-in: ish.ecletex of all the zips, jars and logs created.">
+ <delete file="${build.result.folder}/ecletex.jar"/>
+ <delete file="${build.result.folder}/ecletexsrc.zip"/>
+ <delete file="${plugin.destination}/ish.ecletex_0.0.2.jar"/>
+ <delete file="${plugin.destination}/ish.ecletex_0.0.2.zip"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+ <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
+ <eclipse.convertPath fileSystemPath="E:/EclipseM8/workspace/ecletex/" property="resourcePath"/>
+ <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
+ </target>
+
+ <target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: ish.ecletex.">
+ <delete dir="${temp.folder}"/>
+ <mkdir dir="${temp.folder}"/>
+ <antcall target="build.jars"/>
+ <antcall target="build.sources"/>
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <antcall target="gather.sources">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <delete>
+ <fileset dir="${temp.folder}" includes="**/*.bin.log" />
+ </delete>
+ <zip zipfile="${plugin.destination}/ish.ecletex_0.0.2.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+</project>
diff --git a/dev-util/ecletex/files/digest-ecletex-0.0.3 b/dev-util/ecletex/files/digest-ecletex-0.0.3
new file mode 100644
index 000000000000..46e81b98e0b0
--- /dev/null
+++ b/dev-util/ecletex/files/digest-ecletex-0.0.3
@@ -0,0 +1 @@
+MD5 aad253adedc3814603167931316b6f13 ecletex.0.0.3.zip 1670567