summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-01-28 19:05:13 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-01-28 19:05:13 +0000
commit9c7025211e674730addfd2912470b0e00a899e2c (patch)
tree0bd5d810b7350005d293638aaf808124f980f99e
parentInitial addition. Needed for dev-java/flyingsaucer. Fixes bug #207928. Ebuild... (diff)
downloadhistorical-9c7025211e674730addfd2912470b0e00a899e2c.tar.gz
historical-9c7025211e674730addfd2912470b0e00a899e2c.tar.bz2
historical-9c7025211e674730addfd2912470b0e00a899e2c.zip
Initial addition. Fixes bug #207913. Ebuild written by me.
Package-Manager: portage-2.1.4
-rw-r--r--dev-java/flyingsaucer/ChangeLog10
-rw-r--r--dev-java/flyingsaucer/Manifest26
-rw-r--r--dev-java/flyingsaucer/files/digest-flyingsaucer-73
-rw-r--r--dev-java/flyingsaucer/flyingsaucer-7.ebuild70
-rw-r--r--dev-java/flyingsaucer/metadata.xml11
5 files changed, 120 insertions, 0 deletions
diff --git a/dev-java/flyingsaucer/ChangeLog b/dev-java/flyingsaucer/ChangeLog
new file mode 100644
index 000000000000..00034ffebe50
--- /dev/null
+++ b/dev-java/flyingsaucer/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/flyingsaucer
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/flyingsaucer/ChangeLog,v 1.1 2008/01/28 19:05:11 betelgeuse Exp $
+
+*flyingsaucer-7 (28 Jan 2008)
+
+ 28 Jan 2008; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml,
+ +flyingsaucer-7.ebuild:
+ Initial addition. Fixes bug #207913. Ebuild written by me.
+
diff --git a/dev-java/flyingsaucer/Manifest b/dev-java/flyingsaucer/Manifest
new file mode 100644
index 000000000000..b28b9a82eba0
--- /dev/null
+++ b/dev-java/flyingsaucer/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST flyingsaucer-R7final-src.zip 7058444 RMD160 0c8e83d4d220a780ec2d8ad84b590827fbcf9ff2 SHA1 55945177bde5a2230d871aced975c067a3709f7b SHA256 d4539358ae08b5278334ec66beea78a821c9e6fba1db6159317e4c94fb2bf135
+EBUILD flyingsaucer-7.ebuild 1702 RMD160 d4d40887e4872c56d77d439406e41a9fc1a22ba9 SHA1 8eec5308ff00d78202acbe930e008f3af3958332 SHA256 7912d94d9526a16264b9a4702595f094f9d1713ce03c0b1a3bc4671616cf9068
+MD5 c1b08bfd48f124cb01f990711e1de53a flyingsaucer-7.ebuild 1702
+RMD160 d4d40887e4872c56d77d439406e41a9fc1a22ba9 flyingsaucer-7.ebuild 1702
+SHA256 7912d94d9526a16264b9a4702595f094f9d1713ce03c0b1a3bc4671616cf9068 flyingsaucer-7.ebuild 1702
+MISC ChangeLog 406 RMD160 1ecb697744e6243817e6b985914c75dbf9e15508 SHA1 193a65c459726dd36c43fed60618fa7d87556698 SHA256 efdb709cc8d08c5c4ebc8e95d2942d67ed55fd3bee353e751031cf100e3f6c47
+MD5 1912f1e68d5bc5f78b6bd788e8c474ed ChangeLog 406
+RMD160 1ecb697744e6243817e6b985914c75dbf9e15508 ChangeLog 406
+SHA256 efdb709cc8d08c5c4ebc8e95d2942d67ed55fd3bee353e751031cf100e3f6c47 ChangeLog 406
+MISC metadata.xml 358 RMD160 50ba955fa6d7095189d8869cb38a77341be28e2c SHA1 a62263957ef4a508de617bc1ab12f935058fdcd1 SHA256 f11840254a0f20cf6079b12acf98ecb829fcdf6a19e99e7cfda6a54f732a1131
+MD5 afa2cc8571c518e2c022c99b24b4d53d metadata.xml 358
+RMD160 50ba955fa6d7095189d8869cb38a77341be28e2c metadata.xml 358
+SHA256 f11840254a0f20cf6079b12acf98ecb829fcdf6a19e99e7cfda6a54f732a1131 metadata.xml 358
+MD5 ca0a9e99e677c6e307c2fd826a478b4a files/digest-flyingsaucer-7 268
+RMD160 be09ad47dee35f2e8e4a862b9015ccaddcd2cd72 files/digest-flyingsaucer-7 268
+SHA256 df9390b41a1b2bf3aab3a081948f2e1d63b00ece6ce999f017b985c4075d6b0d files/digest-flyingsaucer-7 268
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHnidmcxLzpIGCsLQRAkHFAJ9s6YCpoNJIm9KKBFk211Fy4TFcTwCfao8M
+T0m8/1JSZDpLxTM/JEIhsDI=
+=7GRA
+-----END PGP SIGNATURE-----
diff --git a/dev-java/flyingsaucer/files/digest-flyingsaucer-7 b/dev-java/flyingsaucer/files/digest-flyingsaucer-7
new file mode 100644
index 000000000000..50e0aca25f25
--- /dev/null
+++ b/dev-java/flyingsaucer/files/digest-flyingsaucer-7
@@ -0,0 +1,3 @@
+MD5 1adf2df8a462402bc4d4c52ab37dafe5 flyingsaucer-R7final-src.zip 7058444
+RMD160 0c8e83d4d220a780ec2d8ad84b590827fbcf9ff2 flyingsaucer-R7final-src.zip 7058444
+SHA256 d4539358ae08b5278334ec66beea78a821c9e6fba1db6159317e4c94fb2bf135 flyingsaucer-R7final-src.zip 7058444
diff --git a/dev-java/flyingsaucer/flyingsaucer-7.ebuild b/dev-java/flyingsaucer/flyingsaucer-7.ebuild
new file mode 100644
index 000000000000..5f231222fe56
--- /dev/null
+++ b/dev-java/flyingsaucer/flyingsaucer-7.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/flyingsaucer/flyingsaucer-7.ebuild,v 1.1 2008/01/28 19:05:11 betelgeuse Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="100% Java XHTML+CSS renderer"
+HOMEPAGE="https://xhtmlrenderer.dev.java.net/"
+SRC_URI="http://www.pdoubleya.com/projects/${PN}/downloads/r${PV}/${PN}-R${PV}final-src.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="minimal svg"
+
+COMMON_DEP="
+ dev-java/itext:0
+ svg? ( dev-java/svgsalamander:0 )"
+
+# 1.5 because svgsalamander is 1.5
+RDEPEND="
+ svg? ( >=virtual/jre-1.5 )
+ !svg? ( >=virtual/jre-1.4 )
+ ${COMMON_DEP}"
+DEPEND="
+ svg? ( >=virtual/jdk-1.5 )
+ !svg? ( >=virtual/jdk-1.4 )
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # Save lib/minium.jar because it's not publicly available although it's in
+ # public domain, will separate if something else needs it
+ rm -v lib/itext*.jar lib/dev/*.jar lib/dev/*/*.jar || die
+ cd lib
+ java-pkg_jar-from itext
+ if use svg; then
+ java-pkg_jar-from svgsalamander
+ EANT_BUILD_TARGET+=" jar.svg"
+ fi
+
+ use minimal || EANT_BUILD_TARGET=" jar.docbook jar.about jar.browser"
+}
+
+# Investigate building demos/photogallery demos/filebrowser
+# seems the files are missing for jar.photogaller jar.filebrowser
+EANT_BUILD_TARGET="jar.core"
+EANT_DOC_TARGET="docs"
+
+RESTRICT="test"
+
+# Needs X11
+src_test() {
+ eant test -Djava.awt.headless=true
+}
+
+src_install() {
+ dodoc README || die
+ java-pkg_dojar build/*.jar lib/minium.jar
+ use doc && java-pkg_dojavadoc doc/user/api
+ use source && java-pkg_dosrc src/java/org
+}
diff --git a/dev-java/flyingsaucer/metadata.xml b/dev-java/flyingsaucer/metadata.xml
new file mode 100644
index 000000000000..7cac896c1d96
--- /dev/null
+++ b/dev-java/flyingsaucer/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+
+ <longdescription lang="en">
+ Flying Saucer is a 100% Java XHTML+CSS renderer, including support
+ for table pagination, margin boxes, running elements, named pages,
+ and more.
+ </longdescription>
+</pkgmetadata>