parent
5de0d15f23
commit
f10bb03435
@ -1,2 +1,2 @@
|
||||
DIST ansible-0.9.tar.gz 603309 SHA256 55ba3ca0aeedf9b212b402bc36f206378b3d9151727b35b0b1eda90d7b07da27 SHA512 f1daff617cf0816543190b5f67a55d8addddfb90936023bc93d02e603bb3e4a552240484285ea0dcc5776e58cfc802bcf6e552c10c72c6f4ff09bc0df668fc58 WHIRLPOOL 6388cc9663e16211a7f80ba407ade396029e0f30eb540609cd09830b9277d38df81e7a9e23a0873fc5d9e7e76bc6eb34ba019f0e4aac58c467afb4214366a298
|
||||
DIST ansible-1.0.tar.gz 629525 SHA256 6e9bba5eef2575284bfc533c0cc751468d7a07dd608845437c2f96fc57653a54 SHA512 d5f84184cb7c0bc086ee726188d5e13533172cb219b6dde0a570b165540f08f64ca708b515e52fb95b1675755f1f90550a962c3b51fd085763389daa12ec971a WHIRLPOOL bb0cdbe096e4dcf6cf1d473b4678e9a3deec59d34da5fdebe1d80b20b781392a841bc5641fefc7f0f581be79c4829f9436792545cc2dfd0f70097d9d16213935
|
||||
DIST ansible-1.1.tar.gz 718567 SHA256 85331eda53171fc5faba9835f978e721c091b2f9792bd3e29dccdde5a16a1125 SHA512 cbe816b109077cee01a0fb92d11e0a1caad3a8ea7bea3a7fd77f1ad82bfe69824736c222072f8d98e8ebaf1e24f1b4a98c87eba5d950f7dc36259cfe6774d067 WHIRLPOOL 88597c5c37bc9653c5c9df5b9e846f13f939ee84b961c041c5b3f9f9e2592a24a7e6ac5a1581ac52b89328aa906d67c74af363500f72510263951625c3c9db67
|
||||
|
@ -1,23 +0,0 @@
|
||||
commit e41f89d507ec92339bf8751e1f5fd72233ff299d
|
||||
Author: Sergey Popov <admin@pinkbyte.ru>
|
||||
Date: Thu Jan 10 15:08:00 2013 +0400
|
||||
|
||||
Fix distribution detection - return string instead of functions
|
||||
|
||||
diff --git a/lib/ansible/module_common.py b/lib/ansible/module_common.py
|
||||
index 3db8439..882e5cd 100644
|
||||
--- a/lib/ansible/module_common.py
|
||||
+++ b/lib/ansible/module_common.py
|
||||
@@ -96,10 +96,10 @@ def get_distribution():
|
||||
''' return the distribution name '''
|
||||
if platform.system() == 'Linux':
|
||||
try:
|
||||
- distribution = platform.linux_distribution()[0].capitalize
|
||||
+ distribution = platform.linux_distribution()[0].capitalize()
|
||||
except:
|
||||
# FIXME: MethodMissing, I assume?
|
||||
- distribution = platform.dist()[0].capitalize
|
||||
+ distribution = platform.dist()[0].capitalize()
|
||||
else:
|
||||
distribution = None
|
||||
return distribution
|
@ -1,24 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>givi-zurabovich@mail.ru</email>
|
||||
<name>Georgy Kovtunov</name>
|
||||
<description>Maintainer. Assign bugs to him</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
<name>Sergey Popov</name>
|
||||
<description>Proxy maintainer. CC him on bugs</description>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ansible/ansible</remote-id>
|
||||
<bugs-to>https://github.com/ansible/ansible/issues</bugs-to>
|
||||
</upstream>
|
||||
<longdescription lang="en">Radically simple deployment, model-driven configuration management, and command execution framework.</longdescription>
|
||||
<use>
|
||||
<flag name="paramiko">Use <pkg>dev-python/paramiko</pkg> as SSH library (deprecated)</flag>
|
||||
<flag name="sudo">Use <pkg>app-admin/sudo</pkg> on client nodes (deprecated)</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,9 @@
|
||||
diff -Naur work.orig/usr/bin/SpiderOak work/usr/bin/SpiderOak
|
||||
--- work.orig/usr/bin/SpiderOak 2013-04-25 22:27:32.000000000 -0400
|
||||
+++ work/usr/bin/SpiderOak 2013-05-25 09:12:58.000000000 -0400
|
||||
@@ -5,4 +5,4 @@
|
||||
QT_PLUGIN_PATH="/opt/SpiderOak/lib/plugins/" ; export QT_PLUGIN_PATH
|
||||
SpiderOak_EXEC_SCRIPT=$(cd `dirname $0` ; pwd)/SpiderOak
|
||||
export SpiderOak_EXEC_SCRIPT
|
||||
-exec "/opt/SpiderOak/lib/SpiderOak" "$@"
|
||||
+exec "/opt/SpiderOak/lib/SpiderOak" --headless "$@"
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/mg-20110905.ebuild,v 1.15 2013/03/20 17:20:50 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="MicroGnuEmacs, a port from the BSDs"
|
||||
HOMEPAGE="http://homepage.boetes.org/software/mg/"
|
||||
SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain ISC BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ppc ~ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="livecd"
|
||||
|
||||
RDEPEND="sys-libs/ncurses"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
# econf won't work, as this script does not accept any parameters
|
||||
./configure || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall
|
||||
dodoc README tutorial
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use livecd; then
|
||||
[[ -e ${EROOT}/usr/bin/emacs ]] || ln -s mg "${EROOT}"/usr/bin/emacs
|
||||
fi
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST calibre-0.9.27.tar.xz 28696180 SHA256 8fd3779c8f878420333f6919f80493bf69d4b64bf427697ebc365497d2450d1f SHA512 91970f7c7349f661fc582eb43b89b81e77350b1cf2237c78e55c9f028a94b803b5d72bdac3ac11722c4fcf93077c1f8042567f8e380ad03423ba6c7f5dec7318 WHIRLPOOL 2313f94ee2417343693e1b48736434d1bf356795eb781abbaf68b858ba9fd57eb2a78e8afe04b9c992a1879a99eb9cf65527ccea7ed1a91d7554a62dcee7822b
|
||||
DIST calibre-0.9.30.tar.xz 28894864 SHA256 eab88d0d5ade70dd1bae9522f444ddd3ab71b2d57a159d6ecc6276cd674fc927 SHA512 330a1bdd7b43f6aea06d6a6e056c63991a3c763c2ccbf0fd70adedf2c943813872f9997340455442c8bb0d36fbeae9554a86d131dded662f57fc138ae8c5c231 WHIRLPOOL 1ea65422bb9b4e628ceb847c331148d22f323d82431e2bdee8cfa7f18d8068a6436e54140faeb6f4596ed1a6645d193d983ca2bc4938b5bb4fddc3c0a38fe025
|
||||
DIST calibre-0.9.31.tar.xz 28982364 SHA256 94346e605f72bac5cd4fc26d5a6b8644511d68837bc5f29bb30f9b13474ccd1b SHA512 4b287dcbc0ec8db86f8e41e87c7d7ece9781ede7309e84b0ff660efba08267f980fe95c733b0624945f99b805a84f0fbb479d825d4a7673bc68168ccd0059628 WHIRLPOOL af0741eb02296123e6348c6d157535336147d15d34028214536a2e10b66de5e9538d10aa29fff461c480dc4cf6db1091d03eade12be05dd7d36be9847fd6a85c
|
||||
DIST calibre-0.9.32.tar.xz 28973724 SHA256 c2ec0d369f7b45bb64e058e178284f2b5eeb8e8982d24da4d53610654f48dc07 SHA512 54992fe6ae10784d3841bf59f7cdd7fc372a0e64dad135a8a26a1a823e55c8c61b7f6d0942546a46ac3c2bef8b6225b2d267d264ecb3344b05c34a33c01462c4 WHIRLPOOL 115aa6f5713a62ab154d6f8b1ec931adda38a874f1465523fa4f16292ca8e76318df580f394eda09ff7047e3d1cb0751a025282221efed1c61a52c8f7629827e
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.30.ebuild,v 1.3 2013/05/18 23:07:28 zmedico Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.32.ebuild,v 1.1 2013/05/24 19:15:20 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,2 +0,0 @@
|
||||
DIST TeX-Guy-1.3.0.tar.gz 1952613 SHA256 ca33c45ab0df35a86f463a6e02df0432ce50b787699cd3bc5a9c344403439b5d SHA512 b7622eb2c167b55144a85994afbdf4d56368e3582a7cad735170c86af71e0311ffba51ed977f8933b4bf237ea0e120f1fdd73683329607f694f631eb22f8659c WHIRLPOOL 7cbcba0e4b535e909e9fd5e3ce8b6edae25a6a889d1b00e0631531788923530a48c637f5776d9de4db6a8d92be5173c967f543930ca6e3e28ff2198c82d572ba
|
||||
DIST TeX-Guy-1.3.2.tar.gz 3454304 SHA256 13a55a0f17ad2458c0a5a8c5323dd64fc9c46e250b0521fd1256e1024252b79d SHA512 68540707fc77379842155b67df4ffe27a834d44ce4fcf5c0615c228c495e79c2b88144c4e65e5a366714858d4d1d83278bd86bf46c499cf167b3322e35b9fd33 WHIRLPOOL fe257eddc8f02e566f2e2b379805b7fedad9fb986dbc29677c99d6f0722f05bce24c2afd71d70f70eb1b72dbb9d5dea086999d0f07ce3fac314f63b2e3e59195
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/tex-guy/tex-guy-1.3.0.ebuild,v 1.4 2007/04/27 04:00:56 josejx Exp $
|
||||
|
||||
inherit libtool
|
||||
|
||||
MY_P="TeX-Guy-${PV}"
|
||||
DESCRIPTION="Miscellaneous utilities using DVIlib"
|
||||
HOMEPAGE="http://typehack.aial.hiroshima-u.ac.jp/TeX-Guy/"
|
||||
SRC_URI="ftp://ftp.se.hiroshima-u.ac.jp/pub/TypeHack/${MY_P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=media-libs/vflib-3.6
|
||||
=x11-libs/gtk+-1.2*"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
cd ${S}
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf || die "econf failed"
|
||||
emake -j1 CDEBUGFLAGS="${CFLAGS}" \
|
||||
CXXDEBUGFLAGS="${CXXFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall localedir=${D}/usr/share/locale || die "install failed"
|
||||
|
||||
dodoc 00_* CHANGES
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/tex-guy/tex-guy-1.3.2.ebuild,v 1.1 2007/11/04 11:13:56 drac Exp $
|
||||
|
||||
MY_P=TeX-Guy-${PV}
|
||||
|
||||
DESCRIPTION="Set of TeX DVI previewers and printer drivers."
|
||||
HOMEPAGE="http://www-masu.ist.osaka-u.ac.jp/~kakugawa/TeX-Guy"
|
||||
SRC_URI="http://www-masu.ist.osaka-u.ac.jp/~kakugawa/download/TypeHack/${MY_P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="gtk"
|
||||
|
||||
RDEPEND=">=media-libs/vflib-3.6.14
|
||||
media-libs/aalib
|
||||
x11-libs/libX11
|
||||
gtk? ( =x11-libs/gtk+-1.2* )"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-misc/imake"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_install() {
|
||||
einstall localedir="${D}"/usr/share/locale || die "installation failed."
|
||||
rm -rf "${D}"/usr/man
|
||||
doman man/*.gz
|
||||
dodoc 00_* CHANGES
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
diff -uNr gnome-keyring-sharp-1.0.1.old/docs/Makefile.am gnome-keyring-sharp-1.0.1/docs/Makefile.am
|
||||
--- gnome-keyring-sharp-1.0.1.old/docs/Makefile.am 2009-05-07 17:32:19.000000000 +0200
|
||||
+++ gnome-keyring-sharp-1.0.1/docs/Makefile.am 2011-10-31 17:03:46.648191581 +0100
|
||||
@@ -1,5 +1,5 @@
|
||||
if ENABLE_MONODOC
|
||||
-SOURCESDIR=$(libdir)/monodoc/sources
|
||||
+SOURCESDIR=$(prefix)/lib/monodoc/sources
|
||||
TARGETS=Gnome.Keyring.tree Gnome.Keyring.zip Gnome.Keyring.source
|
||||
UPDATER = $(MONODOCER) -path:Gnome.Keyring $(UPDATE_ASSEMBLIES)
|
||||
else
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r1.ebuild,v 1.1 2013/05/24 18:54:39 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils mono-env
|
||||
|
||||
DESCRIPTION="C# implementation of gnome-keyring"
|
||||
HOMEPAGE="http://www.mono-project.com/ https://github.com/mono/gnome-keyring-sharp"
|
||||
SRC_URI="http://www.go-mono.com/archive/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/mono-2.0
|
||||
>=gnome-base/libgnome-keyring-2.30.0
|
||||
dev-dotnet/glib-sharp
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Disable building samples.
|
||||
sed -i -e 's:sample::' "${S}"/Makefile.in || die "sed failed"
|
||||
|
||||
# Apply Fedora patches
|
||||
epatch "${FILESDIR}/${PN}-1.0.2-monodoc-dir.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This dies without telling in docs with anything not -j1
|
||||
# CSC=gmcs needed for http://bugs.gentoo.org/show_bug.cgi?id=250069
|
||||
emake -j1 CSC=gmcs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST nant-0.90-src.tar.gz 1716710 SHA256 dce53539e3a794f1c6dbc887deb90f3c20eceeb7e6c5fd7169a71531a1e987cc SHA512 b5c8e778e970bf3104180a4c4c8006f5866e77b03e9446f8fbc09bcc3d06a7014b20e32355dc6871d0a3679c444ae0a44ff31f9a5d392e042e054c704331380e WHIRLPOOL 288d797c35dcae4a8072224656e3f2e1d7abd5b0d5ad6666a7d16dee7e2bc0cb7bf0f4e2cd2af2285b1caca296163960e1dcf6d432766ac96d508a86e6bf2933
|
||||
DIST nant-0.91-src.tar.gz 1612336 SHA256 6694f16d71f77912ba08a6d83d6a1a67afe5f57469d817918cdc7ed1912974b7 SHA512 bfc920d780f9af7f4eb045890009c38138b6dcb078c2d73e664d434b95a364c9471e72d08c6745a6fa3ffc387770d9b80e8b6c07a6ad74192bff15d2c1a87db1 WHIRLPOOL 2f695a488196ea540c7c4d9ab8e32d751564d0842b2dc6fcecbf0513b16f714054c143bf77cc7cf9aafa84d892fcd7cbe16252ff3cace3d3ec74a0c0a07396bd
|
||||
DIST nant-0.92-src.tar.gz 1601180 SHA256 72d4d585267ed7f03e1aa75087d96f4f8d49ee976c32d974c5ab1fef4d4f8305 SHA512 4172b208ef22af19c456802113005652ac54b41e1baad8130eb4a9321872ee55fbc50379087aeaff7188f40d178519b35f1d74fa7e799c1fbfa046c619536005 WHIRLPOOL b5389dcf693d9e1c41297d5e59ba8caba584b819c53bb7ab8dd9810fe904c155941e0613ff9123fd2b57d1462452c9083f828cb4192d22f995f7981c0a6ac131
|
||||
DIST nant-0.93_pre20130131.tar.bz2 10828155 SHA256 c5f88105984dd6de886e7b7f61a1258806e5da5c1f2f0d6459bc5b97b817a9b7 SHA512 ab4fa73d979d6b8485ed4ad5d7938b7a7bf10030435955d0c5615ac27f0543edb823869f1773f3e9fcd1bdfe67a25a93af111daae4f8fadb7c64b65d87232e42 WHIRLPOOL d0a373d1c5b6e63919854aa2f863ca948800b873233bca1e686db0e82c8596608f35b07b8177caec7fe311378f8b68ca09bded8d1e3453f84e911ba9e573ad68
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/nant/nant-0.91.ebuild,v 1.5 2012/08/18 12:26:23 xmw Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit mono multilib eutils
|
||||
|
||||
DESCRIPTION=".NET build tool"
|
||||
HOMEPAGE="http://nant.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/nant/${P/_/-}-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/mono-2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
# This build is not parallel build friendly
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
|
||||
src_install() {
|
||||
emake prefix="${ED}/usr" install
|
||||
|
||||
# Fix ${ED} showing up in the nant wrapper script, as well as silencing
|
||||
# warnings related to the log4net library
|
||||
sed -i \
|
||||
-e "s:${ED}::" \
|
||||
-e "2iexport MONO_SILENT_WARNING=1" \
|
||||
-e "s:${ED}::" \
|
||||
"${ED}"/usr/bin/nant || die "Sed nant failed"
|
||||
|
||||
dodoc README.txt
|
||||
}
|
@ -1,81 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id: mod-mono-server.initd,v 1.1 2009/01/18 17:44:04 loki_val Exp $
|
||||
|
||||
depend() {
|
||||
use net
|
||||
after dotnet
|
||||
}
|
||||
|
||||
start() {
|
||||
[ -z "$MonoServerRootDir" ] && \
|
||||
MonoServerRootDir="/usr/lib/xsp/test"
|
||||
[ -z "$MonoApplications" ] && \
|
||||
MonoApplications="/mono:/usr/lib/xsp/test,/:."
|
||||
[ -z "$UnixSocketFileName" ] && \
|
||||
UnixSocketFileName="/tmp/mod_mono_server"
|
||||
[ -z "$MonoServerAddress" ] && \
|
||||
MonoServerAddress=127.0.0.1
|
||||
[ -z "$MonoServerPort" ] && \
|
||||
MonoServerPort=8080
|
||||
[ -z "$MonoServerVersion" ] && \
|
||||
MonoServerVersion=1
|
||||
|
||||
MONO_SERVER_OPTS="--root ${MonoServerRootDir} \
|
||||
--applications ${MonoApplications} --nonstop"
|
||||
|
||||
[ -n "$MonoApplicationsConfigDir" ] && \
|
||||
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
|
||||
--appconfigdir ${MonoApplicationsConfigDir}"
|
||||
|
||||
case "$MonoServerChannel" in
|
||||
"tcp" )
|
||||
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
|
||||
--address ${MonoServerAddress} --port ${MonoServerPort}"
|
||||
;;
|
||||
|
||||
"unix" )
|
||||
[ -f "$UnixSocketFileName" ] && rm -f $UnixSocketFileName
|
||||
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
|
||||
--filename ${UnixSocketFileName}"
|
||||
;;
|
||||
|
||||
* )
|
||||
eerror "Please set a valid value for MonoServerChannel"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ ${MonoServerVersion} -eq 1 ]; then
|
||||
modmonoserverpath=1.0/mod-mono-server.exe
|
||||
elif [ ${MonoServerVersion} -eq 2 ]; then
|
||||
modmonoserverpath=2.0/mod-mono-server2.exe
|
||||
else
|
||||
eerror "MonoServerVersion was not properly set. Check your /etc/conf.d/xsp"
|
||||
return 1
|
||||
fi
|
||||
|
||||
export MONO_SHARED_DIR=/tmp
|
||||
|
||||
ebegin "Starting mod-mono-server"
|
||||
|
||||
start-stop-daemon --quiet --start \
|
||||
--background \
|
||||
--make-pidfile \
|
||||
--pidfile /var/run/aspnet/mod-mono-server.pid \
|
||||
--chuid aspnet \
|
||||
--exec /usr/bin/mono /usr/lib/mono/${modmonoserverpath} \
|
||||
-- $MONO_SERVER_OPTS
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping mod-mono-server"
|
||||
|
||||
start-stop-daemon -o --quiet --stop \
|
||||
--pidfile /var/run/aspnet/mod-mono-server.pid
|
||||
|
||||
eend $?
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/xsp-2.10.2-r1.ebuild,v 1.5 2012/08/18 12:27:25 xmw Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit go-mono mono user
|
||||
|
||||
PATCHDIR="${FILESDIR}/2.2/"
|
||||
|
||||
DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
|
||||
HOMEPAGE="http://www.mono-project.com/ASP.NET"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-db/sqlite:3"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
src_configure() {
|
||||
default
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup aspnet
|
||||
# Give aspnet home dir of /tmp since it must create ~/.wapi
|
||||
enewuser aspnet -1 -1 /tmp aspnet
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv_command="cp -ar" go-mono_src_install
|
||||
newinitd "${PATCHDIR}"/xsp.initd xsp
|
||||
newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
|
||||
newconfd "${PATCHDIR}"/xsp.confd xsp
|
||||
newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server
|
||||
|
||||
keepdir /var/run/aspnet
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chown aspnet:aspnet /var/run/aspnet
|
||||
}
|
@ -0,0 +1,103 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/openocd-0.7.0.ebuild,v 1.1 2013/05/25 09:14:03 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib flag-o-matic toolchain-funcs
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit autotools git-2
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
DESCRIPTION="OpenOCD - Open On-Chip Debugger"
|
||||
HOMEPAGE="http://openocd.sourceforge.net"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="blaster dummy ftd2xx ftdi minidriver parport presto segger usb versaloon"
|
||||
RESTRICT="strip" # includes non-native binaries
|
||||
|
||||
# libftd2xx is the default because it is reported to work better.
|
||||
DEPEND=">=dev-lang/jimtcl-0.73
|
||||
usb? ( virtual/libusb:0 )
|
||||
presto? ( dev-embedded/libftd2xx )
|
||||
ftd2xx? ( dev-embedded/libftd2xx )
|
||||
ftdi? ( dev-embedded/libftdi )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE="blaster? ( || ( ftdi ftd2xx ) ) ftdi? ( !ftd2xx )"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
sed -i -e "/@include version.texi/d" doc/${PN}.texi || die
|
||||
AT_NO_RECURSIVE=yes eautoreconf
|
||||
fi
|
||||
|
||||
# Disable craptastic build settings.
|
||||
sed -i \
|
||||
-e 's:if test "[$]OCDxprefix" != "[$]ac_default_prefix":if false:' \
|
||||
configure || die
|
||||
|
||||
if use ftdi ; then
|
||||
local pc="libftdi$(has_version '=dev-embedded/libftdi-1*' && echo 1)"
|
||||
# Use libftdi-1 paths #460916
|
||||
local libs=$($(tc-getPKG_CONFIG) --libs ${pc})
|
||||
sed -i \
|
||||
-e "s:-lftdi -lusb:${libs}:" \
|
||||
configure src/Makefile.in || die
|
||||
append-cppflags $($(tc-getPKG_CONFIG) --cflags ${pc})
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Here are some defaults
|
||||
local myconf=(
|
||||
--enable-buspirate
|
||||
--enable-ioutil
|
||||
--disable-werror
|
||||
--disable-internal-jimtcl
|
||||
--enable-amtjtagaccel
|
||||
--enable-ep93xx
|
||||
--enable-at91rm9200
|
||||
--enable-gw16012
|
||||
--enable-oocd_trace
|
||||
)
|
||||
|
||||
if use usb; then
|
||||
myconf+=(
|
||||
--enable-usbprog
|
||||
--enable-jlink
|
||||
--enable-rlink
|
||||
--enable-vsllink
|
||||
--enable-arm-jtag-ew
|
||||
)
|
||||
fi
|
||||
|
||||
# add explicitely the path to libftd2xx
|
||||
use ftd2xx && append-ldflags -L/opt/$(get_libdir)
|
||||
|
||||
if use blaster; then
|
||||
use ftdi && myconf+=( --enable-usb_blaster_libftdi )
|
||||
use ftd2xx && myconf+=( --enable-usb_blaster_ftd2xx )
|
||||
fi
|
||||
econf \
|
||||
$(use_enable dummy) \
|
||||
$(use_enable ftdi ft2232_libftdi) \
|
||||
$(use_enable ftd2xx ft2232_ftd2xx) \
|
||||
$(use_enable minidriver minidriver-dummy) \
|
||||
$(use_enable parport) \
|
||||
$(use_enable presto presto_ftd2xx) \
|
||||
$(use_enable segger jlink) \
|
||||
$(use_enable versaloon vsllink) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
env -uRESTRICT prepstrip "${ED}"/usr/bin "${ED}"/usr/$(get_libdir)
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ChasingBottoms-1.3.0.5.tar.gz 31053 SHA256 c0f770e7b06c8ffcc3d6ceedd2db96f6fee3c0ffeab5de2deda0de8798286c3c SHA512 e1a69ded02716f53b4985511ec09bca42eac25be5e0ee03255f50f89a806c2beeac74872014498be3f72e547486ef454210832e8788907c740ae27c3f9f1be70 WHIRLPOOL af6d8fdaf8dfa98eeb38df3a0bd583c1180a96ec02a6e08581b5917ad25d3ad40a4bbf562755f40e2902fa95c7c721a1117f5b731830d0b68fc4dbe3cdca54ac
|
||||
DIST ChasingBottoms-1.3.0.6.tar.gz 31042 SHA256 a8bfa717ff0bebfe1f78f4ffc3ebfe69b88aa86c090354210577e54f7db080d0 SHA512 d69f8a9d42d7e9bbfbd5d4d8ab4a23e3f025dafc27a2483e007e5e3fe41314f2885ec3fbafded9b5c10de5c996f2d68c71de75436c8bc7a754568ba2d029d0e6 WHIRLPOOL 81e232c7ae48f4cfd31de35d25efe16b46de2330b81987bbf7f965d76dc335acfcdc262dc3a6930c2005a5e76d034aa64aa2335a3a4313364c7e3108a07771c9
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/chasingbottoms/chasingbottoms-1.3.0.6.ebuild,v 1.1 2013/05/25 09:20:46 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN="ChasingBottoms"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="For testing partial and infinite values."
|
||||
HOMEPAGE="http://hackage.haskell.org/package/ChasingBottoms"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-haskell/mtl-1.1:=[profile?]
|
||||
<dev-haskell/mtl-2.2:=[profile?]
|
||||
>=dev-haskell/quickcheck-2.1:2=[profile?]
|
||||
<dev-haskell/quickcheck-2.7:2=[profile?]
|
||||
=dev-haskell/random-1.0*:=[profile?]
|
||||
>=dev-haskell/syb-0.1.0.2:=[profile?]
|
||||
<dev-haskell/syb-0.5:=[profile?]
|
||||
>=dev-lang/ghc-6.12.1:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
$(cabal_flag test build-tests)
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.24.ebuild,v 1.1 2013/05/25 10:56:47 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit base haskell-cabal
|
||||
|
||||
MY_PN="HaXml"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Utilities for manipulating XML documents"
|
||||
HOMEPAGE="http://www.cs.york.ac.uk/fp/HaXml/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/polyparse-1.9:=[profile?]
|
||||
dev-haskell/random:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-1.23.3-haddock.patch")
|
@ -1 +1,2 @@
|
||||
DIST polyparse-1.8.tar.gz 22223 SHA256 96fbc3ce3c239c6ce566437e17dc98649982e72dc3edcb68ef5ee083b210d922 SHA512 f0a6b84945c1da009ae594089d2a5df51f37c0f8e776c07489671e6770abf68d7a6794c179b7c922aa1ea30c79bb1879fa3505848313bbfb51d46fecc1c9bfa4 WHIRLPOOL dc6ff11ca19ff8b7bd5c2dfe7cb44d28ca9e7f7077c72d9ffe2d0f8cf08e54893e7e6cad0828399a45779d46a0f737757372e1f9b546d9962834395647611558
|
||||
DIST polyparse-1.9.tar.gz 22256 SHA256 9f12d6821594166af881941d6c346a6ad617eae18a0ee8659044ef163694708a SHA512 80f7cc269c7082d256aa273ce668a8fd9f58b4827fa69e390d749a622d667d5c01b7ede3719d52408d3efa35de66928a3fa659f3798826a2d53222d8a8d9d7e6 WHIRLPOOL c56e89ed646622646e1792193c861297f6df36c32d3fb4afa9d98174eabc7e5b771928fe6e2a2ac68c58791d4f7dffec83842f4b401bcb488e3aafa3ddc8780a
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/polyparse/polyparse-1.9.ebuild,v 1.1 2013/05/25 10:56:04 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A variety of alternative parser combinator libraries."
|
||||
HOMEPAGE="http://code.haskell.org/~malcolm/polyparse/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/text:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/text/text-0.11.3.1.ebuild,v 1.1 2013/05/25 13:26:14 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.2.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="An efficient packed Unicode text type."
|
||||
HOMEPAGE="https://github.com/bos/text"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="developer integer-simple"
|
||||
|
||||
RDEPEND=">=dev-haskell/deepseq-1.1.0.0:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.8
|
||||
test? ( >=dev-haskell/hunit-1.2
|
||||
>=dev-haskell/quickcheck-2.4
|
||||
dev-haskell/random
|
||||
>=dev-haskell/test-framework-0.4
|
||||
>=dev-haskell/test-framework-hunit-0.2
|
||||
>=dev-haskell/test-framework-quickcheck2-0.2
|
||||
)"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
$(cabal_flag developer developer) \
|
||||
$(cabal_flag integer-simple integer-simple)
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST mono-2.10.9.tar.bz2 34038017 SHA256 541038cd4edd4a1c485638d49697d45015ef7483bcb21bb6165e4d7eb770c9a5 SHA512 426881873e7f9aaf01e1306bed7b3ac220082ca40dce91fa4f4f331944e8d91453b3cdcc4918882ab039ed694ae8819eeb787edf6a2ad42cc661614076725c01 WHIRLPOOL 93f54fbbf032fb60467fd4317630588d349c3dfb50158bad478bd3e2650fd3e8f12d45be372873b57626d4ac48f798646c3650590bbf731dc2f005ee618b8548
|
||||
DIST mono-2.11.1.tar.bz2 48552641 SHA256 c4fc1ffb074c6ed34e3e7aaa8c828c8b53149801d26c2a29c7c9407ed5ae2341 SHA512 260aa4f3a8a4ed8f1748b89fb8e86853ba11b2ddb0b247d4b4ed1ff68bf38012248a17fe89ba5a81c17371dc038f84ab2b3372a9d3d67314655a91a078b84747 WHIRLPOOL baa803fd7c60e0e01798ebb43905bc9f1e782c1d104a70967e89715c4082b993572a70fa37931259f10e068db0dbb63de1f289dd4558fbe093632a4ad3696454
|
||||
DIST mono-2.11.4.tar.bz2 41318816 SHA256 d96ae63650ed1bd48fe5e6a4c5cb0a85fbad40675a7418b508005701a4bd6873 SHA512 e196686637be91b782a9ff4d42098a361eaf00b6de1b18796a7390b2e55f04f6d05b3c055b302b5a72940597cbde5f75e94a8e8c4530300d3303c84fb021dfda WHIRLPOOL c61337e38827dcff13924209a1ece71d172b8704ad5879aa8265e8fa60917ca73062e59846f5e7776dd3435e628eb26a231a6a120c4ed5beb62eeadfd32a19ad
|
||||
DIST mono-3.0.7.tar.bz2 81538605 SHA256 89357e58a1b5cb6ff3116d4ce8227dee61b1c0cb494fa2844da5b1fc55fb890b SHA512 b1cb57a38c22d9186fcc1cfbd344e05e24edc5d56391238311ac6b2841a4f971a32f46c3e064760045e8352140a7c4fe785a6108d945371af9de3730e186fbdd WHIRLPOOL 19f451194361d0f0fa3c403310c63cd2f444a2132693fc4b127311a57d0a1df18f917d4c373b8f8f9fbf217d5c6d85f3092ac75d6aede285ed80d3bb2b07f758
|
||||
|
@ -1,263 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.10.9-r1.ebuild,v 1.4 2012/08/24 12:07:53 xmw Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
|
||||
|
||||
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
|
||||
HOMEPAGE="http://www.mono-project.com/Main_Page"
|
||||
|
||||
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
IUSE="minimal pax_kernel xen"
|
||||
|
||||
#Bash requirement is for += operator
|
||||
COMMONDEPEND="!dev-util/monodoc
|
||||
!minimal? ( =dev-dotnet/libgdiplus-${GO_MONO_REL_PV}* )
|
||||
ia64? ( sys-libs/libunwind )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
|| ( www-client/links www-client/lynx )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
sys-devel/bc
|
||||
virtual/yacc
|
||||
>=app-shells/bash-3.2
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux
|
||||
then
|
||||
get_version
|
||||
if linux_config_exists
|
||||
then
|
||||
if linux_chkconfig_present SYSVIPC
|
||||
then
|
||||
einfo "CONFIG_SYSVIPC is set, looking good."
|
||||
else
|
||||
eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
|
||||
eerror "See http://bugs.gentoo.org/261869 for more info."
|
||||
die "Please set CONFIG_SYSVIPC in your kernel .config"
|
||||
fi
|
||||
else
|
||||
ewarn "Was unable to determine your kernel .config"
|
||||
ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
|
||||
ewarn "See http://bugs.gentoo.org/261869 for more info."
|
||||
fi
|
||||
fi
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.10.2-threads-access.patch"
|
||||
"${FILESDIR}/${P}-CVE-2012-3382.patch" )
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
go-mono_src_prepare
|
||||
|
||||
# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
|
||||
# get killed in the build proces when MPROTEC is enable. #286280
|
||||
# RANDMMAP kill the build proces to #347365
|
||||
if use pax_kernel ; then
|
||||
ewarn "We are disabling MPROTECT on the mono binary."
|
||||
sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# mono's build system is finiky, strip the flags
|
||||
strip-flags
|
||||
|
||||
# Remove this at your own peril. Mono will barf in unexpected ways.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# NOTE: We need the static libs for now so mono-debugger works.
|
||||
# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
|
||||
#
|
||||
# --without-moonlight since www-plugins/moonlight is not the only one
|
||||
# using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
|
||||
#
|
||||
# --with-profile4 needs to be always enabled since it's used by default
|
||||
# and, otherwise, problems like bug #340641 appear.
|
||||
#
|
||||
# sgen fails on ppc, bug #359515
|
||||
|
||||
local myconf=""
|
||||
use ppc && myconf="${myconf} --with-sgen=no"
|
||||
go-mono_src_configure \
|
||||
--enable-static \
|
||||
--disable-quiet-build \
|
||||
--without-moonlight \
|
||||
--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
|
||||
$(use_with xen xen_opt) \
|
||||
--without-ikvm-native \
|
||||
--with-jit \
|
||||
--disable-dtrace \
|
||||
--with-profile4 \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
export MONO_REGISTRY_PATH="${T}/registry"
|
||||
export XDG_DATA_HOME="${T}/data"
|
||||
export MONO_SHARED_DIR="${T}/shared"
|
||||
export XDG_CONFIG_HOME="${T}/config"
|
||||
export HOME="${T}/home"
|
||||
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
go-mono_src_install
|
||||
|
||||
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
|
||||
# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
|
||||
# for reference.
|
||||
rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
|
||||
rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
|
||||
}
|
||||
|
||||
#THINK!!!! Before touching postrm and postinst
|
||||
#Reference phase order:
|
||||
#pkg_preinst
|
||||
#pkg_prerm
|
||||
#pkg_postrm
|
||||
#pkg_postinst
|
||||
|
||||
pkg_preinst() {
|
||||
local symlink
|
||||
local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit"
|
||||
local pv_atom
|
||||
if [[ "$(readlink "${ROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]]
|
||||
then
|
||||
for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4
|
||||
do
|
||||
if has_version "=dev-lang/mono-${pv_atom}"
|
||||
then
|
||||
einfo "If you just received a file collision warning message,"
|
||||
einfo "be advised that this is a known problem, which will now be fixed:"
|
||||
ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
|
||||
for symlink in \
|
||||
"${ROOT}/${NUNIT_DIR}" \
|
||||
"${ROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \
|
||||
"${ROOT}/usr/bin/nunit-console" \
|
||||
"${ROOT}/usr/bin/nunit-console2"
|
||||
do
|
||||
if [[ -L "${symlink}" ]]
|
||||
then
|
||||
rm -f "${symlink}" &> /dev/null
|
||||
fi
|
||||
done
|
||||
eend 0
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
#pkg_postinst() {
|
||||
# elog "PLEASE TAKE NOTE!"
|
||||
# elog ""
|
||||
# elog "Some of the namespaces supported by Mono require extra packages to be installed."
|
||||
# elog "Below is a list of namespaces and the corresponding package you must install:"
|
||||
# elog ""
|
||||
# elog ">=x11-libs/cairo-1.6.4"
|
||||
# elog " Mono.Cairo"
|
||||
# elog "Also read:"
|
||||
# elog "http://www.mono-project.com/Mono.Cairo"
|
||||
# elog ""
|
||||
# elog ">=dev-db/firebird-2.0.4.13130.1"
|
||||
# elog " FirebirdSql.Data.Firebird"
|
||||
# elog "Also read:"
|
||||
# elog "http://www.mono-project.com/Firebird_Interbase"
|
||||
# elog ""
|
||||
# elog "dev-db/sqlite:3"
|
||||
# elog " Mono.Data.Sqlite"
|
||||
# elog "Also read:"
|
||||
# elog "http://www.mono-project.com/SQLite"
|
||||
# elog ""
|
||||
# elog ">=dev-db/oracle-instantclient-basic-10.2"
|
||||
# elog " System.Data.OracleClient"
|
||||
# elog "Also read:"
|
||||
# elog "http://www.mono-project.com/Oracle"
|
||||
# elog ""
|
||||
# elog "Mono also has support for packages that are not included in portage:"
|
||||
# elog ""
|
||||
# elog "No ebuild available:"
|
||||
# elog " IBM.Data.DB2"
|
||||
# elog "Also read: http://www.mono-project.com/IBM_DB2"
|
||||
# elog ""
|
||||
# elog "No ebuild needed:"
|
||||
# elog " Mono.Data.SybaseClient"
|
||||
# elog "Also read: http://www.mono-project.com/Sybase"
|
||||
#}
|
||||
|
||||
# NOTICE: THE COPYRIGHT FILES IN THE TARBALL ARE UNCLEAR!
|
||||
# WHENEVER YOU THINK SOMETHING IS GPL-2+, IT'S ONLY GPL-2
|
||||
# UNLESS MIGUEL DE ICAZA HIMSELF SAYS OTHERWISE.
|
||||
|
||||
# mono
|
||||
# The code we use is LGPL, but contributions must be made under the MIT/X11
|
||||
# license, so Novell can serve its paying customers. Exception is mono/man.
|
||||
# LICENSE="LGPL-2.1"
|
||||
|
||||
# mono/man
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/mcs
|
||||
# mcs/gmcs
|
||||
# LICENSE="GPL-2 MIT"
|
||||
|
||||
# tests
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/class
|
||||
# Except the listed exceptions:
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/class/ByteFX.Data
|
||||
# mcs/class/Npgsql
|
||||
# LICENSE="LGPL-2.1"
|
||||
|
||||
# mcs/class/FirebirdSql.Data.Firebird
|
||||
# LICENSE="IDPL"
|
||||
|
||||
# mcs/class/ICSharpCode.SharpZipLib
|
||||
# LICENSE="GPL-2-with-linking-exception"
|
||||
|
||||
# mcs/class/MicrosoftAjaxLibrary
|
||||
# LICENSE="Ms-Pl"
|
||||
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/TokenStream.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Token.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Parser.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Decompiler.cs
|
||||
# LICENSE="|| ( NPL-1.1 GPL-2 )"
|
||||
|
||||
# mcs/jay
|
||||
# LICENSE="BSD-4"
|
||||
|
||||
# mcs/tools
|
||||
# Except the listed exceptions:
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/tools/mdoc/Mono.Documentation/monodocs2html.cs
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# mcs/tools/sqlsharp/SqlSharpCli.cs
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# mcs/tools/csharp/repl.cs
|
||||
# LICENSE="|| ( MIT GPL-2 )"
|
||||
|
||||
# mcs/tools/mono-win32-setup.nsi
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# samples
|
||||
# LICENSE="MIT"
|
@ -1,265 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.11.1.ebuild,v 1.2 2012/08/20 02:53:45 ottxor Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
|
||||
|
||||
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
|
||||
HOMEPAGE="http://www.mono-project.com/Main_Page"
|
||||
|
||||
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
|
||||
|
||||
IUSE="minimal pax_kernel xen"
|
||||
|
||||
#Bash requirement is for += operator
|
||||
COMMONDEPEND="!dev-util/monodoc
|
||||
!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
|
||||
ia64? ( sys-libs/libunwind )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
|| ( www-client/links www-client/lynx )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
sys-devel/bc
|
||||
virtual/yacc
|
||||
>=app-shells/bash-3.2
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
QA_FLAGS_IGNORED="/usr/lib64/mono/4.5/mcs.exe.so \
|
||||
/usr/lib64/mono/4.5/mscorlib.dll.so"
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux
|
||||
then
|
||||
get_version
|
||||
if linux_config_exists
|
||||
then
|
||||
if linux_chkconfig_present SYSVIPC
|
||||
then
|
||||
einfo "CONFIG_SYSVIPC is set, looking good."
|
||||
else
|
||||
eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
|
||||
eerror "See http://bugs.gentoo.org/261869 for more info."
|
||||
die "Please set CONFIG_SYSVIPC in your kernel .config"
|
||||
fi
|
||||
else
|
||||
ewarn "Was unable to determine your kernel .config"
|
||||
ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
|
||||
ewarn "See http://bugs.gentoo.org/261869 for more info."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
go-mono_src_prepare
|
||||
|
||||
# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
|
||||
# get killed in the build proces when MPROTEC is enable. #286280
|
||||
# RANDMMAP kill the build proces to #347365
|
||||
if use pax_kernel ; then
|
||||
ewarn "We are disabling MPROTECT on the mono binary."
|
||||
sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# mono's build system is finiky, strip the flags
|
||||
strip-flags
|
||||
|
||||
# Remove this at your own peril. Mono will barf in unexpected ways.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# NOTE: We need the static libs for now so mono-debugger works.
|
||||
# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
|
||||
#
|
||||
# --without-moonlight since www-plugins/moonlight is not the only one
|
||||
# using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
|
||||
#
|
||||
# --with-profile4 needs to be always enabled since it's used by default
|
||||
# and, otherwise, problems like bug #340641 appear.
|
||||
#
|
||||
# sgen fails on ppc, bug #359515
|
||||
|
||||
local myconf=""
|
||||
use ppc && myconf="${myconf} --with-sgen=no"
|
||||
go-mono_src_configure \
|
||||
--enable-system-aot=yes \
|
||||
--enable-static \
|
||||
--disable-quiet-build \
|
||||
--without-moonlight \
|
||||
--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
|
||||
$(use_with xen xen_opt) \
|
||||
--without-ikvm-native \
|
||||
--with-jit \
|
||||
--disable-dtrace \
|
||||
--with-profile4 \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
export MONO_REGISTRY_PATH="${T}/registry"
|
||||
export XDG_DATA_HOME="${T}/data"
|
||||
export MONO_SHARED_DIR="${T}/shared"
|
||||
export XDG_CONFIG_HOME="${T}/config"
|
||||
export HOME="${T}/home"
|
||||
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
go-mono_src_install
|
||||
|
||||
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
|
||||
# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
|
||||
# for reference.
|
||||
rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
|
||||
rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
|
||||
}
|
||||
|
||||
#THINK!!!! Before touching postrm and postinst
|
||||
#Reference phase order:
|
||||
#pkg_preinst
|
||||
#pkg_prerm
|
||||
#pkg_postrm
|
||||
#pkg_postinst
|
||||
|
||||
pkg_preinst() {
|
||||
local symlink
|
||||
local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit"
|
||||
local pv_atom
|
||||
if [[ "$(readlink "${EROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]]
|
||||
then
|
||||
for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4
|
||||
do
|
||||
if has_version "=dev-lang/mono-${pv_atom}"
|
||||
then
|
||||
einfo "If you just received a file collision warning message,"
|
||||
einfo "be advised that this is a known problem, which will now be fixed:"
|
||||
ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
|
||||
for symlink in \
|
||||
"${EROOT}/${NUNIT_DIR}" \
|
||||
"${EROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \
|
||||
"${EROOT}/usr/bin/nunit-console" \
|
||||
"${EROOT}/usr/bin/nunit-console2"
|
||||
do
|
||||
if [[ -L "${symlink}" ]]
|
||||
then
|
||||
rm -f "${symlink}" &> /dev/null
|
||||
fi
|
||||
done
|
||||
eend 0
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "PLEASE TAKE NOTE!"
|
||||
elog ""
|
||||
elog "Some of the namespaces supported by Mono require extra packages to be installed."
|
||||
elog "Below is a list of namespaces and the corresponding package you must install:"
|
||||
elog ""
|
||||
elog ">=x11-libs/cairo-1.6.4"
|
||||
elog " Mono.Cairo"
|
||||
elog "Also read:"
|
||||
elog "http://www.mono-project.com/Mono.Cairo"
|
||||
elog ""
|
||||
elog ">=dev-db/firebird-2.0.4.13130.1"
|
||||
elog " FirebirdSql.Data.Firebird"
|
||||
elog "Also read:"
|
||||
elog "http://www.mono-project.com/Firebird_Interbase"
|
||||
elog ""
|
||||
elog "dev-db/sqlite:3"
|
||||
elog " Mono.Data.Sqlite"
|
||||
elog "Also read:"
|
||||
elog "http://www.mono-project.com/SQLite"
|
||||
elog ""
|
||||
elog ">=dev-db/oracle-instantclient-basic-10.2"
|
||||
elog " System.Data.OracleClient"
|
||||
elog "Also read:"
|
||||
elog "http://www.mono-project.com/Oracle"
|
||||
elog ""
|
||||
elog "Mono also has support for packages that are not included in portage:"
|
||||
elog ""
|
||||
elog "No ebuild available:"
|
||||
elog " IBM.Data.DB2"
|
||||
elog "Also read: http://www.mono-project.com/IBM_DB2"
|
||||
elog ""
|
||||
elog "No ebuild needed:"
|
||||
elog " Mono.Data.SybaseClient"
|
||||
elog "Also read: http://www.mono-project.com/Sybase"
|
||||
}
|
||||
|
||||
# NOTICE: THE COPYRIGHT FILES IN THE TARBALL ARE UNCLEAR!
|
||||
# WHENEVER YOU THINK SOMETHING IS GPL-2+, IT'S ONLY GPL-2
|
||||
# UNLESS MIGUEL DE ICAZA HIMSELF SAYS OTHERWISE.
|
||||
|
||||
# mono
|
||||
# The code we use is LGPL, but contributions must be made under the MIT/X11
|
||||
# license, so Novell can serve its paying customers. Exception is mono/man.
|
||||
# LICENSE="LGPL-2.1"
|
||||
|
||||
# mono/man
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/mcs
|
||||
# mcs/gmcs
|
||||
# LICENSE="GPL-2 MIT"
|
||||
|
||||
# tests
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/class
|
||||
# Except the listed exceptions:
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/class/ByteFX.Data
|
||||
# mcs/class/Npgsql
|
||||
# LICENSE="LGPL-2.1"
|
||||
|
||||
# mcs/class/FirebirdSql.Data.Firebird
|
||||
# LICENSE="IDPL"
|
||||
|
||||
# mcs/class/ICSharpCode.SharpZipLib
|
||||
# LICENSE="GPL-2-with-linking-exception"
|
||||
|
||||
# mcs/class/MicrosoftAjaxLibrary
|
||||
# LICENSE="Ms-Pl"
|
||||
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/TokenStream.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Token.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Parser.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Decompiler.cs
|
||||
# LICENSE="|| ( NPL-1.1 GPL-2 )"
|
||||
|
||||
# mcs/jay
|
||||
# LICENSE="BSD-4"
|
||||
|
||||
# mcs/tools
|
||||
# Except the listed exceptions:
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/tools/mdoc/Mono.Documentation/monodocs2html.cs
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# mcs/tools/sqlsharp/SqlSharpCli.cs
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# mcs/tools/csharp/repl.cs
|
||||
# LICENSE="|| ( MIT GPL-2 )"
|
||||
|
||||
# mcs/tools/mono-win32-setup.nsi
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# samples
|
||||
# LICENSE="MIT"
|
@ -1,265 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.11.4.ebuild,v 1.1 2012/10/09 15:31:51 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
|
||||
|
||||
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
|
||||
HOMEPAGE="http://www.mono-project.com/Main_Page"
|
||||
|
||||
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
|
||||
|
||||
IUSE="minimal pax_kernel xen"
|
||||
|
||||
#Bash requirement is for += operator
|
||||
COMMONDEPEND="!dev-util/monodoc
|
||||
!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
|
||||
ia64? ( sys-libs/libunwind )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
|| ( www-client/links www-client/lynx )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
sys-devel/bc
|
||||
virtual/yacc
|
||||
>=app-shells/bash-3.2
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
QA_FLAGS_IGNORED="/usr/lib64/mono/4.5/mcs.exe.so \
|
||||
/usr/lib64/mono/4.5/mscorlib.dll.so"
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux
|
||||
then
|
||||
get_version
|
||||
if linux_config_exists
|
||||
then
|
||||
if linux_chkconfig_present SYSVIPC
|
||||
then
|
||||
einfo "CONFIG_SYSVIPC is set, looking good."
|
||||
else
|
||||
eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
|
||||
eerror "See http://bugs.gentoo.org/261869 for more info."
|
||||
die "Please set CONFIG_SYSVIPC in your kernel .config"
|
||||
fi
|
||||
else
|
||||
ewarn "Was unable to determine your kernel .config"
|
||||
ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
|
||||
ewarn "See http://bugs.gentoo.org/261869 for more info."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
go-mono_src_prepare
|
||||
|
||||
# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
|
||||
# get killed in the build proces when MPROTEC is enable. #286280
|
||||
# RANDMMAP kill the build proces to #347365
|
||||
if use pax_kernel ; then
|
||||
ewarn "We are disabling MPROTECT on the mono binary."
|
||||
sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# mono's build system is finiky, strip the flags
|
||||
strip-flags
|
||||
|
||||
# Remove this at your own peril. Mono will barf in unexpected ways.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# NOTE: We need the static libs for now so mono-debugger works.
|
||||
# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
|
||||
#
|
||||
# --without-moonlight since www-plugins/moonlight is not the only one
|
||||
# using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
|
||||
#
|
||||
# --with-profile4 needs to be always enabled since it's used by default
|
||||
# and, otherwise, problems like bug #340641 appear.
|
||||
#
|
||||
# sgen fails on ppc, bug #359515
|
||||
|
||||
local myconf=""
|
||||
use ppc && myconf="${myconf} --with-sgen=no"
|
||||
go-mono_src_configure \
|
||||
--enable-system-aot=yes \
|
||||
--enable-static \
|
||||
--disable-quiet-build \
|
||||
--without-moonlight \
|
||||
--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
|
||||
$(use_with xen xen_opt) \
|
||||
--without-ikvm-native \
|
||||
--with-jit \
|
||||
--disable-dtrace \
|
||||
--with-profile4 \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
export MONO_REGISTRY_PATH="${T}/registry"
|
||||
export XDG_DATA_HOME="${T}/data"
|
||||
export MONO_SHARED_DIR="${T}/shared"
|
||||
export XDG_CONFIG_HOME="${T}/config"
|
||||
export HOME="${T}/home"
|
||||
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
go-mono_src_install
|
||||
|
||||
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
|
||||
# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
|
||||
# for reference.
|
||||
rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
|
||||
rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
|
||||
}
|
||||
|
||||
#THINK!!!! Before touching postrm and postinst
|
||||
#Reference phase order:
|
||||
#pkg_preinst
|
||||
#pkg_prerm
|
||||
#pkg_postrm
|
||||
#pkg_postinst
|
||||
|
||||
pkg_preinst() {
|
||||
local symlink
|
||||
local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit"
|
||||
local pv_atom
|
||||
if [[ "$(readlink "${EROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]]
|
||||
then
|
||||
for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4
|
||||
do
|
||||
if has_version "=dev-lang/mono-${pv_atom}"
|
||||
then
|
||||
einfo "If you just received a file collision warning message,"
|
||||
einfo "be advised that this is a known problem, which will now be fixed:"
|
||||
ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
|
||||
for symlink in \
|
||||
"${EROOT}/${NUNIT_DIR}" \
|
||||
"${EROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \
|
||||
"${EROOT}/usr/bin/nunit-console" \
|
||||
"${EROOT}/usr/bin/nunit-console2"
|
||||
do
|
||||
if [[ -L "${symlink}" ]]
|
||||
then
|
||||
rm -f "${symlink}" &> /dev/null
|
||||
fi
|
||||
done
|
||||
eend 0
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "PLEASE TAKE NOTE!"
|
||||
elog ""
|
||||
elog "Some of the namespaces supported by Mono require extra packages to be installed."
|
||||
elog "Below is a list of namespaces and the corresponding package you must install:"
|
||||
elog ""
|
||||
elog ">=x11-libs/cairo-1.6.4"
|
||||
elog " Mono.Cairo"
|
||||
elog "Also read:"
|
||||
elog "http://www.mono-project.com/Mono.Cairo"
|
||||
elog ""
|
||||
elog ">=dev-db/firebird-2.0.4.13130.1"
|
||||
elog " FirebirdSql.Data.Firebird"
|
||||
elog "Also read:"
|
||||
elog "http://www.mono-project.com/Firebird_Interbase"
|
||||
elog ""
|
||||
elog "dev-db/sqlite:3"
|
||||
elog " Mono.Data.Sqlite"
|
||||
elog "Also read:"
|
||||
elog "http://www.mono-project.com/SQLite"
|
||||
elog ""
|
||||
elog ">=dev-db/oracle-instantclient-basic-10.2"
|
||||
elog " System.Data.OracleClient"
|
||||
elog "Also read:"
|
||||
elog "http://www.mono-project.com/Oracle"
|
||||
elog ""
|
||||
elog "Mono also has support for packages that are not included in portage:"
|
||||
elog ""
|
||||
elog "No ebuild available:"
|
||||
elog " IBM.Data.DB2"
|
||||
elog "Also read: http://www.mono-project.com/IBM_DB2"
|
||||
elog ""
|
||||
elog "No ebuild needed:"
|
||||
elog " Mono.Data.SybaseClient"
|
||||
elog "Also read: http://www.mono-project.com/Sybase"
|
||||
}
|
||||
|
||||
# NOTICE: THE COPYRIGHT FILES IN THE TARBALL ARE UNCLEAR!
|
||||
# WHENEVER YOU THINK SOMETHING IS GPL-2+, IT'S ONLY GPL-2
|
||||
# UNLESS MIGUEL DE ICAZA HIMSELF SAYS OTHERWISE.
|
||||
|
||||
# mono
|
||||
# The code we use is LGPL, but contributions must be made under the MIT/X11
|
||||
# license, so Novell can serve its paying customers. Exception is mono/man.
|
||||
# LICENSE="LGPL-2.1"
|
||||
|
||||
# mono/man
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/mcs
|
||||
# mcs/gmcs
|
||||
# LICENSE="GPL-2 MIT"
|
||||
|
||||
# tests
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/class
|
||||
# Except the listed exceptions:
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/class/ByteFX.Data
|
||||
# mcs/class/Npgsql
|
||||
# LICENSE="LGPL-2.1"
|
||||
|
||||
# mcs/class/FirebirdSql.Data.Firebird
|
||||
# LICENSE="IDPL"
|
||||
|
||||
# mcs/class/ICSharpCode.SharpZipLib
|
||||
# LICENSE="GPL-2-with-linking-exception"
|
||||
|
||||
# mcs/class/MicrosoftAjaxLibrary
|
||||
# LICENSE="Ms-Pl"
|
||||
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/TokenStream.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Token.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Parser.cs
|
||||
# mcs/class/Microsoft.JScript/Microsoft.JScript/Decompiler.cs
|
||||
# LICENSE="|| ( NPL-1.1 GPL-2 )"
|
||||
|
||||
# mcs/jay
|
||||
# LICENSE="BSD-4"
|
||||
|
||||
# mcs/tools
|
||||
# Except the listed exceptions:
|
||||
# LICENSE="MIT"
|
||||
|
||||
# mcs/tools/mdoc/Mono.Documentation/monodocs2html.cs
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# mcs/tools/sqlsharp/SqlSharpCli.cs
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# mcs/tools/csharp/repl.cs
|
||||
# LICENSE="|| ( MIT GPL-2 )"
|
||||
|
||||
# mcs/tools/mono-win32-setup.nsi
|
||||
# LICENSE="GPL-2"
|
||||
|
||||
# samples
|
||||
# LICENSE="MIT"
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.0.7.ebuild,v 1.2 2013/05/24 19:58:52 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
|
||||
|
||||
inherit linux-info mono-env flag-o-matic pax-utils autotools-utils
|
||||
|
||||
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
|
||||
HOMEPAGE="http://www.mono-project.com/Main_Page"
|
||||
SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
IUSE="minimal pax_kernel xen doc"
|
||||
|
||||
COMMONDEPEND="
|
||||
!dev-util/monodoc
|
||||
!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
|
||||
ia64? ( sys-libs/libunwind )
|
||||
"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
|| ( www-client/links www-client/lynx )
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
sys-devel/bc
|
||||
virtual/yacc
|
||||
pax_kernel? ( sys-apps/paxctl )
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
# If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
|
||||
# See http://bugs.gentoo.org/261869 for more info."
|
||||
CONFIG_CHECK="SYSVIPC"
|
||||
use kernel_linux && check_extra_config
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
mono-env_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
|
||||
# get killed in the build proces when MPROTEC is enable. #286280
|
||||
# RANDMMAP kill the build proces to #347365
|
||||
if use pax_kernel ; then
|
||||
ewarn "We are disabling MPROTECT on the mono binary."
|
||||
sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
|
||||
fi
|
||||
|
||||
# mono build system can fail otherwise
|
||||
strip-flags
|
||||
|
||||
# Remove this at your own peril. Mono will barf in unexpected ways.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# NOTE: We need the static libs for now so mono-debugger works.
|
||||
# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
|
||||
#
|
||||
# --without-moonlight since www-plugins/moonlight is not the only one
|
||||
# using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
|
||||
#
|
||||
# --with-profile4 needs to be always enabled since it's used by default
|
||||
# and, otherwise, problems like bug #340641 appear.
|
||||
#
|
||||
# sgen fails on ppc, bug #359515
|
||||
local myeconfargs=(
|
||||
--enable-system-aot=yes
|
||||
--enable-static
|
||||
--disable-quiet-build
|
||||
--without-moonlight
|
||||
--with-libgdiplus=$(use minimal && printf "no" || printf "installed" )
|
||||
$(use_with xen xen_opt)
|
||||
--without-ikvm-native
|
||||
--with-jit
|
||||
--disable-dtrace
|
||||
--with-profile4
|
||||
--with-sgen=$(use ppc && printf "no" || printf "yes" )
|
||||
$(use_with doc mcs-docs)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
|
||||
# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
|
||||
# for reference.
|
||||
rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so
|
||||
rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
DIST v8-3.16.14.9.tar.bz2 10461483 SHA256 a2a69c4915bf2e36d327b4b1edb3d398d4967da31eaa1ae0058b6b6615cd66aa SHA512 424b3d8285244acbb8872fddb90a1e269a35bc8f57c0dba66758d6a853cf75e90a52e4e2d7db4095fe798271c794ac4f99cc40a1dbb99eb1b43d3b5b1878da94 WHIRLPOOL fd7beb7fdb661aa2a04591e7a25fe1c5b39af9bfe9b6e1ab8ed1f4cb6238bb740f3c26d12202c972cdb5552fb02ea31c207304394c095a0839b90b368c436ffc
|
||||
DIST v8-3.17.15.3.tar.bz2 10516836 SHA256 bfca163e9e90d9aeaaebe89309245be2fcf697258c273e54c087406ea9dc3ed7 SHA512 8ab664b9801ac0d111cc0af6ada8bf42d458ea7fd951c40d1e7599991d813dc96957c07777ed2f2ad48c4fcf84955293de2e4e1138d4d3ec186e58bc0d2e4c73 WHIRLPOOL 6fca6906330a4e47fa155f7ac61531c5f0f156f7e8b74dafaec1ba8d44e1cc4f72ee77d6f32257c7d23edcc689853d80d5e782b6928e6989f3a08ffd908de009
|
||||
DIST v8-3.17.16.2.tar.bz2 10519702 SHA256 c0695dd9d36f6a8e0b5fb110baf8d174c76eb7f0d26acc00d4f42179e26c4058 SHA512 97da0af9cca0ca47340dba2d088506563d7b66688f60fbca9dd76b8fc294af0b9d99ab2930679959e5931305dd4ed657e7dc9e47a31f04c56267f3f6cb5938e8 WHIRLPOOL 985013f35bcb9e50f7b4dadc55ecaeadbacf05bfdc934c86bb584a1d108b2cdfc411041b978244ac119f1a81139668aeb0ac3146c68ce05b50e25af22eaa241e
|
||||
DIST v8-3.17.6.14.tar.bz2 10488996 SHA256 b56dda1bf648e5a77ef0da7819826ed7218be9b3d3ca8b918134b4e457ca580b SHA512 49275fdda39c028eead5814fc96ea81de08e4717df63acf9c0e9f4ddbaddbc721823a2ca695ef1ec64275ddbc23e59646880f96991f8687424114ef60a2f3777 WHIRLPOOL f71163320ed64b064017b1d09d230d33aab87f634e7deb20c5649470a314f92f38ba90c98586416d658c920926575fd9ed010c0cd9f9e119f15a890b35e5af3b
|
||||
DIST v8-3.18.5.2.tar.bz2 10543191 SHA256 19a6e005ed4321dbd553b31b04bddf04e1e17e47dad2860039aff5fdfcc347a6 SHA512 e2c3066b3f51bce1b7b956e5385b460d5da145256622635897ad9c8a957e37ee618f30fe26077ddcbee76594779a192b5f53814efabf453bdc10ee9f33498d78 WHIRLPOOL 44f77e6c5c33371deb0de142fa018948bb86ac46d9b9dce8f7f2719a24024fa75a17b9a41af1e2d50b93fe3a638ea7a6a3349533a43e2ea74b36c547049af2f7
|
||||
DIST v8-3.18.5.5.tar.bz2 10540043 SHA256 8e48503c871eb4de608453e69085bbb7636be9492db14d4ae06371ba3e004fd4 SHA512 c9ccb3dd83ed753c808a0cca1496726eaea8ff3d5608d96cdff9aece2053d73c0cc1b1f15f707deec5a55d5b744d178aebd99a979e5fe332ad033b047276529e WHIRLPOOL 95196e05518d38ee429a2647a8e5561401c3559ef9662e8bb50cd6d07d93fe760de73bf17103a4389f5a5678fa0fbd4cb64c6894ec4f9bac9009039e2d41b309
|
||||
DIST v8-3.19.3.1.tar.bz2 10578275 SHA256 9722b2ee265f0e5bb26db4daf812e8d92a2997abbb0bf81ce6d56f31960ca7b1 SHA512 56888df81a53b6b802e136226b23cc081432a709d3f5097e3e33114f03574ff151b8d6929689a68062b1b2d2aaff34097606da2b24cd064353febc783e74575f WHIRLPOOL 088bb40cc7a6cd26b04118b4e430e5a1bce738871f35e6a4f583fd8d96ba8bb865a86626687ba4975076396e1c760e5b53553c0e3e031950518520861f5458d6
|
||||
|
@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.16.14.9-r1.ebuild,v 1.6 2013/04/09 17:31:52 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit eutils multilib pax-utils python-any-r1 toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
soname_version="${PV}"
|
||||
SLOT="0/${soname_version}"
|
||||
KEYWORDS="amd64 ~arm x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK=${CXX}
|
||||
|
||||
local hardfp=off
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*) myarch=ia32 ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch=ia32
|
||||
else
|
||||
myarch=x64
|
||||
fi ;;
|
||||
arm*-hardfloat-*)
|
||||
hardfp=on
|
||||
myarch=arm ;;
|
||||
arm*-*) myarch=arm ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
mytarget=${myarch}.release
|
||||
|
||||
# TODO: Add console=readline option once implemented upstream
|
||||
# http://code.google.com/p/v8/issues/detail?id=1781
|
||||
|
||||
# Generate the real Makefile.
|
||||
emake V=1 \
|
||||
library=shared \
|
||||
werror=no \
|
||||
soname_version=${soname_version} \
|
||||
snapshot=on \
|
||||
hardfp=${hardfp} \
|
||||
out/Makefile.${myarch} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeargs=(
|
||||
-C out
|
||||
-f Makefile.${myarch}
|
||||
V=1
|
||||
BUILDTYPE=Release
|
||||
builddir="${S}/out/${mytarget}"
|
||||
)
|
||||
|
||||
# Build mksnapshot so we can pax-mark it.
|
||||
emake "${makeargs[@]}" mksnapshot
|
||||
pax-mark m out/${mytarget}/mksnapshot
|
||||
|
||||
# Build everything else.
|
||||
emake "${makeargs[@]}"
|
||||
pax-mark m out/${mytarget}/{cctest,d8,shell}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local arg testjobs
|
||||
for arg in ${MAKEOPTS}; do
|
||||
case ${arg} in
|
||||
-j*) testjobs=${arg#-j} ;;
|
||||
--jobs=*) testjobs=${arg#--jobs=} ;;
|
||||
esac
|
||||
done
|
||||
|
||||
tools/test-wrapper-gypbuild.py \
|
||||
-j${testjobs:-1} \
|
||||
--arch-and-mode=${mytarget} \
|
||||
--no-presubmit \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include || die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mkdir -p out/${mytarget}/lib.target
|
||||
mv out/${mytarget}/libv8.so.${soname_version} \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
|
||||
|| die
|
||||
install_name_tool \
|
||||
-change \
|
||||
/usr/local/lib/libv8.so.${soname_version} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/${mytarget}/d8 || die
|
||||
fi
|
||||
|
||||
dobin out/${mytarget}/d8 || die
|
||||
pax-mark m "${ED}usr/bin/d8"
|
||||
|
||||
dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
|
||||
|
||||
dodoc AUTHORS ChangeLog || die
|
||||
}
|
@ -1,129 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.17.15.3.ebuild,v 1.4 2013/04/10 19:44:03 phajdan.jr Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit chromium eutils multilib multiprocessing pax-utils python-any-r1 \
|
||||
toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
soname_version="${PV}"
|
||||
SLOT="0/${soname_version}"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE="readline"
|
||||
|
||||
RDEPEND="readline? ( sys-libs/readline:0 )"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK=${CXX}
|
||||
|
||||
local myconf=""
|
||||
|
||||
# Always build v8 as a shared library with proper SONAME.
|
||||
myconf+=" -Dcomponent=shared_library -Dsoname_version=${soname_version}"
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*) myconf+=" -Dv8_target_arch=ia32" ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myconf+=" -Dv8_target_arch=ia32"
|
||||
else
|
||||
myconf+=" -Dv8_target_arch=x64"
|
||||
fi ;;
|
||||
arm*-hardfloat-*)
|
||||
myconf+=" -Dv8_target_arch=arm -Dv8_use_arm_eabi_hardfloat=true" ;;
|
||||
arm*-*) myconf+=" -Dv8_target_arch=arm" ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
|
||||
myconf+=" $(gyp_use readline console readline dumb)"
|
||||
|
||||
# Make sure that -Werror doesn't get added to CFLAGS by the build system.
|
||||
# Depending on GCC version the warnings are different and we don't
|
||||
# want the build to fail because of that.
|
||||
myconf+=" -Dwerror="
|
||||
|
||||
EGYP_CHROMIUM_COMMAND=build/gyp_v8 egyp_chromium ${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeargs=(
|
||||
-C out
|
||||
builddir="${S}/out/Release"
|
||||
V=1
|
||||
BUILDTYPE=Release
|
||||
)
|
||||
|
||||
# Build mksnapshot so we can pax-mark it.
|
||||
emake "${makeargs[@]}" mksnapshot
|
||||
pax-mark m out/Release/mksnapshot
|
||||
|
||||
# Build everything else.
|
||||
emake "${makeargs[@]}"
|
||||
pax-mark m out/Release/{cctest,d8}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH=out/Release/lib.target tools/run-tests.py \
|
||||
-j$(makeopts_jobs) \
|
||||
--no-presubmit \
|
||||
--outdir=out \
|
||||
--buildbot \
|
||||
--arch=native \
|
||||
--mode=Release \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mkdir -p out/Release/lib.target || die
|
||||
mv out/Release/libv8.so.${soname_version} \
|
||||
out/Release/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/Release/lib.target/libv8$(get_libname ${soname_version}) \
|
||||
|| die
|
||||
install_name_tool \
|
||||
-change \
|
||||
/usr/local/lib/libv8.so.${soname_version} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/Release/d8 || die
|
||||
fi
|
||||
|
||||
dobin out/Release/d8
|
||||
pax-mark m "${ED}usr/bin/d8"
|
||||
|
||||
dolib out/Release/lib.target/libv8$(get_libname ${soname_version})
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname)
|
||||
|
||||
dodoc AUTHORS ChangeLog || die
|
||||
}
|
||||
|
||||
# TODO: remove functions below after they are removed from chromium.eclass'
|
||||
# EXPORT_FUNCTIONS .
|
||||
|
||||
pkg_preinst() {
|
||||
return
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
return
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
return
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnfc/libnfc-1.5.1-r1.ebuild,v 1.1 2013/05/24 17:10:36 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Near Field Communications (NFC) library"
|
||||
HOMEPAGE="http://www.libnfc.org/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc pcsc-lite readline static-libs usb"
|
||||
|
||||
RDEPEND="pcsc-lite? ( sys-apps/pcsc-lite )
|
||||
readline? ( sys-libs/readline )
|
||||
usb? ( virtual/libusb:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.5.1-glibc-2.17.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Upstream doesn't use the right macro, so we need to force this.
|
||||
# https://code.google.com/p/libnfc/issues/detail?id=249
|
||||
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
|
||||
|
||||
local drivers="arygon,pn532_uart"
|
||||
use pcsc-lite && drivers+=",acr122"
|
||||
use usb && drivers+=",pn53x_usb"
|
||||
econf \
|
||||
--with-drivers="${drivers}" \
|
||||
$(use_enable doc) \
|
||||
$(use_with readline) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
use doc && doxygen
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || find "${ED}" -name 'lib*.la' -delete
|
||||
use doc && dohtml "${S}"/doc/html/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST async-109.11.00.tar.gz 68860 SHA256 eb0bbcf46009401407316d259b58733b34baf63ce7ba6343dccbdcead565aa30 SHA512 7481e122a3caec720101ac5917934bdaa6fbe7d43cc2174d7824db7815f73538f4c1bf12c45f154ee7c4ab3e093e1a9898df6d7f6f9c43a47470e0d5823048eb WHIRLPOOL 3861ebbc97e7ed25883ca4e1b327fe468be44284439a8d9b2cba18dedbba779ed63b42c4bec0d9c48c911a7cd5d1d8b2607a219bb7a1cc565816886edfec3458
|
||||
DIST async-109.22.00.tar.gz 70671 SHA256 05bb73a1c39d5bfb5ba318ce4926b5d088ca9f5e562be4a116cfe038d733fe60 SHA512 1812600c72558c444b0772cc776f6c15ccb95a6042e69f0b6a39cf4b80162cff76301f0a2cdde11be3b7f4a2796a86c39d6ea1139aa20b4fd9402fd953e024ac WHIRLPOOL c6cec992a47374058f72b87e0c0ceff2d0371376d9d48afdba85b700e3c58ccc7a73421a97b9bf8cf62de7f9d078ff3cccfd7acfb5e918b4721aedc9f79e4e0b
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue