parent
6dc2dd8077
commit
552dda1ac9
@ -1,6 +1,7 @@
|
||||
DIST tripwire-2.3.1-2-pherman-portability-0.9.diff.bz2 739663 RMD160 e3d5b9e2dcadcd6ce58942de463f0fa6ed097747 SHA1 1e7ee53ed5cd4b4a4a0d257772b6ae850714456d SHA256 a430bf6de02360c562344b8b5277d9ddd3fbf5ccb80d12782ff47a5be9c2999d
|
||||
DIST tripwire-2.3.1-2.tar.gz 1514955 RMD160 8d3abee490a6fac22226ca0562faa7d229905f09 SHA1 9ae70cae2b526c83c857a2391a8a530de99433fc SHA256 d339fbc093ce9e9f0c98fa2b454735bb2c13613103d6edcfcce57dbd3a394d2a
|
||||
DIST tripwire-2.4.2-src.tar.bz2 708623 RMD160 fbee0d5fa7d87e2014d2dda3018021f3d89b1f68 SHA1 70f141a0b3481869395ed706e112227ea5a93b79 SHA256 af89a368ed25a0edd7283fffa05a3b659e06f693626b947644dec60d0dc482b7
|
||||
DIST tripwire-2.4.2.2-src.tar.bz2 716616 RMD160 00a307f7efae7c441a7f62e38850ead053158f6a SHA1 6fd59dfb7071841f1e255b62ae121d4d065faee7 SHA256 e09a7bdca9302e704cc62067399e0b584488f825b0e58c82ad6d54cd2e899fad
|
||||
DIST tripwire.gif 4679 RMD160 246cba58618cc4ed408d74eede5d4a6b8306d4f2 SHA1 8c804dfee7c0a0083812eeb24208a948a4b9bcbc SHA256 569274b35357140e5543aefea4dc6d7db7047965d2f5d054536806a96314d869
|
||||
DIST tripwire_2.3.1.2-6.1.diff.gz 608867 RMD160 dcc8bc8ed41022c31ca932c86a0998ff0ba80382 SHA1 52b6abf718d118dce1b66ad7e144ea4a4ec3717c SHA256 29284dcf6f464e6624d57e24ba692eb6fc0b04eafe1d0f96b41be6d058e58cc0
|
||||
DIST twpol.txt.gz 7586 RMD160 16ef7751a45fe8dd4656e1834919a314ece64ba2 SHA1 ff65130adcf144b0b4777b78858ddf790504eede SHA256 22a815584d8586dc5fd737749ca53435088d5867355bb6b73ec152b2ef53b5fe
|
||||
|
@ -0,0 +1,7 @@
|
||||
diff -Nur a/src/buildnum.h b/src/buildnum.h
|
||||
--- a/src/buildnum.h 2011-11-21 17:06:56.000000000 +0100
|
||||
+++ b/src/buildnum.h 2012-03-28 11:33:11.689974085 +0200
|
||||
@@ -1,2 +1,2 @@
|
||||
-#define BUILD_NUM _T("2")
|
||||
+#define BUILD_NUM _T("0")
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/tripwire/tripwire-2.4.2.2.ebuild,v 1.1 2012/03/29 19:42:31 nimiux Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="Open Source File Integrity Checker and IDS"
|
||||
HOMEPAGE="http://www.tripwire.org/"
|
||||
SRC_URI="mirror://sourceforge/tripwire/tripwire-${PV}-src.tar.bz2
|
||||
mirror://gentoo/twpol.txt.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="ssl static"
|
||||
|
||||
DEPEND="sys-devel/automake
|
||||
sys-devel/autoconf
|
||||
dev-util/patchutils
|
||||
ssl? ( dev-libs/openssl )"
|
||||
RDEPEND="virtual/cron
|
||||
virtual/mta
|
||||
ssl? ( dev-libs/openssl )"
|
||||
|
||||
S="${WORKDIR}"/tripwire-"${PV}"-src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/"${P}"-buildnum.patch
|
||||
|
||||
eautoreconf || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# tripwire can be sensitive to compiler optimisation.
|
||||
# see #32613, #45823, and others.
|
||||
# -taviso@gentoo.org
|
||||
strip-flags
|
||||
append-flags -DCONFIG_DIR='"\"/etc/tripwire\""' -fno-strict-aliasing
|
||||
einfo "Done."
|
||||
chmod +x configure
|
||||
econf $(use_enable ssl openssl) $(use_enable static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin "${S}"/bin/{siggen,tripwire,twadmin,twprint}
|
||||
doman "${S}"/man/man{4/*.4,5/*.5,8/*.8}
|
||||
dodir /etc/tripwire /var/lib/tripwire{,/report}
|
||||
keepdir /var/lib/tripwire{,/report}
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
doexe "${FILESDIR}"/tripwire.cron
|
||||
|
||||
dodoc ChangeLog policy/policyguide.txt TRADEMARK \
|
||||
"${FILESDIR}"/tripwire.txt
|
||||
|
||||
insinto /etc/tripwire
|
||||
doins "${WORKDIR}"/twpol.txt "${FILESDIR}"/twcfg.txt
|
||||
|
||||
exeinto /etc/tripwire
|
||||
doexe "${FILESDIR}"/twinstall.sh
|
||||
|
||||
fperms 755 /etc/tripwire/twinstall.sh /etc/cron.daily/tripwire.cron
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "After installing this package, you should check the policy"
|
||||
elog "file (twpol.txt) shipped with the package to see if it"
|
||||
elog "suits your needs, and modify it accordingly."
|
||||
elog
|
||||
elog "Check bug #34662 to find a bash script which generates a"
|
||||
elog "policy file from the Gentoo packages installed in your system."
|
||||
elog
|
||||
elog "Once the policy file is ready, you can run the"
|
||||
elog "\"/etc/tripwire/twinstall.sh\" script to generate the "
|
||||
elog "cryptographic keys, and \"tripwire --init\" to initialize"
|
||||
elog "the Tripwire's database."
|
||||
elog
|
||||
elog "A quickstart guide is included with the documentation."
|
||||
elog
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST bluefish-1.0.7.tar.bz2 1495619 RMD160 7ce8a7c8873cd0ef84dd6486551976593544a8dc SHA1 c61d6271c49e9fa8c728724e6aadde33a227bdea SHA256 68cb74b993ad31a86083e8eed482b2f5b4d523806538ea9bc42bfa8b4c0a1110
|
||||
DIST bluefish-2.2.1.tar.bz2 3501247 RMD160 75626423216cdd9bb621f3063baba278ce3bbd76 SHA1 f7b2e9915e196c971c6bcca04d8d6b87efab1ae6 SHA256 4366133f3ff6b9c51943b1498188262b94a3fe2d4cf9118b6b42aac599634921
|
||||
DIST bluefish-2.2.2.tar.bz2 3548284 RMD160 9eaba507cb66ffa8478aba800c4ca4275be2aecd SHA1 2fca4e4fa67e6f2fda1335e1dc4e19ca318eb002 SHA256 1e9f171657cd7d34e31d7ff8608b10dded56dcb4831bc75d6ab75cd826f97b84
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-2.2.1.ebuild,v 1.3 2012/03/05 14:17:00 scarabeus Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/bluefish/bluefish-2.2.2.ebuild,v 1.1 2012/03/29 13:19:27 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r11.ebuild,v 1.1 2012/03/29 21:20:26 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python sgml-catalog
|
||||
|
||||
DESCRIPTION="Python interface to SGML software in a DocBook/OpenJade env"
|
||||
HOMEPAGE="http://sgmltools-lite.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sgmltools-lite/${P}.tar.gz
|
||||
mirror://sourceforge/sgmltools-lite/nw-eps-icons-0.0.1.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="jadetex"
|
||||
|
||||
DEPEND="app-text/sgml-common
|
||||
app-text/docbook-sgml-dtd:3.1
|
||||
app-text/docbook-dsssl-stylesheets
|
||||
app-text/openjade
|
||||
jadetex? ( app-text/jadetex )
|
||||
|| (
|
||||
www-client/w3m
|
||||
www-client/lynx )"
|
||||
|
||||
sgml-catalog_cat_include "/etc/sgml/sgml-lite.cat" \
|
||||
"/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove CVS directories from the tree
|
||||
find . -name CVS | xargs rm -rf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall etcdir="${D}"/etc/sgml || die
|
||||
|
||||
dodoc ChangeLog POSTINSTALL README*
|
||||
dohtml -r .
|
||||
|
||||
cd "${WORKDIR}"/nw-eps-icons-0.0.1/images
|
||||
insinto /usr/share/sgml/docbook/dsssl-stylesheets/images
|
||||
doins *.eps
|
||||
|
||||
cd callouts
|
||||
insinto /usr/share/sgml/docbook/dsssl-stylesheets/images/callouts
|
||||
doins *.eps
|
||||
|
||||
rm "${D}"/etc/sgml/catalog.{suse,rh62}
|
||||
|
||||
# Remove file provided by sgml-common
|
||||
rm "${D}"/usr/bin/sgmlwhich
|
||||
|
||||
# Remove the backends that require jadetex
|
||||
use jadetex || \
|
||||
rm "${D}"/usr/share/sgml/misc/sgmltools/python/backends/{Dvi,Ps,Pdf,JadeTeX}.py
|
||||
|
||||
# List of backends to alias with sgml2*
|
||||
# Do not provide sgml2{txt,rtf,html} anymore, they are part of
|
||||
# linuxdoc-tools
|
||||
local BACKENDS=""
|
||||
use jadetex && BACKENDS="ps dvi pdf"
|
||||
|
||||
# Create simple alias scripts that people are used to
|
||||
# And make the manpages for those link to the sgmltools-lite manpage
|
||||
mandir="${D}"/usr/share/man/man1
|
||||
ScripTEXT="#!/bin/sh\n/usr/bin/sgmltools --backend="
|
||||
for back in ${BACKENDS}
|
||||
do
|
||||
echo -e ${ScripTEXT}${back} '$*' > sgml2${back}
|
||||
exeinto /usr/bin
|
||||
doexe sgml2${back}
|
||||
|
||||
cd ${mandir}
|
||||
ln -sf sgmltools-lite.1.gz sgml2${back}.1.gz
|
||||
cd "${S}"
|
||||
done
|
||||
|
||||
python_convert_shebangs -r 2 "${D}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/sgml/misc/sgmltools/python
|
||||
sgml-catalog_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/sgml/misc/sgmltools/python
|
||||
sgml-catalog_pkg_postrm
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST zathura-djvu-0.1.0.tar.gz 8248 RMD160 7342aa5894fa26bcb02d3f5c1fd0ca08d17eee76 SHA1 a808cddd4fffead3d9c6958de4a1258fbbe40f7e SHA256 cf445ba6f3b439e611e7e52ef22e5362a01f0826e192ad9f55a4b2ea7ddb84cf
|
||||
DIST zathura-djvu-0.1.1.tar.gz 8392 RMD160 6dc739438519fc3fdb2363869315278d501e67be SHA1 843e210c615b3b24d49f163b061754d878e67592 SHA256 04adad7bf1bb392eae4b7b856fe7d40a137f8185ac274289df922758ae827172
|
||||
|
@ -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/app-text/zathura-djvu/zathura-djvu-0.1.1.ebuild,v 1.1 2012/03/30 05:39:15 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="DjVu plug-in for zathura"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-text/djvu-3.5.24-r1
|
||||
>=app-text/zathura-0.1.1
|
||||
dev-libs/girara:2
|
||||
>=dev-libs/glib-2
|
||||
x11-libs/cairo"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
CC="$(tc-getCC)"
|
||||
LD="$(tc-getLD)"
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST zathura-0.0.8.5.tar.gz 38092 RMD160 5d8de1357124e067cf8cd37c74b21591ba8a9007 SHA1 8d65b964fc80f380cfee5ebe1a7fcbebf38cfbf7 SHA256 84751b09e00d95d7899573238666df0414cab72b3d20bd3e5e36db05e485f0b9
|
||||
DIST zathura-0.1.1.tar.gz 54764 RMD160 9b08e5f4e5296ee3458e1ed8a5df28d80f08e2a8 SHA1 a39044d410e6c9208a795f8eebe9f72b433a54c5 SHA256 355abe33ca3e36247fe0f422f292ebf9eb045c2155393450d5f3ff78c9d41e58
|
||||
DIST zathura-0.1.2.tar.gz 65875 RMD160 19c5e6d86f52c3e3d45c8d9ad4855edc804502a2 SHA1 11508530f39500cb6863829678eeda3bff2527bc SHA256 a496c25071e54f675b65ee5eab02fd002c04c2d7d5cf4aa8a1cb517cc13beaef
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/zathura/zathura-0.1.2.ebuild,v 1.1 2012/03/30 05:48:17 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A highly customizable and functional document viewer"
|
||||
HOMEPAGE="http://pwmt.org/projects/zathura/"
|
||||
SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="sqlite"
|
||||
|
||||
RDEPEND=">=dev-libs/girara-0.1.2:2
|
||||
sqlite? ( dev-db/sqlite:3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/docutils
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
pkg_setup() {
|
||||
myzathuraconf=(
|
||||
ZATHURA_GTK_VERSION=2
|
||||
WITH_SQLITE=$(usex sqlite 1 0)
|
||||
LIBDIR='${PREFIX}'/$(get_libdir)
|
||||
RSTTOMAN="$(type -P rst2man.py)"
|
||||
CC="$(tc-getCC)"
|
||||
SFLAGS=""
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${myzathuraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myzathuraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You can install app-text/zathura-pdf-poppler for PDF support."
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libftdi-0.17.tar.gz 435901 RMD160 cca442415a0ee380e9efcdbd60aa48b1cfdecede SHA1 e2ab367f20df8f38fa9754070ad0bea5aa0f6f7a SHA256 d5c0275125ab68a431375083c9544899e578b8f98b83de1254386d0209feabf0
|
||||
DIST libftdi-0.18.tar.gz 398380 RMD160 0e8a9a2135a82bb4435678e91a952bf0757ce72d SHA1 52401db0e7cb90a5d83f82c2859a4f8d44e52579 SHA256 5b6f3c3ee51c6aa24d3b87135e01762cf68821d1c3599d87d349fea4ede74c62
|
||||
DIST libftdi-0.19.tar.gz 406671 RMD160 2c2c8006aed7d9e789549b571fbe9d1ae190f5a1 SHA1 0f08caf8e754ace69cd682489fae3f7f09920fe1 SHA256 567c9d2c42d92fc401c5aba2deed45ffb2433990984e816bcdf31e441aef06be
|
||||
DIST libftdi-0.20.tar.gz 423570 RMD160 7406f831a6d7b3ccf8e246504f7275a5208f94e9 SHA1 4bc6ce70c98a170ada303fbd00b8428d8a2c1aa2 SHA256 3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/libftdi/libftdi-0.20.ebuild,v 1.1 2012/03/30 03:46:34 vapier Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
|
||||
inherit git-2 autotools
|
||||
else
|
||||
SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Userspace access to FTDI USB interface chips"
|
||||
HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="cxx doc examples python"
|
||||
|
||||
RDEPEND="virtual/libusb:0
|
||||
cxx? ( dev-libs/boost )
|
||||
python? ( dev-lang/python )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use cxx FTDIPP)
|
||||
$(cmake-utils_use doc DOCUMENTATION)
|
||||
$(cmake-utils_use examples EXAMPLES)
|
||||
$(cmake-utils_use python PYTHON_BINDINGS)
|
||||
-DCMAKE_SKIP_BUILD_RPATH=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
dodoc ChangeLog README
|
||||
|
||||
if use doc ; then
|
||||
doman doc/man/man3/*
|
||||
dohtml doc/html/*
|
||||
fi
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc examples/*.c
|
||||
fi
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- lifted-base-0.1.0.1-orig/test.hs 2011-12-03 22:38:23.000000000 +1100
|
||||
+++ lifted-base-0.1.0.1/test.hs 2011-12-11 22:33:38.889902803 +1100
|
||||
@@ -37,7 +37,7 @@
|
||||
main :: IO ()
|
||||
main = defaultMain
|
||||
[ testSuite "IdentityT" runIdentityT
|
||||
- , testSuite "ListT" $ fmap head . runListT
|
||||
+-- , testSuite "ListT" $ fmap head . runListT
|
||||
, testSuite "MaybeT" $ fmap fromJust . runMaybeT
|
||||
, testSuite "ReaderT" $ flip runReaderT "reader state"
|
||||
, testSuite "WriterT" runWriterT'
|
@ -0,0 +1,29 @@
|
||||
Fix build failure against ghc-7.4
|
||||
|
||||
[ 4 of 84] Compiling Graphics.Rendering.OpenGL.GL.GLboolean ( Graphics/Rendering/OpenGL/GL/GLboolean.hs, dist/build/Graphics/Rendering/OpenGL/GL/GLboolean.o )
|
||||
|
||||
Graphics/Rendering/OpenGL/GL/GLboolean.hs:27:23:
|
||||
Could not deduce (Eq a) arising from a use of `/='
|
||||
from the context (Num a)
|
||||
bound by the type signature for
|
||||
unmarshalGLboolean :: Num a => a -> Bool
|
||||
at Graphics/Rendering/OpenGL/GL/GLboolean.hs:27:1-27
|
||||
Possible fix:
|
||||
add (Eq a) to the context of
|
||||
the type signature for unmarshalGLboolean :: Num a => a -> Bool
|
||||
In the expression: (/= 0)
|
||||
In an equation for `unmarshalGLboolean':
|
||||
unmarshalGLboolean = (/= 0)
|
||||
|
||||
Reported-by: Christian Lask
|
||||
diff --git a/Graphics/Rendering/OpenGL/GL/GLboolean.hs b/Graphics/Rendering/OpenGL/GL/GLboolean.hs
|
||||
index cab7356..cc4faa8 100644
|
||||
--- a/Graphics/Rendering/OpenGL/GL/GLboolean.hs
|
||||
+++ b/Graphics/Rendering/OpenGL/GL/GLboolean.hs
|
||||
@@ -23,5 +23,5 @@ marshalGLboolean :: Num a => Bool -> a
|
||||
marshalGLboolean False = 0
|
||||
marshalGLboolean True = 1
|
||||
|
||||
-unmarshalGLboolean :: Num a => a -> Bool
|
||||
+unmarshalGLboolean :: (Eq a, Num a) => a -> Bool
|
||||
unmarshalGLboolean = (/= 0)
|
@ -0,0 +1,132 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -332,7 +332,6 @@
|
||||
patches/jtreg-LastErrorString.patch \
|
||||
patches/openjdk/6663040-com.sun.awt.patch \
|
||||
patches/openjdk/6775317-non-AA-simple-shape-performance.patch \
|
||||
- patches/pr600-arm-jvm.cfg.patch \
|
||||
patches/openjdk/6887494-NPE-in-pisces.patch \
|
||||
patches/openjdk/6967436-6967433-floating-pt-conversion.patch \
|
||||
patches/openjdk/6976265-stroke-control.patch \
|
||||
@@ -982,6 +981,10 @@
|
||||
fi
|
||||
endif
|
||||
endif
|
||||
+if ENABLE_CACAO
|
||||
+ mkdir -p openjdk/jdk/src/solaris/bin/$(JRE_ARCH_DIR)
|
||||
+ cp jvm.cacao.cfg openjdk/jdk/src/solaris/bin/$(JRE_ARCH_DIR)/jvm.cfg
|
||||
+endif
|
||||
mkdir -p stamps
|
||||
touch stamps/extract-openjdk.stamp
|
||||
|
||||
diff --git a/acinclude.m4 b/acinclude.m4
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -863,6 +863,7 @@
|
||||
AC_MSG_RESULT(${ENABLE_CACAO})
|
||||
AM_CONDITIONAL(ENABLE_CACAO, test x"${ENABLE_CACAO}" = "xyes")
|
||||
AC_SUBST(ENABLE_CACAO)
|
||||
+ AC_CONFIG_FILES([jvm.cacao.cfg])
|
||||
])
|
||||
|
||||
AC_DEFUN([IT_WITH_CACAO_HOME],
|
||||
diff --git a/jvm.cfg.in b/jvm.cacao.cfg.in
|
||||
copy from jvm.cfg.in
|
||||
copy to jvm.cacao.cfg.in
|
||||
diff --git a/patches/pr600-arm-jvm.cfg.patch b/patches/pr600-arm-jvm.cfg.patch
|
||||
deleted file mode 100644
|
||||
--- a/patches/pr600-arm-jvm.cfg.patch
|
||||
+++ /dev/null
|
||||
@@ -1,44 +0,0 @@
|
||||
-Index: openjdk/jdk/src/solaris/bin/arm/jvm.cfg
|
||||
-===================================================================
|
||||
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
-+++ openjdk/jdk/src/solaris/bin/arm/jvm.cfg 2011-02-18 15:40:24.083043645 +0100
|
||||
-@@ -0,0 +1,39 @@
|
||||
-+# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
-+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
-+#
|
||||
-+# This code is free software; you can redistribute it and/or modify it
|
||||
-+# under the terms of the GNU General Public License version 2 only, as
|
||||
-+# published by the Free Software Foundation. Oracle designates this
|
||||
-+# particular file as subject to the "Classpath" exception as provided
|
||||
-+# by Oracle in the LICENSE file that accompanied this code.
|
||||
-+#
|
||||
-+# This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
-+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
-+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
-+# version 2 for more details (a copy is included in the LICENSE file that
|
||||
-+# accompanied this code).
|
||||
-+#
|
||||
-+# You should have received a copy of the GNU General Public License version
|
||||
-+# 2 along with this work; if not, write to the Free Software Foundation,
|
||||
-+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
-+#
|
||||
-+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
-+# or visit www.oracle.com if you need additional information or have any
|
||||
-+# questions.
|
||||
-+#
|
||||
-+#
|
||||
-+# List of JVMs that can be used as an option to java, javac, etc.
|
||||
-+# Order is important -- first in this list is the default JVM.
|
||||
-+# NOTE that this both this file and its format are UNSUPPORTED and
|
||||
-+# WILL GO AWAY in a future release.
|
||||
-+#
|
||||
-+# You may also select a JVM in an arbitrary location with the
|
||||
-+# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
|
||||
-+# and may not be available in a future release.
|
||||
-+#
|
||||
-+-server KNOWN
|
||||
-+-client IGNORE
|
||||
-+-hotspot ERROR
|
||||
-+-classic WARN
|
||||
-+-native ERROR
|
||||
-+-green ERROR
|
||||
--- /dev/null 2012-03-07 15:45:21.947999929 +0000
|
||||
+++ a/jvm.cacao.cfg.in 2012-03-16 12:58:18.683839114 +0000
|
||||
@@ -0,0 +1,44 @@
|
||||
+#
|
||||
+# @(#)jvm.cfg 1.7 07/05/05
|
||||
+#
|
||||
+#
|
||||
+# Copyright 2002-2003 Sun Microsystems, Inc. All Rights Reserved.
|
||||
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
+#
|
||||
+# This code is free software; you can redistribute it and/or modify it
|
||||
+# under the terms of the GNU General Public License version 2 only, as
|
||||
+# published by the Free Software Foundation. Sun designates this
|
||||
+# particular file as subject to the "Classpath" exception as provided
|
||||
+# by Sun in the LICENSE file that accompanied this code.
|
||||
+#
|
||||
+# This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
+# version 2 for more details (a copy is included in the LICENSE file that
|
||||
+# accompanied this code).
|
||||
+#
|
||||
+# You should have received a copy of the GNU General Public License version
|
||||
+# 2 along with this work; if not, write to the Free Software Foundation,
|
||||
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
+#
|
||||
+# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
+# CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
+# have any questions.
|
||||
+#
|
||||
+#
|
||||
+#
|
||||
+# List of JVMs that can be used as an option to java, javac, etc.
|
||||
+# Order is important -- first in this list is the default JVM.
|
||||
+# NOTE that this both this file and its format are UNSUPPORTED and
|
||||
+# WILL GO AWAY in a future release.
|
||||
+#
|
||||
+# You may also select a JVM in an arbitrary location with the
|
||||
+# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
|
||||
+# and may not be available in a future release.
|
||||
+#
|
||||
+-server KNOWN
|
||||
+-hotspot ERROR
|
||||
+-classic WARN
|
||||
+-client IGNORE
|
||||
+-native ERROR
|
||||
+-green ERROR
|
@ -1,344 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.10.5.ebuild,v 1.3 2012/02/08 13:09:17 sera Exp $
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
|
||||
|
||||
ICEDTEA_PKG=${PN}$(replace_version_separator 1 -)
|
||||
OPENJDK_BUILD="22"
|
||||
OPENJDK_DATE="28_feb_2011"
|
||||
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
|
||||
JAXP_TARBALL="jaxp144_01.zip"
|
||||
JAXWS_TARBALL="jdk6-jaxws-b20.zip"
|
||||
JAF_TARBALL="jdk6-jaf-b20.zip"
|
||||
HOTSPOT_TARBALL="f0f676c5a2c6.tar.gz"
|
||||
CACAO_TARBALL="c7bf150bfa46.tar.gz" # 17 Mar 2011
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="
|
||||
http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
|
||||
http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/${JAXWS_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/${JAF_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/${JAXP_TARBALL}
|
||||
hs20? ( http://hg.openjdk.java.net/hsx/hsx20/master/archive/${HOTSPOT_TARBALL} )
|
||||
!amd64? ( !sparc? ( !x86? (
|
||||
http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL}
|
||||
) ) )"
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
SLOT="6"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="+X +alsa cjk +cups debug doc examples +hs20 javascript +jbootstrap +nsplugin
|
||||
+nss pax_kernel pulseaudio +source systemtap test +webstart"
|
||||
|
||||
# Ideally the following were optional at build time.
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.2.12"
|
||||
X_COMMON_DEP="
|
||||
dev-libs/glib
|
||||
>=media-libs/freetype-2.3.5
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=x11-libs/libXext-1.1.1
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
>=x11-libs/libXtst-1.0.3"
|
||||
X_DEPEND="
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
>=x11-libs/libXp-1.0.0
|
||||
x11-proto/inputproto
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6
|
||||
>=media-libs/libpng-1.2
|
||||
>=sys-libs/zlib-1.2.3
|
||||
virtual/jpeg
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nss? ( >=dev-libs/nss-3.12.5-r1 )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
|
||||
systemtap? ( >=dev-util/systemtap-1 )"
|
||||
|
||||
# media-fonts/lklug needs ppc ppc64 keywords
|
||||
RDEPEND="${COMMON_DEP}
|
||||
!dev-java/icedtea6
|
||||
X? (
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
!ppc? ( !ppc64? ( media-fonts/lklug ) )
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )"
|
||||
|
||||
# Only ant-core-1.7.1-r2 and later properly respect environment variables.
|
||||
# xalan/xerces: automatic code generation (also needed for Ant 1.8.0 to work properly)
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
# xext headers have two variants depending on version - bug #288855
|
||||
# !eclipse-ecj-3.7 - bug #392587
|
||||
# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
|
||||
DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:6
|
||||
dev-java/icedtea:6
|
||||
)
|
||||
app-arch/cpio
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-misc/ca-certificates
|
||||
>=dev-java/ant-core-1.7.1-r2
|
||||
dev-java/ant-nodeps
|
||||
>=dev-java/xalan-2.7.0:0
|
||||
>=dev-java/xerces-2.9.1:2
|
||||
dev-lang/perl
|
||||
dev-libs/openssl
|
||||
dev-util/pkgconfig
|
||||
sys-apps/lsb-release
|
||||
|| ( >=sys-devel/autoconf-2.65:2.5 <sys-devel/autoconf-2.64:2.5 )
|
||||
${X_DEPEND}
|
||||
jbootstrap? (
|
||||
|| ( <dev-java/eclipse-ecj-3.7 dev-java/ecj-gcj )
|
||||
)
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:6 )
|
||||
nsplugin? ( dev-java/icedtea-web:6[nsplugin] )"
|
||||
|
||||
S="${WORKDIR}"/${ICEDTEA_PKG}
|
||||
|
||||
# a bit of hack so the VM switching is triggered without causing dependency troubles
|
||||
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
pkg_setup() {
|
||||
# quite a hack since java-config does not provide a way for a package
|
||||
# to limit supported VM's for building and their preferred order
|
||||
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
|
||||
elif has_version "<=dev-java/icedtea-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea6"
|
||||
elif has_version ">dev-java/icedtea-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-6"
|
||||
elif has_version "<dev-java/icedtea-bin-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea6-bin"
|
||||
elif has_version ">=dev-java/icedtea-bin-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-bin-6"
|
||||
elif has_version dev-java/gcj-jdk; then
|
||||
JAVA_PKG_FORCE_VM="gcj-jdk"
|
||||
else
|
||||
die "Unable to find a supported VM for building"
|
||||
fi
|
||||
|
||||
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${ICEDTEA_PKG}.tar.gz
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-${SLOT}_pax_kernel_support.patch #389751
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local config bootstrap
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
# IcedTea6 can't be built using IcedTea7; its class files are too new
|
||||
if has "${vm}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6; then
|
||||
use jbootstrap && bootstrap=yes
|
||||
elif has "${vm}" gcj-jdk; then
|
||||
# gcj-jdk ensures ecj is present.
|
||||
use jbootstrap || einfo "bootstrap forced on for ${vm}, ignoring use jbootstrap"
|
||||
bootstrap=yes
|
||||
else
|
||||
eerror "IcedTea${SLOT} must be built with either a JDK based on GNU Classpath or an existing build of IcedTea${SLOT}."
|
||||
die "Install a GNU Classpath JDK (gcj-jdk)"
|
||||
fi
|
||||
|
||||
if [[ ${bootstrap} ]]; then
|
||||
config="${config} --enable-bootstrap"
|
||||
|
||||
# icedtea-6 javac wrapper requires to always have ecj if bootstrapping #392337
|
||||
local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
|
||||
# Don't use eclipse-ecj-3.7 #392587
|
||||
local ecj_all=( "${EPREFIX}"/usr/share/{eclipse-ecj,ecj-gcj}-* )
|
||||
ecj_all=( "${ecj_all[@]/*eclipse-ecj-3.7*/}" )
|
||||
if ! has "${ecj_jar%/lib/ecj.jar}" "${ecj_all[@]}"; then
|
||||
ecj_jar="${ecj_jar%/lib/ecj.jar}"
|
||||
ewarn "${ecj_jar##*/} set as system ecj, can't use for bootstrap"
|
||||
ewarn "Found usable: ${ecj_all[@]##*/}"
|
||||
ewarn "using ${ecj_all##*/} instead"
|
||||
ecj_jar="${ecj_all}"/lib/ecj.jar
|
||||
fi
|
||||
config="${config} --with-ecj-jar=${ecj_jar}"
|
||||
else
|
||||
config="${config} --disable-bootstrap"
|
||||
fi
|
||||
|
||||
# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
|
||||
# Otherwise use CACAO
|
||||
if ! has "${ARCH}" amd64 sparc x86; then
|
||||
config="${config} --enable-cacao --with-cacao-src-zip=${DISTDIR}/${CACAO_TARBALL}"
|
||||
fi
|
||||
|
||||
# OpenJDK-specific parallelism support. Bug #389791, #337827
|
||||
# Implementation modified from waf-utils.eclass
|
||||
# Note that "-j" is converted to "-j1" as the system doesn't support --load-average
|
||||
local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
|
||||
config="${config} --with-parallel-jobs=${procs}";
|
||||
einfo "Configuring using --with-parallel-jobs=${procs}"
|
||||
|
||||
if use javascript ; then
|
||||
config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
|
||||
else
|
||||
config="${config} --without-rhino"
|
||||
fi
|
||||
|
||||
if use hs20 ; then
|
||||
config="${config} --with-hotspot-build=hs20 --with-hotspot-src-zip=${DISTDIR}/${HOTSPOT_TARBALL}"
|
||||
fi
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||
--with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \
|
||||
--with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \
|
||||
--with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable nss) \
|
||||
$(use_enable pulseaudio pulse-java) \
|
||||
$(use_enable systemtap) \
|
||||
$(use_with pax_kernel pax paxctl)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Would use GENTOO_VM otherwise.
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
|
||||
# ant -diagnostics in Ant 1.8.0 fails without xerces-2 and xalan
|
||||
# Load the least that's needed to avoid possible classpath collisions.
|
||||
export ANT_TASKS="xerces-2 xalan ant-nodeps"
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Use Xvfb for tests
|
||||
unset DISPLAY
|
||||
|
||||
Xemake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
dodoc README NEWS AUTHORS THANKYOU
|
||||
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
|
||||
|
||||
cd openjdk.build/j2sdk-image || die
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
#402507
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use doc; then
|
||||
# java-pkg_dohtml needed for package-list #302654
|
||||
java-pkg_dohtml -r ../docs/* || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodir "${dest}/share";
|
||||
cp -vRP demo sample "${ddest}/share/" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
# Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env "${FILESDIR}/icedtea.env"
|
||||
if ! use X || ! use alsa || ! use cups; then
|
||||
java-vm_revdep-mask "${dest}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-6.1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-6*"
|
||||
elog "has changed from 'icedtea6' to 'icedtea-6' starting from version 6.1.10.4-r1"
|
||||
elog "If you had icedtea6 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
@ -1,335 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.11.ebuild,v 1.4 2012/02/24 18:43:48 sera Exp $
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
|
||||
|
||||
ICEDTEA_PKG=${PN}$(replace_version_separator 1 -)
|
||||
OPENJDK_BUILD="24"
|
||||
OPENJDK_DATE="14_nov_2011"
|
||||
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
|
||||
JAXP_TARBALL="jaxp144_03.zip"
|
||||
JAXWS_TARBALL="jdk6-jaxws2_1_6-2011_06_13.zip"
|
||||
JAF_TARBALL="jdk6-jaf-b20.zip"
|
||||
CACAO_TARBALL="cff92704c4e0.tar.gz"
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="
|
||||
http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
|
||||
http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/${JAXWS_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/${JAF_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/${JAXP_TARBALL}
|
||||
!amd64? ( !sparc? ( !x86? (
|
||||
http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL}
|
||||
) ) )"
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
SLOT="6"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
|
||||
+nss pax_kernel pulseaudio +source systemtap test +webstart"
|
||||
|
||||
# Ideally the following were optional at build time.
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.2.12"
|
||||
X_COMMON_DEP="
|
||||
dev-libs/glib
|
||||
>=media-libs/freetype-2.3.5
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=x11-libs/libXext-1.1.1
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
>=x11-libs/libXtst-1.0.3"
|
||||
X_DEPEND="
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
>=x11-libs/libXp-1.0.0
|
||||
x11-proto/inputproto
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6
|
||||
>=media-libs/libpng-1.2
|
||||
>=sys-libs/zlib-1.2.3
|
||||
virtual/jpeg
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nss? ( >=dev-libs/nss-3.12.5-r1 )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
|
||||
systemtap? ( >=dev-util/systemtap-1 )"
|
||||
|
||||
# media-fonts/lklug needs ppc ppc64 keywords
|
||||
RDEPEND="${COMMON_DEP}
|
||||
!dev-java/icedtea6
|
||||
X? (
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
!ppc? ( !ppc64? ( media-fonts/lklug ) )
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )"
|
||||
|
||||
# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
# xext headers have two variants depending on version - bug #288855
|
||||
# !eclipse-ecj-3.7 - bug #392587
|
||||
# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
|
||||
DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:6
|
||||
dev-java/icedtea:6
|
||||
)
|
||||
app-arch/cpio
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-misc/ca-certificates
|
||||
>=dev-java/ant-core-1.8.1
|
||||
dev-java/ant-nodeps
|
||||
dev-lang/perl
|
||||
>=dev-libs/libxslt-1.1.26
|
||||
dev-libs/openssl
|
||||
dev-util/pkgconfig
|
||||
sys-apps/lsb-release
|
||||
|| ( >=sys-devel/autoconf-2.65:2.5 <sys-devel/autoconf-2.64:2.5 )
|
||||
${X_DEPEND}
|
||||
jbootstrap? (
|
||||
|| ( <dev-java/eclipse-ecj-3.7 dev-java/ecj-gcj )
|
||||
)
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:6 )
|
||||
nsplugin? ( dev-java/icedtea-web:6[nsplugin] )"
|
||||
|
||||
S="${WORKDIR}"/${ICEDTEA_PKG}
|
||||
|
||||
# a bit of hack so the VM switching is triggered without causing dependency troubles
|
||||
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
pkg_setup() {
|
||||
# quite a hack since java-config does not provide a way for a package
|
||||
# to limit supported VM's for building and their preferred order
|
||||
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
|
||||
elif has_version "<=dev-java/icedtea-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea6"
|
||||
elif has_version ">dev-java/icedtea-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-6"
|
||||
elif has_version "<dev-java/icedtea-bin-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea6-bin"
|
||||
elif has_version ">=dev-java/icedtea-bin-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-bin-6"
|
||||
elif has_version dev-java/gcj-jdk; then
|
||||
JAVA_PKG_FORCE_VM="gcj-jdk"
|
||||
else
|
||||
die "Unable to find a supported VM for building"
|
||||
fi
|
||||
|
||||
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${ICEDTEA_PKG}.tar.gz
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-${SLOT}_pax_kernel_support.patch #389751
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local config bootstrap
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
# IcedTea6 can't be built using IcedTea7; its class files are too new
|
||||
if has "${vm}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6; then
|
||||
use jbootstrap && bootstrap=yes
|
||||
elif has "${vm}" gcj-jdk; then
|
||||
# gcj-jdk ensures ecj is present.
|
||||
use jbootstrap || einfo "bootstrap forced on for ${vm}, ignoring use jbootstrap"
|
||||
bootstrap=yes
|
||||
else
|
||||
eerror "IcedTea${SLOT} must be built with either a JDK based on GNU Classpath or an existing build of IcedTea${SLOT}."
|
||||
die "Install a GNU Classpath JDK (gcj-jdk)"
|
||||
fi
|
||||
|
||||
if [[ ${bootstrap} ]]; then
|
||||
config="${config} --enable-bootstrap"
|
||||
|
||||
# icedtea-6 javac wrapper requires to always have ecj if bootstrapping #392337
|
||||
local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
|
||||
# Don't use eclipse-ecj-3.7 #392587
|
||||
local ecj_all=( "${EPREFIX}"/usr/share/{eclipse-ecj,ecj-gcj}-* )
|
||||
ecj_all=( "${ecj_all[@]/*eclipse-ecj-3.7*/}" )
|
||||
if ! has "${ecj_jar%/lib/ecj.jar}" "${ecj_all[@]}"; then
|
||||
ecj_jar="${ecj_jar%/lib/ecj.jar}"
|
||||
ewarn "${ecj_jar##*/} set as system ecj, can't use for bootstrap"
|
||||
ewarn "Found usable: ${ecj_all[@]##*/}"
|
||||
ewarn "using ${ecj_all##*/} instead"
|
||||
ecj_jar="${ecj_all}"/lib/ecj.jar
|
||||
fi
|
||||
config="${config} --with-ecj-jar=${ecj_jar}"
|
||||
else
|
||||
config="${config} --disable-bootstrap"
|
||||
fi
|
||||
|
||||
# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
|
||||
# Otherwise use CACAO
|
||||
if ! has "${ARCH}" amd64 sparc x86; then
|
||||
config="${config} --enable-cacao --with-cacao-src-zip=${DISTDIR}/${CACAO_TARBALL}"
|
||||
fi
|
||||
|
||||
# OpenJDK-specific parallelism support. Bug #389791, #337827
|
||||
# Implementation modified from waf-utils.eclass
|
||||
# Note that "-j" is converted to "-j1" as the system doesn't support --load-average
|
||||
local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
|
||||
config="${config} --with-parallel-jobs=${procs}";
|
||||
einfo "Configuring using --with-parallel-jobs=${procs}"
|
||||
|
||||
if use javascript ; then
|
||||
config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
|
||||
else
|
||||
config="${config} --without-rhino"
|
||||
fi
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||
--with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \
|
||||
--with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \
|
||||
--with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable nss) \
|
||||
$(use_enable pulseaudio pulse-java) \
|
||||
$(use_enable systemtap) \
|
||||
$(use_with pax_kernel pax paxctl)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Would use GENTOO_VM otherwise.
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
|
||||
# Load the least that's needed to avoid possible classpath collisions.
|
||||
export ANT_TASKS="ant-nodeps"
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Use Xvfb for tests
|
||||
unset DISPLAY
|
||||
|
||||
Xemake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
dodoc README NEWS AUTHORS THANKYOU
|
||||
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
|
||||
|
||||
cd openjdk.build/j2sdk-image || die
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
#402507
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use doc; then
|
||||
# java-pkg_dohtml needed for package-list #302654
|
||||
java-pkg_dohtml -r ../docs/* || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodir "${dest}/share";
|
||||
cp -vRP demo sample "${ddest}/share/" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
# Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env "${FILESDIR}/icedtea.env"
|
||||
if ! use X || ! use alsa || ! use cups; then
|
||||
java-vm_revdep-mask "${dest}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-6.1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-6*"
|
||||
elog "has changed from 'icedtea6' to 'icedtea-6' starting from version 6.1.10.4-r1"
|
||||
elog "If you had icedtea6 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
@ -1,314 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.0-r1.ebuild,v 1.18 2011/11/21 11:40:06 sera Exp $
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit flag-o-matic java-pkg-2 java-vm-2 versionator
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
SLOT="7"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
ICEDTEA_VER="$(get_version_component_range 2-3)"
|
||||
ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
|
||||
OPENJDK_TARBALL="0a76e5390e68.tar.gz"
|
||||
CORBA_TARBALL="4d9e4fb8af09.tar.gz"
|
||||
HOTSPOT_TARBALL="b28ae681bae0.tar.gz"
|
||||
JAXP_TARBALL="948e734135ea.tar.gz"
|
||||
JAXWS_TARBALL="a2ebfdc9db7e.tar.gz"
|
||||
JDK_TARBALL="2054526dd141.tar.gz"
|
||||
LANGTOOLS_TARBALL="9b85f1265346.tar.gz"
|
||||
SRC_URI="http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/archive/${OPENJDK_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/corba/archive/${CORBA_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jaxp/archive/${JAXP_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jaxws/archive/${JAXWS_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jdk/archive/${JDK_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/hotspot/archive/${HOTSPOT_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/langtools/archive/${LANGTOOLS_TARBALL}"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
S=${WORKDIR}/${ICEDTEA_PKG}
|
||||
|
||||
# Missing options:
|
||||
# shark - needs adding
|
||||
IUSE="debug doc examples javascript +nsplugin pulseaudio systemtap +webstart"
|
||||
|
||||
RDEPEND=">=net-print/cups-1.2.12
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=media-libs/freetype-2.3.5
|
||||
>=media-libs/alsa-lib-1.0
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
>=x11-libs/libXp-1.0.0
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXtst-1.0.3
|
||||
>=x11-libs/libXext-1.1.1
|
||||
virtual/jpeg
|
||||
>=media-libs/libpng-1.2
|
||||
>=media-libs/giflib-4.1.6
|
||||
media-libs/lcms:2
|
||||
>=sys-libs/zlib-1.2.3
|
||||
x11-proto/inputproto
|
||||
x11-proto/xineramaproto
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
ppc? ( virtual/libffi )
|
||||
ppc64? ( virtual/libffi )
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
systemtap? ( >=dev-util/systemtap-1 )
|
||||
!dev-java/icedtea:0
|
||||
sys-apps/attr
|
||||
>=dev-libs/glib-2.26
|
||||
media-libs/fontconfig"
|
||||
|
||||
# Additional dependencies for building:
|
||||
# zip: extract OpenJDK tarball, and needed by configure
|
||||
# ant, ecj, jdk: required to build Java code
|
||||
# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
# xext headers have two variants depending on version - bug #288855
|
||||
# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
|
||||
DEPEND="${RDEPEND}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:7
|
||||
dev-java/icedtea-bin:6
|
||||
dev-java/icedtea:7
|
||||
dev-java/icedtea:6
|
||||
)
|
||||
app-arch/zip
|
||||
>=dev-libs/libxslt-1.1.26
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xproto
|
||||
>=dev-java/ant-core-1.8.1
|
||||
dev-java/ant-nodeps
|
||||
app-misc/ca-certificates
|
||||
dev-lang/perl
|
||||
dev-libs/openssl
|
||||
sys-apps/lsb-release
|
||||
app-arch/cpio"
|
||||
# || ( >=sys-devel/autoconf-2.65:2.5 <sys-devel/autoconf-2.64:2.5 )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:7 )
|
||||
nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
|
||||
|
||||
# a bit of hack so the VM switching is triggered without causing dependency troubles
|
||||
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
pkg_setup() {
|
||||
if use nsplugin && ! use webstart ; then
|
||||
elog "Note that the nsplugin flag implies the webstart flag. Enable it to remove this message."
|
||||
fi
|
||||
|
||||
if [[ "${MERGE_TYPE}" == "binary" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
|
||||
# quite a hack since java-config does not provide a way for a package
|
||||
# to limit supported VM's for building and their preferred order
|
||||
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
|
||||
elif has_version "<=dev-java/icedtea-7.2.0:7"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea7"
|
||||
elif has_version ">dev-java/icedtea-7.2.0:7"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-7"
|
||||
elif has_version "dev-java/icedtea-bin:7"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-bin-7"
|
||||
elif has_version "<=dev-java/icedtea-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea6"
|
||||
elif has_version ">dev-java/icedtea-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-6"
|
||||
elif has_version "<dev-java/icedtea-bin-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea6-bin"
|
||||
elif has_version ">=dev-java/icedtea-bin-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-bin-6"
|
||||
elif has_version dev-java/gcj-jdk; then
|
||||
JAVA_PKG_FORCE_VM="gcj-jdk"
|
||||
else
|
||||
die "Unable to find a supported VM for building"
|
||||
fi
|
||||
|
||||
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
|
||||
# without this, access violation is thrown
|
||||
addpredict "/proc/self/coredump_filter"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${ICEDTEA_PKG}.tar.gz
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Fix non bootstrap builds with PaX enabled kernels. Bug #389751
|
||||
# Move applying test_gamma.patch to before creating boot copy.
|
||||
if host-is-pax; then
|
||||
sed -i -e 's|patches/boot/test_gamma.patch||' Makefile.in || die
|
||||
sed -i -e 's|openjdk-boot|openjdk|g' patches/boot/test_gamma.patch || die
|
||||
export DISTRIBUTION_PATCHES=patches/boot/test_gamma.patch
|
||||
fi
|
||||
}
|
||||
|
||||
unset_vars() {
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local config procs rhino_jar
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
if has "${vm}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6; then
|
||||
# We can't currently bootstrap with a IcedTea6 JVM :(
|
||||
config="${config} --disable-bootstrap"
|
||||
elif has "${vm}" icedtea7 icedtea-7 icedtea-bin-7; then
|
||||
# We can't currently bootstrap with a PaX enabled kernel :(
|
||||
host-is-pax && config="${config} --disable-bootstrap"
|
||||
elif has "${vm}" gcj-jdk ; then
|
||||
if host-is-pax; then
|
||||
eerror "Can't currently bootstrap IcedTea using gcj-jdk or cacao on a PaX enabled host"
|
||||
eerror "Sorry for the inconvenience"
|
||||
die "Use an existing IcedTea build instead or disable PaX on the host"
|
||||
fi
|
||||
else
|
||||
eerror "IcedTea must be built with either a JDK based on GNU Classpath or an existing build of IcedTea."
|
||||
die "Install a GNU Classpath JDK (gcj-jdk)"
|
||||
fi
|
||||
|
||||
# OpenJDK-specific parallelism support. Bug #389791, #337827
|
||||
# Implementation modified from waf-utils.eclass
|
||||
# Note that "-j" is converted to "-j1" as the system doesn't support --load-average
|
||||
local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
|
||||
config="${config} --with-parallel-jobs=${procs}";
|
||||
einfo "Configuring using --with-parallel-jobs=${procs}"
|
||||
|
||||
if need_zero ; then
|
||||
config="${config} --enable-zero"
|
||||
else
|
||||
config="${config} --disable-zero"
|
||||
fi
|
||||
|
||||
if use javascript ; then
|
||||
rhino_jar=$(java-pkg_getjar rhino:1.6 js.jar);
|
||||
fi
|
||||
|
||||
unset_vars
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||
--with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \
|
||||
--with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \
|
||||
--with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \
|
||||
--with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \
|
||||
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
|
||||
--with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
|
||||
--disable-jdk-tests \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_with javascript rhino ${rhino_jar}) \
|
||||
--disable-cacao \
|
||||
--disable-jamvm \
|
||||
$(use_enable pulseaudio pulse-java) \
|
||||
$(use_enable systemtap)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Newer versions of Gentoo's ant add
|
||||
# an environment variable so it works properly...
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
|
||||
# We try to load the least that's needed to avoid possible classpath collisions
|
||||
export ANT_TASKS="ant-nodeps"
|
||||
|
||||
emake -j 1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${D}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
local arch=${ARCH}
|
||||
|
||||
dodoc README NEWS AUTHORS
|
||||
dosym "/usr/share/doc/${PF}" "/usr/share/doc/${PN}${SLOT}"
|
||||
|
||||
cd "${S}/openjdk.build/j2sdk-image" || die
|
||||
|
||||
# Don't hide classes
|
||||
rm -f lib/ct.sym
|
||||
|
||||
if use doc ; then
|
||||
# java-pkg_dohtml needed for package-list #302654
|
||||
java-pkg_dohtml -r ../docs/* || die "Failed to install documentation"
|
||||
fi
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die "failed to copy"
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use examples; then
|
||||
dodir "${dest}/share";
|
||||
cp -vRP demo sample "${ddest}/share/" || die
|
||||
fi
|
||||
|
||||
cp src.zip "${ddest}" || die
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in /usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in /usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
sed -e "s#@SLOT@#${SLOT}#g" \
|
||||
-e "s#@PV@#${ICEDTEA_VER}#g" \
|
||||
-e "s#@LIBDIR@#$(get_libdir)#g" \
|
||||
< "${FILESDIR}/icedtea.env" > "${T}/icedtea.env"
|
||||
set_java_env "${T}/icedtea.env"
|
||||
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
need_zero() {
|
||||
! use amd64 && ! use x86 && ! use sparc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-7.2.0:7"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${ROOT}/usr/lib/jvm/icedtea7"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
|
||||
elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
|
||||
elog "If you had icedtea7 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
@ -1,338 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.0-r2.ebuild,v 1.1 2011/11/28 15:29:59 sera Exp $
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-pkg-2 java-vm-2 pax-utils prefix versionator
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
SLOT="7"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
ICEDTEA_VER="$(get_version_component_range 2-3)"
|
||||
ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
|
||||
OPENJDK_TARBALL="0a76e5390e68.tar.gz"
|
||||
CORBA_TARBALL="4d9e4fb8af09.tar.gz"
|
||||
HOTSPOT_TARBALL="b28ae681bae0.tar.gz"
|
||||
JAXP_TARBALL="948e734135ea.tar.gz"
|
||||
JAXWS_TARBALL="a2ebfdc9db7e.tar.gz"
|
||||
JDK_TARBALL="2054526dd141.tar.gz"
|
||||
LANGTOOLS_TARBALL="9b85f1265346.tar.gz"
|
||||
SRC_URI="http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/archive/${OPENJDK_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/corba/archive/${CORBA_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jaxp/archive/${JAXP_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jaxws/archive/${JAXWS_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jdk/archive/${JDK_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/hotspot/archive/${HOTSPOT_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/langtools/archive/${LANGTOOLS_TARBALL}"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
S=${WORKDIR}/${ICEDTEA_PKG}
|
||||
|
||||
# Missing options:
|
||||
# shark - needs adding
|
||||
IUSE="X debug cjk doc examples javascript +jbootstrap +nsplugin pulseaudio +source systemtap +webstart"
|
||||
|
||||
RDEPEND="!dev-java/icedtea:0
|
||||
>=dev-libs/glib-2.26
|
||||
>=media-libs/alsa-lib-1.0
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.3.5
|
||||
>=media-libs/giflib-4.1.6
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.2
|
||||
>=net-print/cups-1.2.12
|
||||
sys-apps/attr
|
||||
>=sys-libs/zlib-1.2.3
|
||||
virtual/jpeg
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXext-1.1.1
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
>=x11-libs/libXp-1.0.0
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
>=x11-libs/libXtst-1.0.3
|
||||
x11-proto/inputproto
|
||||
x11-proto/xineramaproto
|
||||
X? (
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
media-fonts/lklug
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
ppc64? ( virtual/libffi )
|
||||
ppc? ( virtual/libffi )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
|
||||
systemtap? ( >=dev-util/systemtap-1 )"
|
||||
|
||||
# Additional dependencies for building:
|
||||
# zip: extract OpenJDK tarball, and needed by configure
|
||||
# ant, ecj, jdk: required to build Java code
|
||||
# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
# xext headers have two variants depending on version - bug #288855
|
||||
# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
|
||||
DEPEND="${RDEPEND}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:7
|
||||
dev-java/icedtea-bin:6
|
||||
dev-java/icedtea:7
|
||||
dev-java/icedtea:6
|
||||
)
|
||||
app-arch/zip
|
||||
dev-util/pkgconfig
|
||||
>=dev-libs/libxslt-1.1.26
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xproto
|
||||
>=dev-java/ant-core-1.8.1
|
||||
dev-java/ant-nodeps
|
||||
app-misc/ca-certificates
|
||||
dev-lang/perl
|
||||
dev-libs/openssl
|
||||
sys-apps/lsb-release
|
||||
app-arch/cpio"
|
||||
# || ( >=sys-devel/autoconf-2.65:2.5 <sys-devel/autoconf-2.64:2.5 )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:7 )
|
||||
nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
|
||||
|
||||
# a bit of hack so the VM switching is triggered without causing dependency troubles
|
||||
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
pkg_setup() {
|
||||
if use nsplugin && ! use webstart ; then
|
||||
elog "Note that the nsplugin flag implies the webstart flag. Enable it to remove this message."
|
||||
fi
|
||||
|
||||
[[ "${MERGE_TYPE}" == "binary" ]] && return #258423
|
||||
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
|
||||
# quite a hack since java-config does not provide a way for a package
|
||||
# to limit supported VM's for building and their preferred order
|
||||
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
|
||||
elif has_version "<=dev-java/icedtea-7.2.0:7"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea7"
|
||||
elif has_version ">dev-java/icedtea-7.2.0:7"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-7"
|
||||
elif has_version "dev-java/icedtea-bin:7"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-bin-7"
|
||||
elif has_version "<=dev-java/icedtea-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea6"
|
||||
elif has_version ">dev-java/icedtea-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-6"
|
||||
elif has_version "<dev-java/icedtea-bin-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea6-bin"
|
||||
elif has_version ">=dev-java/icedtea-bin-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-bin-6"
|
||||
elif has_version dev-java/gcj-jdk; then
|
||||
JAVA_PKG_FORCE_VM="gcj-jdk"
|
||||
else
|
||||
die "Unable to find a supported VM for building"
|
||||
fi
|
||||
|
||||
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
|
||||
# without this, access violation is thrown
|
||||
addpredict "/proc/self/coredump_filter"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${ICEDTEA_PKG}.tar.gz
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Fix non bootstrap builds with PaX enabled kernels. Bug #389751
|
||||
# Move applying test_gamma.patch to before creating boot copy.
|
||||
if host-is-pax; then
|
||||
sed -i -e 's|patches/boot/test_gamma.patch||' Makefile.in || die
|
||||
sed -i -e 's|openjdk-boot|openjdk|g' patches/boot/test_gamma.patch || die
|
||||
export DISTRIBUTION_PATCHES=patches/boot/test_gamma.patch
|
||||
fi
|
||||
}
|
||||
|
||||
unset_vars() {
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local config procs rhino_jar
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
if has "${vm}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6; then
|
||||
if use jbootstrap; then
|
||||
einfo "We can't currently bootstrap with a IcedTea6 JVM :("
|
||||
einfo "bootstrap forced off, ignoring use jbootstrap"
|
||||
fi
|
||||
config="${config} --disable-bootstrap"
|
||||
elif has "${vm}" icedtea7 icedtea-7 icedtea-bin-7; then
|
||||
if host-is-pax; then
|
||||
if use jbootstrap; then
|
||||
einfo "We can't currently bootstrap with a PaX enabled kernel :("
|
||||
einfo "bootstrap forced off, ignoring use jbootstrap"
|
||||
fi
|
||||
config="${config} --disable-bootstrap"
|
||||
else
|
||||
config="${config} $(use_enable jbootstrap bootstrap)"
|
||||
fi
|
||||
elif has "${vm}" gcj-jdk; then
|
||||
if host-is-pax; then
|
||||
eerror "Can't currently bootstrap IcedTea using gcj-jdk or cacao on a PaX enabled host"
|
||||
eerror "Sorry for the inconvenience"
|
||||
die "Use an existing IcedTea build instead or disable PaX on the host"
|
||||
fi
|
||||
if ! use jbootstrap; then
|
||||
einfo "bootstrap forced on for ${vm}, ignoring use jbootstrap"
|
||||
fi
|
||||
else
|
||||
eerror "IcedTea must be built with either a JDK based on GNU Classpath or an existing build of IcedTea."
|
||||
die "Install a GNU Classpath JDK (gcj-jdk)"
|
||||
fi
|
||||
|
||||
# OpenJDK-specific parallelism support. Bug #389791, #337827
|
||||
# Implementation modified from waf-utils.eclass
|
||||
# Note that "-j" is converted to "-j1" as the system doesn't support --load-average
|
||||
local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
|
||||
config="${config} --with-parallel-jobs=${procs}";
|
||||
einfo "Configuring using --with-parallel-jobs=${procs}"
|
||||
|
||||
if need_zero ; then
|
||||
config="${config} --enable-zero"
|
||||
else
|
||||
config="${config} --disable-zero"
|
||||
fi
|
||||
|
||||
if use javascript ; then
|
||||
rhino_jar=$(java-pkg_getjar rhino:1.6 js.jar);
|
||||
fi
|
||||
|
||||
unset_vars
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||
--with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \
|
||||
--with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \
|
||||
--with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \
|
||||
--with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \
|
||||
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
|
||||
--with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
|
||||
--disable-jdk-tests \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_with javascript rhino ${rhino_jar}) \
|
||||
--disable-cacao \
|
||||
--disable-jamvm \
|
||||
$(use_enable pulseaudio pulse-java) \
|
||||
$(use_enable systemtap)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Newer versions of Gentoo's ant add
|
||||
# an environment variable so it works properly...
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
|
||||
# We try to load the least that's needed to avoid possible classpath collisions
|
||||
export ANT_TASKS="ant-nodeps"
|
||||
|
||||
emake -j 1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
dodoc README NEWS AUTHORS
|
||||
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
|
||||
|
||||
cd openjdk.build/j2sdk-image || die
|
||||
|
||||
# Don't hide classes
|
||||
rm lib/ct.sym || die
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use doc; then
|
||||
# java-pkg_dohtml needed for package-list #302654
|
||||
java-pkg_dohtml -r ../docs/* || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodir "${dest}/share";
|
||||
cp -vRP demo sample "${ddest}/share/" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
# OpenJDK7 should be able to use fontconfig instead, but wont hurt to
|
||||
# install it anyway. Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env "${FILESDIR}/icedtea.env"
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
need_zero() {
|
||||
! use amd64 && ! use x86 && ! use sparc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-7.2.0:7"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea7"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
|
||||
elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
|
||||
elog "If you had icedtea7 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
@ -1,405 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.0-r3.ebuild,v 1.4 2012/02/08 13:09:17 sera Exp $
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-pkg-2 java-vm-2 pax-utils prefix versionator
|
||||
|
||||
ICEDTEA_PKG=icedtea-$(get_version_component_range 2-3)
|
||||
OPENJDK_TARBALL="0a76e5390e68.tar.gz"
|
||||
CORBA_TARBALL="4d9e4fb8af09.tar.gz"
|
||||
HOTSPOT_TARBALL="b28ae681bae0.tar.gz"
|
||||
JAXP_TARBALL="948e734135ea.tar.gz"
|
||||
JAXWS_TARBALL="a2ebfdc9db7e.tar.gz"
|
||||
JDK_TARBALL="2054526dd141.tar.gz"
|
||||
LANGTOOLS_TARBALL="9b85f1265346.tar.gz"
|
||||
CACAO_TARBALL="4549072ab2de.tar.gz" # 30 Aug 2011
|
||||
JAMVM_TARBALL="jamvm-310c491ddc14e92a6ffff27030a1a1821e6395a8.tar.gz" # 26 Sep 2011
|
||||
#CACAO_TARBALL="cacao-2204b08fcae9.tar.gz" # 03 Nov 2011
|
||||
#JAMVM_TARBALL="jamvm-4617da717ecb05654ea5bb9572338061106a414d.tar.gz" # 10 Oct 2011
|
||||
S=${WORKDIR}/${ICEDTEA_PKG}
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="
|
||||
http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/archive/${OPENJDK_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/corba/archive/${CORBA_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jaxp/archive/${JAXP_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jaxws/archive/${JAXWS_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/jdk/archive/${JDK_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/hotspot/archive/${HOTSPOT_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.0/langtools/archive/${LANGTOOLS_TARBALL}
|
||||
jamvm? ( http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL} )"
|
||||
#cacao? ( http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL} )
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
SLOT="7"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# Missing options: cacao zero shark - for building additional vms
|
||||
IUSE="+X +alsa cjk +cups debug doc examples -jamvm javascript +jbootstrap
|
||||
+nsplugin +nss pulseaudio +source systemtap +webstart"
|
||||
REQUIRED_USE="
|
||||
jamvm? ( jbootstrap )"
|
||||
#cacao? ( jbootstrap )
|
||||
|
||||
# Ideally the following were optional at build time.
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.2.12"
|
||||
X_COMMON_DEP="
|
||||
>=dev-libs/atk-1.30.0
|
||||
>=dev-libs/glib-2.26
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.3.5
|
||||
>=x11-libs/cairo-1.8.8
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=x11-libs/libXext-1.1.1
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
>=x11-libs/libXtst-1.0.3
|
||||
>=x11-libs/pango-1.24.5"
|
||||
X_DEPEND="
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
>=x11-libs/libXp-1.0.0
|
||||
x11-proto/inputproto
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto"
|
||||
|
||||
# virtual/libffi is needed for Zero
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.2
|
||||
>=sys-devel/gcc-4.3
|
||||
>=sys-libs/glibc-2.11.2
|
||||
>=sys-libs/zlib-1.2.3
|
||||
virtual/jpeg
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nss? ( >=dev-libs/nss-3.12.5-r1 )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
|
||||
systemtap? ( >=dev-util/systemtap-1 )
|
||||
!amd64? ( !sparc? ( !x86? ( virtual/libffi ) ) )"
|
||||
|
||||
# cups is needed for X. #390945 #390975
|
||||
RDEPEND="${COMMON_DEP}
|
||||
!dev-java/icedtea:0
|
||||
X? (
|
||||
${CUPS_COMMON_DEP}
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
media-fonts/lklug
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )"
|
||||
|
||||
# Additional dependencies for building:
|
||||
# zip: extract OpenJDK tarball, and needed by configure
|
||||
# ant, jdk: required to build Java code
|
||||
# ecj: required for bootstrap builds
|
||||
# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
# xext headers have two variants depending on version - bug #288855
|
||||
# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
|
||||
DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:7
|
||||
dev-java/icedtea-bin:6
|
||||
dev-java/icedtea:7
|
||||
dev-java/icedtea:6
|
||||
)
|
||||
app-arch/cpio
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-misc/ca-certificates
|
||||
>=dev-java/ant-core-1.8.1
|
||||
dev-java/ant-nodeps
|
||||
dev-lang/perl
|
||||
>=dev-libs/libxslt-1.1.26
|
||||
dev-libs/openssl
|
||||
dev-util/pkgconfig
|
||||
sys-apps/attr
|
||||
sys-apps/lsb-release
|
||||
${X_DEPEND}
|
||||
jbootstrap? (
|
||||
|| ( dev-java/eclipse-ecj dev-java/ecj-gcj )
|
||||
)"
|
||||
# || ( >=sys-devel/autoconf-2.65:2.5 <sys-devel/autoconf-2.64:2.5 )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:7 )
|
||||
nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
|
||||
|
||||
# a bit of hack so the VM switching is triggered without causing dependency troubles
|
||||
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
pkg_setup() {
|
||||
if use nsplugin && ! use webstart ; then
|
||||
elog "Note that the nsplugin flag implies the webstart flag. Enable it to remove this message."
|
||||
fi
|
||||
|
||||
[[ "${MERGE_TYPE}" == "binary" ]] && return #258423
|
||||
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
|
||||
# quite a hack since java-config does not provide a way for a package
|
||||
# to limit supported VM's for building and their preferred order
|
||||
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
|
||||
elif has_version "<=dev-java/icedtea-7.2.0:7"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea7"
|
||||
elif has_version ">dev-java/icedtea-7.2.0:7"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-7"
|
||||
elif has_version "dev-java/icedtea-bin:7"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-bin-7"
|
||||
elif has_version "<=dev-java/icedtea-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea6"
|
||||
elif has_version ">dev-java/icedtea-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-6"
|
||||
elif has_version "<dev-java/icedtea-bin-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea6-bin"
|
||||
elif has_version ">=dev-java/icedtea-bin-6.1.10.4:6"; then
|
||||
JAVA_PKG_FORCE_VM="icedtea-bin-6"
|
||||
elif has_version dev-java/gcj-jdk; then
|
||||
JAVA_PKG_FORCE_VM="gcj-jdk"
|
||||
else
|
||||
die "Unable to find a supported VM for building"
|
||||
fi
|
||||
|
||||
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
|
||||
# For bootstrap builds as the sandbox control file might not yet exist.
|
||||
addpredict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${ICEDTEA_PKG}.tar.gz
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Fix non bootstrap builds with PaX enabled kernels. Bug #389751
|
||||
# Move applying test_gamma.patch to before creating boot copy.
|
||||
if host-is-pax; then
|
||||
sed -i -e 's|patches/boot/test_gamma.patch||' Makefile.in || die
|
||||
sed -i -e 's|openjdk-boot|openjdk|g' patches/boot/test_gamma.patch || die
|
||||
export DISTRIBUTION_PATCHES=patches/boot/test_gamma.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local config bootstrap
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
if has "${vm}" icedtea7 icedtea-7 icedtea-bin-7; then
|
||||
use jbootstrap && bootstrap=yes
|
||||
elif has "${vm}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6; then
|
||||
if use jbootstrap; then
|
||||
einfo "We can't currently bootstrap with a IcedTea6 JVM :("
|
||||
einfo "bootstrap forced off, ignoring use jbootstrap"
|
||||
fi
|
||||
elif has "${vm}" gcj-jdk; then
|
||||
# gcj-jdk ensures ecj is present.
|
||||
use jbootstrap || einfo "bootstrap forced on for ${vm}, ignoring use jbootstrap"
|
||||
bootstrap=yes
|
||||
else
|
||||
eerror "IcedTea must be built with either a JDK based on GNU Classpath or an existing build of IcedTea."
|
||||
die "Install a GNU Classpath JDK (gcj-jdk)"
|
||||
fi
|
||||
|
||||
if [[ ${bootstrap} ]]; then
|
||||
local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
|
||||
|
||||
config="${config} --enable-bootstrap"
|
||||
config="${config} --with-ecj-jar=${ecj_jar}"
|
||||
else
|
||||
config="${config} --disable-bootstrap"
|
||||
fi
|
||||
|
||||
# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
|
||||
if has "${ARCH}" amd64 sparc x86; then
|
||||
config="${config} --disable-zero --disable-cacao --disable-jamvm --disable-shark"
|
||||
|
||||
if [[ ${bootstrap} ]]; then
|
||||
local extra_vms
|
||||
#if use shark; then
|
||||
# extra_vms="${extra_vms},shark"
|
||||
#elif use zero; then
|
||||
# extra_vms="${extra_vms},zero"
|
||||
#fi
|
||||
# CACAO disabled until it has OpenJDK7 support
|
||||
#if use cacao; then
|
||||
# extra_vms="${extra_vms},cacao"
|
||||
# config="${config} --with-cacao-src-zip=${DISTDIR}/${CACAO_TARBALL}"
|
||||
#fi
|
||||
if use jamvm; then
|
||||
extra_vms="${extra_vms},jamvm"
|
||||
config="${config} --with-jamvm-src-zip=${DISTDIR}/${JAMVM_TARBALL}"
|
||||
fi
|
||||
if [[ ${extra_vms} ]]; then
|
||||
config="${config} --with-additional-vms=${extra_vms#,}"
|
||||
fi
|
||||
elif use jamvm; then
|
||||
ewarn "Can't build additional VMs without bootstrap."
|
||||
ewarn "Rebuild IcedTea with a JDK that allows bootstrapping."
|
||||
fi
|
||||
else
|
||||
config="${config} --enable-zero --disable-cacao --disable-jamvm --disable-shark"
|
||||
# local extra_vms
|
||||
fi
|
||||
|
||||
# OpenJDK-specific parallelism support. Bug #389791, #337827
|
||||
# Implementation modified from waf-utils.eclass
|
||||
# Note that "-j" is converted to "-j1" as the system doesn't support --load-average
|
||||
local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
|
||||
config="${config} --with-parallel-jobs=${procs}";
|
||||
einfo "Configuring using --with-parallel-jobs=${procs}"
|
||||
|
||||
if use javascript ; then
|
||||
config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
|
||||
else
|
||||
config="${config} --without-rhino"
|
||||
fi
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||
--with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \
|
||||
--with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \
|
||||
--with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \
|
||||
--with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \
|
||||
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
|
||||
--with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
|
||||
--disable-jdk-tests \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable nss) \
|
||||
$(use_enable pulseaudio pulse-java) \
|
||||
$(use_enable systemtap)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Newer versions of Gentoo's ant add
|
||||
# an environment variable so it works properly...
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
|
||||
# We try to load the least that's needed to avoid possible classpath collisions
|
||||
export ANT_TASKS="ant-nodeps"
|
||||
|
||||
# Build and pax mark the intermidiate jdk. #389751
|
||||
if host-is-pax; then
|
||||
emake -j1 icedtea-boot
|
||||
java-vm_set-pax-markings openjdk.build-boot
|
||||
fi
|
||||
|
||||
emake -j 1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
dodoc README NEWS AUTHORS
|
||||
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
|
||||
|
||||
cd openjdk.build/j2sdk-image || die
|
||||
|
||||
#402507
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
# Don't hide classes
|
||||
rm lib/ct.sym || die
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use doc; then
|
||||
# java-pkg_dohtml needed for package-list #302654
|
||||
java-pkg_dohtml -r ../docs/* || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodir "${dest}/share";
|
||||
cp -vRP demo sample "${ddest}/share/" || die
|
||||
fi
|
||||
|
||||
# http://www.mail-archive.com/openjdk@lists.launchpad.net/msg06599.html
|
||||
if use jamvm; then
|
||||
dosym ${dest}/jre/lib/$(get_system_arch)/jamvm/libjvm.so \
|
||||
${dest}/jre/lib/$(get_system_arch)/libjvm.so
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
# OpenJDK7 should be able to use fontconfig instead, but wont hurt to
|
||||
# install it anyway. Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env "${FILESDIR}/icedtea.env"
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-7.2.0:7"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea7"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
|
||||
elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
|
||||
elog "If you had icedtea7 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST PDFRenderer-full-0.9.1.zip 3877379 RMD160 e723534fb56379c3a82a18f9b0e2bab112d5d5b2 SHA1 eae564645253667f01989cbbdfdee7d129ab10ae SHA256 29b194cbcb24edaa35b9d4de2a75d4c68acc0e0fc4c1c0fd2649c78e127e609f
|
||||
DIST pdf-renderer-0.20090523.zip 87732350 RMD160 ec547aea95218bde15da671ac003a997778ab457 SHA1 68b7cbc46e5aec80bbec32eedc4a864535532b84 SHA256 a2b5174f0589255107560a50238661052135234941989e3ee1f0185d5c08db73
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/pdf-renderer/pdf-renderer-0.9.1.ebuild,v 1.1 2012/03/29 11:32:20 sera Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="a 100% Java PDF renderer and viewer"
|
||||
HOMEPAGE="https://pdf-renderer.dev.java.net/"
|
||||
SRC_URI="http://java.net/projects/${PN}/downloads/download/PDFRenderer-full-${PV}.zip"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
java_prepare() {
|
||||
find -name '*.jar' -exec rm -v {} + || die
|
||||
}
|
||||
|
||||
# There is a test target (default from Netbeans)
|
||||
# but no junit code
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/*.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/javadoc
|
||||
use source && java-pkg_dosrc src/com
|
||||
}
|
@ -1,16 +1,17 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/pdf-renderer/pdf-renderer-0.20090523.ebuild,v 1.7 2010/05/11 13:19:30 josejx Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/pdf-renderer/pdf-renderer-0_pre20090523.ebuild,v 1.1 2012/03/29 11:32:19 sera Exp $
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P=${PN}-${PV/_pre/.}
|
||||
DESCRIPTION="a 100% Java PDF renderer and viewer"
|
||||
HOMEPAGE="https://pdf-renderer.dev.java.net/"
|
||||
# https://pdf-renderer.dev.java.net/demos/latest/PDFRenderer_src.zip
|
||||
SRC_URI="mirror://gentoo/${P}.zip"
|
||||
SRC_URI="mirror://gentoo/${MY_P}.zip"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
@ -1 +1,2 @@
|
||||
DIST girara-0.1.1.tar.gz 64403 RMD160 af4cd153e5a9c2b73378da4c3d94b5cc7b90dfcf SHA1 87f1f28f8eeeaec483fb6c5bb2645c3feba55a42 SHA256 2e561d4c723225f81f52f18b622d54826925d880db71486be62352c4dd0e2183
|
||||
DIST girara-0.1.2.tar.gz 65748 RMD160 73c3e9461bfca23e610a1a8d17aae05741bd595b SHA1 e36044cb2ad2a54f5c0cc0b5ab722f6284ea0f42 SHA256 89231d0da3c790e0765ad85d74f64cf50051b8bafe6065882e34e378ab14ec99
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/girara/girara-0.1.2.ebuild,v 1.1 2012/03/30 05:44:55 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A library that implements a user interface that focuses on simplicity and minimalism"
|
||||
HOMEPAGE="http://pwmt.org/projects/girara/"
|
||||
SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.18.6:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
pkg_setup() {
|
||||
mygiraraconf=(
|
||||
LIBDIR='${PREFIX}'/$(get_libdir)
|
||||
GIRARA_GTK_VERSION=2
|
||||
CC="$(tc-getCC)"
|
||||
SFLAGS=""
|
||||
VERBOSE=1
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${mygiraraconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${mygiraraconf[@]}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -0,0 +1,678 @@
|
||||
http://rt.openssl.org/Ticket/Display.html?id=2051
|
||||
user/pass: guest/guest
|
||||
|
||||
Index: apps/s_apps.h
|
||||
===================================================================
|
||||
RCS file: /v/openssl/cvs/openssl/apps/s_apps.h,v
|
||||
retrieving revision 1.21.2.1
|
||||
diff -u -r1.21.2.1 s_apps.h
|
||||
--- apps/s_apps.h 4 Sep 2009 17:42:04 -0000 1.21.2.1
|
||||
+++ apps/s_apps.h 28 Dec 2011 00:28:14 -0000
|
||||
@@ -148,7 +148,7 @@
|
||||
#define PORT_STR "4433"
|
||||
#define PROTOCOL "tcp"
|
||||
|
||||
-int do_server(int port, int type, int *ret, int (*cb) (char *hostname, int s, unsigned char *context), unsigned char *context);
|
||||
+int do_server(int port, int type, int *ret, int (*cb) (char *hostname, int s, unsigned char *context), unsigned char *context, int use_ipv4, int use_ipv6);
|
||||
#ifdef HEADER_X509_H
|
||||
int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx);
|
||||
#endif
|
||||
@@ -156,7 +156,7 @@
|
||||
int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file);
|
||||
int set_cert_key_stuff(SSL_CTX *ctx, X509 *cert, EVP_PKEY *key);
|
||||
#endif
|
||||
-int init_client(int *sock, char *server, int port, int type);
|
||||
+int init_client(int *sock, char *server, int port, int type, int use_ipv4, int use_ipv6);
|
||||
int should_retry(int i);
|
||||
int extract_port(char *str, short *port_ptr);
|
||||
int extract_host_port(char *str,char **host_ptr,unsigned char *ip,short *p);
|
||||
Index: apps/s_cb.c
|
||||
===================================================================
|
||||
RCS file: /v/openssl/cvs/openssl/apps/s_cb.c,v
|
||||
retrieving revision 1.27.2.8.2.2
|
||||
diff -u -r1.27.2.8.2.2 s_cb.c
|
||||
--- apps/s_cb.c 13 Nov 2011 13:13:13 -0000 1.27.2.8.2.2
|
||||
+++ apps/s_cb.c 28 Dec 2011 00:28:14 -0000
|
||||
Index: apps/s_client.c
|
||||
===================================================================
|
||||
RCS file: /v/openssl/cvs/openssl/apps/s_client.c,v
|
||||
retrieving revision 1.123.2.6.2.10
|
||||
diff -u -r1.123.2.6.2.10 s_client.c
|
||||
--- apps/s_client.c 14 Dec 2011 22:18:02 -0000 1.123.2.6.2.10
|
||||
+++ apps/s_client.c 28 Dec 2011 00:28:14 -0000
|
||||
@@ -285,6 +285,9 @@
|
||||
{
|
||||
BIO_printf(bio_err,"usage: s_client args\n");
|
||||
BIO_printf(bio_err,"\n");
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ BIO_printf(bio_err," -6 - use IPv6\n");
|
||||
+#endif
|
||||
BIO_printf(bio_err," -host host - use -connect instead\n");
|
||||
BIO_printf(bio_err," -port port - use -connect instead\n");
|
||||
BIO_printf(bio_err," -connect host:port - who to connect to (default is %s:%s)\n",SSL_HOST_NAME,PORT_STR);
|
||||
@@ -564,6 +567,7 @@
|
||||
int sbuf_len,sbuf_off;
|
||||
fd_set readfds,writefds;
|
||||
short port=PORT;
|
||||
+ int use_ipv4, use_ipv6;
|
||||
int full_log=1;
|
||||
char *host=SSL_HOST_NAME;
|
||||
char *cert_file=NULL,*key_file=NULL;
|
||||
@@ -609,7 +613,11 @@
|
||||
#endif
|
||||
char *sess_in = NULL;
|
||||
char *sess_out = NULL;
|
||||
- struct sockaddr peer;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ struct sockaddr_storage peer;
|
||||
+#else
|
||||
+ struct sockaddr_in peer;
|
||||
+#endif
|
||||
int peerlen = sizeof(peer);
|
||||
int enable_timeouts = 0 ;
|
||||
long socket_mtu = 0;
|
||||
@@ -630,6 +638,8 @@
|
||||
meth=SSLv2_client_method();
|
||||
#endif
|
||||
|
||||
+ use_ipv4 = 1;
|
||||
+ use_ipv6 = 0;
|
||||
apps_startup();
|
||||
c_Pause=0;
|
||||
c_quiet=0;
|
||||
@@ -951,6 +961,13 @@
|
||||
jpake_secret = *++argv;
|
||||
}
|
||||
#endif
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else if (strcmp(*argv,"-6") == 0)
|
||||
+ {
|
||||
+ use_ipv4 = 0;
|
||||
+ use_ipv6 = 1;
|
||||
+ }
|
||||
+#endif
|
||||
else if (strcmp(*argv,"-use_srtp") == 0)
|
||||
{
|
||||
if (--argc < 1) goto bad;
|
||||
@@ -967,7 +984,7 @@
|
||||
keymatexportlen=atoi(*(++argv));
|
||||
if (keymatexportlen == 0) goto bad;
|
||||
}
|
||||
- else
|
||||
+ else
|
||||
{
|
||||
BIO_printf(bio_err,"unknown option %s\n",*argv);
|
||||
badop=1;
|
||||
@@ -1259,7 +1276,7 @@
|
||||
|
||||
re_start:
|
||||
|
||||
- if (init_client(&s,host,port,socket_type) == 0)
|
||||
+ if (init_client(&s,host,port,socket_type,use_ipv4,use_ipv6) == 0)
|
||||
{
|
||||
BIO_printf(bio_err,"connect:errno=%d\n",get_last_socket_error());
|
||||
SHUTDOWN(s);
|
||||
@@ -1285,7 +1302,7 @@
|
||||
{
|
||||
|
||||
sbio=BIO_new_dgram(s,BIO_NOCLOSE);
|
||||
- if (getsockname(s, &peer, (void *)&peerlen) < 0)
|
||||
+ if (getsockname(s, (struct sockaddr *)&peer, (void *)&peerlen) < 0)
|
||||
{
|
||||
BIO_printf(bio_err, "getsockname:errno=%d\n",
|
||||
get_last_socket_error());
|
||||
@@ -2036,7 +2061,7 @@
|
||||
BIO_printf(bio,"Expansion: %s\n",
|
||||
expansion ? SSL_COMP_get_name(expansion) : "NONE");
|
||||
#endif
|
||||
-
|
||||
+
|
||||
#ifdef SSL_DEBUG
|
||||
{
|
||||
/* Print out local port of connection: useful for debugging */
|
||||
===================================================================
|
||||
RCS file: /v/openssl/cvs/openssl/apps/s_server.c,v
|
||||
retrieving revision 1.136.2.15.2.13
|
||||
diff -u -r1.136.2.15.2.13 s_server.c
|
||||
--- apps/s_server.c 27 Dec 2011 14:23:22 -0000 1.136.2.15.2.13
|
||||
+++ apps/s_server.c 28 Dec 2011 00:28:14 -0000
|
||||
@@ -558,6 +558,10 @@
|
||||
# endif
|
||||
BIO_printf(bio_err," -use_srtp profiles - Offer SRTP key management with a colon-separated profile list");
|
||||
#endif
|
||||
+ BIO_printf(bio_err," -4 - use IPv4 only\n");
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ BIO_printf(bio_err," -6 - use IPv6 only\n");
|
||||
+#endif
|
||||
BIO_printf(bio_err," -keymatexport label - Export keying material using label\n");
|
||||
BIO_printf(bio_err," -keymatexportlen len - Export len bytes of keying material (default 20)\n");
|
||||
}
|
||||
@@ -943,6 +947,7 @@
|
||||
int state=0;
|
||||
const SSL_METHOD *meth=NULL;
|
||||
int socket_type=SOCK_STREAM;
|
||||
+ int use_ipv4, use_ipv6;
|
||||
ENGINE *e=NULL;
|
||||
char *inrand=NULL;
|
||||
int s_cert_format = FORMAT_PEM, s_key_format = FORMAT_PEM;
|
||||
@@ -981,6 +986,12 @@
|
||||
/* #error no SSL version enabled */
|
||||
#endif
|
||||
|
||||
+ use_ipv4 = 1;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ use_ipv6 = 1;
|
||||
+#else
|
||||
+ use_ipv6 = 0;
|
||||
+#endif
|
||||
local_argc=argc;
|
||||
local_argv=argv;
|
||||
|
||||
@@ -1329,6 +1340,18 @@
|
||||
jpake_secret = *(++argv);
|
||||
}
|
||||
#endif
|
||||
+ else if (strcmp(*argv,"-4") == 0)
|
||||
+ {
|
||||
+ use_ipv4 = 1;
|
||||
+ use_ipv6 = 0;
|
||||
+ }
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else if (strcmp(*argv,"-6") == 0)
|
||||
+ {
|
||||
+ use_ipv4 = 0;
|
||||
+ use_ipv6 = 1;
|
||||
+ }
|
||||
+#endif
|
||||
else if (strcmp(*argv,"-use_srtp") == 0)
|
||||
{
|
||||
if (--argc < 1) goto bad;
|
||||
@@ -1884,9 +1907,9 @@
|
||||
BIO_printf(bio_s_out,"ACCEPT\n");
|
||||
(void)BIO_flush(bio_s_out);
|
||||
if (www)
|
||||
- do_server(port,socket_type,&accept_socket,www_body, context);
|
||||
+ do_server(port,socket_type,&accept_socket,www_body, context, use_ipv4, use_ipv6);
|
||||
else
|
||||
- do_server(port,socket_type,&accept_socket,sv_body, context);
|
||||
+ do_server(port,socket_type,&accept_socket,sv_body, context, use_ipv4, use_ipv6);
|
||||
print_stats(bio_s_out,ctx);
|
||||
ret=0;
|
||||
end:
|
||||
Index: apps/s_socket.c
|
||||
===================================================================
|
||||
RCS file: /v/openssl/cvs/openssl/apps/s_socket.c,v
|
||||
retrieving revision 1.43.2.3.2.2
|
||||
diff -u -r1.43.2.3.2.2 s_socket.c
|
||||
--- apps/s_socket.c 2 Dec 2011 14:39:40 -0000 1.43.2.3.2.2
|
||||
+++ apps/s_socket.c 28 Dec 2011 00:28:14 -0000
|
||||
@@ -97,16 +97,16 @@
|
||||
#include "netdb.h"
|
||||
#endif
|
||||
|
||||
-static struct hostent *GetHostByName(char *name);
|
||||
+static struct hostent *GetHostByName(char *name, int domain);
|
||||
#if defined(OPENSSL_SYS_WINDOWS) || (defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK))
|
||||
static void ssl_sock_cleanup(void);
|
||||
#endif
|
||||
static int ssl_sock_init(void);
|
||||
-static int init_client_ip(int *sock,unsigned char ip[4], int port, int type);
|
||||
-static int init_server(int *sock, int port, int type);
|
||||
-static int init_server_long(int *sock, int port,char *ip, int type);
|
||||
+static int init_client_ip(int *sock,unsigned char *ip, int port, int type, int domain);
|
||||
+static int init_server(int *sock, int port, int type, int use_ipv4, int use_ipv6);
|
||||
+static int init_server_long(int *sock, int port,char *ip, int type, int use_ipv4, int use_ipv6);
|
||||
static int do_accept(int acc_sock, int *sock, char **host);
|
||||
-static int host_ip(char *str, unsigned char ip[4]);
|
||||
+static int host_ip(char *str, unsigned char *ip, int domain);
|
||||
|
||||
#ifdef OPENSSL_SYS_WIN16
|
||||
#define SOCKET_PROTOCOL 0 /* more microsoft stupidity */
|
||||
@@ -234,38 +234,76 @@
|
||||
return(1);
|
||||
}
|
||||
|
||||
-int init_client(int *sock, char *host, int port, int type)
|
||||
+int init_client(int *sock, char *host, int port, int type, int use_ipv4, int use_ipv6)
|
||||
{
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ unsigned char ip[16];
|
||||
+#else
|
||||
unsigned char ip[4];
|
||||
+#endif
|
||||
|
||||
- memset(ip, '\0', sizeof ip);
|
||||
- if (!host_ip(host,&(ip[0])))
|
||||
+ if (!use_ipv4 && !use_ipv6)
|
||||
return 0;
|
||||
- return init_client_ip(sock,ip,port,type);
|
||||
- }
|
||||
-
|
||||
-static int init_client_ip(int *sock, unsigned char ip[4], int port, int type)
|
||||
- {
|
||||
- unsigned long addr;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ /* we are fine here */
|
||||
+#else
|
||||
+ if (use_ipv6)
|
||||
+ return 0;
|
||||
+#endif
|
||||
+ if (use_ipv4)
|
||||
+ if (host_ip(host,ip,AF_INET))
|
||||
+ return(init_client_ip(sock,ip,port,type,AF_INET));
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ if (use_ipv6)
|
||||
+ if (host_ip(host,ip,AF_INET6))
|
||||
+ return(init_client_ip(sock,ip,port,type,AF_INET6));
|
||||
+#endif
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+static int init_client_ip(int *sock, unsigned char ip[4], int port, int type, int domain)
|
||||
+ {
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ struct sockaddr_storage them;
|
||||
+ struct sockaddr_in *them_in = (struct sockaddr_in *)&them;
|
||||
+ struct sockaddr_in6 *them_in6 = (struct sockaddr_in6 *)&them;
|
||||
+#else
|
||||
struct sockaddr_in them;
|
||||
+ struct sockaddr_in *them_in = &them;
|
||||
+#endif
|
||||
+ socklen_t addr_len;
|
||||
int s,i;
|
||||
|
||||
if (!ssl_sock_init()) return(0);
|
||||
|
||||
memset((char *)&them,0,sizeof(them));
|
||||
- them.sin_family=AF_INET;
|
||||
- them.sin_port=htons((unsigned short)port);
|
||||
- addr=(unsigned long)
|
||||
- ((unsigned long)ip[0]<<24L)|
|
||||
- ((unsigned long)ip[1]<<16L)|
|
||||
- ((unsigned long)ip[2]<< 8L)|
|
||||
- ((unsigned long)ip[3]);
|
||||
- them.sin_addr.s_addr=htonl(addr);
|
||||
+ if (domain == AF_INET)
|
||||
+ {
|
||||
+ addr_len = (socklen_t)sizeof(struct sockaddr_in);
|
||||
+ them_in->sin_family=AF_INET;
|
||||
+ them_in->sin_port=htons((unsigned short)port);
|
||||
+#ifndef BIT_FIELD_LIMITS
|
||||
+ memcpy(&them_in->sin_addr.s_addr, ip, 4);
|
||||
+#else
|
||||
+ memcpy(&them_in->sin_addr, ip, 4);
|
||||
+#endif
|
||||
+ }
|
||||
+ else
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ {
|
||||
+ addr_len = (socklen_t)sizeof(struct sockaddr_in6);
|
||||
+ them_in6->sin6_family=AF_INET6;
|
||||
+ them_in6->sin6_port=htons((unsigned short)port);
|
||||
+ memcpy(&(them_in6->sin6_addr), ip, sizeof(struct in6_addr));
|
||||
+ }
|
||||
+#else
|
||||
+ return(0);
|
||||
+#endif
|
||||
|
||||
if (type == SOCK_STREAM)
|
||||
- s=socket(AF_INET,SOCK_STREAM,SOCKET_PROTOCOL);
|
||||
+ s=socket(domain,SOCK_STREAM,SOCKET_PROTOCOL);
|
||||
else /* ( type == SOCK_DGRAM) */
|
||||
- s=socket(AF_INET,SOCK_DGRAM,IPPROTO_UDP);
|
||||
+ s=socket(domain,SOCK_DGRAM,IPPROTO_UDP);
|
||||
|
||||
if (s == INVALID_SOCKET) { perror("socket"); return(0); }
|
||||
|
||||
@@ -277,29 +315,27 @@
|
||||
if (i < 0) { perror("keepalive"); return(0); }
|
||||
}
|
||||
#endif
|
||||
-
|
||||
- if (connect(s,(struct sockaddr *)&them,sizeof(them)) == -1)
|
||||
+ if (connect(s,(struct sockaddr *)&them,addr_len) == -1)
|
||||
{ closesocket(s); perror("connect"); return(0); }
|
||||
*sock=s;
|
||||
return(1);
|
||||
}
|
||||
|
||||
-int do_server(int port, int type, int *ret, int (*cb)(char *hostname, int s, unsigned char *context), unsigned char *context)
|
||||
+int do_server(int port, int type, int *ret, int (*cb)(char *hostname, int s, unsigned char *context), unsigned char *context, int use_ipv4, int use_ipv6)
|
||||
{
|
||||
int sock;
|
||||
char *name = NULL;
|
||||
int accept_socket = 0;
|
||||
int i;
|
||||
|
||||
- if (!init_server(&accept_socket,port,type)) return(0);
|
||||
-
|
||||
+ if (!init_server(&accept_socket,port,type, use_ipv4, use_ipv6)) return(0);
|
||||
if (ret != NULL)
|
||||
{
|
||||
*ret=accept_socket;
|
||||
/* return(1);*/
|
||||
}
|
||||
- for (;;)
|
||||
- {
|
||||
+ for (;;)
|
||||
+ {
|
||||
if (type==SOCK_STREAM)
|
||||
{
|
||||
if (do_accept(accept_socket,&sock,&name) == 0)
|
||||
@@ -322,41 +358,88 @@
|
||||
}
|
||||
}
|
||||
|
||||
-static int init_server_long(int *sock, int port, char *ip, int type)
|
||||
+static int init_server_long(int *sock, int port, char *ip, int type, int use_ipv4, int use_ipv6)
|
||||
{
|
||||
int ret=0;
|
||||
+ int domain;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ struct sockaddr_storage server;
|
||||
+ struct sockaddr_in *server_in = (struct sockaddr_in *)&server;
|
||||
+ struct sockaddr_in6 *server_in6 = (struct sockaddr_in6 *)&server;
|
||||
+#else
|
||||
struct sockaddr_in server;
|
||||
+ struct sockaddr_in *server_in = &server;
|
||||
+#endif
|
||||
+ socklen_t addr_len;
|
||||
int s= -1;
|
||||
|
||||
+ if (!use_ipv4 && !use_ipv6)
|
||||
+ goto err;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ /* we are fine here */
|
||||
+#else
|
||||
+ if (use_ipv6)
|
||||
+ goto err;
|
||||
+#endif
|
||||
if (!ssl_sock_init()) return(0);
|
||||
|
||||
- memset((char *)&server,0,sizeof(server));
|
||||
- server.sin_family=AF_INET;
|
||||
- server.sin_port=htons((unsigned short)port);
|
||||
- if (ip == NULL)
|
||||
- server.sin_addr.s_addr=INADDR_ANY;
|
||||
- else
|
||||
-/* Added for T3E, address-of fails on bit field (beckman@acl.lanl.gov) */
|
||||
-#ifndef BIT_FIELD_LIMITS
|
||||
- memcpy(&server.sin_addr.s_addr,ip,4);
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ domain = use_ipv6 ? AF_INET6 : AF_INET;
|
||||
#else
|
||||
- memcpy(&server.sin_addr,ip,4);
|
||||
+ domain = AF_INET;
|
||||
#endif
|
||||
-
|
||||
- if (type == SOCK_STREAM)
|
||||
- s=socket(AF_INET,SOCK_STREAM,SOCKET_PROTOCOL);
|
||||
- else /* type == SOCK_DGRAM */
|
||||
- s=socket(AF_INET, SOCK_DGRAM,IPPROTO_UDP);
|
||||
+ if (type == SOCK_STREAM)
|
||||
+ s=socket(domain,SOCK_STREAM,SOCKET_PROTOCOL);
|
||||
+ else /* type == SOCK_DGRAM */
|
||||
+ s=socket(domain, SOCK_DGRAM,IPPROTO_UDP);
|
||||
|
||||
if (s == INVALID_SOCKET) goto err;
|
||||
#if defined SOL_SOCKET && defined SO_REUSEADDR
|
||||
+ {
|
||||
+ int j = 1;
|
||||
+ setsockopt(s, SOL_SOCKET, SO_REUSEADDR,
|
||||
+ (void *) &j, sizeof j);
|
||||
+ }
|
||||
+#endif
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ if ((use_ipv4 == 0) && (use_ipv6 == 1))
|
||||
{
|
||||
- int j = 1;
|
||||
- setsockopt(s, SOL_SOCKET, SO_REUSEADDR,
|
||||
- (void *) &j, sizeof j);
|
||||
+ const int on = 1;
|
||||
+
|
||||
+ setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
|
||||
+ (const void *) &on, sizeof(int));
|
||||
}
|
||||
#endif
|
||||
- if (bind(s,(struct sockaddr *)&server,sizeof(server)) == -1)
|
||||
+ if (domain == AF_INET)
|
||||
+ {
|
||||
+ addr_len = (socklen_t)sizeof(struct sockaddr_in);
|
||||
+ memset(server_in, 0, sizeof(struct sockaddr_in));
|
||||
+ server_in->sin_family=AF_INET;
|
||||
+ server_in->sin_port = htons((unsigned short)port);
|
||||
+ if (ip == NULL)
|
||||
+ server_in->sin_addr.s_addr = htonl(INADDR_ANY);
|
||||
+ else
|
||||
+/* Added for T3E, address-of fails on bit field (beckman@acl.lanl.gov) */
|
||||
+#ifndef BIT_FIELD_LIMITS
|
||||
+ memcpy(&server_in->sin_addr.s_addr, ip, 4);
|
||||
+#else
|
||||
+ memcpy(&server_in->sin_addr, ip, 4);
|
||||
+#endif
|
||||
+ }
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else
|
||||
+ {
|
||||
+ addr_len = (socklen_t)sizeof(struct sockaddr_in6);
|
||||
+ memset(server_in6, 0, sizeof(struct sockaddr_in6));
|
||||
+ server_in6->sin6_family = AF_INET6;
|
||||
+ server_in6->sin6_port = htons((unsigned short)port);
|
||||
+ if (ip == NULL)
|
||||
+ server_in6->sin6_addr = in6addr_any;
|
||||
+ else
|
||||
+ memcpy(&server_in6->sin6_addr, ip, sizeof(struct in6_addr));
|
||||
+ }
|
||||
+#endif
|
||||
+ if (bind(s, (struct sockaddr *)&server, addr_len) == -1)
|
||||
{
|
||||
#ifndef OPENSSL_SYS_WINDOWS
|
||||
perror("bind");
|
||||
@@ -375,16 +458,23 @@
|
||||
return(ret);
|
||||
}
|
||||
|
||||
-static int init_server(int *sock, int port, int type)
|
||||
+static int init_server(int *sock, int port, int type, int use_ipv4, int use_ipv6)
|
||||
{
|
||||
- return(init_server_long(sock, port, NULL, type));
|
||||
+ return(init_server_long(sock, port, NULL, type, use_ipv4, use_ipv6));
|
||||
}
|
||||
|
||||
static int do_accept(int acc_sock, int *sock, char **host)
|
||||
{
|
||||
int ret;
|
||||
struct hostent *h1,*h2;
|
||||
- static struct sockaddr_in from;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ struct sockaddr_storage from;
|
||||
+ struct sockaddr_in *from_in = (struct sockaddr_in *)&from;
|
||||
+ struct sockaddr_in6 *from_in6 = (struct sockaddr_in6 *)&from;
|
||||
+#else
|
||||
+ struct sockaddr_in from;
|
||||
+ struct sockaddr_in *from_in = &from;
|
||||
+#endif
|
||||
int len;
|
||||
/* struct linger ling; */
|
||||
|
||||
@@ -431,13 +521,23 @@
|
||||
*/
|
||||
|
||||
if (host == NULL) goto end;
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ if (from.ss_family == AF_INET)
|
||||
+#else
|
||||
+ if (from.sin_family == AF_INET)
|
||||
+#endif
|
||||
#ifndef BIT_FIELD_LIMITS
|
||||
- /* I should use WSAAsyncGetHostByName() under windows */
|
||||
- h1=gethostbyaddr((char *)&from.sin_addr.s_addr,
|
||||
- sizeof(from.sin_addr.s_addr),AF_INET);
|
||||
+ /* I should use WSAAsyncGetHostByName() under windows */
|
||||
+ h1=gethostbyaddr((char *)&from_in->sin_addr.s_addr,
|
||||
+ sizeof(from_in->sin_addr.s_addr), AF_INET);
|
||||
#else
|
||||
- h1=gethostbyaddr((char *)&from.sin_addr,
|
||||
- sizeof(struct in_addr),AF_INET);
|
||||
+ h1=gethostbyaddr((char *)&from_in->sin_addr,
|
||||
+ sizeof(struct in_addr), AF_INET);
|
||||
+#endif
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else
|
||||
+ h1=gethostbyaddr((char *)&from_in6->sin6_addr,
|
||||
+ sizeof(struct in6_addr), AF_INET6);
|
||||
#endif
|
||||
if (h1 == NULL)
|
||||
{
|
||||
@@ -454,15 +554,23 @@
|
||||
}
|
||||
BUF_strlcpy(*host,h1->h_name,strlen(h1->h_name)+1);
|
||||
|
||||
- h2=GetHostByName(*host);
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ h2=GetHostByName(*host, from.ss_family);
|
||||
+#else
|
||||
+ h2=GetHostByName(*host, from.sin_family);
|
||||
+#endif
|
||||
if (h2 == NULL)
|
||||
{
|
||||
BIO_printf(bio_err,"gethostbyname failure\n");
|
||||
return(0);
|
||||
}
|
||||
- if (h2->h_addrtype != AF_INET)
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ if (h2->h_addrtype != from.ss_family)
|
||||
+#else
|
||||
+ if (h2->h_addrtype != from.sin_family)
|
||||
+#endif
|
||||
{
|
||||
- BIO_printf(bio_err,"gethostbyname addr is not AF_INET\n");
|
||||
+ BIO_printf(bio_err,"gethostbyname addr address is not correct\n");
|
||||
return(0);
|
||||
}
|
||||
}
|
||||
@@ -477,7 +585,7 @@
|
||||
char *h,*p;
|
||||
|
||||
h=str;
|
||||
- p=strchr(str,':');
|
||||
+ p=strrchr(str,':');
|
||||
if (p == NULL)
|
||||
{
|
||||
BIO_printf(bio_err,"no port defined\n");
|
||||
@@ -485,7 +593,7 @@
|
||||
}
|
||||
*(p++)='\0';
|
||||
|
||||
- if ((ip != NULL) && !host_ip(str,ip))
|
||||
+ if ((ip != NULL) && !host_ip(str,ip,AF_INET))
|
||||
goto err;
|
||||
if (host_ptr != NULL) *host_ptr=h;
|
||||
|
||||
@@ -496,48 +604,58 @@
|
||||
return(0);
|
||||
}
|
||||
|
||||
-static int host_ip(char *str, unsigned char ip[4])
|
||||
+static int host_ip(char *str, unsigned char *ip, int domain)
|
||||
{
|
||||
- unsigned int in[4];
|
||||
+ unsigned int in[4];
|
||||
+ unsigned long l;
|
||||
int i;
|
||||
|
||||
- if (sscanf(str,"%u.%u.%u.%u",&(in[0]),&(in[1]),&(in[2]),&(in[3])) == 4)
|
||||
+ if ((domain == AF_INET) &&
|
||||
+ (sscanf(str,"%u.%u.%u.%u",&(in[0]),&(in[1]),&(in[2]),&(in[3])) == 4))
|
||||
{
|
||||
+
|
||||
for (i=0; i<4; i++)
|
||||
if (in[i] > 255)
|
||||
{
|
||||
BIO_printf(bio_err,"invalid IP address\n");
|
||||
goto err;
|
||||
}
|
||||
- ip[0]=in[0];
|
||||
- ip[1]=in[1];
|
||||
- ip[2]=in[2];
|
||||
- ip[3]=in[3];
|
||||
- }
|
||||
+ l=htonl((in[0]<<24L)|(in[1]<<16L)|(in[2]<<8L)|in[3]);
|
||||
+ memcpy(ip, &l, 4);
|
||||
+ return 1;
|
||||
+ }
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else if ((domain == AF_INET6) &&
|
||||
+ (inet_pton(AF_INET6, str, ip) == 1))
|
||||
+ return 1;
|
||||
+#endif
|
||||
else
|
||||
{ /* do a gethostbyname */
|
||||
struct hostent *he;
|
||||
|
||||
if (!ssl_sock_init()) return(0);
|
||||
|
||||
- he=GetHostByName(str);
|
||||
+ he=GetHostByName(str,domain);
|
||||
if (he == NULL)
|
||||
{
|
||||
BIO_printf(bio_err,"gethostbyname failure\n");
|
||||
goto err;
|
||||
}
|
||||
/* cast to short because of win16 winsock definition */
|
||||
- if ((short)he->h_addrtype != AF_INET)
|
||||
+ if ((short)he->h_addrtype != domain)
|
||||
{
|
||||
- BIO_printf(bio_err,"gethostbyname addr is not AF_INET\n");
|
||||
+ BIO_printf(bio_err,"gethostbyname addr family is not correct\n");
|
||||
return(0);
|
||||
}
|
||||
- ip[0]=he->h_addr_list[0][0];
|
||||
- ip[1]=he->h_addr_list[0][1];
|
||||
- ip[2]=he->h_addr_list[0][2];
|
||||
- ip[3]=he->h_addr_list[0][3];
|
||||
+ if (domain == AF_INET)
|
||||
+ memset(ip, 0, 4);
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else
|
||||
+ memset(ip, 0, 16);
|
||||
+#endif
|
||||
+ memcpy(ip, he->h_addr_list[0], he->h_length);
|
||||
+ return 1;
|
||||
}
|
||||
- return(1);
|
||||
err:
|
||||
return(0);
|
||||
}
|
||||
@@ -574,7 +692,7 @@
|
||||
static unsigned long ghbn_hits=0L;
|
||||
static unsigned long ghbn_miss=0L;
|
||||
|
||||
-static struct hostent *GetHostByName(char *name)
|
||||
+static struct hostent *GetHostByName(char *name, int domain)
|
||||
{
|
||||
struct hostent *ret;
|
||||
int i,lowi=0;
|
||||
@@ -589,14 +707,20 @@
|
||||
}
|
||||
if (ghbn_cache[i].order > 0)
|
||||
{
|
||||
- if (strncmp(name,ghbn_cache[i].name,128) == 0)
|
||||
+ if ((strncmp(name,ghbn_cache[i].name,128) == 0) &&
|
||||
+ (ghbn_cache[i].ent.h_addrtype == domain))
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (i == GHBN_NUM) /* no hit*/
|
||||
{
|
||||
ghbn_miss++;
|
||||
- ret=gethostbyname(name);
|
||||
+ if (domain == AF_INET)
|
||||
+ ret=gethostbyname(name);
|
||||
+#if OPENSSL_USE_IPV6
|
||||
+ else
|
||||
+ ret=gethostbyname2(name, AF_INET6);
|
||||
+#endif
|
||||
if (ret == NULL) return(NULL);
|
||||
/* else add to cache */
|
||||
if(strlen(name) < sizeof ghbn_cache[0].name)
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.570.0.ebuild,v 1.1 2012/03/29 17:40:14 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
MODULE_AUTHOR=MDOOTSON
|
||||
MODULE_VERSION=0.57
|
||||
inherit wxwidgets perl-module
|
||||
|
||||
DESCRIPTION="Building, finding and using wxWidgets binaries"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
x11-libs/wxGTK:2.9[X,tiff]
|
||||
>=x11-libs/wxGTK-2.8.11.0:2.8[X,tiff]
|
||||
)
|
||||
>=virtual/perl-Module-Pluggable-3.1-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-CBuilder-0.24
|
||||
virtual/perl-Module-Build
|
||||
test? ( dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage )"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1,4 @@
|
||||
DIST Alien-wxWidgets-0.53.tar.gz 657644 RMD160 5458be838a45fca678887f53c17b0d0de4fc0ebc SHA1 713fb547d10270a61ca229bd2911394e40b8310f SHA256 9d723c5e87f368153522a773c1fa159b9f9ec1ec1e6b012ba4733c02695d4d7a
|
||||
DIST Alien-wxWidgets-0.55.tar.gz 690913 RMD160 a7a329e5d83ce969261941d7d90e6692430e480d SHA1 ba266f6cc119d54eb44b8e4136d562bd8c7175a0 SHA256 6ea32b1819a48c3761d60f37ad73f5ba8cff055a14912adb9e9f2dc35c3a23e3
|
||||
DIST Alien-wxWidgets-0.56.tar.gz 660703 RMD160 5314267f5c9833eb070f887565cac9ff7ca6abc1 SHA1 616d160ac55df72122c6f8ec168ac67a4f120a2b SHA256 43c6f55b9bc4ade1953730b8b0446de922ca09f3d3cec781d11b3b6a4be7b27b
|
||||
DIST Alien-wxWidgets-0.57.tar.gz 662768 RMD160 4d1a8c92ae92fc97deaa1e8587bcdc55b5890e5b SHA1 b8ca6243089a58c725069a67b597440082282828 SHA256 cce39fb444b47808d3fd2fb9e1928ff63784be5ab4b4974655b5a0ad86b5352b
|
||||
|
@ -0,0 +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/Email-Valid/Email-Valid-0.190.0.ebuild,v 1.1 2012/03/29 18:08:27 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=RJBS
|
||||
MODULE_VERSION=0.190
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Check validity of Internet email addresses."
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/MailTools
|
||||
"
|
||||
DEPEND="
|
||||
test? ( ${RDEPEND}
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)"
|
||||
|
||||
SRC_TEST="do"
|
||||
PATCHES=( "${FILESDIR}/0.185-disable-online-test.patch" )
|
@ -1,3 +1,4 @@
|
||||
DIST Email-Valid-0.184.tar.gz 17958 RMD160 b78d58f96c1b063c3adf6681827cb986478f0aaf SHA1 a6a5810393f34bb9fdcb0afb1c91bc975666ac99 SHA256 ad819386a1199b7b7be462e9be063438b0289e7647dbba4b4b8569f993588f2d
|
||||
DIST Email-Valid-0.187.tar.gz 19372 RMD160 314697ac0475bd69b67f8afff3ca7b24a2ca3613 SHA1 fce25bdb946c6b526639f334d3db2216330a27db SHA256 37293c5e403a86cb2cb9eeb8851108f55ea12c09ca0a728c07deba95c2656c14
|
||||
DIST Email-Valid-0.188.tar.gz 19459 RMD160 63e8736c3f7789e866f4b85c1def3ea5d71a8874 SHA1 de8da1925e7be7c4f4bc1c55aa4e195ed67ba361 SHA256 501ceee323f0f3a5da4df9ba31af3b59d9fb2dfb89dc3e9594ac3db32195789c
|
||||
DIST Email-Valid-0.190.tar.gz 19617 RMD160 399257a268191bcafddfe9ece6d56dd3ac7556a2 SHA1 7e185f8e8851b9b195f8a2259d68ad4db6a5fce1 SHA256 26a8d0e3fcf81ee16078a0d893c7a974a79ed012b5d7feac28fa12fdb9639ebb
|
||||
|
@ -1 +1,2 @@
|
||||
DIST MooseX-Types-Path-Class-0.05.tar.gz 15313 RMD160 0d2aa7eb0ad7a7c5db24a786a1ffee2d547c969a SHA1 43dc480d322d721b333e1b12c7a1b8d110250845 SHA256 a80c5dc845a38867242edd2668db7ee8baa6126cd284b666ce2ed26fce30d5cd
|
||||
DIST MooseX-Types-Path-Class-0.06.tar.gz 10536 RMD160 32034559eef7fe9274958bd1df6ef31ccf2b6b04 SHA1 66d4abeddb269ee839418357677c0c0ec180923c SHA256 ef107415831672a76f6423668f27dc23614e2b4848dbc37854dadc6bb2419c0a
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MooseX-Types-Path-Class/MooseX-Types-Path-Class-0.60.0.ebuild,v 1.1 2012/03/29 18:05:08 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=THEPLER
|
||||
MODULE_VERSION=0.06
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A Path::Class type library for Moose"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|| ( >=dev-perl/Moose-1.990 dev-perl/Class-MOP )
|
||||
>=dev-perl/Moose-0.390.0
|
||||
>=dev-perl/MooseX-Types-0.40.0
|
||||
>=dev-perl/Path-Class-0.160.0
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1 +1,2 @@
|
||||
DIST OOTools-2.21.tar.gz 24021 RMD160 1c67e99d066a68a9198cac8bb4f53560c2b9e23f SHA1 5ea6c6ed3ac66634b6883da1545b7f7f46a56ba8 SHA256 2f7fa4200c9ff6cb7c7464bda039a6bd94a7c8b2bb1433f6face01d6a17091c6
|
||||
DIST OOTools-2.3.tar.gz 34416 RMD160 d0ec7436f2f0e4eb5bfb0aea4f23098e9358ee08 SHA1 a6c8a3a0569659fe64187fe585f796847c409a11 SHA256 563a1d2047946ef86fb39366efbad9dd771002bf88f64c28a98d99f29b7eada9
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/OOTools/OOTools-2.300.0.ebuild,v 1.1 2012/03/29 17:53:23 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=SKNPP
|
||||
MODULE_VERSION=2.3
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Pragma to implement lvalue accessors with options"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
virtual/perl-Module-Build
|
||||
"
|
||||
|
||||
SRC_TEST=do
|
@ -1,2 +1,3 @@
|
||||
DIST URI-1.55.tar.gz 80410 RMD160 862061e0b2a2d293d684c5c772649e6761201e4d SHA1 938b4e93804f9cf02b1ac3721f54bd5f267fbfc9 SHA256 34ece72deedebfe7d52da90990e49d79e7c62319837def69ed943316bfb74291
|
||||
DIST URI-1.59.tar.gz 81074 RMD160 3b2923d0831f8e9824360121e9e2e70370dc0c5c SHA1 20749c66e95f21c6046d882a74e62cdd17c7c97b SHA256 cb88d29b589db8d2adbc4713fd082284cba77883488717375f011bbd13b5cac6
|
||||
DIST URI-1.60.tar.gz 81196 RMD160 24afb2202cae821cfe1499056b289b81a5d62f24 SHA1 940315985af24b9f4bb5a9761b1e2bbe6c1d0df3 SHA256 1f92d3dc64acb8845e9917c945e22b9a5275aeb9ff924eb7873c3b7a5c0d2377
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/URI/URI-1.600.0.ebuild,v 1.1 2012/03/29 17:43:53 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=GAAS
|
||||
MODULE_VERSION=1.60
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A URI Perl Module"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/perl-MIME-Base64"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST=no # see ChangeLog
|
||||
|
||||
mydoc="rfc2396.txt"
|
@ -1 +1,2 @@
|
||||
DIST Wx-Perl-ProcessStream-0.30.tar.gz 15651 RMD160 337af13de9d7cab05b680676ae35f0b523dd76c8 SHA1 8995e9dd55e0d0730cd6e792e7420b8b391fa7d9 SHA256 80ea8a86dfc05e6976a53acef852589d1b704f3bda0700fc20863042d02608e5
|
||||
DIST Wx-Perl-ProcessStream-0.32.tar.gz 15781 RMD160 f130b56b8a8f08b577b0a7a56cbc0574ca402d92 SHA1 d1b0b2f08e90a6558d5eb4c99910204a299d107c SHA256 641fdb39d6f9c7376f32a1376dcb6cfd6cdc90d77754ae09d7c82f2daf872fc3
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Wx-Perl-ProcessStream/Wx-Perl-ProcessStream-0.320.0.ebuild,v 1.1 2012/03/29 17:45:40 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
MODULE_AUTHOR=MDOOTSON
|
||||
MODULE_VERSION=0.32
|
||||
inherit wxwidgets perl-module
|
||||
|
||||
DESCRIPTION="access IO of external processes via events"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/wxGTK:2.8
|
||||
>=dev-perl/wxperl-0.97.01"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
#SRC_TEST=do
|
@ -1,3 +1,4 @@
|
||||
DIST Wx-Scintilla-0.34-patches.tar.gz 488 RMD160 5210c1df71a5c56220df3276398fc546e6b6fd01 SHA1 5b6e2f5859826d5ea56315f2dde85091f40f769c SHA256 3ca51b083080d0e1943c24db04251b1a1a8961ded91d18935f850e0004152bd4
|
||||
DIST Wx-Scintilla-0.36.tar.gz 829958 RMD160 e8b4cf83f824a6d51daa268487cd712e46888145 SHA1 b2663a50d2b8d458d5ae09e10873431b84679d3b SHA256 9c8414b198fde3ef6aef37334567a1ec669ff2ad4d8337e950301518c23362dd
|
||||
DIST Wx-Scintilla-0.38.tar.gz 847864 RMD160 875680cf62dc7bd8a4616b2ac65fdda53855a5b5 SHA1 6537983ce22140a0e18c9f94e359d3784ca64f3e SHA256 b04d4a4e2264e10588fc7e391e76725be026f938893ce80f42eca20d8ac8b89f
|
||||
DIST Wx-Scintilla-0.3801.tar.gz 847738 RMD160 d202376b1b12239ac444d44a5006026e68c7e716 SHA1 37c9f003db0491ccbc2f68fa42129c00bd7f9189 SHA256 97283dc197c866050fc35fcdea347e2ce82c277727770a9ad097bdcc346eddde
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Wx-Scintilla/Wx-Scintilla-0.380.100.ebuild,v 1.1 2012/03/29 17:41:21 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
#VIRTUALX_REQUIRED=test
|
||||
#inherit virtualx
|
||||
MODULE_AUTHOR=AZAWAWI
|
||||
MODULE_VERSION=0.3801
|
||||
inherit wxwidgets perl-module
|
||||
|
||||
DESCRIPTION="Scintilla source code editing component for wxWidgets"
|
||||
SRC_URI+=" http://dev.gentoo.org/~tove/distfiles/dev-perl/${PN}-0.34-patches.tar.gz"
|
||||
|
||||
LICENSE+=" Scintilla"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Alien-wxWidgets
|
||||
dev-perl/wxperl
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/ExtUtils-XSpp-0.160.200
|
||||
>=virtual/perl-Module-Build-0.360.0
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}"/${PN}-patches/0.34-flags.patch
|
||||
)
|
||||
|
||||
#SRC_TEST=do
|
||||
#src_test() {
|
||||
# VIRTUALX_COMMAND="./Build" virtualmake test || die
|
||||
#}
|
@ -1,3 +1,4 @@
|
||||
DIST Wx-0.9902.tar.gz 406639 RMD160 5449d549af27fd966ac552aaec7b3cea4632a17b SHA1 eed36c9e7e9064519dca7d0aec57542060413c81 SHA256 ea4982993de1a188d4bc130d785f10faa0fda4c8521b08b3768915d0ed8b7ebf
|
||||
DIST Wx-0.9904.tar.gz 407674 RMD160 cf1570071ccc3aa5d547d820abe76e6a1f7f88a1 SHA1 7065f32041797c4c1e75c28ab0807f3b3ac35eba SHA256 dc38d3c427b54c94c4930bcff92904992e01b1628ebf776646d9860f2bdf4ece
|
||||
DIST Wx-0.9905.tar.gz 448703 RMD160 ef7a02d26d8ccfdd214672307115c0d9c9195de3 SHA1 0d1953e320585962d08bd87d8903ce94f0675e3b SHA256 0471a967fd268ef20068fdfeca6f8eb301733566923835f8a2ec6bc854060c9d
|
||||
DIST Wx-0.9906.tar.gz 457153 RMD160 0f194da78cbd9eadfbbad77b0f5fa9fd93fcc3c6 SHA1 cc701e593a803a6aa64fbd5a0d2edcdaeeb61967 SHA256 ccac5165e833fede356e4c46d981957d7f292f418cbd351f931678229c3125fe
|
||||
|
@ -0,0 +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/wxperl/wxperl-0.990.600.ebuild,v 1.1 2012/03/29 17:40:34 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=Wx
|
||||
WX_GTK_VER="2.8"
|
||||
MODULE_AUTHOR=MDOOTSON
|
||||
MODULE_VERSION=0.9906
|
||||
inherit wxwidgets perl-module
|
||||
|
||||
DESCRIPTION="Perl bindings for wxGTK"
|
||||
HOMEPAGE="http://wxperl.sourceforge.net/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Alien-wxWidgets-0.25
|
||||
>=virtual/perl-File-Spec-0.82"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-ParseXS-0.22.03
|
||||
>=dev-perl/ExtUtils-XSpp-0.160.200"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTTP_Client/PEAR-HTTP_Client-1.2.1.ebuild,v 1.5 2012/03/25 17:02:01 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTTP_Client/PEAR-HTTP_Client-1.2.1.ebuild,v 1.6 2012/03/29 15:09:27 jer Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides functionality to perform multiple HTTP requests and process their results."
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
RDEPEND=">=dev-php/PEAR-HTTP_Request-1.2"
|
||||
|
@ -1 +1,2 @@
|
||||
DIST meld3-0.6.7.tar.gz 36765 RMD160 beb006f113026e7fa880aeffedc1b12b5a646111 SHA1 aec171f40390518073c846b791fa091543aa5a27 SHA256 851de91432341ca6434b04977a9b8c61e3450541e2906bf9bf22478328f9a24a
|
||||
DIST meld3-0.6.8.tar.gz 40612 RMD160 e0cdb4370e82d814abaa197725534e82a34141f3 SHA1 96c38084a0dfa9871df326b8e1415c4a5b31bb2b SHA256 a425e9a9e0d9e3d69a2f5c1451d582f1222a7be94a957ca1e5301fd4045b5dbe
|
||||
|
@ -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-python/meld3/meld3-0.6.8.ebuild,v 1.1 2012/03/29 10:41:47 djc Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="meld3 is an HTML/XML templating engine."
|
||||
HOMEPAGE="http://pypi.python.org/pypi/meld3"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt TODO.txt"
|
||||
|
||||
src_test() {
|
||||
cd meld3
|
||||
testing() {
|
||||
"$(PYTHON)" test_meld3.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pycxx-6.2.3.tar.gz 140787 RMD160 8f39efc0dc86f75a394172be232b10f5aead1368 SHA1 12245dd18e3bd1d5dc4190d01eba6dd31ff39c07 SHA256 74b89aec29f3fc40ce08b402f05bb6955f6546a796d2aeb3193737a268f6a4f2
|
||||
DIST pycxx-6.2.4.tar.gz 140844 RMD160 65f965b8c058542035adb053a11af1c742b87474 SHA1 5a08f50b24535cb109e106b44d50669e7739b329 SHA256 362d8eec746abca8436299f4926fbafd9ce2faacca39eaa90f53ffc383b41f18
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycxx/pycxx-6.2.4.ebuild,v 1.1 2012/03/29 10:52:46 djc Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython"
|
||||
|
||||
inherit eutils distutils
|
||||
|
||||
DESCRIPTION="Set of facilities to extend Python with C++"
|
||||
HOMEPAGE="http://cxx.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
PYTHON_MODNAME="CXX"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-6.2.3-python-3.patch"
|
||||
epatch "${FILESDIR}/${PN}-6.2.3-installation.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r Doc/ || die "dohtml failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples/python-2
|
||||
dodoc Demo/Python2/* || die "dodoc failed"
|
||||
docinto examples/python-3
|
||||
dodoc Demo/Python3/* || die "dodoc failed"
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST simplejson-2.3.0.tar.gz 50034 RMD160 0f1a8ccff3d034d434a8458e2f3c296624932a89 SHA1 70db51ccb0861acd34523be22a297026a61f68fc SHA256 dc026631646d32fda40be754484c67918617db37f517547462aa58ae5d159d34
|
||||
DIST simplejson-2.3.2.tar.gz 50407 RMD160 bfa3d790e5485b2edf33ebebd6952be90b4db868 SHA1 065cc782f0dade510596e565ea7d0e83b0e8b211 SHA256 276c1837be470a21178f9e70b0688189e1a4e2d09ea85cef35078b929b605428
|
||||
DIST simplejson-2.3.3.tar.gz 50970 RMD160 d2982ad7bfc7d619eff72d5e3a2de61a6838802f SHA1 45d470c8d08d407721f30e32007f27a0f157bcf8 SHA256 fd9d8625595d74f644186903618dfba00ac6cee34edd02310eadcdb444b04f70
|
||||
DIST simplejson-2.4.0.tar.gz 51880 RMD160 8e069b7e024c05ead2b8f33ca372965d07719ea3 SHA1 2b13200892cbb4edd8083a465829732051877791 SHA256 ac0f5122a213ef35c3af6464a2885aef5b56a4954f003eac767dd8e077949885
|
||||
|
@ -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-python/simplejson/simplejson-2.4.0.ebuild,v 1.1 2012/03/29 08:38:35 djc Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python"
|
||||
HOMEPAGE="http://undefined.org/python/#simplejson http://pypi.python.org/pypi/simplejson"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
if [[ "$(python_get_implementation)" != "Jython" ]]; then
|
||||
ln -fs ../$(ls -d build-${PYTHON_ABI}/lib*)/simplejson/_speedups.so simplejson/_speedups.so || return 1
|
||||
fi
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" simplejson/tests/__init__.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/simplejson/tests"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST Sphinx-0.6.7.tar.gz 974579 RMD160 824dd7b7f3df61af0e639a19be1bf0080749e12c SHA1 d333163317ba5a26653ffe439f8ce142ce181ff9 SHA256 3127fe8be43d8150d02f0ae81d3ea82815325c161653d39d08f5d283f4588577
|
||||
DIST Sphinx-1.0.7.tar.gz 2285875 RMD160 e3c622dec2a971158bfe8bc7faee493f722199c8 SHA1 b231438a51a84d53679a226ab2036ec62bb14fd5 SHA256 80d62f3f7913c3322bf279ec26bfb12c1ce70404b00f4c87dc3ac190d150b0ab
|
||||
DIST Sphinx-1.1.2.tar.gz 2624636 RMD160 0cf4f8d799b239d54248b9abf8b40680086b7320 SHA1 92f422474e43345ab69dedceeedfd7d18c55da2d SHA256 cf66ee61eef61b7c478907282bddcdd5e04eebd69a00a2bb93881427938fe688
|
||||
DIST Sphinx-1.1.tar.gz 2628151 RMD160 4e42513cb557d82b1773b6b50a057f8d6e968545 SHA1 37377006a5cd00bb9765d4e2c215a4f388cffb66 SHA256 bd1971d851094eb105f6d8f952afbb969889171619eecdf641256cfc368a67b6
|
||||
DIST Sphinx-1.1.3.tar.gz 2632059 RMD160 5d4fe35a3d22d31965692d427421fde02b508a38 SHA1 6beb30f18ffac3de7689b7fd63e9a8a7d9c8df3a SHA256 34dc95b70a2b07a61b5d61034c34b05f82514aab54ad27adedb49cee911bb8e9
|
||||
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-0.6.7.ebuild,v 1.8 2012/03/10 17:50:10 jlec Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_PN="Sphinx"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python documentation generator"
|
||||
HOMEPAGE="http://sphinx.pocoo.org/ http://pypi.python.org/pypi/Sphinx"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc latex"
|
||||
|
||||
RDEPEND=">=dev-python/pygments-0.8
|
||||
>=dev-python/jinja-2.1
|
||||
>=dev-python/docutils-0.4
|
||||
latex? ( dev-texlive/texlive-latexextra )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS="CHANGES"
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
cd doc
|
||||
einfo "Generation of documentation"
|
||||
PYTHONPATH="../" emake SPHINXBUILD="$(PYTHON -f) ../sphinx-build.py" html || die "Generation of documentation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -A txt -r doc/_build/html/* || die "dohtml failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
# Generating the Grammar pickle to avoid on the fly generation causing sandbox violations (bug #266015)
|
||||
generation_of_grammar_pickle() {
|
||||
"$(PYTHON)" -c "from sphinx.pycode.pgen2.driver import load_grammar; load_grammar('${ROOT%/}${EPREFIX}$(python_get_sitedir)/sphinx/pycode/Grammar.txt')" || die "Generation of grammar pickle failed"
|
||||
}
|
||||
python_execute_function --action-message 'Generation of Grammar pickle with Python ${PYTHON_ABI}...' generation_of_grammar_pickle
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
distutils_pkg_postrm
|
||||
|
||||
deletion_of_grammar_pickle() {
|
||||
rm "${ROOT%/}${EPREFIX}$(python_get_sitedir)/sphinx/pycode"/Grammar*.pickle
|
||||
}
|
||||
python_execute_function --action-message 'Deletion of Grammar pickle with Python ${PYTHON_ABI}...' deletion_of_grammar_pickle
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-1.1.ebuild,v 1.5 2012/03/10 17:50:10 jlec Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-1.1.3.ebuild,v 1.1 2012/03/29 08:56:46 djc Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
@ -1,3 +1,3 @@
|
||||
DIST buildbot-slave-0.8.3.tar.gz 86438 RMD160 d556acd364e98d8677c484729211947c3087870f SHA1 f42d29ac0d3d630f277f13e39296578abb1d16ac SHA256 e0d83c5894495b82c0b702480653ea712e5288f644a0f0661099e66ba64ed56c
|
||||
DIST buildbot-slave-0.8.4.tar.gz 97185 RMD160 6ec7a5ab941cf2dfa79efb7e719978a20ad316f9 SHA1 6e14268e9b5e14605cce6cf413926e8f54e74034 SHA256 392ea68373d6e3000c4948c53f3dd157fa4ac491a1ca8a54dba75aca6f361dbb
|
||||
DIST buildbot-slave-0.8.5.tar.gz 98133 RMD160 f3247de750772c6e0c1137063388dd96efa1542e SHA1 b30189a5a9e773f430c2794dd73bdc74388a1627 SHA256 637c23fcdedbc282b596c2ce652b74be96aa9788c39d9b69f903bdb8c2ede217
|
||||
DIST buildbot-slave-0.8.6.tar.gz 101246 RMD160 0930d6907ecb0e8a506c48bca6669751d44dd7d7 SHA1 a09ecc95b1a3906f761d1667611b3dd187fe4fef SHA256 d3d4646e846e3d74dd01c079913c613cdb9442dd88d2d32895201342806232fb
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot-slave/buildbot-slave-0.8.4.ebuild,v 1.1 2011/09/03 19:39:25 djc Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot-slave/buildbot-slave-0.8.6.ebuild,v 1.1 2012/03/29 09:34:16 djc Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
@ -1,3 +1,3 @@
|
||||
DIST buildbot-0.8.3p1.tar.gz 4068355 RMD160 737e4863c371d3e9d30063564ae62e35eb70a856 SHA1 7b0c2d3a7c2acc66c3c95fc7a92acb2bc2627409 SHA256 0a49d35a75524a54dbbb875730fdf7abd8b96cae160af0457b4f5239b1fefa37
|
||||
DIST buildbot-0.8.4p2.tar.gz 4555528 RMD160 063855eef00fc91094d022f7e09681566e7bf75e SHA1 475a077133f3df37ccddc9275989a03c75f14229 SHA256 1db52ef162f16965151be6f6641eb6ee03656041679182c8749e96f17393e8fe
|
||||
DIST buildbot-0.8.5.tar.gz 4389306 RMD160 595f3ed45f0e5a4500a102027ef71dc376a82894 SHA1 88329d295f46f9b60a3d346c4a04a58b56fa2083 SHA256 9b2f761447db13e4068870567b36732d419d8f72f452b450c61089db98558a9c
|
||||
DIST buildbot-0.8.6.tar.gz 4455394 RMD160 c25917ccfc875db022daf6b66106d7412667134e SHA1 e5f8849e13612d66e4d8271ecb6c778af3d8538e SHA256 9e7673bd79e57ff105e0916b9751aafda59cc2a8765c929710ef8e75e1162893
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/buildbot-0.8.4_p2.ebuild,v 1.5 2012/01/19 19:53:14 klausman Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/buildbot-0.8.6.ebuild,v 1.1 2012/03/29 09:29:52 djc Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/thunderbird-11.0-r1.ebuild,v 1.2 2012/03/28 01:01:40 anarchy Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/thunderbird-11.0.1.ebuild,v 1.1 2012/03/30 00:26:25 anarchy Exp $
|
||||
|
||||
EAPI="3"
|
||||
WANT_AUTOCONF="2.1"
|
@ -1,3 +1,4 @@
|
||||
DIST shotwell-0.11.3.tar.bz2 1570881 RMD160 d28fa6e7683ee1a747e5ec82d3589ccd21b1efd7 SHA1 da98a5fab6d94f97e902f111ce17001b74d45772 SHA256 ff6561562b7673febad1d520d48c70b4eb5b6bd5ff916f8a14d8ce64677f0374
|
||||
DIST shotwell-0.11.5.tar.bz2 1570803 RMD160 00bc024d323bf4285972f67f157fbce8709dbe94 SHA1 7ca5bd82b0c39ba6f47e40c24b4a521c0729db1b SHA256 8432628f6130aef64b096924cb3ec821148b9dd89b51a8fe9b74ce1efa03364a
|
||||
DIST shotwell-0.11.6.tar.bz2 1570860 RMD160 d3a93a90f5feea65a630f8f30585a3ebbe558635 SHA1 2dd2b46dc56f6562522f75bd79eefdc80cbb2a49 SHA256 fab71137f336536565ea18b94591eb81c4ac696f627fe3d5ff361c9a55397af8
|
||||
DIST shotwell-0.12.1.tar.bz2 1625242 RMD160 059b27009d260982140d8240360a23171c06b5f3 SHA1 46182e51d0e478b028aecab47958bb2d50a68fd3 SHA256 7dad36a422729b42777f01742a40624ccae89b0057078d295fdb7b8ec8af4632
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/shotwell-0.12.1.ebuild,v 1.2 2012/03/29 15:59:06 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
GCONF_DEBUG="no"
|
||||
inherit gnome2 versionator eutils multilib toolchain-funcs
|
||||
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="Open source photo manager for GNOME"
|
||||
HOMEPAGE="http://www.yorba.org/shotwell/"
|
||||
SRC_URI="http://www.yorba.org/download/${PN}/${MY_PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-db/sqlite-3.5.9:3
|
||||
>=dev-libs/dbus-glib-0.80
|
||||
>=dev-libs/glib-2.30.0:2
|
||||
>=dev-libs/json-glib-0.7.6
|
||||
>=dev-libs/libgee-0.5.0:0
|
||||
>=dev-libs/libunique-3.0.0:3
|
||||
>=dev-libs/libxml2-2.6.32:2
|
||||
>=media-libs/gexiv2-0.3.92
|
||||
media-libs/gst-plugins-base:0.10
|
||||
media-libs/gstreamer:0.10
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libexif-0.6.16
|
||||
>=media-libs/libgphoto2-2.4.2
|
||||
>=media-libs/libraw-0.14.0
|
||||
>=net-libs/libsoup-2.26.0:2.4
|
||||
net-libs/rest:0.7
|
||||
net-libs/webkit-gtk:3
|
||||
|| ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] )
|
||||
x11-libs/gtk+:3"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/vala:0.16"
|
||||
|
||||
DOCS=( AUTHORS MAINTAINERS NEWS README THANKS )
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC
|
||||
G2CONF="${G2CONF}
|
||||
--disable-schemas-compile
|
||||
--disable-desktop-update
|
||||
--disable-icon-update
|
||||
--lib=$(get_libdir)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e 's|CFLAGS :|CFLAGS +|g' \
|
||||
-i plugins/Makefile.plugin.mk || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VALAC="$(type -p valac-0.16)"
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/exiftool/exiftool-8.850.0.ebuild,v 1.1 2012/03/29 17:56:57 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=Image-ExifTool
|
||||
MODULE_AUTHOR=EXIFTOOL
|
||||
MODULE_VERSION=8.85
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Read and write meta information in image, audio and video files"
|
||||
HOMEPAGE="http://www.sno.phy.queensu.ca/~phil/exiftool/ ${HOMEPAGE}"
|
||||
SRC_URI+=" http://www.sno.phy.queensu.ca/~phil/exiftool/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
dohtml -r html/
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libgexiv2-0.1.0.tar.bz2 23971 RMD160 8f8ffb19b58772679437df072153eb26101345b1 SHA1 31d14d35189e128f3c72e51cf627fa462dc60dd9 SHA256 0efddbda2e103f0704f57b06571cacded7401323480082107ee5cde3f1d61f6f
|
||||
DIST libgexiv2-0.2.1.tar.bz2 24419 RMD160 4882c83a2646c3dc8f4ac0a885e76129f1ddc3b9 SHA1 b7ab9c35ed221dc18ab4493c51b7b9aac936867f SHA256 6279becd711de669606a95d6a2198000ef3909611b19fdfd9478a0cf265243da
|
||||
DIST libgexiv2-0.3.1.tar.bz2 25083 RMD160 562f8474c27353eb285a3670e2ba1b8005282875 SHA1 828894bb4bcb4625820b8c0c468417e9cd8c5c2f SHA256 27cc4247cb5d6513c235a2a0fe4e3a5a35fc7010d37cb9fe117001c941b139ae
|
||||
DIST libgexiv2-0.4.1.tar.bz2 25484 RMD160 5a13ef1646996a6e58956be34e1ec8b34b6390c1 SHA1 b74cd19a4cf4a4a32a938ecb267974c29e630dc2 SHA256 c51e8bae7e53866b474b51e4eef19b98385fbeaf2edac2aefd7d24ed3f7d9d6e
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/gexiv2/gexiv2-0.4.1.ebuild,v 1.1 2012/03/29 07:03:21 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit versionator multilib toolchain-funcs
|
||||
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
|
||||
DESCRIPTION="gexiv2 is a GObject-based wrapper around the Exiv2 library."
|
||||
HOMEPAGE="http://trac.yorba.org/wiki/gexiv2/"
|
||||
SRC_URI="http://www.yorba.org/download/${PN}/${MY_PV}/lib${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
>=media-gfx/exiv2-0.21"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/lib${P}
|
||||
|
||||
src_prepare() {
|
||||
tc-export CXX
|
||||
sed -e 's:CFLAGS:CXXFLAGS:g' -i Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix=/usr || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIB="$(get_libdir)" install
|
||||
dodoc AUTHORS NEWS README THANKS
|
||||
|
||||
use static-libs || find "${D}" \( -name '*.a' -or -name '*.la' \) -delete
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libmpeg3-1.7-gentoo.tar.bz2 5625 RMD160 27c6e0d5afdc5a2198d6d2968913ec7748058157 SHA1 38d925f104c7674446dd19016726293f663aa3fe SHA256 6dde60e78776e7a3c761218e35afc6432a9289eb1ae18c4e4e7f85f67d63572d
|
||||
DIST libmpeg3-1.7-src.tar.bz2 320897 RMD160 f1989c4b52d97ee29833edc79efd731b6219f126 SHA1 577da1ddf77f1e1fcd1deb69829eec3567daed36 SHA256 b9e840ab489fd57860d305cdfb43d2c25fbb01105c4db4e16f09122727ee052d
|
||||
DIST libmpeg3-1.8-src.tar.bz2 2452350 RMD160 bc01d72b1e1b3e91ff206bae7a314b939c44b192 SHA1 dae3fc1d68533e71cb9f77adf124bfbfb4e13ae6 SHA256 656f50bef752463af06c6b131f67efef30a34978499e1fdee30e97cac1dea3c4
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.8.ebuild,v 1.1 2012/03/29 10:54:50 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="An mpeg library for linux"
|
||||
HOMEPAGE="http://heroinewarrior.com/libmpeg3.php"
|
||||
SRC_URI="mirror://sourceforge/heroines/${P}-src.tar.bz2
|
||||
mirror://gentoo/${PN}-1.7-gentoo.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
IUSE="mmx"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
virtual/jpeg
|
||||
media-libs/a52dec"
|
||||
DEPEND="${RDEPEND}
|
||||
mmx? ( dev-lang/nasm )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}"/${PN}-1.7-mpeg3split.patch
|
||||
epatch "${WORKDIR}"/${PN}-1.7-textrel.patch
|
||||
epatch "${WORKDIR}"/${PN}-1.7-gnustack.patch
|
||||
epatch "${WORKDIR}"/${PN}-1.7-a52.patch
|
||||
epatch "${WORKDIR}"/${PN}-1.7-all_gcc4.patch
|
||||
epatch "${WORKDIR}"/${PN}-1.7-all_pthread.patch
|
||||
|
||||
cp -rf "${WORKDIR}"/1.7/* .
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
#disabling css since it's a fake one.
|
||||
#One can find in the sources this message :
|
||||
# Stubs for deCSS which can't be distributed in source form
|
||||
|
||||
econf \
|
||||
$(use_enable mmx) \
|
||||
--disable-css
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dohtml -r docs
|
||||
# This is a workaround, it wants to rebuild
|
||||
# everything if the headers have changed
|
||||
# So we patch them after install...
|
||||
cd "${ED}/usr/include/libmpeg3"
|
||||
# This patch patches the .h files that get installed into /usr/include
|
||||
# to show the correct include syntax '<>' instead of '""' This patch
|
||||
# was also generated using info from SF's src.rpm
|
||||
epatch "${WORKDIR}"/gentoo-p2.patch
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f '{}' +
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue