add jbig2

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1145 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-04-20 20:22:26 +00:00
parent fa3e09ea5c
commit 2e12159142
11 changed files with 366 additions and 0 deletions

10
dev-java/jPod/ChangeLog Normal file
View File

@ -0,0 +1,10 @@
# ChangeLog for dev-java/iscwt
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
20 Apr 2009; Mario Fetka <mario.fetka@gmail.com> iscwt-5.0.20081218:
correct keywords
20 Apr 2009; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
initial checkin

6
dev-java/jPod/Manifest Normal file
View File

@ -0,0 +1,6 @@
AUX build.properties 260 RMD160 eb438289e84f3cd3a69c606dd7a127b72f9675d1 SHA1 e63baf9d9721a1e35cafdb515e6802183140b6ee SHA256 af55a49cd86c5fc3a24518868b979315285d577964ab0304641e80fd1e5ff212
AUX build.xml 3489 RMD160 8e70987afa4c7dfd8f5862fee68c48e297ee801c SHA1 a8d02c4c2a8f322199e7ebd631678d372bc4873a SHA256 e4b3d31223498fba854209566eca7ec707ef91ac0924a0d7c6a22f01755c3e44
DIST isCWT.5.0.20081218.zip 1929374 RMD160 31480f2aa2ec9452f205747d9c3eabce562c4a78 SHA1 6cae1e4f106aa3f7bdfb137bb06ffaa884fd6e1b SHA256 7dd403c75ebbc00058ea373bea6f300eebaa32cd1ef943a4abefbc9682d86fcf
EBUILD iscwt-5.0.20081218.ebuild 1702 RMD160 e584f7eb2617d5f7fe4626bcc1253cfa9782f9c1 SHA1 097b099136e53141845551fdd1d34cc5ab1f9954 SHA256 e1304da2f02df8ed3035a28390183b4492d297ea09948fcaeb8a03a2ad2ae146
MISC ChangeLog 287 RMD160 1310d843f1938e304365c74473d767e6107ebb18 SHA1 36fc1bdc2affd6ac9302b9277e1985c5467028ce SHA256 14d8155adb7ac96669a3472547ac61a507018897e7d29026f3f6c411df153447
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb

View File

@ -0,0 +1,12 @@
#where classes are compiled, jars distributed, javadocs created and release created
build.dir=build
#libraries
libs.dir=lib
swt.jar.name=swt
jna.jar.name=jna
isrt.jar.name=isrt
isnativec.jar.name=isnativec
isfreetype.jar.name=isfreetype
iscwt.jar.name=iscwt

View File

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="iscwt" default="build-jars" basedir="../">
<description>
This is a window toolkit and basic rendering abstraction layer
</description>
<!-- set global properties for this build -->
<property name="user.name" value="intarsys consulting GmbH"/>
<property name="iscwt.src.dir" location="src"/>
<property name="iscwt.resource.dir" location="resource"/>
<target name="init">
<property file="ant/build.properties" />
<property name="iscwt.build.root" location="${build.dir}/iscwt"/>
<property name="iscwt.build.dir" location="${iscwt.build.root}/build"/>
<property name="iscwt.dist.dir" location="${iscwt.build.root}/dist"/>
<property name="iscwt.javadoc.dir" location="${iscwt.build.root}/javadoc"/>
</target>
<target name="make-structure" depends="init">
<!-- Create the build directory structure used by compile -->
<mkdir dir="${iscwt.build.dir}"/>
<mkdir dir="${iscwt.dist.dir}"/>
<mkdir dir="${iscwt.javadoc.dir}"/>
</target>
<target name="clean" depends="init" description="clean up" >
<!-- Delete the ${dist} directory trees -->
<delete dir="${iscwt.javadoc.dir}"/>
<delete dir="${iscwt.dist.dir}"/>
<delete dir="${iscwt.build.dir}"/>
</target>
<target name="compile" depends="make-structure" description="iscwt compile" >
<!-- Construct classpath -->
<path id="iscwt.classpath">
<fileset dir="${libs.dir}">
<include name="**/${isrt.jar.name}.jar"/>
<include name="**/${isnativec.jar.name}.jar"/>
<include name="**/${isfreetype.jar.name}.jar"/>
<include name="**/${jna.jar.name}.jar"/>
<include name="**/${swt.jar.name}.jar"/>
</fileset>
<pathelement path="${iscwt.build.dir}"/>
</path>
<!-- Compile the java code -->
<javac compiler="javac1.4" target="1.4" source="1.4" srcdir="${iscwt.src.dir}" destdir="${iscwt.build.dir}" debug="true">
<classpath refid="iscwt.classpath"/>
</javac>
</target>
<target name="build-jars" depends="compile" description="generate the distribution" >
<jar jarfile="${iscwt.dist.dir}/${iscwt.jar.name}.jar" basedir="${iscwt.build.dir}">
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<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"/>
</manifest>
<!-- <fileset dir="${iscwt.resource.dir}">
<include name="**/*"/>
</fileset> -->
</jar>
</target>
<!-- Javadoc -->
<target name="javadoc" depends="make-structure">
<javadoc
packagenames="de.intarsys.cwt.*"
sourcepath="${iscwt.src.dir}"
destdir="${iscwt.javadoc.dir}"
author="true"
version="true"
use="true"
windowtitle="cwt API"
doctitle="cwt API" >
<classpath refid="iscwt.classpath"/>
</javadoc>
</target>
<target name="buildZipSrcPackage" depends="javadoc" description="generate build sources zip package" >
<zip destfile="${iscwt.dist.dir}/${iscwt.jar.name}-build-src.zip">
<fileset dir="..">
<include name="iscwt/src/**/*"/>
</fileset>
<fileset dir="${build.dir}">
<include name="iscwt/javadoc/**/*.*"/>
</fileset>
<fileset dir="..">
<include name="iscwt/ant/**/*.*"/>
</fileset>
</zip>
</target>
</project>

View File

@ -0,0 +1,67 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="This is a window toolkit and basic rendering abstraction layer."
HOMEPAGE="http://jpwgen.berlios.de/"
SRC_URI="mirror://sourceforge/jpodrenderer/jPod.${PV}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
COMMON_DEP="dev-java/jna
dev-java/swt:3.4
dev-java/isrt
dev-java/isnativec
dev-java/isfreetype"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
${COMMON_DEP}
app-arch/unzip"
S="${WORKDIR}"/distribution
src_unpack() {
unpack ${A}
cd "${S}"
mkdir ant
cp "${FILESDIR}/build.xml" "${S}"/ant
echo > ${S}/ant/build.properties
echo "build.dir=${S}/build" >> ${S}/ant/build.properties
echo "libs.dir=${S}" >> ${S}/ant/build.properties
echo "jna.jar.name=jna" >> ${S}/ant/build.properties
echo "swt.jar.name=swt" >> ${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
java-pkg_jarfrom isfreetype
java-pkg_jarfrom isnativec
java-pkg_jarfrom isrt
java-pkg_jarfrom swt-3.4
java-pkg_jarfrom jna
}
src_compile() {
eant ${antflags} -buildfile ant/build.xml || die "build failed"
use doc && eant ${antflags} -buildfile ant/build.xml javadoc || die "doc build failed"
}
src_install() {
java-pkg_dojar build/iscwt/dist/iscwt.jar
use source && java-pkg_dosrc src/*
use doc && java-pkg_dojavadoc build/iscwt/javadoc
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
</pkgmetadata>

6
dev-java/jbig2/Manifest Normal file
View File

@ -0,0 +1,6 @@
AUX build.properties 147 RMD160 2f793574aac8d7dae6f595d17d891c4b83bd5603 SHA1 be815d4bcd263956a230a8c0e9aa389f3e3ab7b6 SHA256 552afa0335c554f39a813da045653cf2dbdeab7f04cccd3e4e92dc21b0a953b7
AUX build.xml 3148 RMD160 6b6ef267f6d37af13eb51530c040683d05d5fc47 SHA1 1674e10e41570563d52db19e73a23f00c20733e8 SHA256 cb3b688a833e944a45623162019e551dadf2538979f3cb13b89e10d21cf7380e
DIST jbig2_src-20090114.zip 113597 RMD160 f9eb922a34ef665e5da2eb777455db2d3b3a174b SHA1 2e0d0a57d4b7e2abbf50efb17f3fc358450f6c8c SHA256 94ace4545cfac6e5bed801fca641ad577cd821d0ef7d8e3bcf523ef586146cdd
EBUILD jbig2-20090114.ebuild 1136 RMD160 b8f45cc7ebe6cd38752cf34de99d72523288cfd3 SHA1 4d5e9d329fd756c998a8d78f5552173c60f793aa SHA256 892a9502ca9ca8afa8368439fc6f32a7cce0e5d339a5bd0ea60648cc8b94a4ec
MISC ChangeLog 194 RMD160 33bc637a120085fa1d258fc96077c9659f168273 SHA1 62154a70931c7ab899067b65e49567a1a70e677b SHA256 59cda95a17c129478831c74028dd112f1a4a1050e06c5d10f327de4689f14a25
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb

View File

@ -0,0 +1,7 @@
#where classes are compiled, jars distributed, javadocs created and release created
build.dir=build
#libraries
libs.dir=lib
jbig2.jar.name=jbig2

View File

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="jbig2" default="build-jars" basedir="../">
<description>
The JPedal JBIG2 Image Decoder is a 100% pure Java image decoder for the JBIG2 file format.
</description>
<!-- set global properties for this build -->
<property name="user.name" value="intarsys consulting GmbH"/>
<property name="jbig2.src.dir" location="src"/>
<target name="init">
<property file="ant/build.properties" />
<property name="jbig2.build.root" location="${build.dir}/jbig2"/>
<property name="jbig2.build.dir" location="${jbig2.build.root}/build"/>
<property name="jbig2.dist.dir" location="${jbig2.build.root}/dist"/>
<property name="jbig2.javadoc.dir" location="${jbig2.build.root}/javadoc"/>
</target>
<target name="make-structure" depends="init">
<!-- Create the build directory structure used by compile -->
<mkdir dir="${jbig2.build.dir}"/>
<mkdir dir="${jbig2.dist.dir}"/>
<mkdir dir="${jbig2.javadoc.dir}"/>
</target>
<target name="clean" depends="init" description="clean up" >
<!-- Delete the ${dist} directory trees -->
<delete dir="${jbig2.javadoc.dir}"/>
<delete dir="${jbig2.dist.dir}"/>
<delete dir="${jbig2.build.dir}"/>
</target>
<target name="compile" depends="make-structure" description="jbig2 compile" >
<!-- Construct classpath -->
<path id="jbig2.classpath">
<!-- <fileset dir="${libs.dir}">
<include name="**/${jbig2.jar.name}.jar"/>
<include name="**/${jna.jar.name}.jar"/>
</fileset> -->
<pathelement path="${jbig2.build.dir}"/>
</path>
<!-- Compile the java code -->
<javac compiler="javac1.4" target="1.4" source="1.4" srcdir="${jbig2.src.dir}" destdir="${jbig2.build.dir}" debug="true">
<classpath refid="jbig2.classpath"/>
</javac>
</target>
<target name="build-jars" depends="compile" description="generate the distribution" >
<jar jarfile="${jbig2.dist.dir}/${jbig2.jar.name}.jar" basedir="${jbig2.build.dir}">
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Main-Class" value=""/>
<!-- <attribute name="Class-Path" value="${jbig2.jar.name}.jar ${jna.jar.name}.jar"/> -->
</manifest>
</jar>
</target>
<!-- Javadoc -->
<target name="javadoc" depends="make-structure">
<javadoc
packagenames="org.jpedal.jbig2.*"
sourcepath="${jbig2.src.dir}"
destdir="${jbig2.javadoc.dir}"
author="true"
version="true"
use="true"
windowtitle="tools API"
doctitle="tools API" >
<classpath refid="jbig2.classpath"/>
</javadoc>
</target>
<target name="buildZipSrcPackage" depends="javadoc" description="generate build sources zip package" >
<zip destfile="${jbig2.dist.dir}/${jbig2.jar.name}-build-src.zip">
<fileset dir="..">
<include name="jbig2/src/**/*"/>
</fileset>
<fileset dir="${build.dir}">
<include name="jbig2/javadoc/**/*.*"/>
</fileset>
<fileset dir="..">
<include name="jbig2/ant/**/*.*"/>
</fileset>
</zip>
</target>
</project>

View File

@ -0,0 +1,51 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="JPedal JBIG2 Image Decoder"
HOMEPAGE="http://idrsolutions.fogbugzhosting.com/default.asp?W80"
SRC_URI="http://www.jpedal.org/download/jbig2_src.zip -> jbig2_src-${PV}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND=">=virtual/jre-1.5"
DEPEND=">=virtual/jdk-1.5
app-arch/unzip"
S="${WORKDIR}"
src_unpack() {
unpack ${A}
cd "${S}"
mkdir ant
cp "${FILESDIR}/build.xml" "${S}"/ant
echo > ${S}/ant/build.properties
echo "build.dir=${S}/build" >> ${S}/ant/build.properties
echo "libs.dir=${S}" >> ${S}/ant/build.properties
echo "jbig2.jar.name=jbig2" >> ${S}/ant/build.properties
}
src_compile() {
eant ${antflags} -buildfile ant/build.xml || die "build failed"
use doc && eant ${antflags} -buildfile ant/build.xml javadoc || die "doc build failed"
}
src_install() {
java-pkg_dojar build/jbig2/dist/jbig2.jar
use source && java-pkg_dosrc src/*
use doc && java-pkg_dojavadoc build/jbig2/javadoc
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
</pkgmetadata>