summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Asplund <peter.azp@gmail.com>2012-02-04 12:01:45 +0100
committerPeter Asplund <peter.azp@gmail.com>2012-02-04 12:01:45 +0100
commite9f7ea3c5c8b716c7b12a79c3ff12dfd002d281a (patch)
tree929ccf02d106ebb5d333042407a1bf5575eadfba /media-gfx/alchemy
parentAdd .gitignore (diff)
downloadAzP-e9f7ea3c5c8b716c7b12a79c3ff12dfd002d281a.tar.gz
AzP-e9f7ea3c5c8b716c7b12a79c3ff12dfd002d281a.tar.bz2
AzP-e9f7ea3c5c8b716c7b12a79c3ff12dfd002d281a.zip
Add Manifest files (they are supposed to be in there, right?)
Diffstat (limited to 'media-gfx/alchemy')
-rw-r--r--media-gfx/alchemy/Manifest7
-rw-r--r--media-gfx/alchemy/files/build.xml196
2 files changed, 203 insertions, 0 deletions
diff --git a/media-gfx/alchemy/Manifest b/media-gfx/alchemy/Manifest
new file mode 100644
index 0000000..d287e01
--- /dev/null
+++ b/media-gfx/alchemy/Manifest
@@ -0,0 +1,7 @@
+AUX alchemy-0.7-build.xml-install.patch 10245 RMD160 6283f22c7974e3065545537cc340625e6a4a002a SHA1 746f8f743d00eb042680ba34eea3ab67400a64be SHA256 3ea8abe9d9cb812124e9bc22b5161c61b61c166954342ba54b56a57ef0e16277
+AUX alchemy-9999-build.xml-install.patch 11930 RMD160 cdbf8c6749ee080f9d5ee50f73daf5018afbd4d1 SHA1 25e25d6ded6799ec0c7febf3e75c2ec049996ccc SHA256 3fb687a77f01d5534ee834bcca4457a3d876ba13e8e038ec3418a6ea35cf6a24
+AUX alchemy.desktop 141 RMD160 a1e96da4027cd3954793b969133f52ca0e7acbf0 SHA1 65327f0652a4485bf2f3c12d1d5837c07e8b8746 SHA256 4970db3d47daae3df17ebbabd9443f9b5bd325b6bc8d210d3b1f023538c55753
+AUX build.xml 7956 RMD160 eb0a9408ee8d314b5cf6d2c6855af9e8b5b2fa4a SHA1 6d5ab927e16fb84e58dc2284681c52133dc45696 SHA256 bf9a7bcdf797586180bcae951c2cfa67972fc0482a038167f00a08ae15ecb09b
+EBUILD alchemy-0.7.ebuild 1295 RMD160 254a19783202bb25b0ea9f5f04a7a631739ef044 SHA1 cce4c13380dfa7784dbaba846f280c3b550b12da SHA256 d4cf78c655bdce2ac9ed342e6c4524c04d5a285fad179b965a13318e4cc39497
+EBUILD alchemy-9999.ebuild 1235 RMD160 76fce8a056aa6333f0972237f96cecfd7de3069f SHA1 314cd35cae465b970f3287722263f3f64ec1dd1b SHA256 aae7d92c7d22462c886774d011a50df24d4448eef096f7b0774b8d66bfe29a9b
+MISC build_old.xml 15563 RMD160 159c81073cd07e6a0209e169e3ba73ebde28f56d SHA1 ec7cad00258e118f0c58641700c8948869dd8b7f SHA256 3d9bd2aaf9910e96015982f234b8035d537b998aba8fd644b19c6c4c42f5690f
diff --git a/media-gfx/alchemy/files/build.xml b/media-gfx/alchemy/files/build.xml
new file mode 100644
index 0000000..01bad73
--- /dev/null
+++ b/media-gfx/alchemy/files/build.xml
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- You may freely edit this file. See commented blocks below for -->
+<!-- some examples of how to customize the build. -->
+<!-- (If you delete it and reopen the project it will be recreated.) -->
+<project name="Alchemy" default="default" basedir=".">
+ <description>Builds, tests, and runs the project Alchemy.</description>
+ <import file="nbproject/build-impl.xml"/>
+ <import file="nbproject/profiler-build-impl.xml"/>
+
+ <!-- Import the resource bundle where the version info is stored -->
+ <property file="${basedir}/src/org/alchemy/core/AlcResourceBundle.properties"/>
+
+ <target name="-pre-jar">
+ <!-- Ant config lets us loop & use if statements -->
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties">
+ <classpath>
+ <pathelement location="${basedir}/lib/ant/ant-contrib-0.6.jar"/>
+ </classpath>
+ </taskdef>
+
+
+ <!-- Copy the required libraries into the build file -->
+ <unjar src="${file.reference.commons-logging.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.itext.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.jpf.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.foxtrot.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.PDFRenderer.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.mime-util.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.jpen-2.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.miglayout.jar}" dest="${build.classes.dir}"/>
+
+ <!-- The mass of batik libraries -->
+ <unjar src="${file.reference.batik-awt-util.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.batik-dom.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.batik-ext.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.batik-svggen.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.batik-util.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.batik-xml.jar}" dest="${build.classes.dir}"/>
+ <unjar src="${file.reference.xml-apis.jar}" dest="${build.classes.dir}"/>
+
+
+ <!-- Copy the module folder over to be built.-->
+ <copy todir="${build.dir}/modules">
+ <fileset dir="${basedir}/modules">
+ <!-- Leave out the old zip and class files -->
+ <exclude name="**/*.class"/>
+ <exclude name="**/*.zip"/>
+ </fileset>
+ </copy>
+
+
+ <!-- Copy the module class files over starting with core -->
+ <copy file="${build.classes.dir}/org/alchemy/core/AlcCore.class" todir="${build.dir}/modules/core/org/alchemy"/>
+
+
+ <!-- CREATES -->
+ <for list="shapes,typeShapes,inverseShapes,micShapes,medianShapes,speedShapes,xShapes,traceShapes,detachShapes,scrawlShapes,pullShapes,pressureShapes,splatterShapes,ribbonShapes,pitchShapes,evolveShapes" param="create">
+ <sequential>
+ <copy todir="${build.dir}/modules/@{create}/org/alchemy/create">
+ <!-- Include all files that begin with the module name -->
+ <fileset dir="${build.classes.dir}/org/alchemy/create/" includes="@{create}*" casesensitive="no" />
+ </copy>
+ </sequential>
+ </for>
+
+
+ <!-- AFFECTS -->
+ <for list="mirror,blindness,random,micExpand,repeat,displace,colorSwitcher,shapeSwap,gradient,smooth,limit" param="affect">
+ <sequential>
+ <copy todir="${build.dir}/modules/@{affect}/org/alchemy/affect">
+ <!-- Include all files that begin with the module name -->
+ <fileset dir="${build.classes.dir}/org/alchemy/affect/" includes="@{affect}*" casesensitive="no" />
+ </copy>
+ </sequential>
+ </for>
+
+ <!-- Delete the module class files so they are included as plugins and not in the dist -->
+ <delete includeemptydirs="true">
+ <fileset dir="${build.classes.dir}/org/alchemy/affect" includes="**/*"/>
+ <fileset dir="${build.classes.dir}/org/alchemy/create" includes="**/*"/>
+ </delete>
+ </target>
+ <target name="-post-jar">
+
+ <!-- Classpath for the custom tasks -->
+ <path id="classpath">
+ <fileset dir="lib/jpf" includes="*.jar" />
+ </path>
+
+ <!-- Define custom JPF specific Ant tasks -->
+ <typedef resource="org/java/plugin/tools/ant/jpf-tasks.properties">
+ <classpath refid="classpath" />
+ </typedef>
+
+ <!-- Call "jpf-zip" task to process plug-ins packaging every plug-in
+ from the build dir as single ZIP file -->
+ <jpf-zip
+ basedir="${build.dir}/modules"
+ includes="*/*.xml"
+ destdir="${build.dir}/modules"/>
+
+ <!-- The Alchemy folder in the dist directory -->
+ <property name="alchemy.dir" value="${dist.dir}/Alchemy"/>
+
+ <!-- Copy all of the modules to the dist/Alchemy/modules dir -->
+ <copy todir="${alchemy.dir}/modules">
+ <fileset dir="${build.dir}/modules">
+ <include name="**/*.zip"/>
+ <exclude name="**/*shapeSwap*"/>
+ <exclude name="**/*pitchShapes*"/>
+ </fileset>
+ </copy>
+
+
+ <!-- Delete the old modules then copy the new ones to the base directory -->
+ <delete>
+ <fileset dir="${basedir}/modules" includes="*.zip"/>
+ </delete>
+ <copy todir="${basedir}/modules">
+ <fileset dir="${build.dir}/modules">
+ <include name="*.zip"/>
+ </fileset>
+ </copy>
+
+
+ <!-- Delete the lib directory
+ Required libs are added manually based on the platform -->
+ <delete dir="${dist.dir}/lib"/>
+ <!-- Delete the Netbeans README.TXT file -->
+ <delete file="${dist.dir}/README.TXT"/>
+
+ <!-- Copy the manual into the dist directory -->
+ <copy file="${basedir}/res/Alchemy.pdf" todir="${alchemy.dir}"/>
+ <copy file="${basedir}/res/COPYING" todir="${alchemy.dir}"/>
+ <copy file="${basedir}/res/ReadMe.txt" todir="${alchemy.dir}"/>
+
+ <!-- Copy the shapes folder into the dist directory -->
+ <copy todir="${alchemy.dir}/shapes">
+ <fileset dir="${basedir}/shapes" />
+ </copy>
+
+ <!-- Create platform specific executables -->
+ <antcall target="unix"/>
+ </target>
+
+
+ <!--
+ ======================
+ LINUX
+ ======================
+ -->
+ <target name="unix" if="unix">
+
+ <!-- LINUX Shell Script to Launch Alchemy -->
+ <copy file="${basedir}/res/Alchemy" todir="${alchemy.dir}"/>
+ <copy file="${basedir}/res/AlchemyOpenGL" todir="${alchemy.dir}"/>
+ <!-- Make the shell script executable -->
+ <chmod file="${alchemy.dir}/Alchemy" perm="+x"/>
+ <chmod file="${alchemy.dir}/AlchemyOpenGL" perm="+x"/>
+
+ <!-- JPen -->
+ <copy file="${basedir}/lib/jpen/libjpen-2-3.so" todir="${alchemy.dir}/lib"/>
+ <copy file="${basedir}/lib/jpen/libjpen-2-3-ia64.so" todir="${alchemy.dir}/lib"/>
+ <copy file="${basedir}/lib/jpen/libjpen-2-3-x86_64.so" todir="${alchemy.dir}/lib"/>
+
+ <!-- Move the Jar file -->
+ <move file="${dist.dir}/Alchemy.jar" tofile="${alchemy.dir}/Alchemy.jar"/>
+ <echo message="Copying modules" />
+ <copy todir="${alchemy.dir}/modules">
+ <fileset dir="${dist.dir}/modules">
+ <include name="*.zip"/>
+ </fileset>
+ </copy>
+
+ <!-- Create a .tar.gz for distribution
+ <tar destfile="${dist.dir}/Alchemy-${version.number}.tar" basedir="${dist.dir}"/>
+ <gzip destfile="${dist.dir}/Alchemy-${version.number}.tar.gz" src="${dist.dir}/Alchemy-${version.number}.tar"/>
+ <delete file="${dist.dir}/Alchemy-${version.number}.tar" />
+ -->
+ </target>
+
+ <!-- JAVA DOCS -->
+ <target name="-javadoc-build" depends="init">
+ <mkdir dir="${dist.javadoc.dir}"/>
+ <javadoc destdir="${dist.javadoc.dir}" source="${javac.source}" notree="${javadoc.notree}" use="${javadoc.use}" nonavbar="${javadoc.nonavbar}" noindex="${javadoc.noindex}" splitindex="${javadoc.splitindex}" author="${javadoc.author}" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}" private="${javadoc.private}" additionalparam="${javadoc.additionalparam}" failonerror="true" useexternalfile="true">
+ <classpath>
+ <path path="${javac.classpath}"/>
+ </classpath>
+ <sourcepath>
+ <pathelement location="${basedir}/src/org/alchemy/core"/>
+ </sourcepath>
+ <packageset dir="${basedir}/src/org/alchemy/core" includes="*/**"/>
+ <fileset dir="${basedir}/src/org/alchemy/core" includes="*.java" excludes="AlcCore.java"/>
+ </javadoc>
+ </target>
+</project>