parent
63097ccaba
commit
96bebfc9dd
@ -0,0 +1,39 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
description="Controls VirtualBox sessions"
|
||||
|
||||
. /etc/conf.d/vboxwebsrv
|
||||
|
||||
su_command="su - ${VBOXWEBSRV_USER} -c"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
after bootmisc
|
||||
}
|
||||
|
||||
start() {
|
||||
einfo "Starting VirtualBox machines"
|
||||
eindent
|
||||
MACHINES=$($su_command "VBoxManage list vms | awk '{ print \$NF }' | sed -e 's/[{}]//g'")
|
||||
for UUID in $MACHINES; do
|
||||
STARTUP=$($su_command "VBoxManage getextradata $UUID 'pvbx/startupMode'" | awk '{ print $NF }')
|
||||
VMNAME=$($su_command "VBoxManage showvminfo $UUID | sed -n '0,/^Name:/s/^Name:[ \t]*//p'")
|
||||
if [ "${STARTUP}" == "auto" ]; then
|
||||
ebegin "Starting machine ${VMNAME}"
|
||||
$su_command "VBoxHeadless -s $UUID --vrde=config" &>> /var/log/vboxinit.log
|
||||
eend $?
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
stop() {
|
||||
einfo "Saving VirtualBox machines"
|
||||
eindent
|
||||
MACHINES=$($su_command "VBoxManage list runningvms | awk '{ print \$NF }' | sed -e 's/[{}]//g'")
|
||||
for UUID in $MACHINES; do
|
||||
VMNAME=$($su_command "VBoxManage showvminfo $UUID | sed -n '0,/^Name:/s/^Name:[ \t]*//p'")
|
||||
ebegin "Stopping machine ${VMNAME}"
|
||||
$su_command "VBoxManage controlvm $UUID savestate" &>> /var/log/vboxinit.log
|
||||
eend $?
|
||||
done
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.1.7-r1.ebuild,v 1.1 2012/06/17 09:17:36 hwoarang Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit versionator eutils webapp depend.php
|
||||
|
||||
MY_PV="$(replace_version_separator 2 '-')"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Web-based administration for VirtualBox in PHP"
|
||||
HOMEPAGE="http://phpvirtualbox.googlecode.com"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[session,unicode,soap,gd]
|
||||
"
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
need_php_httpd
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
cd ${MY_P}
|
||||
|
||||
dodoc CHANGELOG.txt LICENSE.txt README.txt || die
|
||||
rm -f CHANGELOG.txt LICENSE.txt README.txt
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config.php-example
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example
|
||||
|
||||
webapp_src_install
|
||||
|
||||
newinitd "${FILESDIR}"/vboxinit-initd vboxinit
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
webapp_pkg_postinst
|
||||
elog "Local or remote virtualbox hosts must be compiled with"
|
||||
elog "'vboxwebsrv' useflag and the respective init script"
|
||||
elog "must be running to use this interface"
|
||||
elog " /etc/init.d/vboxwebsrv start"
|
||||
elog
|
||||
elog "To enable the automatic startup mode feature uncomment the"
|
||||
elog "following line in the config.php file:"
|
||||
elog " var \$startStopConfig = true;"
|
||||
elog
|
||||
elog "You should also add the /etc/init.d/vboxinit script to the"
|
||||
elog "default runlevel on the virtualbox host:"
|
||||
elog "\`rc-update add vboxinit default\`"
|
||||
elog "If the server is on a remote host, than the script must be"
|
||||
elog "copied manually."
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>wired@gentoo.org</email>
|
||||
<name>Alex Alexander</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>ssuominen@gentoo.org</email>
|
||||
<name>Samuli Suominen</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='cb'>Install plug-in for ComicBook support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/zathura-meta/zathura-meta-0.ebuild,v 1.1 2012/06/17 09:45:17 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Meta package for app-text/zathura plugins"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cb djvu +pdf postscript"
|
||||
|
||||
RDEPEND="app-text/zathura
|
||||
cb? ( app-text/zathura-cb )
|
||||
djvu? ( app-text/zathura-djvu )
|
||||
pdf? ( || ( app-text/zathura-pdf-poppler app-text/zathura-pdf-mupdf ) )
|
||||
postscript? ( app-text/zathura-ps )"
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hunit/hunit-1.2.4.3.ebuild,v 1.1 2012/06/17 08:48:50 gienah Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# ebuild generated by hackport 0.2.18.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN="HUnit"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A unit testing framework for Haskell"
|
||||
HOMEPAGE="http://hunit.sourceforge.net/"
|
||||
SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/deepseq[profile?]
|
||||
>=dev-lang/ghc-6.8.2"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install () {
|
||||
cabal_src_install
|
||||
if use doc; then
|
||||
dohtml -r "${S}/doc/"*
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
|
||||
# remove hunit self-tests, we don't want to install them
|
||||
rm -rf "${D}/usr/bin"
|
||||
}
|
@ -1,8 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
HUnit is a unit testing framework for Haskell, inspired by the
|
||||
JUnit tool for Java, see: <http://www.junit.org>.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/CHI/CHI-0.540.0.ebuild,v 1.1 2012/06/17 09:56:48 tove Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MODULE_AUTHOR="JSWARTZ"
|
||||
MODULE_VERSION=0.54
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Unified cache handling interface"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Hash-MoreUtils
|
||||
>=dev-perl/Carp-Assert-0.200.0
|
||||
dev-perl/String-RewritePrefix
|
||||
>=dev-perl/Log-Any-0.140.0
|
||||
>=dev-perl/List-MoreUtils-0.330.0
|
||||
dev-perl/Moose
|
||||
>=dev-perl/Try-Tiny-0.110.0
|
||||
>=dev-perl/Time-Duration-Parse-0.60.0
|
||||
>=dev-perl/Time-Duration-1.60.0
|
||||
dev-perl/Data-UUID
|
||||
dev-perl/Digest-JHash
|
||||
dev-perl/TimeDate
|
||||
dev-perl/JSON
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-perl/Test-Deep
|
||||
dev-perl/Test-Exception
|
||||
dev-perl/Test-Class
|
||||
dev-perl/Test-Warn
|
||||
)"
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1 @@
|
||||
DIST CHI-0.54.tar.gz 83478 RMD160 de756caa8a2f337b516f059f15c5a30bde03a8e9 SHA1 8b0a6c753566df3b94504654457c789facbd45ec SHA256 74314016baf75b9e75f0b8e77b1211c4b4337b74f0bfe5a5cab33f6967bbf655
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
<maintainer>
|
||||
<email>flameeyes@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Digest-JHash/Digest-JHash-0.70.0.ebuild,v 1.1 2012/06/16 21:00:22 tove Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MODULE_AUTHOR="SHLOMIF"
|
||||
MODULE_VERSION=0.07
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl extension for 32 bit Jenkins Hashing Algorithm"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1 @@
|
||||
DIST Digest-JHash-0.07.tar.gz 8502 RMD160 a34cee49d5d58259306db13d15d50b8a63ba8d45 SHA1 7fc7d3d6ef40935ac27585c6c36c9cae77ae042f SHA256 0207f2ab33aea759f6a8fc34c714a2db29bfaa9ff14b9d63aac1d65ed0885843
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
<maintainer>
|
||||
<email>flameeyes@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,22 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Hash-MoreUtils/Hash-MoreUtils-0.02.ebuild,v 1.2 2012/06/16 20:08:08 flameeyes Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Hash-MoreUtils/Hash-MoreUtils-0.20.0.ebuild,v 1.1 2012/06/16 21:05:51 tove Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MODULE_AUTHOR="REHSACK"
|
||||
MODULE_VERSION=0.02
|
||||
|
||||
inherit perl-module
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
DESCRIPTION="Provide the stuff missing in Hash::Util"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-Module-Build"
|
||||
virtual/perl-Module-Build
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-Socket-IP/IO-Socket-IP-0.120.0.ebuild,v 1.1 2012/06/16 20:31:19 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=PEVANS
|
||||
MODULE_VERSION=0.12
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION='A drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6'
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/perl-Socket-1.970.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-Module-Build
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_test() {
|
||||
rm t/21nonblocking-connect-internet.t || die
|
||||
perl-module_src_test
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST IO-Socket-IP-0.12.tar.gz 35335 RMD160 826aa76e32c3535a4880ee93df1169fb1337ef37 SHA1 85e917296730cd6473dd7f82de830c8a0a3690e1 SHA256 c6a6c67b4be464278aab2464ac54d021543d1916926fe37c6b49bab79f52f445
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
<upstream>
|
||||
<remote-id type="cpan-module">IO::Socket::IP</remote-id>
|
||||
<remote-id type="cpan">IO-Socket-IP</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,21 +1,20 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/String-RewritePrefix/String-RewritePrefix-0.006.ebuild,v 1.2 2012/06/16 20:06:08 flameeyes Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/String-RewritePrefix/String-RewritePrefix-0.6.0.ebuild,v 1.1 2012/06/16 21:14:25 tove Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MODULE_AUTHOR="RJBS"
|
||||
|
||||
MODULE_VERSION=0.006
|
||||
inherit perl-module
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
DESCRIPTION="rewrite strings based on a set of known prefixes"
|
||||
DESCRIPTION="Rewrite strings based on a set of known prefixes"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-perl/Sub-Exporter-0.982.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,2 +1,3 @@
|
||||
DIST Sys-Virt-0.9.10.tar.gz 76896 RMD160 e69f636a4a5429bc7907d3350065404199279aec SHA1 920af577b9a025b8d09545449d0e4bcac50dbe7e SHA256 1fdf35b96d8d77b6f3eeb1737e7c56040d11e7ec14ba52a9368bcdd98710d8e8
|
||||
DIST Sys-Virt-0.9.11.tar.gz 78780 RMD160 8d791ae18517ffd57764018255adec2be42e9c42 SHA1 6226275a12e55037269e41f3b562150b2cacb42f SHA256 3428544d25b234d27d2894c68bab559ebba719f61a1c6a9f923b83abf3552055
|
||||
DIST Sys-Virt-0.9.12.tar.gz 79426 RMD160 71fb1a35643861f26267893bcbe99d7a36755776 SHA1 7e0c682addcdab7a9cf799d0052445d42c077bd9 SHA256 8228cc437cf295f8f81de48b065c93ca4fc71536633cd0cc5f5ce3c8b61eafc0
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Sys-Virt/Sys-Virt-0.9.12.ebuild,v 1.1 2012/06/16 20:51:42 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DANBERR
|
||||
MODULE_VERSION=0.9.12
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Sys::Virt provides an API for using the libvirt library from Perl"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=app-emulation/libvirt-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
dev-perl/XML-XPath
|
||||
virtual/perl-Time-HiRes
|
||||
)"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS+=" -j1" perl-module_src_compile
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.1.6.ebuild,v 1.1 2012/06/17 09:27:29 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/actionmailer"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.3.3:2.3"
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
sed -i -e '/dependency.*mail/s:~>:>=:' "${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.1.6.ebuild,v 1.1 2012/06/17 09:27:10 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response."
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/actionpack"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activemodel-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/rack-cache-1.2
|
||||
>=dev-ruby/builder-3.0.0:3
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
>=dev-ruby/i18n-0.6:0.6
|
||||
>=dev-ruby/rack-1.3.6:1.3
|
||||
>=dev-ruby/rack-mount-0.8.2:0.8
|
||||
>=dev-ruby/rack-test-0.6.1:0.6
|
||||
>=dev-ruby/sprockets-2.0.4:2.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|"mysql"\|ruby-prof\)/d' ../Gemfile || die
|
||||
|
||||
sed -i -e '/rack-ssl/d' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
sed -i -e "s/, '< 1.3'//" ../activesupport/activesupport.gemspec || die
|
||||
|
||||
# Avoid fragile tests depending on hash ordering
|
||||
sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
|
||||
sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
|
||||
sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-3.1.6.ebuild,v 1.1 2012/06/17 09:26:27 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/activemodel"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.0.0
|
||||
>=dev-ruby/i18n-0.6.0:0.6
|
||||
>=dev-ruby/bcrypt-ruby-3.0.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.1.6.ebuild,v 1.1 2012/06/17 09:27:53 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
# this is not null so that the dependencies will actually be filled
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="mysql postgres sqlite3"
|
||||
|
||||
RUBY_S="rails-rails-*/activerecord"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/arel-2.2.3:2.1
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
sqlite3? ( >=dev-ruby/sqlite3-ruby-1.3.4 )
|
||||
mysql? ( >=dev-ruby/mysql2-0.3.6:0.3 )
|
||||
postgres? ( >=dev-ruby/pg-0.11.0 )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/sqlite3-ruby-1.3.3
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|"mysql"\|ruby-prof\)/d' ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
sed -i -e "s/, '< 1.3'//" ../activesupport/activesupport.gemspec || die
|
||||
|
||||
# Avoid tests depending on hash ordering
|
||||
sed -i -e '/test_should_automatically_build_new_associated/,/ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*)
|
||||
if use sqlite3; then
|
||||
${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/activeresource-3.1.6.ebuild,v 1.1 2012/06/17 09:26:49 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Think Active Record for web resources.."
|
||||
HOMEPAGE="http://rubyforge.org/projects/activeresource/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/activeresource"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-3.1.6.ebuild,v 1.1 2012/06/17 09:25:37 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# jruby fails tests.
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Utility Classes and Extension to the Standard Library"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activesupport/"
|
||||
SRC_URI="https://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/${PN}"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/memcache-client-1.5.8
|
||||
>=dev-ruby/multi_json-1.0
|
||||
dev-ruby/i18n:0.6
|
||||
!!<dev-ruby/activesupport-3.0.11-r1:3.0"
|
||||
|
||||
# libxml-ruby, nokogiri, and builder are not strictly needed, but there
|
||||
# are tests using this code.
|
||||
ruby_add_bdepend "test? (
|
||||
virtual/ruby-test-unit
|
||||
>=dev-ruby/libxml-2.0.0
|
||||
dev-ruby/nokogiri
|
||||
dev-ruby/builder:0
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# don't support older mocha versions as the optional codepath
|
||||
# breaks JRuby
|
||||
epatch "${FILESDIR}"/${PN}-3.0.3-mocha-0.9.5.patch
|
||||
|
||||
# Set test environment to our hand.
|
||||
# rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Remove upper restriction from gemspec. All tests pass with
|
||||
# multi_json 1.3.5. The upstream commit doesn't give details but
|
||||
# most likely this was added to avoid multi_json 1.3.0 which broke
|
||||
# compatibility. This was later fixed in 1.3.1. 1.3.0 is no longer
|
||||
# in portage so from a Gentoo point of view it is safe to depend on
|
||||
# => 1.0.
|
||||
sed -i -e "s/, '< 1.3'//" activesupport.gemspec || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST ffi-git-1.0.10.tgz 866791 RMD160 4d0274daec2011916624dd3455a5546cd864f5b7 SHA1 5754c507043df50cb8c3629f3844a36d19240d22 SHA256 78efb08fea827854d5721b38a72ae839d0d103e86d4d860301ec53a587300a6e
|
||||
DIST ffi-git-1.0.11.tgz 867003 RMD160 79e75ed6dbb0cca32b2063874ab5ad032f099803 SHA1 3daae264419de8ad289af850ab0541d50eb6a3e9 SHA256 e03951377624c6017e7b3b6e28c8c762810c4596615af83d459f7cc222832b3a
|
||||
DIST ffi-git-1.0.9.tgz 853484 RMD160 e25bde1c1dcb2b0848902996605c3ecde005f2c9 SHA1 f854d27faf5c9758ac8bedeb2e02bb10677bc5e0 SHA256 4a04b751029e2294718b0035c1c7bfa1be1da81ccd9f4fdca1da07f8dd52caed
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-1.0.10.ebuild,v 1.2 2011/12/17 18:31:36 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# jruby → unneeded, this is part of the standard JRuby distribution, and
|
||||
# would just install a dummy.
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
|
||||
HOMEPAGE="http://wiki.github.com/ffi/ffi"
|
||||
|
||||
SRC_URI="http://github.com/${PN}/${PN}/tarball/${PV} -> ${PN}-git-${PV}.tgz"
|
||||
RUBY_S="${PN}-${PN}-*"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
|
||||
RDEPEND="${RDEPEND} virtual/libffi"
|
||||
DEPEND="${DEPEND} virtual/libffi"
|
||||
|
||||
ruby_add_bdepend dev-ruby/rake-compiler
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-threads"
|
||||
|
||||
each_ruby_compile() {
|
||||
${RUBY} -S rake compile || die "compile failed"
|
||||
${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc samples/*
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-1.0.9-r1.ebuild,v 1.3 2011/12/17 18:31:36 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# jruby → unneeded, this is part of the standard JRuby distribution, and
|
||||
# would just install a dummy.
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
|
||||
HOMEPAGE="http://wiki.github.com/ffi/ffi"
|
||||
|
||||
SRC_URI="http://github.com/${PN}/${PN}/tarball/${PV} -> ${PN}-git-${PV}.tgz"
|
||||
RUBY_S="${PN}-${PN}-*"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
|
||||
RDEPEND="${RDEPEND} virtual/libffi"
|
||||
DEPEND="${DEPEND} virtual/libffi"
|
||||
|
||||
ruby_add_bdepend dev-ruby/rake-compiler
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-threads"
|
||||
|
||||
each_ruby_compile() {
|
||||
${RUBY} -S rake compile || die "compile failed"
|
||||
${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc samples/*
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST hoe-seattlerb-1.2.4.gem 10752 RMD160 717eb40d73a42497f1c0ec81cd58f5cd68a8d332 SHA1 4e14ee34f9535b46d980973eaccb25df1f2a3b10 SHA256 6999174d6322acc4d4aa5226deef9d36deb3599a8c09fd73534cf823f02212e6
|
||||
DIST hoe-seattlerb-1.2.6.gem 11264 RMD160 f0ecd6a97abee967238a58efe82fc61eb0018923 SHA1 7a7dcae43950c4a3b3da131a1c3f6dd4938d0e8d SHA256 bc173e463d930a6b845f318b360d62046f16d4cac4ac738a83d5578eb5f20184
|
||||
DIST hoe-seattlerb-1.2.7.gem 11264 RMD160 b2c1932942defa99d02baae0020a49a8f82ddd82 SHA1 b8ff551e97898ab8e45c7a179344037d95845e8a SHA256 b19d52eebadbd9f01f8f37ebe96c49c6827e75b6c9db19f04fd1aa4b6f99bc1f
|
||||
DIST hoe-seattlerb-1.2.8.gem 11264 RMD160 d6dee32a11a4b5db1162af64b1574addf6d1e07b SHA1 d9d1136387ceadd756ab0653e3a381f222d5b47f SHA256 f7a6d839551a4ef66a67c230666dd1d8cce945ee34527d8e9f6290d2eb56cf5b
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe-seattlerb/hoe-seattlerb-1.2.6.ebuild,v 1.1 2011/08/20 08:56:02 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
# no tests present
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Hoe plugins providing tasks used by seattle.rb"
|
||||
HOMEPAGE="http://seattlerb.rubyforge.org/hoe-seattlerb"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.12 )"
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe-seattlerb/hoe-seattlerb-1.2.7.ebuild,v 1.2 2011/12/05 00:32:53 naota Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
# no tests present
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Hoe plugins providing tasks used by seattle.rb"
|
||||
HOMEPAGE="http://seattlerb.rubyforge.org/hoe-seattlerb"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.12 )"
|
@ -1,3 +1,2 @@
|
||||
DIST jquery-rails-1.0.18.gem 263168 RMD160 559a424028797dd59cbd0fea6307a82529859542 SHA1 60bf1c6c7ba3cdb7f3327eec22954dd2077ea6b6 SHA256 bada406218857961cc6704c1ab83a49d35ce35ee930afe77b85151f36c841956
|
||||
DIST jquery-rails-1.0.19.gem 262656 RMD160 af4a96bcffb1400d67631ac967c86abb4d9b6fad SHA1 3e0c638a2029827a0c74bb108cbb2975227465fe SHA256 886da031bb562fdbba88ea40c8630b8bfe995673b6f98720c6cb6d24773f67be
|
||||
DIST jquery-rails-2.0.2.gem 264192 RMD160 d5d076682b8538c6210095cc2d8679ac32c51932 SHA1 493579078a1554429d92da968a454d3fe0ff9ffe SHA256 09545ba28d859187918f333e43878428d4216f04e50bebd9b21ccb632a2d8ab9
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jquery-rails/jquery-rails-1.0.18.ebuild,v 1.1 2011/11/22 06:39:34 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="vendor"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="jQuery! For Rails! So great."
|
||||
HOMEPAGE="http://www.rubyonrails.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "=dev-ruby/railties-3* >=dev-ruby/thor-0.14"
|
@ -1,5 +1,4 @@
|
||||
DIST net-ssh-2.0.23.gem 129536 RMD160 1dc7d9a4f3f98901b2bdf7fcdc06a17492adf809 SHA1 eebb76621e240faf11ac8e8dae2349879d2247e2 SHA256 395b5f604dfcbdb5e9a80967443941ec174321c7c6085b4b1d4130feaa7194ba
|
||||
DIST net-ssh-2.1.3.gem 131584 RMD160 d19a475ebf29d637db422f346d1cb05fc8c52bfa SHA1 0a3d880004460fa1ac39430c64959e8d15064e7e SHA256 974211c9f7a0b7bb8752a19f806d00e7a4ba4ddb47928dcd8de27a71b4728975
|
||||
DIST net-ssh-2.2.1.gem 133120 RMD160 d21437cbe41456efd1afe983930b7cd78e381948 SHA1 c16a20f677db7b425dca9dd8dbbda07a8807d1f7 SHA256 30b97d6eb3245853ff239af86448dc8028aa19958eb7f5eebc5ae32863cb0e06
|
||||
DIST net-ssh-2.2.2.gem 133120 RMD160 bb9331e3c9cc41b7e42480cbd1fb0e90d6baa552 SHA1 4003ce1dc4f6bf63e7b786abb37bced20cc110a2 SHA256 211cf80d5d5805ca59723708a3cdfe43fa4dc30e5f86177a108f8cc2cd623487
|
||||
DIST net-ssh-git-2.4.0.tgz 135388 RMD160 cfe1257487ad5fe104d24026cc8efe16fa00d310 SHA1 02b1ac9eff2aaa3e43bdc1519bf773107680317b SHA256 d2e41ca9fd63c6235d556efd030b8bc0f515f9588ad22330884630c67b0a8eaa
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-ssh/net-ssh-2.2.1.ebuild,v 1.2 2012/05/01 18:24:13 armin76 Exp $
|
||||
|
||||
EAPI="2"
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc THANKS.rdoc"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="support"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Non-interactive SSH processing in pure Ruby"
|
||||
HOMEPAGE="http://net-ssh.rubyforge.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/mocha )"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test test/test_all.rb || die "Tests failed."
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-3.1.6.ebuild,v 1.1 2012/06/17 09:28:37 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="ruby on rails is a web-application and persistance framework"
|
||||
HOMEPAGE="http://www.rubyonrails.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="+asset-pipeline"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-rails-0.18"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
~dev-ruby/actionpack-${PV}
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/activeresource-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
=dev-ruby/bundler-1*
|
||||
~dev-ruby/railties-${PV}
|
||||
asset-pipeline? (
|
||||
dev-ruby/jquery-rails:0
|
||||
dev-ruby/sass-rails
|
||||
dev-ruby/uglifier
|
||||
dev-ruby/coffee-rails
|
||||
)"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
ruby_fakegem_binwrapper rails rails-${PV}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To select between slots of rails, use:"
|
||||
elog "\teselect rails"
|
||||
|
||||
eselect rails update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rails update
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.1.6.ebuild,v 1.1 2012/06/17 09:28:13 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:regular"
|
||||
RUBY_FAKEGEM_TASK_DOC="generate_guides"
|
||||
RUBY_FAKEGEM_DOCDIR="guides/output"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Tools for creating, working with, and running Rails applications."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/railties"
|
||||
|
||||
# The test suite has many failures, most likely due to a mismatch in
|
||||
# exact dependencies or environment specifics. Needs further
|
||||
# investigation.
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/rdoc-3.4
|
||||
>=dev-ruby/thor-0.14.6
|
||||
>=dev-ruby/rack-ssl-1.3.2:1.3
|
||||
>=dev-ruby/rake-0.8.7"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)
|
||||
doc? (
|
||||
>=dev-ruby/redcloth-4.1.1
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\)/d' ../Gemfile || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST dwdiff-2.0.2.tgz 85829 RMD160 15c93d0310968f99ef00a89ebbe66f97596724b0 SHA1 24aecd005f5585795ef58335ed3ecbed79e41398 SHA256 6a21d5c50b9025309ab6ab26f0b42e659609032b6c1273374342d08a6b8267a7
|
||||
DIST dwdiff-2.0.4.tgz 85930 RMD160 13483a53c4bd2035eed4d04cd0e95f5099b6e9c4 SHA1 543a87f3de8c156d20b3ddf2bffd9331b7fb0575 SHA256 0e467dbb2cc52d81f3e070adab823ac2a9170cac1910bc02bb8edec3f75e0b3d
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/dwdiff/dwdiff-2.0.4.ebuild,v 1.1 2012/06/17 09:34:33 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A front-end for the diff program that operates at the word level instead of the line level"
|
||||
HOMEPAGE="http://os.ghalkes.nl/dwdiff.html"
|
||||
SRC_URI="http://os.ghalkes.nl/dist/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
COMMON_DEPEND="dev-libs/icu"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/diffutils"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/INSTALL/s:COPYING::' \
|
||||
Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
$(use_with nls gettext) || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${D}/usr" docdir="${D}/usr/share/doc/${PF}" install
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
Copyright (c) 2010-2011, Intel Corporation
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of Intel Corporation nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
===========================================================================
|
||||
Copyrights and Licenses for Third Party Software Distrubted with
|
||||
The Intel(r) SPMD Program Compiler
|
||||
===========================================================================
|
||||
|
||||
ISPC incorporates code from the Syrah library, which is covered by the
|
||||
following license:
|
||||
|
||||
Copyright (c) 2009, Stanford University, and authors listed below.
|
||||
All rights reserved.
|
||||
|
||||
Original authors:
|
||||
Solomon Boulos
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
Neither the name of Stanford University nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
Binary distributions of ISPC are linked with the LLVM libraries, which are
|
||||
covered by the following license:
|
||||
|
||||
University of Illinois/NCSA
|
||||
Open Source License
|
||||
|
||||
Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign.
|
||||
All rights reserved.
|
||||
|
||||
Developed by:
|
||||
|
||||
LLVM Team
|
||||
|
||||
University of Illinois at Urbana-Champaign
|
||||
|
||||
http://llvm.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal with
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimers.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimers in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the names of the LLVM Team, University of Illinois at
|
||||
Urbana-Champaign, nor the names of its contributors may be used to
|
||||
endorse or promote products derived from this Software without specific
|
||||
prior written permission.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
||||
SOFTWARE.
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
ispc's code to convert to and from half-precision floats is based on James
|
||||
Tursa's code, which is covered by the following license:
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the distribution
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
@ -0,0 +1,104 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-13.0.1.ebuild,v 1.1 2012/06/17 01:18:46 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Can be updated using scripts/get_langs.sh from mozilla overlay
|
||||
MOZ_LANGS=(ar ast be bg bn-BD br ca cs da de el en en-GB en-US es-AR es-ES et eu
|
||||
fi fr fy-NL ga-IE gd gl he hu id is it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR
|
||||
pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi zh-CN zh-TW)
|
||||
|
||||
# Convert the ebuild version to the upstream mozilla version, used by
|
||||
MOZ_PN="${PN/-bin}"
|
||||
MOZ_PV="${PV/_beta/b}"
|
||||
MOZ_PV="${MOZ_PV/_rc/rc}"
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
|
||||
# Upstream ftp release URI that's used by mozlinguas.eclass
|
||||
# We don't use the http mirror because it deletes old tarballs.
|
||||
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/"
|
||||
|
||||
inherit eutils multilib pax-utils fdo-mime gnome2-utils mozlinguas nsplugins
|
||||
|
||||
DESCRIPTION="Thunderbird Mail Client"
|
||||
SRC_URI="${SRC_URI}
|
||||
amd64? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 )
|
||||
x86? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )"
|
||||
HOMEPAGE="http://www.mozilla.com/thunderbird"
|
||||
RESTRICT="strip mirror binchecks"
|
||||
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
SLOT="0"
|
||||
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
|
||||
IUSE="+crashreporter"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="virtual/freedesktop-icon-theme
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
x11-libs/libXmu
|
||||
>=x11-libs/gtk+-2.2:2
|
||||
>=media-libs/alsa-lib-1.0.16
|
||||
crashreporter? ( net-misc/curl ) "
|
||||
|
||||
S="${WORKDIR}/${MOZ_PN}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare MOZILLA_FIVE_HOME="/opt/${MOZ_PN}"
|
||||
|
||||
# Install thunderbird in /opt
|
||||
dodir ${MOZILLA_FIVE_HOME%/*}
|
||||
mv "${S}" "${D}"${MOZILLA_FIVE_HOME}
|
||||
|
||||
# Install language packs
|
||||
mozlinguas_src_install
|
||||
|
||||
# Create /usr/bin/thunderbird-bin
|
||||
dodir /usr/bin/
|
||||
cat <<EOF >"${D}"/usr/bin/${PN}
|
||||
#!/bin/sh
|
||||
unset LD_PRELOAD
|
||||
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}"
|
||||
exec ${MOZILLA_FIVE_HOME}/thunderbird "\$@"
|
||||
EOF
|
||||
fperms 0755 /usr/bin/${PN}
|
||||
|
||||
# Install icon and .desktop for menu entry
|
||||
doicon "${FILESDIR}"/icon/${PN}-icon.png
|
||||
domenu "${FILESDIR}"/icon/${PN}.desktop
|
||||
|
||||
# revdep-rebuild entry
|
||||
insinto /etc/revdep-rebuild
|
||||
doins "${FILESDIR}"/10${PN}
|
||||
|
||||
# Enable very specific settings for thunderbird-3
|
||||
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js \
|
||||
"${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \
|
||||
die "failed to cp thunderbird-gentoo-default-prefs.js"
|
||||
|
||||
# Plugins dir
|
||||
share_plugins_dir
|
||||
|
||||
pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird,plugin-container}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST miro-4.0.6.tar.gz 13078726 RMD160 88a2798ab7f95c3ffef579b9277ab5a1432b56f5 SHA1 5c3d632d8cf30516b321f79b22d4468b61ff9e6c SHA256 f51261d4505f0e9b2e429476ccfc8ce787ade6bfddb13a3eb05dee74a111d7da
|
||||
DIST miro-5.0.1.tar.gz 12944573 RMD160 8e99f77e94f52fbe5275db24e9e568ab324e7546 SHA1 d8e08c691958c250c990b45f2c8448c478d0f0fa SHA256 769907c7baed0fad293b634e191856dd0e0cfc09903137ecd4fbc470ac492a07
|
||||
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/miro/miro-5.0.1.ebuild,v 1.2 2012/06/17 01:52:39 jdhore Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2:2.7"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
inherit eutils fdo-mime gnome2-utils distutils
|
||||
|
||||
DESCRIPTION="Open source video player and podcast client"
|
||||
HOMEPAGE="http://www.getmiro.com/"
|
||||
SRC_URI="http://ftp.osuosl.org/pub/pculture.org/${PN}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="libnotify aac musepack xvid"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/glib:2
|
||||
>=dev-python/pyrex-0.9.6.4
|
||||
dev-python/pygtk:2
|
||||
dev-python/pygobject:2
|
||||
>=virtual/ffmpeg-0.6.90"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/dbus-python
|
||||
dev-python/pycairo
|
||||
dev-python/gconf-python
|
||||
dev-python/gst-python:0.10
|
||||
dev-python/pyrex
|
||||
>=dev-python/pywebkitgtk-1.1.5
|
||||
dev-python/pycurl
|
||||
>=net-libs/rb_libtorrent-0.14.1[python]
|
||||
media-libs/mutagen
|
||||
media-plugins/gst-plugins-meta:0.10
|
||||
media-plugins/gst-plugins-pango:0.10
|
||||
aac? ( media-plugins/gst-plugins-faad:0.10 )
|
||||
libnotify? ( dev-python/notify-python )
|
||||
musepack? ( media-plugins/gst-plugins-musepack:0.10 )
|
||||
xvid? ( media-plugins/gst-plugins-xvid:0.10 )
|
||||
net-dns/avahi[mdnsresponder-compat]"
|
||||
|
||||
DEPEND="${CDEPEND}"
|
||||
|
||||
# 2 unexpected failures, requires a running gconf which MAY not exist
|
||||
# but failing tests not a regression from 4.0.6
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${P}/linux"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# doing the mv now otherwise, distutils_src_install will install it
|
||||
mv README README.gtk || die "mv failed"
|
||||
|
||||
distutils_src_install
|
||||
|
||||
# installing docs
|
||||
dodoc README.gtk ../{CREDITS,README} || die "dodoc failed"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
ewarn
|
||||
ewarn "If miro doesn't play some video or audio format, please"
|
||||
ewarn "check your USE flags on media-plugins/gst-plugins-meta"
|
||||
ewarn
|
||||
elog "Miro for Linux doesn't support Adobe Flash, therefore you"
|
||||
elog "you will not see any embedded video player on MiroGuide."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
distutils_pkg_postrm
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST xine-ui-0.99.6.tar.xz 1797144 RMD160 b5d27f112d2ebb861d18be684c17c5fe0e7b7fbd SHA1 abbdb331898c14025ee6b132f63ab7d3c1b5b31e SHA256 4eb1e3eb6c2ebba70f2e215a15d8b99bb3e2b0449c94105dc16e963a99a59ef3
|
||||
DIST xine-ui-0.99.7.tar.xz 1752328 RMD160 e2f2311f62a5c5c7b9912b4c8acc059c42406a7c SHA1 ca82e09cf8245d038813bc4dbd8384ba79cbf197 SHA256 9d8cdfd1c5c84251d6978765b059adf57099ff6c447f3e4b59066c8563f66bc4
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue