dev-java/jPod: initial checkin
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1147 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
0608b40d3b
commit
0af6028395
@ -2,6 +2,10 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
20 Apr 2009; Mario Fetka <mario.fetka@gmail.com> files/build.properties,
|
||||||
|
files/build.xml, jPod-5.0.20081218:
|
||||||
|
initial checkin
|
||||||
|
|
||||||
20 Apr 2009; Mario Fetka <mario.fetka@gmail.com> iscwt-5.0.20081218:
|
20 Apr 2009; Mario Fetka <mario.fetka@gmail.com> iscwt-5.0.20081218:
|
||||||
correct keywords
|
correct keywords
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
AUX build.properties 260 RMD160 eb438289e84f3cd3a69c606dd7a127b72f9675d1 SHA1 e63baf9d9721a1e35cafdb515e6802183140b6ee SHA256 af55a49cd86c5fc3a24518868b979315285d577964ab0304641e80fd1e5ff212
|
AUX build.properties 206 RMD160 c1af7d5c00ba121595c480ed69b1d46d599ded0f SHA1 615484e4d408d6bdc8e72511b1fa927633abcbf8 SHA256 ea963899bb772587a3bbf9321d5b26e440886c975bf7cd25c3729a47884b1326
|
||||||
AUX build.xml 3489 RMD160 8e70987afa4c7dfd8f5862fee68c48e297ee801c SHA1 a8d02c4c2a8f322199e7ebd631678d372bc4873a SHA256 e4b3d31223498fba854209566eca7ec707ef91ac0924a0d7c6a22f01755c3e44
|
AUX build.xml 3290 RMD160 a30cbc77cee91d16ade6405b2215ad06fd4b99f0 SHA1 cfe7c400f40c9a09a559ec77fc20c9ea264d68a3 SHA256 7d3c8b5d814aca06c6069ca1ca01a402b14d200c66096367bebb176554f4fd6c
|
||||||
DIST isCWT.5.0.20081218.zip 1929374 RMD160 31480f2aa2ec9452f205747d9c3eabce562c4a78 SHA1 6cae1e4f106aa3f7bdfb137bb06ffaa884fd6e1b SHA256 7dd403c75ebbc00058ea373bea6f300eebaa32cd1ef943a4abefbc9682d86fcf
|
DIST jPod.5.0.20081218.zip 5816607 RMD160 15bef11c265487cd2257e362e7471f9acef45543 SHA1 3e2c87c270d3bc38ad4a4aa84218b7e899eb1100 SHA256 f0cd425f7f52ad2365497774b68c8a2b2edf44cd3587d9e30f408f368848a815
|
||||||
EBUILD iscwt-5.0.20081218.ebuild 1702 RMD160 e584f7eb2617d5f7fe4626bcc1253cfa9782f9c1 SHA1 097b099136e53141845551fdd1d34cc5ab1f9954 SHA256 e1304da2f02df8ed3035a28390183b4492d297ea09948fcaeb8a03a2ad2ae146
|
EBUILD jPod-5.0.20081218.ebuild 1459 RMD160 613889e0332cc53e72eb3c1cdd60b24c0bf65530 SHA1 934a16fbc03b56514f5d82b15633843413ebf16d SHA256 1a5817bea3ec0438589dcb43836a88d3c25377525f4d457a212eb6e553c835b4
|
||||||
MISC ChangeLog 287 RMD160 1310d843f1938e304365c74473d767e6107ebb18 SHA1 36fc1bdc2affd6ac9302b9277e1985c5467028ce SHA256 14d8155adb7ac96669a3472547ac61a507018897e7d29026f3f6c411df153447
|
MISC ChangeLog 419 RMD160 9b8516797122e33ad4b15ccd145a2370651d7807 SHA1 3dd715e4e5da063d9eb9d8bd0d09bb0c024ef903 SHA256 b2f8bc09dd727061f32dc76dacea67550684c7fd77f606d8a0616b8ac769f9e0
|
||||||
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
|
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
|
||||||
|
@ -3,10 +3,8 @@ build.dir=build
|
|||||||
|
|
||||||
#libraries
|
#libraries
|
||||||
libs.dir=lib
|
libs.dir=lib
|
||||||
swt.jar.name=swt
|
jbig2.jar.name=jbig2
|
||||||
jna.jar.name=jna
|
|
||||||
isrt.jar.name=isrt
|
isrt.jar.name=isrt
|
||||||
isnativec.jar.name=isnativec
|
|
||||||
isfreetype.jar.name=isfreetype
|
|
||||||
iscwt.jar.name=iscwt
|
iscwt.jar.name=iscwt
|
||||||
|
jPod.jar.name=jPod
|
||||||
|
|
||||||
|
@ -1,68 +1,66 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project name="iscwt" default="build-jars" basedir="../">
|
<project name="jPod" default="build-jars" basedir="../">
|
||||||
<description>
|
<description>
|
||||||
This is a window toolkit and basic rendering abstraction layer
|
This is a window toolkit and basic rendering abstraction layer
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<!-- set global properties for this build -->
|
<!-- set global properties for this build -->
|
||||||
<property name="user.name" value="intarsys consulting GmbH"/>
|
<property name="user.name" value="intarsys consulting GmbH"/>
|
||||||
<property name="iscwt.src.dir" location="src"/>
|
<property name="jPod.src.dir" location="src"/>
|
||||||
<property name="iscwt.resource.dir" location="resource"/>
|
<property name="jPod.resource.dir" location="resource"/>
|
||||||
|
|
||||||
<target name="init">
|
<target name="init">
|
||||||
<property file="ant/build.properties" />
|
<property file="ant/build.properties" />
|
||||||
|
|
||||||
<property name="iscwt.build.root" location="${build.dir}/iscwt"/>
|
<property name="jPod.build.root" location="${build.dir}/jPod"/>
|
||||||
<property name="iscwt.build.dir" location="${iscwt.build.root}/build"/>
|
<property name="jPod.build.dir" location="${jPod.build.root}/build"/>
|
||||||
<property name="iscwt.dist.dir" location="${iscwt.build.root}/dist"/>
|
<property name="jPod.dist.dir" location="${jPod.build.root}/dist"/>
|
||||||
<property name="iscwt.javadoc.dir" location="${iscwt.build.root}/javadoc"/>
|
<property name="jPod.javadoc.dir" location="${jPod.build.root}/javadoc"/>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="make-structure" depends="init">
|
<target name="make-structure" depends="init">
|
||||||
<!-- Create the build directory structure used by compile -->
|
<!-- Create the build directory structure used by compile -->
|
||||||
<mkdir dir="${iscwt.build.dir}"/>
|
<mkdir dir="${jPod.build.dir}"/>
|
||||||
<mkdir dir="${iscwt.dist.dir}"/>
|
<mkdir dir="${jPod.dist.dir}"/>
|
||||||
<mkdir dir="${iscwt.javadoc.dir}"/>
|
<mkdir dir="${jPod.javadoc.dir}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean" depends="init" description="clean up" >
|
<target name="clean" depends="init" description="clean up" >
|
||||||
<!-- Delete the ${dist} directory trees -->
|
<!-- Delete the ${dist} directory trees -->
|
||||||
<delete dir="${iscwt.javadoc.dir}"/>
|
<delete dir="${jPod.javadoc.dir}"/>
|
||||||
<delete dir="${iscwt.dist.dir}"/>
|
<delete dir="${jPod.dist.dir}"/>
|
||||||
<delete dir="${iscwt.build.dir}"/>
|
<delete dir="${jPod.build.dir}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="compile" depends="make-structure" description="iscwt compile" >
|
<target name="compile" depends="make-structure" description="jPod compile" >
|
||||||
<!-- Construct classpath -->
|
<!-- Construct classpath -->
|
||||||
<path id="iscwt.classpath">
|
<path id="jPod.classpath">
|
||||||
<fileset dir="${libs.dir}">
|
<fileset dir="${libs.dir}">
|
||||||
<include name="**/${isrt.jar.name}.jar"/>
|
<include name="**/${isrt.jar.name}.jar"/>
|
||||||
<include name="**/${isnativec.jar.name}.jar"/>
|
<include name="**/${iscwt.jar.name}.jar"/>
|
||||||
<include name="**/${isfreetype.jar.name}.jar"/>
|
<include name="**/${jbig2.jar.name}.jar"/>
|
||||||
<include name="**/${jna.jar.name}.jar"/>
|
|
||||||
<include name="**/${swt.jar.name}.jar"/>
|
|
||||||
</fileset>
|
</fileset>
|
||||||
<pathelement path="${iscwt.build.dir}"/>
|
<pathelement path="${jPod.build.dir}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<!-- Compile the java code -->
|
<!-- Compile the java code -->
|
||||||
<javac compiler="javac1.4" target="1.4" source="1.4" srcdir="${iscwt.src.dir}" destdir="${iscwt.build.dir}" debug="true">
|
<javac compiler="javac1.4" target="1.4" source="1.4" srcdir="${jPod.src.dir}" destdir="${jPod.build.dir}" debug="true">
|
||||||
<classpath refid="iscwt.classpath"/>
|
<classpath refid="jPod.classpath"/>
|
||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build-jars" depends="compile" description="generate the distribution" >
|
<target name="build-jars" depends="compile" description="generate the distribution" >
|
||||||
|
|
||||||
<jar jarfile="${iscwt.dist.dir}/${iscwt.jar.name}.jar" basedir="${iscwt.build.dir}">
|
<jar jarfile="${jPod.dist.dir}/${jPod.jar.name}.jar" basedir="${jPod.build.dir}">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Built-By" value="${user.name}"/>
|
<attribute name="Built-By" value="${user.name}"/>
|
||||||
<attribute name="Main-Class" value=""/>
|
<attribute name="Main-Class" value=""/>
|
||||||
<attribute name="Class-Path" value="${isrt.jar.name}.jar ${isnativec.jar.name}.jar ${isfreetype.jar.name}.jar ${jna.jar.name}.jar ${swt.jar.name}.jar"/>
|
<attribute name="Class-Path" value="${isrt.jar.name}.jar ${iscwt.jar.name}.jar ${jbig2.jar.name}.jar"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
<!-- <fileset dir="${iscwt.resource.dir}">
|
<fileset dir="${jPod.resource.dir}">
|
||||||
<include name="**/*"/>
|
<include name="**/*"/>
|
||||||
</fileset> -->
|
</fileset>
|
||||||
</jar>
|
</jar>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
@ -70,30 +68,30 @@
|
|||||||
<!-- Javadoc -->
|
<!-- Javadoc -->
|
||||||
<target name="javadoc" depends="make-structure">
|
<target name="javadoc" depends="make-structure">
|
||||||
<javadoc
|
<javadoc
|
||||||
packagenames="de.intarsys.cwt.*"
|
packagenames="de.intarsys.pdf.*"
|
||||||
sourcepath="${iscwt.src.dir}"
|
sourcepath="${jPod.src.dir}"
|
||||||
destdir="${iscwt.javadoc.dir}"
|
destdir="${jPod.javadoc.dir}"
|
||||||
author="true"
|
author="true"
|
||||||
version="true"
|
version="true"
|
||||||
use="true"
|
use="true"
|
||||||
windowtitle="cwt API"
|
windowtitle="jPod API"
|
||||||
doctitle="cwt API" >
|
doctitle="jPod API" >
|
||||||
<classpath refid="iscwt.classpath"/>
|
<classpath refid="jPod.classpath"/>
|
||||||
</javadoc>
|
</javadoc>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<target name="buildZipSrcPackage" depends="javadoc" description="generate build sources zip package" >
|
<target name="buildZipSrcPackage" depends="javadoc" description="generate build sources zip package" >
|
||||||
<zip destfile="${iscwt.dist.dir}/${iscwt.jar.name}-build-src.zip">
|
<zip destfile="${jPod.dist.dir}/${jPod.jar.name}-build-src.zip">
|
||||||
<fileset dir="..">
|
<fileset dir="..">
|
||||||
<include name="iscwt/src/**/*"/>
|
<include name="jPod/src/**/*"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
<fileset dir="${build.dir}">
|
<fileset dir="${build.dir}">
|
||||||
<include name="iscwt/javadoc/**/*.*"/>
|
<include name="jPod/javadoc/**/*.*"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
<fileset dir="..">
|
<fileset dir="..">
|
||||||
<include name="iscwt/ant/**/*.*"/>
|
<include name="jPod/ant/**/*.*"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</zip>
|
</zip>
|
||||||
</target>
|
</target>
|
||||||
|
@ -6,7 +6,7 @@ JAVA_PKG_IUSE="source"
|
|||||||
|
|
||||||
inherit java-pkg-2 java-ant-2
|
inherit java-pkg-2 java-ant-2
|
||||||
|
|
||||||
DESCRIPTION="This is a window toolkit and basic rendering abstraction layer."
|
DESCRIPTION="A library for reading, writing and manipulating PDF files."
|
||||||
HOMEPAGE="http://jpwgen.berlios.de/"
|
HOMEPAGE="http://jpwgen.berlios.de/"
|
||||||
SRC_URI="mirror://sourceforge/jpodrenderer/jPod.${PV}.zip"
|
SRC_URI="mirror://sourceforge/jpodrenderer/jPod.${PV}.zip"
|
||||||
|
|
||||||
@ -15,11 +15,9 @@ SLOT="0"
|
|||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE="doc"
|
IUSE="doc"
|
||||||
|
|
||||||
COMMON_DEP="dev-java/jna
|
COMMON_DEP="dev-java/isrt
|
||||||
dev-java/swt:3.4
|
dev-java/jbig2
|
||||||
dev-java/isrt
|
dev-java/iscwt"
|
||||||
dev-java/isnativec
|
|
||||||
dev-java/isfreetype"
|
|
||||||
RDEPEND=">=virtual/jre-1.5
|
RDEPEND=">=virtual/jre-1.5
|
||||||
${COMMON_DEP}"
|
${COMMON_DEP}"
|
||||||
DEPEND=">=virtual/jdk-1.5
|
DEPEND=">=virtual/jdk-1.5
|
||||||
@ -38,18 +36,14 @@ src_unpack() {
|
|||||||
echo > ${S}/ant/build.properties
|
echo > ${S}/ant/build.properties
|
||||||
echo "build.dir=${S}/build" >> ${S}/ant/build.properties
|
echo "build.dir=${S}/build" >> ${S}/ant/build.properties
|
||||||
echo "libs.dir=${S}" >> ${S}/ant/build.properties
|
echo "libs.dir=${S}" >> ${S}/ant/build.properties
|
||||||
echo "jna.jar.name=jna" >> ${S}/ant/build.properties
|
echo "jbig2.jar.name=jbig2" >> ${S}/ant/build.properties
|
||||||
echo "swt.jar.name=swt" >> ${S}/ant/build.properties
|
|
||||||
echo "isrt.jar.name=isrt" >> ${S}/ant/build.properties
|
echo "isrt.jar.name=isrt" >> ${S}/ant/build.properties
|
||||||
echo "isnativec.jar.name=isnativec" >> ${S}/ant/build.properties
|
|
||||||
echo "isfreetype.jar.name=isfreetype" >> ${S}/ant/build.properties
|
|
||||||
echo "iscwt.jar.name=iscwt" >> ${S}/ant/build.properties
|
echo "iscwt.jar.name=iscwt" >> ${S}/ant/build.properties
|
||||||
|
echo "jPod.jar.name=jPod" >> ${S}/ant/build.properties
|
||||||
|
|
||||||
java-pkg_jarfrom isfreetype
|
|
||||||
java-pkg_jarfrom isnativec
|
|
||||||
java-pkg_jarfrom isrt
|
java-pkg_jarfrom isrt
|
||||||
java-pkg_jarfrom swt-3.4
|
java-pkg_jarfrom iscwt
|
||||||
java-pkg_jarfrom jna
|
java-pkg_jarfrom jbig2
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
@ -59,9 +53,9 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
java-pkg_dojar build/iscwt/dist/iscwt.jar
|
java-pkg_dojar build/jPod/dist/jPod.jar
|
||||||
|
|
||||||
use source && java-pkg_dosrc src/*
|
use source && java-pkg_dosrc src/*
|
||||||
|
|
||||||
use doc && java-pkg_dojavadoc build/iscwt/javadoc
|
use doc && java-pkg_dojavadoc build/jPod/javadoc
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user