Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 155569 Details for
Bug 202776
dev-java/xmlgraphics-commons-1.3 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
xmlgraphics-commons-9999.ebuild
xmlgraphics-commons-9999.ebuild (text/plain), 2.12 KB, created by
Jiri Tyr
on 2008-06-05 09:01:04 UTC
(
hide
)
Description:
xmlgraphics-commons-9999.ebuild
Filename:
MIME Type:
Creator:
Jiri Tyr
Created:
2008-06-05 09:01:04 UTC
Size:
2.12 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >JAVA_PKG_IUSE="doc examples source test" > >inherit java-pkg-2 java-ant-2 subversion > >ESVN_REPO_URI="http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk" >ESVN_PROJECT="xmlgraphics-commons" >S="${WORKDIR}/trunk" > >DESCRIPTION="A library of several reusable components used by Apache Batik and Apache FOP." >HOMEPAGE="http://xmlgraphics.apache.org/commons/index.html" > >LICENSE="Apache-2.0" >SLOT="1" >KEYWORDS="~amd64 ~x86" >IUSE="jpeg" > ># fails connect to X even tho it sets java.awt.headless >RESTRICT="test" >CDEPEND=">=dev-java/commons-io-1 > dev-java/commons-logging" >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() { > subversion_src_unpack > cd "${S}" > > epatch ${FILESDIR}/${P}.patch || die > > # automagic bad > java-ant_ignore-system-classes || die > > cd ${S}/lib || die > rm -v *.jar || die > > java-pkg_jarfrom commons-io-1 > java-pkg_jarfrom commons-logging >} > >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 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 202776
:
138885
|
138886
|
155567
|
155569
|
155571
|
155631
|
168268