parent
85129effa9
commit
f45ed9a1d5
@ -1 +1,2 @@
|
||||
DIST supernova-1.0.1.tar.gz 16811 SHA256 347177f8dd80e1765b8e781bac7318337de9bdd515b9f2afe609a419d121573d SHA512 b351aacd800233992e174364f427f59f1da3e984044f11e7b7de40419f1eb2a961d0150aae133b399d980033ee42b8a739805c97d912d06cdf838a84f75e06ca WHIRLPOOL ec23399ac3136744ccc4ef30261e5a66a83fa92630cb4e4043a23b3aba28364cddbddd41338d64e439f400f79fa3a0c6f3a056621d7e694d8319224e2a712c57
|
||||
DIST supernova-1.0.3.tar.gz 17473 SHA256 09c540775dd167c0698ec0c8e44006982060b8c73f02c22478a054097b72b6c8 SHA512 0555119f67b9441451e4860c345e5e290fbf794ecb7ddd27f22449c7d14006765c8fede85610cb2c4f5faa04c941b92c838414b5fe7c39161fb3e54954d38be2 WHIRLPOOL fa0d0897f6aa02ada5f63c9b5bf3ae632391e00188849e32e3cde9263d893a1c54d6f748992c3328bf6f944d416d415eb70f2341663ad73625da948411ac08f0
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/supernova/supernova-1.0.3.ebuild,v 1.1 2014/08/25 00:13:30 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_SINGLE_IMPL=TRUE
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Use novaclient with multiple OpenStack nova environments the easy way"
|
||||
HOMEPAGE="https://github.com/rackerhacker/supernova"
|
||||
SRC_URI="https://github.com/major/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bash-completion doc examples"
|
||||
|
||||
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="
|
||||
>=dev-python/keyring-0.9.2[${PYTHON_USEDEP}]
|
||||
dev-python/rackspace-novaclient[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( example_configs/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
use bash-completion && newbashcomp contrib/${PN}-completion.bash ${PN}
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/supervisor/supervisor-3.1.1.ebuild,v 1.1 2014/08/25 06:19:03 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 ) # py2 only
|
||||
# xml.etree.ElementTree module required.
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="A system for controlling process state under UNIX"
|
||||
HOMEPAGE="http://supervisord.org/ http://pypi.python.org/pypi/supervisor"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="repoze ZPL BSD HPND GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
# ALL versions of meld3 match to >=meld3-0.6.5
|
||||
RDEPEND="dev-python/meld3[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
python_compile_all() {
|
||||
# Somehow the test phase is called and run on invoking a doc build; harmless
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newinitd "${FILESDIR}/init.d-r1" supervisord
|
||||
newconfd "${FILESDIR}/conf.d" supervisord
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST qt4-fsarchiver-0.6.19-4.tar.gz 394110 SHA256 8508b8b91a995cf4f7eae5c5e85998bf39156e48cb851c23b5f5f160414bc644 SHA512 e83ce33c22ec33977660f8162f08a5d305005977d8e8198c6f96a5fbe5d568f660814f035f5288d8cd56b2f172e7b9167136212553246c9816ba87bfb26c712b WHIRLPOOL 2a1370dee37fe615bc86eaf3433df27e2c11ed2462b6f7f6e18e2c27e97577eb8d0cd6cd547ebd4da683d895d6d1ef7df3307b316b69930190b4c809a7cfab38
|
||||
DIST qt4-fsarchiver-0.6.19-5.tar.gz 477678 SHA256 4e646007ef5775b3651bc2896f3ec5e7e491d526c41cdf2521cce6dbffa12132 SHA512 83b72372e216c96634af599c3a7ede6e21ad512ec1fbee52805766f95f2060a3e7103cd699575e3f78bb4c7f80e04e59aba028232bc79a6bdb83264c54a58d3b WHIRLPOOL 12df05830ad99efda3e71b9dbd93db0c92ce1b641cee96245f16d4b1e859f9ca6c6c5b51b12e0eedfa00393002c8726e9f4fbd0951dd9d29a57ea81931d1964f
|
||||
DIST qt4-fsarchiver-0.6.19-6.tar.gz 480288 SHA256 fbc3861ba45050840e0224b4dc39da164353ea8b35e7be6ea2f05e8ad90b925b SHA512 b542cec478f901cf1c6678a202183e9c7f047efd906a53bd2882385482d0bf20fbd46374fc60751e7e5ee04a6048643e3fb58ffefd883799c54b48c307aad1f3 WHIRLPOOL e6a50b016fe8bb15d0f5ee5c634b009b859d183ea05bdcf1b17d6690047ef96258bec7acc71dff5f51f3d61c9aaad48ae25316601d2baeccae4cb05dba38ea0e
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/qt4-fsarchiver/qt4-fsarchiver-0.6.19.6.ebuild,v 1.1 2014/08/24 18:10:26 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qmake-utils versionator
|
||||
|
||||
MY_P="${PN}-$(replace_version_separator 3 '-')"
|
||||
MIN_PV="$(get_version_component_range 1-3)"
|
||||
|
||||
DESCRIPTION="Qt4 frontend for fsarchiver"
|
||||
HOMEPAGE="http://qt4-fsarchiver.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/source/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="app-arch/bzip2
|
||||
app-arch/xz-utils
|
||||
dev-libs/libgcrypt:=
|
||||
dev-libs/lzo
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
sys-apps/util-linux
|
||||
sys-fs/e2fsprogs
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=app-backup/fsarchiver-${MIN_PV}[lzma,lzo]"
|
||||
DEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
# fix .desktop file
|
||||
sed -i \
|
||||
-e '/Encoding/d' starter/"${PN}".desktop \
|
||||
|| die "sed on qt4-fsarchiver.desktop failed"
|
||||
# fix icon installation location
|
||||
sed -i \
|
||||
-e "/icon.path/s:app-install/icons:${PN}:" "${PN}.pro" \
|
||||
|| die "sed on ${PN}.pro failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eqmake4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "optional dependencies:"
|
||||
elog " sys-fs/btrfs-progs"
|
||||
elog " sys-fs/jfsutils"
|
||||
elog " sys-fs/ntfs3g[ntfsprogs]"
|
||||
elog " sys-fs/reiser4progs"
|
||||
elog " sys-fs/reiserfsprogs"
|
||||
elog " sys-fs/sshfs-fuse"
|
||||
elog " sys-fs/xfsprogs"
|
||||
}
|
@ -0,0 +1,399 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.417.ebuild,v 1.1 2014/08/25 00:06:59 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
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 racket ruby selinux session tcl"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
luajit? ( lua )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
~app-editors/vim-core-${PV}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
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[deprecated] )
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
session? ( x11-libs/libSM )
|
||||
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
|
||||
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"
|
||||
|
||||
# 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 '/-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
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
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 lua luainterp)"
|
||||
myconf+=" $(use_with luajit)"
|
||||
myconf+=" $(use_enable netbeans)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
myconf+=" $(use_enable racket mzschemeinterp)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
myconf+=" $(use_enable selinux)"
|
||||
myconf+=" $(use_enable session xsmp)"
|
||||
myconf+=" $(use_enable tcl tclinterp)"
|
||||
|
||||
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
|
||||
|
||||
# --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 '/# 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 \
|
||||
${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 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i '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
|
||||
}
|
||||
|
||||
# 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
|
||||
|
||||
newmenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop
|
||||
doicon "${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
|
||||
|
||||
# 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,232 @@
|
||||
# Copyright 1999-2014 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.417.ebuild,v 1.1 2014/08/25 00:03:56 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-r4.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"
|
||||
|
||||
# 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
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
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,370 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.417.ebuild,v 1.1 2014/08/25 00:05:18 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
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 racket ruby selinux tcl vim-pager"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
luajit? ( lua )
|
||||
"
|
||||
|
||||
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[deprecated] )
|
||||
)
|
||||
!minimal? (
|
||||
~app-editors/vim-core-${PV}
|
||||
dev-util/ctags
|
||||
)
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
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"
|
||||
|
||||
# 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 '/-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
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
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-mzschemeinterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-selinux \
|
||||
--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 lua luainterp)"
|
||||
myconf+=" $(use_with luajit)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
myconf+=" $(use_enable racket mzschemeinterp)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
myconf+=" $(use_enable selinux)"
|
||||
myconf+=" $(use_enable tcl tclinterp)"
|
||||
|
||||
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
|
||||
|
||||
# --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 '/# 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} \
|
||||
${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 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../vim nongui
|
||||
}
|
||||
|
||||
# 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 [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
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."
|
||||
fi
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5-r2.ebuild,v 1.1 2014/08/24 23:53:40 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_SINGLE_IMPL=TRUE
|
||||
|
||||
inherit distutils-r1 eutils multilib systemd
|
||||
|
||||
DESCRIPTION="Cloud instance initialization"
|
||||
HOMEPAGE="http://launchpad.net/cloud-init"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/cheetah[${PYTHON_USEDEP}]
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
dev-python/jsonpatch[${PYTHON_USEDEP}]
|
||||
dev-python/oauth[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
|
||||
dev-python/pyserial[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
test? (
|
||||
${CDEPEND}
|
||||
>=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}]
|
||||
dev-python/mocker[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pep8[${PYTHON_USEDEP}]
|
||||
dev-python/pyflakes[${PYTHON_USEDEP}]
|
||||
dev-python/pylint[${PYTHON_USEDEP}]
|
||||
sys-apps/iproute2
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
virtual/logger
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${P}-tests-exclude.patch
|
||||
)
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
# Skip SmartOS tests since they don't generally apply and don't skip based
|
||||
# on environment. Documented in bug #511384.
|
||||
rm tests/unittests/test_datasource/test_smartos.py
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# These tests are not broken but expect to locate an installed exe file
|
||||
# other than where a gentoo system installs it; (/bin/ip sought in /sbin)
|
||||
# See cloudinit/sources/DataSourceOpenNebula.py for possible patching
|
||||
sed \
|
||||
-e 's:test_hostname:_&:' \
|
||||
-e 's:test_network_interfaces:_&:' \
|
||||
-i tests/unittests/test_datasource/test_opennebula.py
|
||||
|
||||
emake test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doinitd "${S}"/sysvinit/gentoo/cloud-config
|
||||
doinitd "${S}"/sysvinit/gentoo/cloud-final
|
||||
doinitd "${S}"/sysvinit/gentoo/cloud-init
|
||||
doinitd "${S}"/sysvinit/gentoo/cloud-init-local
|
||||
|
||||
systemd_dounit "${S}"/systemd/cloud-config.service
|
||||
systemd_dounit "${S}"/systemd/cloud-config.target
|
||||
systemd_dounit "${S}"/systemd/cloud-final.service
|
||||
systemd_dounit "${S}"/systemd/cloud-init-local.service
|
||||
systemd_dounit "${S}"/systemd/cloud-init.service
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST MyGUI3.2.1.tar.gz 22076936 SHA256 37232d736159cd7d1a4d0291d714964505b7edc8d65cb0147533259d102f78cc SHA512 38a5fd89504f6f620d4bf539ab3e369695572adfa75bc846e2eb63c1ccd6d3d4edc3ec0f24e720edd0c780a36ec35eae251e32a6ee457f129b3ca9e88cab8f91 WHIRLPOOL 78929a8215f145bfa47a26d29aa37ac5aacdb0e46f41d082e808562ee8874e5f5a449eba98abfd280c1c87a69cc05ef3edb8a52296ebd206a084feaafd80d1b9
|
||||
DIST MyGUI_3.2.0.zip 14383788 SHA256 1704006f364b733b2d2cc6807c6dc10833cf695542b797aee50b8fd061eea19a SHA512 8ff8de065a6f355a03e45bfeac6d8db706ee7a122346f41ef26664dc8280d4d1cba8ac943afbaae27c5a1b7fb8bfa8729a1758cc87e8764370284aec943f9278 WHIRLPOOL 982c8fd9e714d7ebc5583a884953ef41fd6a2b2c1f62ec56bc81768ee607135116c14973e3eb4f528e636cf3ca1df6dd155931ea93b26fe537a66cb09a44aba4
|
||||
|
@ -0,0 +1,44 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sat Oct 27 22:39:31 UTC 2012
|
||||
Subject: FHS
|
||||
|
||||
paths hardcoded until upstream fixed the logic
|
||||
|
||||
--- Common/Base/Ogre/BaseManager.cpp
|
||||
+++ Common/Base/Ogre/BaseManager.cpp
|
||||
@@ -49,13 +49,13 @@
|
||||
mWindow(nullptr),
|
||||
mExit(false),
|
||||
mPluginCfgName("plugins.cfg"),
|
||||
- mResourceXMLName("resources.xml"),
|
||||
+ mResourceXMLName("/etc/MYGUI/resources.xml"),
|
||||
mResourceFileName("MyGUI_Core.xml")
|
||||
{
|
||||
#if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
|
||||
mResourcePath = macBundlePath() + "/Contents/Resources/";
|
||||
#else
|
||||
- mResourcePath = "";
|
||||
+ mResourcePath = "/etc/MYGUI/";
|
||||
#endif
|
||||
}
|
||||
|
||||
--- CMake/InstallResources.cmake
|
||||
+++ CMake/InstallResources.cmake
|
||||
@@ -24,7 +24,7 @@
|
||||
else ()
|
||||
install(FILES
|
||||
${MYGUI_BINARY_DIR}/bin/${FILENAME}
|
||||
- DESTINATION "bin"
|
||||
+ DESTINATION "/etc/MYGUI"
|
||||
)
|
||||
endif ()
|
||||
endfunction(install_file)
|
||||
@@ -51,7 +51,7 @@
|
||||
if (WIN32)
|
||||
set(MYGUI_MEDIA_DIR "../../Media")
|
||||
elseif (UNIX)
|
||||
- set(MYGUI_MEDIA_DIR "../share/MYGUI/Media")
|
||||
+ set(MYGUI_MEDIA_DIR "${CMAKE_INSTALL_PREFIX}/share/MYGUI/Media")
|
||||
else ()
|
||||
set(MYGUI_MEDIA_DIR "../../Media")
|
||||
endif ()
|
@ -0,0 +1,141 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/mygui/mygui-3.2.1.ebuild,v 1.1 2014/08/24 18:01:18 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
CMAKE_REMOVE_MODULES="yes"
|
||||
CMAKE_REMOVE_MODULES_LIST="FindFreetype"
|
||||
inherit eutils cmake-utils flag-o-matic multilib
|
||||
|
||||
MY_PN=MyGUI
|
||||
MY_P=${MY_PN}${PV}
|
||||
|
||||
DESCRIPTION="A library for creating GUIs for games"
|
||||
HOMEPAGE="http://mygui.info/"
|
||||
SRC_URI="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug doc +ogre -opengl plugins samples static-libs test tools linguas_ru"
|
||||
REQUIRED_USE="ogre? ( !opengl )
|
||||
opengl? ( !ogre )"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/freetype:2
|
||||
ogre? (
|
||||
dev-games/ogre:=[freeimage,opengl]
|
||||
samples? ( dev-games/ois )
|
||||
)
|
||||
opengl? ( virtual/opengl )
|
||||
tools? ( dev-games/ois )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S=${WORKDIR}/mygui-${MY_P}
|
||||
STATIC_BUILD=${WORKDIR}/${P}_build_static
|
||||
|
||||
pkg_setup() {
|
||||
if use samples && use !ogre ; then
|
||||
ewarn "Samples disabled, because they only work with ogre!"
|
||||
ewarn "Enable ogre USE flag if you want to use samples."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-3.2.0-underlinking.patch \
|
||||
"${FILESDIR}"/${PN}-3.2.0-build.patch \
|
||||
"${FILESDIR}"/${PN}-3.2.1-FHS.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && append-cppflags -DDEBUG
|
||||
|
||||
local mycmakeargs=()
|
||||
|
||||
# static configuration
|
||||
if use static-libs ; then
|
||||
mycmakeargs=( -DMYGUI_STATIC=ON
|
||||
-DMYGUI_BUILD_DOCS=OFF
|
||||
-DMYGUI_INSTALL_DOCS=OFF
|
||||
-DMYGUI_USE_FREETYPE=ON
|
||||
$(cmake-utils_use plugins MYGUI_BUILD_PLUGINS)
|
||||
-DMYGUI_BUILD_DEMOS=OFF
|
||||
-DMYGUI_INSTALL_SAMPLES=OFF
|
||||
-DMYGUI_BUILD_TOOLS=OFF
|
||||
-DMYGUI_INSTALL_TOOLS=OFF
|
||||
-DMYGUI_BUILD_WRAPPER=OFF
|
||||
-DMYGUI_RENDERSYSTEM=$(usex opengl "4" "$(usex ogre "3" "1")") )
|
||||
|
||||
CMAKE_BUILD_DIR=${STATIC_BUILD} cmake-utils_src_configure
|
||||
unset mycmakeargs
|
||||
fi
|
||||
|
||||
# main configuration
|
||||
mycmakeargs=( -DMYGUI_STATIC=OFF
|
||||
$(cmake-utils_use doc MYGUI_BUILD_DOCS)
|
||||
$(cmake-utils_use doc MYGUI_INSTALL_DOCS)
|
||||
-DMYGUI_USE_FREETYPE=ON
|
||||
$(cmake-utils_use plugins MYGUI_BUILD_PLUGINS)
|
||||
$(usex ogre "$(cmake-utils_use samples MYGUI_BUILD_DEMOS)" "-DMYGUI_BUILD_DEMOS=OFF")
|
||||
$(usex ogre "$(cmake-utils_use samples MYGUI_INSTALL_SAMPLES)" "-DMYGUI_INSTALL_SAMPLES=OFF")
|
||||
$(cmake-utils_use tools MYGUI_BUILD_TOOLS)
|
||||
$(cmake-utils_use tools MYGUI_INSTALL_TOOLS)
|
||||
-DMYGUI_BUILD_WRAPPER=OFF
|
||||
-DMYGUI_RENDERSYSTEM=$(usex opengl "4" "$(usex ogre "3" "1")") )
|
||||
|
||||
if use tools || (use samples && use ogre) ; then
|
||||
mycmakeargs+=( -DMYGUI_INSTALL_MEDIA=ON )
|
||||
else
|
||||
mycmakeargs+=( -DMYGUI_INSTALL_MEDIA=OFF )
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# build system does not support building static and shared at once,
|
||||
# run a double build
|
||||
if use static-libs ; then
|
||||
CMAKE_BUILD_DIR=${STATIC_BUILD} cmake-utils_src_compile
|
||||
fi
|
||||
|
||||
cmake-utils_src_compile
|
||||
|
||||
use doc && emake -C "${CMAKE_BUILD_DIR}"/Docs api-docs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use static-libs ; then
|
||||
find "${STATIC_BUILD}" -name "*.a" \! -name "libCommon.a" -exec dolib.a '{}' \;
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins "${STATIC_BUILD}"/pkgconfig/MYGUIStatic.pc
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r "${CMAKE_BUILD_DIR}"/Docs/html/*
|
||||
|
||||
if use linguas_ru ; then
|
||||
docompress -x /usr/share/doc/${PF}/Papers
|
||||
dodoc -r Docs/Papers
|
||||
fi
|
||||
fi
|
||||
|
||||
keepdir /etc/MYGUI
|
||||
fperms o+w /etc/MYGUI
|
||||
|
||||
# test media not needed at runtime
|
||||
rm -rf "${D}"/usr/share/MYGUI/Media/UnitTests
|
||||
# wrapper not available for linux, remove related media
|
||||
rm -rf "${D}"/usr/share/MYGUI/Media/Wrapper
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
elog "ogre.cfg and Ogre.log are created as"
|
||||
elog "/etc/MYGUI/mygui-ogre.cfg and /etc/MYGUI/mygui-Ogre.log"
|
||||
einfo
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-0.15.1.ebuild,v 1.1 2014/08/24 18:17:58 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST MoarVM-2014.07.tar.gz 2208093 SHA256 9659d18d6e63b95ee64f4d8ced9d7cd156f3d4867abdac6173c109fed2bdaabb SHA512 de7cb593446b952776a9a3dc6bb84e5b3fb5eafd25d59101d44f85fd7a9ac2cc24e2b1720cd3cbce65fd490ec85c4c56da6b92d9a1c7233816ff7b082754a500 WHIRLPOOL 0adff0a3607b1885510a2e3df9ea82dd36b1e73898c66025ebcf23c209ff8fdd5a1de6a3127569ef60f48f4bceac62a32bd2d63af0818a926cd10b20e321fec3
|
||||
DIST MoarVM-2014.08.tar.gz 2375244 SHA256 1c213fdb3813351d7591d61eb11662ccc93d8fa4b4b9c66daf18f97dda74f7c5 SHA512 5f76b9450205d39e37032ff8664bb6309b3ab75308e63cdba330787bf0d15401b9d583fee15e7f5c117c05321040f27148b2cae34f1ff884c252232ebcfe9394 WHIRLPOOL ebb048cd8ca68f1e5456aacd21f2ce267e632da2f97effbb760ad668b0a8a3b6103c010f792a55f396deaa11b61db1270b2d207cf2d6725f318984d0cb09c1c3
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/moarvm/moarvm-2014.08.ebuild,v 1.1 2014/08/25 04:30:54 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
MY_PN="MoarVM"
|
||||
|
||||
DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
|
||||
HOMEPAGE="http://moarvm.org"
|
||||
SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-libs/libuv"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/MoarVM-${PV}"
|
||||
|
||||
src_configure() {
|
||||
perl Configure.pl --prefix="${D}/usr"|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST nqp-2014.07.tar.gz 5199246 SHA256 aaff0091b266881dfde50ba7f42082b5c1a87b51319eb90dc174324f0ef2bd6a SHA512 4d8d6a49e76285ad57015ac2df61e3935dc25f10fb9815c3c4ea64631fdef68a93569331fa31c647a1bdcec1793b23091e0a66b69e4882f933cb3b98ac00803a WHIRLPOOL 3a09c79fffd8559a9bd3989fbbd8d07331a79eecafa1ed0cfdac6a9f6e008c68b308b87d995d0a4e60c215147f7a790eff053688e5779e3a807c607be3745ed2
|
||||
DIST nqp-2014.08.tar.gz 5205442 SHA256 97e6d07a66e601fb223e48154a9a5e7302bdc9fff4c682356523bebb3a4c03cd SHA512 675f9d9a8435d8d10072117e25c8d7ecd90a045e8c14458ed4836cb0fbe83729c9d7d4fe27f32bc8ef9fd294eb8d9c199f706228424d8d854d796eeac47cb132 WHIRLPOOL 773ecf8717934d4a981881d1147953e6a07c11f974bdc52149ddd6c0f51dbd4d5a32fc737e5d17f54f03c67630d83bd3f0fb1b866b4f147f1ed90aaf22392674
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/nqp-2014.08.ebuild,v 1.1 2014/08/25 05:51:51 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
# hrm, doesn't look happy
|
||||
RESTRICT="test"
|
||||
|
||||
GITCRAP=43fcd85
|
||||
PARROT_VERSION="6.7.0"
|
||||
|
||||
DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
|
||||
HOMEPAGE="http://rakudo.org/"
|
||||
SRC_URI="http://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="doc +parrot java moar"
|
||||
REQUIRED_USE="|| ( parrot java moar )"
|
||||
|
||||
RDEPEND="parrot? ( >=dev-lang/parrot-${PARROT_VERSION}:=[unicode] )
|
||||
java? ( >=virtual/jre-1.7 )
|
||||
moar? ( =dev-lang/moarvm-${PV} )"
|
||||
DEPEND="${RDEPEND}
|
||||
java? ( >=virtual/jdk-1.7 )
|
||||
dev-lang/perl"
|
||||
|
||||
S=${WORKDIR}/perl6-nqp-${GITCRAP}
|
||||
|
||||
src_configure() {
|
||||
use java && myconf+="jvm,"
|
||||
use parrot && myconf+="parrot,"
|
||||
use moar && myconf+="moar,"
|
||||
perl Configure.pl --backend=${myconf} --prefix=/usr || die
|
||||
# dirty hack to make dyncall not fail
|
||||
sed -i -e 's/-Werror=missing-prototypes//' Makefile || die
|
||||
sed -i -e 's/-Werror=missing-declarations//' Makefile || die
|
||||
sed -i -e 's/-Werror=strict-prototypes//' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die
|
||||
|
||||
dodoc CREDITS README.pod || die
|
||||
|
||||
if use doc; then
|
||||
dodoc -r docs/* || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-6.7.0.ebuild,v 1.1 2014/08/25 04:44:41 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
# weird failures
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
|
||||
HOMEPAGE="http://www.parrot.org/"
|
||||
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/all/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0/6.1.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
|
||||
|
||||
RDEPEND="sys-libs/readline
|
||||
opengl? ( media-libs/freeglut )
|
||||
nls? ( sys-devel/gettext )
|
||||
unicode? ( >=dev-libs/icu-2.6:= )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.4 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
doc? ( dev-perl/JSON )"
|
||||
|
||||
DEPEND="dev-lang/perl[doc?]
|
||||
${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
myconf="--disable-rpath"
|
||||
use unicode || myconf+=" --without-icu"
|
||||
use ssl || myconf+=" --without-crypto"
|
||||
use gdbm || myconf+=" --without-gdbm"
|
||||
use nls || myconf+=" --without-gettext"
|
||||
use gmp || myconf+=" --without-gmp"
|
||||
use opengl || myconf+=" --without-opengl"
|
||||
use pcre || myconf+=" --without-pcre"
|
||||
|
||||
perl Configure.pl \
|
||||
--ccflags="${CFLAGS}" \
|
||||
--linkflags="${LDFLAGS}" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
|
||||
$myconf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
|
||||
# occasionally dies in parallel make
|
||||
emake -j1 || die
|
||||
if use doc ; then
|
||||
emake -j1 html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
|
||||
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
|
||||
if use examples; then
|
||||
insinto "/usr/share/doc/${PF}/examples"
|
||||
doins -r examples/* || die
|
||||
fi
|
||||
if use doc; then
|
||||
insinto "/usr/share/doc/${PF}/editor"
|
||||
doins -r editor || die
|
||||
cd docs/html
|
||||
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
|
||||
pmc.html tools.html docs src tools || die
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST rakudo-2014.07.tar.gz 1416280 SHA256 a782f05f60b5d14f8d339afd04588a5e25a700eb459a4854d6efbb830f1be670 SHA512 30fb50577b3d8c2384bcf1d8c81d49a237f05890886833ea25c26ade103bbee57380a6f4e6e73e44120bdaa932a1cc970eefc6d56c260365782d17e7bc70e0e0 WHIRLPOOL cb91654b5418c4e3b49a2b545123d14aadbec50cb44db99c6b996eaf6916409338a72ad4e38c705105ce2eab7aaa24e75fba45d8be2809e525b417dc6443eb97
|
||||
DIST rakudo-2014.08.tar.gz 1428360 SHA256 4cf87db3158a8278cbdf3ffe8549cc73605ad3c6e102f6db9e4d313f493b0609 SHA512 1133a4a3efe1c3bba318d9d93675815f4ad020b1bfb8c6579412a742f41b1453117660a6940f0bc4cf60c213e5f7045516780f41256c974441116d3987e576eb WHIRLPOOL 8addb8b7748e1e143a52c9c3867fb6791cf25d4f142cc21e955db74432cc661b5dcda1bff9d4f68934fac80c108775d6235b1ed9f67dee80a7b6d61118221960
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2014.08.ebuild,v 1.1 2014/08/25 05:52:53 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PARROT_VERSION="6.7.0"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
|
||||
HOMEPAGE="http://rakudo.org/"
|
||||
SRC_URI="http://rakudo.org/downloads/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +parrot java moar"
|
||||
|
||||
RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}:=[unicode]
|
||||
>=dev-lang/nqp-${PV}[parrot?,java?,moar?]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s,\$(DOCDIR)/rakudo$,&-${PVR}," tools/build/Makefile-Parrot.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use parrot && myconf+="parrot,"
|
||||
use java && myconf+="jvm,"
|
||||
use moar && myconf+="moar,"
|
||||
perl Configure.pl --backends=${myconf} --prefix=/usr || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${ED}" install || die
|
||||
|
||||
dodoc CREDITS README.md docs/ChangeLog docs/ROADMAP || die
|
||||
|
||||
if use doc; then
|
||||
dohtml -A svg docs/architecture.html docs/architecture.svg || die
|
||||
dodoc docs/*.pod || die
|
||||
docinto announce
|
||||
dodoc docs/announce/* || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/busybee/busybee-0.5.1.ebuild,v 1.1 2014/08/25 05:58:37 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="A messaging abstraction on top of TCP sockets used in HyperDex"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libpo6-${PV}
|
||||
>=dev-libs/libe-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/hyperleveldb/hyperleveldb-1.2.1.ebuild,v 1.1 2014/08/25 06:09:23 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
WANT_AUTOMAKE="1.11"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Hyperdex fork/extension of leveldb"
|
||||
HOMEPAGE="http://hyperdex.org/"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-libs/leveldb[snappy]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/snappy.patch"
|
||||
eautoreconf
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/libe-0.8.1.ebuild,v 1.1 2014/08/25 05:58:42 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
# bit messy at the moment, next release should fix it I hope
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="Hyperdex libe support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/libpo6-0.5.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/_strtoui64/strtoul/' e/convert.h || die
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpo6/libpo6-0.5.2.ebuild,v 1.1 2014/08/25 05:56:08 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Hyperdex libpo6 support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/replicant/replicant-0.6.3.ebuild,v 1.1 2014/08/25 06:10:27 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Hyperdex replicant support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libpo6-0.4
|
||||
>=dev-libs/libe-0.4
|
||||
>=dev-libs/busybee-0.4
|
||||
dev-libs/hyperleveldb
|
||||
dev-cpp/glog
|
||||
dev-cpp/sparsehash"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.640.0.ebuild,v 1.4 2013/12/30 07:53:26 dirtyepic Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.640.0-r1.ebuild,v 1.1 2014/08/25 02:20:49 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
MODULE_AUTHOR=MDOOTSON
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-AuthCookie/Apache-AuthCookie-3.180.0.ebuild,v 1.4 2012/04/08 14:52:52 armin76 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-AuthCookie/Apache-AuthCookie-3.180.0-r1.ebuild,v 1.1 2014/08/25 02:17:39 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MSCHOUT
|
||||
MODULE_VERSION=3.18
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-AuthTicket/Apache-AuthTicket-0.900.0.ebuild,v 1.4 2014/08/04 09:24:35 zlogene Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-AuthTicket/Apache-AuthTicket-0.900.0-r1.ebuild,v 1.1 2014/08/25 02:19:52 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MSCHOUT
|
||||
MODULE_VERSION=0.90
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-AuthTicket/Apache-AuthTicket-0.930.0.ebuild,v 1.2 2014/08/04 09:24:35 zlogene Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-AuthTicket/Apache-AuthTicket-0.930.0-r1.ebuild,v 1.1 2014/08/25 02:19:52 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MSCHOUT
|
||||
MODULE_VERSION=0.93
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-Reload/Apache-Reload-0.120.0.ebuild,v 1.7 2012/09/02 18:45:22 armin76 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-Reload/Apache-Reload-0.120.0-r1.ebuild,v 1.1 2014/08/25 02:15:17 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=PHRED
|
||||
MODULE_VERSION=0.12
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-SizeLimit/Apache-SizeLimit-0.960.0.ebuild,v 1.8 2012/11/13 15:56:19 ranger Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-SizeLimit/Apache-SizeLimit-0.960.0-r1.ebuild,v 1.1 2014/08/25 02:16:45 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=PHRED
|
||||
MODULE_VERSION=0.96
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-SizeLimit/Apache-SizeLimit-0.970.0.ebuild,v 1.1 2013/08/25 06:45:26 patrick Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache-SizeLimit/Apache-SizeLimit-0.970.0-r1.ebuild,v 1.1 2014/08/25 02:16:45 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=PHRED
|
||||
MODULE_VERSION=0.97
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache2-AuthenNTLM/Apache2-AuthenNTLM-0.20.0.ebuild,v 1.2 2011/09/03 21:05:18 tove Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Apache2-AuthenNTLM/Apache2-AuthenNTLM-0.20.0-r1.ebuild,v 1.1 2014/08/25 02:18:32 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=SPEEVES
|
||||
MODULE_VERSION=0.02
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/GnuPG-Interface/GnuPG-Interface-0.460.0.ebuild,v 1.5 2014/08/04 20:05:26 zlogene Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/GnuPG-Interface/GnuPG-Interface-0.460.0-r1.ebuild,v 1.1 2014/08/25 02:13:04 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=ALEXMV
|
||||
MODULE_VERSION=0.46
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Goo-Canvas/Goo-Canvas-0.60.0.ebuild,v 1.2 2011/09/03 21:04:41 tove Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Goo-Canvas/Goo-Canvas-0.60.0-r1.ebuild,v 1.1 2014/08/25 01:59:17 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=YEWENBIN
|
||||
MODULE_VERSION=0.06
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/GraphViz/GraphViz-2.40.0.ebuild,v 1.4 2012/10/14 18:27:40 armin76 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/GraphViz/GraphViz-2.40.0-r1.ebuild,v 1.1 2014/08/25 02:01:33 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=LBROCARD
|
||||
MODULE_VERSION=2.04
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Ex-PodViewer/Gtk2-Ex-PodViewer-0.180.0.ebuild,v 1.6 2014/08/04 20:09:37 zlogene Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Ex-PodViewer/Gtk2-Ex-PodViewer-0.180.0-r1.ebuild,v 1.1 2014/08/25 02:10:08 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
MODULE_AUTHOR=GBROWN
|
||||
MODULE_VERSION=0.18
|
||||
inherit perl-module
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Ex-PrintDialog/Gtk2-Ex-PrintDialog-0.30.0.ebuild,v 1.3 2012/05/06 16:43:02 armin76 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Ex-PrintDialog/Gtk2-Ex-PrintDialog-0.30.0-r1.ebuild,v 1.1 2014/08/25 02:03:18 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=GBROWN
|
||||
MODULE_VERSION=0.03
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-ImageView/Gtk2-ImageView-0.50.0.ebuild,v 1.2 2011/09/03 21:05:19 tove Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-ImageView/Gtk2-ImageView-0.50.0-r1.ebuild,v 1.1 2014/08/25 02:05:12 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=RATCLIFFE
|
||||
MODULE_VERSION=0.05
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Notify/Gtk2-Notify-0.05.ebuild,v 1.4 2012/08/11 12:45:29 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Notify/Gtk2-Notify-0.05-r1.ebuild,v 1.1 2014/08/25 02:06:04 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=FLORA
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0.ebuild,v 1.6 2011/09/03 21:05:21 tove Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0-r1.ebuild,v 1.1 2014/08/25 02:09:15 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=POTYL
|
||||
MODULE_VERSION=0.05
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gnome2-perl/gnome2-perl-1.42.0.ebuild,v 1.5 2012/03/31 13:59:18 klausman Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gnome2-perl/gnome2-perl-1.42.0-r1.ebuild,v 1.1 2014/08/25 02:52:41 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Gnome2
|
||||
MODULE_AUTHOR=TSCH
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gnome2-vfs-perl/gnome2-vfs-perl-1.81.0.ebuild,v 1.8 2014/08/05 13:19:06 zlogene Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gnome2-vfs-perl/gnome2-vfs-perl-1.81.0-r1.ebuild,v 1.1 2014/08/25 02:22:35 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Gnome2-VFS
|
||||
MODULE_AUTHOR=TSCH
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gnome2-wnck/gnome2-wnck-0.160.0.ebuild,v 1.5 2012/03/31 12:07:16 armin76 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gnome2-wnck/gnome2-wnck-0.160.0-r1.ebuild,v 1.1 2014/08/25 01:58:05 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Gnome2-Wnck
|
||||
MODULE_AUTHOR=TSCH
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-ex-formfactory/gtk2-ex-formfactory-0.670.0.ebuild,v 1.6 2012/03/31 12:07:55 armin76 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-ex-formfactory/gtk2-ex-formfactory-0.670.0-r1.ebuild,v 1.1 2014/08/25 02:02:28 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=JRED
|
||||
MODULE_VERSION=0.67
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-fu/gtk2-fu-0.110.0-r1.ebuild,v 1.7 2013/02/19 16:31:47 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-fu/gtk2-fu-0.110.0-r2.ebuild,v 1.1 2014/08/25 02:04:13 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Gtk2Fu
|
||||
MODULE_AUTHOR=DAMS
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-gladexml/gtk2-gladexml-1.7.0.ebuild,v 1.7 2014/08/05 13:18:14 zlogene Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-gladexml/gtk2-gladexml-1.7.0-r1.ebuild,v 1.1 2014/08/25 02:12:03 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Gtk2-GladeXML
|
||||
MODULE_AUTHOR=TSCH
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-spell/gtk2-spell-1.40.0.ebuild,v 1.6 2012/09/02 18:50:20 armin76 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-spell/gtk2-spell-1.40.0-r1.ebuild,v 1.1 2014/08/25 02:07:27 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Gtk2-Spell
|
||||
MODULE_AUTHOR=TSCH
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-traymanager/gtk2-traymanager-0.50.0.ebuild,v 1.3 2012/05/04 04:10:56 jdhore Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-traymanager/gtk2-traymanager-0.50.0-r1.ebuild,v 1.1 2014/08/25 02:08:23 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Gtk2-TrayManager
|
||||
MODULE_AUTHOR=BORUP
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.990.200.ebuild,v 1.3 2011/12/11 22:06:56 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.990.200-r1.ebuild,v 1.1 2014/08/25 02:47:14 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Wx
|
||||
WX_GTK_VER="2.8"
|
@ -0,0 +1 @@
|
||||
DIST crumbs-1.2.2.tar.gz 7721 SHA256 eb3ea05bab4ba34501e2d18da151d7036bfd68e948383d3f7303891463ff590f SHA512 be20aa24ef25d3fac1cba7e653b06e0ab394286032f7f01320c53ba88cff363a72d6302a44da7019acd3f2f04ea98d7a2f4d01b5f9f9cc0327391346a4a4ebf6 WHIRLPOOL 73f834900b19c2fd4dacb705ca6af5bc89fab6f8712115e3e894775c7bf6e5d87071faa2a5152350e1d7244751e2d6a9e07732c88e3ca40aae56ece560d77f72
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/crumbs/crumbs-1.2.2.ebuild,v 1.1 2014/08/25 00:02:51 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_2 python3_3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Generalized all-in-one parameters module"
|
||||
HOMEPAGE="https://github.com/alunduil/crumbs"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="inotify test"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="inotify? ( dev-python/pyinotify[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
flake8 || die 'flake8'
|
||||
nosetests || die 'nosetests'
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/crumbs/crumbs-9999.ebuild,v 1.1 2014/08/25 00:02:51 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_2 python3_3 )
|
||||
|
||||
inherit distutils-r1 git-2
|
||||
|
||||
EGIT_REPO_URI="git://github.com/alunduil/crumbs.git"
|
||||
|
||||
DESCRIPTION="Generalized all-in-one parameters module"
|
||||
HOMEPAGE="https://github.com/alunduil/crumbs"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="inotify test"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="inotify? ( dev-python/pyinotify[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
flake8 || die 'flake8'
|
||||
nosetests || die 'nosetests'
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>alunduil@gentoo.org</email>
|
||||
<name>Alex Brandt</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/minitest-5.4.0.ebuild,v 1.1 2014/08/25 05:32:44 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit"
|
||||
HOMEPAGE="https://github.com/seattlerb/minitest"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Make sure __jtrap is available in all threads. This should
|
||||
# be fixed in jruby 1.7.x
|
||||
sed -i -e '8i trap :INFO do ; end' lib/minitest/parallel.rb || die
|
||||
|
||||
# Avoid failures. Most of these look like low-level jruby
|
||||
# differences and it looks like these were not run properly
|
||||
# in previous versions.
|
||||
for t in test_return_mock_does_not_raise test_mock_args_does_not_raise test_stub_block test_stub_value ; do
|
||||
local command="/${t}/,/^ end/ s:^:#:"
|
||||
sed -i -e "${command}" test/minitest/test_minitest_mock.rb || die
|
||||
done
|
||||
for t in test_run_failing test_run_skip test_run_error test_run_skip_verbose test_run_error_teardown test_runnable_methods_random test_assert_throws_different test_to_s_error_in_test_and_teardown test_run_filtered_including_suite_name_string test_run_filtered_string_method_only test_run_filtered_including_suite_name ; do
|
||||
command="/${t}/,/^ end/ s:^:#:"
|
||||
sed -i -e "${command}" test/minitest/test_minitest_unit.rb || die
|
||||
done
|
||||
for t in test_name2 "needs to verify throw" ; do
|
||||
command="/${t}/,/^ end/ s:^:#:"
|
||||
sed -i -e "${command}" test/minitest/test_minitest_spec.rb || die
|
||||
done
|
||||
sed -i -e '/test_report_error/,/^ end/ s:^:#:' test/minitest/test_minitest_reporter.rb || die
|
||||
;;
|
||||
*rbx)
|
||||
# Avoid a single failing test for rbx while we are testing
|
||||
# and bootstrapping it.
|
||||
sed -i -e '/test_mock_args_does_not_raise/,/^ end/ s:^:#:' test/minitest/test_minitest_mock.rb || die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -e "Dir['**/test_*.rb'].each{|f| require f}" || die "Tests failed"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST gitolite-gentoo-2.3.1.tar.bz2 198849 SHA256 65c4646b5609f987b3004dbc44ebf9a76d3f1791414fbe13eacea25460b966ae SHA512 994ee759d87659eb4f4bfbe6618d1bd74e83df2e6c8d710ca1c929d86e05b1152639bf5c99b906f7d20f9585163f872f04d9710e29b1d73ada998595553d294e WHIRLPOOL 9d4effd46f5953bb330f799962a79fb999ada0c6ba8cf0b536275f3c56f1178f76730b6ab659e8adf3378c2fbe8ba6ff602eec15e32822192cd0d07f8637aa8d
|
||||
DIST gitolite-gentoo-2.3.3.tar.bz2 199370 SHA256 41680cd9ff0999a945498749022360101dd33d4195161912418e8002bbabc9a8 SHA512 f9720effa816400544bf5526d896b9db734828c46356d0188e2ddb8fa8f175efb0f60b30c9e9c80a0624f6cb6dc5c5a301d8dfa35f13ad08fcd0538a0b8f77c3 WHIRLPOOL 1e3edc9bc7a66d51c205b1bca516620248cb31e78ab1cd5bf455a07096948a208825858ce11eb21b82ed825bfff043d59215a1257641557fd6ffe869924b4896
|
||||
DIST gitolite-gentoo-3.5.3.1.tar.bz2 127391 SHA256 0a7025e597f9e50b15bf181c34e7851b68e449400ebfbcc96be7d307760cb726 SHA512 f36a270f651b2b8d4ae02fd7b3841a599b7c66d36a6f92df8974897fdec863b4c09064c384ede9309150a4a487186ba3c3079cd0037d5fd39852b452115933bb WHIRLPOOL 0cb2b06a13f6a57e335556c68861bb1cf7ea907901cf3cb9479757775b1e8636856b889f12cecb5dff10200afbd66ad810e450a81739f6ce7b399e6fe6685afe
|
||||
DIST gitolite-gentoo-3.6.1.tar.bz2 140554 SHA256 db138b8f616322f0b9c5fb466c579f64e30eb5c1a5029750b64c3846eb2a8db4 SHA512 563f2753f4d04d8a2c5d323fbf3d15f9f12975d4aa3ae3781011b521be7ca2b2ac755f9c4247f86ee303aa7f8c9795f3fdff4504a347b9b9cd08525666bb0187 WHIRLPOOL e8d30287a7420b42b3aa5b96a69bc79cb6b0dd2c9cf61ac3764ac9abcb54a10d19a91dc3509f32d14ed7efc6ede9aa7b9f3c8b01606d549bd38b8393712aae2b
|
||||
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.1.ebuild,v 1.1 2014/08/24 21:31:07 idl0r Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module user versionator
|
||||
|
||||
DESCRIPTION="Highly flexible server for git directory version tracker, Gentoo fork"
|
||||
HOMEPAGE="http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=summary"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="tools vim-syntax"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
virtual/perl-File-Path
|
||||
virtual/perl-File-Temp
|
||||
>=dev-vcs/git-1.6.6"
|
||||
RDEPEND="${DEPEND}
|
||||
!dev-vcs/gitolite
|
||||
dev-perl/Net-SSH-AuthorizedKeysFile
|
||||
vim-syntax? ( app-vim/gitolite-syntax )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup git
|
||||
enewuser git -1 /bin/sh /var/lib/gitolite git
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
echo "${PF}-gentoo" > src/VERSION
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local uexec=/usr/libexec/${PN}
|
||||
|
||||
rm -rf src/lib/Gitolite/Test{,.pm}
|
||||
insinto $VENDOR_LIB
|
||||
doins -r src/lib/Gitolite
|
||||
|
||||
dodoc README.txt CHANGELOG
|
||||
|
||||
insopts -m0755
|
||||
insinto $uexec
|
||||
doins -r src/{commands,syntactic-sugar,triggers,VREF}/
|
||||
|
||||
insopts -m0644
|
||||
doins src/VERSION
|
||||
|
||||
exeinto $uexec
|
||||
doexe src/gitolite{,-shell}
|
||||
|
||||
dodir /usr/bin
|
||||
for bin in gitolite{,-shell}; do
|
||||
dosym /usr/libexec/${PN}/${bin} /usr/bin/${bin}
|
||||
done
|
||||
|
||||
if use tools; then
|
||||
dobin check-g2-compat convert-gitosis-conf
|
||||
fi
|
||||
|
||||
keepdir /var/lib/gitolite
|
||||
fowners git:git /var/lib/gitolite
|
||||
fperms 750 /var/lib/gitolite
|
||||
|
||||
fperms 0644 ${uexec}/VREF/MERGE-CHECK # It's meant as example only
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
|
||||
ewarn
|
||||
elog "***NOTE*** This is a major upgrade and will likely break your existing gitolite-2.x setup!"
|
||||
elog "Please read http://sitaramc.github.com/gitolite/install.html#migr first!"
|
||||
ewarn
|
||||
elog "***NOTE*** If you're using the \"umask\" feature of ${PN}-2.x:"
|
||||
elog "You'll have to replace each \"umask = ...\" option by \"option umask = ...\""
|
||||
elog "And you'll also have to enable the \"RepoUmask\" module in your .gitolite.rc"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
# bug 352291
|
||||
gitolite_home=$(awk -F: '$1 == "git" { print $6 }' /etc/passwd)
|
||||
if [ -n "${gitolite_home}" -a "${gitolite_home}" != "/var/lib/gitolite" ]; then
|
||||
ewarn
|
||||
elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitolite)."
|
||||
elog "Especially if you're migrating from gitosis."
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
diff -Naur openjpeg_v1_4_sources_r697/libopenjpeg/openjpeg.h openjpeg_v1_4_sources_r697-patched/libopenjpeg/openjpeg.h
|
||||
--- openjpeg_v1_4_sources_r697/libopenjpeg/openjpeg.h 2011-01-02 13:14:45.000000000 -0500
|
||||
+++ openjpeg_v1_4_sources_r697-patched/libopenjpeg/openjpeg.h 2011-05-10 01:35:25.000000000 -0400
|
||||
@@ -60,7 +60,7 @@
|
||||
#endif /* !OPJ_STATIC || !_WIN32 */
|
||||
|
||||
#ifndef __cplusplus
|
||||
-#if defined(HAVE_STDBOOL_H)
|
||||
+#if @HAVE_STDBOOL_H@
|
||||
/*
|
||||
The C language implementation does correctly provide the standard header
|
||||
file "stdbool.h".
|
||||
diff -Naur openjpeg_v1_4_sources_r697/CMakeLists.txt openjpeg_v1_4_sources_r697-patched/CMakeLists.txt
|
||||
--- openjpeg_v1_4_sources_r697/CMakeLists.txt 2011-01-02 13:14:45.000000000 -0500
|
||||
+++ openjpeg_v1_4_sources_r697-patched/CMakeLists.txt 2011-05-10 01:35:25.000000000 -0400
|
||||
@@ -296,6 +296,7 @@
|
||||
FIND_FILE(HAVE_UNISTD_H unistd.h)
|
||||
SET(HAS_UNISTD_H 1)
|
||||
ENDIF()
|
||||
+check_include_file(stdbool.h HAVE_STDBOOL_H)
|
||||
#
|
||||
# Does the system have png library installed ?
|
||||
#
|
||||
@@ -364,4 +365,8 @@
|
||||
"${OPENJPEG_BINARY_DIR}/opj_config.h"
|
||||
@ONLY
|
||||
)
|
||||
-
|
||||
+#
|
||||
+# fix openjpeg.h
|
||||
+FILE(READ "${OPENJPEG_SOURCE_DIR}/libopenjpeg/openjpeg.h" ojh)
|
||||
+STRING(REGEX REPLACE "\@HAVE_STDBOOL_H\@" "${HAVE_STDBOOL_H}" ojhfixed "${ojh}" )
|
||||
+FILE(WRITE "${OPENJPEG_SOURCE_DIR}/libopenjpeg/openjpeg.h" "${ojhfixed}" )
|
@ -1,19 +0,0 @@
|
||||
libpng: Version 1.5.1beta04 [January 16, 2011]
|
||||
Mentioned in the documentation that applications must #include "zlib.h"
|
||||
if they need access to anything in zlib.h.
|
||||
---
|
||||
codec/convert.c | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/codec/convert.c b/codec/convert.c
|
||||
index 25e715b..153c4b9 100644
|
||||
--- a/codec/convert.c
|
||||
+++ b/codec/convert.c
|
||||
@@ -47,6 +47,7 @@
|
||||
#ifdef _WIN32
|
||||
#include "../libs/png/png.h"
|
||||
#else
|
||||
+#include <zlib.h>
|
||||
#include <png.h>
|
||||
#endif /* _WIN32 */
|
||||
#endif /* HAVE_LIBPNG */
|
@ -1,11 +0,0 @@
|
||||
diff -urN openjpeg_v1_4_sources_r697.old/libopenjpeg/CMakeLists.txt openjpeg_v1_4_sources_r697/libopenjpeg/CMakeLists.txt
|
||||
--- openjpeg_v1_4_sources_r697.old/libopenjpeg/CMakeLists.txt 2011-03-30 14:25:14.000000000 +0200
|
||||
+++ openjpeg_v1_4_sources_r697/libopenjpeg/CMakeLists.txt 2011-03-30 14:25:50.000000000 +0200
|
||||
@@ -30,6 +30,7 @@
|
||||
ENDIF(BUILD_SHARED_LIBS)
|
||||
ENDIF(WIN32)
|
||||
ADD_LIBRARY(${OPENJPEG_LIBRARY_NAME} ${OPENJPEG_SRCS})
|
||||
+TARGET_LINK_LIBRARIES(${OPENJPEG_LIBRARY_NAME} -lm)
|
||||
SET_TARGET_PROPERTIES(${OPENJPEG_LIBRARY_NAME} PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
|
||||
|
||||
# Install library
|
@ -1,31 +0,0 @@
|
||||
diff -urN openjpeg_v1_4_sources_r697.old/CMakeLists.txt openjpeg_v1_4_sources_r697/CMakeLists.txt
|
||||
--- openjpeg_v1_4_sources_r697.old/CMakeLists.txt 2011-03-30 14:25:14.000000000 +0200
|
||||
+++ openjpeg_v1_4_sources_r697/CMakeLists.txt 2011-03-30 15:15:34.000000000 +0200
|
||||
@@ -144,6 +144,11 @@
|
||||
ENDIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/openjpeg_mangle.h.in)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
+# pkgconfig support
|
||||
+CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libopenjpeg1.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg.pc @ONLY)
|
||||
+INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg.pc DESTINATION ${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig )
|
||||
+
|
||||
+#-----------------------------------------------------------------------------
|
||||
# Always build the library
|
||||
INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
|
||||
SUBDIRS(libopenjpeg)
|
||||
diff -urN openjpeg_v1_4_sources_r697.old/libopenjpeg1.pc.cmake openjpeg_v1_4_sources_r697/libopenjpeg1.pc.cmake
|
||||
--- openjpeg_v1_4_sources_r697.old/libopenjpeg1.pc.cmake 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ openjpeg_v1_4_sources_r697/libopenjpeg1.pc.cmake 2011-03-30 15:18:18.000000000 +0200
|
||||
@@ -0,0 +1,12 @@
|
||||
+prefix=@CMAKE_INSTALL_PREFIX@
|
||||
+bindir=${prefix}/@OPENJPEG_INSTALL_BIN_DIR@
|
||||
+datadir=${prefix}/@OPENJPEG_INSTALL_DATA_DIR@
|
||||
+libdir=${prefix}/@OPENJPEG_INSTALL_LIB_DIR@
|
||||
+includedir=${prefix}/@OPENJPEG_INSTALL_INCLUDE_DIR@
|
||||
+
|
||||
+Name: openjpeg
|
||||
+Description: JPEG2000 files library
|
||||
+URL: http://www.openjpeg.org/
|
||||
+Version: @OPENJPEG_VERSION@
|
||||
+Libs: -L${libdir} -lopenjpeg
|
||||
+Cflags: -I${includedir}
|
@ -1,72 +0,0 @@
|
||||
Some bits have been loaned from http://pkgs.fedoraproject.org/gitweb/?p=openjpeg.git;a=tree
|
||||
|
||||
--- CMake/OpenJPEGConfig.cmake.in
|
||||
+++ CMake/OpenJPEGConfig.cmake.in
|
||||
@@ -11,13 +11,13 @@
|
||||
SET(OPENJPEG_BUILD_VERSION "@OPENJPEG_VERSION_BUILD@")
|
||||
|
||||
# The libraries.
|
||||
-SET(OPENJPEG_LIBRARIES "@OPENJPEG_LIBRARIES@")
|
||||
+SET(OPENJPEG_LIBRARIES "@OPENJPEG_LIBRARY_NAME@")
|
||||
|
||||
# The CMake macros dir.
|
||||
-SET(OPENJPEG_CMAKE_DIR "@OPENJPEG_CMAKE_DIR_CONFIG@")
|
||||
+SET(OPENJPEG_CMAKE_DIR "@OPENJPEG_INSTALL_PACKAGE_DIR@")
|
||||
|
||||
# The configuration options.
|
||||
-SET(OPENJPEG_BUILD_SHARED_LIBS "@OPENJPEG_BUILD_SHARED_LIBS@")
|
||||
+SET(OPENJPEG_BUILD_SHARED_LIBS "@BUILD_SHARED_LIBS@")
|
||||
|
||||
# The "use" file.
|
||||
SET(OPENJPEG_USE_FILE "@OPENJPEG_USE_FILE_CONFIG@")
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -146,7 +146,7 @@
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libopenjpeg1.pc.cmake
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg1.pc @ONLY)
|
||||
INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/libopenjpeg1.pc DESTINATION
|
||||
- ${OPENJPEG_INSTALL_SHARE_DIR}/pkgconfig )
|
||||
+ ${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig )
|
||||
INSTALL( CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
|
||||
\"libopenjpeg1.pc\"
|
||||
\"\$ENV{DESTDIR}${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig/libopenjpeg.pc\")")
|
||||
@@ -252,11 +252,4 @@
|
||||
DESTINATION ${OPENJPEG_INSTALL_PACKAGE_DIR}
|
||||
)
|
||||
|
||||
-#-----------------------------------------------------------------------------
|
||||
-# install CHANGES and LICENSE
|
||||
-INSTALL(
|
||||
- FILES CHANGES
|
||||
- LICENSE
|
||||
- DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
|
||||
-
|
||||
INCLUDE (CMake/OpenJPEGCPack.cmake)
|
||||
--- libopenjpeg/CMakeLists.txt
|
||||
+++ libopenjpeg/CMakeLists.txt
|
||||
@@ -57,6 +57,10 @@
|
||||
INSTALL(FILES openjpeg.h
|
||||
DESTINATION ${OPENJPEG_INSTALL_INCLUDE_DIR}/${OPENJPEG_INSTALL_SUBDIR} COMPONENT Headers
|
||||
)
|
||||
+INSTALL( CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
|
||||
+ \"${OPENJPEG_INSTALL_SUBDIR}/openjpeg.h\"
|
||||
+ \"\$ENV{DESTDIR}${OPENJPEG_INSTALL_INCLUDE_DIR}/openjpeg.h\")"
|
||||
+)
|
||||
|
||||
# install man page of the library
|
||||
INSTALL(
|
||||
--- libopenjpeg1.pc.cmake
|
||||
+++ libopenjpeg1.pc.cmake
|
||||
@@ -1,8 +1,8 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
-bindir=@OPENJPEG_INSTALL_BIN_DIR@
|
||||
-datadir=@OPENJPEG_INSTALL_DATA_DIR@
|
||||
-libdir=@OPENJPEG_INSTALL_LIB_DIR@
|
||||
-includedir=@OPENJPEG_INSTALL_INCLUDE_DIR@
|
||||
+bindir=${prefix}/@OPENJPEG_INSTALL_BIN_DIR@
|
||||
+datadir=${prefix}/@OPENJPEG_INSTALL_DATA_DIR@
|
||||
+libdir=${prefix}/@OPENJPEG_INSTALL_LIB_DIR@
|
||||
+includedir=${prefix}/@OPENJPEG_INSTALL_INCLUDE_DIR@/@OPENJPEG_INSTALL_SUBDIR@
|
||||
|
||||
Name: openjpeg
|
||||
Description: JPEG2000 files library
|
@ -1,16 +0,0 @@
|
||||
--- openjpeg-9999/CMakeLists.txt
|
||||
+++ openjpeg-9999/CMakeLists.txt
|
||||
@@ -297,13 +297,6 @@
|
||||
DESTINATION ${OPENJPEG_INSTALL_PACKAGE_DIR}
|
||||
)
|
||||
|
||||
-#-----------------------------------------------------------------------------
|
||||
-# install CHANGES and LICENSE
|
||||
-if(EXISTS ${OPENJPEG_SOURCE_DIR}/CHANGES)
|
||||
- install(FILES CHANGES DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
|
||||
-endif()
|
||||
-install(FILES LICENSE DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
|
||||
-
|
||||
include (cmake/OpenJPEGCPack.cmake)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
@ -1,173 +0,0 @@
|
||||
diff -ru openjpeg-9999/src/lib/openjp2/j2k.c openjpeg/src/lib/openjp2/j2k.c
|
||||
--- openjpeg-9999/src/lib/openjp2/j2k.c
|
||||
+++ openjpeg/src/lib/openjp2/j2k.c
|
||||
@@ -1932,6 +1932,17 @@
|
||||
return OPJ_FALSE;
|
||||
}
|
||||
|
||||
+ /* testcase 4035.pdf.SIGSEGV.d8b.3375 */
|
||||
+ if (l_image->x0 > l_image->x1 || l_image->y0 > l_image->y1) {
|
||||
+ opj_event_msg(p_manager, EVT_ERROR, "Error with SIZ marker: negative image size (%d x %d)\n", l_image->x1 - l_image->x0, l_image->y1 - l_image->y0);
|
||||
+ return OPJ_FALSE;
|
||||
+ }
|
||||
+ /* testcase 2539.pdf.SIGFPE.706.1712 (also 3622.pdf.SIGFPE.706.2916 and 4008.pdf.SIGFPE.706.3345 and maybe more) */
|
||||
+ if (!(l_cp->tdx * l_cp->tdy)) {
|
||||
+ opj_event_msg(p_manager, EVT_ERROR, "Error with SIZ marker: invalid tile size (tdx: %d, tdy: %d)\n", l_cp->tdx, l_cp->tdy);
|
||||
+ return OPJ_FALSE;
|
||||
+ }
|
||||
+
|
||||
#ifdef USE_JPWL
|
||||
if (l_cp->correct) {
|
||||
/* if JPWL is on, we check whether TX errors have damaged
|
||||
@@ -3875,6 +3886,12 @@
|
||||
opj_read_bytes(p_header_data,&(p_j2k->m_current_tile_number),2); /* Isot */
|
||||
p_header_data+=2;
|
||||
|
||||
+ /* testcase 2.pdf.SIGFPE.706.1112 */
|
||||
+ if (p_j2k->m_current_tile_number >= l_cp->tw * l_cp->th) {
|
||||
+ opj_event_msg(p_manager, EVT_ERROR, "Invalid tile number %d\n", p_j2k->m_current_tile_number);
|
||||
+ return OPJ_FALSE;
|
||||
+ }
|
||||
+
|
||||
l_tcp = &l_cp->tcps[p_j2k->m_current_tile_number];
|
||||
l_tile_x = p_j2k->m_current_tile_number % l_cp->tw;
|
||||
l_tile_y = p_j2k->m_current_tile_number / l_cp->tw;
|
||||
@@ -3961,6 +3978,13 @@
|
||||
opj_read_bytes(p_header_data,&l_num_parts ,1); /* TNsot */
|
||||
++p_header_data;
|
||||
|
||||
+ /* testcase 451.pdf.SIGSEGV.ce9.3723 */
|
||||
+ if (l_num_parts && l_current_part >= l_num_parts) {
|
||||
+ opj_event_msg(p_manager, EVT_ERROR, "In SOT marker, TPSot (%d) is not valid regards to TNsot (%d), giving up\n", l_current_part, l_num_parts);
|
||||
+ p_j2k->m_specific_param.m_decoder.m_last_tile_part = 1;
|
||||
+ return OPJ_FALSE;
|
||||
+ }
|
||||
+
|
||||
if (l_num_parts != 0) { /* Number of tile-part header is provided by this tile-part header */
|
||||
/* Useful to manage the case of textGBR.jp2 file because two values of TNSot are allowed: the correct numbers of
|
||||
* tile-parts for that tile and zero (A.4.2 of 15444-1 : 2002). */
|
||||
@@ -4436,6 +4460,14 @@
|
||||
};
|
||||
#endif /* USE_JPWL */
|
||||
|
||||
+ /* testcase 3635.pdf.asan.77.2930 */
|
||||
+ if (l_comp_room >= l_nb_comp) {
|
||||
+ opj_event_msg(p_manager, EVT_ERROR,
|
||||
+ "JPWL: bad component number in RGN (%d when there are only %d)\n",
|
||||
+ l_comp_room, l_nb_comp);
|
||||
+ return OPJ_FALSE;
|
||||
+ }
|
||||
+
|
||||
opj_read_bytes(p_header_data,(OPJ_UINT32 *) (&(l_tcp->tccps[l_comp_no].roishift)),1); /* SPrgn */
|
||||
++p_header_data;
|
||||
|
||||
@@ -7442,6 +7474,10 @@
|
||||
if( (l_offset_x0_src < 0 ) || (l_offset_y0_src < 0 ) || (l_offset_x1_src < 0 ) || (l_offset_y1_src < 0 ) ){
|
||||
return OPJ_FALSE;
|
||||
}
|
||||
+ /* testcase 2977.pdf.asan.67.2198 */
|
||||
+ if ((OPJ_INT32)l_width_dest < 0 || (OPJ_INT32)l_height_dest < 0) {
|
||||
+ return OPJ_FALSE;
|
||||
+ }
|
||||
/*-----*/
|
||||
|
||||
/* Compute the input buffer offset */
|
||||
diff -ru openjpeg-9999/src/lib/openjp2/jp2.c openjpeg/src/lib/openjp2/jp2.c
|
||||
--- openjpeg-9999/src/lib/openjp2/jp2.c
|
||||
+++ openjpeg/src/lib/openjp2/jp2.c
|
||||
@@ -776,6 +776,13 @@
|
||||
for(i = 0; i < nr_channels; ++i) {
|
||||
pcol = cmap[i].pcol; cmp = cmap[i].cmp;
|
||||
|
||||
+ /* testcase 451.pdf.SIGSEGV.f4c.3723 */
|
||||
+ if (cmp >= image->numcomps) {
|
||||
+ /* TODO: is there a better place to validate the channel index? */
|
||||
+ fprintf(stderr, "invalid channel index %d\n", cmp);
|
||||
+ cmp = 0;
|
||||
+ }
|
||||
+
|
||||
new_comps[pcol] = old_comps[cmp];
|
||||
|
||||
/* Direct use */
|
||||
@@ -798,6 +805,12 @@
|
||||
|
||||
/* Palette mapping: */
|
||||
cmp = cmap[i].cmp; pcol = cmap[i].pcol;
|
||||
+ /* testcase 451.pdf.SIGSEGV.f4c.3723 */
|
||||
+ if (cmp >= image->numcomps) {
|
||||
+ /* TODO: is there a better place to validate the channel index? */
|
||||
+ fprintf(stderr, "invalid channel index %d\n", cmp);
|
||||
+ cmp = 0;
|
||||
+ }
|
||||
src = old_comps[cmp].data;
|
||||
dst = new_comps[pcol].data;
|
||||
max = new_comps[pcol].w * new_comps[pcol].h;
|
||||
@@ -960,6 +973,13 @@
|
||||
opj_read_bytes(p_cmap_header_data, &l_value, 1); /* PCOL^i */
|
||||
++p_cmap_header_data;
|
||||
cmap[i].pcol = (OPJ_BYTE) l_value;
|
||||
+
|
||||
+ /* testcase 451.pdf.SIGSEGV.5b5.3723 */
|
||||
+ if (cmap[i].pcol >= nr_channels) {
|
||||
+ opj_event_msg(p_manager, EVT_ERROR, "Invalid palette index %d.\n", l_value);
|
||||
+ opj_free(cmap);
|
||||
+ return OPJ_FALSE;
|
||||
+ }
|
||||
}
|
||||
|
||||
jp2->color.jp2_pclr->cmap = cmap;
|
||||
@@ -983,6 +1003,13 @@
|
||||
cn = info[i].cn;
|
||||
acn = asoc - 1;
|
||||
|
||||
+ /* testcase 4149.pdf.SIGSEGV.cf7.3501 */
|
||||
+ if (cn != acn && (cn >= image->numcomps || acn >= image->numcomps)) {
|
||||
+ /* TODO: is there a better place to validate these indices? */
|
||||
+ fprintf(stderr, "invalid component index %d/%d\n", cn, acn);
|
||||
+ cn = acn = 0;
|
||||
+ }
|
||||
+
|
||||
if(cn != acn)
|
||||
{
|
||||
opj_image_comp_t saved;
|
||||
@@ -1685,6 +1712,12 @@
|
||||
opj_free(l_current_data);
|
||||
return OPJ_FALSE;
|
||||
}
|
||||
+ /* testcase 1851.pdf.SIGSEGV.ce9.948 */
|
||||
+ else if (box.length < l_nb_bytes_read) {
|
||||
+ opj_event_msg(p_manager, EVT_ERROR, "invalid box size %d (%x)\n", box.length, box.type);
|
||||
+ opj_free(l_current_data);
|
||||
+ return OPJ_FALSE;
|
||||
+ }
|
||||
|
||||
l_current_handler = opj_jp2_find_handler(box.type);
|
||||
l_current_data_size = box.length - l_nb_bytes_read;
|
||||
diff -ru openjpeg-9999/src/lib/openjp2/tcd.c openjpeg/src/lib/openjp2/tcd.c
|
||||
--- openjpeg-9999/src/lib/openjp2/tcd.c
|
||||
+++ openjpeg/src/lib/openjp2/tcd.c
|
||||
@@ -663,6 +663,11 @@
|
||||
l_tile->y0 = opj_int_max(l_cp->ty0 + q * l_cp->tdy, l_image->y0); \
|
||||
l_tile->x1 = opj_int_min(l_cp->tx0 + (p + 1) * l_cp->tdx, l_image->x1); \
|
||||
l_tile->y1 = opj_int_min(l_cp->ty0 + (q + 1) * l_cp->tdy, l_image->y1); \
|
||||
+ /* testcase 1888.pdf.asan.35.988 */ \
|
||||
+ if (l_tccp->numresolutions == 0) { \
|
||||
+ fprintf(stderr, "tiles require at least one resolution\n"); \
|
||||
+ return OPJ_FALSE; \
|
||||
+ } \
|
||||
/*fprintf(stderr, "Tile border = %d,%d,%d,%d\n", l_tile->x0, l_tile->y0,l_tile->x1,l_tile->y1);*/ \
|
||||
\
|
||||
/*tile->numcomps = image->numcomps; */ \
|
||||
@@ -674,6 +679,12 @@
|
||||
l_tilec->y0 = opj_int_ceildiv(l_tile->y0, l_image_comp->dy); \
|
||||
l_tilec->x1 = opj_int_ceildiv(l_tile->x1, l_image_comp->dx); \
|
||||
l_tilec->y1 = opj_int_ceildiv(l_tile->y1, l_image_comp->dy); \
|
||||
+ /* testcase 1336.pdf.asan.47.376 */ \
|
||||
+ if (compno > 0 && (l_tilec->x1 - l_tilec->x0 != l_tile->comps->x1 - l_tile->comps->x0) || \
|
||||
+ (l_tilec->y1 - l_tilec->y0 != l_tile->comps->y1 - l_tile->comps->y0)) { \
|
||||
+ fprintf(stderr, "tiles don't all have the same dimension: %d x %d and %d x %d\n", l_tilec->x1 - l_tilec->x0, l_tilec->y1 - l_tilec->y0, l_tile->comps->x1 - l_tile->comps->x0, l_tile->comps->y1 - l_tile->comps->y0); \
|
||||
+ return OPJ_FALSE; \
|
||||
+ } \
|
||||
/*fprintf(stderr, "\tTile compo border = %d,%d,%d,%d\n", l_tilec->x0, l_tilec->y0,l_tilec->x1,l_tilec->y1);*/ \
|
||||
\
|
||||
l_data_size = (l_tilec->x1 - l_tilec->x0) \
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-1.4-r1.ebuild,v 1.11 2011/11/13 11:24:33 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P="${PN}_v${PV/./_}_sources_r697"
|
||||
|
||||
inherit base cmake-utils multilib
|
||||
|
||||
DESCRIPTION="An open-source JPEG 2000 codec written in C"
|
||||
HOMEPAGE="http://code.google.com/p/openjpeg/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/lcms:2
|
||||
media-libs/libpng:0
|
||||
media-libs/tiff:0
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-libpng15.patch"
|
||||
"${FILESDIR}/${P}-linking.patch"
|
||||
"${FILESDIR}/${P}-pkgconfig.patch"
|
||||
"${FILESDIR}/${P}-cmake-stdbool.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# drop install of license file
|
||||
sed -i -e 's:LICENSE::g' CMakeLists.txt || die
|
||||
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# in the package dir are only useless modules
|
||||
# but might be good for documentation :)
|
||||
local mycmakeargs=(
|
||||
"-DOPENJPEG_INSTALL_LIB_DIR=$(get_libdir)"
|
||||
"-DOPENJPEG_INSTALL_DOC_DIR=share/doc/${PF}"
|
||||
"-DOPENJPEG_INSTALL_PACKAGE_DIR=share/doc/${PF}"
|
||||
$(cmake-utils_use_build test TESTING)
|
||||
$(cmake-utils_use_build doc)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-1.5.0.ebuild,v 1.13 2013/04/06 06:45:59 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils multilib
|
||||
|
||||
DESCRIPTION="An open-source JPEG 2000 library"
|
||||
HOMEPAGE="http://code.google.com/p/openjpeg/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="media-libs/lcms:2=
|
||||
media-libs/libpng:0=
|
||||
media-libs/tiff:0=
|
||||
sys-libs/zlib:="
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=( AUTHORS CHANGES NEWS README THANKS )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-build.patch )
|
||||
|
||||
RESTRICT="test" #409263
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)"
|
||||
$(cmake-utils_use_build doc)
|
||||
$(cmake-utils_use_build test TESTING)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
# See broken -E create_symlink(s) in the -build.patch!
|
||||
dosym openjpeg-1.5/openjpeg.h /usr/include/openjpeg.h
|
||||
dosym libopenjpeg1.pc /usr/$(get_libdir)/pkgconfig/libopenjpeg.pc
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-1.5.1-r1.ebuild,v 1.1 2013/08/11 13:54:06 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit multilib cmake-utils multilib-minimal
|
||||
|
||||
DESCRIPTION="An open-source JPEG 2000 library"
|
||||
HOMEPAGE="http://code.google.com/p/openjpeg/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc static-libs test"
|
||||
|
||||
RDEPEND="media-libs/lcms:2=
|
||||
media-libs/libpng:0=
|
||||
media-libs/tiff:0=
|
||||
sys-libs/zlib:="
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=( AUTHORS CHANGES NEWS README THANKS )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-build.patch )
|
||||
|
||||
RESTRICT="test" #409263
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)"
|
||||
$(cmake-utils_use_build test TESTING)
|
||||
)
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
mycmakeargs+=( $(cmake-utils_use_build doc) )
|
||||
else
|
||||
mycmakeargs+=( -DBUILD_CODEC=OFF )
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
|
||||
if use static-libs ; then
|
||||
mycmakeargs=(
|
||||
-DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)"
|
||||
$(cmake-utils_use_build test TESTING)
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DBUILD_CODEC=OFF
|
||||
)
|
||||
BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_configure
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use static-libs ; then
|
||||
BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if use static-libs ; then
|
||||
BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_install
|
||||
#static bins overwritten by shared install
|
||||
fi
|
||||
|
||||
cmake-utils_src_install
|
||||
|
||||
dosym openjpeg-1.5/openjpeg.h /usr/include/openjpeg.h
|
||||
dosym libopenjpeg1.pc /usr/$(get_libdir)/pkgconfig/libopenjpeg.pc
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-9999.ebuild,v 1.3 2013/06/08 10:36:47 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils eutils multilib subversion
|
||||
|
||||
DESCRIPTION="An open-source JPEG 2000 library"
|
||||
HOMEPAGE="http://code.google.com/p/openjpeg/"
|
||||
ESVN_REPO_URI="http://openjpeg.googlecode.com/svn/trunk/"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="2"
|
||||
KEYWORDS=""
|
||||
IUSE="doc static-libs test +vanilla"
|
||||
|
||||
RDEPEND="media-libs/lcms:2=[static-libs?]
|
||||
media-libs/libpng:0=[static-libs?]
|
||||
media-libs/tiff:0=[static-libs?]
|
||||
sys-libs/zlib:=[static-libs?]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=( AUTHORS NEWS README THANKS )
|
||||
|
||||
RESTRICT="test" #409263
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-build.patch \
|
||||
"${FILESDIR}"/${PN}-2.0.0-pkgconfig-static.patch
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${P}-mupdf.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)"
|
||||
$(cmake-utils_use_build doc)
|
||||
$(cmake-utils_use_build test TESTING)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
|
||||
if use static-libs ; then
|
||||
mycmakeargs=(
|
||||
-DOPENJPEG_INSTALL_LIB_DIR="$(get_libdir)"
|
||||
$(cmake-utils_use_build test TESTING)
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
)
|
||||
BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_configure
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use static-libs ; then
|
||||
BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use static-libs ; then
|
||||
BUILD_DIR=${BUILD_DIR}_static cmake-utils_src_install
|
||||
#static bins overwritten by shared install
|
||||
fi
|
||||
|
||||
cmake-utils_src_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST SDL_gfx-2.0.24.tar.gz 1767179 SHA256 abe639ec17743ad94349bb4f15b3a0f279720d121bf221f35061404ea0cf69eb SHA512 b905d1804d64b21c5eb35721f496d74e17167f402d558291aa40fff79fd5d886ff02574509f60b130ee8c29a326de0ce94f26a4ee1b5b2cfd134c8d9a8eee8bb WHIRLPOOL ed1a33aaf7f130a92be05d267709fd19b80038c16125d456f86dcd8b93f59f320e64e3c606281bb3b77f6ee0086e025b8f6b745b252c3d9206c346936da1342e
|
||||
DIST SDL_gfx-2.0.24-1.tar.gz 1767169 SHA256 30ad38c3e17586e5212ce4a43955adf26463e69a24bb241f152493da28d59118 SHA512 df96601ae337519eca606bf93669a44931d259abd012fb1d5743977c12b9a98a35e4eea17f475f3dd698d9a26b1678dd3f746a240db5ccada5cf3d42955e454d WHIRLPOOL b71933bd6a8327d09cc4ed384b224703199bdbbe2d9540f1a4aec3371d4020699275f2fdcd329a611d2d44a3b4d62453f2ce0cc5d435465dddb1dc55eaadb5ea
|
||||
DIST SDL_gfx-2.0.25.tar.gz 1760656 SHA256 556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0 SHA512 42a5d78fe1a9b644d329fb688ed6c98558f8dd0aa029a1a0d99b1c59f94859269e0aef8f9e420b8018b687d8eae151652890be3994775644e1d3a80ba7b6fe8c WHIRLPOOL f3cac6a16c1fe1bcc8a09d5438cca8737ee571030524381804969c89d97ee4fd78e36625616932d4985504fc7689d765455d90a47692c9097119094612f72c9c
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-gfx/sdl-gfx-2.0.24-r3.ebuild,v 1.1 2014/08/24 23:12:11 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils multilib-minimal
|
||||
|
||||
MY_P="${P/sdl-/SDL_}"
|
||||
DESCRIPTION="Graphics drawing primitives library for SDL"
|
||||
HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
|
||||
SRC_URI="http://www.ferzkopp.net/Software/SDL_gfx-2.0/${MY_P}.tar.gz -> ${MY_P}-1.tar.gz" # 520358
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="doc mmx static-libs"
|
||||
|
||||
RDEPEND=">=media-libs/libsdl-1.2.15-r4[video,${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/-O //' configure.in || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable mmx) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc AUTHORS ChangeLog README
|
||||
use doc && dohtml -r Docs/*
|
||||
prune_libtool_files
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST SDL2_gfx-1.0.0.tar.gz 1081660 SHA256 9843924d46eacbabba685a239cf2284b948766a20ef2caa48cb18462a3295caf SHA512 df8cf656232e07b14c8e36f932fface5a35619c0a3c54ec9388ce83159205ee01330e3714a0e89fa67fd7276302ef76cef4be87e7658129d22b88823b39b38a0 WHIRLPOOL e7444d8d56b33b6a57f190881847d5014f3c46e536036e144cea0bfeb2d7819cc10ecc25b247752af9fa2e9709a65dbf77e53a42581dc4d1d59fa67536165a21
|
||||
DIST SDL2_gfx-1.0.1.tar.gz 1078780 SHA256 d69bcbceb811b4e5712fbad3ede737166327f44b727f1388c32581dbbe8c599a SHA512 413f0ac8a60b6c4c91f154dd72a512f410e134642fefb80cd3482646c9aab7dd56d2cc9015e78ee59b5bc89adc7397a248fe2132077c004114ad6505ca4194de WHIRLPOOL e16f899bfd94ad0959bc156f43ce2f149e8e4bbd0f2b4bfba643ff109df030f9120262fa6accc7eca15c090f3c63e50f46ab215760f18bc2ce4af663bdbd0320
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-gfx/sdl2-gfx-1.0.1.ebuild,v 1.1 2014/08/24 23:33:57 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils multilib-minimal
|
||||
|
||||
MY_P="${P/sdl2-/SDL2_}"
|
||||
DESCRIPTION="Graphics drawing primitives library for SDL2"
|
||||
HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
|
||||
SRC_URI="http://www.ferzkopp.net/Software/SDL2_gfx/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc mmx static-libs"
|
||||
|
||||
DEPEND=">=media-libs/libsdl2-2.0.1-r1[video,${MULTILIB_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's/ -O / /' \
|
||||
configure.in || die
|
||||
mv configure.in configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable mmx) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use doc && dohtml -r Docs/html/*
|
||||
prune_libtool_files
|
||||
}
|
@ -1 +1 @@
|
||||
Sun, 24 Aug 2014 17:07:01 +0000
|
||||
Mon, 25 Aug 2014 06:37:02 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sun, 24 Aug 2014 17:07:01 +0000
|
||||
Mon, 25 Aug 2014 06:37:02 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||
DEPEND=doc? ( dev-python/sphinx[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?]
|
||||
DESCRIPTION=Use novaclient with multiple OpenStack nova environments the easy way
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/rackerhacker/supernova
|
||||
IUSE=bash-completion doc examples python_targets_python2_7 python_single_target_python2_7
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=dev-python/keyring-0.9.2[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] dev-python/rackspace-novaclient[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?]
|
||||
REQUIRED_USE=python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/major/supernova/archive/v1.0.3.tar.gz -> supernova-1.0.3.tar.gz
|
||||
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e distutils-r1 90e7008a7d21e3b1597bea444bb85827 eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 vcs-snapshot 58b766562c9fbfb3268b04e33cdf2f66
|
||||
_md5_=3d872b0033b32cde4d3dbc6e4cdb02ae
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue