parent
0d94fa6077
commit
69587153c4
@ -1 +1,2 @@
|
||||
DIST eclean-kernel-0.4.1.tar.bz2 9540 SHA256 be877b4a9686abb665077e32e22dee7ad85bb5514f3db5ac6e179d3d3bc92dbb SHA512 8274c299221a1472b9408a8f3bbe547daba1c6377594ac0f5a6c5874a35235977b8b956232952d4b14296d11ebe2bd91c547ddd4de42dc2ed5f7f13970c8f15f WHIRLPOOL 49990795ae8061423985c8a96e213062124a1f5258872a26ad259835d1bf4aff44d3a621cdde74161fa801673c4e1995e69b466b77e6dcbad0130b19e65eadfe
|
||||
DIST eclean-kernel-0.4.tar.bz2 9408 SHA256 be9d85fcb0c0cd4c70b3e3e7793bcacf9673faf9069356ef0af9661c050cf928 SHA512 f7f4a1a910594bb28bf37792c87a7ee96daecea006376cf98d0eeeb4d4c3c2a59e46fd986a5c7d34d0a54520bef58b225a498f926d4858d5ba2a4d3941ed3f36 WHIRLPOOL 3f8a168562082a12de34d5cca1e8fda2a5730607678bea55ff5c68f96399e3500681efccfe16201017f510ef916376b9da2495b39913ae5183f81ed8fae97b57
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eclean-kernel/eclean-kernel-0.4.1.ebuild,v 1.1 2013/10/15 19:46:56 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Remove outdated built kernels"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/eclean-kernel/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="kernel_linux? ( dev-python/pymountboot[${PYTHON_USEDEP}] )"
|
@ -1,3 +1,4 @@
|
||||
DIST tar-1.23.tar.bz2 2189324 SHA256 c9328372db62fbb1d94c9e4e3cefc961111af46de47085b635359c00a0eebe36 SHA512 425528c55d5e7ebc631d253e63cc9b198db57916366fd28a46d3c5e0f1b518d859696c5cd5c1f626f349eb27d0b52fbb3bfb8ec36c17a64bfbe5b7ffe3e89823 WHIRLPOOL bb0cc383602ca6c1733e3888498cb1cd34c6155f511cc0c9ecaa30f011538588f6aae79bdd74e4b25c4fc620cdda48626899b9c5f39b74b421250e4336b1ec72
|
||||
DIST tar-1.25.tar.bz2 2327460 SHA256 f3f6ce41b8e0f327abd05c95990f113ddafbae131e10f79a99728ed46458494b SHA512 4775831aaf3d602bd1ac96e0893f20c4030a232aab24c49daf197c32181c8018e98708aa50ee297566515b0dc5578bce1c779c8d456a98961111f9b6d5eb4888 WHIRLPOOL 228140b8c965bf969d32f09acbd1126447e80d5ee9dd1a07a7083bcdd95eb0335b049252a896cce4746777bef95c1aeded0f2b2efe9655519ea26564dc911b1e
|
||||
DIST tar-1.26.tar.bz2 2339773 SHA256 5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41 SHA512 3bc12441bebfc388017ad0632fb3e777ceaf62be82fb19ce771df8bbb765eb094dad336110189f49f5eaaebd4d6ced586098e1e3c8b9f7f775dc483d5513f209 WHIRLPOOL bfdc579f97a260d6b6776211f470bfc1a99b81d89a8067b2ebfab3101ab1a4f2b4f7c444edffc05bc7585993cae601c499ec074bb606c7ef289deac5429cfb2b
|
||||
DIST tar-1.27.tar.bz2 2530071 SHA256 2238c5c63c7ecaccc962f10482d76875b45cedfed69138ed852a88e344af3c7b SHA512 7f9c9fa07f67c0a3ca7593ffb334db1c32206ee3cccb4484543b4c055ff3a4b72d46671aa534b4e754158653654ac04c9272d6738e7f06ab502b9c4c8d60c433 WHIRLPOOL fc296b654611545fd8cedabf52b231330371af7c396ebe28bd0c66633cb58f143bbdce4cf9d75e15f770851ebd96426781a050abf770a1d0dc194819e460637f
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.27.ebuild,v 1.2 2013/10/15 09:03:17 polynomial-c Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Use this to make tarballs :)"
|
||||
HOMEPAGE="http://www.gnu.org/software/tar/"
|
||||
SRC_URI="mirror://gnu/tar/${P}.tar.bz2
|
||||
mirror://gnu-alpha/tar/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="minimal nls static userland_GNU xattr"
|
||||
|
||||
RDEPEND="xattr? ( sys-apps/attr )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.10.35 )"
|
||||
|
||||
src_prepare() {
|
||||
if ! use userland_GNU ; then
|
||||
sed -i \
|
||||
-e 's:/backup\.sh:/gbackup.sh:' \
|
||||
scripts/{backup,dump-remind,restore}.in \
|
||||
|| die "sed non-GNU"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
FORCE_UNSAFE_CONFIGURE=1 \
|
||||
econf \
|
||||
--enable-backup-scripts \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--libexecdir="${EPREFIX}"/usr/sbin \
|
||||
$(usex userland_GNU "" "--program-prefix=g") \
|
||||
$(use_enable nls) \
|
||||
$(use_with xattr xattrs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
local p=$(usex userland_GNU "" "g")
|
||||
if [[ -z ${p} ]] ; then
|
||||
# a nasty yet required piece of baggage
|
||||
exeinto /etc
|
||||
doexe "${FILESDIR}"/rmt || die
|
||||
fi
|
||||
|
||||
# autoconf looks for gtar before tar (in configure scripts), hence
|
||||
# in Prefix it is important that it is there, otherwise, a gtar from
|
||||
# the host system (FreeBSD, Solaris, Darwin) will be found instead
|
||||
# of the Prefix provided (GNU) tar
|
||||
if use prefix ; then
|
||||
dosym tar /bin/gtar
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog* NEWS README* THANKS
|
||||
newman "${FILESDIR}"/tar.1 ${p}tar.1
|
||||
mv "${ED}"/usr/sbin/${p}backup{,-tar}
|
||||
mv "${ED}"/usr/sbin/${p}restore{,-tar}
|
||||
|
||||
if use minimal ; then
|
||||
find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
|
||||
-type f -a '!' '(' -name tar -o -name ${p}tar ')' \
|
||||
-delete
|
||||
fi
|
||||
}
|
@ -0,0 +1,407 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.52.ebuild,v 1.1 2013/10/15 23:16:55 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python ruby tcl"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="~app-editors/vim-core-${PV}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
x11-libs/libXext
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libXft
|
||||
gnome? ( >=gnome-base/libgnomeui-2.6 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
)
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua )
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
|
||||
tcl? ( dev-lang/tcl )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
dev-util/ctags
|
||||
sys-devel/autoconf
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
|
||||
# Patches for vim-core only (runtime/*)
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/gentoo/patches-core/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Patch to build with ruby-1.8.0_pre5 and following
|
||||
sed -i 's/defout/stdout/g' "${S}"/src/if_ruby.c
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --disable-gpm --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
# tclinterp is broken; when you --enable-tclinterp flag, then
|
||||
# the following command never returns:
|
||||
# VIMINIT='let OS=system("uname -s")' vim
|
||||
# mzscheme support is currently broken. bug #91970
|
||||
#myconf+=" $(use_enable mzscheme mzschemeinterp)"
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# gvim's GUI preference order is as follows:
|
||||
# aqua CARBON (not tested)
|
||||
# -aqua gtk gnome GNOME2
|
||||
# -aqua gtk -gnome GTK2
|
||||
# -aqua -gtk motif MOTIF
|
||||
# -aqua -gtk -motif neXt NEXTAW
|
||||
# -aqua -gtk -motif -neXt ATHENA
|
||||
echo ; echo
|
||||
if use aqua ; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=" --enable-darwin --enable-gui=carbon"
|
||||
elif use gtk ; then
|
||||
myconf+=" --enable-gtk2-check"
|
||||
if use gnome ; then
|
||||
einfo "Building gvim with the Gnome 2 GUI"
|
||||
myconf+=" --enable-gui=gnome2"
|
||||
else
|
||||
einfo "Building gvim with the gtk+-2 GUI"
|
||||
myconf+=" --enable-gui=gtk2"
|
||||
fi
|
||||
elif use motif ; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=" --enable-gui=motif"
|
||||
elif use neXt ; then
|
||||
einfo "Building gvim with the neXtaw GUI"
|
||||
myconf+=" --enable-gui=nextaw"
|
||||
else
|
||||
einfo "Building gvim with the Athena GUI"
|
||||
myconf+=" --enable-gui=athena"
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
# avoid finding of this function, to avoid having to patch either
|
||||
# configure or the source, which would be much more hackish.
|
||||
# after all vim does it right, only interix is badly broken (again)
|
||||
export ac_cv_func_sigaction=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-vim-name=gvim --with-x \
|
||||
--disable-selinux \
|
||||
$(use_enable lua luainterp) \
|
||||
$(use_with luajit) \
|
||||
$(use_enable netbeans) \
|
||||
$(use_enable ruby rubyinterp) \
|
||||
$(use_enable tcl tclinterp) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i -e 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i -e 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start
|
||||
# in vim for how this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../testvim nongui \
|
||||
|| die "At least one test failed"
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dobin src/gvim
|
||||
dosym gvim /usr/bin/gvimdiff
|
||||
dosym gvim /usr/bin/evim
|
||||
dosym gvim /usr/bin/eview
|
||||
dosym gvim /usr/bin/gview
|
||||
dosym gvim /usr/bin/rgvim
|
||||
dosym gvim /usr/bin/rgview
|
||||
|
||||
dodir /usr/share/man/man1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1
|
||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1
|
||||
|
||||
insinto /etc/vim
|
||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
||||
eprefixify "${ED}"/etc/vim/gvimrc
|
||||
|
||||
insinto /usr/share/applications
|
||||
newins "${FILESDIR}"/gvim.desktop-r2 gvim.desktop
|
||||
insinto /usr/share/pixmaps
|
||||
doins "${FILESDIR}"/gvim.xpm
|
||||
|
||||
# bash completion script, bug #79018.
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
echo
|
||||
fi
|
||||
|
||||
echo
|
||||
einfo "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -0,0 +1,233 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.52.ebuild,v 1.1 2013/10/15 23:13:15 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r3.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
DEPEND="sys-devel/autoconf"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
|
||||
# Patches for vim-core only (runtime/*)
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/gentoo/patches-core/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Patch to build with ruby-1.8.0_pre5 and following
|
||||
sed -i 's/defout/stdout/g' "${S}"/src/if_ruby.c
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-features=tiny \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm \
|
||||
--disable-selinux \
|
||||
$(use_enable nls) \
|
||||
$(use_enable acl) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake tools
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dodir /usr/{bin,share/{man/man1,vim}}
|
||||
cd src || die "cd src failed"
|
||||
emake \
|
||||
installruntime \
|
||||
installmanlinks \
|
||||
installmacros \
|
||||
installtutor \
|
||||
installtutorbin \
|
||||
installtools \
|
||||
install-languages \
|
||||
install-icons \
|
||||
DESTDIR="${D}" \
|
||||
BINDIR="${EPREFIX}"/usr/bin \
|
||||
MANDIR="${EPREFIX}"/usr/share/man \
|
||||
DATADIR="${EPREFIX}"/usr/share
|
||||
|
||||
keepdir ${vimfiles}/keymap
|
||||
|
||||
# default vimrc is installed by vim-core since it applies to
|
||||
# both vim and gvim
|
||||
insinto /etc/vim/
|
||||
newins "${FILESDIR}"/vimrc-r4 vimrc
|
||||
eprefixify "${ED}"/etc/vim/vimrc
|
||||
|
||||
if use minimal ; then
|
||||
# To save space, install only a subset of the files.
|
||||
# Helps minimalize the livecd, bug 65144.
|
||||
eshopts_push -s extglob
|
||||
|
||||
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
|
||||
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
|
||||
rm "${ED}"/usr/bin/vimtutor
|
||||
|
||||
local keep_colors="default"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
||||
|
||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
||||
# tinkering with the next line might make bad things happen ...
|
||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
||||
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
# These files might have slight security issues, so we won't
|
||||
# install them. See bug #77841. We don't mind if these don't
|
||||
# exist.
|
||||
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
|
||||
|
||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
@ -0,0 +1,371 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.52.ebuild,v 1.1 2013/10/15 23:15:36 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python ruby tcl vim-pager"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua )
|
||||
)
|
||||
!minimal? (
|
||||
~app-editors/vim-core-${PV}
|
||||
dev-util/ctags
|
||||
)
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
|
||||
tcl? ( dev-lang/tcl )
|
||||
X? ( x11-libs/libXt )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
sys-devel/autoconf
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Patch to build with ruby-1.8.0_pre5 and following
|
||||
sed -i 's/defout/stdout/g' "${S}"/src/if_ruby.c
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager ; then
|
||||
cat <<-END > "${S}"/runtime/macros/manpager.sh
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
END
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
if use minimal ; then
|
||||
myconf="--with-features=tiny \
|
||||
--disable-nls \
|
||||
--disable-multibyte \
|
||||
--disable-acl \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-luainterp \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-tclinterp \
|
||||
--disable-gpm"
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable gpm)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
myconf+=" $(use_enable lua luainterp)"
|
||||
myconf+=" $(use_with luajit)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
myconf+=" $(use_enable tcl tclinterp)"
|
||||
|
||||
# tclinterp is broken; when you --enable-tclinterp flag, then
|
||||
# the following command never returns:
|
||||
# VIMINIT='let OS=system("uname -s")' vim
|
||||
# mzscheme support is currently broken. bug #91970
|
||||
#myconf+=" $(use_enable mzscheme mzschemeinterp)"
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=" --enable-gui=no --disable-darwin $(use_with X x)"
|
||||
fi
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--disable-selinux \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i -e 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i -e 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../vim nongui \
|
||||
|| die "At least one test failed"
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
dosym vim /usr/bin/vimdiff
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||
insinto ${vimfiles}/macros
|
||||
doins runtime/macros/manpager.sh
|
||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
if use X ; then
|
||||
echo
|
||||
elog "The 'X' USE flag enables vim <-> X communication, like"
|
||||
elog "updating the xterm titlebar. It does not install a GUI."
|
||||
fi
|
||||
echo
|
||||
elog "To install a GUI version of vim, use the app-editors/gvim"
|
||||
elog "package."
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
echo
|
||||
|
||||
echo
|
||||
elog "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST VBoxGuestAdditions_4.1.26.iso 52281344 SHA256 d824f920ce69cf3710b980b972f9158e27d081e89b114a597b181eca1842687d SHA512 f4fb80a61f36a22d7bbeacc0e342671e0a3aa18c12fe90c35edf29e586bcb43157f0c20ce19bcbf7a48a5cd8568337d35afc44ae35f2f55f4cdd077600cbe747 WHIRLPOOL 0f81aece690cce386fa21d8e109cf7730ad91becbce68be7df21839dbfbf52252f360f9530a4af1d5b15bf38551c1b53d141bd05fdc61cc0c5e5b87b529d0e34
|
||||
DIST VBoxGuestAdditions_4.2.16.iso 59633664 SHA256 cf2b0722da984a5f41a7814ee288262cbdf4c785630b2a7726c3daa6c5caa0c5 SHA512 9704c0cbc5d8be92a76b77af1d7d1b52cf9534e12c7ac4295b0a97f179a9fdfbddba9126ecc93f32067281d6eeb0091a6bf726ab61d8abc15e175699648b7604 WHIRLPOOL b02f2f633db6170eb6d54e7724531a0c6ef96103bde765fe901b5e92d22906b84ed23b93021fe9fa9725512d2d3a31d80430fee9ccd17aba1a5e9ec5200ff4c9
|
||||
DIST VBoxGuestAdditions_4.2.18.iso 59656192 SHA256 f11a7f13dfe7bf9f246fb877144bb467fe6deadcd876568ec79b6ccd3b59d767 SHA512 2e5b0bc0d63e3b51f95fb5e6827088f130f07c2af1648c46282a3ae6af8150832f29724106b4d8335a0a51178f1ffdf069376cc46a964c24bbe06fea36d012a5 WHIRLPOOL 39afc0ce9f905f8fdac2aaa1db5f80e856ddd5f4229d21f31ce6684c93a4ec556632c8af605979461e3a1849531bcc771d6bbfb98a75a4c39fa430ecb08754d3
|
||||
DIST VBoxGuestAdditions_4.3.0.iso 64145408 SHA256 eb6337ddd2d19d16ad7a9dafeea4fa49804e3d7ff217313250a5d14f34cefc97 SHA512 bb31bd07d7cb5c7c55b07f87ce54a1ad9f0bd5bf50d207452701c62b67bfa6b93a0c9550787d17511068273628e0e802d1f9a23c85a0926faec08bacf841be9d WHIRLPOOL ddad5d14bab35bed8d2a77675f22543ec818d936ba1d53f450d4557414499e1a12a25f518f5c02c348ecfcd1c3348ad149a402b9fce5e429aa0868e1af3389dc
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.2.16.ebuild,v 1.1 2013/07/08 14:50:31 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.3.0.ebuild,v 1.1 2013/10/15 13:25:25 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,12 +1,12 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.26-84997.tar.gz 10856343 SHA256 b392c2f8ed8d813a18597679a90eed9d76efd12d161373cbc5bd7de8165f5ce2 SHA512 581672dd46910cea77d0762d217f4e5afe28f5b45dcec68568885214e745af637a8588a96a85c5b8cb1b761ad68b05e8148d580f30ebf851228d34888c77998e WHIRLPOOL 6c9e3971259bfbf4f54ff6c7eb571f47bf78a51e5d1f4cce01529f7727444c366b70c343c1d0ebfc8fa1adb4bdd57ea4644f813f2991b6cb8f2d381a34f69372
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.16-86992.tar.gz 11651255 SHA256 8f88b1ebe69b770103e9151bebf6681c5e049eb5fac45ae8d52c43440aa0fa0d SHA512 bd7c4d0f13871485ffa69fa5b27db0d9e8b578e9335149dc7d34b5b8fe49a89d1122494590435ac269357249d3bfaf45aae1a0915e223f4b3c40c12618320782 WHIRLPOOL 92e7afc998b642861564c0f2d59be1414ac85b0864114c76a5954476d61f1a7a82ef2a9e9a88931333dfbbe866390c5aefb8b4df5606bdc0b0371cacf42907de
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.18-88780.tar.gz 11665435 SHA256 1d1737b59d0f30f5d42beeabaff168bdc0a75b8b28df685979be6173e5adbbba SHA512 58d0990f8318a79da426c1390e6dd6df10639b5fc2b478044541d300c366881cba87ac0843e8524a7c489b95f0152e3942e6e28b178c85e582d70a1fb951bbdb WHIRLPOOL 33fc03dc5bcc0e5604aa9eb3d3c8fcc636a067d92a30689a98fd6d9ea16fa6b295e2f140af48b5747439b2ab3189bc645b0157848aed6d503d35e66232924714
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.0-89960.tar.gz 12735473 SHA256 718c822acedce96c6ab2af93ec8efdf1789bdd03b7cfabb2c9d2f94e2047b399 SHA512 6c7e6c0076ca9d7fd83a0f57a0138d4390fc6c05a862503f92c4ee7b0bf5435e7b9fe1cbcf7f66685252cfeead311bbf777ea9477331c839aa9fbb06c7454b44 WHIRLPOOL c5545101060d8350bb6332eb7ff86f4f015c15c90521c04679944b9175a238ed5914aa23c6656b780f0f9a4fc34b4e99ff1b3102342125c763c1c90d84d53188
|
||||
DIST VirtualBox-4.1.26-84997-Linux_amd64.run 78611922 SHA256 53d68de15bbdff02212e5f1fede92ce026817e6757079b6bfe19e170b780c096 SHA512 ab231749a2a7394d820032bab274dc2b66a0aaf3ff0e2ea069524191a80158410d1a5d3615094c5d185f214f402b4f5cf14474b3443c06dd4cc9a6b584329747 WHIRLPOOL de1b6ccb48af500e453fda213876d0da56b26cf9e86a068d3234a6d52cdeaf572399e0be0342a969ea1b2e7d7e21b392ec8f3bc40c4b5cb0ab96eeaa036dcfb5
|
||||
DIST VirtualBox-4.1.26-84997-Linux_x86.run 78489038 SHA256 67c690b9a419bae86eaf621ef05a7ba497d55adead4aa27c5d61412960b2f0c2 SHA512 0db76dac6b1fbb9a46cb37dc6b66647ab1658f41a8890ff4b4dbd84933aaaacc0a569e84a6f49e30c96fece3574bd29e4e921dbd1260ab3c7ddb4cbc17e9aeca WHIRLPOOL 4fea84cb7dcdb4bd4f2d5c20efd5d0ec9d1d665c16b6f4ba29ab10d18fc9d098fe3bdd782c41653476eeba42fcfd2cbb4be010eb45f04678798fc629e36e9ad0
|
||||
DIST VirtualBox-4.2.16-86992-Linux_amd64.run 85237201 SHA256 68b6971aad1ad9cbd03dda542da14d42e883285378a63c81824b2c5d6b73847c SHA512 6c37afc5216c1b9cdba711f67623824d8afc0f3f3d084ce66417f90bae843ac6db336e551ebfe72a66dcab66e64fd7352e9e55163033f6f083160668fcb79d6f WHIRLPOOL 69ba8a8cce2b168d35c4b670be816886af6b6dfd5225679ebd94817d4c5563df38b49ef66b4db499601a7a439e1ba3b47939c7da3b78a0679aeaae1eae0eb78b
|
||||
DIST VirtualBox-4.2.16-86992-Linux_x86.run 85042638 SHA256 1e9993a73fe6522948d1753cea07a793639ad161f396b1cb82d068ec06d9e25b SHA512 d9de0708fc383f4530293455f8cb2b631572fc97f3df1ee371b620b9b7bfa52e14e73e4586bfff40aadf1cab80de048421c63c5e7e5023782855c7de246c6b38 WHIRLPOOL 2c2e9822755b883e4f2f391c3729647bfdb3679edb96fbd640d5fe80ee066b36499e92abb05831115ca9bec13828781c4b7124fd66b2421ca6fd35fd20f9fc89
|
||||
DIST VirtualBox-4.2.18-88781-Linux_amd64.run 85226961 SHA256 2fdc201bb24fe7268dd034b8f22f1d245ed7c9ea2fcbe34f512615e56590abc2 SHA512 e931eec1b7860b2413dd76852dee3c8d8dfada09d638ad9663e076774f238df8357f0265bdb89ad6c869c20e54be8b2b35cc6634d6d1e4ccb9642066374a80d9 WHIRLPOOL 8b2a7834f02c7e20874fb4744b634e9f234145a47fa13f8201d4b4ab765447cde772fd18e403373dc6b3913c40bdca71f85471b0471bc9c7ca1ba9858ecf8a54
|
||||
DIST VirtualBox-4.2.18-88781-Linux_x86.run 85052878 SHA256 edc36d7f86d10cb5e56c812e17a46fb78a39c85b5173c18e1b4ae6cd837caa4a SHA512 3a7b0a064f5c89ccfe719d5ef4885adda8bdedd9aee9663485abbf34fd5d0e2661feaf0630989dc97903538ff4adc00049b110bdb382b61ec591b74541fa5f85 WHIRLPOOL 2dce592ea0d59a3234660008791db2ad799c07b5a971eae530a0338d85827b9089546145bf4dff5c101d8974193892cf16118d98da1a19ad697629095a6c5726
|
||||
DIST VirtualBox-4.3.0-89960-Linux_amd64.run 90695121 SHA256 ee4357c07d83a8a4def25553ae725e46b9d6bd9debc4b26bfae8a39bb4f20899 SHA512 2b9a1f2e11d9f5780c9d23711174f091741d39f4c7f139724cfad9946514d18d3c7569fc67cce257a4f6429eaddda90ed8d3a69981fc5584a5d130ee513ad8d8 WHIRLPOOL bfb387e7efd0b79ac2c331ada9a31da3808671c6ad5050bc8140bafc7d0c501b9d30245538dbcf8b3d59d94ca33bdb714c49d5efd73c55564020090e959de642
|
||||
DIST VirtualBox-4.3.0-89960-Linux_x86.run 90070476 SHA256 b0a9fe944ef861732831722d8de16b0d77c01f5c9b11127e3fb5ec845db169c7 SHA512 61440d29e2c0bb868581855ab002e8b9d867ab6fc4feb8c49c92e65cca1cd97c8eb674b1c916d161830a5129f86505efe12ac1db6a54cc24c830202b922fa8e3 WHIRLPOOL 60ddfebf36b6a9e8e4899fd558208271bcff9a39bda8bf9d7a3c7a29475fb8d0799671d8af297e1b647fd9742c59328ef5168446cd2efc89eaa1a7a73ac79634
|
||||
DIST VirtualBoxSDK-4.1.26-84997.zip 8805729 SHA256 5fbfd1773d0ef0bd72400b387cdf1b9a469499e442f400b98b22f9759c9f3026 SHA512 a888b622447a55157b5de23e7559ef9f45066bf55a4f082fdb1b4c313eecc84e908658239199c2b1f1c61bab2ab31ddb4ac597d648502cb28b9aa1053e2d954c WHIRLPOOL 4cb49c5041d50c068f2ae5d1772f4e1335c05a0fd6003aa54b9109536c090145e029e4c47c845f82ee7468cf262440ba15ee0bde7b9cc28d97f8ee25910a0756
|
||||
DIST VirtualBoxSDK-4.2.16-86992.zip 9719862 SHA256 5cee82448e82c1dab1bf2d82a1d3090d15e39255ddfde9109058559694db5399 SHA512 6d5260892384d5a2b424ef6102cac2ae7e07105aa4f0fac8011a4079ed8d3c6338a7322361ee64c593863c09a5248e37882d97c2c29797b11264711318cb6d3f WHIRLPOOL 553eb2eff56bc3487266619c9bb1f0614a385e4cd85e72ec16932c5e6389868545d23a251a1cadc2535668ebe109d0171fd76dcf5fd74ca50861a02dfd4cd391
|
||||
DIST VirtualBoxSDK-4.2.18-88780.zip 9736718 SHA256 d448607a416f0289334b7bb868522f6f92847c4ceaabe848b850fbb97126b58f SHA512 be96647826aa13d6780aec759121c4e297b0c6334b237e5e7194ff8bd05d0f8bada87de851aee4ef7bef11e9d676ce08207dbc8e19cf9b1c594dab5cf2d5a0ad WHIRLPOOL b712e93e503625d22dcfad6aa6c627243049ff557c68da816ac231f333dee1ccdb4a086a0e01940f1f77b1cae1ff738a49206ea1299a12b5ad6d23518435e406
|
||||
DIST VirtualBoxSDK-4.3.0-89960.zip 11272314 SHA256 fcf2c55b00cc0e31789692c290e11787eadc490ccadfb172203ddfa46a373718 SHA512 b23d1ff91752f6174e268877ad8a4265161acf8dda7c7a81284df26487846261549d199859c6fb6676a5ecff56a65a4629c8b33fda9f2244a27e45ed15cdc895 WHIRLPOOL 573ff8590f090cb8371b88213c9b17da0e59bd4f2c3b845d1a1265e815649f3bdf303e4fac3dcab2188a9a626e4890d181bca3f162139363b8881fea133a4096
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.26-84997.tar.gz 10856343 SHA256 b392c2f8ed8d813a18597679a90eed9d76efd12d161373cbc5bd7de8165f5ce2 SHA512 581672dd46910cea77d0762d217f4e5afe28f5b45dcec68568885214e745af637a8588a96a85c5b8cb1b761ad68b05e8148d580f30ebf851228d34888c77998e WHIRLPOOL 6c9e3971259bfbf4f54ff6c7eb571f47bf78a51e5d1f4cce01529f7727444c366b70c343c1d0ebfc8fa1adb4bdd57ea4644f813f2991b6cb8f2d381a34f69372
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.16-86992.tar.gz 11651255 SHA256 8f88b1ebe69b770103e9151bebf6681c5e049eb5fac45ae8d52c43440aa0fa0d SHA512 bd7c4d0f13871485ffa69fa5b27db0d9e8b578e9335149dc7d34b5b8fe49a89d1122494590435ac269357249d3bfaf45aae1a0915e223f4b3c40c12618320782 WHIRLPOOL 92e7afc998b642861564c0f2d59be1414ac85b0864114c76a5954476d61f1a7a82ef2a9e9a88931333dfbbe866390c5aefb8b4df5606bdc0b0371cacf42907de
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.18-88780.tar.gz 11665435 SHA256 1d1737b59d0f30f5d42beeabaff168bdc0a75b8b28df685979be6173e5adbbba SHA512 58d0990f8318a79da426c1390e6dd6df10639b5fc2b478044541d300c366881cba87ac0843e8524a7c489b95f0152e3942e6e28b178c85e582d70a1fb951bbdb WHIRLPOOL 33fc03dc5bcc0e5604aa9eb3d3c8fcc636a067d92a30689a98fd6d9ea16fa6b295e2f140af48b5747439b2ab3189bc645b0157848aed6d503d35e66232924714
|
||||
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.0-89960.tar.gz 12735473 SHA256 718c822acedce96c6ab2af93ec8efdf1789bdd03b7cfabb2c9d2f94e2047b399 SHA512 6c7e6c0076ca9d7fd83a0f57a0138d4390fc6c05a862503f92c4ee7b0bf5435e7b9fe1cbcf7f66685252cfeead311bbf777ea9477331c839aa9fbb06c7454b44 WHIRLPOOL c5545101060d8350bb6332eb7ff86f4f015c15c90521c04679944b9175a238ed5914aa23c6656b780f0f9a4fc34b4e99ff1b3102342125c763c1c90d84d53188
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2013 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.2.16.ebuild,v 1.1 2013/07/08 14:50:54 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.3.0.ebuild,v 1.1 2013/10/15 13:26:36 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
MY_BUILD="86992"
|
||||
MY_BUILD="89960"
|
||||
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
|
||||
MY_PV="${PV/beta/BETA}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
@ -1,3 +1,3 @@
|
||||
DIST VirtualBox-4.1.26.tar.bz2 74552384 SHA256 229773b45bb18374aa091d4ef585f3893307fb4ccb6f489055b048c0f93c36ab SHA512 da3dc07a390f423446190ba68221a9389423381def888a6eb754dc02fed75f0b99e41263ffc6d36f955b6018b8f7e928da55397bb544eae16cd5b0cbcc66ed89 WHIRLPOOL 9f5d74e44950d41887955250307bc1af99ca0007e3d4b0f6549b35ff3fb9a48d546f9b7dab6d346ac5a0e88bbb1af092665024d1e792aa9befdc04b6017c62bf
|
||||
DIST VirtualBox-4.2.16.tar.bz2 76904452 SHA256 ff0f8916d039120554d9d73c7cae1863d6161933374374ec2f5313892046d45a SHA512 3d7569e3e55b000ba76a5d31fd04bf6836b8dda101598266ecdaa05a7848765d8ee93bad4ad6e8da6fedc5db79598782eebfab2d6c4a4658d433c93fd45036bd WHIRLPOOL 54d902e65639927ffaaeb7b776156576b3b690ae100505f5a94bf2709ace2131ecac73013548a611c6e8dc38a3b5547681ad352f97b773f542d1e77818eb58a8
|
||||
DIST VirtualBox-4.2.18.tar.bz2 76893031 SHA256 9dbddf393b029c549249f627d12040c1d257972bc09292969b8819a31ab78d74 SHA512 c267cef156476992773135b5a154164f30841c4f2d4afa5e6c7c74a320384f621d141bff5f7164968767c3d86035befcb59e34b7a912a8a5ae3bede2d24e9c60 WHIRLPOOL 665e4895db5c0fd623fd08c6b9f4df69e5e5d27ebd3063a4216721460782691d2936567be68a4af7bed57b88fd5b2a41805df76551b1aac200ccff0101055a56
|
||||
DIST VirtualBox-4.3.0.tar.bz2 89452701 SHA256 8ea8988a041163c34bff1da6b278d7729cecd4596f5eb778575c5ac9ac95bc12 SHA512 455907296efa9fed98efd435554a00c168f5b3b1c2b237dfb41281a2cfa6da76e4f6d8cd763db15dbe8be20b145ba30690f61e4f4dd4efafd31b3014752da3f1 WHIRLPOOL 728613d31bf0dadcb45d4a55886afb617648e76ed41e3094a6fd750e5a98ce70b21df3188174fefb4b8db5f3c688697ee07830c0a0a0c0c4307163ac457726e1
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST vbox-kernel-module-src-4.1.26.tar.xz 460260 SHA256 69f7397a23b0a0fb55e2b9337d0770a4a1b2d11c2e53d9bc620f7629952bac8f SHA512 5b0312ddf71979d86ecb052e09efb6c19ae6c42a2f86c4cfd14f0b66e71d8e635713fd67f160f44195b77b350408d36ccd794bbbb6e3815cfdd174c4c29dbd00 WHIRLPOOL c1a351d1d5ba5b8bc50dc7a791ac3526aa1fc1fb12f1f8db412c774778eae010abab7d3cfdb3ba4e56dd72120c25ccc40d3b775fd14c67eeca71353110bf7291
|
||||
DIST vbox-kernel-module-src-4.2.16.tar.xz 493896 SHA256 e7224dc0771a00895750e00c5162f93d486d4f0215187fc3092d17afd2d94c0f SHA512 8fe61b285596471e84dd7231a3b0709107ed7442dd179c886252297058a7e0ef907c3889b7d97e1f8a670fd61df23dbf657f7d5228c378215df531b20bb2cd7d WHIRLPOOL 4962bf4c765c3760522c3bc3b4427ee59d4b3e12db7527e520dd8d9dbd4d47b02a158cca299b03ec68a4f9094930185968122b4a756336bc917077f2b4e7982d
|
||||
DIST vbox-kernel-module-src-4.2.18.tar.xz 493892 SHA256 2ff5bb1ba83dc45b15877305be6c36226f861fd0b0056812040237db1ef1158e SHA512 d8d5a188905b4fc94ff293620c1a92723846f88dd86c0aa34990a385280e78463333c777f67e656e5a363a0b981d6000fb6df1dc927da4c8854c3a9e94576979 WHIRLPOOL 946473710a7fa550afceb961967dd619ca224ad4dbb59c738975aaccbeb142dbd50daa6b652fcebe15769516d7edd1eca311b75fa082753b02b31b470c7a86dc
|
||||
DIST vbox-kernel-module-src-4.3.0.tar.xz 515512 SHA256 802362abd5e7429b6c8aa7604da650aec6d094dc9b49f07bc1a818f86d542ff5 SHA512 3e968a43991cc2de4e07f394504b64fbfda9f82aaeb84f0a3de419b2e46c6b18e20df8c7dfa0acf5bb1d57f8e6840d1385970eed91e634fda41288f5fbd74c3d WHIRLPOOL 59839e26ca557e5d9e6bfcd4d78276ad6eeafe80c921588db7d5721a39af7b4c6810ba77218ef8eb0a2de4957227ad337a9d3287eb79ef877229d9058748fad6
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST VirtualBox-4.1.26.tar.bz2 74552384 SHA256 229773b45bb18374aa091d4ef585f3893307fb4ccb6f489055b048c0f93c36ab SHA512 da3dc07a390f423446190ba68221a9389423381def888a6eb754dc02fed75f0b99e41263ffc6d36f955b6018b8f7e928da55397bb544eae16cd5b0cbcc66ed89 WHIRLPOOL 9f5d74e44950d41887955250307bc1af99ca0007e3d4b0f6549b35ff3fb9a48d546f9b7dab6d346ac5a0e88bbb1af092665024d1e792aa9befdc04b6017c62bf
|
||||
DIST VirtualBox-4.2.16.tar.bz2 76904452 SHA256 ff0f8916d039120554d9d73c7cae1863d6161933374374ec2f5313892046d45a SHA512 3d7569e3e55b000ba76a5d31fd04bf6836b8dda101598266ecdaa05a7848765d8ee93bad4ad6e8da6fedc5db79598782eebfab2d6c4a4658d433c93fd45036bd WHIRLPOOL 54d902e65639927ffaaeb7b776156576b3b690ae100505f5a94bf2709ace2131ecac73013548a611c6e8dc38a3b5547681ad352f97b773f542d1e77818eb58a8
|
||||
DIST VirtualBox-4.2.18.tar.bz2 76893031 SHA256 9dbddf393b029c549249f627d12040c1d257972bc09292969b8819a31ab78d74 SHA512 c267cef156476992773135b5a154164f30841c4f2d4afa5e6c7c74a320384f621d141bff5f7164968767c3d86035befcb59e34b7a912a8a5ae3bede2d24e9c60 WHIRLPOOL 665e4895db5c0fd623fd08c6b9f4df69e5e5d27ebd3063a4216721460782691d2936567be68a4af7bed57b88fd5b2a41805df76551b1aac200ccff0101055a56
|
||||
DIST VirtualBox-4.3.0.tar.bz2 89452701 SHA256 8ea8988a041163c34bff1da6b278d7729cecd4596f5eb778575c5ac9ac95bc12 SHA512 455907296efa9fed98efd435554a00c168f5b3b1c2b237dfb41281a2cfa6da76e4f6d8cd763db15dbe8be20b145ba30690f61e4f4dd4efafd31b3014752da3f1 WHIRLPOOL 728613d31bf0dadcb45d4a55886afb617648e76ed41e3094a6fd750e5a98ce70b21df3188174fefb4b8db5f3c688697ee07830c0a0a0c0c4307163ac457726e1
|
||||
DIST virtualbox-4.1.22-patches-01.tar.xz 3752 SHA256 2ff58f8d2bdfdcbf1ae4bbe9f68ad1256f1ae37091fd4b392582a062d206962f SHA512 9bba2a4352d52cddd27f55b4ad0e9de250c1d29359a8859f61fc413e53ac62206321c5e347391ca478b942967bd7974a3a469eb3bb133c79d7033692afe559dd WHIRLPOOL 1aa98913e7d4e1ddf5f775db200cddc18a7ed4d7dd915dda0dab6bffbf33bfd63a785cc7381bca74e4780e7dce21f18314dc093b9c6ba02addfd1330f3b61aa9
|
||||
DIST virtualbox-4.2.2-patches-01.tar.xz 3612 SHA256 5b844b3740bebfa0e7652cb6c5c89d94a333c7aa0873aa8a0aa653f7c9f3c06b SHA512 d12da10898c5bd440b6fd2211385bc223ff832fdce11b118cc56562903c8c87abcb1eeec3bbc2d4b5b22b1aa4a652e978277af7096a65276469be9e704a1aa69 WHIRLPOOL 58d43f0d2eeb30800b285c307871be64765301f7037d72752eb063286589fcccd12e6d8fd26610164701178fd497ca65127e91eb8f8d53db0889ccd7d7b988a9
|
||||
|
@ -1 +1,2 @@
|
||||
DIST anki-2.0.12.tgz 3074413 SHA256 f9c6ff6393efde64591ce73baa808e8628c2c4e905de5e7aebfeba9787e68cdd SHA512 d251d2af5235e71371e12c7908c3d7813d71ef630e8e48dc924de03073daebc42724bc8d58b8bc9fedf12d83aad5a2789b983f0b3d0e9e1317bbf1df3f9596e0 WHIRLPOOL 1efede0ea52faebbc8cc0b1008cae861835d7a16ecdcd2971ed0d36bdbee1dca0ab120533412d17744e82d1b85e187d0df53e287ca8f94a1ea6cf20b5c59d337
|
||||
DIST anki-2.0.14.tgz 3148810 SHA256 5ef027808693e28eee824343df5b1a0a7fdfa98ef74d2f0d7402d8858e88fc9c SHA512 75e30df515f1eaf681e38d14236ebc5ece91673dcc3f92cc7cfc34a021bca37608a9d8123d6b2e45e16174d350523133e1086a2068ad99df8241094cb4bd1f2e WHIRLPOOL 6c54a71f00955d0f7e627a35a3ad0d2653e123966439c4de4d215b0a93db1d48ed66d81032beb79f169c8a933bf12bac8a66707cddb96cb4fbddd039d00f89a1
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-2.0.14.ebuild,v 1.1 2013/10/16 14:09:01 tomka Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
|
||||
HOMEPAGE="http://ichi2.net/anki/"
|
||||
SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="latex +recording +sound"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/PyQt4[X,svg,webkit]
|
||||
>=dev-python/httplib2-0.7.4
|
||||
dev-python/beautifulsoup:python-2
|
||||
dev-python/send2trash
|
||||
recording? ( media-sound/lame
|
||||
>=dev-python/pyaudio-0.2.4 )
|
||||
sound? ( media-video/mplayer )
|
||||
latex? ( app-text/texlive
|
||||
app-text/dvipng )"
|
||||
DEPEND=""
|
||||
|
||||
pkg_setup(){
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -r thirdparty || die
|
||||
sed -i -e "s/suppressUpdate=False/suppressUpdate=True/" \
|
||||
aqt/profiles.py
|
||||
}
|
||||
|
||||
# Nothing to configure or compile
|
||||
src_configure() {
|
||||
true;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
true;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doicon ${PN}.png
|
||||
domenu ${PN}.desktop
|
||||
doman ${PN}.1
|
||||
|
||||
dodoc README README.development
|
||||
python_domodule aqt anki
|
||||
python_doscript anki/anki
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<app-misc/anki-2" ; then
|
||||
elog "Anki 2 is a rewrite of Anki with many new features and"
|
||||
elog "a new database format. On the first run your decks are"
|
||||
elog "converted to the new format and a backup of your Anki-1"
|
||||
elog "decks is created. Please read the following:"
|
||||
elog "http://ankisrs.net/anki2.html"
|
||||
fi
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/sphinx-2.1.2.ebuild,v 1.1 2013/10/15 19:04:12 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils autotools toolchain-funcs
|
||||
|
||||
#MY_P=${P/_/-}
|
||||
MY_P=${P}-release
|
||||
|
||||
# This has been added by Gentoo, to explicitly version libstemmer.
|
||||
# It is the date that http://snowball.tartarus.org/dist/libstemmer_c.tgz was
|
||||
# fetched.
|
||||
STEMMER_PV="20091122"
|
||||
DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
|
||||
HOMEPAGE="http://www.sphinxsearch.com/"
|
||||
SRC_URI="http://sphinxsearch.com/files/${MY_P}.tar.gz
|
||||
stemmer? ( mirror://gentoo/libstemmer_c-${STEMMER_PV}.tgz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE="debug id64 mysql odbc postgres stemmer syslog test xml"
|
||||
|
||||
RDEPEND="mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
xml? ( dev-libs/expat )
|
||||
virtual/libiconv"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
if use stemmer; then
|
||||
cd "${S}"
|
||||
unpack libstemmer_c-${STEMMER_PV}.tgz
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch
|
||||
|
||||
# drop nasty hardcoded search path breaking Prefix
|
||||
# We patch configure directly since otherwise we need to run
|
||||
# eautoreconf twice and that causes problems, bug 425380
|
||||
sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die
|
||||
|
||||
# Fix QA compilation warnings.
|
||||
sed -i -e '19i#include <string.h>' api/libsphinxclient/test.c || die
|
||||
|
||||
pushd api/libsphinxclient || die
|
||||
eautoreconf
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# fix libiconv detection
|
||||
use !elibc_glibc && export ac_cv_search_iconv=-liconv
|
||||
|
||||
econf \
|
||||
--sysconfdir="${EPREFIX}/etc/${PN}" \
|
||||
$(use_enable id64) \
|
||||
$(use_with debug) \
|
||||
$(use_with mysql) \
|
||||
$(use_with odbc unixodbc) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with stemmer libstemmer) \
|
||||
$(use_with syslog syslog) \
|
||||
$(use_with xml libexpat )
|
||||
|
||||
cd api/libsphinxclient || die
|
||||
econf STRIP=:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" || die "emake failed"
|
||||
|
||||
emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
elog "Tests require access to a live MySQL database and may require configuration."
|
||||
elog "You will find them in /usr/share/${PN}/test and they require dev-lang/php"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
|
||||
|
||||
dodoc doc/*
|
||||
|
||||
dodir /var/lib/sphinx
|
||||
dodir /var/log/sphinx
|
||||
|
||||
newinitd "${FILESDIR}"/searchd.rc searchd
|
||||
|
||||
if use test; then
|
||||
insinto /usr/share/${PN}
|
||||
doins -r test
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST kmymoney-4.6.3.tar.bz2 22114966 SHA256 94e109992b7e9ebb066b608d56c168216b8a944d62538c95176bc36ea4db542e SHA512 4fc618718463a324c67abc4d8b43f682b364c63299aca25c6730c9a2f6a1affc1bec02b65352de1e6e5b58f06b66c600e96f1c20de126719d90c2a0b933fd00a WHIRLPOOL fd53a0dee4ccad438a3c15dee85aa9270b0806d39311045a1ca1e4f3cc1f969800e723a9aa780966c84c3a8f909a3d5e09e805deddfd548077f07fe1c7bdc015
|
||||
DIST kmymoney-4.6.4.tar.xz 19917068 SHA256 89522fadb4a9f06f3f20e2d6ac47a147f70b4265abad2fdf3aa6672fe2a3c012 SHA512 1c390f7bd722344ed8f6a1ede76a20905e53cdfd27c74715ae95ae79bfa02ee6918b60b9ec198d5b26c2fd0af3b987db3cac0d02fcbfa69af95331f6d7e750dd WHIRLPOOL ad51eaaf351bf24df1e9ed8069d77eaa8f681fb500c0bace721d3aa2fe3d5949426cc1f057b2d8e376978d748ec4e52c9b5797c0536c5adb984e3e1d3ed2d95c
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney/kmymoney-4.6.4.ebuild,v 1.1 2013/10/15 17:48:30 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et eu fi fr ga gl
|
||||
hu it ja kk lt mr ms nds nl pl pt pt_BR ro ru sk sv tr ug uk zh_CN zh_TW"
|
||||
KDE_DOC_DIRS="doc doc-translations/%lingua_${PN}"
|
||||
KDE_HANDBOOK="optional"
|
||||
CPPUNIT_REQUIRED="test"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
VIRTUALDBUS_TEST="true"
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Personal finance manager for KDE"
|
||||
HOMEPAGE="http://kmymoney2.sourceforge.net/"
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://sourceforge/kmymoney2/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="4"
|
||||
IUSE="debug calendar doc hbci ofx quotes"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme
|
||||
>=app-office/libalkimia-4.3.2
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/libxmlpp:2.6
|
||||
dev-libs/boost
|
||||
dev-libs/glib:2
|
||||
dev-libs/gmp
|
||||
dev-libs/libgpg-error
|
||||
dev-libs/libxml2
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
x11-misc/shared-mime-info
|
||||
calendar? ( dev-libs/libical )
|
||||
hbci? (
|
||||
>=net-libs/aqbanking-5.0.1
|
||||
>=sys-libs/gwenhywfar-4.0.1[qt4]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.4 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
quotes? ( dev-perl/Finance-Quote )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DUSE_QT_DESIGNER=OFF
|
||||
$(cmake-utils_use_enable calendar LIBICAL)
|
||||
$(cmake-utils_use_use doc DEVELOPER_DOC)
|
||||
$(cmake-utils_use_enable hbci KBANKING)
|
||||
$(cmake-utils_use_enable ofx LIBOFX)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
kde4-base_src_compile
|
||||
|
||||
use doc && kde4-base_src_compile apidoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${CMAKE_BUILD_DIR}/apidocs/html/")
|
||||
kde4-base_src_install
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/euscan/euscan-0.1.1-r1.ebuild,v 1.1 2013/10/15 11:10:55 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Ebuild upstream scan utility"
|
||||
HOMEPAGE="http://euscan.iksaif.net"
|
||||
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="sys-apps/portage[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
>=app-portage/gentoolkit-0.2.8[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
python_export_best
|
||||
echo VERSION="${PV}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PV}" "${PYTHON}" setup.py set_version
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
diff -Naur bibus-1.5.0/dbBibSQLite.py bibus-1.5.0.new/dbBibSQLite.py
|
||||
--- bibus-1.5.0/dbBibSQLite.py 2009-10-08 16:53:13.000000000 -0400
|
||||
+++ bibus-1.5.0.new/dbBibSQLite.py 2009-11-12 17:53:00.000000000 -0500
|
||||
@@ -19,7 +19,14 @@
|
||||
# Part of the Wizard code has been copied from the example "Simple Wizard" included with
|
||||
# wxPython
|
||||
|
||||
-from sqlite3 import Error,IntegrityError,connect,version_info,paramstyle # python >= 2.5
|
||||
+# we try to load python-sqlite2 if it exists
|
||||
+try:
|
||||
+ from sqlite3 import Error,IntegrityError,connect,version_info,paramstyle # python >= 2.5
|
||||
+except ImportError:
|
||||
+ try:
|
||||
+ from pysqlite2.dbapi2 import Error,IntegrityError,connect,version_info,paramstyle # try pysqlite2
|
||||
+ except ImportError:
|
||||
+ from sqlite import Error,IntegrityError,connect,version_info,paramstyle # try pysqlite < 2
|
||||
#
|
||||
import getpass, os
|
||||
import dbBibBase
|
@ -1,21 +0,0 @@
|
||||
--- ots-0.4.2.orig/src/article.c 2005-09-28 22:11:41.000000000 -0300
|
||||
+++ ots-0.4.2/src/article.c 2005-09-28 22:18:24.000000000 -0300
|
||||
@@ -35,7 +35,7 @@
|
||||
ots_new_sentence (void)
|
||||
{
|
||||
OtsSentence *aLine = g_new0 (OtsSentence, 1);
|
||||
- (GList *) aLine->words = NULL;
|
||||
+ aLine->words = (GList *)NULL;
|
||||
aLine->wc = 0;
|
||||
aLine->selected = 0;
|
||||
aLine->score = 0;
|
||||
--- ots-0.4.2.orig/src/grader-tf.c 2005-09-28 22:11:41.000000000 -0300
|
||||
+++ ots-0.4.2/src/grader-tf.c 2005-09-28 22:21:48.000000000 -0300
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "libots.h"
|
||||
+#include <math.h>
|
||||
|
||||
/*Grader - using the Term frequency algorithm. Will give each line a score*/
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff -up ots-0.5.0/configure.in.automake-1_13 ots-0.5.0/configure.in
|
||||
--- ots-0.5.0/configure.in.automake-1_13 2007-04-08 20:12:42.000000000 +0200
|
||||
+++ ots-0.5.0/configure.in 2013-01-09 02:31:52.690211708 +0100
|
||||
@@ -34,7 +34,7 @@ PACKAGE=ots
|
||||
|
||||
dnl Specify a configuration file
|
||||
dnl Initialize automake stuff
|
||||
-AM_CONFIG_HEADER(ots-config.h)
|
||||
+AC_CONFIG_HEADERS(ots-config.h)
|
||||
AM_INIT_AUTOMAKE($PACKAGE, $OTS_VERSION)
|
||||
AM_MAINTAINER_MODE
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- dic/Makefile.am~ 2003-07-22 16:56:03.000000000 +0200
|
||||
+++ dic/Makefile.am 2009-06-01 00:40:17.000000000 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
DICTS=bg.xml ca.xml cs.xml cy.xml da.xml de.xml el.xml en.xml eo.xml es.xml \
|
||||
et.xml eu.xml fi.xml fr.xml ga.xml gl.xml he.xml hu.xml ia.xml id.xml \
|
||||
is.xml it.xml lv.xml mi.xml ms.xml mt.xml nl.xml nn.xml pl.xml pt.xml \
|
||||
- ro.xml ru.xml sv.xml tl.xml tr.xml uk.xml yi.xml en.xml
|
||||
+ ro.xml ru.xml sv.xml tl.xml tr.xml uk.xml yi.xml
|
||||
|
||||
pkgdata_DATA = $(DICTS)
|
||||
|
@ -0,0 +1,22 @@
|
||||
--- src/Makefile.in.orig 2007-04-08 20:17:23.000000000 +0200
|
||||
+++ src/Makefile.in 2008-07-05 02:16:42.000000000 +0200
|
||||
@@ -108,7 +108,7 @@
|
||||
|
||||
lib_LTLIBRARIES = libots-1.la
|
||||
|
||||
-libots_1_la_LIBADD = $(OTS_LIBS)
|
||||
+libots_1_la_LIBADD = $(OTS_LIBS) -lm
|
||||
libots_1_la_LDFLAGS = -version-info @VERSION_INFO@ $(no_undefined)
|
||||
libots_1_la_SOURCES = libots.h article.c dictionary.c grader.c grader-tf.c grader-tc.c grader-tc.h html.c parser.c text.c stemmer.c highlighter.c wordlist.c relations.c
|
||||
|
||||
--- src/Makefile.am~ 2007-04-08 18:21:51.000000000 +0200
|
||||
+++ src/Makefile.am 2009-06-01 00:28:53.000000000 +0200
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
lib_LTLIBRARIES = libots-1.la
|
||||
|
||||
-libots_1_la_LIBADD = $(OTS_LIBS)
|
||||
+libots_1_la_LIBADD = $(OTS_LIBS) -lm
|
||||
libots_1_la_LDFLAGS = -version-info @VERSION_INFO@ $(no_undefined)
|
||||
libots_1_la_SOURCES = \
|
||||
libots.h \
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/ots/ots-0.5.0-r1.ebuild,v 1.1 2013/10/15 20:46:09 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Open source Text Summarizer, as used in newer releases of abiword and kword."
|
||||
HOMEPAGE="http://libots.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/libots/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/libxml2-2.4.23
|
||||
>=dev-libs/popt-1.5
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
|
||||
|
||||
src_prepare() {
|
||||
# ugly ugly hack, kick upstream to fix its packaging
|
||||
touch "${S}"/gtk-doc.make
|
||||
|
||||
epatch "${FILESDIR}"/${P}-math.patch
|
||||
epatch "${FILESDIR}"/${P}-automake-1.13.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-installation.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-underlinking.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# bug 97448
|
||||
econf \
|
||||
--disable-gtk-doc \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# parallel make fails, bug 112932
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
rm -rf "${D}"/usr/share/doc/libots
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/ronn/ronn-0.7.3-r2.ebuild,v 1.1 2013/10/15 19:49:45 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS CHANGES README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ronn converts simple, human readable textfiles to roff for terminal display, and also to HTML."
|
||||
HOMEPAGE="http://github.com/rtomayko/ronn/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/hpricot-0.8.2
|
||||
>=dev-ruby/mustache-0.7.0
|
||||
>=dev-ruby/rdiscount-1.5.8"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid test failing due to changes in hash handling in ruby 1.8.7:
|
||||
# https://github.com/rtomayko/ronn/issues/56
|
||||
sed -i -e '81 s:^:#:' test/test_ronn.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Make sure that we always use the right interpreter during tests.
|
||||
sed -i -e "/output/ s:ronn:${RUBY} bin/ronn:" test/test_ronn.rb
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
PATH="${S}/bin:${PATH}" rake man || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doman man/ronn.1 man/ronn-format.7
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=A persistent key-value database
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/redis/redis.pid
|
||||
ExecStart=/usr/sbin/redis-server /etc/redis.conf
|
||||
User=redis
|
||||
Group=redis
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -0,0 +1,2 @@
|
||||
# redis runtime directory
|
||||
d /var/run/redis 0755 redis root -
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/redis-2.6.15-r1.ebuild,v 1.1 2013/10/15 18:35:34 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic systemd toolchain-funcs user
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database."
|
||||
HOMEPAGE="http://redis.io/"
|
||||
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-macos ~x86-solaris"
|
||||
IUSE="+jemalloc tcmalloc test"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="tcmalloc? ( dev-util/google-perftools )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.2 )"
|
||||
DEPEND=">=sys-devel/autoconf-2.63
|
||||
test? ( dev-lang/tcl )
|
||||
${RDEPEND}"
|
||||
REQUIRED_USE="tcmalloc? ( !jemalloc )
|
||||
jemalloc? ( !tcmalloc )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV/_/-}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup redis 75
|
||||
enewuser redis 75 -1 /var/lib/redis redis
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.6.7"-{shared,config}.patch
|
||||
|
||||
# bug 467172, 467174
|
||||
sed -i -e 's:AR=:AR?=:g' -e 's:RANLIB=:RANLIB?=:g' "${S}/deps/lua/src/Makefile" || die
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles=""
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-2.2 configure.ac
|
||||
sed -i -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
local myconf=""
|
||||
|
||||
if use tcmalloc ; then
|
||||
myconf="${myconf} USE_TCMALLOC=yes"
|
||||
elif use jemalloc ; then
|
||||
myconf="${myconf} JEMALLOC_SHARED=yes"
|
||||
else
|
||||
myconf="${myconf} MALLOC=yes"
|
||||
fi
|
||||
|
||||
emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||
fperms 0644 /etc/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd" redis
|
||||
newinitd "${FILESDIR}/redis.initd-3" redis
|
||||
|
||||
systemd_dounit "${FILESDIR}/redis.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
|
||||
|
||||
nonfatal dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-dump
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym /usr/sbin/redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST org.apache.felix.bundlerepository-1.6.6-source-release.tar.gz 163337 SHA256 cdf1a16e2cd1779f403d58225666c6eee6e4018e9775d195f227b77ae9a88da4 SHA512 a457dacf0b15a54aad9290a3620b4dee503bb7d06eac1e2e9b151613caafdd53b104e8266b10321d04d0fb400df6f9f2131ed03f48bf166205903aa69f260b46 WHIRLPOOL 9d0fea404c7f34b3ed6b5f4edfaf610a01915a2d069b4324f78537233011fc1ef57251ffda5c80b0400cb3283f1c6f863df049bcb8643646158178b2ede337ec
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/felix-bundlerepository/felix-bundlerepository-1.6.6.ebuild,v 1.1 2013/10/15 23:21:57 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 java-osgi
|
||||
|
||||
DESCRIPTION="Felix Bundle Repository"
|
||||
HOMEPAGE="http://felix.apache.org/"
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
MY_PN="org.apache.felix.bundlerepository"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="mirror://apache/felix/${MY_P}-source-release.tar.gz"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
CDEPEND="
|
||||
dev-java/felix-shell:0
|
||||
dev-java/felix-utils:0
|
||||
dev-java/kxml:2
|
||||
dev-java/osgi-core-api:0
|
||||
dev-java/osgi-obr:0
|
||||
"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
|
||||
sed -i 's/bestVersion.compareTo(v)/bestVersion.compareTo((Version) v)/g' \
|
||||
src/main/java/org/apache/felix/bundlerepository/impl/ResolverImpl.java \
|
||||
|| die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="osgi-core-api,felix-utils,felix-shell,kxml-2,osgi-obr"
|
||||
|
||||
src_install() {
|
||||
mv target/{${MY_P},${PN}}.jar || die
|
||||
|
||||
java-osgi_dojar target/${PN}.jar ${MY_PN} ${MY_PN} "Export-Package: ${MY_PN}"
|
||||
}
|
@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="org.apache.felix.bundlerepository-from-maven" default="package" basedir=".">
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
<property name="maven.build.finalName" value="org.apache.felix.bundlerepository-1.6.6"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.resourceDir.1" value="."/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
<path id="build.classpath">
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.apache.felix.utils/1.1.0/org.apache.felix.utils-1.1.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.osgi.service.obr/1.0.2/org.osgi.service.obr-1.0.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.osgi.core/1.0.1/org.osgi.core-1.0.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.apache.felix.shell/1.4.1/org.apache.felix.shell-1.4.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/codehaus/woodstox/woodstox-core-asl/4.0.7/woodstox-core-asl-4.0.7.jar"/>
|
||||
<pathelement location="${maven.repo.local}/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar"/>
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.apache.felix.utils/1.1.0/org.apache.felix.utils-1.1.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.osgi.service.obr/1.0.2/org.osgi.service.obr-1.0.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.osgi.core/1.0.1/org.osgi.core-1.0.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.apache.felix.shell/1.4.1/org.apache.felix.shell-1.4.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/codehaus/woodstox/woodstox-core-asl/4.0.7/woodstox-core-asl-4.0.7.jar"/>
|
||||
<pathelement location="${maven.repo.local}/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.0/junit-4.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/mockito/mockito-all/1.7/mockito-all-1.7.jar"/>
|
||||
</path>
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.3"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.3">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.0}"/>
|
||||
</copy>
|
||||
<mkdir dir="${maven.build.outputDir}/META-INF"/>
|
||||
<copy todir="${maven.build.outputDir}/META-INF">
|
||||
<fileset dir="${maven.build.resourceDir.1}">
|
||||
<include name="changelog.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.3"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.3">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="${maven.build.testOutputDir}">
|
||||
<fileset dir="${maven.build.testResourceDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html">
|
||||
</jar>
|
||||
</target>
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
</project>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST org.apache.felix.gogo.command-0.12.0-project.tar.gz 26454 SHA256 f74d036b7d289ab628d8ade36127cecd332d2383f9500f8fc905f9b80fd09a8c SHA512 8d7afa4b34be6460df9e1e91ecc42b34ecfc1888f5574add206a3c6fbc54647672e34d4f3a4e59eb39f8b2b9fd94b468647c0e95d5fc04649ab7a283e172a061 WHIRLPOOL 443415eba35fd07c3874d58803c628fc4e6f7f2670612a8b711a1cd765bb451d5bd0a55b917c54f054a538969342470b0afe60e89b549d1f6d707aa14eaed99d
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/felix-gogo-command/felix-gogo-command-0.12.0.ebuild,v 1.1 2013/10/15 23:23:21 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 java-osgi
|
||||
|
||||
DESCRIPTION="Felix Gogo Command"
|
||||
HOMEPAGE="http://felix.apache.org/site/apache-felix-gogo.html"
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
MY_PN="org.apache.felix.gogo.command"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="mirror://apache/felix/${MY_P}-project.tar.gz"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
CDEPEND="
|
||||
dev-java/felix-bundlerepository:0
|
||||
dev-java/felix-gogo-runtime:0
|
||||
dev-java/osgi-compendium:0
|
||||
dev-java/osgi-core-api:0
|
||||
"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="osgi-core-api,osgi-compendium,felix-gogo-runtime,felix-bundlerepository"
|
||||
|
||||
src_install() {
|
||||
mv target/{${MY_P},${PN}}.jar || die
|
||||
|
||||
java-osgi_dojar target/${PN}.jar ${MY_PN} ${MY_PN} "Export-Package: ${MY_PN}"
|
||||
}
|
@ -0,0 +1,276 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 5/10/13 7:05 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="org.apache.felix.gogo.command-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="org.apache.felix.gogo.command-0.12.0"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.resourceDir.1" value="."/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
<pathelement location="${maven.repo.local}/org/osgi/org.osgi.core/4.3.0/org.osgi.core-4.3.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.apache.felix.gogo.runtime/0.10.0/org.apache.felix.gogo.runtime-0.10.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.apache.felix.bundlerepository/1.6.0/org.apache.felix.bundlerepository-1.6.0.jar"/>
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/org/osgi/org.osgi.core/4.3.0/org.osgi.core-4.3.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.apache.felix.gogo.runtime/0.10.0/org.apache.felix.gogo.runtime-0.10.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/felix/org.apache.felix.bundlerepository/1.6.0/org.apache.felix.bundlerepository-1.6.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.0/junit-4.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/mockito/mockito-all/1.7/mockito-all-1.7.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.0}"/>
|
||||
</copy>
|
||||
<mkdir dir="${maven.build.outputDir}/META-INF"/>
|
||||
<copy todir="${maven.build.outputDir}/META-INF">
|
||||
<fileset dir="${maven.build.resourceDir.1}">
|
||||
<include name="LICENSE*"/>
|
||||
<include name="NOTICE*"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases"/>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
<mkdir dir="${maven.repo.local}"/>
|
||||
<mkdir dir="${maven.repo.local}/org/osgi/org.osgi.core/4.3.0"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/osgi/org.osgi.core/4.3.0/org.osgi.core-4.3.0.jar"
|
||||
dest="${maven.repo.local}/org/osgi/org.osgi.core/4.3.0/org.osgi.core-4.3.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/osgi/org.osgi.core/4.3.0/org.osgi.core-4.3.0.jar"
|
||||
dest="${maven.repo.local}/org/osgi/org.osgi.core/4.3.0/org.osgi.core-4.3.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar"
|
||||
dest="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar"
|
||||
dest="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/apache/felix/org.apache.felix.gogo.runtime/0.10.0"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/apache/felix/org.apache.felix.gogo.runtime/0.10.0/org.apache.felix.gogo.runtime-0.10.0.jar"
|
||||
dest="${maven.repo.local}/org/apache/felix/org.apache.felix.gogo.runtime/0.10.0/org.apache.felix.gogo.runtime-0.10.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.gogo.runtime/0.10.0/org.apache.felix.gogo.runtime-0.10.0.jar"
|
||||
dest="${maven.repo.local}/org/apache/felix/org.apache.felix.gogo.runtime/0.10.0/org.apache.felix.gogo.runtime-0.10.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/apache/felix/org.apache.felix.bundlerepository/1.6.0"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/apache/felix/org.apache.felix.bundlerepository/1.6.0/org.apache.felix.bundlerepository-1.6.0.jar"
|
||||
dest="${maven.repo.local}/org/apache/felix/org.apache.felix.bundlerepository/1.6.0/org.apache.felix.bundlerepository-1.6.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.bundlerepository/1.6.0/org.apache.felix.bundlerepository-1.6.0.jar"
|
||||
dest="${maven.repo.local}/org/apache/felix/org.apache.felix.bundlerepository/1.6.0/org.apache.felix.bundlerepository-1.6.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/junit/junit/4.0"/>
|
||||
<get src="http://repository.apache.org/snapshots/junit/junit/4.0/junit-4.0.jar"
|
||||
dest="${maven.repo.local}/junit/junit/4.0/junit-4.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/junit/junit/4.0/junit-4.0.jar"
|
||||
dest="${maven.repo.local}/junit/junit/4.0/junit-4.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/easymock/easymock/2.4"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/easymock/easymock/2.4/easymock-2.4.jar"
|
||||
dest="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/easymock/easymock/2.4/easymock-2.4.jar"
|
||||
dest="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/mockito/mockito-all/1.7"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/mockito/mockito-all/1.7/mockito-all-1.7.jar"
|
||||
dest="${maven.repo.local}/org/mockito/mockito-all/1.7/mockito-all-1.7.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/mockito/mockito-all/1.7/mockito-all-1.7.jar"
|
||||
dest="${maven.repo.local}/org/mockito/mockito-all/1.7/mockito-all-1.7.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -1,2 +1,4 @@
|
||||
DIST javolution-2.2.4-src.zip 391698 SHA256 72f117ec3e7d8772c67bb5114596e75edcb0ffb00a3824ed7a2b9516e11e3078 SHA512 9cdc9a97667fa3b112b01b6d8275ae09b4e6d7fbcc7587d4c347072883ba3cc7a4c7e308778a6e4a1bdcaf4d093b081b35f0776d4a9d589d15677bbe02516912 WHIRLPOOL ede988cb048156d65804f78ba65e6152a86dbd2d58e165fdbdc907fa4c2fb30c2c306c1d216760444ca6d23fb7d666492d64ca8c2c5f01feede7497a3386e890
|
||||
DIST javolution-4.0.2-src.zip 556097 SHA256 fb5256c28b9f1de67e9be2ee3df16ff989f8f7bc4cd33946425f7e19370d4905 SHA512 562e0d364aa6b564341ce197941aaaf51e286712e6b71459ac12eccffbdf1d440f1910826cebf088176562b5dccb865f5d0e652a519814e1357094e253ee2efd WHIRLPOOL 7061f9debc2efe986e7f6d5615c11c5dab5809b3b3fe75daa466577b8d29194ccd71403739a2fe4bca7cdf049c8078577bf6aace555a2e018a023cb3d81ead53
|
||||
DIST javolution-6.0.0-build.xml.tar.xz 2696 SHA256 2730a3cb2186de011bd1d5349ae151bafd9441c3b584aae1e2429c0774dea04c SHA512 5861e462f24817efec24a784625e240fd4e08117c7b11bf7145f8dae35bb90b0b9fc1e431895ef5d868a1f1d57d96967fd9f39a9b821b51875814f6e118dbdab WHIRLPOOL 69963b313441f8cad2256e62feb2756393aa813bc7cf7589f401eb79fd764f490a737bfa5c4802c2178b92bde51a480b8a1bd2249583042cbabd39d5cfe71f7e
|
||||
DIST javolution-6.0.0.tar.xz 1308148 SHA256 0af6f9725d0e50ec323a79c8b726ee01a070d860980c080270a853739e41434a SHA512 86a7a19b13b74cca6ab4871e725a1143d6a1401cc7265390ee66b83f8a9b48f7879b8ccc2d7a3d660e523b64e3779eaf372519ee98268f1bf55df1d7b5a7f034 WHIRLPOOL b4bf337dff963b766a2aa0ad8a3a0c37e9569c14c1fe7acd66bff180c68e40294decb06a6d85add09eab486cb967c89c3224cc467d013fde15e180a823890e8c
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- a/core-java/maven-build.xml
|
||||
+++ b/core-java/maven-build.xml
|
||||
@@ -180,9 +180,8 @@
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
- <javadoc sourcepath="/var/tmp/portage/dev-java/javolution-6.0.0/work/javolution-6.0.0/core-java/target/colorized"
|
||||
+ <javadoc sourcepath="/var/tmp/portage/dev-java/javolution-6.0.0/work/javolution-6.0.0/core-java/"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
- overview="/var/tmp/portage/dev-java/javolution-6.0.0/work/javolution-6.0.0/core-java/target/colorized/javolution/doc-files/overview.html"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/javolution/javolution-6.0.0.ebuild,v 1.1 2013/10/16 12:49:26 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Documentation generation is broken.
|
||||
JAVA_PKG_IUSE="source" # doc
|
||||
|
||||
inherit java-pkg-2 java-ant-2 unpacker
|
||||
|
||||
DESCRIPTION="Java Solution for Real-Time and Embedded Systems"
|
||||
SRC_URI="http://dev.gentoo.org/~tomwij/files/dist/${P}.tar.xz
|
||||
http://dev.gentoo.org/~tomwij/files/dist/${P}-build.xml.tar.xz"
|
||||
HOMEPAGE="http://javolution.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="6"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CDEPEND="dev-java/osgi-core-api:0
|
||||
dev-java/osgi-compendium:0"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
EANT_BUILD_TARGET="package"
|
||||
JAVA_PKG_BSFIX_NAME="build.xml maven-build.xml"
|
||||
|
||||
src_unpack() {
|
||||
unpacker ${P}.tar.xz
|
||||
cd "${S}"
|
||||
unpacker ${P}-build.xml.tar.xz
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Remove bundled libraries.
|
||||
find . -name '*.jar' -print -delete || die
|
||||
find . -name '*.class' -print -delete || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-javadoc-fix.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar core-java/target/${PN}-core-java-${PV}.jar
|
||||
|
||||
dohtml index.html
|
||||
|
||||
# Documentation generation is broken.
|
||||
#use doc && java-pkg_dojavadoc core-java/target/site/apidocs
|
||||
use source && java-pkg_dosrc core-java/src/main/java/${PN}
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST kxml2-src-2.3.0.zip 354878 SHA256 f2441575236be69a460c6a54344b6ba8b8ba03fd0bab242b989f4f0976944cd8 SHA512 f4eeaa71fbe76b51cefb9a195d292c22c79c241920915fe8ddcf30dc11af39bbeb6b848a8c4dab9775fc8e327c5a29586ac53263a577de361312bbf45e25c1e5 WHIRLPOOL 0e8bca0f903477b8d83ca2558702ca17d8f15db2e4526758d6a78e29b070c8356840f140f2671e621ef29d052a26236073a6bdc1c585adbf8a5181932c44ffc2
|
@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project default="build" basedir="." name="kxml2" >
|
||||
|
||||
<property name="version" value="2.3.0" ></property>
|
||||
|
||||
|
||||
<target name="javadoc" >
|
||||
<delete dir="www/kxml2/javadoc" ></delete>
|
||||
<mkdir dir="www/kxml2/javadoc" ></mkdir>
|
||||
<javadoc use="true" windowtitle="kxml API" author="true" sourcepath="src" classpath="" destdir="www/kxml2/javadoc" doctitle="kxml API" version="true" packagenames="org.kxml2.*" public="yes" source="1.4" ></javadoc>
|
||||
</target>
|
||||
|
||||
|
||||
<target depends="build_jar,javadoc" name="build_src" >
|
||||
<zip zipfile="dist/kxml2-src-${version}.zip" >
|
||||
<fileset dir="." >
|
||||
<include name="*/**" ></include>
|
||||
<exclude name=".*" ></exclude>
|
||||
<exclude name="classes/**" ></exclude>
|
||||
<exclude name="tmpclasses/**" ></exclude>
|
||||
<exclude name="dist/kxml2-src-*.zip" ></exclude>
|
||||
</fileset>
|
||||
</zip>
|
||||
|
||||
</target>
|
||||
|
||||
|
||||
<target name="build_jar" >
|
||||
|
||||
<delete dir="tmpclasses" ></delete>
|
||||
<mkdir dir="tmpclasses" ></mkdir>
|
||||
|
||||
<javac destdir="tmpclasses" debuglevel="none" srcdir="src" optimize="true" verbose="true" source="1.4" target="1.4" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac>
|
||||
|
||||
<mkdir dir="dist" ></mkdir>
|
||||
|
||||
|
||||
<jar jarfile="dist/kxml2-${version}.jar" >
|
||||
<fileset dir="tmpclasses" >
|
||||
<include name="**/*.class" ></include>
|
||||
<include name="META-INF/**" ></include>
|
||||
</fileset>
|
||||
<fileset dir="src" >
|
||||
<include name="META-INF/**" ></include>
|
||||
</fileset>
|
||||
</jar>
|
||||
|
||||
<jar jarfile="dist/kxml2-min-${version}.jar" >
|
||||
<fileset dir="tmpclasses" >
|
||||
<include name="org/kxml2/io/KXmlParser.class" ></include>
|
||||
</fileset>
|
||||
</jar>
|
||||
|
||||
<delete dir="tmpclasses" ></delete>
|
||||
</target>
|
||||
|
||||
|
||||
<target depends="build_src" name="build" ></target>
|
||||
|
||||
|
||||
|
||||
</project>
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/kxml/kxml-2.3.0.ebuild,v 1.1 2013/10/15 23:18:17 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Small XML pull parser for constrained environments such as Applets, Personal Java or MIDP devices."
|
||||
HOMEPAGE="http://${PN}.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}2-src-${PV}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
CDEPEND="dev-java/xpp3:0"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
${CDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
|
||||
find . -name '*.class' -print -delete || die
|
||||
find . -name '*.jar' -print -delete || die
|
||||
}
|
||||
|
||||
EANT_BUILD_TARGET="build_jar"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="xpp3"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar dist/${PN}2-${PV}.jar ${PN}.jar
|
||||
java-pkg_newjar dist/${PN}2-min-${PV}.jar ${PN}-min.jar
|
||||
|
||||
use source && java-pkg_dosrc src/org
|
||||
use doc && java-pkg_dojavadoc www/kxml2/javadoc
|
||||
use examples && java-pkg_doexamples samples
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2013 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.4.ebuild,v 1.1 2013/10/16 09:42:13 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans API Support Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/apisupport"
|
||||
SLOT="7.4"
|
||||
SOURCE_URL="http://download.netbeans.org/netbeans/7.4/final/zip/netbeans-7.4-201310111528-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.4-build.xml.patch.bz2"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-extide-${PV}
|
||||
~dev-java/netbeans-harness-${PV}
|
||||
~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-java-${PV}
|
||||
~dev-java/netbeans-platform-${PV}"
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
${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-7.4-build.xml.patch.bz2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-7.4-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-extide-${SLOT} extide || die
|
||||
cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.extide.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-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,125 @@
|
||||
# Copyright 1999-2013 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.4.ebuild,v 1.1 2013/10/16 09:42:38 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans CND Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/cnd"
|
||||
SLOT="7.4"
|
||||
SOURCE_URL="http://download.netbeans.org/netbeans/7.4/final/zip/netbeans-7.4-201310111528-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.4-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar
|
||||
http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar
|
||||
http://hg.netbeans.org/binaries/C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip
|
||||
http://hg.netbeans.org/binaries/2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip
|
||||
http://hg.netbeans.org/binaries/C51780D99464CBF45B0495C7646B442AB3C7B463-open-fortran-parser-0.7.1.2.zip"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
# These files are for remote development and debugging
|
||||
QA_PREBUILT="usr/share/netbeans-cnd-${SLOT}/bin/*"
|
||||
|
||||
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.7
|
||||
app-arch/unzip
|
||||
>=dev-java/jna-3.4.0
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
${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-7.4-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar libs.antlr3.devel/external/antlr-3.4.jar || die
|
||||
ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.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}"/2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip cnd.remote/external/cnd-rfs-1.0.zip || die
|
||||
ln -s "${DISTDIR}"/C51780D99464CBF45B0495C7646B442AB3C7B463-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-7.4-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.jna/external jna jna.jar jna-4.0.0.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,96 @@
|
||||
# Copyright 1999-2013 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.4.ebuild,v 1.1 2013/10/16 09:43:11 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans D-Light Cluster"
|
||||
HOMEPAGE="http://netbeans.org/"
|
||||
SLOT="7.4"
|
||||
SOURCE_URL="http://download.netbeans.org/netbeans/7.4/final/zip/netbeans-7.4-201310111528-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.4-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-platform-${PV}"
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
${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-7.4-build.xml.patch.bz2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-7.4-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,253 @@
|
||||
# Copyright 1999-2013 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.4.ebuild,v 1.1 2013/10/16 09:43:39 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans Enterprise cluster"
|
||||
HOMEPAGE="http://netbeans.org/"
|
||||
SLOT="7.4"
|
||||
SOURCE_URL="http://download.netbeans.org/netbeans/7.4/final/zip/netbeans-7.4-201310111528-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.4-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/8BFEBCD4B39B87BBE788B4EECED068C8DBE75822-aws-java-sdk-1.2.1.jar
|
||||
http://hg.netbeans.org/binaries/BA8A45A96AFE07D914DE153E0BB137DCDC7734F6-el-impl.jar
|
||||
http://hg.netbeans.org/binaries/33B0D0945555A06B74931DEACF9DB1A4AE2A3EC4-glassfish-jspparser-4.0.jar
|
||||
http://hg.netbeans.org/binaries/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar
|
||||
http://hg.netbeans.org/binaries/D1DADE169E1155780F5CCC263E5F9AEAE9ABFE2D-glassfish-tooling-sdk-0.3-b053.jar
|
||||
http://hg.netbeans.org/binaries/3D74BFB229C259E2398F2B383D5425CB81C643F0-httpclient-4.1.1.jar
|
||||
http://hg.netbeans.org/binaries/33FC26C02F8043AB0EDE19EADC8C9885386B255C-httpcore-4.1.jar
|
||||
http://hg.netbeans.org/binaries/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar
|
||||
http://hg.netbeans.org/binaries/51399F902CC27A808122EDCBEBFAA1AD989954BA-javaee-api-7.0.jar
|
||||
http://hg.netbeans.org/binaries/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar
|
||||
http://hg.netbeans.org/binaries/B1FCE45BA94108EBF7E1CACE6427EC8761CABEC1-javaee-web-api-7.0.jar
|
||||
http://hg.netbeans.org/binaries/27E9711AA35C39EF455BFD900D544BACB99C0E89-javaee-doc-api.jar
|
||||
http://hg.netbeans.org/binaries/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar
|
||||
http://hg.netbeans.org/binaries/1DEEA980904E39C3D7AA240B72CDBBEB8E4860F9-javax.annotation-api.jar
|
||||
http://hg.netbeans.org/binaries/E11C0F07A92F6D02A347DD9C55EE56692A6D9F7E-javax.xml.soap-api.jar
|
||||
http://hg.netbeans.org/binaries/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar
|
||||
http://hg.netbeans.org/binaries/45EBA8B0520A70787D5DD2EA154ACE152F817C0D-jaxb-api-osgi.jar
|
||||
http://hg.netbeans.org/binaries/51EBE06BB1278AEDE08686B0D3618EBD1A999C25-jaxrs-ri-2.0.zip
|
||||
http://hg.netbeans.org/binaries/D4C96D968F87B1BFEF138E91E06C8FD4A1904208-jaxws-api.jar
|
||||
http://hg.netbeans.org/binaries/F999E0F3DE77B80DB439E47F0396CED8D7E3344C-jersey2-extensions.zip
|
||||
http://hg.netbeans.org/binaries/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip
|
||||
http://hg.netbeans.org/binaries/68F9A0E3DDDB89D163DB7BFB99F52F776133DD54-jsf-2.2.zip
|
||||
http://hg.netbeans.org/binaries/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip
|
||||
http://hg.netbeans.org/binaries/F072F63AB1689E885AC40C221DF3E6BB3E64A84A-jstl-api.jar
|
||||
http://hg.netbeans.org/binaries/5B2E83EF42B4EEF0A7E41D43BB1D4B835F59AC7A-jstl-impl.jar
|
||||
http://hg.netbeans.org/binaries/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip
|
||||
http://hg.netbeans.org/binaries/F05AE8173BC750ECF1B52AD1F80050226458E490-metro-2.0.zip
|
||||
http://hg.netbeans.org/binaries/1E2F64CC5AF306F6B7833E8C4E69EDEDDF0E6393-primefaces-3.5.jar
|
||||
http://hg.netbeans.org/binaries/68C97A238A2143B616879E8C1EF5BF01EA25B11E-servlet3.1-jsp2.3-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-ide-${PV}
|
||||
~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-webcommon-${PV}
|
||||
~dev-java/netbeans-websvccommon-${PV}
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-fileupload:0
|
||||
dev-java/commons-logging:0
|
||||
dev-java/glassfish-deployment-api:1.2"
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0
|
||||
dev-java/jsr181:0
|
||||
>=dev-java/junit-4.4:4
|
||||
dev-java/tomcat-servlet-api:2.3"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
${CDEPEND}
|
||||
dev-java/antlr:0[java]
|
||||
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-validator:0
|
||||
dev-java/jakarta-oro:2.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-7.4-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/8BFEBCD4B39B87BBE788B4EECED068C8DBE75822-aws-java-sdk-1.2.1.jar libs.amazon/external/aws-java-sdk-1.2.1.jar || die
|
||||
ln -s "${DISTDIR}"/BA8A45A96AFE07D914DE153E0BB137DCDC7734F6-el-impl.jar libs.elimpl/external/el-impl.jar || die
|
||||
ln -s "${DISTDIR}"/33B0D0945555A06B74931DEACF9DB1A4AE2A3EC4-glassfish-jspparser-4.0.jar web.jspparser/external/glassfish-jspparser-4.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}"/D1DADE169E1155780F5CCC263E5F9AEAE9ABFE2D-glassfish-tooling-sdk-0.3-b053.jar libs.glassfish.sdk/external/glassfish-tooling-sdk-0.3-b053.jar || die
|
||||
ln -s "${DISTDIR}"/3D74BFB229C259E2398F2B383D5425CB81C643F0-httpclient-4.1.1.jar libs.amazon/external/httpclient-4.1.1.jar || die
|
||||
ln -s "${DISTDIR}"/33FC26C02F8043AB0EDE19EADC8C9885386B255C-httpcore-4.1.jar libs.amazon/external/httpcore-4.1.jar || die
|
||||
ln -s "${DISTDIR}"/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar javaee.api/external/javaee-api-6.0.jar || die
|
||||
ln -s "${DISTDIR}"/51399F902CC27A808122EDCBEBFAA1AD989954BA-javaee-api-7.0.jar javaee7.api/external/javaee-api-7.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}"/B1FCE45BA94108EBF7E1CACE6427EC8761CABEC1-javaee-web-api-7.0.jar javaee7.api/external/javaee-web-api-7.0.jar || die
|
||||
ln -s "${DISTDIR}"/27E9711AA35C39EF455BFD900D544BACB99C0E89-javaee-doc-api.jar j2ee.platform/external/javaee-doc-api.jar || die
|
||||
ln -s "${DISTDIR}"/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar javaee.api/external/javax.annotation.jar || die
|
||||
ln -s "${DISTDIR}"/1DEEA980904E39C3D7AA240B72CDBBEB8E4860F9-javax.annotation-api.jar javaee7.api/external/javax.annotation-api.jar || die
|
||||
ln -s "${DISTDIR}"/E11C0F07A92F6D02A347DD9C55EE56692A6D9F7E-javax.xml.soap-api.jar javaee7.api/external/javax.xml.soap-api.jar || die
|
||||
ln -s "${DISTDIR}"/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar javaee.api/external/jaxb-api-osgi.jar || die
|
||||
ln -s "${DISTDIR}"/45EBA8B0520A70787D5DD2EA154ACE152F817C0D-jaxb-api-osgi.jar javaee7.api/external/jaxb-api-osgi.jar || die
|
||||
ln -s "${DISTDIR}"/51EBE06BB1278AEDE08686B0D3618EBD1A999C25-jaxrs-ri-2.0.zip websvc.restlib/external/jaxrs-ri-2.0.zip || die
|
||||
ln -s "${DISTDIR}"/D4C96D968F87B1BFEF138E91E06C8FD4A1904208-jaxws-api.jar javaee7.api/external/jaxws-api.jar || die
|
||||
ln -s "${DISTDIR}"/F999E0F3DE77B80DB439E47F0396CED8D7E3344C-jersey2-extensions.zip websvc.restlib/external/jersey2-extensions.zip || die
|
||||
ln -s "${DISTDIR}"/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip web.jsf12/external/jsf-1.2.zip || die
|
||||
ln -s "${DISTDIR}"/68F9A0E3DDDB89D163DB7BFB99F52F776133DD54-jsf-2.2.zip web.jsf20/external/jsf-2.2.zip || die
|
||||
ln -s "${DISTDIR}"/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip web.jsf.editor/external/jsf-api-docs.zip || die
|
||||
ln -s "${DISTDIR}"/F072F63AB1689E885AC40C221DF3E6BB3E64A84A-jstl-api.jar libs.jstl/external/jstl-api.jar || die
|
||||
ln -s "${DISTDIR}"/5B2E83EF42B4EEF0A7E41D43BB1D4B835F59AC7A-jstl-impl.jar libs.jstl/external/jstl-impl.jar || die
|
||||
ln -s "${DISTDIR}"/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip websvc.metro.lib/external/metro-1.4-doc.zip || die
|
||||
ln -s "${DISTDIR}"/F05AE8173BC750ECF1B52AD1F80050226458E490-metro-2.0.zip websvc.metro.lib/external/metro-2.0.zip || die
|
||||
ln -s "${DISTDIR}"/1E2F64CC5AF306F6B7833E8C4E69EDEDDF0E6393-primefaces-3.5.jar web.primefaces/external/primefaces-3.5.jar || die
|
||||
ln -s "${DISTDIR}"/68C97A238A2143B616879E8C1EF5BF01EA25B11E-servlet3.1-jsp2.3-api.jar servletjspapi/external/servlet3.1-jsp2.3-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-7.4-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.amazon/external commons-codec commons-codec.jar commons-codec-1.3.jar
|
||||
java-pkg_jar-from --into libs.amazon/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
|
||||
java-pkg_jar-from --into libs.commons_fileupload/external commons-fileupload commons-fileupload.jar commons-fileupload-1.3.jar
|
||||
java-pkg_jar-from --build-only --into javaee7.api/external jsr181 jsr181.jar jsr181-api.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-extide-${SLOT} extide || die
|
||||
cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.extide.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-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-webcommon-${SLOT} webcommon || die
|
||||
cat /usr/share/netbeans-webcommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.webcommon.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.3.jar && dosym /usr/share/commons-fileupload/lib/commons-fileupload.jar ${instdir}/commons-fileupload-1.3.jar || die
|
||||
rm jsr88javax.jar && dosym /usr/share/glassfish-deployment-api-1.2/lib/glassfish-deployment-api.jar ${instdir}/jsr88javax.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/aws-sdk
|
||||
pushd "${D}"/${instdir} >/dev/null || 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-logging-1.1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.1.jar || die
|
||||
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
|
||||
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-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 oro-2.0.8.jar && dosym /usr/share/jakarta-oro-2.0/lib/jakarta-oro.jar ${instdir}/oro-2.0.8.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/enterprise
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2013 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.4.ebuild,v 1.1 2013/10/16 09:45:53 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans Ergonomics Cluster"
|
||||
HOMEPAGE="http://netbeans.org/"
|
||||
SLOT="7.4"
|
||||
SOURCE_URL="http://download.netbeans.org/netbeans/7.4/final/zip/netbeans-7.4-201310111528-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.4-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.7
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
${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-7.4-build.xml.patch.bz2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-7.4-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,4 @@
|
||||
DIST 32F6CF2B9EE5F69DCB020E7B5833227933FBEAA7-ant-libs-1.9.1.zip 2293688 SHA256 fa60dd9147a22fba485c30f80be49d215965f9c4c41337890e03dfdb7f2f7d80 SHA512 715e052a80ec3def48efef8060eda29ddfce57ec5e76581f5f189257214c8e46615f9550eeedbe5b6f26982b11ccbbc45c9fee406fe7ddedd2c8a1d5ff5ec262 WHIRLPOOL 9bc5f9d3470dceb690b2c9e063cd00de83f0eb5a8c64fa882dc60a9d4c025588c2465a2ece93dad57e05bf5b2fffbf95638eeea955bf2731fe966d679a2cbf18
|
||||
DIST FCC654151181159A667BBCB5517880E96051FCE0-ant-misc-1.9.1.zip 93481 SHA256 89cfd0ab126f40e9383b33e35900c29c60760a429d627a3d24c744ac1a1cd023 SHA512 9cc92ce712c2ffeb17fa91ad42e2d572ec5e79385d2cc1c719a6c447b890038ae5fffa11489ac9c05e5b750f955be1c0e39e9573cb82a9101f8bbda559704c6c WHIRLPOOL f7ef0a369b00a7b6877585250ce0e8fd704a7693931b96867fafc7fcd60b89f2d7662f78ac25a9c893c1034a41c68c6b17e9800b14865c0488069302e0bb9aaf
|
||||
DIST netbeans-7.4-201310111528-src.zip 185900858 SHA256 b6c584c2091d600dcb4d10a732812864265f6ec776da11b4f700195eb3d6fd05 SHA512 424124000026e161bf91688106c0d25668869abde49b6f0fad1a2a8a9ca3b40e664f14056132f3ded43bc319056b2ac56a705c3624f175f279824cae42f9a9a2 WHIRLPOOL 0200e37fc6ca22d8e679327c55fb2fec2fc030106e3802cdec2dde2766df354faec3659a4867cbfc908c673c1a770f59b37c6b4b9cd391b3844d6af11cafc01a
|
||||
DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<maintainer>
|
||||
<email>fordfrog@gentoo.org</email>
|
||||
<name>Miroslav Šulc</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-extide/netbeans-extide-7.4.ebuild,v 1.1 2013/10/16 09:40:11 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans ExtIDE Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/ide"
|
||||
SLOT="7.4"
|
||||
SOURCE_URL="http://download.netbeans.org/netbeans/7.4/final/zip/netbeans-7.4-201310111528-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.4-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/32F6CF2B9EE5F69DCB020E7B5833227933FBEAA7-ant-libs-1.9.1.zip
|
||||
http://hg.netbeans.org/binaries/FCC654151181159A667BBCB5517880E96051FCE0-ant-misc-1.9.1.zip"
|
||||
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.7
|
||||
app-arch/unzip
|
||||
dev-java/javahelp:0
|
||||
${CDEPEND}"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
${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.extide -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-7.4-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/32F6CF2B9EE5F69DCB020E7B5833227933FBEAA7-ant-libs-1.9.1.zip o.apache.tools.ant.module/external/ant-libs-1.9.1.zip || die
|
||||
ln -s "${DISTDIR}"/FCC654151181159A667BBCB5517880E96051FCE0-ant-misc-1.9.1.zip o.apache.tools.ant.module/external/ant-misc-1.9.1.zip || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-7.4-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_compile() {
|
||||
unset DISPLAY
|
||||
eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/extide >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/extide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/extide
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2013 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.4.ebuild,v 1.1 2013/10/16 09:46:22 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Netbeans Groovy Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/groovy"
|
||||
SLOT="7.4"
|
||||
SOURCE_URL="http://download.netbeans.org/netbeans/7.4/final/zip/netbeans-7.4-201310111528-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.4-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/DAB15E586F88BBBA1FBD38CFD3720CFF1F9C0CF7-groovy-all-2.0.1.jar"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-extide-${PV}
|
||||
~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-java-${PV}
|
||||
~dev-java/netbeans-platform-${PV}"
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
${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-7.4-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/DAB15E586F88BBBA1FBD38CFD3720CFF1F9C0CF7-groovy-all-2.0.1.jar libs.groovy/external/groovy-all-2.0.1.jar || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-7.4-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-extide-${SLOT} extide || die
|
||||
cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.extide.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/groovy >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
|
||||
grep -E "/groovy$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/groovy
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue