diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-05-29 01:02:42 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-05-29 01:02:42 +0000 |
commit | 6da2bdfb1ce03015f0a29dadbb68a4311d9ddbb5 (patch) | |
tree | 9a31bc76db4d2f70afdbb3938e083d51fb1e1437 /dev-util/ecletex | |
parent | dev-java/jrockit moved to dev-java/jrockit-jdk-bin (diff) | |
download | gentoo-2-6da2bdfb1ce03015f0a29dadbb68a4311d9ddbb5.tar.gz gentoo-2-6da2bdfb1ce03015f0a29dadbb68a4311d9ddbb5.tar.bz2 gentoo-2-6da2bdfb1ce03015f0a29dadbb68a4311d9ddbb5.zip |
Initial import. Fixes #50008.
Diffstat (limited to 'dev-util/ecletex')
-rw-r--r-- | dev-util/ecletex/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/ecletex/Manifest | 4 | ||||
-rw-r--r-- | dev-util/ecletex/ecletex-0.0.2.ebuild | 45 | ||||
-rw-r--r-- | dev-util/ecletex/files/build.xml-0.0.2 | 127 | ||||
-rw-r--r-- | dev-util/ecletex/files/digest-ecletex-0.0.2 | 1 | ||||
-rw-r--r-- | dev-util/ecletex/metadata.xml | 16 |
6 files changed, 201 insertions, 0 deletions
diff --git a/dev-util/ecletex/ChangeLog b/dev-util/ecletex/ChangeLog new file mode 100644 index 000000000000..35560d5292da --- /dev/null +++ b/dev-util/ecletex/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-util/ecletex +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed unde the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ecletex/ChangeLog,v 1.1 2004/05/29 01:02:42 karltk Exp $ + +*ecletex-0.0.2 (29 May 2004) + + 29 May 2004; Karl Trygve Kalleberg <karltk@gentoo.org> ecletex-0.0.2.ebuild: + Initial import. Ebuild submitted by myself. Fixes #50008. diff --git a/dev-util/ecletex/Manifest b/dev-util/ecletex/Manifest new file mode 100644 index 000000000000..f698e19c13c1 --- /dev/null +++ b/dev-util/ecletex/Manifest @@ -0,0 +1,4 @@ +MD5 9fe2f85dd832c02f9c8467a8c0ad627c ecletex-0.0.2.ebuild 444 +MD5 d9f5180f14916eb0cfae5c6d311a7712 ChangeLog 279 +MD5 0862008d1df67410c9366c7bcb8b9880 metadata.xml 197 +MD5 7802436384014c919e4e2d4b632dfa4b files/digest-ecletex-0.0.2 70 diff --git a/dev-util/ecletex/ecletex-0.0.2.ebuild b/dev-util/ecletex/ecletex-0.0.2.ebuild new file mode 100644 index 000000000000..dffd2f31b008 --- /dev/null +++ b/dev-util/ecletex/ecletex-0.0.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ecletex/ecletex-0.0.2.ebuild,v 1.1 2004/05/29 01:02:42 karltk Exp $ + +DESCRIPTION="LaTeX plugin for Eclipse 3.0 and newer" +HOMEPAGE="http://etex.sf.net" +SRC_URI="mirror://sourceforge/etex/${PN}.${PV}.Source.zip" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + =dev-util/eclipse-sdk-3.0*" +S=${WORKDIR}/${P} + +src_unpack() { + unpack ${A} + + mv ecletex ${P} + + ln -s /usr/lib/eclipse-3/plugins ${S}/ext + + echo "temp.folder=dist" > ${S}/build.properties || die "Failed to create build.propertes" + + cp ${FILESDIR}/build.xml-${PV} ${S}/build.xml || die "Failed to add build.xml" +} + +src_compile() { + ant build.jars || die "Failed to build main plugin" + ant ecletexsrc.zip || die "Failed to build source .zip" +} + +src_install() { + 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.2 b/dev-util/ecletex/files/build.xml-0.0.2 new file mode 100644 index 000000000000..30f1cb062d92 --- /dev/null +++ b/dev-util/ecletex/files/build.xml-0.0.2 @@ -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="true"/> + <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.2 b/dev-util/ecletex/files/digest-ecletex-0.0.2 new file mode 100644 index 000000000000..344cde4bdf75 --- /dev/null +++ b/dev-util/ecletex/files/digest-ecletex-0.0.2 @@ -0,0 +1 @@ +MD5 d012155a9fa12de849de8524f7a88c1e ecletex.0.0.2.Source.zip 1268102 diff --git a/dev-util/ecletex/metadata.xml b/dev-util/ecletex/metadata.xml new file mode 100644 index 000000000000..94afcf8f1a70 --- /dev/null +++ b/dev-util/ecletex/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> +<herd>java</herd> + +<longdescription> +etex does exactly what it says on the tin: it's a plug-in for the Eclipse IDE to +help with writing LaTeX documents. It features: + +* Syntax highlighting +* Dynamic document outlining +* A dynamic autocompletion engine driven by a user-extensible XML database +* Comprehensive BibTeX reference management +</longdescription> +</pkgmetadata> |