Merge updates from master

This commit is contained in:
Repository QA checks
2015-08-28 10:09:18 -04:00
17 changed files with 89 additions and 615 deletions
@@ -39,6 +39,16 @@
#LIBVIRT_MAXWAIT="500"
# LIBVIRT_IGNORE_AUTOSTART
# If the VM is marked for autostart in its XML configuration then we won't
# save its start when the init script is stopped. The result is that when
# the init script starts back up, no attempt will be made to start the VM or
# confirm it is started.
# Valid values are yes or no
#LIBVIRT_IGNORE_AUTOSTART="no"
# LIBVIRT_NET_SHUTDOWN
# If libvirtd created networks for you (e.g. NATed networks) then this init
# script will shut them down for you if this is set to 'yes'. Otherwise,
@@ -38,20 +38,32 @@ do_virsh() {
libvirtd_dom_list() {
# Only work with domains by their UUIDs
do_virsh "$1" list --uuid $2
local hvuri=$1
shift
do_virsh "${hvuri}" list --uuid $@
}
libvirtd_dom_count() {
libvirtd_dom_list "$1" $2 | wc -l
local hvuri=$1
shift
libvirtd_dom_list "${hvuri}" $@ | wc -l
}
libvirtd_net_list() {
# Only work with networks by their UUIDs
do_virsh "$1" net-list --uuid $2
local hvuri=$1
shift
do_virsh "${hvuri}" net-list --uuid $@
}
libvirtd_net_count() {
libvirtd_net_list "$1" $2 | wc -l
local hvuri=$1
shift
libvirtd_net_list "${hvuri}" $@ | wc -l
}
libvirtd_dom_stop() {
@@ -64,6 +76,7 @@ libvirtd_dom_stop() {
local shutdown_type=${LIBVIRT_SHUTDOWN}
local counter=${LIBVIRT_MAXWAIT}
local dom_name=
local dom_as=
local dom_ids=
local uuid=
local dom_count=
@@ -80,10 +93,18 @@ libvirtd_dom_stop() {
# Get the name
dom_name=$(do_virsh ${uri} domname ${uuid})
einfo " ${dom_name}"
# Get autostart state
dom_as=$(do_virsh ${uri} dominfo ${uuid} | \
awk '$1 == "Autostart:" { print $2 }')
if [ "${persist}" = "--persistent" ]; then
# Save our running state
echo "${uri} ${uuid}" >> ${gueststatefile}
# Save our running state only if LIBVIRT_IGNORE_AUTOSTART != yes
if [ "x${LIBVIRT_IGNORE_AUTOSTART}" = "xyes" ] && \
[ ${dom_as} = "enabled" ]; then
:
else
echo "${uri} ${uuid}" >> ${gueststatefile}
fi
fi
@@ -1,40 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Blowfish implementation in Java"
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
HOMEPAGE="http://blowfishj.sourceforge.net/index.html"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="doc test source"
DEPEND=">=virtual/jdk-1.4
test? ( =dev-java/junit-3* dev-java/ant-junit ) "
RDEPEND=">=virtual/jre-1.4"
src_unpack() {
unpack ${A}
cd "${S}"
java-ant_ignore-system-classes
mkdir -p target/lib
cd target/lib
use test && java-pkg_jar-from --build-only junit
}
src_test() {
ANT_TASKS="ant-junit" eant test -DJunit.present=true
}
src_install() {
java-pkg_newjar target/${P}.jar
use doc && java-pkg_dojavadoc dist/docs/api
use source && java-pkg_dosrc src/java/net
}
-2
View File
@@ -1,4 +1,2 @@
DIST groovy-src-1.6.8.zip 11998683 SHA256 caa83f91e154211b1fcf688fb16d97d63b552fbb9e2bb240ea82fb13f90b1c80 SHA512 9e914227f6e09041ccb8b918136ed2a0c264f96f1df3f033ab57cfbf3a9e6c62cfd365032040c5599d56e2f7b4c19ac9912effa3c4768c832d57ebaca6f05920 WHIRLPOOL 7cd6e33a768c833142d0387f4c47189aa7edb4f4a63dbd3b551815c7ea33174ecc428418293259902c8f8fdb55f473a05067827c7fb2e49cd3b5d6a65dc7312f
DIST groovy-src-1.7.10.zip 12912772 SHA256 268c4504d50347e61fd83a4d04ebddbd4bf8139a4ba599de640d5537f3e4ad0c SHA512 d58cb0d135274e5e43730b517318d50d935a1b1883648318aa1c120d01181be7d3ac2796e3b68031b8d24e0fb6e9fa6fb8b1cbbfdee651a036e6000ec9be5ef1 WHIRLPOOL 992ac01f74f1fca05c4feb526d1f1a87425cd55fbc5cc39f18b999c53a54d6caf99a9353ff32dd080245ae4e7817810f9a8790a099d35566a1aa5938cfca99f3
DIST groovy-src-1.7.5.zip 12875363 SHA256 9864b36d681ecc4e4a8f86c8b958203f8e2c01c150a3f992f5f63df552979067 SHA512 fa0f617d1894e6fd7b30216b69dc3060154a31d28a3831e7135b18377c5bc368d193d914d2b77a7daf28498562fb96c04794c874101b23dafb4421e3a1d59404 WHIRLPOOL 478346b89661f6b57cc5740df038e8bf3ced62a84a4de1dea3da94a9519cae6eba43cf583c4a81b2f459f6409a7387c2079098b12495b9f1b669260af4efaccb
DIST groovy-src-1.8.5.zip 13131836 SHA256 82f1e45e5886278a4c86ed15dfd90a84b7e43848c72537a235835c7557e8f8cd SHA512 23cddae38b6d0b1b83dae7cf7ebc3fe68f7e8ddb33cd6fa421c0c3c76ca8bf5a8b3fe72cabe915901305f513a2b3269baf205a7a0dd6b1c6f751496d51e0557a WHIRLPOOL 9db6d1da9304e8000de9954faf91d26d76c15e628a25a09c1291afc2ca8b33bbe24d44d891599548df6931db632ae6cd801e83cb05fb6abf33f3282f463a4482
-120
View File
@@ -1,120 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# Groovy's build system is Ant based, but they use Maven for fetching the dependencies.
# We just have to remove the fetch dependencies target, and then we can use Ant for this ebuild.
# We currently do not build the embeddable jar (which is created using JarJar).
# We could provide that via a USE flag.
# We also don't use automatic build rewriting as there seems to be already some level of support
# in the upstream build system
# TODO: Install all 3 documentation packages. Currently only the Groovy GDK documentation is installed
# as our java-pkg_dojavadoc function does not support multiple Javadoc installations.
# There is also a bug (visible when loading groovyConsole for instance) where asm-1.5 is put on the cp,
# this conflicts with the 2.2 version needed by Groovy.
EAPI="2"
WANT_ANT_TASKS="ant-antlr"
JAVA_PKG_IUSE="doc source"
inherit versionator java-pkg-2 java-ant-2
MY_PV=${PV/_rc/-RC-}
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Groovy is a high-level dynamic language for the JVM"
HOMEPAGE="http://groovy.codehaus.org/"
SRC_URI="http://dist.groovy.codehaus.org/distributions/${PN}-src-${PV}.zip"
LICENSE="codehaus-groovy"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="test"
RESTRICT="test"
CDEPEND="
dev-java/asm:2.2
dev-java/antlr:0
>=dev-java/xstream-1.3
>=dev-java/junit-3.8.2:0
>=dev-java/jline-0.9.91
>=dev-java/ant-core-1.7.0
>=dev-java/commons-cli-1.2
dev-java/servletapi:2.4
>=dev-java/bsf-2.4
java-virtuals/jmx"
RDEPEND=">=virtual/jre-1.5
!<dev-java/groovy-1.6.3
${CDEPEND}"
DEPEND=">=virtual/jdk-1.5
dev-java/ant-ivy:2
doc? (
dev-java/qdox
)
test? (
dev-java/jmock
dev-java/xmlunit
dev-db/hsqldb
dev-java/commons-logging
dev-java/ant-junit
dev-java/ant-trax
)
${CDEPEND}"
S="${WORKDIR}/${MY_P}"
JAVA_PKG_BSFIX=""
src_prepare() {
rm -rf bootstrap
# security directory is needed for tests, but they currently don't pass
#rm -rf security
mkdir -p target/lib && cd target/lib
mkdir compile && mkdir runtime && mkdir tools
cd compile
java-pkg_jar-from commons-cli-1,ant-core,antlr,asm-2.2,xstream
java-pkg_jar-from jline,junit,servletapi-2.4,bsf-2.3
java-pkg_jar-from --virtual jmx
java-pkg_jar-from --build-only ant-ivy:2
use doc && java-pkg_jar-from --build-only qdox-1.6
}
src_compile() {
eant -DskipTests="true" -DruntimeLibDirectory="target/lib/compile" \
-DtoolsLibDirectory="target/lib/compile" -DskipFetch="true" -DskipEmbeddable="true"
use doc && ANT_OPTS="-Duser.home=${T}" eant -Dno.grammars="true" -DruntimeLibDirectory="target/lib/compile" \
-DtoolsLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" doc
}
src_test() {
cd "${S}/target/lib" && mkdir test && mkdir extras && cd compile
java-pkg_jar-from --build-only ant-junit,jmock-1.0,xmlunit-1,hsqldb,commons-logging,cglib-2.1
cd "${S}"
ANT_TASKS="ant-junit ant-antlr ant-trax" ANT_OPTS="-Duser.home=${T}" eant \
-DruntimeLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" test
}
src_install() {
java-pkg_newjar "target/dist/${PN}.jar"
use doc && java-pkg_dojavadoc "target/html/groovy-jdk/"
# FIXME: install those two later
#
#use doc && java-pkg_dojavadoc "target/html/api/"
#use doc && java-pkg_dojavadoc "target/html/gapi/"
use source && java-pkg_dosrc "src/main/groovy" "src/main/org"
java-pkg_dolauncher "groovyc" --main org.codehaus.groovy.tools.FileSystemCompiler
java-pkg_dolauncher "groovy" --main groovy.ui.GroovyMain
java-pkg_dolauncher "groovysh" --main groovy.ui.InteractiveShell
java-pkg_dolauncher "groovyConsole" --main groovy.ui.Console
java-pkg_dolauncher "grape" --main org.codehaus.groovy.tools.GrapeMain
}
-118
View File
@@ -1,118 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# Groovy's build system is Ant based, but they use Maven for fetching the dependencies.
# We just have to remove the fetch dependencies target, and then we can use Ant for this ebuild.
# We currently do not build the embeddable jar (which is created using JarJar).
# We could provide that via a USE flag.
# We also don't use automatic build rewriting as there seems to be already some level of support
# in the upstream build system
# TODO: Install all 3 documentation packages. Currently only the Groovy GDK documentation is installed
# as our java-pkg_dojavadoc function does not support multiple Javadoc installations.
EAPI="3"
WANT_ANT_TASKS="ant-antlr"
JAVA_PKG_IUSE="doc source"
inherit versionator java-pkg-2 java-ant-2
MY_PV=${PV/_rc/-RC-}
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Groovy is a high-level dynamic language for the JVM"
HOMEPAGE="http://groovy.codehaus.org/"
SRC_URI="http://dist.groovy.codehaus.org/distributions/${PN}-src-${PV}.zip"
LICENSE="codehaus-groovy"
SLOT="0"
KEYWORDS="~x86 ~x86-linux"
IUSE="test"
RESTRICT="test"
CDEPEND=">=dev-java/asm-3.2
>=dev-java/ant-core-1.8.0
>=dev-java/junit-4.6
dev-java/antlr:0
dev-java/xstream
dev-java/jline
dev-java/commons-cli
dev-java/jansi
dev-java/servletapi:2.4
>=dev-java/bsf-2.4
java-virtuals/jmx"
RDEPEND=">=virtual/jre-1.5
!<dev-java/groovy-1.6.3
${CDEPEND}"
DEPEND=">=virtual/jdk-1.5
dev-java/ant-ivy:2
doc? (
>=dev-java/qdox-1.12
)
test? (
dev-java/jmock
dev-java/xmlunit
dev-db/hsqldb
dev-java/commons-logging
dev-java/ant-junit
dev-java/ant-trax
)
${CDEPEND}"
S="${WORKDIR}/${MY_P}"
JAVA_PKG_BSFIX=""
src_prepare() {
rm -rf bootstrap
# security directory is needed for tests, but they currently don't pass
#rm -rf security
mkdir -p target/lib && cd target/lib
mkdir compile && mkdir runtime && mkdir tools
cd compile
java-pkg_jar-from commons-cli-1,ant-core,antlr,asm-3,xstream,jansi
java-pkg_jar-from jline,junit,servletapi-2.4,bsf-2.3
java-pkg_jar-from --virtual jmx
java-pkg_jar-from --build-only ant-ivy:2
use doc && java-pkg_jar-from --build-only qdox-1.12,ant-antlr
}
src_compile() {
eant -DskipTests="true" -DruntimeLibDirectory="target/lib/compile" \
-DtoolsLibDirectory="target/lib/compile" -DskipFetch="true" -DskipEmbeddable="true"
use doc && ANT_TASKS="ant-antlr" ANT_OPTS="-Duser.home=${T}" eant -Dno.grammars="true" -DruntimeLibDirectory="target/lib/compile" \
-DtoolsLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" doc
}
src_test() {
cd "${S}/target/lib" && mkdir test && mkdir extras && cd compile
java-pkg_jar-from --build-only ant-junit,jmock-1.0,xmlunit-1,hsqldb,commons-logging,cglib-2.1
cd "${S}"
ANT_TASKS="ant-junit ant-antlr ant-trax" ANT_OPTS="-Duser.home=${T}" eant \
-DruntimeLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" test
}
src_install() {
java-pkg_newjar "target/dist/${PN}.jar"
use doc && java-pkg_dojavadoc "target/html/groovy-jdk/"
# FIXME: install those two later
#
#use doc && java-pkg_dojavadoc "target/html/api/"
#use doc && java-pkg_dojavadoc "target/html/gapi/"
use source && java-pkg_dosrc "src/main/groovy" "src/main/org"
java-pkg_dolauncher "groovyc" --main org.codehaus.groovy.tools.FileSystemCompiler
java-pkg_dolauncher "groovy" --main groovy.ui.GroovyMain
java-pkg_dolauncher "groovysh" --main groovy.ui.InteractiveShell
java-pkg_dolauncher "groovyConsole" --main groovy.ui.Console
java-pkg_dolauncher "grape" --main org.codehaus.groovy.tools.GrapeMain
}
-124
View File
@@ -1,124 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# Groovy's build system is Ant based, but they use Maven for fetching the dependencies.
# We just have to remove the fetch dependencies target, and then we can use Ant for this ebuild.
# We currently do not build the embeddable jar (which is created using JarJar).
# We could provide that via a USE flag.
# We also don't use automatic build rewriting as there seems to be already some level of support
# in the upstream build system
# TODO: Install all 3 documentation packages. Currently only the Groovy GDK documentation is installed
# as our java-pkg_dojavadoc function does not support multiple Javadoc installations.
EAPI="3"
WANT_ANT_TASKS="ant-antlr"
JAVA_PKG_IUSE="doc source"
inherit base versionator java-pkg-2 java-ant-2
MY_PV=${PV/_rc/-RC-}
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Groovy is a high-level dynamic language for the JVM"
HOMEPAGE="http://groovy.codehaus.org/"
SRC_URI="http://dist.groovy.codehaus.org/distributions/${PN}-src-${PV}.zip"
LICENSE="codehaus-groovy"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="test"
RESTRICT="test"
CDEPEND=">=dev-java/asm-3.2
>=dev-java/ant-core-1.8.0
>=dev-java/junit-4.6
dev-java/antlr:0
dev-java/xstream
dev-java/jline
dev-java/commons-cli
dev-java/jansi
java-virtuals/servlet-api:2.4
>=dev-java/bsf-2.4
java-virtuals/jmx"
RDEPEND=">=virtual/jre-1.5
${CDEPEND}"
DEPEND=">=virtual/jdk-1.5
dev-java/ant-ivy:2
doc? (
dev-java/qdox:1.12
dev-java/commons-logging
)
test? (
dev-java/jmock
dev-java/xmlunit
dev-db/hsqldb
dev-java/commons-logging
dev-java/ant-junit
dev-java/ant-trax
)
${CDEPEND}"
S="${WORKDIR}/${MY_P}"
PATCHES=( "${FILESDIR}/${PN}-1.8-build-pref-locking-fix.patch" )
JAVA_PKG_BSFIX=""
src_prepare() {
base_src_prepare
sed -i -e 's/fullQualifiedName/fullyQualifiedName/g' \
src/tools/org/codehaus/groovy/tools/DocGenerator.groovy
rm -rf bootstrap
# security directory is needed for tests, but they currently don't pass
#rm -rf security
mkdir -p target/lib && cd target/lib
mkdir compile && mkdir runtime && mkdir tools
cd compile
java-pkg_jar-from commons-cli-1,ant-core,antlr,asm-3,xstream,jansi
java-pkg_jar-from jline,junit,servlet-api-2.4,bsf-2.3
java-pkg_jar-from --virtual jmx
java-pkg_jar-from --build-only ant-ivy:2
use doc && java-pkg_jar-from --build-only qdox-1.12,ant-antlr,commons-logging
}
src_compile() {
eant -DskipTests="true" -DruntimeLibDirectory="target/lib/compile" \
-DtoolsLibDirectory="target/lib/compile" -DskipFetch="true" -DskipEmbeddable="true"
use doc && ANT_TASKS="ant-antlr" ANT_OPTS="-Duser.home=${T}" eant -Dno.grammars="true" -DruntimeLibDirectory="target/lib/compile" \
-DtoolsLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" doc
}
src_test() {
cd "${S}/target/lib" && mkdir test && mkdir extras && cd compile
java-pkg_jar-from --build-only ant-junit,jmock-1.0,xmlunit-1,hsqldb,commons-logging,cglib-2.1
cd "${S}"
ANT_TASKS="ant-junit ant-antlr ant-trax" ANT_OPTS="-Duser.home=${T}" eant \
-DruntimeLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" test
}
src_install() {
java-pkg_newjar "target/dist/${PN}.jar"
use doc && java-pkg_dojavadoc "target/html/groovy-jdk/"
# FIXME: install those two later
#
#use doc && java-pkg_dojavadoc "target/html/api/"
#use doc && java-pkg_dojavadoc "target/html/gapi/"
use source && java-pkg_dosrc "src/main/groovy" "src/main/org"
java-pkg_dolauncher "groovyc" --main org.codehaus.groovy.tools.FileSystemCompiler
java-pkg_dolauncher "groovy" --main groovy.ui.GroovyMain
java-pkg_dolauncher "groovysh" --main groovy.ui.InteractiveShell
java-pkg_dolauncher "groovyConsole" --main groovy.ui.Console
java-pkg_dolauncher "grape" --main org.codehaus.groovy.tools.GrapeMain
}
-2
View File
@@ -1,5 +1,3 @@
DIST javassist-2.6.zip 1143271 SHA256 c77a56714df64996c704c76718d07ea97f582c6eba20711bfd9ecbd468bd02e8 SHA512 8a6da5e2a44cc3bc5b87538a4eda56808d13998d8c9932153f9bb42a1c7844d1a1c7311eb22b0b4ad04649bb7c22156acf851bee638cffbd3328bcef1d2a9f37 WHIRLPOOL e08b458d1fd3e1a89b81b19077c9e7c22fe8fd33d64542d9a7d3ea63ad0aef5df8bd229c6144e85e612eae288dbe6b0ca16210790bba866925148f2d90cd71ad
DIST javassist-3.14.0-GA.zip 2258443 SHA256 8a6070659f3409cd23392bcdf29b86232666043dad06ba25c4de221c8c8affc5 SHA512 e8e1aac22a147ee13d73c8e8c43835e28e63b1f7cb0d9ccd91e2d0ee23507f7af0eb0c22c779ec0bf6e9ab0a522c6719edb2bdd4e2d38a715c1397b6fd76a562 WHIRLPOOL e4167a5a81e80729f3cf47dea4ee968cb6b94681d448e67150c08bc283b8d0e6b3c81e92e5539b612a3adbfb359dc3c93d74a5bbd6aac3532c83ba387126450c
DIST javassist-3.18.2.tar.gz 1179428 SHA256 7ace5b44ffdd96b64a3268a3f014d0ad9c44d9f4d8cd3a20e92877dbbac5a6fc SHA512 67f22a70584eba31088d63b7862f0f7872a6a7ec57f4397b95044695af75be005e86aa5a5f20fe8e650c2178a9b63b4b922accf940b46ceb1c8e7ce9c51798ca WHIRLPOOL c2fc97f00435420fb147743f4f5d0c8d7235abdf3b3fbd4fadb33dbeb42a7f3fce6d6d401c27ab84d05b93088ff3e4e9f8468e859aa1ef039522e0bb8ee52e20
DIST javassist-3.4.zip 1714086 SHA256 0f7dc85472d72acf4c74a47ce0d62462218709c6a2f272dc9785e17a524ccaff SHA512 601616cdde208cef536af8ebf20a9ee43178871e8b1ebf892dae63ebb0d9e11e742091ac781a46018d968674ce918864ebc5de5951d05a345d0ea60c9dfa7c04 WHIRLPOOL 09deaef9c992a379d16a86937456bd45bc982d5ab4f95bd7ae4095cf378200918701ce1fa50a1ba1b00186aef5386986bd81de83c19baa4f56388e1d444f1eea
DIST javassist-3.7.GA.zip 1918656 SHA256 239cea00bbc674b1430ae371003f76173d531412ca1d5fff7fc223b671a03524 SHA512 3ef38287488c54886937b2aef9fd9667e5f109816913419152ab709517de63625b7b9d0af3cc5aedc66fb2ad880db10a975475b22bfaa72464fee11fcf1f6060 WHIRLPOOL 3193bc2d0c64a073d168216137b53879df098db60e6f22ecae4cffef2229f4346c1480774ba44e7f0055183e63b0fea26b0d5e0aabce908de321b87d7c35b31f
@@ -1,39 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc source examples"
inherit java-pkg-2 java-ant-2
# TODO add notes about where the distfile comes from
DESCRIPTION="Javassist makes Java bytecode manipulation simple"
SRC_URI="mirror://sourceforge/jboss/${P}.zip"
HOMEPAGE="http://www.csg.is.titech.ac.jp/~chiba/javassist/"
LICENSE="MPL-1.1"
SLOT="3"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
RDEPEND=">=virtual/jre-1.4"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip"
EANT_DOC_TARGET="javadocs"
JAVA_ANT_REWRITE_CLASSPATH=y
EANT_NEEDS_TOOLS="yes"
java_prepare() {
find -name "*.jar" -delete || die
}
src_install() {
java-pkg_dojar ${PN}.jar
dohtml Readme.html || die
use doc && java-pkg_dojavadoc html
use source && java-pkg_dosrc src/main/javassist
use examples && java-pkg_doexamples sample/*
}
-39
View File
@@ -1,39 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
# TODO add notes about where the distfile comes from
DESCRIPTION="Javassist makes Java bytecode manipulation simple"
SRC_URI="mirror://sourceforge/jboss/${P}.zip"
HOMEPAGE="http://www.csg.is.titech.ac.jp/~chiba/javassist/"
LICENSE="MPL-1.1"
SLOT="3"
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
RDEPEND=">=virtual/jre-1.4"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip"
src_unpack() {
unpack ${A}
cd "${S}"
rm -v *.jar || die
java-ant_rewrite-classpath build.xml
}
src_compile() {
eant clean jar $(use_doc javadocs) -Dgentoo.classpath=$(java-config --tools)
}
src_install() {
java-pkg_dojar ${PN}.jar
dohtml Readme.html || die
use doc && java-pkg_dojavadoc html
use source && java-pkg_dosrc src/main/javassist
}
@@ -1,39 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc source examples"
inherit java-pkg-2 java-ant-2
# TODO add notes about where the distfile comes from
DESCRIPTION="Javassist makes Java bytecode manipulation simple"
SRC_URI="mirror://sourceforge/jboss/${P}.GA.zip"
HOMEPAGE="http://www.csg.is.titech.ac.jp/~chiba/javassist/"
LICENSE="MPL-1.1"
SLOT="3"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
RDEPEND=">=virtual/jre-1.4"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip"
EANT_DOC_TARGET="javadocs"
JAVA_ANT_REWRITE_CLASSPATH=y
EANT_NEEDS_TOOLS="yes"
java_prepare() {
find -name "*.jar" -delete || die
}
src_install() {
java-pkg_dojar ${PN}.jar
dohtml Readme.html || die
use doc && java-pkg_dojavadoc html
use source && java-pkg_dosrc src/main/javassist
use examples && java-pkg_doexamples sample/*
}
-41
View File
@@ -1,41 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
# TODO add notes about where the distfile comes from
DESCRIPTION="Javassist makes Java bytecode manipulation simple"
SRC_URI="mirror://sourceforge/jboss/${P}.GA.zip"
HOMEPAGE="http://www.csg.is.titech.ac.jp/~chiba/javassist/"
LICENSE="MPL-1.1"
SLOT="3"
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
RDEPEND=">=virtual/jre-1.4"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip"
src_unpack() {
unpack ${A}
cd "${S}"
rm -v *.jar || die
}
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_DOC_TARGET="javadocs"
src_compile() {
java-pkg-2_src_compile -Dgentoo.classpath=$(java-config --tools)
}
src_install() {
java-pkg_dojar ${PN}.jar
dohtml Readme.html || die
use doc && java-pkg_dojavadoc html
use source && java-pkg_dosrc src/main/javassist
}
-43
View File
@@ -1,43 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit java-pkg-2 java-ant-2 eutils
DESCRIPTION="Java Indexed Serialization Package: A small, embedded database engine written in Pure Java"
HOMEPAGE="http://www.coyotegulch.com/products/jisp/"
# TODO contact upstream about hosting jisp-2.5 on their site.
# They only maintain 3.0 at the moment
# This tarball is from jpackage's jisp2 source rpm
SRC_URI="http://gentooexperimental.org/distfiles/${P}-source.tar.gz"
LICENSE="SVFL"
SLOT="2.5"
KEYWORDS="amd64 ppc x86"
IUSE="doc"
DEPEND=">=virtual/jdk-1.4
dev-java/ant-core"
RDEPEND=">=virtual/jre-1.4"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-java15.patch
mkdir src
mv com src
cp ${FILESDIR}/build-${PV}.xml build.xml
}
src_compile() {
eant jar -Dproject.name=${PN} $(use_doc)
}
src_install() {
java-pkg_dojar dist/${PN}.jar
use doc && java-pkg_dohtml -r dist/doc/api
}
@@ -35,7 +35,7 @@ RDEPEND="
dev-qt/qtscript:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
git? ( dev-libs/libgit2 )
git? ( dev-libs/libgit2:= )
"
DEPEND="${RDEPEND}
dev-qt/qtxmlpatterns:5
@@ -0,0 +1,42 @@
Index: src/Canvas.cpp
===================================================================
--- src/Canvas.cpp (revision 5479)
+++ src/Canvas.cpp (revision 5480)
@@ -760,6 +760,18 @@
}
#endif
+inline uint64_t
+get_monotonic_time()
+{
+#if GLIB_CHECK_VERSION(2, 28, 0)
+ return g_get_monotonic_time();
+#else
+ GTimeVal time;
+ g_get_current_time(&time);
+ return time.tv_sec + time.tv_usec;
+#endif
+}
+
#ifdef GANV_FDGL
inline Region
@@ -788,18 +800,6 @@
b->impl->force = vec_sub(b->impl->force, f);
}
-inline uint64_t
-get_monotonic_time()
-{
-#if GLIB_CHECK_VERSION(2, 28, 0)
- return g_get_monotonic_time();
-#else
- GTimeVal time;
- g_get_current_time(&time);
- return time.tv_sec + time.tv_usec;
-#endif
-}
-
gboolean
GanvCanvasImpl::layout_iteration()
{
+5 -1
View File
@@ -5,7 +5,7 @@
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='threads(+)'
inherit waf-utils python-any-r1
inherit eutils waf-utils python-any-r1
DESCRIPTION="A GTK+ widget for interactive graph-like environments"
HOMEPAGE="http://drobilla.net/software/ganv/"
@@ -27,6 +27,10 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS NEWS README )
src_prepare() {
epatch "${FILESDIR}"/${P}-no-fdgl.patch
}
src_configure() {
waf-utils_src_configure \
$(use graphviz || echo "--no-graphviz") \
+4
View File
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>karl.j.linden@gmail.com</email>
<name>Karl Lindén</name>
</maintainer>
<herd>proaudio</herd>
<use>
<flag name="fdgl">Use experimental force-directed graph layout</flag>