Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
Subject: gentoo-x86 commit in dev-java/xmlgraphics-commons: ChangeLog xmlgraphics-commons-1.2.ebuild
Date: Tue, 18 Sep 2007 22:17:53 +0000
betelgeuse    07/09/18 22:17:53

  Modified:             ChangeLog
  Added:                xmlgraphics-commons-1.2.ebuild
  Log:
  Version bump.
  (Portage version: 2.1.3.7)

Revision  Changes    Path
1.8                  dev-java/xmlgraphics-commons/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	21 Aug 2007 05:08:26 -0000	1.7
+++ ChangeLog	18 Sep 2007 22:17:53 -0000	1.8
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/xmlgraphics-commons
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog,v 1.7 2007/08/21 05:08:26 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog,v 1.8 2007/09/18 22:17:53 betelgeuse Exp $
+
+*xmlgraphics-commons-1.2 (18 Sep 2007)
+
+  18 Sep 2007; Petteri R├Ąty <betelgeuse@g.o>
+  +xmlgraphics-commons-1.2.ebuild:
+  Version bump.
 
   21 Aug 2007; William L. Thomson Jr. <wltjr@g.o>
   xmlgraphics-commons-1.1.ebuild:



1.1                  dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2.ebuild?rev=1.1&content-type=text/plain

Index: xmlgraphics-commons-1.2.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2.ebuild,v 1.1 2007/09/18 22:17:53 betelgeuse Exp $

JAVA_PKG_IUSE="doc examples source test"

inherit java-pkg-2 java-ant-2

DESCRIPTION="A library of several reusable components used by Apache Batik and Apache FOP."
HOMEPAGE="http://xmlgraphics.apache.org/commons/index.html"
SRC_URI="mirror://apache/xmlgraphics/commons/source/${P}-src.tar.gz"

LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE="jpeg"

# fails connect to X even tho it sets java.awt.headless
RESTRICT="test"
CDEPEND=">=dev-java/commons-io-1"
DEPEND=">=virtual/jdk-1.4
		jpeg? (
			|| (
				>=dev-java/sun-jdk-1.4
				>=dev-java/blackdown-jdk-1.4
				>=dev-java/ibm-jdk-bin-1.4
				>=dev-java/jrockit-jdk-bin-1.4
			)
		)
		test? (
			dev-java/ant-junit
		)
		${CDEPEND}"
RDEPEND=">=virtual/jre-1.4
		${CDEPEND}"

# TODO investigate producing .net libraries
# stratigies for non sun jdk's/jre's

pkg_setup() {
	java-pkg-2_pkg_setup

	if use jpeg && java-pkg_current-vm-matches kaffe; then
		eerror "Sun-private JPEG support cannot be built with kaffe."
		eerror "Please set your build VM to Sun, Blackdown, IBM or JRockit JDK."
		eerror "See http://www.gentoo.org/doc/en/java.xml for details."
		eerror "Alternatively, install this package with USE=-jpeg"
		die "Cannot build with USE=jpeg and kaffe."
	fi
}

src_unpack() {
	unpack ${A}
	cd "${S}"

	# automagic bad
	java-ant_ignore-system-classes || die

	cd ${S}/lib || die
	rm -v *.jar || die

	java-pkg_jarfrom commons-io-1
}

src_compile() {
	local af="-Djdk14.present=true"
	use jpeg && af="${af} -Dsun.jpeg.present=true"
	eant ${af} jar-main $(use_doc javadocs)
}

src_test() {
	java-pkg_jarfrom --into lib junit
	# probably needs ${af} from src_compile, doesn't work anyway
	ANT_TASKS="ant-junit" eant -Djunit.present=true junit
}

src_install(){
	java-pkg_newjar build/${P}.jar
	use source && java-pkg_dosrc src/java/org src/java-1.4/org
	use doc && java-pkg_dojavadoc build/javadocs
}



-- 
gentoo-commits@g.o mailing list


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in media-sound/gpodder: ChangeLog gpodder-0.9.5.ebuild
Next by thread:
gentoo-x86 commit in dev-java/xmlgraphics-commons: ChangeLog xmlgraphics-commons-1.2.ebuild
Previous by date:
gentoo-x86 commit in media-sound/gpodder: ChangeLog gpodder-0.9.5.ebuild
Next by date:
gentoo-x86 commit in dev-java/fop: fop-0.93-r1.ebuild ChangeLog


Updated Apr 29, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.