parent
ef35e4801c
commit
d91c5ce37a
@ -1 +1,2 @@
|
||||
DIST dvdisaster-0.72.2.tar.bz2 4145193 RMD160 727586d5e9a7bc0c2b0137786b8cd62a3a3b584e SHA1 f560990e2047ecf0be50c425262046828399fbc3 SHA256 62d00c399c99a3bba493405174aeb96bd8c2d428d01d24b46858a55531b725ae
|
||||
DIST dvdisaster_0.72.4.orig.tar.bz2 5097738 RMD160 a134fa0adf04dc2a921acfccf0c10292112a28fa SHA1 2b47fb5a5535d90641f24a599cd8ae8ffd86b972 SHA256 444763bc40bcc8c396ecd7af0d5d6dd8c458009d4ed62af74ef54074541aa05e
|
||||
|
@ -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-cdr/dvdisaster/dvdisaster-0.72.4.ebuild,v 1.2 2012/04/26 20:21:40 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils gnome2-utils
|
||||
|
||||
DESCRIPTION="Data-protection and recovery tool for DVDs"
|
||||
HOMEPAGE="http://dvdisaster.sourceforge.net/"
|
||||
SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug nls"
|
||||
|
||||
dvdi_langs="cs de it pt_BR ru sv"
|
||||
for dvdi_lang in ${dvdi_langs}; do
|
||||
IUSE+=" linguas_${dvdi_lang}"
|
||||
done
|
||||
unset dvdi_lang
|
||||
|
||||
RDEPEND="app-arch/bzip2
|
||||
>=dev-libs/glib-2.20
|
||||
media-libs/libpng:0
|
||||
sys-libs/zlib
|
||||
>=x11-libs/gtk+-2.14:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
virtual/os-headers"
|
||||
|
||||
src_configure() {
|
||||
use nls && dvdi_makeopts=( -j1 )
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--mandir=/usr/share/man \
|
||||
--docdir=/usr/share/doc \
|
||||
--docsubdir=${PF} \
|
||||
--localedir=/usr/share/locale \
|
||||
--buildroot="${D}" \
|
||||
--with-nls=$(usex nls) \
|
||||
--with-memdebug=$(usex debug) || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${dvdi_makeopts[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install
|
||||
dobin tools/pngpack
|
||||
|
||||
newdoc tools/README README.pngpack
|
||||
dodoc CHANGELOG CREDITS.en README* TODO *HOWTO
|
||||
|
||||
newicon contrib/${PN}48.png ${PN}.png
|
||||
make_desktop_entry ${PN} ${PN} ${PN} 'System;Utility'
|
||||
|
||||
local res
|
||||
for res in 16 32 48 64; do
|
||||
insinto /usr/share/icons/hicolor/${res}x${res}/apps
|
||||
newins contrib/${PN}${res}.png ${PN}.png
|
||||
done
|
||||
|
||||
local dest="${ED}"/usr/share
|
||||
|
||||
local dvdi_lang
|
||||
for dvdi_lang in ${dvdi_langs}; do
|
||||
use linguas_${dvdi_lang} || rm -rf \
|
||||
${dest}/doc/${PF}/${dvdi_lang} \
|
||||
${dest}/doc/${PF}/CREDITS.${dvdi_lang} \
|
||||
${dest}/man/${dvdi_lang}
|
||||
done
|
||||
|
||||
rm -f "${ED}"/usr/bin/*-uninstall.sh
|
||||
}
|
||||
|
||||
pkg_preinst() { gnome2_icon_savelist; }
|
||||
pkg_postinst() { gnome2_icon_cache_update; }
|
||||
pkg_postrm() { gnome2_icon_cache_update; }
|
@ -1,152 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.17.21.ebuild,v 1.1 2012/03/23 19:05:38 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
APLANCE_PV="1.17.14"
|
||||
APPL_P="appliance-${APLANCE_PV}"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
|
||||
multilib linux-info perl-module
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
|
||||
http://rion-overlay.googlecode.com/files/${APPL_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
# Upstream NOT supported 32-bit version, keyword in own risk
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bash-completion erlang +fuse debug ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
|
||||
|
||||
# Failires - doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-kvm-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-0.7.1
|
||||
sys-fs/squashfs-tools
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
>=sys-libs/db-4.6
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
|
||||
erlang? ( dev-lang/erlang )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
PATCHES=(${FILESDIR}/1.17/*.patch)
|
||||
|
||||
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_DISK_BUILD="5G"
|
||||
CHECKREQS_DISK_USR="5G"
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-drive-if=virtio
|
||||
--with-net-if=virtio-net-pci
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
--disable-python
|
||||
--disable-java
|
||||
$(use_enable nls)
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
$(use_enable doc)
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
|
||||
|
||||
rm -fr "${D}/etc"/bash* || die
|
||||
|
||||
insinto /usr/share/guestfs/
|
||||
doins -r "${WORKDIR}"/appliance
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
@ -1,152 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.17.26.ebuild,v 1.1 2012/04/08 18:24:12 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
APLANCE_PV="1.17.14"
|
||||
APPL_P="appliance-${APLANCE_PV}"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
|
||||
multilib linux-info perl-module
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
|
||||
http://rion-overlay.googlecode.com/files/${APPL_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
# Upstream NOT supported 32-bit version, keyword in own risk
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bash-completion erlang +fuse debug ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
|
||||
|
||||
# Failires - doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-kvm-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-0.7.1
|
||||
sys-fs/squashfs-tools
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
>=sys-libs/db-4.6
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
|
||||
erlang? ( dev-lang/erlang )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
PATCHES=(${FILESDIR}/1.17/*.patch)
|
||||
|
||||
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_DISK_BUILD="5G"
|
||||
CHECKREQS_DISK_USR="5G"
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-drive-if=virtio
|
||||
--with-net-if=virtio-net-pci
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
--disable-python
|
||||
--disable-java
|
||||
$(use_enable nls)
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
$(use_enable doc)
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
|
||||
|
||||
rm -fr "${D}/etc"/bash* || die
|
||||
|
||||
insinto /usr/share/guestfs/
|
||||
doins -r "${WORKDIR}"/appliance
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST VBoxGuestAdditions_4.1.10.iso 50749440 RMD160 dc852aa069789bdbbebd0add984339c4c629c76b SHA1 0a6440b74d9a664c0d23209c07d95ff6593e2b90 SHA256 70e859545cff07ce33c38f8c970856907cb1961ebf15a639505092e205614817
|
||||
DIST VBoxGuestAdditions_4.1.12.iso 50776064 RMD160 7f791a153a534568f6c25c43676ab3093fe99fea SHA1 f3918fde23dcf2de9cd8e7eee26135fe7be4efd0 SHA256 7dce13dd99c8b4757d56f5bada19a61a3ad50c69d7e0d9c245c0b88f50c0c245
|
||||
DIST VBoxGuestAdditions_4.1.4.iso 44716032 RMD160 af6062dcf625c82ec2184921d91ffdd2e326f1a6 SHA1 5d4b1d0ed5745f54b7aa9f709bc9a129c6e41e38 SHA256 75796a780f35c697c752d754b100d61afed7ee858ee49f34710c2d79ad50dc32
|
||||
DIST VBoxGuestAdditions_4.1.8.iso 45471744 RMD160 8730184e30ff856ad09f75ea3e6886f872339ba0 SHA1 92b5bedf25619f976a49391bb1998c3dbc8efca9 SHA256 2265aa350de2d62021e91ae6bbd1438c291a74494778bb443926e9b7b962c63d
|
||||
DIST VBoxGuestAdditions_4.1.14.iso 50780160 RMD160 89dde3f04047f5a89fe985c0948ff8122775d2cc SHA1 5f4e8f2c096995c2f6d3a20bc7c3d52101f5dea1 SHA256 a12785fd1f202ff784da27ae75bd3fd43edaa824736b5b30499d9db993c1db64
|
||||
|
@ -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/app-emulation/virtualbox-additions/virtualbox-additions-4.1.10.ebuild,v 1.1 2012/03/15 09:54:55 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.1.14.ebuild,v 1.1 2012/04/26 18:19:44 polynomial-c Exp $
|
||||
|
||||
EAPI=2
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.1.4.ebuild,v 1.3 2011/12/07 17:28:33 phajdan.jr Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PN=VBoxGuestAdditions
|
||||
MY_P=${MY_PN}_${PV}
|
||||
|
||||
DESCRIPTION="CD image containing guest additions for VirtualBox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso"
|
||||
|
||||
LICENSE="PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
!=app-emulation/virtualbox-9999"
|
||||
|
||||
src_unpack() {
|
||||
return 0
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN/-additions}
|
||||
newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.1.8.ebuild,v 1.3 2012/04/09 12:03:13 maekke Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PN=VBoxGuestAdditions
|
||||
MY_P=${MY_PN}_${PV}
|
||||
|
||||
DESCRIPTION="CD image containing guest additions for VirtualBox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso"
|
||||
|
||||
LICENSE="PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
!=app-emulation/virtualbox-9999"
|
||||
|
||||
src_unpack() {
|
||||
return 0
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN/-additions}
|
||||
newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
|
||||
}
|
@ -1,16 +1,8 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.10-76795.tar.gz 10047772 RMD160 5891f472b300f203e73da5597257060fa22e5542 SHA1 8ce8369ae74429062abc3e4fd3f2b4bebd5024b4 SHA256 e1ddcbb62de299b67350a4c9f3425b1f71aca490611891fd07e98f15a890d09f
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.tar.gz 10062236 RMD160 0a65fb69ad482c655f564a3f63ed958390c26c48 SHA1 28d63bceca076ae65afc3df814d622b630f8d372 SHA256 57a98286a9393e49c36ab8873878a89d0ac6b1179bf9a5c0d5fd517e272a8881
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.4-74291.tar.gz 9566803 RMD160 bc6862800a627c1275812e3a52fcfc438925f81d SHA1 128cdff4fc022be0c9878b717e5ac8d099681d65 SHA256 819b778dcd86de715e011a2cc7c075518859339680544d492730efa3a2b932ec
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.8-75467.tar.gz 9725202 RMD160 ce54aaf128d6aec757032f20ffb93e2ce7f17a64 SHA1 9e28d3751ab192c4dd77a69dfbc6976603b24197 SHA256 137c4d7a5440abc834b8014728a609a10abbaa6af5ad6742988cd8d1b4a8b245
|
||||
DIST VirtualBox-4.1.10-76795-Linux_amd64.run 77250001 RMD160 f0f2b84c9574d18dc66dfba2b02e1faaaa9076fa SHA1 c6c32f43f6c70feaeb746ab66fb94cecdf708de6 SHA256 07a8a28feda96fc54caed1c2c3338473a02c061d7bb564f3b5280cbfad3e24c8
|
||||
DIST VirtualBox-4.1.10-76795-Linux_x86.run 76993997 RMD160 01e206dcca898af966af60a87ed762f15d26b52f SHA1 b87b829828bfbcfd8a250fe4c85b6110350f96c4 SHA256 4bd6388f7f3803635de01e77de45957e80bb0e2b75c2d2e4ffd01bc89c99afd7
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.14-77440.tar.gz 10063096 RMD160 54e5748ee840376ca0b539e1956d496eb9c8dc9e SHA1 ae0f3f52bd46ab19a1a1c85d3c4381afb5dc19ac SHA256 82c112ab6003a92e6065a277077b2f3e1a9ca6871773ac3f4b1c771b8e699b42
|
||||
DIST VirtualBox-4.1.12-77245-Linux_amd64.run 77250001 RMD160 4e40a017d2765305396e646a70dc105bfa558849 SHA1 5ef57d22e31a319f317f1d904e1dcee12478c594 SHA256 006eabe522116abcce7af4b5ea6f32f862d3d95ab565e44e5077ab5ced62ba24
|
||||
DIST VirtualBox-4.1.12-77245-Linux_x86.run 77137358 RMD160 b8b4fb917b7beb3e38d650f0f9cae66ea7641aca SHA1 b8c25f59caafd01b9449dd40b62e1fcd0c6dfcbb SHA256 49890bf1077b3649181d1607372d5b92bcf347371e0631a4af6a43193492f047
|
||||
DIST VirtualBox-4.1.4-74291-Linux_amd64.run 73235921 RMD160 d9d067ea922a358062b9fe1e8d17216974cff400 SHA1 3d6ee4c217ab936eb6acf175fcc408133f201507 SHA256 b079b311f6aa662332cd5118bbe01d47589595849c4dd53f4b65af25de923a0a
|
||||
DIST VirtualBox-4.1.4-74291-Linux_x86.run 73020877 RMD160 1a12db57d13286690a7b2a06d3d09d14a9f9d91e SHA1 87b9536b0d309bb2fdf549ff5d0db3e17945a7b9 SHA256 a907733bf41c32896a211b146b066aadaa1a3e11afb9e9c80ef3ed642cc3c94d
|
||||
DIST VirtualBox-4.1.8-75467-Linux_amd64.run 75027920 RMD160 5bc2f47d870be78ec201d77971b4914f4b019c50 SHA1 bb9e80ddfc812d99cd27135c05304e20b6a28535 SHA256 7d0d45dfc8e4ef27a817c017c6589d5204a6515d86f0c874843cb99ccfe319ee
|
||||
DIST VirtualBox-4.1.8-75467-Linux_x86.run 75007436 RMD160 58ea91a06f030893676805097f403c0fd0419fb2 SHA1 8833fc8de41f9a3bbaee05b6c27750fffdccf919 SHA256 7780d8fc171ccfa3047a3d6373f9965b8c2896b11137817314f29cf5a3bc514f
|
||||
DIST VirtualBoxSDK-4.1.10-76795.zip 8896483 RMD160 99c7160857821c914ad413ec131597c1ed456590 SHA1 b400bc2d4905ec9dd92149e0fe34dc3b161beaff SHA256 bf3a8f5ebc2ee7c8cd107fec627b0d84359b71080a1c19327015703bf43842f1
|
||||
DIST VirtualBox-4.1.14-77440-Linux_amd64.run 77321681 RMD160 0a8f01bdfb1b93889cebc4cd80f5924036ca75ad SHA1 fbda0ee72de7a4cfc469707cf2ecebeb9244165c SHA256 3469ec1f6dcd63db652f70d0b608afa2a10eb37e0a493e62ff465999a0fa6a45
|
||||
DIST VirtualBox-4.1.14-77440-Linux_x86.run 77096398 RMD160 45a33dce73583cb71889e7443324ac2a02ee22aa SHA1 1f1ca8af782ebef331660e31d7d3bd9249cb0828 SHA256 b4a8eb84bef6b925b4d20a5161561023fdb9aa791ad12bd87c1422c76846d697
|
||||
DIST VirtualBoxSDK-4.1.12-77245.zip 8896345 RMD160 a9431c0907e397d77ede4d4de4be962e89dc43ed SHA1 372d6db2dcaeaa8f6855e110babfa5c00375be80 SHA256 a490878e7bc2443c7e4b51115382a6c5b65cda44cfc449af1676778093b307fa
|
||||
DIST VirtualBoxSDK-4.1.4-74291.zip 8803983 RMD160 a8a925a3d61c7a6fe03bfcdbfb2ff4c2c8e754f0 SHA1 77436fe0d22d58f371123df7402b556330e82bf9 SHA256 c0a5855a921611ae3264d70cfde64a3c2fb5ff3a1cd564716a1de0b23e7e9d3d
|
||||
DIST VirtualBoxSDK-4.1.8-75467.zip 8805659 RMD160 13e73b31cdd452a8c9262aea62afa3fbdf4a6f06 SHA1 f57fb944b1ea143ffc3130671e7c90b4d554957e SHA256 116d855456fa8661c6d7a3178fcd604d6994d1c8365e697368c25f638e588aff
|
||||
DIST VirtualBoxSDK-4.1.14-77440.zip 8805465 RMD160 8dab52ee5e1445f9a68213ca514311ca70a2e80e SHA1 6530303be880c89ff2c1149e975bb01fb9792194 SHA256 3690f15c232d6a8642d091756cfd48d1340d418aeb92ac3448a8e4d1137af04e
|
||||
|
@ -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/app-emulation/virtualbox-bin/virtualbox-bin-4.1.10.ebuild,v 1.2 2012/03/16 19:53:04 floppym Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.1.14.ebuild,v 1.1 2012/04/26 18:19:19 polynomial-c Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils unpacker fdo-mime gnome2 pax-utils
|
||||
|
||||
MY_PV=${PV}-76795
|
||||
MY_PV=${PV}-77440
|
||||
SDK_PV=${MY_PV}
|
||||
EXTP_PV=${SDK_PV}
|
||||
MY_P=VirtualBox-${MY_PV}-Linux
|
@ -1,330 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.1.4.ebuild,v 1.4 2012/02/05 05:25:37 vapier Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils unpacker fdo-mime pax-utils
|
||||
|
||||
MY_PV=${PV}-74291
|
||||
SDK_PV=${MY_PV}
|
||||
EXTP_PV=${MY_PV}
|
||||
MY_P=VirtualBox-${MY_PV}-Linux
|
||||
EXTP_PN=Oracle_VM_VirtualBox_Extension_Pack
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${PV}/${MY_P}_amd64.run )
|
||||
x86? ( http://download.virtualbox.org/virtualbox/${PV}/${MY_P}_x86.run )
|
||||
sdk? ( http://download.virtualbox.org/virtualbox/${PV}/VirtualBoxSDK-${SDK_PV}.zip )
|
||||
http://download.virtualbox.org/virtualbox/${PV}/${EXTP_PN}-${EXTP_PV}.vbox-extpack -> ${EXTP_PN}-${EXTP_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+additions +chm headless python sdk vboxwebsrv rdesktop-vrdp"
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="!!app-emulation/virtualbox
|
||||
!app-emulation/virtualbox-additions
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
!headless? (
|
||||
x11-libs/libXcursor
|
||||
media-libs/libsdl[X]
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXfixes
|
||||
media-libs/libpng
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXft
|
||||
media-libs/freetype
|
||||
media-libs/fontconfig
|
||||
x11-libs/libXext
|
||||
dev-libs/glib
|
||||
chm? ( dev-libs/expat )
|
||||
)
|
||||
x11-libs/libXt
|
||||
dev-libs/libxml2
|
||||
x11-libs/libXau
|
||||
x11-libs/libX11
|
||||
x11-libs/libXmu
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
x11-libs/libXdmcp
|
||||
python? ( || (
|
||||
dev-lang/python:2.7
|
||||
dev-lang/python:2.6
|
||||
dev-lang/python:2.5
|
||||
dev-lang/python:2.4
|
||||
) )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_TEXTRELS_amd64="opt/VirtualBox/VBoxVMM.so"
|
||||
QA_TEXTRELS_x86="opt/VirtualBox/VBoxGuestPropSvc.so
|
||||
opt/VirtualBox/VBoxSDL.so
|
||||
opt/VirtualBox/VBoxDbg.so
|
||||
opt/VirtualBox/VBoxSharedFolders.so
|
||||
opt/VirtualBox/VBoxDD2.so
|
||||
opt/VirtualBox/VBoxOGLrenderspu.so
|
||||
opt/VirtualBox/VBoxPython.so
|
||||
opt/VirtualBox/VBoxPython2_3.so
|
||||
opt/VirtualBox/VBoxPython2_4.so
|
||||
opt/VirtualBox/VBoxPython2_5.so
|
||||
opt/VirtualBox/VBoxPython2_6.so
|
||||
opt/VirtualBox/VBoxPython2_7.so
|
||||
opt/VirtualBox/VBoxPython3_0.so
|
||||
opt/VirtualBox/VBoxPython3_1.so
|
||||
opt/VirtualBox/VBoxDD.so
|
||||
opt/VirtualBox/VBoxVRDP.so
|
||||
opt/VirtualBox/VBoxDDU.so
|
||||
opt/VirtualBox/VBoxREM64.so
|
||||
opt/VirtualBox/VBoxSharedClipboard.so
|
||||
opt/VirtualBox/VBoxHeadless.so
|
||||
opt/VirtualBox/VBoxRT.so
|
||||
opt/VirtualBox/VRDPAuth.so
|
||||
opt/VirtualBox/VBoxREM.so
|
||||
opt/VirtualBox/VBoxSettings.so
|
||||
opt/VirtualBox/VBoxKeyboard.so
|
||||
opt/VirtualBox/VBoxSharedCrOpenGL.so
|
||||
opt/VirtualBox/VBoxVMM.so
|
||||
opt/VirtualBox/VirtualBox.so
|
||||
opt/VirtualBox/VBoxOGLhosterrorspu.so
|
||||
opt/VirtualBox/components/VBoxC.so
|
||||
opt/VirtualBox/components/VBoxSVCM.so
|
||||
opt/VirtualBox/VBoxREM32.so
|
||||
opt/VirtualBox/VBoxPython2_5.so
|
||||
opt/VirtualBox/VBoxXPCOMC.so
|
||||
opt/VirtualBox/VBoxOGLhostcrutil.so
|
||||
opt/VirtualBox/VBoxNetDHCP.so
|
||||
opt/VirtualBox/VBoxGuestControlSvc.so"
|
||||
QA_PRESTRIPPED="opt/VirtualBox/VBoxDD.so
|
||||
opt/VirtualBox/VBoxDD2.so
|
||||
opt/VirtualBox/VBoxDDU.so
|
||||
opt/VirtualBox/VBoxDbg.so
|
||||
opt/VirtualBox/VBoxGuestControlSvc.so
|
||||
opt/VirtualBox/VBoxGuestPropSvc.so
|
||||
opt/VirtualBox/VBoxHeadless
|
||||
opt/VirtualBox/VBoxHeadless.so
|
||||
opt/VirtualBox/VBoxKeyboard.so
|
||||
opt/VirtualBox/VBoxManage
|
||||
opt/VirtualBox/VBoxNetAdpCtl
|
||||
opt/VirtualBox/VBoxNetDHCP
|
||||
opt/VirtualBox/VBoxNetDHCP.so
|
||||
opt/VirtualBox/VBoxOGLhostcrutil.so
|
||||
opt/VirtualBox/VBoxOGLhosterrorspu.so
|
||||
opt/VirtualBox/VBoxOGLrenderspu.so
|
||||
opt/VirtualBox/VBoxPython.so
|
||||
opt/VirtualBox/VBoxPython2_3.so
|
||||
opt/VirtualBox/VBoxPython2_4.so
|
||||
opt/VirtualBox/VBoxPython2_5.so
|
||||
opt/VirtualBox/VBoxPython2_6.so
|
||||
opt/VirtualBox/VBoxPython2_7.so
|
||||
opt/VirtualBox/VBoxPython3_0.so
|
||||
opt/VirtualBox/VBoxPython3_1.so
|
||||
opt/VirtualBox/VBoxREM.so
|
||||
opt/VirtualBox/VBoxREM32.so
|
||||
opt/VirtualBox/VBoxREM64.so
|
||||
opt/VirtualBox/VBoxRT.so
|
||||
opt/VirtualBox/VBoxSDL
|
||||
opt/VirtualBox/VBoxSDL.so
|
||||
opt/VirtualBox/VBoxSVC
|
||||
opt/VirtualBox/VBoxSettings.so
|
||||
opt/VirtualBox/VBoxSharedClipboard.so
|
||||
opt/VirtualBox/VBoxSharedCrOpenGL.so
|
||||
opt/VirtualBox/VBoxSharedFolders.so
|
||||
opt/VirtualBox/VBoxTestOGL
|
||||
opt/VirtualBox/VBoxTunctl
|
||||
opt/VirtualBox/VBoxVMM.so
|
||||
opt/VirtualBox/VBoxVRDP.so
|
||||
opt/VirtualBox/VBoxXPCOM.so
|
||||
opt/VirtualBox/VBoxXPCOMC.so
|
||||
opt/VirtualBox/VBoxXPCOMIPCD
|
||||
opt/VirtualBox/VRDPAuth.so
|
||||
opt/VirtualBox/VirtualBox
|
||||
opt/VirtualBox/VirtualBox.so
|
||||
opt/VirtualBox/accessible/libqtaccessiblewidgets.so
|
||||
opt/VirtualBox/components/VBoxC.so
|
||||
opt/VirtualBox/components/VBoxSVCM.so
|
||||
opt/VirtualBox/components/VBoxXPCOMIPCC.so
|
||||
opt/VirtualBox/kchmviewer
|
||||
opt/VirtualBox/libQtCoreVBox.so.4
|
||||
opt/VirtualBox/libQtGuiVBox.so.4
|
||||
opt/VirtualBox/libQtNetworkVBox.so.4
|
||||
opt/VirtualBox/libQtOpenGLVBox.so.4
|
||||
opt/VirtualBox/vboxwebsrv"
|
||||
|
||||
src_unpack() {
|
||||
unpack_makeself ${MY_P}_${ARCH}.run
|
||||
unpack ./VirtualBox.tar.bz2
|
||||
|
||||
mkdir "${S}"/${EXTP_PN} || die
|
||||
pushd "${S}"/${EXTP_PN} &>/dev/null || die
|
||||
unpack ${EXTP_PN}-${EXTP_PV}.tar.gz
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use sdk; then
|
||||
unpack VirtualBoxSDK-${SDK_PV}.zip
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# create virtualbox configurations files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-config" vbox.cfg
|
||||
|
||||
if ! use headless ; then
|
||||
newicon VBox.png ${PN}.png
|
||||
newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
|
||||
fi
|
||||
|
||||
pushd "${S}"/${EXTP_PN} &>/dev/null || die
|
||||
insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
|
||||
doins -r linux.${ARCH}
|
||||
doins ExtPack* PXE-Intel.rom
|
||||
popd &>/dev/null || die
|
||||
rm -rf "${S}"/${EXTP_PN}
|
||||
|
||||
insinto /opt/VirtualBox
|
||||
dodir /opt/bin
|
||||
|
||||
doins UserManual.pdf
|
||||
|
||||
if use sdk ; then
|
||||
doins -r sdk || die
|
||||
fi
|
||||
|
||||
if use additions; then
|
||||
doins -r additions || die
|
||||
fi
|
||||
|
||||
if use vboxwebsrv; then
|
||||
doins vboxwebsrv || die
|
||||
fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
|
||||
fperms 0750 /opt/VirtualBox/vboxwebsrv
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
if use rdesktop-vrdp; then
|
||||
doins rdesktop-vrdp || die
|
||||
doins -r rdesktop-vrdp-keymaps || die
|
||||
fperms 0750 /opt/VirtualBox/rdesktop-vrdp
|
||||
dosym /opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
|
||||
fi
|
||||
|
||||
if ! use headless && use chm; then
|
||||
doins kchmviewer VirtualBox.chm || die
|
||||
fowners root:vboxusers /opt/VirtualBox/kchmviewer
|
||||
fperms 0750 /opt/VirtualBox/kchmviewer
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
local pyver
|
||||
for pyver in 2.4 2.5 2.6 2.7 3.0 3.1 ; do
|
||||
if has_version "=dev-lang/python-${pyver}*" && [ -f "${S}/VBoxPython${pyver/./_}.so" ] ; then
|
||||
doins VBoxPython${pyver/./_}.so || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
|
||||
vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
|
||||
VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
|
||||
webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
|
||||
90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
|
||||
VBoxPython?_*.so
|
||||
|
||||
if use headless ; then
|
||||
rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
|
||||
fi
|
||||
|
||||
doins -r * || die
|
||||
|
||||
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
|
||||
dosym /opt/VirtualBox/VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
|
||||
dosym /opt/VirtualBox/VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
|
||||
dosym /opt/VirtualBox/VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
|
||||
dosym /opt/VirtualBox/VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
|
||||
dosym /opt/VirtualBox/VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
|
||||
|
||||
local each
|
||||
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,TestOGL,ExtPackHelperApp}; do
|
||||
fowners root:vboxusers /opt/VirtualBox/${each}
|
||||
fperms 0750 /opt/VirtualBox/${each}
|
||||
pax-mark -m "${D}"/opt/VirtualBox/${each}
|
||||
done
|
||||
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
|
||||
fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
|
||||
fperms 4750 /opt/VirtualBox/VBoxNetDHCP
|
||||
|
||||
if ! use headless ; then
|
||||
# Hardened build: Mark selected binaries set-user-ID-on-execution
|
||||
for each in VBox{SDL,Headless} VirtualBox; do
|
||||
fowners root:vboxusers /opt/VirtualBox/${each}
|
||||
fperms 4510 /opt/VirtualBox/${each}
|
||||
pax-mark -m "${D}"/opt/VirtualBox/${each}
|
||||
done
|
||||
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VirtualBox
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxSDL
|
||||
else
|
||||
# Hardened build: Mark selected binaries set-user-ID-on-execution
|
||||
fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
|
||||
fperms 4510 /opt/VirtualBox/VBoxHeadless
|
||||
pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
|
||||
fi
|
||||
|
||||
exeinto /opt/VirtualBox
|
||||
newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh" || die
|
||||
fowners root:vboxusers /opt/VirtualBox/VBox.sh
|
||||
fperms 0750 /opt/VirtualBox/VBox.sh
|
||||
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxManage
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxVRDP
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxHeadless
|
||||
dosym /opt/VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
insinto /lib/udev/rules.d
|
||||
doins "${FILESDIR}"/10-virtualbox.rules
|
||||
# move udev scripts into /lib/udev (bug #372491)
|
||||
mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"/lib/udev
|
||||
fperms 0750 /lib/udev/VBoxCreateUSBNode.sh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
|
||||
|
||||
elog ""
|
||||
if ! use headless ; then
|
||||
elog "To launch VirtualBox just type: \"VirtualBox\""
|
||||
elog ""
|
||||
fi
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "For advanced networking setups you should emerge:"
|
||||
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
|
||||
elog ""
|
||||
elog "Please visit http://www.virtualbox.org/wiki/Editions for"
|
||||
elog "an overview about the different features of ${PN}"
|
||||
elog "and virtualbox-ose"
|
||||
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
|
||||
elog ""
|
||||
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
|
||||
elog "or else USB in ${PN} won't work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,351 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.1.8.ebuild,v 1.5 2012/04/09 12:06:47 maekke Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils unpacker fdo-mime gnome2 pax-utils
|
||||
|
||||
MY_PV=${PV}-75467
|
||||
SDK_PV=${MY_PV}
|
||||
EXTP_PV=${SDK_PV}
|
||||
MY_P=VirtualBox-${MY_PV}-Linux
|
||||
EXTP_PN=Oracle_VM_VirtualBox_Extension_Pack
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${PV}/${MY_P}_amd64.run )
|
||||
x86? ( http://download.virtualbox.org/virtualbox/${PV}/${MY_P}_x86.run )
|
||||
sdk? ( http://download.virtualbox.org/virtualbox/${PV}/VirtualBoxSDK-${SDK_PV}.zip )
|
||||
http://download.virtualbox.org/virtualbox/${PV}/${EXTP_PN}-${EXTP_PV}.vbox-extpack -> ${EXTP_PN}-${EXTP_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+additions +chm headless python sdk vboxwebsrv rdesktop-vrdp"
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="!!app-emulation/virtualbox
|
||||
!app-emulation/virtualbox-additions
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
!headless? (
|
||||
x11-libs/libXcursor
|
||||
media-libs/libsdl[X]
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXfixes
|
||||
media-libs/libpng
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXft
|
||||
media-libs/freetype
|
||||
media-libs/fontconfig
|
||||
x11-libs/libXext
|
||||
dev-libs/glib
|
||||
chm? ( dev-libs/expat )
|
||||
)
|
||||
x11-libs/libXt
|
||||
dev-libs/libxml2
|
||||
x11-libs/libXau
|
||||
x11-libs/libX11
|
||||
x11-libs/libXmu
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
x11-libs/libXdmcp
|
||||
python? ( || (
|
||||
dev-lang/python:2.7
|
||||
dev-lang/python:2.6
|
||||
dev-lang/python:2.5
|
||||
dev-lang/python:2.4
|
||||
) )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_TEXTRELS_amd64="opt/VirtualBox/VBoxVMM.so"
|
||||
QA_TEXTRELS_x86="opt/VirtualBox/VBoxGuestPropSvc.so
|
||||
opt/VirtualBox/VBoxSDL.so
|
||||
opt/VirtualBox/VBoxDbg.so
|
||||
opt/VirtualBox/VBoxSharedFolders.so
|
||||
opt/VirtualBox/VBoxDD2.so
|
||||
opt/VirtualBox/VBoxOGLrenderspu.so
|
||||
opt/VirtualBox/VBoxPython.so
|
||||
opt/VirtualBox/VBoxPython2_3.so
|
||||
opt/VirtualBox/VBoxPython2_4.so
|
||||
opt/VirtualBox/VBoxPython2_5.so
|
||||
opt/VirtualBox/VBoxPython2_6.so
|
||||
opt/VirtualBox/VBoxPython2_7.so
|
||||
opt/VirtualBox/VBoxPython3_0.so
|
||||
opt/VirtualBox/VBoxPython3_1.so
|
||||
opt/VirtualBox/VBoxDD.so
|
||||
opt/VirtualBox/VBoxVRDP.so
|
||||
opt/VirtualBox/VBoxDDU.so
|
||||
opt/VirtualBox/VBoxREM64.so
|
||||
opt/VirtualBox/VBoxSharedClipboard.so
|
||||
opt/VirtualBox/VBoxHeadless.so
|
||||
opt/VirtualBox/VBoxRT.so
|
||||
opt/VirtualBox/VRDPAuth.so
|
||||
opt/VirtualBox/VBoxREM.so
|
||||
opt/VirtualBox/VBoxSettings.so
|
||||
opt/VirtualBox/VBoxKeyboard.so
|
||||
opt/VirtualBox/VBoxSharedCrOpenGL.so
|
||||
opt/VirtualBox/VBoxVMM.so
|
||||
opt/VirtualBox/VirtualBox.so
|
||||
opt/VirtualBox/VBoxOGLhosterrorspu.so
|
||||
opt/VirtualBox/components/VBoxC.so
|
||||
opt/VirtualBox/components/VBoxSVCM.so
|
||||
opt/VirtualBox/VBoxREM32.so
|
||||
opt/VirtualBox/VBoxPython2_5.so
|
||||
opt/VirtualBox/VBoxXPCOMC.so
|
||||
opt/VirtualBox/VBoxOGLhostcrutil.so
|
||||
opt/VirtualBox/VBoxNetDHCP.so
|
||||
opt/VirtualBox/VBoxGuestControlSvc.so"
|
||||
QA_PRESTRIPPED="opt/VirtualBox/VBoxDD.so
|
||||
opt/VirtualBox/VBoxDD2.so
|
||||
opt/VirtualBox/VBoxDDU.so
|
||||
opt/VirtualBox/VBoxDbg.so
|
||||
opt/VirtualBox/VBoxGuestControlSvc.so
|
||||
opt/VirtualBox/VBoxGuestPropSvc.so
|
||||
opt/VirtualBox/VBoxHeadless
|
||||
opt/VirtualBox/VBoxHeadless.so
|
||||
opt/VirtualBox/VBoxKeyboard.so
|
||||
opt/VirtualBox/VBoxManage
|
||||
opt/VirtualBox/VBoxNetAdpCtl
|
||||
opt/VirtualBox/VBoxNetDHCP
|
||||
opt/VirtualBox/VBoxNetDHCP.so
|
||||
opt/VirtualBox/VBoxOGLhostcrutil.so
|
||||
opt/VirtualBox/VBoxOGLhosterrorspu.so
|
||||
opt/VirtualBox/VBoxOGLrenderspu.so
|
||||
opt/VirtualBox/VBoxPython.so
|
||||
opt/VirtualBox/VBoxPython2_3.so
|
||||
opt/VirtualBox/VBoxPython2_4.so
|
||||
opt/VirtualBox/VBoxPython2_5.so
|
||||
opt/VirtualBox/VBoxPython2_6.so
|
||||
opt/VirtualBox/VBoxPython2_7.so
|
||||
opt/VirtualBox/VBoxPython3_0.so
|
||||
opt/VirtualBox/VBoxPython3_1.so
|
||||
opt/VirtualBox/VBoxREM.so
|
||||
opt/VirtualBox/VBoxREM32.so
|
||||
opt/VirtualBox/VBoxREM64.so
|
||||
opt/VirtualBox/VBoxRT.so
|
||||
opt/VirtualBox/VBoxSDL
|
||||
opt/VirtualBox/VBoxSDL.so
|
||||
opt/VirtualBox/VBoxSVC
|
||||
opt/VirtualBox/VBoxSettings.so
|
||||
opt/VirtualBox/VBoxSharedClipboard.so
|
||||
opt/VirtualBox/VBoxSharedCrOpenGL.so
|
||||
opt/VirtualBox/VBoxSharedFolders.so
|
||||
opt/VirtualBox/VBoxTestOGL
|
||||
opt/VirtualBox/VBoxTunctl
|
||||
opt/VirtualBox/VBoxVMM.so
|
||||
opt/VirtualBox/VBoxVRDP.so
|
||||
opt/VirtualBox/VBoxXPCOM.so
|
||||
opt/VirtualBox/VBoxXPCOMC.so
|
||||
opt/VirtualBox/VBoxXPCOMIPCD
|
||||
opt/VirtualBox/VRDPAuth.so
|
||||
opt/VirtualBox/VirtualBox
|
||||
opt/VirtualBox/VirtualBox.so
|
||||
opt/VirtualBox/accessible/libqtaccessiblewidgets.so
|
||||
opt/VirtualBox/components/VBoxC.so
|
||||
opt/VirtualBox/components/VBoxSVCM.so
|
||||
opt/VirtualBox/components/VBoxXPCOMIPCC.so
|
||||
opt/VirtualBox/kchmviewer
|
||||
opt/VirtualBox/libQtCoreVBox.so.4
|
||||
opt/VirtualBox/libQtGuiVBox.so.4
|
||||
opt/VirtualBox/libQtNetworkVBox.so.4
|
||||
opt/VirtualBox/libQtOpenGLVBox.so.4
|
||||
opt/VirtualBox/vboxwebsrv"
|
||||
|
||||
src_unpack() {
|
||||
unpack_makeself ${MY_P}_${ARCH}.run
|
||||
unpack ./VirtualBox.tar.bz2
|
||||
|
||||
mkdir "${S}"/${EXTP_PN} || die
|
||||
pushd "${S}"/${EXTP_PN} &>/dev/null || die
|
||||
unpack ${EXTP_PN}-${EXTP_PV}.tar.gz
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use sdk; then
|
||||
unpack VirtualBoxSDK-${SDK_PV}.zip
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# create virtualbox configurations files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-config" vbox.cfg
|
||||
|
||||
if ! use headless ; then
|
||||
pushd "${S}"/icons &>/dev/null || die
|
||||
for size in * ; do
|
||||
if [ -f "${size}/virtualbox.png" ] ; then
|
||||
insinto "/usr/share/icons/hicolor/${size}/apps"
|
||||
newins "${size}/virtualbox.png" ${PN}.png
|
||||
fi
|
||||
done
|
||||
dodir /usr/share/pixmaps
|
||||
cp "48x48/virtualbox.png" "${D}/usr/share/pixmaps/${PN}.png" \
|
||||
|| die
|
||||
popd &>/dev/null || die
|
||||
|
||||
newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
|
||||
fi
|
||||
|
||||
pushd "${S}"/${EXTP_PN} &>/dev/null || die
|
||||
insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
|
||||
doins -r linux.${ARCH}
|
||||
doins ExtPack* PXE-Intel.rom
|
||||
popd &>/dev/null || die
|
||||
rm -rf "${S}"/${EXTP_PN}
|
||||
|
||||
insinto /opt/VirtualBox
|
||||
dodir /opt/bin
|
||||
|
||||
doins UserManual.pdf
|
||||
|
||||
if use sdk ; then
|
||||
doins -r sdk || die
|
||||
fi
|
||||
|
||||
if use additions; then
|
||||
doins -r additions || die
|
||||
fi
|
||||
|
||||
if use vboxwebsrv; then
|
||||
doins vboxwebsrv || die
|
||||
fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
|
||||
fperms 0750 /opt/VirtualBox/vboxwebsrv
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
if use rdesktop-vrdp; then
|
||||
doins rdesktop-vrdp || die
|
||||
doins -r rdesktop-vrdp-keymaps || die
|
||||
fperms 0750 /opt/VirtualBox/rdesktop-vrdp
|
||||
dosym /opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
|
||||
fi
|
||||
|
||||
if ! use headless && use chm; then
|
||||
doins kchmviewer VirtualBox.chm || die
|
||||
fowners root:vboxusers /opt/VirtualBox/kchmviewer
|
||||
fperms 0750 /opt/VirtualBox/kchmviewer
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
local pyver
|
||||
for pyver in 2.4 2.5 2.6 2.7 3.0 3.1 ; do
|
||||
if has_version "=dev-lang/python-${pyver}*" && [ -f "${S}/VBoxPython${pyver/./_}.so" ] ; then
|
||||
doins VBoxPython${pyver/./_}.so || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
|
||||
vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
|
||||
VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
|
||||
webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
|
||||
90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
|
||||
VBoxPython?_*.so
|
||||
|
||||
if use headless ; then
|
||||
rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
|
||||
fi
|
||||
|
||||
doins -r * || die
|
||||
|
||||
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
|
||||
dosym /opt/VirtualBox/VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
|
||||
dosym /opt/VirtualBox/VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
|
||||
dosym /opt/VirtualBox/VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
|
||||
dosym /opt/VirtualBox/VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
|
||||
dosym /opt/VirtualBox/VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
|
||||
|
||||
local each
|
||||
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,TestOGL,ExtPackHelperApp}; do
|
||||
fowners root:vboxusers /opt/VirtualBox/${each}
|
||||
fperms 0750 /opt/VirtualBox/${each}
|
||||
pax-mark -m "${D}"/opt/VirtualBox/${each}
|
||||
done
|
||||
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
|
||||
fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
|
||||
fperms 4750 /opt/VirtualBox/VBoxNetDHCP
|
||||
|
||||
if ! use headless ; then
|
||||
# Hardened build: Mark selected binaries set-user-ID-on-execution
|
||||
for each in VBox{SDL,Headless} VirtualBox; do
|
||||
fowners root:vboxusers /opt/VirtualBox/${each}
|
||||
fperms 4510 /opt/VirtualBox/${each}
|
||||
pax-mark -m "${D}"/opt/VirtualBox/${each}
|
||||
done
|
||||
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VirtualBox
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxSDL
|
||||
else
|
||||
# Hardened build: Mark selected binaries set-user-ID-on-execution
|
||||
fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
|
||||
fperms 4510 /opt/VirtualBox/VBoxHeadless
|
||||
pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
|
||||
fi
|
||||
|
||||
exeinto /opt/VirtualBox
|
||||
newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh" || die
|
||||
fowners root:vboxusers /opt/VirtualBox/VBox.sh
|
||||
fperms 0750 /opt/VirtualBox/VBox.sh
|
||||
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxManage
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxVRDP
|
||||
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxHeadless
|
||||
dosym /opt/VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
insinto /lib/udev/rules.d
|
||||
doins "${FILESDIR}"/10-virtualbox.rules
|
||||
# move udev scripts into /lib/udev (bug #372491)
|
||||
mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"/lib/udev
|
||||
fperms 0750 /lib/udev/VBoxCreateUSBNode.sh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
gnome2_icon_cache_update
|
||||
|
||||
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
|
||||
|
||||
elog ""
|
||||
if ! use headless ; then
|
||||
elog "To launch VirtualBox just type: \"VirtualBox\""
|
||||
elog ""
|
||||
fi
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "For advanced networking setups you should emerge:"
|
||||
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
|
||||
elog ""
|
||||
elog "Please visit http://www.virtualbox.org/wiki/Editions for"
|
||||
elog "an overview about the different features of ${PN}"
|
||||
elog "and virtualbox-ose"
|
||||
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
|
||||
elog ""
|
||||
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
|
||||
elog "or else USB in ${PN} won't work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.10-76795.tar.gz 10047772 RMD160 5891f472b300f203e73da5597257060fa22e5542 SHA1 8ce8369ae74429062abc3e4fd3f2b4bebd5024b4 SHA256 e1ddcbb62de299b67350a4c9f3425b1f71aca490611891fd07e98f15a890d09f
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245.tar.gz 10062236 RMD160 0a65fb69ad482c655f564a3f63ed958390c26c48 SHA1 28d63bceca076ae65afc3df814d622b630f8d372 SHA256 57a98286a9393e49c36ab8873878a89d0ac6b1179bf9a5c0d5fd517e272a8881
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.4-74291.tar.gz 9566803 RMD160 bc6862800a627c1275812e3a52fcfc438925f81d SHA1 128cdff4fc022be0c9878b717e5ac8d099681d65 SHA256 819b778dcd86de715e011a2cc7c075518859339680544d492730efa3a2b932ec
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.8-75467.tar.gz 9725202 RMD160 ce54aaf128d6aec757032f20ffb93e2ce7f17a64 SHA1 9e28d3751ab192c4dd77a69dfbc6976603b24197 SHA256 137c4d7a5440abc834b8014728a609a10abbaa6af5ad6742988cd8d1b4a8b245
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.14-77440.tar.gz 10063096 RMD160 54e5748ee840376ca0b539e1956d496eb9c8dc9e SHA1 ae0f3f52bd46ab19a1a1c85d3c4381afb5dc19ac SHA256 82c112ab6003a92e6065a277077b2f3e1a9ca6871773ac3f4b1c771b8e699b42
|
||||
|
@ -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/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.1.10.ebuild,v 1.1 2012/03/15 09:55:29 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.1.14.ebuild,v 1.1 2012/04/26 18:20:52 polynomial-c Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_BUILD="76795"
|
||||
MY_BUILD="77440"
|
||||
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
|
||||
MY_P="${MY_PN}-${PV}-${MY_BUILD}"
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.1.4.ebuild,v 1.3 2011/12/07 17:28:48 phajdan.jr Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_BUILD="74291"
|
||||
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
|
||||
MY_P="${MY_PN}-${PV}-${MY_BUILD}"
|
||||
|
||||
DESCRIPTION="PUEL extensions for VirtualBox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
RDEPEND="~app-emulation/virtualbox-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
|
||||
doins -r linux.${ARCH}
|
||||
doins ExtPack* PXE-Intel.rom
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.1.8.ebuild,v 1.3 2012/04/09 12:08:03 maekke Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_BUILD="75467"
|
||||
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
|
||||
MY_P="${MY_PN}-${PV}-${MY_BUILD}"
|
||||
|
||||
DESCRIPTION="PUEL extensions for VirtualBox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="PUEL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
RDEPEND="~app-emulation/virtualbox-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
|
||||
doins -r linux.${ARCH}
|
||||
doins ExtPack* PXE-Intel.rom
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST VirtualBox-4.1.10.tar.bz2 73325320 RMD160 b5eedd1235db74bfaa4e061193528696058923e7 SHA1 bb95253fd574648298bd56f13586f5a510a55863 SHA256 47e3faa607b405ea1d31e65a35984374e44f09f44a0f40607da6a773b31a57bf
|
||||
DIST VirtualBox-4.1.12.tar.bz2 73250628 RMD160 a3ee3e4dac21d969f5314c7269ca9ef9fa7d80a7 SHA1 4cda0678fa44ff53af87dbcd9375a43720c69d3f SHA256 4e4b9181a61ee9ccbe5fd28dbf528dde708fba490af5de6fac0d138b283b1d02
|
||||
DIST VirtualBox-4.1.4.tar.bz2 73837275 RMD160 475a68dc6beebdb588688743b3652bbb9ab3f507 SHA1 6ec0dd31844da91c9773611a6fb553eef575e899 SHA256 aa368de95f9dd2020394f9e8f145908c236c0899d24bb27436ed2f670725cefb
|
||||
DIST VirtualBox-4.1.8.tar.bz2 73822230 RMD160 f8ae296406fe370eded166d0772be7e4558ecc3a SHA1 4683e30aa32d0d6ca764e5ce366d7216705cf0f2 SHA256 ef16d6729c9bcc298a33eff636549872dcfe291ac01bfa117cdf7aaf8a4004e0
|
||||
DIST VirtualBox-4.1.14.tar.bz2 73260319 RMD160 68bb81486dad190a1bd74251ad32ee16d47be625 SHA1 126e61d5f7187d62b2b213b658912c83f49e6de6 SHA256 034cfd19d5dd701cd1375b994ad6f2d41c207b6760c6b8c5fe3005e53134dff8
|
||||
|
@ -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/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.1.10.ebuild,v 1.2 2012/03/15 16:52:24 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.1.14.ebuild,v 1.1 2012/04/26 18:22:41 polynomial-c Exp $
|
||||
|
||||
EAPI=2
|
||||
|
@ -1,199 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.1.4-r1.ebuild,v 1.3 2011/12/07 17:29:29 phajdan.jr Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
MY_P=VirtualBox-${PV}
|
||||
DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
|
||||
x11-apps/xrandr
|
||||
x11-apps/xrefresh
|
||||
x11-libs/libXmu
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
x11-libs/libXext
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE )
|
||||
!!x11-drivers/xf86-input-virtualbox"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.999
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
sys-libs/pam
|
||||
sys-power/iasl
|
||||
X? ( x11-proto/renderproto )
|
||||
!X? ( x11-proto/xproto )"
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
|
||||
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}_OSE"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
|
||||
enewgroup vboxguest
|
||||
enewuser vboxguest -1 /bin/sh /var/run/vboxguest vboxguest
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Create and unpack a tarball with the sources of the Linux guest
|
||||
# kernel modules, to include all the needed files
|
||||
"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
|
||||
unpack ./vbox-kmod.tar.gz
|
||||
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
cd "${S}"
|
||||
rm -rf kBuild/bin tools
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# PaX fixes (see bug #298988)
|
||||
pushd "${WORKDIR}" &>/dev/null || die
|
||||
epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
|
||||
popd &>/dev/null || die
|
||||
|
||||
# Disable things unused or splitted into separate ebuilds
|
||||
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
|
||||
|
||||
# stupid new header references...
|
||||
for vboxheader in {product,revision}-generated.h ; do
|
||||
for mdir in vbox{guest,sf} ; do
|
||||
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
|
||||
"${WORKDIR}/${mdir}/${vboxheader}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# build the user-space tools, warnings are harmless
|
||||
./configure --nofatal \
|
||||
--disable-xpcom \
|
||||
--disable-sdl-ttf \
|
||||
--disable-pulse \
|
||||
--disable-alsa \
|
||||
--build-headless || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
for each in /src/VBox/{Runtime,Additions/common} \
|
||||
/src/VBox/Additions/linux/{sharedfolders,daemon} ; do
|
||||
cd "${S}"${each}
|
||||
MAKE="kmk" emake TOOL_YASM_AS=yasm \
|
||||
KBUILD_PATH="${S}/kBuild" \
|
||||
|| die "kmk VBoxControl failed"
|
||||
done
|
||||
|
||||
if use X; then
|
||||
cd "${S}"/src/VBox/Additions/x11/VBoxClient
|
||||
MAKE="kmk" emake TOOL_YASM_AS=yasm \
|
||||
KBUILD_PATH="${S}/kBuild" \
|
||||
|| die "kmk VBoxClient failed"
|
||||
fi
|
||||
|
||||
# Now creating the kernel modules. We must do this _after_
|
||||
# we compiled the user-space tools as we need two of the
|
||||
# automatically generated header files. (>=3.2.0)
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin/additions
|
||||
|
||||
insinto /sbin
|
||||
newins mount.vboxsf mount.vboxsf
|
||||
fperms 4755 /sbin/mount.vboxsf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}-7.initd ${PN}
|
||||
|
||||
insinto /usr/sbin/
|
||||
newins VBoxService vboxguest-service
|
||||
fperms 0755 /usr/sbin/vboxguest-service
|
||||
|
||||
insinto /usr/bin
|
||||
doins VBoxControl
|
||||
fperms 0755 /usr/bin/VBoxControl
|
||||
|
||||
# VBoxClient user service and xrandr wrapper
|
||||
if use X; then
|
||||
doins VBoxClient
|
||||
fperms 0755 /usr/bin/VBoxClient
|
||||
|
||||
cd "${S}"/src/VBox/Additions/x11/Installer
|
||||
newins 98vboxadd-xclient VBoxClient-all
|
||||
fperms 0755 /usr/bin/VBoxClient-all
|
||||
fi
|
||||
|
||||
# udev rule for vboxdrv
|
||||
dodir /lib/udev/rules.d
|
||||
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
|
||||
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|
||||
|| die
|
||||
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
|
||||
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|
||||
|| die
|
||||
|
||||
# VBoxClient autostart file
|
||||
insinto /etc/xdg/autostart
|
||||
doins "${FILESDIR}"/vboxclient.desktop
|
||||
|
||||
# sample xorg.conf
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${FILESDIR}"/xorg.conf.vbox
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
if ! use X ; then
|
||||
elog "use flag X is off, enable it to install the"
|
||||
elog "X Window System input and video drivers"
|
||||
fi
|
||||
elog ""
|
||||
elog "Please add users to the \"vboxguest\" group so they can"
|
||||
elog "benefit from seamless mode, auto-resize and clipboard."
|
||||
elog ""
|
||||
elog "Please add:"
|
||||
elog "/etc/init.d/${PN}"
|
||||
elog "to the default runlevel in order to start"
|
||||
elog "needed services."
|
||||
elog "To use the VirtualBox X drivers, use the following"
|
||||
elog "file as your /etc/X11/xorg.conf:"
|
||||
elog " /usr/share/doc/${PF}/xorg.conf.xorg"
|
||||
elog ""
|
||||
elog "Also make sure you use the Mesa library for OpenGL:"
|
||||
elog " eselect opengl set xorg-x11"
|
||||
elog ""
|
||||
elog "An autostart .desktop file has been installed to start"
|
||||
elog "VBoxClient in desktop sessions."
|
||||
elog ""
|
||||
elog "You can mount shared folders with:"
|
||||
elog " mount -t vboxsf <shared_folder_name> <mount_point>"
|
||||
elog ""
|
||||
elog "Warning:"
|
||||
elog "this ebuild is only needed if you are running gentoo"
|
||||
elog "inside a VirtualBox Virtual Machine, you don't need"
|
||||
elog "it to run VirtualBox itself."
|
||||
elog ""
|
||||
}
|
@ -1,199 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.1.8.ebuild,v 1.3 2012/04/09 12:06:08 maekke Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
MY_P=VirtualBox-${PV}
|
||||
DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
|
||||
x11-apps/xrandr
|
||||
x11-apps/xrefresh
|
||||
x11-libs/libXmu
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
x11-libs/libXext
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE )
|
||||
!!x11-drivers/xf86-input-virtualbox"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.999
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
sys-libs/pam
|
||||
sys-power/iasl
|
||||
X? ( x11-proto/renderproto )
|
||||
!X? ( x11-proto/xproto )"
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
|
||||
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}_OSE"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
|
||||
enewgroup vboxguest
|
||||
enewuser vboxguest -1 /bin/sh /var/run/vboxguest vboxguest
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Create and unpack a tarball with the sources of the Linux guest
|
||||
# kernel modules, to include all the needed files
|
||||
"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
|
||||
unpack ./vbox-kmod.tar.gz
|
||||
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
cd "${S}"
|
||||
rm -rf kBuild/bin tools
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# PaX fixes (see bug #298988)
|
||||
pushd "${WORKDIR}" &>/dev/null || die
|
||||
epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
|
||||
popd &>/dev/null || die
|
||||
|
||||
# Disable things unused or splitted into separate ebuilds
|
||||
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
|
||||
|
||||
# stupid new header references...
|
||||
for vboxheader in {product,revision}-generated.h ; do
|
||||
for mdir in vbox{guest,sf} ; do
|
||||
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
|
||||
"${WORKDIR}/${mdir}/${vboxheader}"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# build the user-space tools, warnings are harmless
|
||||
./configure --nofatal \
|
||||
--disable-xpcom \
|
||||
--disable-sdl-ttf \
|
||||
--disable-pulse \
|
||||
--disable-alsa \
|
||||
--build-headless || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
for each in /src/VBox/{Runtime,Additions/common} \
|
||||
/src/VBox/Additions/linux/{sharedfolders,daemon} ; do
|
||||
cd "${S}"${each}
|
||||
MAKE="kmk" emake TOOL_YASM_AS=yasm \
|
||||
KBUILD_PATH="${S}/kBuild" \
|
||||
|| die "kmk VBoxControl failed"
|
||||
done
|
||||
|
||||
if use X; then
|
||||
cd "${S}"/src/VBox/Additions/x11/VBoxClient
|
||||
MAKE="kmk" emake TOOL_YASM_AS=yasm \
|
||||
KBUILD_PATH="${S}/kBuild" \
|
||||
|| die "kmk VBoxClient failed"
|
||||
fi
|
||||
|
||||
# Now creating the kernel modules. We must do this _after_
|
||||
# we compiled the user-space tools as we need two of the
|
||||
# automatically generated header files. (>=3.2.0)
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin/additions
|
||||
|
||||
insinto /sbin
|
||||
newins mount.vboxsf mount.vboxsf
|
||||
fperms 4755 /sbin/mount.vboxsf
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}-7.initd ${PN}
|
||||
|
||||
insinto /usr/sbin/
|
||||
newins VBoxService vboxguest-service
|
||||
fperms 0755 /usr/sbin/vboxguest-service
|
||||
|
||||
insinto /usr/bin
|
||||
doins VBoxControl
|
||||
fperms 0755 /usr/bin/VBoxControl
|
||||
|
||||
# VBoxClient user service and xrandr wrapper
|
||||
if use X; then
|
||||
doins VBoxClient
|
||||
fperms 0755 /usr/bin/VBoxClient
|
||||
|
||||
cd "${S}"/src/VBox/Additions/x11/Installer
|
||||
newins 98vboxadd-xclient VBoxClient-all
|
||||
fperms 0755 /usr/bin/VBoxClient-all
|
||||
fi
|
||||
|
||||
# udev rule for vboxdrv
|
||||
dodir /lib/udev/rules.d
|
||||
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
|
||||
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|
||||
|| die
|
||||
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
|
||||
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|
||||
|| die
|
||||
|
||||
# VBoxClient autostart file
|
||||
insinto /etc/xdg/autostart
|
||||
doins "${FILESDIR}"/vboxclient.desktop
|
||||
|
||||
# sample xorg.conf
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${FILESDIR}"/xorg.conf.vbox
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
if ! use X ; then
|
||||
elog "use flag X is off, enable it to install the"
|
||||
elog "X Window System input and video drivers"
|
||||
fi
|
||||
elog ""
|
||||
elog "Please add users to the \"vboxguest\" group so they can"
|
||||
elog "benefit from seamless mode, auto-resize and clipboard."
|
||||
elog ""
|
||||
elog "Please add:"
|
||||
elog "/etc/init.d/${PN}"
|
||||
elog "to the default runlevel in order to start"
|
||||
elog "needed services."
|
||||
elog "To use the VirtualBox X drivers, use the following"
|
||||
elog "file as your /etc/X11/xorg.conf:"
|
||||
elog " /usr/share/doc/${PF}/xorg.conf.xorg"
|
||||
elog ""
|
||||
elog "Also make sure you use the Mesa library for OpenGL:"
|
||||
elog " eselect opengl set xorg-x11"
|
||||
elog ""
|
||||
elog "An autostart .desktop file has been installed to start"
|
||||
elog "VBoxClient in desktop sessions."
|
||||
elog ""
|
||||
elog "You can mount shared folders with:"
|
||||
elog " mount -t vboxsf <shared_folder_name> <mount_point>"
|
||||
elog ""
|
||||
elog "Warning:"
|
||||
elog "this ebuild is only needed if you are running gentoo"
|
||||
elog "inside a VirtualBox Virtual Machine, you don't need"
|
||||
elog "it to run VirtualBox itself."
|
||||
elog ""
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST vbox-kernel-module-src-4.1.10.tar.xz 458956 RMD160 cc367f577348bec9aac13c6753cb70c1b7834683 SHA1 d88db3022d31b36da83a50a93a36081695e2bb3a SHA256 a5659cb71e9e22857c3f4e2b132a3c99323a33685eeb129af87ba87d549d219d
|
||||
DIST vbox-kernel-module-src-4.1.12.tar.xz 459148 RMD160 3cc0d80f0cd50259bd63b2b4353c4160f414d50c SHA1 f4cd83788dde4f735d10593f2676345a0ef3b91e SHA256 70707451b9dab6128005410f515f0c2c5d8c295b319243d9e623ae68c5acff1f
|
||||
DIST vbox-kernel-module-src-4.1.4.tar.bz2 505952 RMD160 c540fb563d6fdab747366c66d5e472ebffbd3639 SHA1 35a4274118d44bd8603fecfa93817ef129c8e57c SHA256 03577cd31e5ff322102e9bec1ed40f189c50d94032e2d62206b6541a0fda1fb8
|
||||
DIST vbox-kernel-module-src-4.1.8.tar.xz 457648 RMD160 2451d2c23e5ab14b70b9b6da79c164499a864eec SHA1 ac97198d3275a338905bb04efffde467bbeff9dc SHA256 565c9d9b193e88679549995d63c5796e19f881f9f95215f8cc6a11d13e749a9f
|
||||
DIST vbox-kernel-module-src-4.1.14.tar.xz 459068 RMD160 e952de92ef5bdfe66ee86e7ffa196e38c9f01481 SHA1 1be94e95110c9adf8d2fb18b139b826bebaac281 SHA256 9ae9caa701e3fcdc9d5139c203cb0a6801e4ccb3478491a5b614ae0e5cab3439
|
||||
|
@ -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/app-emulation/virtualbox-modules/virtualbox-modules-4.1.10.ebuild,v 1.1 2012/03/15 09:52:06 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.14.ebuild,v 1.1 2012/04/26 18:18:43 polynomial-c Exp $
|
||||
|
||||
# XXX: the tarball here is just the kernel modules split out of the binary
|
||||
# package that comes from virtualbox-bin
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.4.ebuild,v 1.5 2011/12/07 17:26:06 phajdan.jr Exp $
|
||||
|
||||
# XXX: the tarball here is just the kernel modules split out of the binary
|
||||
# package that comes from virtualbox-bin
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
MY_P=vbox-kernel-module-src-${PV}
|
||||
DESCRIPTION="Kernel Modules for Virtualbox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
RDEPEND="!=app-emulation/virtualbox-9999"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
|
||||
enewgroup vboxusers
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if kernel_is -ge 2 6 33 ; then
|
||||
# evil patch for new kernels - header moved
|
||||
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
|
||||
fi
|
||||
|
||||
if use pax_kernel && kernel_is -ge 3 0 0 ; then
|
||||
epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
elog "Starting with the 3.x release new kernel modules were added,"
|
||||
elog "be sure to load all the needed modules."
|
||||
elog ""
|
||||
elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:"
|
||||
elog "/etc/conf.d/modules"
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.8.ebuild,v 1.3 2012/04/09 12:04:48 maekke Exp $
|
||||
|
||||
# XXX: the tarball here is just the kernel modules split out of the binary
|
||||
# package that comes from virtualbox-bin
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
MY_P=vbox-kernel-module-src-${PV}
|
||||
DESCRIPTION="Kernel Modules for Virtualbox"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
SRC_URI="http://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
RDEPEND="!=app-emulation/virtualbox-9999"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
|
||||
enewgroup vboxusers
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if kernel_is -ge 2 6 33 ; then
|
||||
# evil patch for new kernels - header moved
|
||||
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
|
||||
fi
|
||||
|
||||
if use pax_kernel && kernel_is -ge 3 0 0 ; then
|
||||
epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
elog "Starting with the 3.x release new kernel modules were added,"
|
||||
elog "be sure to load all the needed modules."
|
||||
elog ""
|
||||
elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:"
|
||||
elog "/etc/conf.d/modules"
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST VirtualBox-4.1.10.tar.bz2 73325320 RMD160 b5eedd1235db74bfaa4e061193528696058923e7 SHA1 bb95253fd574648298bd56f13586f5a510a55863 SHA256 47e3faa607b405ea1d31e65a35984374e44f09f44a0f40607da6a773b31a57bf
|
||||
DIST VirtualBox-4.1.12.tar.bz2 73250628 RMD160 a3ee3e4dac21d969f5314c7269ca9ef9fa7d80a7 SHA1 4cda0678fa44ff53af87dbcd9375a43720c69d3f SHA256 4e4b9181a61ee9ccbe5fd28dbf528dde708fba490af5de6fac0d138b283b1d02
|
||||
DIST VirtualBox-4.1.4.tar.bz2 73837275 RMD160 475a68dc6beebdb588688743b3652bbb9ab3f507 SHA1 6ec0dd31844da91c9773611a6fb553eef575e899 SHA256 aa368de95f9dd2020394f9e8f145908c236c0899d24bb27436ed2f670725cefb
|
||||
DIST VirtualBox-4.1.8.tar.bz2 73822230 RMD160 f8ae296406fe370eded166d0772be7e4558ecc3a SHA1 4683e30aa32d0d6ca764e5ce366d7216705cf0f2 SHA256 ef16d6729c9bcc298a33eff636549872dcfe291ac01bfa117cdf7aaf8a4004e0
|
||||
DIST VirtualBox-4.1.14.tar.bz2 73260319 RMD160 68bb81486dad190a1bd74251ad32ee16d47be625 SHA1 126e61d5f7187d62b2b213b658912c83f49e6de6 SHA256 034cfd19d5dd701cd1375b994ad6f2d41c207b6760c6b8c5fe3005e53134dff8
|
||||
|
@ -1,391 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.1.10.ebuild,v 1.3 2012/04/05 07:44:41 polynomial-c Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils fdo-mime flag-o-matic linux-info pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# XXX: should finish merging the -9999 ebuild into this one ...
|
||||
ESVN_REPO_URI="http://www.virtualbox.org/svn/vbox/trunk"
|
||||
inherit linux-mod subversion
|
||||
else
|
||||
MY_P=VirtualBox-${PV}
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
dev-libs/libIDL
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
net-misc/curl
|
||||
dev-libs/openssl
|
||||
dev-libs/libxml2
|
||||
sys-libs/zlib
|
||||
!headless? (
|
||||
qt4? (
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-core:4
|
||||
opengl? ( x11-libs/qt-opengl:4 )
|
||||
x11-libs/libXinerama
|
||||
)
|
||||
opengl? ( virtual/opengl media-libs/freeglut )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
media-libs/libsdl[X,video]
|
||||
)
|
||||
vnc? ( >=net-libs/libvncserver-0.9.7 )
|
||||
java? ( virtual/jre:1.6 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.999
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
sys-power/iasl
|
||||
media-libs/libpng
|
||||
pam? ( sys-libs/pam )
|
||||
sys-libs/libcap
|
||||
doc? (
|
||||
dev-texlive/texlive-basic
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-fontsextra
|
||||
)
|
||||
java? ( virtual/jdk:1.6 )
|
||||
dev-util/pkgconfig
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
!headless? ( x11-libs/libXinerama )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
vboxwebsrv? ( >=net-libs/gsoap-2.7.13 )"
|
||||
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
|
||||
extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
|
||||
|
||||
QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
|
||||
usr/lib/virtualbox/VBoxSDL.so
|
||||
usr/lib/virtualbox/VBoxSharedFolders.so
|
||||
usr/lib/virtualbox/VBoxDD2.so
|
||||
usr/lib/virtualbox/VBoxOGLrenderspu.so
|
||||
usr/lib/virtualbox/VBoxPython.so
|
||||
usr/lib/virtualbox/VBoxDD.so
|
||||
usr/lib/virtualbox/VBoxDDU.so
|
||||
usr/lib/virtualbox/VBoxREM64.so
|
||||
usr/lib/virtualbox/VBoxSharedClipboard.so
|
||||
usr/lib/virtualbox/VBoxHeadless.so
|
||||
usr/lib/virtualbox/VBoxRT.so
|
||||
usr/lib/virtualbox/VBoxREM.so
|
||||
usr/lib/virtualbox/VBoxSettings.so
|
||||
usr/lib/virtualbox/VBoxKeyboard.so
|
||||
usr/lib/virtualbox/VBoxSharedCrOpenGL.so
|
||||
usr/lib/virtualbox/VBoxVMM.so
|
||||
usr/lib/virtualbox/VirtualBox.so
|
||||
usr/lib/virtualbox/VBoxOGLhosterrorspu.so
|
||||
usr/lib/virtualbox/components/VBoxC.so
|
||||
usr/lib/virtualbox/components/VBoxSVCM.so
|
||||
usr/lib/virtualbox/components/VBoxDDU.so
|
||||
usr/lib/virtualbox/components/VBoxRT.so
|
||||
usr/lib/virtualbox/components/VBoxREM.so
|
||||
usr/lib/virtualbox/components/VBoxVMM.so
|
||||
usr/lib/virtualbox/VBoxREM32.so
|
||||
usr/lib/virtualbox/VBoxPython2_4.so
|
||||
usr/lib/virtualbox/VBoxPython2_5.so
|
||||
usr/lib/virtualbox/VBoxPython2_6.so
|
||||
usr/lib/virtualbox/VBoxPython2_7.so
|
||||
usr/lib/virtualbox/VBoxXPCOMC.so
|
||||
usr/lib/virtualbox/VBoxOGLhostcrutil.so
|
||||
usr/lib/virtualbox/VBoxNetDHCP.so"
|
||||
|
||||
REQUIRED_USE="
|
||||
java? ( sdk )
|
||||
python? ( sdk )
|
||||
vboxwebsrv? ( java )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use headless && ! use qt4 ; then
|
||||
einfo "No USE=\"qt4\" selected, this build will not include"
|
||||
einfo "any Qt frontend."
|
||||
elif use headless && use qt4 ; then
|
||||
einfo "You selected USE=\"headless qt4\", defaulting to"
|
||||
einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
|
||||
fi
|
||||
|
||||
if ! use opengl ; then
|
||||
einfo "No USE=\"opengl\" selected, this build will lack"
|
||||
einfo "the OpenGL feature."
|
||||
fi
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
rm -rf kBuild/bin tools
|
||||
|
||||
# Disable things unused or split into separate ebuilds
|
||||
sed -e "s/MY_LIBDIR/$(get_libdir)/" \
|
||||
"${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
|
||||
|
||||
# unset useless/problematic checks in configure
|
||||
epatch "${FILESDIR}/${PN}-ose-3.2.8-mesa-check.patch" \
|
||||
"${FILESDIR}/${PN}-4-makeself-check.patch" \
|
||||
"${FILESDIR}/${PN}-4-mkisofs-check.patch"
|
||||
|
||||
# fix build with --as-needed (bug #249295 and bug #350907)
|
||||
epatch "${FILESDIR}/${PN}-4.1.4-asneeded.patch"
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -e "s/_LDFLAGS\.${ARCH}*.*=/& ${LDFLAGS}/g" \
|
||||
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
|
||||
|
||||
# We still want to use ${HOME}/.VirtualBox/Machines as machines dir.
|
||||
epatch "${FILESDIR}/${PN}-4.0.2-restore_old_machines_dir.patch"
|
||||
|
||||
# Don't build vboxpci.ko module (D'oh!)
|
||||
epatch "${FILESDIR}"/${PN}-4.1.2-vboxpci-build.patch
|
||||
|
||||
# Use PAM only when pam USE flag is enbaled (bug #376531)
|
||||
if ! use pam ; then
|
||||
elog "Disabling PAM removes the possibility to use the VRDP features."
|
||||
sed -i 's/^.*VBOX_WITH_PAM/#VBOX_WITH_PAM/' Config.kmk || die
|
||||
sed -i 's;\(.*/auth/Makefile.kmk.*\);#\1;' \
|
||||
src/VBox/HostServices/Makefile.kmk || die
|
||||
fi
|
||||
|
||||
# add correct java path
|
||||
if use java ; then
|
||||
sed "s:/usr/lib/jvm/java-6-sun:$(java-config -O):" \
|
||||
-i "${S}"/Config.kmk || die
|
||||
java-pkg-opt-2_src_prepare
|
||||
fi
|
||||
|
||||
# Fix compile error on hardened bug 339914 (disable PIE)
|
||||
if gcc-specs-pie ; then
|
||||
epatch "${FILESDIR}"/virtualbox_nopie.patch
|
||||
fi
|
||||
|
||||
# Link to correct gsoap library. Bug #408569
|
||||
# This has been fixed upstream and should be removed when virtualbox is
|
||||
# bumped
|
||||
epatch "${FILESDIR}"/${P}-libgsoapssl.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use alsa || myconf+=" --disable-alsa"
|
||||
use opengl || myconf+=" --disable-opengl"
|
||||
use pulseaudio || myconf+=" --disable-pulse"
|
||||
use python || myconf+=" --disable-python"
|
||||
use java || myconf+=" --disable-java"
|
||||
use vboxwebsrv && myconf+=" --enable-webservice"
|
||||
use vnc && myconf+=" --enable-vnc"
|
||||
use doc || myconf+=" --disable-docs"
|
||||
if ! use headless ; then
|
||||
use qt4 || myconf+=" --disable-qt4"
|
||||
else
|
||||
myconf+=" --build-headless --disable-opengl"
|
||||
fi
|
||||
# not an autoconf script
|
||||
./configure \
|
||||
--with-gcc="$(tc-getCC)" \
|
||||
--with-g++="$(tc-getCXX)" \
|
||||
--disable-kmods \
|
||||
--disable-dbus \
|
||||
${myconf} \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
|
||||
# and strip all flags
|
||||
# strip-flags
|
||||
|
||||
MAKE="kmk" emake \
|
||||
VBOX_VERSION_STRING='$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)'_Gentoo_ \
|
||||
TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
|
||||
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
|
||||
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
|
||||
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
|
||||
VBOX_GCC_OPT="${CXXFLAGS}" \
|
||||
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
|
||||
all || die "kmk failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin || die
|
||||
|
||||
# Create configuration files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
|
||||
|
||||
# Set the right libdir
|
||||
sed -i \
|
||||
-e "s/MY_LIBDIR/$(get_libdir)/" \
|
||||
"${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
|
||||
|
||||
# Symlink binaries to the shipped wrapper
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox" || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
|
||||
dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
|
||||
|
||||
# Install binaries and libraries
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r components || die
|
||||
|
||||
if use sdk ; then
|
||||
doins -r sdk || die
|
||||
fi
|
||||
|
||||
if use vboxwebsrv ; then
|
||||
doins vboxwebsrv || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
|
||||
doins $each || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
|
||||
|
||||
if ! use headless ; then
|
||||
for each in VBox{SDL,Headless} ; do
|
||||
doins $each || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
|
||||
if use opengl && use qt4 ; then
|
||||
doins VBoxTestOGL || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fi
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
|
||||
|
||||
if use qt4 ; then
|
||||
doins VirtualBox || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
|
||||
|
||||
newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
|
||||
fi
|
||||
|
||||
pushd "${S}"/src/VBox/Resources/OSE &>/dev/null || die
|
||||
for size in 16 20 32 40 48 64 128 ; do
|
||||
insinto /usr/share/icons/hicolor/${size}x${size}/apps
|
||||
newins ${PN}-${size}px.png ${PN}.png
|
||||
done
|
||||
insinto /usr/share/pixmaps
|
||||
newins ${PN}-48px.png ${PN}.png
|
||||
popd &>/dev/null || die
|
||||
else
|
||||
doins VBoxHeadless || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fi
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
# Install EFI Firmware files (bug #320757)
|
||||
pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
|
||||
for fwfile in VBoxEFI{32,64}.fd ; do
|
||||
doins ${fwfile} || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile} || die
|
||||
done
|
||||
popd &>/dev/null || die
|
||||
|
||||
# New way of handling USB device nodes for VBox (bug #356215)
|
||||
insinto /lib/udev
|
||||
doins VBoxCreateUSBNode.sh
|
||||
fowners root:vboxusers /lib/udev/VBoxCreateUSBNode.sh
|
||||
fperms 0750 /lib/udev/VBoxCreateUSBNode.sh
|
||||
insinto /lib/udev/rules.d
|
||||
doins "${FILESDIR}"/10-virtualbox.rules
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
if ! use headless && use qt4 ; then
|
||||
doins -r nls
|
||||
fi
|
||||
|
||||
# VRDPAuth only works with this (bug #351949)
|
||||
dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
if use java ; then
|
||||
java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
|
||||
java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
|
||||
|
||||
if ! use headless && use qt4 ; then
|
||||
elog "To launch VirtualBox just type: \"VirtualBox\"."
|
||||
fi
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "The latest user manual is available for download at:"
|
||||
elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
|
||||
elog ""
|
||||
elog "For advanced networking setups you should emerge:"
|
||||
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
|
||||
elog ""
|
||||
elog "IMPORTANT!"
|
||||
elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
|
||||
elog "\"env-update\" as root and logout and relogin as the user you wish"
|
||||
elog "to run ${PN} as."
|
||||
elog ""
|
||||
elog "Starting with version 4.0.0, ${PN} has USB-1 support."
|
||||
elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
|
||||
elog " app-emulation/virtualbox-extpack-oracle"
|
||||
elog "package."
|
||||
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
|
||||
elog ""
|
||||
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
|
||||
elog "or else USB in ${PN} won't work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,385 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.1.4.ebuild,v 1.6 2011/12/27 21:53:21 polynomial-c Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils fdo-mime flag-o-matic linux-info pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# XXX: should finish merging the -9999 ebuild into this one ...
|
||||
ESVN_REPO_URI="http://www.virtualbox.org/svn/vbox/trunk"
|
||||
inherit linux-mod subversion
|
||||
else
|
||||
MY_P=VirtualBox-${PV}
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}_OSE"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
dev-libs/libIDL
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
net-misc/curl
|
||||
dev-libs/openssl
|
||||
dev-libs/libxml2
|
||||
sys-libs/zlib
|
||||
!headless? (
|
||||
qt4? (
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-core:4
|
||||
opengl? ( x11-libs/qt-opengl:4 )
|
||||
x11-libs/libXinerama
|
||||
)
|
||||
opengl? ( virtual/opengl media-libs/freeglut )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
media-libs/libsdl[X,video]
|
||||
)
|
||||
vnc? ( >=net-libs/libvncserver-0.9.7 )
|
||||
java? ( >=virtual/jre-1.5 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.999
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
sys-power/iasl
|
||||
media-libs/libpng
|
||||
pam? ( sys-libs/pam )
|
||||
sys-libs/libcap
|
||||
doc? (
|
||||
dev-texlive/texlive-basic
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-fontsextra
|
||||
)
|
||||
java? ( >=virtual/jdk-1.5 )
|
||||
dev-util/pkgconfig
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
!headless? ( x11-libs/libXinerama )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
vboxwebsrv? ( >=net-libs/gsoap-2.7.13 )"
|
||||
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
|
||||
extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
|
||||
|
||||
QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
|
||||
usr/lib/virtualbox/VBoxSDL.so
|
||||
usr/lib/virtualbox/VBoxSharedFolders.so
|
||||
usr/lib/virtualbox/VBoxDD2.so
|
||||
usr/lib/virtualbox/VBoxOGLrenderspu.so
|
||||
usr/lib/virtualbox/VBoxPython.so
|
||||
usr/lib/virtualbox/VBoxDD.so
|
||||
usr/lib/virtualbox/VBoxDDU.so
|
||||
usr/lib/virtualbox/VBoxREM64.so
|
||||
usr/lib/virtualbox/VBoxSharedClipboard.so
|
||||
usr/lib/virtualbox/VBoxHeadless.so
|
||||
usr/lib/virtualbox/VBoxRT.so
|
||||
usr/lib/virtualbox/VBoxREM.so
|
||||
usr/lib/virtualbox/VBoxSettings.so
|
||||
usr/lib/virtualbox/VBoxKeyboard.so
|
||||
usr/lib/virtualbox/VBoxSharedCrOpenGL.so
|
||||
usr/lib/virtualbox/VBoxVMM.so
|
||||
usr/lib/virtualbox/VirtualBox.so
|
||||
usr/lib/virtualbox/VBoxOGLhosterrorspu.so
|
||||
usr/lib/virtualbox/components/VBoxC.so
|
||||
usr/lib/virtualbox/components/VBoxSVCM.so
|
||||
usr/lib/virtualbox/components/VBoxDDU.so
|
||||
usr/lib/virtualbox/components/VBoxRT.so
|
||||
usr/lib/virtualbox/components/VBoxREM.so
|
||||
usr/lib/virtualbox/components/VBoxVMM.so
|
||||
usr/lib/virtualbox/VBoxREM32.so
|
||||
usr/lib/virtualbox/VBoxPython2_4.so
|
||||
usr/lib/virtualbox/VBoxPython2_5.so
|
||||
usr/lib/virtualbox/VBoxPython2_6.so
|
||||
usr/lib/virtualbox/VBoxPython2_7.so
|
||||
usr/lib/virtualbox/VBoxXPCOMC.so
|
||||
usr/lib/virtualbox/VBoxOGLhostcrutil.so
|
||||
usr/lib/virtualbox/VBoxNetDHCP.so"
|
||||
|
||||
REQUIRED_USE="
|
||||
java? ( sdk )
|
||||
python? ( sdk )
|
||||
vboxwebsrv? ( java )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if built_with_use sys-devel/gcc hardened && gcc-config -c | grep -qv -E "hardenednopie|vanilla"; then
|
||||
eerror "The PIE feature provided by the \"hardened\" compiler is incompatible with ${PF}."
|
||||
eerror "You must use gcc-config to select a profile without this feature. You may"
|
||||
eerror "choose either \"hardenednopie\", \"hardenednopiessp\" or \"vanilla\" profile;"
|
||||
eerror "however, \"hardenednopie\" is preferred because it gives the most hardening."
|
||||
eerror "Remember to run \"source /etc/profile\" before continuing. See bug #339914."
|
||||
die
|
||||
fi
|
||||
|
||||
if ! use headless && ! use qt4 ; then
|
||||
einfo "No USE=\"qt4\" selected, this build will not include"
|
||||
einfo "any Qt frontend."
|
||||
elif use headless && use qt4 ; then
|
||||
einfo "You selected USE=\"headless qt4\", defaulting to"
|
||||
einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
|
||||
fi
|
||||
|
||||
if ! use opengl ; then
|
||||
einfo "No USE=\"opengl\" selected, this build will lack"
|
||||
einfo "the OpenGL feature."
|
||||
fi
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
rm -rf kBuild/bin tools
|
||||
|
||||
# Disable things unused or split into separate ebuilds
|
||||
sed -e "s/MY_LIBDIR/$(get_libdir)/" \
|
||||
"${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
|
||||
|
||||
# unset useless/problematic checks in configure
|
||||
epatch "${FILESDIR}/${PN}-ose-3.2.8-mesa-check.patch" \
|
||||
"${FILESDIR}/${PN}-4-makeself-check.patch" \
|
||||
"${FILESDIR}/${PN}-4-mkisofs-check.patch"
|
||||
|
||||
# fix build with --as-needed (bug #249295 and bug #350907)
|
||||
epatch "${FILESDIR}/${PN}-4.1.4-asneeded.patch"
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -e "s/_LDFLAGS\.${ARCH}*.*=/& ${LDFLAGS}/g" \
|
||||
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
|
||||
|
||||
# We still want to use ${HOME}/.VirtualBox/Machines as machines dir.
|
||||
epatch "${FILESDIR}/${PN}-4.0.2-restore_old_machines_dir.patch"
|
||||
|
||||
# Don't build vboxpci.ko module (D'oh!)
|
||||
epatch "${FILESDIR}"/${PN}-4.1.2-vboxpci-build.patch
|
||||
|
||||
# Fixed compilation with yasm-1.2.0 (bug #391189)
|
||||
epatch "${FILESDIR}"/${PN}-4.1.6-yasm120-fix.patch
|
||||
|
||||
# Use PAM only when pam USE flag is enbaled (bug #376531)
|
||||
if ! use pam ; then
|
||||
elog "Disabling PAM removes the possibility to use the VRDP features."
|
||||
sed -i 's/^.*VBOX_WITH_PAM/#VBOX_WITH_PAM/' Config.kmk || die
|
||||
sed -i 's;\(.*/auth/Makefile.kmk.*\);#\1;' \
|
||||
src/VBox/HostServices/Makefile.kmk || die
|
||||
fi
|
||||
|
||||
# add correct java path
|
||||
if use java ; then
|
||||
sed "s:/usr/lib/jvm/java-6-sun:$(java-config -O):" \
|
||||
-i "${S}"/Config.kmk || die
|
||||
java-pkg-opt-2_src_prepare
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use alsa || myconf+=" --disable-alsa"
|
||||
use opengl || myconf+=" --disable-opengl"
|
||||
use pulseaudio || myconf+=" --disable-pulse"
|
||||
use python || myconf+=" --disable-python"
|
||||
use java || myconf+=" --disable-java"
|
||||
use vboxwebsrv && myconf+=" --enable-webservice"
|
||||
use vnc && myconf+=" --enable-vnc"
|
||||
use doc || myconf+=" --disable-docs"
|
||||
if ! use headless ; then
|
||||
use qt4 || myconf+=" --disable-qt4"
|
||||
else
|
||||
myconf+=" --build-headless --disable-opengl"
|
||||
fi
|
||||
# not an autoconf script
|
||||
./configure \
|
||||
--with-gcc="$(tc-getCC)" \
|
||||
--with-g++="$(tc-getCXX)" \
|
||||
--disable-kmods \
|
||||
--disable-dbus \
|
||||
${myconf} \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
|
||||
# and strip all flags
|
||||
# strip-flags
|
||||
|
||||
MAKE="kmk" emake \
|
||||
VBOX_VERSION_STRING='$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)'-Gentoo_ \
|
||||
TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
|
||||
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
|
||||
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
|
||||
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
|
||||
VBOX_GCC_OPT="${CXXFLAGS}" \
|
||||
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
|
||||
all || die "kmk failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin || die
|
||||
|
||||
# Create configuration files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
|
||||
|
||||
# Set the right libdir
|
||||
sed -i \
|
||||
-e "s/MY_LIBDIR/$(get_libdir)/" \
|
||||
"${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
|
||||
|
||||
# Symlink binaries to the shipped wrapper
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox" || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
|
||||
dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
|
||||
|
||||
# Install binaries and libraries
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r components || die
|
||||
|
||||
if use sdk ; then
|
||||
doins -r sdk || die
|
||||
fi
|
||||
|
||||
if use vboxwebsrv ; then
|
||||
doins vboxwebsrv || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
|
||||
doins $each || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
|
||||
|
||||
if ! use headless ; then
|
||||
for each in VBox{SDL,Headless} ; do
|
||||
doins $each || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
|
||||
if use opengl && use qt4 ; then
|
||||
doins VBoxTestOGL || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fi
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
|
||||
|
||||
if use qt4 ; then
|
||||
doins VirtualBox || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
|
||||
|
||||
newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
|
||||
fi
|
||||
|
||||
newicon "${S}"/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_32px.png ${PN}.png
|
||||
else
|
||||
doins VBoxHeadless || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fi
|
||||
|
||||
# Install EFI Firmware files (bug #320757)
|
||||
pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
|
||||
for fwfile in VBoxEFI{32,64}.fd ; do
|
||||
doins ${fwfile} || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile} || die
|
||||
done
|
||||
popd &>/dev/null || die
|
||||
|
||||
# New way of handling USB device nodes for VBox (bug #356215)
|
||||
insinto /lib/udev
|
||||
doins VBoxCreateUSBNode.sh
|
||||
fowners root:vboxusers /lib/udev/VBoxCreateUSBNode.sh
|
||||
fperms 0750 /lib/udev/VBoxCreateUSBNode.sh
|
||||
insinto /lib/udev/rules.d
|
||||
doins "${FILESDIR}"/10-virtualbox.rules
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
if ! use headless && use qt4 ; then
|
||||
doins -r nls
|
||||
fi
|
||||
|
||||
# VRDPAuth only works with this (bug #351949)
|
||||
dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
if use java ; then
|
||||
java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
|
||||
java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
|
||||
|
||||
if ! use headless && use qt4 ; then
|
||||
elog "To launch VirtualBox just type: \"VirtualBox\"."
|
||||
fi
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "The latest user manual is available for download at:"
|
||||
elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
|
||||
elog ""
|
||||
elog "For advanced networking setups you should emerge:"
|
||||
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
|
||||
elog ""
|
||||
elog "IMPORTANT!"
|
||||
elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
|
||||
elog "\"env-update\" as root and logout and relogin as the user you wish"
|
||||
elog "to run ${PN} as."
|
||||
elog ""
|
||||
elog "Starting with version 4.0.0, ${PN} has USB-1 support."
|
||||
elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
|
||||
elog " app-emulation/virtualbox-extpack-oracle"
|
||||
elog "package."
|
||||
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
|
||||
elog ""
|
||||
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
|
||||
elog "or else USB in ${PN} won't work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,390 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.1.8.ebuild,v 1.5 2012/04/09 12:07:27 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils fdo-mime flag-o-matic linux-info pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# XXX: should finish merging the -9999 ebuild into this one ...
|
||||
ESVN_REPO_URI="http://www.virtualbox.org/svn/vbox/trunk"
|
||||
inherit linux-mod subversion
|
||||
else
|
||||
MY_P=VirtualBox-${PV}
|
||||
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}_OSE"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
|
||||
HOMEPAGE="http://www.virtualbox.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
|
||||
|
||||
RDEPEND="!app-emulation/virtualbox-bin
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
dev-libs/libIDL
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
net-misc/curl
|
||||
dev-libs/openssl
|
||||
dev-libs/libxml2
|
||||
sys-libs/zlib
|
||||
!headless? (
|
||||
qt4? (
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-core:4
|
||||
opengl? ( x11-libs/qt-opengl:4 )
|
||||
x11-libs/libXinerama
|
||||
)
|
||||
opengl? ( virtual/opengl media-libs/freeglut )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
media-libs/libsdl[X,video]
|
||||
)
|
||||
vnc? ( >=net-libs/libvncserver-0.9.7 )
|
||||
java? ( virtual/jre:1.6 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/kbuild-0.1.999
|
||||
>=dev-lang/yasm-0.6.2
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
sys-power/iasl
|
||||
media-libs/libpng
|
||||
pam? ( sys-libs/pam )
|
||||
sys-libs/libcap
|
||||
doc? (
|
||||
dev-texlive/texlive-basic
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-fontsextra
|
||||
)
|
||||
java? ( virtual/jdk:1.6 )
|
||||
dev-util/pkgconfig
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
!headless? ( x11-libs/libXinerama )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
vboxwebsrv? ( >=net-libs/gsoap-2.7.13 )"
|
||||
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
|
||||
extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
|
||||
|
||||
QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
|
||||
usr/lib/virtualbox/VBoxSDL.so
|
||||
usr/lib/virtualbox/VBoxSharedFolders.so
|
||||
usr/lib/virtualbox/VBoxDD2.so
|
||||
usr/lib/virtualbox/VBoxOGLrenderspu.so
|
||||
usr/lib/virtualbox/VBoxPython.so
|
||||
usr/lib/virtualbox/VBoxDD.so
|
||||
usr/lib/virtualbox/VBoxDDU.so
|
||||
usr/lib/virtualbox/VBoxREM64.so
|
||||
usr/lib/virtualbox/VBoxSharedClipboard.so
|
||||
usr/lib/virtualbox/VBoxHeadless.so
|
||||
usr/lib/virtualbox/VBoxRT.so
|
||||
usr/lib/virtualbox/VBoxREM.so
|
||||
usr/lib/virtualbox/VBoxSettings.so
|
||||
usr/lib/virtualbox/VBoxKeyboard.so
|
||||
usr/lib/virtualbox/VBoxSharedCrOpenGL.so
|
||||
usr/lib/virtualbox/VBoxVMM.so
|
||||
usr/lib/virtualbox/VirtualBox.so
|
||||
usr/lib/virtualbox/VBoxOGLhosterrorspu.so
|
||||
usr/lib/virtualbox/components/VBoxC.so
|
||||
usr/lib/virtualbox/components/VBoxSVCM.so
|
||||
usr/lib/virtualbox/components/VBoxDDU.so
|
||||
usr/lib/virtualbox/components/VBoxRT.so
|
||||
usr/lib/virtualbox/components/VBoxREM.so
|
||||
usr/lib/virtualbox/components/VBoxVMM.so
|
||||
usr/lib/virtualbox/VBoxREM32.so
|
||||
usr/lib/virtualbox/VBoxPython2_4.so
|
||||
usr/lib/virtualbox/VBoxPython2_5.so
|
||||
usr/lib/virtualbox/VBoxPython2_6.so
|
||||
usr/lib/virtualbox/VBoxPython2_7.so
|
||||
usr/lib/virtualbox/VBoxXPCOMC.so
|
||||
usr/lib/virtualbox/VBoxOGLhostcrutil.so
|
||||
usr/lib/virtualbox/VBoxNetDHCP.so"
|
||||
|
||||
REQUIRED_USE="
|
||||
java? ( sdk )
|
||||
python? ( sdk )
|
||||
vboxwebsrv? ( java )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if built_with_use sys-devel/gcc hardened && gcc-config -c | grep -qv -E "hardenednopie|vanilla"; then
|
||||
eerror "The PIE feature provided by the \"hardened\" compiler is incompatible with ${PF}."
|
||||
eerror "You must use gcc-config to select a profile without this feature. You may"
|
||||
eerror "choose either \"hardenednopie\", \"hardenednopiessp\" or \"vanilla\" profile;"
|
||||
eerror "however, \"hardenednopie\" is preferred because it gives the most hardening."
|
||||
eerror "Remember to run \"source /etc/profile\" before continuing. See bug #339914."
|
||||
die
|
||||
fi
|
||||
|
||||
if ! use headless && ! use qt4 ; then
|
||||
einfo "No USE=\"qt4\" selected, this build will not include"
|
||||
einfo "any Qt frontend."
|
||||
elif use headless && use qt4 ; then
|
||||
einfo "You selected USE=\"headless qt4\", defaulting to"
|
||||
einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
|
||||
fi
|
||||
|
||||
if ! use opengl ; then
|
||||
einfo "No USE=\"opengl\" selected, this build will lack"
|
||||
einfo "the OpenGL feature."
|
||||
fi
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove shipped binaries (kBuild,yasm), see bug #232775
|
||||
rm -rf kBuild/bin tools
|
||||
|
||||
# Disable things unused or split into separate ebuilds
|
||||
sed -e "s/MY_LIBDIR/$(get_libdir)/" \
|
||||
"${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
|
||||
|
||||
# unset useless/problematic checks in configure
|
||||
epatch "${FILESDIR}/${PN}-ose-3.2.8-mesa-check.patch" \
|
||||
"${FILESDIR}/${PN}-4-makeself-check.patch" \
|
||||
"${FILESDIR}/${PN}-4-mkisofs-check.patch"
|
||||
|
||||
# fix build with --as-needed (bug #249295 and bug #350907)
|
||||
epatch "${FILESDIR}/${PN}-4.1.4-asneeded.patch"
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -e "s/_LDFLAGS\.${ARCH}*.*=/& ${LDFLAGS}/g" \
|
||||
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
|
||||
|
||||
# We still want to use ${HOME}/.VirtualBox/Machines as machines dir.
|
||||
epatch "${FILESDIR}/${PN}-4.0.2-restore_old_machines_dir.patch"
|
||||
|
||||
# Don't build vboxpci.ko module (D'oh!)
|
||||
epatch "${FILESDIR}"/${PN}-4.1.2-vboxpci-build.patch
|
||||
|
||||
# Use PAM only when pam USE flag is enbaled (bug #376531)
|
||||
if ! use pam ; then
|
||||
elog "Disabling PAM removes the possibility to use the VRDP features."
|
||||
sed -i 's/^.*VBOX_WITH_PAM/#VBOX_WITH_PAM/' Config.kmk || die
|
||||
sed -i 's;\(.*/auth/Makefile.kmk.*\);#\1;' \
|
||||
src/VBox/HostServices/Makefile.kmk || die
|
||||
fi
|
||||
|
||||
# add correct java path
|
||||
if use java ; then
|
||||
sed "s:/usr/lib/jvm/java-6-sun:$(java-config -O):" \
|
||||
-i "${S}"/Config.kmk || die
|
||||
java-pkg-opt-2_src_prepare
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use alsa || myconf+=" --disable-alsa"
|
||||
use opengl || myconf+=" --disable-opengl"
|
||||
use pulseaudio || myconf+=" --disable-pulse"
|
||||
use python || myconf+=" --disable-python"
|
||||
use java || myconf+=" --disable-java"
|
||||
use vboxwebsrv && myconf+=" --enable-webservice"
|
||||
use vnc && myconf+=" --enable-vnc"
|
||||
use doc || myconf+=" --disable-docs"
|
||||
if ! use headless ; then
|
||||
use qt4 || myconf+=" --disable-qt4"
|
||||
else
|
||||
myconf+=" --build-headless --disable-opengl"
|
||||
fi
|
||||
# not an autoconf script
|
||||
./configure \
|
||||
--with-gcc="$(tc-getCC)" \
|
||||
--with-g++="$(tc-getCXX)" \
|
||||
--disable-kmods \
|
||||
--disable-dbus \
|
||||
${myconf} \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh
|
||||
|
||||
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
|
||||
# and strip all flags
|
||||
# strip-flags
|
||||
|
||||
MAKE="kmk" emake \
|
||||
VBOX_VERSION_STRING='$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)'-Gentoo_ \
|
||||
TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
|
||||
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
|
||||
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
|
||||
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
|
||||
VBOX_GCC_OPT="${CXXFLAGS}" \
|
||||
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
|
||||
all || die "kmk failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/out/linux.${ARCH}/release/bin || die
|
||||
|
||||
# Create configuration files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
|
||||
|
||||
# Set the right libdir
|
||||
sed -i \
|
||||
-e "s/MY_LIBDIR/$(get_libdir)/" \
|
||||
"${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
|
||||
|
||||
# Symlink binaries to the shipped wrapper
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox" || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
|
||||
dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
|
||||
|
||||
# Install binaries and libraries
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r components || die
|
||||
|
||||
if use sdk ; then
|
||||
doins -r sdk || die
|
||||
fi
|
||||
|
||||
if use vboxwebsrv ; then
|
||||
doins vboxwebsrv || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
|
||||
doins $each || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
|
||||
|
||||
if ! use headless ; then
|
||||
for each in VBox{SDL,Headless} ; do
|
||||
doins $each || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
|
||||
done
|
||||
|
||||
if use opengl && use qt4 ; then
|
||||
doins VBoxTestOGL || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
|
||||
fi
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
|
||||
|
||||
if use qt4 ; then
|
||||
doins VirtualBox || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
|
||||
|
||||
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
|
||||
|
||||
newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
|
||||
fi
|
||||
|
||||
pushd "${S}"/src/VBox/Resources/OSE &>/dev/null || die
|
||||
for size in 16 20 32 40 48 64 128 ; do
|
||||
insinto /usr/share/icons/hicolor/${size}x${size}/apps
|
||||
newins ${PN}-${size}px.png ${PN}.png
|
||||
done
|
||||
insinto /usr/share/pixmaps
|
||||
newins ${PN}-48px.png ${PN}.png
|
||||
popd &>/dev/null || die
|
||||
else
|
||||
doins VBoxHeadless || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
|
||||
fi
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
# Install EFI Firmware files (bug #320757)
|
||||
pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
|
||||
for fwfile in VBoxEFI{32,64}.fd ; do
|
||||
doins ${fwfile} || die
|
||||
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile} || die
|
||||
done
|
||||
popd &>/dev/null || die
|
||||
|
||||
# New way of handling USB device nodes for VBox (bug #356215)
|
||||
insinto /lib/udev
|
||||
doins VBoxCreateUSBNode.sh
|
||||
fowners root:vboxusers /lib/udev/VBoxCreateUSBNode.sh
|
||||
fperms 0750 /lib/udev/VBoxCreateUSBNode.sh
|
||||
insinto /lib/udev/rules.d
|
||||
doins "${FILESDIR}"/10-virtualbox.rules
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
if ! use headless && use qt4 ; then
|
||||
doins -r nls
|
||||
fi
|
||||
|
||||
# VRDPAuth only works with this (bug #351949)
|
||||
dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
if use java ; then
|
||||
java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
|
||||
java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
|
||||
|
||||
if ! use headless && use qt4 ; then
|
||||
elog "To launch VirtualBox just type: \"VirtualBox\"."
|
||||
fi
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "The latest user manual is available for download at:"
|
||||
elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
|
||||
elog ""
|
||||
elog "For advanced networking setups you should emerge:"
|
||||
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
|
||||
elog ""
|
||||
elog "IMPORTANT!"
|
||||
elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
|
||||
elog "\"env-update\" as root and logout and relogin as the user you wish"
|
||||
elog "to run ${PN} as."
|
||||
elog ""
|
||||
elog "Starting with version 4.0.0, ${PN} has USB-1 support."
|
||||
elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
|
||||
elog " app-emulation/virtualbox-extpack-oracle"
|
||||
elog "package."
|
||||
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
|
||||
elog ""
|
||||
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
|
||||
elog "or else USB in ${PN} won't work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,49 +1,52 @@
|
||||
DIST calligra-l10n-ca-2.3.92.tar.bz2 567109 RMD160 0bc66eafbbc31ddaf89b7a8827a38a90e5dd16a2 SHA1 257a2ef3f207e90d6df88300c2655d5f3eb0ead4 SHA256 2f952674f851ca6e4f419359e2e0156bc0041989aa87b641139e3ae0e2ea974b
|
||||
DIST calligra-l10n-ca-2.4.0.tar.bz2 570736 RMD160 15588839f08061bfee2ab53d2da36de9e3779263 SHA1 81915385c3cfe91822e0795573f06fce696570a5 SHA256 3ae4f0a5b04e1b30c995d14f8f96fac9bc1b775e675c1523df2591b2d0a773b5
|
||||
DIST calligra-l10n-ca@valencia-2.3.92.tar.bz2 373574 RMD160 e03ce276f4058e260ffbf1fa655665847ab1a021 SHA1 89d5bcb42cf6cf1b9f352d33e25e9f6ccb5245d4 SHA256 97f830a47a6e58184033e066b49724204ac559026d01697417c72ea976c9ee57
|
||||
DIST calligra-l10n-ca-2.4.1.tar.bz2 445839 RMD160 6808ee093919f2775d8fa67a7573d9a3a84a0c05 SHA1 c80dd3ab66288af837d751aea295fad6b79173fd SHA256 e91358b9c7370a252fc17aca8c04d5aae1e21949eecdf11b29ce099f7a0e15fa
|
||||
DIST calligra-l10n-ca@valencia-2.4.0.tar.bz2 373669 RMD160 f1eae3daefdc2d6f606ea492a39b8460051f7242 SHA1 fd5e2a7ac5202d6197624237af3aa29718380fd6 SHA256 2333d508b098cfeafa5f92e0ea858a0a6798361f408d8476e23f759eb0998843
|
||||
DIST calligra-l10n-cs-2.3.92.tar.bz2 348586 RMD160 3338f8b94fa468b2a92fc7e95cb184e5a6d5b259 SHA1 0339902d94876d857ecedcc0c2b190b1bda33af2 SHA256 0baeb9d21e25fa0fab9c40387978b460861d491e0e34a9f32973b6de75f7ddd7
|
||||
DIST calligra-l10n-ca@valencia-2.4.1.tar.bz2 272051 RMD160 8bf42feb86db2f2f66ac382c877bc20ad52987e2 SHA1 6da2ec3b13c5c76ec3779029298eed4c1d5dbc04 SHA256 47ffb1182e24f103d5ea2d458c247abe7e717e6d3030a2ec659766ef4338d55d
|
||||
DIST calligra-l10n-cs-2.4.0.tar.bz2 348422 RMD160 8cc4ee8160c44483b95b0b5ebab80567affc1f8c SHA1 33a09a399dbaa5d64c8e15935efafeca4dbef25f SHA256 47368486d0f91c6f14429fba929c55367476dbbd8878a4bd663cad4743302836
|
||||
DIST calligra-l10n-da-2.3.92.tar.bz2 545424 RMD160 25339953012d36253d5ac946d9c55390b17ec999 SHA1 c705ff36ded75bba8daf9919bb293984e4f87ac7 SHA256 e6f958d3bc1790a79299bc51de2b368b6675cdd5c44de8a8305ffc67d1e97d7d
|
||||
DIST calligra-l10n-cs-2.4.1.tar.bz2 348465 RMD160 c1c87dfc56156ce1e3e33c119a1394e8a44cd386 SHA1 6ad3988a7b5ad42afffbb7b3e6754a2a15593c61 SHA256 66b39dba1035791ca3f384a345917a1a75c1f3d18d05f9e1418c31f4583f7df5
|
||||
DIST calligra-l10n-da-2.4.0.tar.bz2 547503 RMD160 180b651a8141a023f9547b6cd43b27dd77e4e5e8 SHA1 896775fe6869bfcce1565af5c4bba7cb52486aed SHA256 7f3707dad31d4d916da00231149a8b28198ebdafd53a2b9cdc5d8881c1095433
|
||||
DIST calligra-l10n-de-2.3.92.tar.bz2 700457 RMD160 72c3b81444a825a443de17aa823733359f1c4394 SHA1 914b91ec679510677a15179f0fd79650aafd32d5 SHA256 1777ef19ff488bb78128d662fb713be36dc9c9d537f77d094d6c6c2006f5c77b
|
||||
DIST calligra-l10n-da-2.4.1.tar.bz2 547245 RMD160 4f0b8b00bed56d9293d729ff66ea2792919d4569 SHA1 925a0e32c9298abecb8518afd139674365d2b5b5 SHA256 7ff2f6120bd8ac686495ef9471cd212a0ff02b5bc96fe8d2b3323a3c1d75b096
|
||||
DIST calligra-l10n-de-2.4.0.tar.bz2 708479 RMD160 ae9b20a583384fe9d66559b81410b6cba7055d98 SHA1 c02c798576c0e100cf675ae612aca62090e71e88 SHA256 97cb0cc2c21e271a82434e26ddaea5a2762c755657cf6e1e76309119bcd9bfa1
|
||||
DIST calligra-l10n-el-2.3.92.tar.bz2 417001 RMD160 6977b58f3c6f3a853d2ba57cf0330265559e348f SHA1 c5ef8b63d5eae9422731ece3a5f1eabac6a05e88 SHA256 f4e3266572ed454783b040abce75785e37a4db1a9fe0a506294b3eb08d53c63f
|
||||
DIST calligra-l10n-de-2.4.1.tar.bz2 717222 RMD160 3d1f191669894b90b53e02330ed0deae6db9b5a7 SHA1 28fac826898d1af82e89c1312bfc4f6b7b7134c1 SHA256 1bdbe3886f907edf1bd590baef5d38f4bf35a6d07b687c078cd5e8156c8fe773
|
||||
DIST calligra-l10n-el-2.4.0.tar.bz2 418604 RMD160 d9f1f29c72f8f77a10928c81547686651deaa198 SHA1 1a067e1a37f713e1909fd4b7870fc43d3b754c3f SHA256 20ee3e5e3ec5f469427052fc0ab15c4196c62cfe1cba99876ede3fa975e09d94
|
||||
DIST calligra-l10n-en_GB-2.3.92.tar.bz2 391742 RMD160 112c4fd160447384c36876c5305983e6ccd17b74 SHA1 925325e37942941ff61b7325b49cc82c96c35c02 SHA256 45a3136d7609fdedbde063c02326aa906c9dd35ab6fea22efc81f8408deb8ebe
|
||||
DIST calligra-l10n-el-2.4.1.tar.bz2 418084 RMD160 bde144c28c695d4e79ecfd3d3724b5a03cb442ca SHA1 b3af9583ad89413b40757875b608c960975084ad SHA256 0d8632a70cee7c4b4772662862edca9bc031c2e9dddce834d6cfc3ef1af8c000
|
||||
DIST calligra-l10n-en_GB-2.4.0.tar.bz2 391663 RMD160 d24b10e221b560ceec88dec236fcf574220a8f78 SHA1 ddfa151543755099fb9377245ce85a9d1627a534 SHA256 932922410d573e1df184114029ceeb23582390c427146fda60017c414644b656
|
||||
DIST calligra-l10n-es-2.3.92.tar.bz2 4383361 RMD160 1d186b8cd5ca47f7036855207376426342a0e39f SHA1 3ca2828ad0b897af655773947ca046cd621889c0 SHA256 d6cf9979f1f8132419bcc91fbaf1e5955adf9e05ef552c9e2230ad5f3a1c3b98
|
||||
DIST calligra-l10n-en_GB-2.4.1.tar.bz2 391616 RMD160 52d7318df610c5bbc1d4046e2ce8ed13ce2ec890 SHA1 a6a17ea973fdcf8c7b97cb9746c94c956e1b5f77 SHA256 c6ff94d764e2e8d25e2e82eb2238f53f010009a4372af7e6c71d73d0b68d08f9
|
||||
DIST calligra-l10n-es-2.4.0.tar.bz2 4387963 RMD160 a1a3c83c6dc4bcedab661c0a9178c5f8333a08b4 SHA1 8a5c0cbf79a9f516e832c206c120aceddc407091 SHA256 46de265b932e739c213a4bf8da41f97d17a0a2d487953d700981adea88168704
|
||||
DIST calligra-l10n-et-2.3.92.tar.bz2 683273 RMD160 febb59f8d399640dffddf55e544be2b66261202f SHA1 a5ca218740524231240ade7afe079a040d74f242 SHA256 c5baeda71bf9b35f3f730f97e36a2a49112b959b64c585c216cde56bfd390f76
|
||||
DIST calligra-l10n-es-2.4.1.tar.bz2 4379808 RMD160 ec77d4422d6d824221a6bcd28aae121651bc7ebf SHA1 889ac2aa840615872bf55d069f7e617704872a5f SHA256 d7bf511c489a1c5295550d596a180e57528bfef24d4ee5da976b53971ee58055
|
||||
DIST calligra-l10n-et-2.4.0.tar.bz2 687791 RMD160 da6d98d00ae2e613831ef31727e29466fe9f17f7 SHA1 019d43b9d6507fd40c5bca45d66adc99a46a9ae7 SHA256 59631532e5d3db624f4c77ccf3cd341d68fdb0e7bb5df26858d6ed72d2f8f7db
|
||||
DIST calligra-l10n-et-2.4.1.tar.bz2 686462 RMD160 4ffb7ad12c2172c2a6b6e259aa89190687fbc910 SHA1 45a05296ce9bf067430b0cfb48efb64f9c093cd9 SHA256 9ae5f5a72448043ec5531abad4b62e5e7debcc79ae11649b73fede4653c500a4
|
||||
DIST calligra-l10n-fi-2.4.0.tar.bz2 395525 RMD160 966cbc0ffffc89e03e1589b187c16f6136bed690 SHA1 2e6c2820ef06fc498b579075a903699ad8721c63 SHA256 4d38cfbfb4954082efe27cd26454d86f73093983f9803c369e2173d81436d78f
|
||||
DIST calligra-l10n-fr-2.3.92.tar.bz2 5608805 RMD160 235fb7758ae001412588e2d486ab7cd84d6137c9 SHA1 55c25df105fe9788b172bc6302512c8b5f6f3ef8 SHA256 944ded0209083237bb8a9981e8c32bba12147b3c370a4ec614a7ef4730008777
|
||||
DIST calligra-l10n-fi-2.4.1.tar.bz2 404655 RMD160 357f95edec3a302338346ebd55502342d49a424b SHA1 bf6e9daed60c81e89681741cea131c6d2bde9467 SHA256 be8938bbea19794e55ba2d980084780a69fc7d3aa8a62a68af6a9257fbb865c9
|
||||
DIST calligra-l10n-fr-2.4.0.tar.bz2 5612643 RMD160 2e565893310671fa094514cef67460434d044092 SHA1 085d1fa841e93fee0daf938988c5a0f4441d0540 SHA256 5e79438727b5711ba5b6a3936a24b2a4c88aaf9f6110f1cc7c4b794b2bb127be
|
||||
DIST calligra-l10n-fr-2.4.1.tar.bz2 5612296 RMD160 39afbdcd2d59d0e98c795a0a975bc965f6398a4e SHA1 b5549206def719a2d7afd4d4332c62b33dc88913 SHA256 6c86b8e69f4bec22e27e50b23f68459715138d922d850ccbff7cd0dca09a692d
|
||||
DIST calligra-l10n-hu-2.4.0.tar.bz2 447663 RMD160 cac1b2975166cb98153395f0f595b1cb8c1d6de5 SHA1 7d0d828e46939c1138c04ea44cdf0208f6b3ab51 SHA256 177a37f2cb1e8946f5c009746b2d62f40590dd56bccecae5d9a9c53c8a88a01a
|
||||
DIST calligra-l10n-it-2.3.92.tar.bz2 548597 RMD160 ed1c1164c4c27a1a1c9848fab5b938bc52476b9d SHA1 88668a2d4de03f7def382eba6c07987ad4e0c43a SHA256 706aa2f4f435e42e6e5623b96cc6b94acc19fc2848e4eb39bb61f1b151b749b8
|
||||
DIST calligra-l10n-hu-2.4.1.tar.bz2 447794 RMD160 e4bf3f907496fa4f9df924523ef9a7a4d1c78e37 SHA1 f0c865d090d0ad0a1e36bc6cdb19496d2872371b SHA256 c9825c7068eff7576ec90ebd3ef2a6c658c00d0f97a7e0e18db28db0b488087b
|
||||
DIST calligra-l10n-it-2.4.0.tar.bz2 626216 RMD160 97f3abdacbec18b27b155968207891bfb96a1412 SHA1 9d2c7506bad8b700285f695a7a2f836d07d0f253 SHA256 602675c88175f3b1f2a47e5c6d1871d222a60c302e776e7375024cdfbe859975
|
||||
DIST calligra-l10n-kk-2.3.92.tar.bz2 405599 RMD160 3dcaba9735cad204ce3175983cabc8ae36809af6 SHA1 d3748cd802567c620a2c36002725cdb79a351130 SHA256 d2a93a16135a01942d1ba8ecb1984863d2be0af2dad539e04c8741d4874e05e3
|
||||
DIST calligra-l10n-it-2.4.1.tar.bz2 626451 RMD160 2b8790361f9791d2919535447bb80deac7ee5652 SHA1 70bed20680b80d99acddf68c91ce5772c450517d SHA256 d19e62093c887c099de85abaa867b62efeef7fe4b02eb241ce2c7f5d8cdb24cb
|
||||
DIST calligra-l10n-kk-2.4.0.tar.bz2 405417 RMD160 0f83c6eaf4916319b9f7b80df70dc3c22df9cb00 SHA1 882e7b381d12fd89803a872656f8b4afaaf40f19 SHA256 522c553c9c20abc45f2120316f4e1ac48fec50c591928e911ab31d395cb9ab4f
|
||||
DIST calligra-l10n-nb-2.3.92.tar.bz2 368199 RMD160 9e7457582bab7561bc7cb205b899c15eb57acc99 SHA1 196b00d2196dce9a88298c3c9b72f838b08a746c SHA256 aefd7610de51b49466e7cb577044c03d71e49a5b92dc57a8519f3c9d9097bf56
|
||||
DIST calligra-l10n-kk-2.4.1.tar.bz2 405347 RMD160 f3052b520d644e7da0de16e7f92eb9f5a0a01495 SHA1 08f8e5a6d977278a27367ef306d47508774ff4b2 SHA256 11c9635ea1cb1c02dbb914d713df965252da78d6eb213d266293a51eee52e31a
|
||||
DIST calligra-l10n-nb-2.4.0.tar.bz2 367160 RMD160 85e66407ad5c2e1a35384a404c8e3c7341fa1c93 SHA1 c4bf514b578038b613cf509bb566d1789e76f07e SHA256 5331d0ecc220bfbe2eb2059b3cea09721be8705d839e2c9f42e67bf7ee335f20
|
||||
DIST calligra-l10n-nds-2.3.92.tar.bz2 413573 RMD160 b68c4ff471c200789295a7bb5f68b9c33f886a68 SHA1 267954e5792e2bbff635d6bf0282c6bd1f5fae3f SHA256 486c67e8ce96eac83f3000f565afc93120b58175d7b769fb0cd07f8307688ce8
|
||||
DIST calligra-l10n-nb-2.4.1.tar.bz2 367089 RMD160 5842220708fd2c0f81406697f185291a50447658 SHA1 064d2b8be1d551dd62197d64ab006cbbc6b0b563 SHA256 c7ec9e41c3f0bcef23dcf38dc5d6ee6ff796f91eaf7c466a61f68a84d262cfc5
|
||||
DIST calligra-l10n-nds-2.4.0.tar.bz2 413495 RMD160 6778fa40522883999edfcd48986a87b858f7ffaa SHA1 9e3dfe58619a112d3df5066bf105da3b02503721 SHA256 edb1c067a9f1cde256523197aad1ec52adbd79fd9a3ae58921b693307ca4d1f9
|
||||
DIST calligra-l10n-nl-2.3.92.tar.bz2 3080793 RMD160 fb7f33cdb9273226ed00e72a62e18fdf716b88a0 SHA1 6c3040a16584f2ef718cac45e0f1e69af69a2b26 SHA256 9d4862bf11a7a860435cb5742027a714848230970e32d3c58a7117c075579e68
|
||||
DIST calligra-l10n-nds-2.4.1.tar.bz2 413675 RMD160 ccaa5f4d5ed395e71e3407dec87b4c50daf1f1f9 SHA1 69c38219b76e24370f01c3138518708be0d2333e SHA256 a870724d97992877c32b98f56a31f0d6d504affd8668f61eb78ecf1e1c80280d
|
||||
DIST calligra-l10n-nl-2.4.0.tar.bz2 3101104 RMD160 8749eea191d7cba73dd7bd4ac86572ba786976f7 SHA1 2f0349f3d78906cce50e54e6fdf907d2c633bbc5 SHA256 b97f23ce76bc969db909db5351ac0c0e798bf0e910c4f9dafb7bd98777481384
|
||||
DIST calligra-l10n-pl-2.3.92.tar.bz2 431630 RMD160 f591f5c5e8d6b0ad34211f15ac74c73360456372 SHA1 ea1dcb134fea6cd757d1171c6f4cbaa2c6b43434 SHA256 dc39a6080c181eb8bed79671ff0525f552e322f2e641497cc56c467edb0c5738
|
||||
DIST calligra-l10n-nl-2.4.1.tar.bz2 3101210 RMD160 4381586f0bcd13230c300178cf4d1c59e371a72b SHA1 785d393e2159090e43f4d446971f5ca35fa98ead SHA256 0925debb77f789fda3cdbf3f5eecbc5a9fd7bef5a1d820bc12d190f6a3f6a751
|
||||
DIST calligra-l10n-pl-2.4.0.tar.bz2 430415 RMD160 5acb0f2957a8d632ab033a01dce0ae7e49ebdc95 SHA1 f3856e8e4ec45d97ef806e3e017443522437b7d4 SHA256 0c587e82cdd77af168de70a5d687f7e4e87d778a814ab7aca70195e5860909be
|
||||
DIST calligra-l10n-pt-2.3.92.tar.bz2 653858 RMD160 fc3e58dcbbcda8079029f9ce51f0e48d6d167ed4 SHA1 2d9b5a2c85a724ffe0457cc112a5e30f5d1f0238 SHA256 fd8e5479ac31303da4d46ced97563cdd09ea70f4e63784a4ad90786f07d2f838
|
||||
DIST calligra-l10n-pl-2.4.1.tar.bz2 430451 RMD160 e66040cc785568b38be1b2c8a21e6735f7ccb63b SHA1 34fe40f2cca6a607755cdf4aeae67c7cf67ff5cc SHA256 4c6994bbca6741c039960a388a2ae1ae491f02430b5b4d84dfff47997b9d6fe8
|
||||
DIST calligra-l10n-pt-2.4.0.tar.bz2 661740 RMD160 462f9b1f7627ad8aaec98f60d7a59cb592195788 SHA1 97d4175e00244627544f2c7c9ff705ed4c2f4cb6 SHA256 f3e3a6b9810632424a1f8ecb3210151ea4cef1f1a056c47d3f786856ae7238d4
|
||||
DIST calligra-l10n-pt_BR-2.3.92.tar.bz2 653828 RMD160 9d6d0df57659d6b7639893bd547b8b2aa480740b SHA1 387839b139ec09e931402a02f6c088726f1c12ab SHA256 d5ee254b534aef25aee0d00692cab9b5b5c26a3b815569444c7003cc0c5f03cb
|
||||
DIST calligra-l10n-pt-2.4.1.tar.bz2 661702 RMD160 e7393b6c305fc01ffb58857fb8ee3c35fa33bd5e SHA1 692fe295df06b7d35baac97b51c9edaa7a47a6a2 SHA256 b86800b4775943d8e8c55874bb54f956ecdbe7932871ff12c8788a33cb61529f
|
||||
DIST calligra-l10n-pt_BR-2.4.0.tar.bz2 732893 RMD160 e99370510590a9f5f756aaada00cc158061d727e SHA1 2f95778abd0d3cc9b7e57b31078630a5e6f7d996 SHA256 048ec11b6264fb18f73ba8ce21fee767be0969a94dd7e0053689d3c74e04a398
|
||||
DIST calligra-l10n-ru-2.3.92.tar.bz2 578211 RMD160 5408a4fb5a001fe14a24ca7c382a35bd9b58460f SHA1 746cb22bf2867cb7efadacfbde25b6f3fbcb099d SHA256 a57248b6665f51fd7ab67017752595cdfd4926216f630d366df54d3d85925411
|
||||
DIST calligra-l10n-pt_BR-2.4.1.tar.bz2 740021 RMD160 7da5bc5803c23632578cbe97272f2d75eab04688 SHA1 e036fc7d5cf6f872200fdd32b1699ef99cb436ed SHA256 9f9886a2af809e1cd19a89d806e78e241341565b78c25e874d61b2198c9c4fc5
|
||||
DIST calligra-l10n-ru-2.4.0.tar.bz2 581891 RMD160 490512a54f3b4eb0247f57128cdbb38770ff7ab7 SHA1 344279b09f6652ccf6a4d60f794787d275f5b423 SHA256 1d8fd66c6db513a5b060eff1834cb39f7c450a90886a124042e19f8b54d19721
|
||||
DIST calligra-l10n-ru-2.4.1.tar.bz2 582180 RMD160 fdc249e2ad8735dfb3c0f73585340e79123f7c31 SHA1 6ed334c95bae2bafbe197348ffec33a6368612d2 SHA256 8bcb3589cb47c39d723f3403d178ab408ebf07572f58f96d9e917293aa09fb91
|
||||
DIST calligra-l10n-sk-2.4.0.tar.bz2 367283 RMD160 dd4850a638372faddaeeee65b103ec4e450ff065 SHA1 f6e1af056e00fe0b4030d30195aa2816340615e3 SHA256 f4838375a9f00b054637a3b51521d35d70c2929de62d3ca775f0d1fb6d3abb19
|
||||
DIST calligra-l10n-sv-2.3.92.tar.bz2 2031629 RMD160 60080c5550ddaef4d07a01ea4939134f73fa7a4a SHA1 4d1aefa644c3451900dad209e8115eace904173f SHA256 455acfe9321641d34dba7abd30fe74003c582fccf923684c361cc064b59fbc04
|
||||
DIST calligra-l10n-sk-2.4.1.tar.bz2 367375 RMD160 7a81f6b2cc57db0c66b2754d8bb788b620e2edeb SHA1 04a24876644e9064515fbc7648dc2cb58a743de0 SHA256 c50c19c00a30e8105fcf3664ebeb8873c16dad078ed2272589040801f07db5eb
|
||||
DIST calligra-l10n-sv-2.4.0.tar.bz2 2047224 RMD160 16297c4403a308cf456ef4c378dce2f0d3a47050 SHA1 8151a48f8b1cb4c0c86754b36b90d624121a2886 SHA256 cd648e8c81ff7de17c770416735f5e3a36b54ba526d6c6a34caa16db395fc388
|
||||
DIST calligra-l10n-uk-2.3.92.tar.bz2 2111898 RMD160 6eadd2353106ed5e7d76dc6f0ba748663facbf3c SHA1 6c1ad467e2654e76dc4b51f73b09b709b07f8bab SHA256 c95cf52a3c9bb54664b4b55a4bde96bb83e7db483240350039c9523a61de0879
|
||||
DIST calligra-l10n-sv-2.4.1.tar.bz2 2047139 RMD160 5aa92135df6b6839fbcb4b2581eab03c97fe5159 SHA1 349ffc026eaa91804b38f07b485c697e70d98ae6 SHA256 90cda0ea4b307009d33ea1a69e3c31a47fc597b226d0a405d3021f025258d3ac
|
||||
DIST calligra-l10n-uk-2.4.0.tar.bz2 2126376 RMD160 548b09578d4d8fd4136e3e3a966a0a635072f27d SHA1 ebb1a885a15ad040bce4a7cc52fb1801d5410886 SHA256 8470becd0dcb97f6f81ef88a0be9aec43b8cd3bd53002a3cc0e2f61e5baf9fd9
|
||||
DIST calligra-l10n-zh_CN-2.3.92.tar.bz2 346337 RMD160 de5e104a055ff248dc8c8e03491164a0d0a3dda7 SHA1 ba9196fcf5477e430f7bcc1e7a3fc9e7a6d364c1 SHA256 21be114f123e9f9ac2cd773d61d36b250e4bde51deebca3c4624ece2f08d8556
|
||||
DIST calligra-l10n-uk-2.4.1.tar.bz2 2126067 RMD160 c13c86e901bf9aa995ff9d43862b0918373498a9 SHA1 a4e04b541dfc0645dc158e60156b42aa60b29716 SHA256 f8d0641484383cca74180862e8ea87f173d2b2a930f3a389d4676bf4f15460bd
|
||||
DIST calligra-l10n-zh_CN-2.4.0.tar.bz2 346212 RMD160 bf50948c022ce2804f7278918c37f02c4abea632 SHA1 da1d143196c02650548508381ff535b705140a98 SHA256 d0d023bf2811c0f45d40489f56d7cd774b8dcf241d7196ad0f8f120214841134
|
||||
DIST calligra-l10n-zh_TW-2.3.92.tar.bz2 387267 RMD160 ea38ab970060929bd7bf35bf13d4546f0335ef8e SHA1 d638af08639dd84db74888da7da13af65fbf48e3 SHA256 ee7621b2b4e79f06bd37db07f3685b125f271911a37ac8af39bb6a26660ae396
|
||||
DIST calligra-l10n-zh_CN-2.4.1.tar.bz2 346321 RMD160 6b55670d5469c284a4f8b35b0f56cb8d6dfca86d SHA1 2635cc9cad771e550a55f54da1fc3c34cc94c652 SHA256 a64c051bf3388eb6c7b863d6dbe0a40c3ae0934acd8b9bd10519fe2e4fa8f49d
|
||||
DIST calligra-l10n-zh_TW-2.4.0.tar.bz2 386218 RMD160 899d2daf02fcdecef9f6d9a86cf6163dec5ae90a SHA1 5e217abb640555e89929b7922d61abc2ba9e90b3 SHA256 b637b490c1d917f5d325806d92000def98d434c5d902b51babfc09fe4af17026
|
||||
DIST calligra-l10n-zh_TW-2.4.1.tar.bz2 386393 RMD160 839342417ff79bcda503ed048e2e956fa1dab929 SHA1 c4386d1fc6a35be3b41d4e49b37cec7a2c27c8e4 SHA256 f5763e13aac69659f1379a2e51f565791ee07d32a2df30c724415e4be0704ecd
|
||||
|
@ -1 +1,2 @@
|
||||
DIST calligra-2.4.0.tar.bz2 123325347 RMD160 840efd6c7ff82b246950de591b9af762d37f9a95 SHA1 6026f4ddcf4bf647ea13dfb477233df472a5c007 SHA256 7c8cd1ec8cd2b26d5544f3b5a283052c5cd82f212749475b91cc340f7e4029b0
|
||||
DIST calligra-2.4.1.tar.bz2 119301573 RMD160 5cb241ab46c6e064a05e39436da81f2a2a8df71f SHA1 f5be221d50088ac4537931811272392846cd7363 SHA256 59a5421484ec71bfc3db6351d44a88b22dd164a5ff8cd225b67ac2eb835774a3
|
||||
|
@ -0,0 +1,204 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-2.4.1.ebuild,v 1.1 2012/04/26 22:35:26 dilfridge Exp $
|
||||
|
||||
# note: files that need to be checked for dependencies etc:
|
||||
# CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt
|
||||
# krita/CMakeLists.txt
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_BRANCH="calligra/2.4"
|
||||
|
||||
KDE_SCM=git
|
||||
KDE_MINIMAL=4.6.4
|
||||
QT_MINIMAL=4.8.1
|
||||
OPENGL_REQUIRED=optional
|
||||
|
||||
KDE_HANDBOOK=optional
|
||||
|
||||
KDE_LINGUAS_LIVE_OVERRIDE=true
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE Office Suite"
|
||||
HOMEPAGE="http://www.calligra.org/"
|
||||
[[ ${PV} == *9999 ]] || SRC_URI="mirror://kde/stable/${P}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
[[ ${PV} == *9999 ]] || KEYWORDS="~amd64 ~x86"
|
||||
IUSE="attica +crypt +eigen +exif fftw +fontconfig freetds +gif glew +glib +gsf
|
||||
gsl +iconv +jpeg jpeg2k +kdcraw kdepim +lcms marble mysql +mso +okular openctl openexr
|
||||
+pdf postgres +semantic-desktop +ssl sybase test tiff +threads +truetype
|
||||
word-perfect xbase +xml +xslt"
|
||||
|
||||
# please do not sort here, order is same as in CMakeLists.txt
|
||||
CAL_FTS="kexi words flow plan stage sheets krita karbon braindump"
|
||||
for cal_ft in ${CAL_FTS}; do
|
||||
IUSE+=" calligra_features_${cal_ft}"
|
||||
done
|
||||
unset cal_ft
|
||||
|
||||
REQUIRED_USE="
|
||||
calligra_features_kexi? ( calligra_features_sheets )
|
||||
calligra_features_words? ( calligra_features_sheets )
|
||||
calligra_features_krita? ( eigen exif lcms )
|
||||
calligra_features_plan? ( kdepim semantic-desktop )
|
||||
calligra_features_sheets? ( eigen )
|
||||
test? ( calligra_features_karbon )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
!app-office/karbon
|
||||
!app-office/kexi
|
||||
!app-office/koffice-data
|
||||
!app-office/koffice-l10n
|
||||
!app-office/koffice-libs
|
||||
!app-office/koffice-meta
|
||||
!app-office/kplato
|
||||
!app-office/kpresenter
|
||||
!app-office/krita
|
||||
!app-office/kspread
|
||||
!app-office/kword
|
||||
dev-lang/perl
|
||||
dev-libs/boost
|
||||
dev-libs/libxml2
|
||||
$(add_kdebase_dep knewstuff)
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
>=x11-libs/qt-gui-4.8.1-r1
|
||||
attica? ( dev-libs/libattica )
|
||||
crypt? ( app-crypt/qca:2 )
|
||||
eigen? ( dev-cpp/eigen:2 )
|
||||
exif? ( media-gfx/exiv2 )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
freetds? ( dev-db/freetds )
|
||||
gif? ( media-libs/giflib )
|
||||
glew? ( media-libs/glew )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gsf? ( gnome-extra/libgsf )
|
||||
gsl? ( sci-libs/gsl )
|
||||
iconv? ( virtual/libiconv )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/openjpeg )
|
||||
kdcraw? ( $(add_kdebase_dep libkdcraw) )
|
||||
kdepim? ( $(add_kdebase_dep kdepimlibs) )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
marble? ( $(add_kdebase_dep marble) )
|
||||
mysql? ( virtual/mysql )
|
||||
okular? ( $(add_kdebase_dep okular) )
|
||||
openctl? ( >=media-libs/opengtl-0.9.15 )
|
||||
openexr? ( media-libs/openexr )
|
||||
pdf? (
|
||||
app-text/poppler
|
||||
media-gfx/pstoedit
|
||||
)
|
||||
postgres? (
|
||||
dev-db/postgresql-base
|
||||
=dev-libs/libpqxx-3*
|
||||
)
|
||||
semantic-desktop? ( dev-libs/soprano $(add_kdebase_dep kdelibs semantic-desktop) )
|
||||
ssl? ( dev-libs/openssl )
|
||||
sybase? ( dev-db/freetds )
|
||||
tiff? ( media-libs/tiff )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
word-perfect? (
|
||||
app-text/libwpd
|
||||
app-text/libwps
|
||||
app-text/libwpg
|
||||
)
|
||||
xbase? ( dev-db/xbase )
|
||||
xslt? ( dev-libs/libxslt )
|
||||
calligra_features_kexi? (
|
||||
>=dev-db/sqlite-3.7.9:3[extensions]
|
||||
dev-libs/icu
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT=test
|
||||
# bug 394273
|
||||
|
||||
src_configure() {
|
||||
local cal_ft
|
||||
|
||||
# first write out things we want to hard-enable
|
||||
local mycmakeargs=(
|
||||
"-DIHAVEPATCHEDQT=ON"
|
||||
"-DWITH_Boost=ON"
|
||||
"-DWITH_LibXml2=ON"
|
||||
"-DWITH_PNG=ON"
|
||||
"-DWITH_ZLIB=ON"
|
||||
"-DGHNS=ON"
|
||||
"-DWITH_X11=ON"
|
||||
"-DWITH_Qt4=ON"
|
||||
"-DQT3SUPPORT=ON" # kde4-base.eclass pulls this in anyway
|
||||
)
|
||||
|
||||
# default disablers
|
||||
mycmakeargs+=(
|
||||
"-DBUILD_mobile=OFF" # we dont support mobile gui, maybe arm could
|
||||
"-DBUILD_active=OFF" # we dont support active gui, maybe arm could
|
||||
"-DWITH_LCMS=OFF" # we use lcms:2
|
||||
"-DCREATIVEONLY=OFF"
|
||||
"-DWITH_TINY=OFF"
|
||||
"-DWITH_CreateResources=OFF" # NOT PACKAGED: http://create.freedesktop.org/
|
||||
"-DWITH_DCMTK=OFF" # NOT PACKAGED: http://www.dcmtk.org/dcmtk.php.en
|
||||
"-DWITH_Spnav=OFF" # NOT PACKAGED: http://spacenav.sourceforge.net/
|
||||
)
|
||||
|
||||
# regular options
|
||||
mycmakeargs+=(
|
||||
$(cmake-utils_use_with attica LibAttica)
|
||||
$(cmake-utils_use_with crypt QCA2)
|
||||
$(cmake-utils_use_with eigen Eigen2)
|
||||
$(cmake-utils_use_with exif Exiv2)
|
||||
$(cmake-utils_use_with fftw FFTW3)
|
||||
$(cmake-utils_use_with fontconfig Fontconfig)
|
||||
$(cmake-utils_use_with freetds FreeTDS)
|
||||
$(cmake-utils_use_with gif GIF2)
|
||||
$(cmake-utils_use_with glew GLEW)
|
||||
$(cmake-utils_use_with glib GLIB2)
|
||||
$(cmake-utils_use_with glib GObject)
|
||||
$(cmake-utils_use_with gsf LIBGSF)
|
||||
$(cmake-utils_use_with gsl GSL)
|
||||
$(cmake-utils_use_with iconv Iconv)
|
||||
$(cmake-utils_use_with jpeg JPEG)
|
||||
$(cmake-utils_use_with jpeg2k OpenJPEG)
|
||||
$(cmake-utils_use_with kdcraw Kdcraw)
|
||||
$(cmake-utils_use_with kdepim KdepimLibs)
|
||||
$(cmake-utils_use_with lcms LCMS2)
|
||||
$(cmake-utils_use_with marble Marble)
|
||||
$(cmake-utils_use_with mysql MySQL)
|
||||
$(cmake-utils_use_with okular Okular)
|
||||
$(cmake-utils_use_with openctl OpenCTL)
|
||||
$(cmake-utils_use_with openexr OpenEXR)
|
||||
$(cmake-utils_use_with opengl OpenGL)
|
||||
$(cmake-utils_use_with pdf Poppler)
|
||||
$(cmake-utils_use_with pdf Pstoedit)
|
||||
$(cmake-utils_use_with postgres PostgreSQL)
|
||||
$(cmake-utils_use_with semantic-desktop Soprano)
|
||||
$(cmake-utils_use semantic-desktop NEPOMUK)
|
||||
$(cmake-utils_use_with ssl OpenSSL)
|
||||
$(cmake-utils_use_with sybase FreeTDS)
|
||||
$(cmake-utils_use_with tiff TIFF)
|
||||
$(cmake-utils_use_with threads Threads)
|
||||
$(cmake-utils_use_with truetype Freetype)
|
||||
$(cmake-utils_use_with word-perfect WPD)
|
||||
$(cmake-utils_use_with word-perfect WPG)
|
||||
$(cmake-utils_use_with xbase XBase)
|
||||
$(cmake-utils_use_with xslt LibXslt)
|
||||
$(cmake-utils_use_build mso libmsooxml)
|
||||
)
|
||||
|
||||
# applications
|
||||
for cal_ft in ${CAL_FTS}; do
|
||||
mycmakeargs+=( $(cmake-utils_use_build calligra_features_${cal_ft} ${cal_ft}) )
|
||||
done
|
||||
mycmakeargs+=( $(cmake-utils_use_build test cstester) )
|
||||
|
||||
# filters
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST netbeans-7.0-build.xml-r1.patch.bz2 1344 RMD160 f8f092c93c1197ce759afbd8674ff1216d504d2d SHA1 6324909cc2dfae583f38e3544a38d1058c73a7ec SHA256 f323cb4694f6351fe47b76fa8b8b3e3f8e456e7d45ca76f9b88c5c6b90cc103f
|
||||
DIST netbeans-7.0.1-201107282000-src.zip 175987235 RMD160 0104cfeb656f76a7e8041e725c98cff3cc0734cf SHA1 3c5c47b60a4265a8a89d5ab688f6609a613ab1ec SHA256 8bf4dd2375bc9fd02adf64ca9066118e0392a33428232ccf3f9091b96557b9aa
|
||||
DIST netbeans-7.1.1-201203012225-src.zip 172146133 RMD160 2c8f5798bab20b2f219cbe07931776191470a5e0 SHA1 a2d1b0fa5550d0071cd45f79998851fdd4516f79 SHA256 a8ff48a5837f7952cf305d70b511c4abb77d6f1639fc7de1578aac75274450d4
|
||||
DIST netbeans-7.1.2-201204101705-src.zip 172346251 RMD160 483068b4dceff3a82abd6b183c6675bf21ce7f00 SHA1 5bfb0ef3cc8ef08c2b20bddfcff91f59417f7478 SHA256 95df26a2eafdc88887a835b3abcf930fd0e72c1639c3e0bfceb9489e44c5865c
|
||||
DIST netbeans-9999-r1-build.xml.patch.bz2 2379 RMD160 9713acb05ca5c9000528dd195d5297e84103df2d SHA1 209945171a811e17ad52f63896cc4f5894a5ac0c SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e
|
||||
|
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-apisupport/netbeans-apisupport-7.1.2.ebuild,v 1.1 2012/04/26 21:45:41 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans API Support Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/apisupport"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-harness-${PV}
|
||||
~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-java-${PV}
|
||||
~dev-java/netbeans-platform-${PV}"
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.apisupport -Dext.binaries.downloaded=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-harness-${SLOT} harness || die
|
||||
cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.harness.built
|
||||
|
||||
ln -s /usr/share/netbeans-ide-${SLOT} ide || die
|
||||
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ide.built
|
||||
|
||||
ln -s /usr/share/netbeans-java-${SLOT} java || die
|
||||
cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.java.built
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/apisupport >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/apisupport$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/apisupport
|
||||
}
|
@ -0,0 +1,119 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-cnd/netbeans-cnd-7.1.2.ebuild,v 1.1 2012/04/26 21:46:01 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans CND Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/cnd"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/11B1CFD9AB9B7BB572F272CD1972693D1E9721E9-antlr-3.3.jar
|
||||
http://hg.netbeans.org/binaries/C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip
|
||||
http://hg.netbeans.org/binaries/84F10BEAA967E2896F0B43B0BBD08D834841F554-cnd-rfs-1.0.zip
|
||||
http://hg.netbeans.org/binaries/61CC1E7181A8B26E9B3E1357C06B63F8F0077FA5-open-fortran-parser-0.7.1.2.zip"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-dlight-${PV}
|
||||
~dev-java/netbeans-harness-${PV}
|
||||
~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-platform-${PV}"
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.cnd -Dext.binaries.downloaded=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/11B1CFD9AB9B7BB572F272CD1972693D1E9721E9-antlr-3.3.jar libs.antlr3.devel/external/antlr-3.3.jar || die
|
||||
ln -s "${DISTDIR}"/C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip cnd.discovery/external/cnd-build-trace-1.0.zip || die
|
||||
ln -s "${DISTDIR}"/84F10BEAA967E2896F0B43B0BBD08D834841F554-cnd-rfs-1.0.zip cnd.remote/external/cnd-rfs-1.0.zip || die
|
||||
ln -s "${DISTDIR}"/61CC1E7181A8B26E9B3E1357C06B63F8F0077FA5-open-fortran-parser-0.7.1.2.zip cnd.modelimpl/external/open-fortran-parser-0.7.1.2.zip || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
|
||||
cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.dlight.built
|
||||
|
||||
ln -s /usr/share/netbeans-harness-${SLOT} harness || die
|
||||
cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.harness.built
|
||||
|
||||
ln -s /usr/share/netbeans-ide-${SLOT} ide || die
|
||||
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ide.built
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/cnd >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/cnd$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
fperms 755 bin/dorun.sh
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/cnd
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-dlight/netbeans-dlight-7.1.2.ebuild,v 1.1 2012/04/26 21:46:21 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans D-Light Cluster"
|
||||
HOMEPAGE="http://netbeans.org/"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/F787C9B484CD7526F866C21D8925C4DACE467F8A-derby-10.2.2.0.jar"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-platform-${PV}"
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.dlight -Dext.binaries.downloaded=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/F787C9B484CD7526F866C21D8925C4DACE467F8A-derby-10.2.2.0.jar db/external/derby-10.2.2.0.jar || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-ide-${SLOT} ide || die
|
||||
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ide.built
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/dlight >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/dlight$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/dlight
|
||||
}
|
@ -0,0 +1,318 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-enterprise/netbeans-enterprise-7.1.2.ebuild,v 1.1 2012/04/26 21:46:40 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans Enterprise cluster"
|
||||
HOMEPAGE="http://netbeans.org/"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/2EA8E5BDC70E1B1D738140E52E4793385B2567A3-el-impl.jar
|
||||
http://hg.netbeans.org/binaries/7763236B189D9B910E2BDBA6822E6EB4DDDAC41B-glassfish-jspparser-3.0.jar
|
||||
http://hg.netbeans.org/binaries/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar
|
||||
http://hg.netbeans.org/binaries/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar
|
||||
http://hg.netbeans.org/binaries/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar
|
||||
http://hg.netbeans.org/binaries/DC9A229C4AB1788D0C20D937A82FB64CE2911171-javaee6-doc-api.zip
|
||||
http://hg.netbeans.org/binaries/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar
|
||||
http://hg.netbeans.org/binaries/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar
|
||||
http://hg.netbeans.org/binaries/EEBA5E4DCFB946A8E9CAAF1AC405620E28710BEE-jersey-1.8.zip
|
||||
http://hg.netbeans.org/binaries/6055EAF5B4F778A243B52D2DC4E66CB5F35B3D7C-jersey-1.8-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/4D9B1037036E99811D9E393F191058C9CA30CAE2-jersey-apache-client-1.8-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/2503B5FDE71D6BE1CE44BADA3257A6F310E3BB67-jersey-atom-abdera-1.8-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/955396DB8CE0477C6BD70BA830FF84CB9B7AB47B-jersey-client-1.3-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/A27843863A5EAE9DDFF1C70F7A95D3BFC2A59D99-jersey-core-1.1.5.1-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/3E5011972CEDE87E5ADCF9A90351A106DAEE2FC2-jersey-guice-1.8-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/6E3105315F3100F65D66355B04BA6B6C2B8480D3-jersey-json-1.3-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/0EE4D36A33681C945339BB1B594F4C0ED9A4C3DE-jersey-multipart-1.8-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/D77C6E4AA0F3D3C9B7230F6C0991DBBF0CEF39BA-jersey-simple-server-1.8-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/454F67445E0740C3414476812F2DFD17DA2AF0A3-jersey-spring-1.8-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip
|
||||
http://hg.netbeans.org/binaries/1D74DA79DC71C52D1B7916853BDD51F346A85359-jsf-2.1.zip
|
||||
http://hg.netbeans.org/binaries/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip
|
||||
http://hg.netbeans.org/binaries/FFE3425E304F0836912D2B8ABFB5302100B39423-jsr311-api-1.1.1-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip
|
||||
http://hg.netbeans.org/binaries/16CD40905B389B27AFD81DAFF8F163CEC810FBC6-metro-2.0.zip
|
||||
http://hg.netbeans.org/binaries/942DF8FA6174168BD227E925B11672E9A321D5BB-oauth-client-1.8-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/1C6E6C4B3DC659E5720AB08E2972C7C0459E5387-oauth-server-1.8-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/6EC53F24E6F4D9DBC884076FD0190B9C79414070-oauth-signature-1.8-javadoc.jar
|
||||
http://hg.netbeans.org/binaries/C31A6E33D7D6E77C8123A0830D929187A9707147-primefaces-2.2.1.jar
|
||||
http://hg.netbeans.org/binaries/B9FA9CDC7FA5203E1DB5C4DBAAED0133596D524F-servlet3.0-jsp2.2-api.jar
|
||||
http://hg.netbeans.org/binaries/275C5AC6ADE12819F49E984C8E06B114A4E23458-spring-webmvc-2.5.6.SEC03.jar
|
||||
http://hg.netbeans.org/binaries/9319FDBED11E0D2EB03E4BB9E94BAA439A1DA469-struts-1.3.10-javadoc.zip
|
||||
http://hg.netbeans.org/binaries/9E226CFC08177A6666E5A2C535C25837A92C54C9-struts-1.3.10-lib.zip
|
||||
http://hg.netbeans.org/binaries/F6E990DF59BD1FD2058320002A853A5411A45CD4-syntaxref20.zip
|
||||
http://hg.netbeans.org/binaries/A5744971ACE1F44A0FC71CCB93DE530CB3022965-webservices-api-osgi.jar"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-harness-${PV}
|
||||
~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-java-${PV}
|
||||
~dev-java/netbeans-profiler-${PV}
|
||||
~dev-java/netbeans-platform-${PV}
|
||||
~dev-java/netbeans-websvccommon-${PV}
|
||||
dev-java/commons-fileupload:0
|
||||
dev-java/glassfish-deployment-api:1.2
|
||||
dev-java/jakarta-jstl:0"
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0
|
||||
>=dev-java/junit-4.4:4
|
||||
dev-java/tomcat-servlet-api:2.3"
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}
|
||||
dev-java/antlr:0[java]
|
||||
dev-java/asm:3
|
||||
dev-java/bsf:2.3
|
||||
dev-java/commons-beanutils:1.7
|
||||
dev-java/commons-collections:0
|
||||
dev-java/commons-digester:0
|
||||
dev-java/commons-io:1
|
||||
dev-java/commons-logging:0
|
||||
dev-java/commons-validator:0
|
||||
dev-java/jakarta-oro:2.0
|
||||
dev-java/jettison:0
|
||||
dev-java/jsr311-api:0"
|
||||
# dev-java/commons-chain:1.1 in overlay
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.enterprise -Dext.binaries.downloaded=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/2EA8E5BDC70E1B1D738140E52E4793385B2567A3-el-impl.jar libs.elimpl/external/el-impl.jar || die
|
||||
ln -s "${DISTDIR}"/7763236B189D9B910E2BDBA6822E6EB4DDDAC41B-glassfish-jspparser-3.0.jar web.jspparser/external/glassfish-jspparser-3.0.jar || die
|
||||
ln -s "${DISTDIR}"/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar libs.glassfish_logging/external/glassfish-logging-2.0.jar || die
|
||||
ln -s "${DISTDIR}"/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar javaee.api/external/javaee-api-6.0.jar || die
|
||||
ln -s "${DISTDIR}"/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar javaee.api/external/javaee-web-api-6.0.jar || die
|
||||
ln -s "${DISTDIR}"/DC9A229C4AB1788D0C20D937A82FB64CE2911171-javaee6-doc-api.zip j2ee.platform/external/javaee6-doc-api.zip || die
|
||||
ln -s "${DISTDIR}"/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar javaee.api/external/javax.annotation.jar || die
|
||||
ln -s "${DISTDIR}"/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar javaee.api/external/jaxb-api-osgi.jar || die
|
||||
ln -s "${DISTDIR}"/EEBA5E4DCFB946A8E9CAAF1AC405620E28710BEE-jersey-1.8.zip websvc.restlib/external/jersey-1.8.zip || die
|
||||
ln -s "${DISTDIR}"/6055EAF5B4F778A243B52D2DC4E66CB5F35B3D7C-jersey-1.8-javadoc.jar websvc.restlib/external/jersey-1.8-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/4D9B1037036E99811D9E393F191058C9CA30CAE2-jersey-apache-client-1.8-javadoc.jar websvc.restlib/external/jersey-apache-client-1.8-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/2503B5FDE71D6BE1CE44BADA3257A6F310E3BB67-jersey-atom-abdera-1.8-javadoc.jar websvc.restlib/external/jersey-atom-abdera-1.8-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/955396DB8CE0477C6BD70BA830FF84CB9B7AB47B-jersey-client-1.3-javadoc.jar websvc.restlib/external/jersey-client-1.3-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/A27843863A5EAE9DDFF1C70F7A95D3BFC2A59D99-jersey-core-1.1.5.1-javadoc.jar websvc.restlib/external/jersey-core-1.1.5.1-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/3E5011972CEDE87E5ADCF9A90351A106DAEE2FC2-jersey-guice-1.8-javadoc.jar websvc.restlib/external/jersey-guice-1.8-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/6E3105315F3100F65D66355B04BA6B6C2B8480D3-jersey-json-1.3-javadoc.jar websvc.restlib/external/jersey-json-1.3-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/0EE4D36A33681C945339BB1B594F4C0ED9A4C3DE-jersey-multipart-1.8-javadoc.jar websvc.restlib/external/jersey-multipart-1.8-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/D77C6E4AA0F3D3C9B7230F6C0991DBBF0CEF39BA-jersey-simple-server-1.8-javadoc.jar websvc.restlib/external/jersey-simple-server-1.8-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/454F67445E0740C3414476812F2DFD17DA2AF0A3-jersey-spring-1.8-javadoc.jar websvc.restlib/external/jersey-spring-1.8-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip web.jsf12/external/jsf-1.2.zip || die
|
||||
ln -s "${DISTDIR}"/1D74DA79DC71C52D1B7916853BDD51F346A85359-jsf-2.1.zip web.jsf20/external/jsf-2.1.zip || die
|
||||
ln -s "${DISTDIR}"/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip web.jsf.editor/external/jsf-api-docs.zip || die
|
||||
ln -s "${DISTDIR}"/FFE3425E304F0836912D2B8ABFB5302100B39423-jsr311-api-1.1.1-javadoc.jar websvc.restlib/external/jsr311-api-1.1.1-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip websvc.metro.lib/external/metro-1.4-doc.zip || die
|
||||
ln -s "${DISTDIR}"/16CD40905B389B27AFD81DAFF8F163CEC810FBC6-metro-2.0.zip websvc.metro.lib/external/metro-2.0.zip || die
|
||||
ln -s "${DISTDIR}"/942DF8FA6174168BD227E925B11672E9A321D5BB-oauth-client-1.8-javadoc.jar websvc.restlib/external/oauth-client-1.8-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/1C6E6C4B3DC659E5720AB08E2972C7C0459E5387-oauth-server-1.8-javadoc.jar websvc.restlib/external/oauth-server-1.8-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/6EC53F24E6F4D9DBC884076FD0190B9C79414070-oauth-signature-1.8-javadoc.jar websvc.restlib/external/oauth-signature-1.8-javadoc.jar || die
|
||||
ln -s "${DISTDIR}"/C31A6E33D7D6E77C8123A0830D929187A9707147-primefaces-2.2.1.jar web.primefaces/external/primefaces-2.2.1.jar || die
|
||||
ln -s "${DISTDIR}"/B9FA9CDC7FA5203E1DB5C4DBAAED0133596D524F-servlet3.0-jsp2.2-api.jar servletjspapi/external/servlet3.0-jsp2.2-api.jar || die
|
||||
ln -s "${DISTDIR}"/275C5AC6ADE12819F49E984C8E06B114A4E23458-spring-webmvc-2.5.6.SEC03.jar spring.webmvc/external/spring-webmvc-2.5.6.SEC03.jar || die
|
||||
ln -s "${DISTDIR}"/9319FDBED11E0D2EB03E4BB9E94BAA439A1DA469-struts-1.3.10-javadoc.zip web.struts/external/struts-1.3.10-javadoc.zip || die
|
||||
ln -s "${DISTDIR}"/9E226CFC08177A6666E5A2C535C25837A92C54C9-struts-1.3.10-lib.zip web.struts/external/struts-1.3.10-lib.zip || die
|
||||
ln -s "${DISTDIR}"/F6E990DF59BD1FD2058320002A853A5411A45CD4-syntaxref20.zip web.core.syntax/external/syntaxref20.zip || die
|
||||
ln -s "${DISTDIR}"/A5744971ACE1F44A0FC71CCB93DE530CB3022965-webservices-api-osgi.jar javaee.api/external/webservices-api-osgi.jar || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
java-pkg_jar-from --into j2eeapis/external glassfish-deployment-api-1.2 glassfish-deployment-api.jar jsr88javax.jar
|
||||
java-pkg_jar-from --into libs.commons_fileupload/external commons-fileupload commons-fileupload.jar commons-fileupload-1.0.jar
|
||||
java-pkg_jar-from --into web.jstl11/external jakarta-jstl jstl.jar jstl-1.1.2.jar
|
||||
java-pkg_jar-from --into web.jstl11/external jakarta-jstl standard.jar standard-1.1.2.jar
|
||||
java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
|
||||
java-pkg_jar-from --build-only --into web.monitor/external tomcat-servlet-api-2.3 servlet.jar servlet-2.3.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-harness-${SLOT} harness || die
|
||||
cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.harness.built
|
||||
|
||||
ln -s /usr/share/netbeans-ide-${SLOT} ide || die
|
||||
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ide.built
|
||||
|
||||
ln -s /usr/share/netbeans-java-${SLOT} java || die
|
||||
cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.java.built
|
||||
|
||||
ln -s /usr/share/netbeans-profiler-${SLOT} profiler || die
|
||||
cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.profiler.built
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
|
||||
cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.websvccommon.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/enterprise >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/enterprise$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm commons-fileupload-1.0.jar && dosym /usr/share/commons-fileupload/lib/commons-fileupload.jar ${instdir}/commons-fileupload-1.0.jar || die
|
||||
# el-impl.jar
|
||||
# glassfish-jspparser-3.0.jar
|
||||
# glassfish-logging-2.0.jar
|
||||
# javaee-api-6.0.jar
|
||||
# javaee-api-6.0-license.txt
|
||||
# javaee-web-api-6.0.jar
|
||||
# javaee-web-api-6.0-license.txt
|
||||
# jsp-parser-ext.jar
|
||||
rm jsr88javax.jar && dosym /usr/share/glassfish-deployment-api-1.2/lib/glassfish-deployment-api.jar ${instdir}/jsr88javax.jar || die
|
||||
rm jstl.jar && dosym /usr/share/jakarta-jstl/lib/jstl.jar ${instdir}/jstl.jar || die
|
||||
# org-netbeans-modules-web-httpmonitor.jar
|
||||
# servlet3.0-jsp2.2-api.jar
|
||||
rm standard.jar && dosym /usr/share/jakarta-jstl/lib/standard.jar ${instdir}/standard.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/javaee6-endorsed
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# javax.annotation.jar
|
||||
# javax.annotation-license.txt
|
||||
# jaxb-api-osgi.jar
|
||||
# jaxb-api-osgi-license.txt
|
||||
# webservices-api-osgi.jar
|
||||
# webservices-api-osgi-license.txt
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/jsf-1_2
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm commons-beanutils.jar && dosym /usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar ${instdir}/commons-beanutils.jar || die
|
||||
rm commons-collections.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections.jar || die
|
||||
rm commons-digester.jar && dosym /usr/share/commons-digester/lib/commons-digester.jar ${instdir}/commons-digester.jar || die
|
||||
rm commons-logging.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging.jar || die
|
||||
# jsf-api.jar
|
||||
# jsf-impl.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/jsf-2_1
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# jsf-api.jar
|
||||
# jsf-impl.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/metro
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# webservices-api.jar
|
||||
# webservices-extra-api.jar
|
||||
# webservices-extra.jar
|
||||
# webservices-rt.jar
|
||||
# webservices-tools.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/primefaces
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# primefaces-2.1.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/rest
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm asm-3.1.jar && dosym /usr/share/asm-3/lib/asm.jar ${instdir}/asm-3.1.jar || die
|
||||
# jackson-core-asl-1.1.1.jar
|
||||
# jersey-client-1.3.jar
|
||||
# jersey-core-1.3.jar
|
||||
# jersey-json-1.3.jar
|
||||
# jersey-multipart-1.3.jar
|
||||
# jersey-server-1.3.jar
|
||||
# jersey-spring-1.3.jar
|
||||
rm jettison-1.1.jar && dosym /usr/share/jettison/lib/jettison.jar ${instdir}/jettison-1.1.jar || die
|
||||
rm jsr311-api-1.1.1.jar && dosym /usr/share/jsr311-api/lib/jsr311-api.jar ${instdir}/jsr311-api-1.1.1.jar || die
|
||||
# mimepull-1.4.jar
|
||||
# oauth-client-1.3.jar
|
||||
# oauth-signature-1.3.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/spring
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# spring-webmvc-2.5.6.SEC01.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/struts
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm antlr-2.7.2.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.2.jar || die
|
||||
rm bsf-2.3.0.jar && dosym /usr/share/bsf-2.3/lib/bsf.jar ${instdir}/bsf-2.3.0.jar || die
|
||||
rm commons-beanutils-1.8.0.jar && dosym /usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar ${instdir}/commons-beanutils-1.8.0.jar || die
|
||||
rm commons-digester-1.8.jar && dosym /usr/share/commons-digester/lib/commons-digester.jar ${instdir}/commons-digester-1.8.jar || die
|
||||
rm commons-fileupload-1.1.1.jar && dosym /usr/share/commons-fileupload/lib/commons-fileupload.jar ${instdir}/commons-fileupload-1.1.1.jar || die
|
||||
# rm commons-chain-1.1.jar && dosym /usr/share/commons-chain-1.1/lib/commons-chain.jar ${instdir}/commons-chain-1.1.jar || die
|
||||
rm commons-io-1.1.jar && dosym /usr/share/commons-io-1/lib/commons-io.jar ${instdir}/commons-io-1.1.jar || die
|
||||
rm commons-logging-1.0.4.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.0.4.jar || die
|
||||
rm commons-validator-1.3.1.jar && dosym /usr/share/commons-validator/lib/commons-validator.jar ${instdir}/commons-validator-1.3.1.jar || die
|
||||
rm jstl-1.0.2.jar && dosym /usr/share/jakarta-jstl/lib/jstl.jar ${instdir}/jstl-1.0.2.jar || die
|
||||
rm oro-2.0.8.jar && dosym /usr/share/jakarta-oro-2.0/lib/jakarta-oro.jar ${instdir}/oro-2.0.8.jar || die
|
||||
rm standard-1.0.6.jar && dosym /usr/share/jakarta-jstl/lib/standard.jar ${instdir}/standard-1.0.6.jar || die
|
||||
# struts-core-1.3.8.jar
|
||||
# struts-el-1.3.8.jar
|
||||
# struts-extras-1.3.8.jar
|
||||
# struts-faces-1.3.8.jar
|
||||
# struts-mailreader-dao-1.3.8.jar
|
||||
# struts-scripting-1.3.8.jar
|
||||
# struts-taglib-1.3.8.jar
|
||||
# struts-tiles-1.3.8.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/enterprise
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST netbeans-7.0-build.xml-r1.patch.bz2 1344 RMD160 f8f092c93c1197ce759afbd8674ff1216d504d2d SHA1 6324909cc2dfae583f38e3544a38d1058c73a7ec SHA256 f323cb4694f6351fe47b76fa8b8b3e3f8e456e7d45ca76f9b88c5c6b90cc103f
|
||||
DIST netbeans-7.0.1-201107282000-src.zip 175987235 RMD160 0104cfeb656f76a7e8041e725c98cff3cc0734cf SHA1 3c5c47b60a4265a8a89d5ab688f6609a613ab1ec SHA256 8bf4dd2375bc9fd02adf64ca9066118e0392a33428232ccf3f9091b96557b9aa
|
||||
DIST netbeans-7.1.1-201203012225-src.zip 172146133 RMD160 2c8f5798bab20b2f219cbe07931776191470a5e0 SHA1 a2d1b0fa5550d0071cd45f79998851fdd4516f79 SHA256 a8ff48a5837f7952cf305d70b511c4abb77d6f1639fc7de1578aac75274450d4
|
||||
DIST netbeans-7.1.2-201204101705-src.zip 172346251 RMD160 483068b4dceff3a82abd6b183c6675bf21ce7f00 SHA1 5bfb0ef3cc8ef08c2b20bddfcff91f59417f7478 SHA256 95df26a2eafdc88887a835b3abcf930fd0e72c1639c3e0bfceb9489e44c5865c
|
||||
DIST netbeans-9999-r1-build.xml.patch.bz2 2379 RMD160 9713acb05ca5c9000528dd195d5297e84103df2d SHA1 209945171a811e17ad52f63896cc4f5894a5ac0c SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e
|
||||
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-ergonomics/netbeans-ergonomics-7.1.2.ebuild,v 1.1 2012/04/26 21:47:00 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans Ergonomics Cluster"
|
||||
HOMEPAGE="http://netbeans.org/"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-nb-${PV}
|
||||
~dev-java/netbeans-platform-${PV}"
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.ergonomics -Dext.binaries.downloaded=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-ide-${SLOT} ide || die
|
||||
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ide.built
|
||||
|
||||
ln -s /usr/share/netbeans-nb-${SLOT}/nb nb || die
|
||||
cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.nb.built
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/ergonomics >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/ergonomics$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ergonomics
|
||||
}
|
@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-groovy/netbeans-groovy-7.1.2.ebuild,v 1.1 2012/04/26 21:47:20 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans Groovy Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/groovy"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/559C961A6CE793FAC94C8040253EA1FBD32B668B-groovy-all-1.6.4.jar"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-java-${PV}
|
||||
~dev-java/netbeans-platform-${PV}"
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.groovy -Dext.binaries.downloaded=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/559C961A6CE793FAC94C8040253EA1FBD32B668B-groovy-all-1.6.4.jar groovy.editor/external/groovy-all-1.6.4.jar || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-ide-${SLOT} ide || die
|
||||
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ide.built
|
||||
|
||||
ln -s /usr/share/netbeans-java-${SLOT} java || die
|
||||
cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.java.built
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/groovy >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/groovy$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# groovy-all.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/groovy
|
||||
}
|
@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-harness/netbeans-harness-7.1.2.ebuild,v 1.1 2012/04/26 21:47:39 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans Harness"
|
||||
HOMEPAGE="http://netbeans.org/features/platform/"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar
|
||||
http://hg.netbeans.org/binaries/418FC62C8A6EF5311987B01FE389B1F88EFDDCA2-jemmy-2.3.0.0.jar"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-platform-${PV}
|
||||
dev-java/javahelp:0"
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
>=dev-java/junit-4.4:4"
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.harness -Dext.binaries.downloaded=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar apisupport.harness/external/bindex-2.2.jar || die
|
||||
ln -s "${DISTDIR}"/418FC62C8A6EF5311987B01FE389B1F88EFDDCA2-jemmy-2.3.0.0.jar jemmy/external/jemmy-2.3.0.0.jar || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
java-pkg_jar-from --into apisupport.harness/external javahelp jsearch.jar jsearch-2.0_05.jar
|
||||
java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/harness >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/harness$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
fperms 755 launchers/app.sh
|
||||
find "${D}" -name "*.exe" -type f -delete
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/antlib
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# bindex-2.2.jar
|
||||
rm jsearch-2.0_05.jar && dosym /usr/share/javahelp/lib/jsearch.jar ${instdir}/jsearch-2.0_05.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# jemmy-2.3.0.0.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/harness
|
||||
}
|
@ -0,0 +1,388 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-ide/netbeans-ide-7.1.2.ebuild,v 1.1 2012/04/26 21:47:59 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans IDE Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/ide"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/B7ADB35C7BC16AFA8AE49C4D61F87E607BDADB41-antlr-runtime-3.3.jar
|
||||
http://hg.netbeans.org/binaries/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar
|
||||
http://hg.netbeans.org/binaries/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar
|
||||
http://hg.netbeans.org/binaries/643CC426B9F75AA111FAC0FAC0E52FF5D991A337-commons-net-3.0.1.jar
|
||||
http://hg.netbeans.org/binaries/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip
|
||||
http://hg.netbeans.org/binaries/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip
|
||||
http://hg.netbeans.org/binaries/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip
|
||||
http://hg.netbeans.org/binaries/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip
|
||||
http://hg.netbeans.org/binaries/77DB1AFF3C0730C144D30C9935A1CD8DCD2488A9-html5-datatypes.jar
|
||||
http://hg.netbeans.org/binaries/4388C34B9F085A42FBEA06C5B00FDF0A251171EC-html5doc.zip
|
||||
http://hg.netbeans.org/binaries/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar
|
||||
http://hg.netbeans.org/binaries/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar
|
||||
http://hg.netbeans.org/binaries/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar
|
||||
http://hg.netbeans.org/binaries/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar
|
||||
http://hg.netbeans.org/binaries/FACC6D84B0B0A650B1D44FED941E9ADD9F326862-isorelax20041111.jar
|
||||
http://hg.netbeans.org/binaries/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip
|
||||
http://hg.netbeans.org/binaries/BCF23B1D858C6F69D67C851D497984D25345D0B1-jaxb-api.jar
|
||||
http://hg.netbeans.org/binaries/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip
|
||||
http://hg.netbeans.org/binaries/2EC69BD69B66B0DABEA392DE713A11F975001760-jaxb-impl.jar
|
||||
http://hg.netbeans.org/binaries/64D468922B85A9626178AEDF564FFDBDE980B3EC-jaxb-xjc.jar
|
||||
http://hg.netbeans.org/binaries/F02664A059617D060BEC3EBA0BC002B2102AEB84-jaxb1-impl.jar
|
||||
http://hg.netbeans.org/binaries/C0C5653D2200F2BD2E834B26DFDBC830D07FA0F4-jing.jar
|
||||
http://hg.netbeans.org/binaries/71F7D2D5A3CF17CECBD15049A856BC0245C95C56-js.jar
|
||||
http://hg.netbeans.org/binaries/098B14300B35E1053AA9945FF2C1CDA164F43B33-js-domstubs.zip
|
||||
http://hg.netbeans.org/binaries/5756AA27E54A3EC6C8CDAE32F49BCA7BC139EB15-jsstubs.zip
|
||||
http://hg.netbeans.org/binaries/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar
|
||||
http://hg.netbeans.org/binaries/A1C0ED8C43A306E3FB7676E7463204B9DA9BE290-non-schema.jar
|
||||
http://hg.netbeans.org/binaries/DF8DD2981C9C3EBEDB059CA98450B587E784AF58-org.eclipse.core.contenttype-3.4.100.jar
|
||||
http://hg.netbeans.org/binaries/A71B23F287BB0CB27E3A5B7808AC07D45BE44841-org.eclipse.core.jobs-3.5.1.jar
|
||||
http://hg.netbeans.org/binaries/93CDEDB00404BF3C56AD3BF0501A9E7A09BD2108-org.eclipse.core.net-1.2.100.jar
|
||||
http://hg.netbeans.org/binaries/46735A729401036FC2C14CC05257ACB4CD4F6906-org.eclipse.core.runtime-3.6.0.jar
|
||||
http://hg.netbeans.org/binaries/9C98C277CFFBB4CA06CAFD5820562EF7B5100F5C-org.eclipse.core.runtime.compatibility.auth-3.2.200.jar
|
||||
http://hg.netbeans.org/binaries/8A288BD66E90B1081F843A17F95973514ED55A97-org.eclipse.equinox.app-1.3.1.jar
|
||||
http://hg.netbeans.org/binaries/491025C38F84A6FF9823315A74A0CAC4C30E51A8-org.eclipse.equinox.common-3.6.0.jar
|
||||
http://hg.netbeans.org/binaries/F411AB988320260361C3611714CA5AF1480CD1A3-org.eclipse.equinox.preferences-3.3.0.jar
|
||||
http://hg.netbeans.org/binaries/AD19FF36B5D976E5B4F289B5ACB32967216C1B2D-org.eclipse.equinox.registry-3.5.0.jar
|
||||
http://hg.netbeans.org/binaries/1FE453D0B251571463F9BE4F51F413BBA5A376A7-org.eclipse.equinox.security-1.0.200.jar
|
||||
http://hg.netbeans.org/binaries/34E70691382D67EE5C84EF207FB8D3784594BA2C-org.eclipse.jgit-1.0.0.201106090707-r.jar
|
||||
http://hg.netbeans.org/binaries/6AC191F42860D1698C9268AE044AFAA5FE806CE7-org.eclipse.mylyn.bugzilla.core-3.6.0.jar
|
||||
http://hg.netbeans.org/binaries/4617423828BC2E79A1871949C2914285405D8EFF-org.eclipse.mylyn.commons.core-3.6.0.jar
|
||||
http://hg.netbeans.org/binaries/053602E0177D42BF707019F1BC646193A899D571-org.eclipse.mylyn.commons.net-3.6.0.jar
|
||||
http://hg.netbeans.org/binaries/032EFC784E1DE21E4093C08F336C7582F5694760-org.eclipse.mylyn.commons.xmlrpc-3.6.0.jar
|
||||
http://hg.netbeans.org/binaries/5D73EEAEABC42C6FCB85593D1F5B04ACBDFAA0F9-org.eclipse.mylyn.tasks.core-3.6.0.jar
|
||||
http://hg.netbeans.org/binaries/CD33537FD47E801E01B427997F3DE4016159B414-preindexed.zip
|
||||
http://hg.netbeans.org/binaries/E66876EB5F33AA0E57F035F1AADD8C44FEAE7FCB-processtreekiller-1.0.1.jar
|
||||
http://hg.netbeans.org/binaries/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar
|
||||
http://hg.netbeans.org/binaries/1162833E0FE87B69B99B1F7DEB3A6C386EAB6F84-rhino1_7R2rc1.zip
|
||||
http://hg.netbeans.org/binaries/C56F4F5C42102A67F56EB8F12D0219E92E5307C2-sdocs.zip
|
||||
http://hg.netbeans.org/binaries/0B9606F570B28FFC4FCE6C7222B88B3DCEFB1A36-svnClientAdapter-javahl-1.6.13.jar
|
||||
http://hg.netbeans.org/binaries/A11623D2AF72A99C1509EC2A0ADA2DACBEE9A8E4-svnClientAdapter-main-1.6.13.jar
|
||||
http://hg.netbeans.org/binaries/0AE20EC02958F193ADAB4C272ACCF6FE3196DCA0-svnClientAdapter-svnkit-1.6.13.jar
|
||||
http://hg.netbeans.org/binaries/636C6FF256A978B786D7502F43E788448E9DAB4B-svnkit-1.3.4.jar
|
||||
http://hg.netbeans.org/binaries/AB271CFC19469D9088BE306685A7AC8787373F99-svnkit-javahl.jar
|
||||
http://hg.netbeans.org/binaries/7C6ED64C55164C5AE0394E11303CA95CB24166AF-swingx-0.9.5.jar
|
||||
http://hg.netbeans.org/binaries/538D727A9A0874019FB11280F07CE3F43EE723BC-sqljet-1.0.3.jar
|
||||
http://hg.netbeans.org/binaries/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar
|
||||
http://hg.netbeans.org/binaries/68B82D7246FD90E0FC70BB9C8F10611489BF371A-trilead.jar
|
||||
http://hg.netbeans.org/binaries/55CD0B272084EB80B8C91F3A0617BB602B4EF2DF-ValidationAPI.jar
|
||||
http://hg.netbeans.org/binaries/7A5A7DF07297A86A944D4D0562C685585B0734EF-validator.jar
|
||||
http://hg.netbeans.org/binaries/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar
|
||||
http://hg.netbeans.org/binaries/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar
|
||||
http://hg.netbeans.org/binaries/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar
|
||||
http://hg.netbeans.org/binaries/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-harness-${PV}
|
||||
~dev-java/netbeans-platform-${PV}
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-io:1
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/commons-logging:0
|
||||
dev-java/freemarker:2.3
|
||||
dev-java/icu4j:4.4
|
||||
dev-java/jdbc-mysql:0
|
||||
dev-java/jdbc-postgresql:0
|
||||
dev-java/jsr173:0
|
||||
dev-java/jvyamlb:0
|
||||
dev-java/log4j:0
|
||||
dev-java/lucene:3.0
|
||||
dev-java/saxon:9
|
||||
dev-java/smack:2.2
|
||||
dev-java/sun-jaf:0
|
||||
dev-java/tomcat-servlet-api:2.2
|
||||
dev-java/ws-commons-util:0
|
||||
dev-java/xerces:2
|
||||
dev-vcs/subversion:0[java]"
|
||||
# dev-java/jaxb:2 upstream version contains more stuff so websvccommon does not compile with ours
|
||||
# app-text/jing:0 our version is probably too old
|
||||
# dev-java/ini4j:0 our version is too old
|
||||
# java-virtuals/jaf:0 could use this instead of sun-jaf but it returns empty classpath
|
||||
# dev-java/trilead-ssh2:0 in overlay
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
dev-java/commons-codec:0
|
||||
dev-java/jsch:0
|
||||
dev-java/jzlib:0
|
||||
${CDEPEND}
|
||||
dev-java/javacc:0
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.ide -Dext.binaries.downloaded=true -Djava.awt.headless=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/B7ADB35C7BC16AFA8AE49C4D61F87E607BDADB41-antlr-runtime-3.3.jar libs.antlr3.runtime/external/antlr-runtime-3.3.jar || die
|
||||
ln -s "${DISTDIR}"/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar libs.bytelist/external/bytelist-0.1.jar || die
|
||||
ln -s "${DISTDIR}"/643CC426B9F75AA111FAC0FAC0E52FF5D991A337-commons-net-3.0.1.jar libs.commons_net/external/commons-net-3.0.1.jar || die
|
||||
# system commons-io fails with following error:
|
||||
# Missing manifest tag OpenIDE-Module; /var/tmp/portage/dev-java/netbeans-ide-9999_p20110911/work/nbbuild/netbeans/ide/modules/org-apache-commons-io.jar is not a module
|
||||
ln -s "${DISTDIR}"/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar o.apache.commons.io/external/commons-io-1.4.jar ||die
|
||||
ln -s "${DISTDIR}"/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip css.editor/external/css21-spec.zip || die
|
||||
ln -s "${DISTDIR}"/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip css.editor/external/css3-spec.zip || die
|
||||
ln -s "${DISTDIR}"/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip derby/external/derbysampledb.zip || die
|
||||
ln -s "${DISTDIR}"/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip html.editor/external/html-4.01.zip || die
|
||||
ln -s "${DISTDIR}"/77DB1AFF3C0730C144D30C9935A1CD8DCD2488A9-html5-datatypes.jar html.validation/external/html5-datatypes.jar || die
|
||||
ln -s "${DISTDIR}"/4388C34B9F085A42FBEA06C5B00FDF0A251171EC-html5doc.zip html.parser/external/html5doc.zip || die
|
||||
ln -s "${DISTDIR}"/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar html.parser/external/htmlparser-1.2.1.jar || die
|
||||
ln -s "${DISTDIR}"/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar libs.ini4j/external/ini4j-0.5.1.jar || die
|
||||
ln -s "${DISTDIR}"/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar html.validation/external/io-xml-util.jar || die
|
||||
ln -s "${DISTDIR}"/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar html.validation/external/iri.jar || die
|
||||
ln -s "${DISTDIR}"/FACC6D84B0B0A650B1D44FED941E9ADD9F326862-isorelax20041111.jar html.validation/external/isorelax20041111.jar || die
|
||||
ln -s "${DISTDIR}"/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip spellchecker.dictionary_en/external/ispell-enwl-3.1.20.zip || die
|
||||
ln -s "${DISTDIR}"/BCF23B1D858C6F69D67C851D497984D25345D0B1-jaxb-api.jar xml.jaxb.api/external/jaxb-api.jar || die
|
||||
ln -s "${DISTDIR}"/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip libs.jaxb/external/jaxb-api-doc.zip || die
|
||||
ln -s "${DISTDIR}"/2EC69BD69B66B0DABEA392DE713A11F975001760-jaxb-impl.jar libs.jaxb/external/jaxb-impl.jar || die
|
||||
ln -s "${DISTDIR}"/64D468922B85A9626178AEDF564FFDBDE980B3EC-jaxb-xjc.jar libs.jaxb/external/jaxb-xjc.jar || die
|
||||
ln -s "${DISTDIR}"/F02664A059617D060BEC3EBA0BC002B2102AEB84-jaxb1-impl.jar libs.jaxb/external/jaxb1-impl.jar || die
|
||||
ln -s "${DISTDIR}"/C0C5653D2200F2BD2E834B26DFDBC830D07FA0F4-jing.jar html.validation/external/jing.jar || die
|
||||
ln -s "${DISTDIR}"/71F7D2D5A3CF17CECBD15049A856BC0245C95C56-js.jar html.validation/external/js.jar || die
|
||||
ln -s "${DISTDIR}"/098B14300B35E1053AA9945FF2C1CDA164F43B33-js-domstubs.zip javascript.editing/external/js-domstubs.zip || die
|
||||
ln -s "${DISTDIR}"/5756AA27E54A3EC6C8CDAE32F49BCA7BC139EB15-jsstubs.zip javascript.editing/external/jsstubs.zip || die
|
||||
ln -s "${DISTDIR}"/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar extexecution.destroy/external/libpam4j-1.1.jar || die
|
||||
ln -s "${DISTDIR}"/A1C0ED8C43A306E3FB7676E7463204B9DA9BE290-non-schema.jar html.validation/external/non-schema.jar || die
|
||||
ln -s "${DISTDIR}"/DF8DD2981C9C3EBEDB059CA98450B587E784AF58-org.eclipse.core.contenttype-3.4.100.jar o.eclipse.core.contenttype/external/org.eclipse.core.contenttype-3.4.100.jar || die
|
||||
ln -s "${DISTDIR}"/A71B23F287BB0CB27E3A5B7808AC07D45BE44841-org.eclipse.core.jobs-3.5.1.jar o.eclipse.core.jobs/external/org.eclipse.core.jobs-3.5.1.jar || die
|
||||
ln -s "${DISTDIR}"/93CDEDB00404BF3C56AD3BF0501A9E7A09BD2108-org.eclipse.core.net-1.2.100.jar o.eclipse.core.net/external/org.eclipse.core.net-1.2.100.jar || die
|
||||
ln -s "${DISTDIR}"/46735A729401036FC2C14CC05257ACB4CD4F6906-org.eclipse.core.runtime-3.6.0.jar o.eclipse.core.runtime/external/org.eclipse.core.runtime-3.6.0.jar || die
|
||||
ln -s "${DISTDIR}"/9C98C277CFFBB4CA06CAFD5820562EF7B5100F5C-org.eclipse.core.runtime.compatibility.auth-3.2.200.jar o.eclipse.core.runtime.compatibility.auth/external/org.eclipse.core.runtime.compatibility.auth-3.2.200.jar || die
|
||||
ln -s "${DISTDIR}"/8A288BD66E90B1081F843A17F95973514ED55A97-org.eclipse.equinox.app-1.3.1.jar o.eclipse.equinox.app/external/org.eclipse.equinox.app-1.3.1.jar || die
|
||||
ln -s "${DISTDIR}"/491025C38F84A6FF9823315A74A0CAC4C30E51A8-org.eclipse.equinox.common-3.6.0.jar o.eclipse.equinox.common/external/org.eclipse.equinox.common-3.6.0.jar || die
|
||||
ln -s "${DISTDIR}"/F411AB988320260361C3611714CA5AF1480CD1A3-org.eclipse.equinox.preferences-3.3.0.jar o.eclipse.equinox.preferences/external/org.eclipse.equinox.preferences-3.3.0.jar || die
|
||||
ln -s "${DISTDIR}"/AD19FF36B5D976E5B4F289B5ACB32967216C1B2D-org.eclipse.equinox.registry-3.5.0.jar o.eclipse.equinox.registry/external/org.eclipse.equinox.registry-3.5.0.jar || die
|
||||
ln -s "${DISTDIR}"/1FE453D0B251571463F9BE4F51F413BBA5A376A7-org.eclipse.equinox.security-1.0.200.jar o.eclipse.equinox.security/external/org.eclipse.equinox.security-1.0.200.jar || die
|
||||
ln -s "${DISTDIR}"/34E70691382D67EE5C84EF207FB8D3784594BA2C-org.eclipse.jgit-1.0.0.201106090707-r.jar o.eclipse.jgit/external/org.eclipse.jgit-1.0.0.201106090707-r.jar || die
|
||||
ln -s "${DISTDIR}"/6AC191F42860D1698C9268AE044AFAA5FE806CE7-org.eclipse.mylyn.bugzilla.core-3.6.0.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core-3.6.0.jar || die
|
||||
ln -s "${DISTDIR}"/4617423828BC2E79A1871949C2914285405D8EFF-org.eclipse.mylyn.commons.core-3.6.0.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core-3.6.0.jar || die
|
||||
ln -s "${DISTDIR}"/053602E0177D42BF707019F1BC646193A899D571-org.eclipse.mylyn.commons.net-3.6.0.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net-3.6.0.jar || die
|
||||
ln -s "${DISTDIR}"/032EFC784E1DE21E4093C08F336C7582F5694760-org.eclipse.mylyn.commons.xmlrpc-3.6.0.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc-3.6.0.jar || die
|
||||
ln -s "${DISTDIR}"/5D73EEAEABC42C6FCB85593D1F5B04ACBDFAA0F9-org.eclipse.mylyn.tasks.core-3.6.0.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core-3.6.0.jar || die
|
||||
ln -s "${DISTDIR}"/CD33537FD47E801E01B427997F3DE4016159B414-preindexed.zip javascript.editing/external/preindexed.zip || die
|
||||
ln -s "${DISTDIR}"/E66876EB5F33AA0E57F035F1AADD8C44FEAE7FCB-processtreekiller-1.0.1.jar extexecution.destroy/external/processtreekiller-1.0.1.jar || die
|
||||
ln -s "${DISTDIR}"/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar o.apache.xml.resolver/external/resolver-1.2.jar || die
|
||||
ln -s "${DISTDIR}"/1162833E0FE87B69B99B1F7DEB3A6C386EAB6F84-rhino1_7R2rc1.zip o.mozilla.rhino.patched/external/rhino1_7R2rc1.zip || die
|
||||
ln -s "${DISTDIR}"/C56F4F5C42102A67F56EB8F12D0219E92E5307C2-sdocs.zip javascript.editing/external/sdocs.zip || die
|
||||
ln -s "${DISTDIR}"/538D727A9A0874019FB11280F07CE3F43EE723BC-sqljet-1.0.3.jar libs.svnClientAdapter.svnkit/external/sqljet-1.0.3.jar || die
|
||||
ln -s "${DISTDIR}"/0B9606F570B28FFC4FCE6C7222B88B3DCEFB1A36-svnClientAdapter-javahl-1.6.13.jar libs.svnClientAdapter.javahl/external/svnClientAdapter-javahl-1.6.13.jar || die
|
||||
ln -s "${DISTDIR}"/A11623D2AF72A99C1509EC2A0ADA2DACBEE9A8E4-svnClientAdapter-main-1.6.13.jar libs.svnClientAdapter/external/svnClientAdapter-main-1.6.13.jar || die
|
||||
ln -s "${DISTDIR}"/0AE20EC02958F193ADAB4C272ACCF6FE3196DCA0-svnClientAdapter-svnkit-1.6.13.jar libs.svnClientAdapter.svnkit/external/svnClientAdapter-svnkit-1.6.13.jar || die
|
||||
ln -s "${DISTDIR}"/636C6FF256A978B786D7502F43E788448E9DAB4B-svnkit-1.3.4.jar libs.svnClientAdapter.svnkit/external/svnkit-1.3.4.jar || die
|
||||
ln -s "${DISTDIR}"/AB271CFC19469D9088BE306685A7AC8787373F99-svnkit-javahl.jar libs.svnClientAdapter.svnkit/external/svnkit-javahl.jar || die
|
||||
ln -s "${DISTDIR}"/7C6ED64C55164C5AE0394E11303CA95CB24166AF-swingx-0.9.5.jar libs.swingx/external/swingx-0.9.5.jar || die
|
||||
ln -s "${DISTDIR}"/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar httpserver/external/tomcat-webserver-3.2.jar || die
|
||||
ln -s "${DISTDIR}"/68B82D7246FD90E0FC70BB9C8F10611489BF371A-trilead.jar libs.svnClientAdapter.svnkit/external/trilead.jar || die
|
||||
ln -s "${DISTDIR}"/55CD0B272084EB80B8C91F3A0617BB602B4EF2DF-ValidationAPI.jar swing.validation/external/ValidationAPI.jar || die
|
||||
ln -s "${DISTDIR}"/7A5A7DF07297A86A944D4D0562C685585B0734EF-validator.jar html.validation/external/validator.jar || die
|
||||
ln -s "${DISTDIR}"/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar extexecution.destroy/external/winp-1.14-patched.jar || die
|
||||
ln -s "${DISTDIR}"/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar o.apache.xmlrpc/external/xmlrpc-client-3.0.jar || die
|
||||
ln -s "${DISTDIR}"/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar o.apache.xmlrpc/external/xmlrpc-common-3.0.jar || die
|
||||
ln -s "${DISTDIR}"/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar o.apache.xmlrpc/external/xmlrpc-server-3.0.jar || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
ln -s /usr/share/netbeans-harness-${SLOT} harness || die
|
||||
cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.harness.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg_jar-from --build-only --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.44.jar
|
||||
java-pkg_jar-from --build-only --into c.jcraft.jzlib/external jzlib jzlib.jar jzlib-1.0.7.jar
|
||||
java-pkg_jar-from --into db.drivers/external jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.13-bin.jar
|
||||
java-pkg_jar-from --into db.drivers/external jdbc-postgresql jdbc-postgresql.jar postgresql-8.3-603.jdbc3.jar
|
||||
java-pkg_jar-from --build-only --into db.sql.visualeditor/external javacc javacc.jar javacc-3.2.jar
|
||||
java-pkg_jar-from --into extexecution.destroy/external commons-io-1 commons-io.jar commons-io-1.4.jar
|
||||
java-pkg_jar-from --into html.parser/external icu4j-4.4 icu4j.jar icu4j-4_0.jar
|
||||
java-pkg_jar-from --into html.validation/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
|
||||
java-pkg_jar-from --into html.validation/external commons-logging commons-logging-api.jar commons-logging-api-1.1.1.jar
|
||||
# java-pkg_jar-from --into html.validation/external jing jing.jar jing.jar
|
||||
java-pkg_jar-from --into html.validation/external log4j log4j.jar log4j-1.2.15.jar
|
||||
java-pkg_jar-from --into html.validation/external saxon-9 saxon.jar saxon9B.jar
|
||||
# java-pkg_jar-from --into libs.antlr3.runtime/external antlr-3 antlr3.jar antlr-runtime-3.1.3.jar
|
||||
# java-pkg_jar-from --into libs.commons_net/external commons-net commons-net.jar commons-net-1.4.1.jar
|
||||
java-pkg_jar-from --into libs.freemarker/external freemarker-2.3 freemarker.jar freemarker-2.3.8.jar
|
||||
# java-pkg_jar-from --into libs.ini4j/external ini4j ini4j.jar ini4j-0.5.1.jar
|
||||
# java-pkg_jar-from --into libs.jaxb/external jaxb-2 jaxb-impl.jar jaxb-impl.jar
|
||||
java-pkg_jar-from --into libs.jvyamlb/external jvyamlb jvyamlb.jar jvyamlb-0.2.3.jar
|
||||
java-pkg_jar-from --into libs.lucene/external lucene-3.0 lucene-core.jar lucene-core-3.0.3.jar
|
||||
java-pkg_jar-from --into libs.smack/external smack-2.2 smack.jar smack.jar
|
||||
java-pkg_jar-from --into libs.smack/external smack-2.2 smackx.jar smackx.jar
|
||||
java-pkg_jar-from --into libs.svnClientAdapter.javahl/external subversion svn-javahl.jar svnjavahl-1.6.0.jar
|
||||
# java-pkg_jar-from --into libs.svnClientAdapter.svnkit/external trilead-ssh2 trilead-ssh2.jar trilead.jar
|
||||
java-pkg_jar-from --into libs.xerces/external xerces-2 xercesImpl.jar xerces-2.8.0.jar
|
||||
java-pkg_jar-from --build-only --into o.apache.commons.codec/external commons-codec commons-codec.jar apache-commons-codec-1.3.jar
|
||||
java-pkg_jar-from --into o.apache.commons.httpclient/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.1.jar
|
||||
java-pkg_jar-from --into o.apache.commons.lang/external commons-lang-2.1 commons-lang.jar commons-lang-2.4.jar
|
||||
java-pkg_jar-from --into o.apache.commons.logging/external commons-logging commons-logging.jar commons-logging-1.1.jar
|
||||
java-pkg_jar-from --into o.apache.ws.commons.util/external ws-commons-util ws-commons-util.jar ws-commons-util-1.0.1.jar
|
||||
java-pkg_jar-from --into servletapi/external tomcat-servlet-api-2.2 servlet.jar servlet-2.2.jar
|
||||
java-pkg_jar-from --into xml.jaxb.api/external sun-jaf activation.jar activation.jar
|
||||
# java-pkg_jar-from --into xml.jaxb.api/external jaxb-2 jaxb-api.jar jaxb-api.jar
|
||||
java-pkg_jar-from --into xml.jaxb.api/external jsr173 jsr173.jar jsr173_api.jar
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unset DISPLAY
|
||||
eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/ide >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/ide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
rm -fr "${D}"/${INSTALL_DIR}/bin/nativeexecution || die
|
||||
rm -fr "${D}"/${INSTALL_DIR}/modules/lib || die
|
||||
|
||||
insinto ${INSTALL_DIR}/bin/nativeexecution
|
||||
doins bin/nativeexecution/*
|
||||
|
||||
pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution >/dev/null || die
|
||||
for file in *.sh ; do
|
||||
fperms 755 ${file}
|
||||
done
|
||||
popd >/dev/null || die
|
||||
|
||||
if use x86 ; then
|
||||
doins -r bin/nativeexecution/Linux-x86
|
||||
pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86 >/dev/null || die
|
||||
for file in * ; do
|
||||
fperms 755 ${file}
|
||||
done
|
||||
popd >/dev/null || die
|
||||
elif use amd64 ; then
|
||||
doins -r bin/nativeexecution/Linux-x86_64
|
||||
pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86_64 >/dev/null || die
|
||||
for file in * ; do
|
||||
fperms 755 ${file}
|
||||
done
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# rm antlr-runtime-3.1.3.jar && dosym /usr/share/antlr-3/lib/antlr3.jar ${instdir}/antlr-runtime-3.1.3.jar || die
|
||||
# bytelist-0.1.jar
|
||||
rm commons-logging-api-1.1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging-api.jar ${instdir}/commons-logging-api-1.1.1.jar || die
|
||||
rm commons-logging-1.1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.1.jar || die
|
||||
# rm commons-net-1.4.1.jar && dosym /usr/share/commons-net/lib/commons-net.jar ${instdir}/commons-net-1.4.1.jar || die
|
||||
# ddl.jar
|
||||
rm freemarker-2.3.8.jar && dosym /usr/share/freemarker-2.3/lib/freemarker.jar ${instdir}/freemarker-2.3.8.jar || die
|
||||
# html5-datatypes.jar
|
||||
# html5-parser.jar
|
||||
rm icu4j-4_0.jar && dosym /usr/share/icu4j-4.4/lib/icu4j.jar ${instdir}/icu4j-4_0.jar || die
|
||||
# [[ -f ini4j-0.5.1.jar ]] && java-pkg_jar-from ini4j ini4j.jar ${instdir}/ini4j-0.5.1.jar || die
|
||||
# io-xml-util.jar
|
||||
# iri.jar
|
||||
# isorelax20041111.jar
|
||||
# [[ -f jing.jar ]] && java-pkg_jar-from jing jing.jar ${instdir}/jing.jar || die
|
||||
# js.jar
|
||||
rm jvyamlb-0.2.3.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.3.jar || die
|
||||
# libpam4j-1.1.jar
|
||||
rm log4j-1.2.15.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.15.jar || die
|
||||
rm lucene-core-3.0.3.jar && dosym /usr/share/lucene-3.0/lib/lucene-core.jar ${instdir}/lucene-core-3.0.3.jar || die
|
||||
rm mysql-connector-java-5.1.13-bin.jar && dosym /usr/share/jdbc-mysql/lib/jdbc-mysql.jar ${instdir}/mysql-connector-java-5.1.13-bin.jar || die
|
||||
# non-schema.jar
|
||||
# org.eclipse.mylyn.bugzilla.core_3.3.1.jar
|
||||
# org.eclipse.mylyn.commons.core_3.3.1.jar
|
||||
# org.eclipse.mylyn.commons.net_3.3.0.jar
|
||||
# org.eclipse.mylyn.tasks.core_3.3.1.jar
|
||||
# org-netbeans-tax.jar
|
||||
rm postgresql-8.3-603.jdbc3.jar && dosym /usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar ${instdir}/postgresql-8.3-603.jdbc3.jar || die
|
||||
# processtreekiller-1.0.1.jar
|
||||
# resolver-1.2.jar
|
||||
rm saxon9B.jar && dosym /usr/share/saxon-9/lib/saxon.jar ${instdir}/saxon9B.jar || die
|
||||
rm servlet-2.2.jar && dosym /usr/share/tomcat-servlet-api-2.2/lib/servlet.jar ${instdir}/servlet-2.2.jar || die
|
||||
rm smack.jar && dosym /usr/share/smack-2.2/lib/smack.jar ${instdir}/smack.jar || die
|
||||
rm smackx.jar && dosym /usr/share/smack-2.2/lib/smackx.jar ${instdir}/smackx.jar || die
|
||||
# sqljet-1.0.3.jar
|
||||
# svnClientAdapter-javahl-1.6.13.jar
|
||||
# svnClientAdapter-main-1.6.13.jar
|
||||
# svnClientAdapter-svnkit-1.6.13.jar
|
||||
rm svnjavahl-1.6.0.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl-1.6.0.jar || die
|
||||
# svnkit-javahl.jar
|
||||
# svnkit-1.3.4.jar
|
||||
# swingx-0.9.5.jar
|
||||
# [[ -f trilead.jar ]] && java-pkg_jar-from trilead-ssh2 trilead-ssh2.jar ${instdir}/trilead.jar || die
|
||||
# ValidationAPI.jar
|
||||
# validator.jar
|
||||
# webserver.jar
|
||||
# winp-1.14-patched.jar
|
||||
rm xerces-2.8.0.jar && dosym /usr/share/xerces-2/lib/xercesImpl.jar ${instdir}/xerces-2.8.0.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/jaxb
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm activation.jar && dosym /usr/share/sun-jaf/lib/activation.jar ${instdir}/activation.jar || die
|
||||
# [[ -f jaxb-impl.jar ]] && java-pkg_jar-from jaxb-2 jaxb-impl.jar ${instdir}/jaxb-impl.jar || die
|
||||
# jaxb-xjc.jar
|
||||
# jaxb1-impl.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/jaxb/api
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# [[ -f jaxb-api.jar ]] && java-pkg_jar-from jaxb-2 jaxb-api.jar ${instdir}/jaxb-api.jar || die
|
||||
rm jsr173_api.jar && dosym /usr/share/jsr173/lib/jsr173.jar ${instdir}/jsr173_api.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ide
|
||||
}
|
@ -0,0 +1,318 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-java/netbeans-java-7.1.2.ebuild,v 1.1 2012/04/26 21:49:18 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans Java Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/java"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/1A78676E734C72549EE6D9F166BAFE22F7CBA8CD-ant-libs-1.8.3.zip
|
||||
http://hg.netbeans.org/binaries/29CFD351206016B67DD0D556098513D2B259C69B-apache-maven-3.0.4-bin.zip
|
||||
http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip
|
||||
http://hg.netbeans.org/binaries/BC0919190ADD3A7FB764C8412D10A2B026CD9563-eclipselink-2.3.0.jar
|
||||
http://hg.netbeans.org/binaries/7C60F22D32F56478AC25A732038E9DD7DFECF5DD-eclipselink-jpa-modelgen-2.3.0.jar
|
||||
http://hg.netbeans.org/binaries/59FAD2A4D4A1CFECED8149854EEEC3A7B9668927-glassfish-persistence-v2-build-58g.jar
|
||||
http://hg.netbeans.org/binaries/907363E301E2279930C82BEB466BF2053C6E993B-glassfish-persistence-v2ur1-build-09d.jar
|
||||
http://hg.netbeans.org/binaries/C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip
|
||||
http://hg.netbeans.org/binaries/204680C59C7D8A4A1A26B9A2ED46D0DAA6DC10B3-indexer-artifact-4.1.2.jar
|
||||
http://hg.netbeans.org/binaries/EA1F2B2504FC5ABCB06146D858F74A97B85A2998-indexer-core-4.1.2.jar
|
||||
http://hg.netbeans.org/binaries/E90F4B2F8972AA5EF58139F16B78D5F6ACFC6EF9-javac-api-nb-7.0-b07.jar
|
||||
http://hg.netbeans.org/binaries/8BA05B53DB763AA62EFD389B2F1C8CFA889079EF-javac-impl-nb-7.0-b07.jar
|
||||
http://hg.netbeans.org/binaries/3BCA561B1B7B284B3D3C097F92A9CD47FF485058-javax.persistence-2.0.jar
|
||||
http://hg.netbeans.org/binaries/2F43A634A42CC4FD2EF9E24B488AFFD6984D3411-jaxws-2.2.zip
|
||||
http://hg.netbeans.org/binaries/23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip
|
||||
http://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip
|
||||
http://hg.netbeans.org/binaries/653A6AD1EF786BC577FC20F56E5F2B1D30423805-maven-dependency-tree-1.2.jar
|
||||
http://hg.netbeans.org/binaries/3D4C3416889FDC5C149D97382020F4AC6C736377-org.eclipse.persistence.jpa.jpql_1.0.0.jar
|
||||
http://hg.netbeans.org/binaries/CB686A65B6C4516A32173CB60385D02027440620-spring-2.5.6.SEC03.jar
|
||||
http://hg.netbeans.org/binaries/7622CB23DAEDD9DE0ACBD16C820D3A02F94572AF-spring-framework-3.0.6.RELEASE.zip"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-platform-${PV}
|
||||
~dev-java/netbeans-harness-${PV}
|
||||
~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-websvccommon-${PV}
|
||||
dev-java/beansbinding:0
|
||||
dev-java/cglib:2.2
|
||||
dev-java/jdom:1.0"
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0
|
||||
dev-java/junit:4"
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}
|
||||
dev-java/absolutelayout:0
|
||||
dev-java/antlr:0[java]
|
||||
dev-java/asm:2.2
|
||||
dev-java/cglib:2.1
|
||||
dev-java/commons-collections:0
|
||||
dev-java/dom4j:1
|
||||
dev-java/ehcache:1.2
|
||||
dev-java/fastinfoset:0
|
||||
dev-java/javassist:3
|
||||
dev-java/jsr67:0
|
||||
dev-java/jsr181:0
|
||||
dev-java/jsr250:0
|
||||
dev-java/glassfish-transaction-api:0
|
||||
dev-java/jtidy:0
|
||||
dev-java/saaj:0
|
||||
dev-java/stax-ex:0
|
||||
dev-java/xmlstreambuffer:0"
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.java -Dext.binaries.downloaded=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
pkg_pretend() {
|
||||
local die_now=""
|
||||
|
||||
if [ -n "$(find /usr/share/netbeans-java-${SLOT}/ant -type l)" ]; then
|
||||
eerror "Please remove following symlinks and run emerge again:"
|
||||
find /usr/share/netbeans-java-${SLOT}/ant -type l
|
||||
die_now="1"
|
||||
fi
|
||||
|
||||
if [ -L /usr/share/netbeans-java-${SLOT}/maven ]; then
|
||||
if [ -z "${die_now}" ]; then
|
||||
eerror "Please remove following symlinks and run emerge again:"
|
||||
fi
|
||||
|
||||
echo "/usr/share/netbeans-java-${SLOT}/maven"
|
||||
die_now="1"
|
||||
fi
|
||||
|
||||
if [ -n "${die_now}" ]; then
|
||||
die "Symlinks exist"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/1A78676E734C72549EE6D9F166BAFE22F7CBA8CD-ant-libs-1.8.3.zip o.apache.tools.ant.module/external/ant-libs-1.8.3.zip || die
|
||||
ln -s "${DISTDIR}"/29CFD351206016B67DD0D556098513D2B259C69B-apache-maven-3.0.4-bin.zip maven.embedder/external/apache-maven-3.0.4-bin.zip || die
|
||||
ln -s "${DISTDIR}"/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip o.jdesktop.beansbinding/external/beansbinding-1.2.1-doc.zip || die
|
||||
ln -s "${DISTDIR}"/BC0919190ADD3A7FB764C8412D10A2B026CD9563-eclipselink-2.3.0.jar j2ee.eclipselink/external/eclipselink-2.3.0.jar || die
|
||||
ln -s "${DISTDIR}"/7C60F22D32F56478AC25A732038E9DD7DFECF5DD-eclipselink-jpa-modelgen-2.3.0.jar j2ee.eclipselinkmodelgen/external/eclipselink-jpa-modelgen-2.3.0.jar || die
|
||||
ln -s "${DISTDIR}"/59FAD2A4D4A1CFECED8149854EEEC3A7B9668927-glassfish-persistence-v2-build-58g.jar j2ee.toplinklib/external/glassfish-persistence-v2-build-58g.jar || die
|
||||
ln -s "${DISTDIR}"/907363E301E2279930C82BEB466BF2053C6E993B-glassfish-persistence-v2ur1-build-09d.jar j2ee.toplinklib/external/glassfish-persistence-v2ur1-build-09d.jar || die
|
||||
ln -s "${DISTDIR}"/C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip hibernatelib/external/hibernate-3.2.5-lib.zip || die
|
||||
ln -s "${DISTDIR}"/204680C59C7D8A4A1A26B9A2ED46D0DAA6DC10B3-indexer-artifact-4.1.2.jar maven.indexer/external/indexer-artifact-4.1.2.jar || die
|
||||
ln -s "${DISTDIR}"/EA1F2B2504FC5ABCB06146D858F74A97B85A2998-indexer-core-4.1.2.jar maven.indexer/external/indexer-core-4.1.2.jar || die
|
||||
ln -s "${DISTDIR}"/E90F4B2F8972AA5EF58139F16B78D5F6ACFC6EF9-javac-api-nb-7.0-b07.jar libs.javacapi/external/javac-api-nb-7.0-b07.jar || die
|
||||
ln -s "${DISTDIR}"/8BA05B53DB763AA62EFD389B2F1C8CFA889079EF-javac-impl-nb-7.0-b07.jar libs.javacimpl/external/javac-impl-nb-7.0-b07.jar || die
|
||||
ln -s "${DISTDIR}"/3BCA561B1B7B284B3D3C097F92A9CD47FF485058-javax.persistence-2.0.jar j2ee.eclipselink/external/javax.persistence-2.0.jar || die
|
||||
ln -s "${DISTDIR}"/2F43A634A42CC4FD2EF9E24B488AFFD6984D3411-jaxws-2.2.zip websvc.jaxws21/external/jaxws-2.2.zip || die
|
||||
ln -s "${DISTDIR}"/23E69F0F17757673C573EBD9899727B82EF7DB7F-jaxws-2.2-api.zip websvc.jaxws21api/external/jaxws-2.2-api.zip || die
|
||||
ln -s "${DISTDIR}"/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip websvc.jaxws21/external/jaxws-api-doc.zip || die
|
||||
ln -s "${DISTDIR}"/653A6AD1EF786BC577FC20F56E5F2B1D30423805-maven-dependency-tree-1.2.jar maven.embedder/external/maven-dependency-tree-1.2.jar || die
|
||||
ln -s "${DISTDIR}"/3D4C3416889FDC5C149D97382020F4AC6C736377-org.eclipse.persistence.jpa.jpql_1.0.0.jar j2ee.eclipselink/external/org.eclipse.persistence.jpa.jpql_1.0.0.jar || die
|
||||
ln -s "${DISTDIR}"/CB686A65B6C4516A32173CB60385D02027440620-spring-2.5.6.SEC03.jar libs.springframework/external/spring-2.5.6.SEC03.jar || die
|
||||
ln -s "${DISTDIR}"/7622CB23DAEDD9DE0ACBD16C820D3A02F94572AF-spring-framework-3.0.6.RELEASE.zip libs.springframework/external/spring-framework-3.0.6.RELEASE.zip || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
java-pkg_jar-from --into libs.cglib/external cglib-2.2 cglib.jar cglib-2.2.jar
|
||||
java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
|
||||
java-pkg_jar-from --into maven.embedder/external jdom-1.0 jdom.jar jdom-1.0.jar
|
||||
java-pkg_jar-from --into o.jdesktop.beansbinding/external beansbinding beansbinding.jar beansbinding-1.2.1.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
ln -s /usr/share/netbeans-harness-${SLOT} harness || die
|
||||
cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.harness.built
|
||||
|
||||
ln -s /usr/share/netbeans-ide-${SLOT} ide || die
|
||||
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ide.built
|
||||
|
||||
ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
|
||||
cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.websvccommon.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/java >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
grep -E "/java$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
#rm -fr "${D}"/${INSTALL_DIR}/ant/* || die
|
||||
#rm -fr "${D}"/${INSTALL_DIR}/maven || die
|
||||
#dosym /usr/share/maven-bin-3.0 ${INSTALL_DIR}/maven
|
||||
chmod 755 "${D}"/${INSTALL_DIR}/maven/bin/mvn* || die
|
||||
rm -fr "${D}"/${INSTALL_DIR}/maven/bin/*.bat || die
|
||||
|
||||
#insinto ${INSTALL_DIR}/ant
|
||||
#dosym /usr/share/ant/bin ${INSTALL_DIR}/ant/bin
|
||||
#dosym /usr/share/ant/etc ${INSTALL_DIR}/ant/etc
|
||||
#doins -r ant/extra
|
||||
#dosym /usr/share/ant/lib ${INSTALL_DIR}/ant/lib
|
||||
#doins -r ant/nblib
|
||||
#dosym /usr/share/ant/tasks ${INSTALL_DIR}/ant/tasks
|
||||
#local vertasks=$(ls -d /usr/share/ant/tasks-*)
|
||||
#dosym ${vertasks} ${INSTALL_DIR}/ant/$(basename ${vertasks}) # it would be better if ant would have tasks-current dir
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=/${INSTALL_DIR}/modules/ext
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm AbsoluteLayout.jar && dosym /usr/share/absolutelayout/lib/absolutelayout.jar ${instdir}/AbsoluteLayout.jar || die
|
||||
rm beansbinding-1.2.1.jar && dosym /usr/share/beansbinding/lib/beansbinding.jar ${instdir}/beansbinding-1.2.1.jar || die
|
||||
rm cglib-2.2.jar && dosym /usr/share/cglib-2.2/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
|
||||
# javac-api-nb-7.0-b07.jar
|
||||
# javac-impl-nb-7.0-b07.jar
|
||||
# org-netbeans-modules-java-j2seplatform-probe.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/eclipselink
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# dir: eclipselink
|
||||
# eclipselink-javax.persistence-2.0.jar
|
||||
# eclipselink-jpa-modelgen-2.2.0.jar
|
||||
# eclipselink-2.2.0.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/hibernate
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm antlr-2.7.6.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.6.jar || die
|
||||
rm asm-attrs.jar && dosym /usr/share/asm-2.2/lib/asm-attrs.jar ${instdir}/asm-attrs.jar || die
|
||||
rm asm.jar && dosym /usr/share/asm-2.2/lib/asm.jar ${instdir}/asm.jar || die
|
||||
rm cglib-2.1.3.jar && dosym /usr/share/cglib-2.1/lib/cglib.jar ${instdir}/cglib-2.1.3.jar || die
|
||||
rm commons-collections-2.1.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-2.1.1.jar || die
|
||||
rm dom4j-1.6.1.jar && dosym /usr/share/dom4j-1/lib/dom4j.jar ${instdir}/dom4j-1.6.1.jar || die
|
||||
rm ehcache-1.2.3.jar && dosym /usr/share/ehcache-1.2/lib/ehcache.jar ${instdir}/ehcache-1.2.3.jar || die
|
||||
# ejb3-persistence.jar
|
||||
# hibernate-annotations.jar
|
||||
# hibernate-commons-annotations.jar
|
||||
# hibernate-entitymanager.jar
|
||||
# hibernate-tools.jar
|
||||
# hibernate3.jar
|
||||
rm javassist.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist.jar || die
|
||||
# jdbc2_0-stdext.jar
|
||||
rm jta.jar && dosym /usr/share/jta/lib/jta.jar ${instdir}/jta.jar || die
|
||||
rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=/${INSTALL_DIR}/modules/ext/jaxws22
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm FastInfoset.jar && dosym /usr/share/fastinfoset/lib/fastinfoset.jar ${instdir}/FastInfoset.jar || die
|
||||
# gmbal-api-only.jar
|
||||
# http.jar
|
||||
# jaxws-rt.jar
|
||||
# jaxws-tools.jar
|
||||
# management-api.jar
|
||||
# mimepull.jar
|
||||
# policy.jar
|
||||
rm saaj-impl.jar && dosym /usr/share/saaj/lib/saaj.jar ${instdir}/saaj-impl.jar || die
|
||||
rm stax-ex.jar && dosym /usr/share/stax-ex/lib/stax-ex.jar ${instdir}/stax-ex.jar || die
|
||||
rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/streambuffer.jar ${instdir}/streambuffer.jar || die
|
||||
# woodstox.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# jaxws-api.jar
|
||||
rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die
|
||||
rm jsr250-api.jar && dosym /usr/share/jsr250/lib/jsr250.jar ${instdir}/jsr250-api.jar || die
|
||||
rm saaj-api.jar && dosym /usr/share/jsr67/lib/jsr67.jar ${instdir}/saaj-api.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/maven
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# indexer-artifact-4.1.1.jar
|
||||
# indexer-core-4.1.1.jar
|
||||
rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
|
||||
# maven-dependency-tree-1.2.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/spring
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# spring-2.5.6.SEC01.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/spring-3.0
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# spring-aop-3.0.2.RELEASE.jar
|
||||
# spring-asm-3.0.2.RELEASE.jar
|
||||
# spring-aspects-3.0.2.RELEASE.jar
|
||||
# spring-beans-3.0.2.RELEASE.jar
|
||||
# spring-context-support-3.0.2.RELEASE.jar
|
||||
# spring-context-3.0.2.RELEASE.jar
|
||||
# spring-core-3.0.2.RELEASE.jar
|
||||
# spring-expression-3.0.2.RELEASE.jar
|
||||
# spring-instrument-tomcat-3.0.2.RELEASE.jar
|
||||
# spring-instrument-3.0.2.RELEASE.jar
|
||||
# spring-jdbc-3.0.2.RELEASE.jar
|
||||
# spring-jms-3.0.2.RELEASE.jar
|
||||
# spring-orm-3.0.2.RELEASE.jar
|
||||
# spring-oxm-3.0.2.RELEASE.jar
|
||||
# spring-struts-3.0.2.RELEASE.jar
|
||||
# spring-test-3.0.2.RELEASE.jar
|
||||
# spring-tx-3.0.2.RELEASE.jar
|
||||
# spring-webmvc-portlet-3.0.2.RELEASE.jar
|
||||
# spring-webmvc-3.0.2.RELEASE.jar
|
||||
# spring-web-3.0.2.RELEASE.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/toplink
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# toplink-essentials-agent.jar
|
||||
# toplink-essentials.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java
|
||||
}
|
@ -0,0 +1,142 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-javacard/netbeans-javacard-7.1.2.ebuild,v 1.1 2012/04/26 21:48:18 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans JavaCard Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/javacard"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar
|
||||
http://hg.netbeans.org/binaries/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar
|
||||
http://hg.netbeans.org/binaries/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-java-${PV}
|
||||
~dev-java/netbeans-platform-${PV}"
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}
|
||||
dev-java/ant-contrib:0
|
||||
dev-java/asm:3
|
||||
dev-java/bcel:0
|
||||
dev-java/commons-cli:1
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-logging:0"
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.javacard -Dext.binaries.downloaded=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar javacard.ri.platform/external/anttasks.jar || die
|
||||
ln -s "${DISTDIR}"/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar javacard.apdu.io/external/apduio.jar || die
|
||||
ln -s "${DISTDIR}"/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip javacard.ri.bundle/external/javacard_ri.zip || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-ide-${SLOT} ide || die
|
||||
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ide.built
|
||||
|
||||
ln -s /usr/share/netbeans-java-${SLOT} java || die
|
||||
cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.java.built
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/javacard >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/javacard$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
rm -fr "${D}"/${INSTALL_DIR}/bin || die
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/JCDK3.0.2_ConnectedEdition/lib
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm ant-contrib-1.0b3.jar && dosym /usr/share/ant-contrib/lib/ant-contrib.jar ${instdir}/ant-contrib-1.0b3.jar || die
|
||||
# api_classic.jar
|
||||
# api_connected.jar
|
||||
rm asm-all-3.1.jar && dosym /usr/share/asm-3/lib/asm.jar ${instdir}/asm-all-3.1.jar || die
|
||||
rm bcel-5.2.jar && dosym /usr/share/bcel/lib/bcel.jar ${instdir}/bcel-5.2.jar || die
|
||||
rm commons-cli-1.0.jar && dosym /usr/share/commons-cli-1/lib/commons-cli.jar ${instdir}/commons-cli-1.0.jar || die
|
||||
rm commons-codec-1.3.jar && dosym /usr/share/commons-codec/lib/commons-codec.jar ${instdir}/commons-codec-1.3.jar || die
|
||||
rm commons-httpclient-3.0.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.0.jar || die
|
||||
rm commons-logging-1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.jar || die
|
||||
# jcapt.jar
|
||||
# jctasks.jar
|
||||
# nbtasks.jar
|
||||
# nbutils.jar
|
||||
# tools.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
# apduio.jar
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/javacard
|
||||
}
|
@ -0,0 +1,161 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-javadoc/netbeans-javadoc-7.1.2.ebuild,v 1.1 2012/04/26 21:48:38 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans JavaDocs"
|
||||
HOMEPAGE="http://netbeans.org/"
|
||||
SLOT="7.1"
|
||||
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/FF23DBB427D09AAEC3998B50D740C42B6A3FCD61-ant-libs-1.8.2.zip"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
DEPEND="virtual/jdk:1.6
|
||||
app-arch/unzip
|
||||
dev-java/javahelp:0
|
||||
dev-java/junit:4
|
||||
~dev-java/netbeans-apisupport-${PV}
|
||||
~dev-java/netbeans-cnd-${PV}
|
||||
~dev-java/netbeans-dlight-${PV}
|
||||
~dev-java/netbeans-enterprise-${PV}
|
||||
~dev-java/netbeans-ergonomics-${PV}
|
||||
~dev-java/netbeans-groovy-${PV}
|
||||
~dev-java/netbeans-harness-${PV}
|
||||
~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-java-${PV}
|
||||
~dev-java/netbeans-javacard-${PV}
|
||||
~dev-java/netbeans-javafx-${PV}
|
||||
~dev-java/netbeans-mobility-${PV}
|
||||
~dev-java/netbeans-nb-${PV}
|
||||
~dev-java/netbeans-php-${PV}
|
||||
~dev-java/netbeans-platform-${PV}
|
||||
~dev-java/netbeans-profiler-${PV}
|
||||
~dev-java/netbeans-websvccommon-${PV}"
|
||||
RDEPEND=""
|
||||
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-9999-r1-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/FF23DBB427D09AAEC3998B50D740C42B6A3FCD61-ant-libs-1.8.2.zip o.apache.tools.ant.module/external/ant-libs-1.8.2.zip || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-9999-r1-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
|
||||
cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.apisupport.built
|
||||
|
||||
ln -s /usr/share/netbeans-cnd-${SLOT} cnd || die
|
||||
cat /usr/share/netbeans-cnd-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.cnd.built
|
||||
|
||||
ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
|
||||
cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.dlight.built
|
||||
|
||||
ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
|
||||
cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.enterprise.built
|
||||
|
||||
ln -s /usr/share/netbeans-ergonomics-${SLOT} ergonomics || die
|
||||
cat /usr/share/netbeans-ergonomics-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ergonomics.built
|
||||
|
||||
ln -s /usr/share/netbeans-groovy-${SLOT} groovy || die
|
||||
cat /usr/share/netbeans-groovy-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.groovy.built
|
||||
|
||||
ln -s /usr/share/netbeans-harness-${SLOT} harness || die
|
||||
cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.harness.built
|
||||
|
||||
ln -s /usr/share/netbeans-ide-${SLOT} ide || die
|
||||
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ide.built
|
||||
|
||||
ln -s /usr/share/netbeans-java-${SLOT} java || die
|
||||
cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.java.built
|
||||
|
||||
ln -s /usr/share/netbeans-javacard-${SLOT} javacard || die
|
||||
cat /usr/share/netbeans-javacard-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.javacard.built
|
||||
|
||||
ln -s /usr/share/netbeans-mobility-${SLOT} mobility || die
|
||||
cat /usr/share/netbeans-mobility-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.mobility.built
|
||||
|
||||
ln -s /usr/share/netbeans-nb-${SLOT}/nb nb || die
|
||||
cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.nb.built
|
||||
|
||||
ln -s /usr/share/netbeans-php-${SLOT} php || die
|
||||
cat /usr/share/netbeans-php-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.php.built
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
ln -s /usr/share/netbeans-profiler-${SLOT} profiler || die
|
||||
cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.profiler.built
|
||||
|
||||
ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
|
||||
cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.websvccommon.built
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant -f nbbuild/build.xml bootstrap || die
|
||||
ANT_OPTS="-Xmx1536m" eant -f nbbuild/javadoctools/build.xml build-javadoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
rm nbbuild/build/javadoc/*.zip
|
||||
java-pkg_dojavadoc nbbuild/build/javadoc
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST 418FC62C8A6EF5311987B01FE389B1F88EFDDCA2-jemmy-2.3.0.0.jar 1695373 RMD160 f668bba808f22b28f6dcb70d5a1d6e98a166da8d SHA1 418fc62c8a6ef5311987b01fe389b1f88efddca2 SHA256 7676709cfadc97da5056cb90f35b57850259444ef97f03905b83bd08e39fa0db
|
||||
DIST A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar 109823 RMD160 4033e5b1d3508c6bbf43c03476967e665b9cbe79 SHA1 a806d99716c5e9441bfd8b401176fddefc673022 SHA256 18050686d2da634f3612a8100c405eb092dc06d86b8917c6b945d096daf49f94
|
||||
DIST netbeans-7.1.1-201203012225-src.zip 172146133 RMD160 2c8f5798bab20b2f219cbe07931776191470a5e0 SHA1 a2d1b0fa5550d0071cd45f79998851fdd4516f79 SHA256 a8ff48a5837f7952cf305d70b511c4abb77d6f1639fc7de1578aac75274450d4
|
||||
DIST netbeans-7.1.2-201204101705-src.zip 172346251 RMD160 483068b4dceff3a82abd6b183c6675bf21ce7f00 SHA1 5bfb0ef3cc8ef08c2b20bddfcff91f59417f7478 SHA256 95df26a2eafdc88887a835b3abcf930fd0e72c1639c3e0bfceb9489e44c5865c
|
||||
DIST netbeans-9999-r1-build.xml.patch.bz2 2379 RMD160 9713acb05ca5c9000528dd195d5297e84103df2d SHA1 209945171a811e17ad52f63896cc4f5894a5ac0c SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue