parent
ef9d03cad5
commit
7c46e5f49e
@ -1,6 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST alien_8.88.tar.gz 64380 SHA256 19f49c095cee687707057f7fb0a85f20dd56e3a1890d4e8c898b4be663375a46 SHA512 609a1b14e59670f5e5628344da87569a843b0d91d6f89bb8af8d6f93c754add09e5b121f813569ad98e413af19ff56a575d9309d7d40a3722c06f162d9f9cfe5 WHIRLPOOL 3c50c993ba110e5526bf605b86e5de355478b44726cc901995b0600d415d2bebffe08773d9dc00704ff766460be93e65f6aa933d854dc109230e7d62c4558983
|
||||
DIST alien_8.89.tar.gz 64478 SHA256 35d237e3a08fb86ae83b1b6d941aa696e1dff5b5c8eb83fa818995f15527e4d8 SHA512 55e8b99900f7f940bb4e38469ca10f02be20a4fb097f3d66649e50ab4dfc11a3c8aeaacca862872c02c68c482e1967ea0b12302e9660fbc7d920591bcd4be9ca WHIRLPOOL 2d4025819c824ad1a218ae0b4ba5ed837f5c8d2b7b5aaf2e94c71b2ddb21c47e8054e3d1b83cdd30022123ffa2dea1e0d5423793617b812d14d9ffca99d37715
|
||||
EBUILD alien-8.88.ebuild 801 SHA256 9e8ebd26e70b0ce0f96a6e239a6504bd26ab7a2f6c541444cb39627129b93fe2 SHA512 e32735f9143ad64e73a272149ee3bc3ec6b97474dba35fadd1bce9f84b13ee6aa623e6446bc834952903012c60056817472374d4b6a2daa5f4f12cda0959532c WHIRLPOOL 2dd4f2fe7796b86dfbc9367200b88be02fcf91493ac3cdd22c8dd0cbb7fe5a961cd7b5adb4cc44d8baa27e12b6bbe50c07d14c2e9606f3c66ffc51233e2084b9
|
||||
EBUILD alien-8.89.ebuild 810 SHA256 96f29dfb6c9ae367eb325de31b978aeeb6694862c64e4807025754a883293365 SHA512 eb99033713fa88bf41b0a4bb05c196e8be209a15bacbc663a87bc9f7588c99d94ec14da5c2ee7e03bfd772fe4d13cf9e692edbcf02c6db8639778dc5fd7fd047 WHIRLPOOL f3e3693241cb730fa9d1beed248b8fb443ddfa4e4026e9046f23812926187aec7d259a305fa492f4e5273fd56b773cea18c1fb798a53d16c165470693f418289
|
||||
MISC ChangeLog 6204 SHA256 640d302ef46f9171ea65d3b116e6367448ca504537d23e208653fc531a5c68a3 SHA512 9c79e2c20b9706c5f6ecfe6a775f892d6bf296366e8f3c1436a417dc286c359b378df3715714884c8881ccbb08cb066427d2a22bcf90721a1fddcc6047ef80aa WHIRLPOOL 779a57b5cb313b7089102e55e85e3d1794ca72c1a8cb3145755d4fa0dde597a10864d9119ed2c6deaf602e97612d28ab219d880a2a2861e50af2d33bcd00f2ee
|
||||
EBUILD alien-8.89.ebuild 805 SHA256 f465d712aad0f1830b5bdd42e6a0e142819f9c12bc89c8795684e9f7b1d06302 SHA512 a0d0a3b04aaff8f7eecebe319b189463295d7f67d17635632beda1cd60245ea3e20e6de8821e22bb345f68b32aba2298f8ca555f426cae1c16a3c6e984bcc74c WHIRLPOOL 53983ee7493f0b82f74dfe3e1b0182393b42334d28327673ccaa43ecc4b930157c3be147495e0ccb06ecdf47bbc8f251d9e3dc7bfddc9f78c912b66050d85234
|
||||
MISC ChangeLog 6300 SHA256 5af003634ec08fab9950b495987b1aaeeed7f6ed1eb7cc16c1aa4745fe077701 SHA512 371a271275e4ee4c52ccef7aca7860cf6f0fbb78a4c0d68ce8bfbf43282ef7f0bf7709a40c96caef1089643aaba3c8eeba11d4cbb76b45ee22886ea0c696885e WHIRLPOOL fee7becb096a3584fe4f6eec1e3eb84a782012716df53b75b99807eb2cab11ee986520d4ee577dc2b8334ef4e00e0afecb8ae7ca16100f2603f4f36d40c53e21
|
||||
MISC metadata.xml 198 SHA256 89e535559535075581383448592334bb8e2bf2aebfb2e0efde3eb7b06e0c170c SHA512 859c7d0fe086868a78127054633e33be7c974c8b542520c0ceda3324ddfbe31f713c0fd9d51435a0e5711ca428e780d29a660d103da89d0bf68b3f2c0d479487 WHIRLPOOL 2b5b007f150621bfae6992374da52dbd6c2b0f6bc13ae315e5ac58b6962d7a1b897022bca9a943768371e0d62b9f5e8f6b9a6c4a3ae6443206d1a25a79c5a588
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlLhByEACgkQVWmRsqeSphO0fQCfdZ9HqqaM+zR8YZ3z71kCOoKN
|
||||
GToAnjyLRXEe0ZQvNPFsmW8mTWZJAaxY
|
||||
=oSBO
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/p11-kit/p11-kit-0.20.2.ebuild,v 1.1 2014/01/24 09:00:35 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11."
|
||||
HOMEPAGE="http://p11-glue.freedesktop.org/p11-kit.html"
|
||||
SRC_URI="http://p11-glue.freedesktop.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="+asn1 debug +trust"
|
||||
REQUIRED_USE="trust? ( asn1 )"
|
||||
|
||||
RDEPEND="asn1? ( >=dev-libs/libtasn1-2.14 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable trust trust-module) \
|
||||
$(use_enable debug) \
|
||||
$(use_with asn1 libtasn1)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
# ChangeLog for app-crypt/scrypt
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/scrypt/ChangeLog,v 1.1 2014/01/24 09:04:15 radhermit Exp $
|
||||
|
||||
*scrypt-1.1.6 (24 Jan 2014)
|
||||
|
||||
24 Jan 2014; Tim Harder <radhermit@gentoo.org> +scrypt-1.1.6.ebuild,
|
||||
+metadata.xml:
|
||||
Initial import, ebuild by me.
|
||||
|
@ -0,0 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST scrypt-1.1.6.tgz 83776 SHA256 dfd0d1a544439265bbb9b58043ad3c8ce50a3987b44a61b1d39fd7a3ed5b7fb8 SHA512 c57e07c2ebaa696d575abf52c0078d3a8959c328e7a5fd3d01289424cdd9ec508cde493dc5965446ee59d9ea095e180615fc169696abd2336a3949554229bd1a WHIRLPOOL 6c5f08cc3aef7a9f99671d9e3457150960c64133afd26f029bfdd42e7fce64aa40d0833e1828dd8e0b34527eb03fa152e313d4bccea2d42f7dfbbc633a682d23
|
||||
EBUILD scrypt-1.1.6.ebuild 547 SHA256 2808161d384ce522702106b50e2bb262c1e278b4c7766c9b6336f112cb8c7ca3 SHA512 b031c8f95a7e1a072348a3826dffb58519f305a2aedf4bf2b87d5a6af756e03bbe95e951ea35fb5732b921f5907d3b7295581c6042e1c01329d91c03d906a459 WHIRLPOOL 3ef5420c176aa6233250c1afa53c6962f05906296ebcf118e61bde690528b041d5b8ae02a3111c900c72ba504ba589552a6492ea40000c9a25e4e160d7397dac
|
||||
MISC ChangeLog 358 SHA256 888f997808fc652f7509790e48c54bd1d44ad573d121b41311d263345010e075 SHA512 fb0a8f697762fd7f5d595fafaf0f576ce2fefa36d5fd6b3dde7cc2d6d99bddad22dcca2cad107f696f0289053d0e8ce65dd664e6e0b006690ba93e8b888cce18 WHIRLPOOL 85ba4c66615664675bd08695c66f325c78c1fae84cee646b20ded23736f864ea9383a1b6f9b0c3560e291cecf20fb52d24b1bc73e1e28fe19a19084ffa219188
|
||||
MISC metadata.xml 159 SHA256 fabd15e2740a2a68e0bda738d0cd4300b133ff11239802afe7e60aa3862c9c03 SHA512 96a1f7f082adc57e52a1a32666e1206e68f8ff03c728fdb7666ff98c255905977491fc4dfc37bc8bdf5da0eb50cdc408adec357bbd75bd980bc90659cc157194 WHIRLPOOL 82fca1c4b75b090abdb0a4233c8e49fc43535ca6e470f725c1872653ea922b6693e9646bc3ee1fd6f1293ebedad661642cec13b2817fb5315268300f7675a751
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJS4iyRAAoJEEqz6FtPBkyjoLUH+wez20diORz9RygCTu+UvpVk
|
||||
NIScqr0lrVI3lXsvIRMQC2RCejCQjAvQ+174NUkp2LTxDR3oSMTbx0bdZdn1wDJF
|
||||
i7xFLY/5nXtvckXdD23zB/pfPAsKBF9J8tWFijzmijw4sCM0EgC0kuiNQvjjH+mj
|
||||
RRhKCN/K6bLxcge48giNxJ8jdmacMhJrMO7o5XwQS9Ei+xxj4xBkvNGkR2nLshhV
|
||||
dksIvTiWF2u5Aoq6bNTk4ROpW/ORi3fNjd6SWcK+BmWaGiZ8l+lFbG6N/b9P58NC
|
||||
WExWkWQ5S4uXFfcEWolKSJIbLYN3QmOKU44eLk4ARLSQBWR07sTxrbnW2UlntPY=
|
||||
=LrB6
|
||||
-----END PGP SIGNATURE-----
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>crypto</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/scrypt/scrypt-1.1.6.ebuild,v 1.1 2014/01/24 09:04:15 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A simple password-based encryption utility using the scrypt key derivation function"
|
||||
HOMEPAGE="http://www.tarsnap.com/scrypt.html"
|
||||
SRC_URI="http://www.tarsnap.com/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="sse2"
|
||||
|
||||
DOCS=( FORMAT )
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable sse2)
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# 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/app-editors/gvim/gvim-7.4.131.ebuild,v 1.2 2013/12/23 10:59:13 hasufell Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.155.ebuild,v 1.1 2014/01/23 10:32:46 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
@ -1,402 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.22.ebuild,v 1.4 2013/12/23 10:59:13 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python ruby"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="~app-editors/vim-core-${PV}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
x11-libs/libXext
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libXft
|
||||
gnome? ( >=gnome-base/libgnomeui-2.6 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
)
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua )
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
dev-util/ctags
|
||||
sys-devel/autoconf
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
|
||||
# Patches for vim-core only (runtime/*)
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/gentoo/patches-core/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Patch to build with ruby-1.8.0_pre5 and following
|
||||
sed -i 's/defout/stdout/g' "${S}"/src/if_ruby.c
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --disable-gpm --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
# tclinterp is broken; when you --enable-tclinterp flag, then
|
||||
# the following command never returns:
|
||||
# VIMINIT='let OS=system("uname -s")' vim
|
||||
# mzscheme support is currently broken. bug #91970
|
||||
#myconf+=" $(use_enable mzscheme mzschemeinterp)"
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# gvim's GUI preference order is as follows:
|
||||
# aqua CARBON (not tested)
|
||||
# -aqua gtk gnome GNOME2
|
||||
# -aqua gtk -gnome GTK2
|
||||
# -aqua -gtk motif MOTIF
|
||||
# -aqua -gtk -motif neXt NEXTAW
|
||||
# -aqua -gtk -motif -neXt ATHENA
|
||||
echo ; echo
|
||||
if use aqua ; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=" --enable-darwin --enable-gui=carbon"
|
||||
elif use gtk ; then
|
||||
myconf+=" --enable-gtk2-check"
|
||||
if use gnome ; then
|
||||
einfo "Building gvim with the Gnome 2 GUI"
|
||||
myconf+=" --enable-gui=gnome2"
|
||||
else
|
||||
einfo "Building gvim with the gtk+-2 GUI"
|
||||
myconf+=" --enable-gui=gtk2"
|
||||
fi
|
||||
elif use motif ; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=" --enable-gui=motif"
|
||||
elif use neXt ; then
|
||||
einfo "Building gvim with the neXtaw GUI"
|
||||
myconf+=" --enable-gui=nextaw"
|
||||
else
|
||||
einfo "Building gvim with the Athena GUI"
|
||||
myconf+=" --enable-gui=athena"
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
# avoid finding of this function, to avoid having to patch either
|
||||
# configure or the source, which would be much more hackish.
|
||||
# after all vim does it right, only interix is badly broken (again)
|
||||
export ac_cv_func_sigaction=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-vim-name=gvim --with-x \
|
||||
--disable-selinux \
|
||||
$(use_enable lua luainterp) \
|
||||
$(use_with luajit) \
|
||||
$(use_enable netbeans) \
|
||||
$(use_enable ruby rubyinterp) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i -e 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i -e 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start
|
||||
# in vim for how this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../testvim nongui
|
||||
}
|
||||
|
||||
# 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
|
||||
|
||||
echo
|
||||
einfo "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -1,402 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.41.ebuild,v 1.4 2013/12/23 10:59:13 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python ruby"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="~app-editors/vim-core-${PV}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
x11-libs/libXext
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libXft
|
||||
gnome? ( >=gnome-base/libgnomeui-2.6 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
)
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua )
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
dev-util/ctags
|
||||
sys-devel/autoconf
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
|
||||
# Patches for vim-core only (runtime/*)
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/gentoo/patches-core/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Patch to build with ruby-1.8.0_pre5 and following
|
||||
sed -i 's/defout/stdout/g' "${S}"/src/if_ruby.c
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --disable-gpm --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
# tclinterp is broken; when you --enable-tclinterp flag, then
|
||||
# the following command never returns:
|
||||
# VIMINIT='let OS=system("uname -s")' vim
|
||||
# mzscheme support is currently broken. bug #91970
|
||||
#myconf+=" $(use_enable mzscheme mzschemeinterp)"
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# gvim's GUI preference order is as follows:
|
||||
# aqua CARBON (not tested)
|
||||
# -aqua gtk gnome GNOME2
|
||||
# -aqua gtk -gnome GTK2
|
||||
# -aqua -gtk motif MOTIF
|
||||
# -aqua -gtk -motif neXt NEXTAW
|
||||
# -aqua -gtk -motif -neXt ATHENA
|
||||
echo ; echo
|
||||
if use aqua ; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=" --enable-darwin --enable-gui=carbon"
|
||||
elif use gtk ; then
|
||||
myconf+=" --enable-gtk2-check"
|
||||
if use gnome ; then
|
||||
einfo "Building gvim with the Gnome 2 GUI"
|
||||
myconf+=" --enable-gui=gnome2"
|
||||
else
|
||||
einfo "Building gvim with the gtk+-2 GUI"
|
||||
myconf+=" --enable-gui=gtk2"
|
||||
fi
|
||||
elif use motif ; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=" --enable-gui=motif"
|
||||
elif use neXt ; then
|
||||
einfo "Building gvim with the neXtaw GUI"
|
||||
myconf+=" --enable-gui=nextaw"
|
||||
else
|
||||
einfo "Building gvim with the Athena GUI"
|
||||
myconf+=" --enable-gui=athena"
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
# avoid finding of this function, to avoid having to patch either
|
||||
# configure or the source, which would be much more hackish.
|
||||
# after all vim does it right, only interix is badly broken (again)
|
||||
export ac_cv_func_sigaction=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-vim-name=gvim --with-x \
|
||||
--disable-selinux \
|
||||
$(use_enable lua luainterp) \
|
||||
$(use_with luajit) \
|
||||
$(use_enable netbeans) \
|
||||
$(use_enable ruby rubyinterp) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i -e 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i -e 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start
|
||||
# in vim for how this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../testvim nongui
|
||||
}
|
||||
|
||||
# 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
|
||||
|
||||
echo
|
||||
einfo "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -1,389 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.94.ebuild,v 1.3 2013/12/23 10:59:13 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python racket ruby selinux tcl"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="~app-editors/vim-core-${PV}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
x11-libs/libXext
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libXft
|
||||
gnome? ( >=gnome-base/libgnomeui-2.6 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
)
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua )
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
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 -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --disable-gpm --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable 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 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 -e '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# gvim's GUI preference order is as follows:
|
||||
# aqua CARBON (not tested)
|
||||
# -aqua gtk gnome GNOME2
|
||||
# -aqua gtk -gnome GTK2
|
||||
# -aqua -gtk motif MOTIF
|
||||
# -aqua -gtk -motif neXt NEXTAW
|
||||
# -aqua -gtk -motif -neXt ATHENA
|
||||
echo ; echo
|
||||
if use aqua ; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=" --enable-darwin --enable-gui=carbon"
|
||||
elif use gtk ; then
|
||||
myconf+=" --enable-gtk2-check"
|
||||
if use gnome ; then
|
||||
einfo "Building gvim with the Gnome 2 GUI"
|
||||
myconf+=" --enable-gui=gnome2"
|
||||
else
|
||||
einfo "Building gvim with the gtk+-2 GUI"
|
||||
myconf+=" --enable-gui=gtk2"
|
||||
fi
|
||||
elif use motif ; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=" --enable-gui=motif"
|
||||
elif use neXt ; then
|
||||
einfo "Building gvim with the neXtaw GUI"
|
||||
myconf+=" --enable-gui=nextaw"
|
||||
else
|
||||
einfo "Building gvim with the Athena GUI"
|
||||
myconf+=" --enable-gui=athena"
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
# avoid finding of this function, to avoid having to patch either
|
||||
# configure or the source, which would be much more hackish.
|
||||
# after all vim does it right, only interix is badly broken (again)
|
||||
export ac_cv_func_sigaction=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-vim-name=gvim --with-x \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i -e 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i -e 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start
|
||||
# in vim for how this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../testvim nongui
|
||||
}
|
||||
|
||||
# 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
|
||||
}
|
@ -1,224 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.131.ebuild,v 1.1 2013/12/16 09:18:52 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r3.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
DEPEND="sys-devel/autoconf"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
@ -1,233 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.22.ebuild,v 1.1 2013/09/06 06:20:32 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r3.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
DEPEND="sys-devel/autoconf"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
|
||||
# Patches for vim-core only (runtime/*)
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/gentoo/patches-core/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Patch to build with ruby-1.8.0_pre5 and following
|
||||
sed -i 's/defout/stdout/g' "${S}"/src/if_ruby.c
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-features=tiny \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm \
|
||||
--disable-selinux \
|
||||
$(use_enable nls) \
|
||||
$(use_enable acl) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake tools
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dodir /usr/{bin,share/{man/man1,vim}}
|
||||
cd src || die "cd src failed"
|
||||
emake \
|
||||
installruntime \
|
||||
installmanlinks \
|
||||
installmacros \
|
||||
installtutor \
|
||||
installtutorbin \
|
||||
installtools \
|
||||
install-languages \
|
||||
install-icons \
|
||||
DESTDIR="${D}" \
|
||||
BINDIR="${EPREFIX}"/usr/bin \
|
||||
MANDIR="${EPREFIX}"/usr/share/man \
|
||||
DATADIR="${EPREFIX}"/usr/share
|
||||
|
||||
keepdir ${vimfiles}/keymap
|
||||
|
||||
# default vimrc is installed by vim-core since it applies to
|
||||
# both vim and gvim
|
||||
insinto /etc/vim/
|
||||
newins "${FILESDIR}"/vimrc-r4 vimrc
|
||||
eprefixify "${ED}"/etc/vim/vimrc
|
||||
|
||||
if use minimal ; then
|
||||
# To save space, install only a subset of the files.
|
||||
# Helps minimalize the livecd, bug 65144.
|
||||
eshopts_push -s extglob
|
||||
|
||||
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
|
||||
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
|
||||
rm "${ED}"/usr/bin/vimtutor
|
||||
|
||||
local keep_colors="default"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
||||
|
||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
||||
# tinkering with the next line might make bad things happen ...
|
||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
||||
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
# These files might have slight security issues, so we won't
|
||||
# install them. See bug #77841. We don't mind if these don't
|
||||
# exist.
|
||||
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
|
||||
|
||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
@ -1,224 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.94.ebuild,v 1.1 2013/11/19 10:19:19 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r3.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
DEPEND="sys-devel/autoconf"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# 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/app-editors/vim/vim-7.4.131.ebuild,v 1.1 2013/12/16 09:57:57 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.155.ebuild,v 1.1 2014/01/23 10:32:21 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
@ -1,368 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.22.ebuild,v 1.3 2013/10/07 05:36:14 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python ruby vim-pager"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua )
|
||||
)
|
||||
!minimal? (
|
||||
~app-editors/vim-core-${PV}
|
||||
dev-util/ctags
|
||||
)
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
|
||||
X? ( x11-libs/libXt )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
sys-devel/autoconf
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Patch to build with ruby-1.8.0_pre5 and following
|
||||
sed -i 's/defout/stdout/g' "${S}"/src/if_ruby.c
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager ; then
|
||||
cat <<-END > "${S}"/runtime/macros/manpager.sh
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
END
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
if use minimal ; then
|
||||
myconf="--with-features=tiny \
|
||||
--disable-nls \
|
||||
--disable-multibyte \
|
||||
--disable-acl \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-luainterp \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm"
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable gpm)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
myconf+=" $(use_enable lua luainterp)"
|
||||
myconf+=" $(use_with luajit)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
|
||||
# tclinterp is broken; when you --enable-tclinterp flag, then
|
||||
# the following command never returns:
|
||||
# VIMINIT='let OS=system("uname -s")' vim
|
||||
# mzscheme support is currently broken. bug #91970
|
||||
#myconf+=" $(use_enable mzscheme mzschemeinterp)"
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=" --enable-gui=no --disable-darwin $(use_with X x)"
|
||||
fi
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--disable-selinux \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i -e 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i -e 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../vim nongui \
|
||||
|| die "At least one test failed"
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
dosym vim /usr/bin/vimdiff
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||
insinto ${vimfiles}/macros
|
||||
doins runtime/macros/manpager.sh
|
||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
if use X ; then
|
||||
echo
|
||||
elog "The 'X' USE flag enables vim <-> X communication, like"
|
||||
elog "updating the xterm titlebar. It does not install a GUI."
|
||||
fi
|
||||
echo
|
||||
elog "To install a GUI version of vim, use the app-editors/gvim"
|
||||
elog "package."
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
echo
|
||||
|
||||
echo
|
||||
elog "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -1,368 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.41.ebuild,v 1.2 2013/10/07 05:36:14 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python ruby vim-pager"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua )
|
||||
)
|
||||
!minimal? (
|
||||
~app-editors/vim-core-${PV}
|
||||
dev-util/ctags
|
||||
)
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
|
||||
X? ( x11-libs/libXt )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
sys-devel/autoconf
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Patch to build with ruby-1.8.0_pre5 and following
|
||||
sed -i 's/defout/stdout/g' "${S}"/src/if_ruby.c
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager ; then
|
||||
cat <<-END > "${S}"/runtime/macros/manpager.sh
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
END
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
if use minimal ; then
|
||||
myconf="--with-features=tiny \
|
||||
--disable-nls \
|
||||
--disable-multibyte \
|
||||
--disable-acl \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-luainterp \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm"
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable gpm)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
myconf+=" $(use_enable lua luainterp)"
|
||||
myconf+=" $(use_with luajit)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
|
||||
# tclinterp is broken; when you --enable-tclinterp flag, then
|
||||
# the following command never returns:
|
||||
# VIMINIT='let OS=system("uname -s")' vim
|
||||
# mzscheme support is currently broken. bug #91970
|
||||
#myconf+=" $(use_enable mzscheme mzschemeinterp)"
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=" --enable-gui=no --disable-darwin $(use_with X x)"
|
||||
fi
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--disable-selinux \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i -e 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i -e 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../vim nongui \
|
||||
|| die "At least one test failed"
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
dosym vim /usr/bin/vimdiff
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||
insinto ${vimfiles}/macros
|
||||
doins runtime/macros/manpager.sh
|
||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
if use X ; then
|
||||
echo
|
||||
elog "The 'X' USE flag enables vim <-> X communication, like"
|
||||
elog "updating the xterm titlebar. It does not install a GUI."
|
||||
fi
|
||||
echo
|
||||
elog "To install a GUI version of vim, use the app-editors/gvim"
|
||||
elog "package."
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
echo
|
||||
|
||||
echo
|
||||
elog "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -1,364 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.94.ebuild,v 1.1 2013/11/19 10:25:01 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux tcl vim-pager"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua )
|
||||
)
|
||||
!minimal? (
|
||||
~app-editors/vim-core-${PV}
|
||||
dev-util/ctags
|
||||
)
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( 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 -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
if use minimal ; then
|
||||
myconf="--with-features=tiny \
|
||||
--disable-nls \
|
||||
--disable-multibyte \
|
||||
--disable-acl \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-luainterp \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-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 -e '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=" --enable-gui=no --disable-darwin $(use_with X x)"
|
||||
fi
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i -e 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i -e 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../vim nongui \
|
||||
|| die "At least one test failed"
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
dosym vim /usr/bin/vimdiff
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||
insinto ${vimfiles}/macros
|
||||
doins runtime/macros/manpager.sh
|
||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
if [[ -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,108 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.51.ebuild,v 1.1 2014/01/23 23:03:54 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-vm-2 eutils prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html"
|
||||
|
||||
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
|
||||
S_PV="$(replace_version_separator 3 '_')"
|
||||
|
||||
X86_AT="jre-${MY_PV}-linux-i586.tar.gz"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Runtime Environment (32bit)"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="${X86_AT}"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="+X alsa nsplugin pax_kernel"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
RDEPEND="
|
||||
X? ( app-emulation/emul-linux-x86-xlibs )
|
||||
alsa? ( app-emulation/emul-linux-x86-soundlibs )"
|
||||
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
|
||||
# marking. #427642
|
||||
DEPEND="
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
S="${WORKDIR}/jre${S_PV}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again."
|
||||
einfo ""
|
||||
einfo "Please download '${X86_AT}' from:"
|
||||
einfo "'${JRE_URI}'"
|
||||
einfo "and move it to '${DISTDIR}'"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
bin/java -client -Xshare:dump || die
|
||||
bin/java -server -Xshare:dump || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest}"
|
||||
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
rm -vf lib/i386/libjavaplugin_oji.so \
|
||||
lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf plugin/i386
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf lib/${arch}/libnpjp2.so \
|
||||
lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR bin lib man "${ddest}" || die
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir {} + || die
|
||||
|
||||
dodoc COPYRIGHT README
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${dest}"/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (${PN})#" \
|
||||
-e "s#Exec=.*#Exec=${dest}/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# http://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/lib/fontconfig.* || die
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
|
||||
java-vm_revdep-mask
|
||||
}
|
@ -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/app-emulation/emul-linux-x86-java/files/emul-linux-x86-java-1.7.env-r1,v 1.1 2014/01/23 23:03:54 tomwij Exp $
|
||||
|
||||
VERSION="Sun 32bit JRE @PV@"
|
||||
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
|
||||
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/javaws"
|
||||
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/javaws"
|
||||
LDPATH="${JAVA_HOME}/lib/i386/:${JAVA_HOME}/lib/i386/native_threads/:${JAVA_HOME}/lib/i386/xawt/:${JAVA_HOME}/lib/i386/server/"
|
||||
MANPATH="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
|
||||
PROVIDES_TYPE="JRE"
|
||||
PROVIDES_VERSION="1.7"
|
||||
# Taken from sun.boot.class.path property
|
||||
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar"
|
||||
GENERATION="2"
|
||||
ENV_VARS="JAVA_HOME JRE_HOME PATH ROOTPATH LDPATH MANPATH"
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/sphinx-2.0.10.ebuild,v 1.1 2014/01/24 07:41:29 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils autotools toolchain-funcs
|
||||
|
||||
#MY_P=${P/_/-}
|
||||
MY_P=${P}-release
|
||||
|
||||
# This has been added by Gentoo, to explicitly version libstemmer.
|
||||
# It is the date that http://snowball.tartarus.org/dist/libstemmer_c.tgz was
|
||||
# fetched.
|
||||
STEMMER_PV="20091122"
|
||||
DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
|
||||
HOMEPAGE="http://www.sphinxsearch.com/"
|
||||
SRC_URI="http://sphinxsearch.com/files/${MY_P}.tar.gz
|
||||
stemmer? ( mirror://gentoo/libstemmer_c-${STEMMER_PV}.tgz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE="debug id64 mysql odbc postgres stemmer test"
|
||||
|
||||
RDEPEND="mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
virtual/libiconv"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-lang/php )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
if use stemmer; then
|
||||
cd "${S}"
|
||||
unpack libstemmer_c-${STEMMER_PV}.tgz
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch
|
||||
|
||||
# drop nasty hardcoded search path breaking Prefix
|
||||
# We patch configure directly since otherwise we need to run
|
||||
# eautoreconf twice and that causes problems, bug 425380
|
||||
sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die
|
||||
|
||||
# Fix QA compilation warnings.
|
||||
sed -i -e '19i#include <string.h>' api/libsphinxclient/test.c || die
|
||||
|
||||
pushd api/libsphinxclient || die
|
||||
eautoreconf
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# fix libiconv detection
|
||||
use !elibc_glibc && export ac_cv_search_iconv=-liconv
|
||||
|
||||
econf \
|
||||
--sysconfdir="${EPREFIX}/etc/${PN}" \
|
||||
$(use_enable id64) \
|
||||
$(use_with debug) \
|
||||
$(use_with mysql) \
|
||||
$(use_with odbc unixodbc) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with stemmer libstemmer)
|
||||
|
||||
cd api/libsphinxclient || die
|
||||
econf STRIP=:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" || die "emake failed"
|
||||
|
||||
emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
elog "Tests require access to a live MySQL database and may require configuration."
|
||||
elog "You will find them in /usr/share/${PN}/test and they require dev-lang/php"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
|
||||
|
||||
dodoc doc/*
|
||||
|
||||
dodir /var/lib/sphinx
|
||||
dodir /var/log/sphinx
|
||||
|
||||
newinitd "${FILESDIR}"/searchd.rc searchd
|
||||
|
||||
if use test; then
|
||||
insinto /usr/share/${PN}
|
||||
doins -r test
|
||||
fi
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/sphinx-2.1.5.ebuild,v 1.1 2014/01/24 07:41:29 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils autotools toolchain-funcs
|
||||
|
||||
#MY_P=${P/_/-}
|
||||
MY_P=${P}-release
|
||||
|
||||
# This has been added by Gentoo, to explicitly version libstemmer.
|
||||
# It is the date that http://snowball.tartarus.org/dist/libstemmer_c.tgz was
|
||||
# fetched.
|
||||
#STEMMER_PV="20091122"
|
||||
DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
|
||||
HOMEPAGE="http://www.sphinxsearch.com/"
|
||||
SRC_URI="http://sphinxsearch.com/files/${MY_P}.tar.gz"
|
||||
# stemmer? ( mirror://gentoo/libstemmer_c-${STEMMER_PV}.tgz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE="debug id64 mysql odbc postgres stemmer syslog test xml"
|
||||
|
||||
RDEPEND="mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
stemmer? ( dev-libs/snowball-stemmer )
|
||||
xml? ( dev-libs/expat )
|
||||
virtual/libiconv"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch
|
||||
|
||||
# drop nasty hardcoded search path breaking Prefix
|
||||
# We patch configure directly since otherwise we need to run
|
||||
# eautoreconf twice and that causes problems, bug 425380
|
||||
sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die
|
||||
|
||||
# Fix QA compilation warnings.
|
||||
sed -i -e '19i#include <string.h>' api/libsphinxclient/test.c || die
|
||||
|
||||
pushd api/libsphinxclient || die
|
||||
eautoreconf
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# fix libiconv detection
|
||||
use !elibc_glibc && export ac_cv_search_iconv=-liconv
|
||||
|
||||
econf \
|
||||
--sysconfdir="${EPREFIX}/etc/${PN}" \
|
||||
$(use_enable id64) \
|
||||
$(use_with debug) \
|
||||
$(use_with mysql) \
|
||||
$(use_with odbc unixodbc) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with stemmer libstemmer) \
|
||||
$(use_with syslog syslog) \
|
||||
$(use_with xml libexpat )
|
||||
|
||||
cd api/libsphinxclient || die
|
||||
econf STRIP=:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" || die "emake failed"
|
||||
|
||||
emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
elog "Tests require access to a live MySQL database and may require configuration."
|
||||
elog "You will find them in /usr/share/${PN}/test and they require dev-lang/php"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
|
||||
|
||||
dodoc doc/*
|
||||
|
||||
dodir /var/lib/sphinx
|
||||
dodir /var/log/sphinx
|
||||
|
||||
newinitd "${FILESDIR}"/searchd.rc searchd
|
||||
|
||||
if use test; then
|
||||
insinto /usr/share/${PN}
|
||||
doins -r test
|
||||
fi
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/llpp-12.ebuild,v 1.7 2013/07/13 23:16:59 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="a graphical PDF viewer which aims to superficially resemble less(1)"
|
||||
HOMEPAGE="http://repo.or.cz/w/llpp.git"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-libs/freetype
|
||||
media-libs/jbig2dec
|
||||
media-libs/openjpeg:0
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-misc/xsel"
|
||||
DEPEND="${RDEPEND}
|
||||
<app-text/mupdf-1.1_rc1
|
||||
dev-lang/ocaml[ocamlopt]
|
||||
dev-ml/lablgl[glut]"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-11-WM_CLASS.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ocaml str.cma keystoml.ml < KEYS > help.ml || die
|
||||
printf 'let version ="%s";;\n' ${PV} >> help.ml || die
|
||||
|
||||
local myccopt="$(freetype-config --cflags) -O -include ft2build.h -D_GNU_SOURCE"
|
||||
local mycclib="-lfitz -lz -ljpeg -lopenjpeg -ljbig2dec -lfreetype -lX11 -lpthread"
|
||||
ocamlopt.opt -c -o link.o -ccopt "${myccopt}" link.c || die
|
||||
ocamlopt.opt -c -o help.cmx help.ml || die
|
||||
ocamlopt.opt -c -o wsi.cmi wsi.mli || die
|
||||
ocamlopt.opt -c -o wsi.cmx wsi.ml || die
|
||||
ocamlopt.opt -c -o parser.cmx parser.ml || die
|
||||
ocamlopt.opt -c -o main.cmx -I +lablGL main.ml || die
|
||||
ocamlopt.opt -o llpp -I +lablGL \
|
||||
str.cmxa unix.cmxa lablgl.cmxa link.o \
|
||||
-cclib "${mycclib}" help.cmx parser.cmx wsi.cmx main.cmx || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc KEYS README Thanks fixme
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/llpp-16.ebuild,v 1.1 2013/08/29 05:54:07 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="a graphical PDF viewer which aims to superficially resemble less(1)"
|
||||
HOMEPAGE="http://repo.or.cz/w/llpp.git"
|
||||
SRC_URI="http://repo.or.cz/w/llpp.git/snapshot/8855b8a50acf02257773469578c5ddaaf12eff9f.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+ocamlopt static"
|
||||
|
||||
LIB_DEPEND="~app-text/mupdf-1.3_pre20130704:=[static-libs]
|
||||
media-libs/openjpeg:2[static-libs]
|
||||
media-libs/freetype:2[static-libs]
|
||||
media-libs/jbig2dec[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
virtual/jpeg:0[static-libs]
|
||||
x11-libs/libX11[static-libs]"
|
||||
RDEPEND="x11-misc/xsel
|
||||
!static? ( ${LIB_DEPEND//\[static-libs]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND}
|
||||
app-arch/bzip2[static-libs]
|
||||
media-libs/libXcm[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libXmu[static-libs] )
|
||||
dev-lang/ocaml[ocamlopt?]
|
||||
dev-ml/lablgl[glut,ocamlopt?]"
|
||||
|
||||
RESTRICT="!ocamlopt? ( strip )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-11-WM_CLASS.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local ocaml=$(usex ocamlopt ocamlopt.opt ocamlc.opt)
|
||||
local cmo=$(usex ocamlopt cmx cmo)
|
||||
local cma=$(usex ocamlopt cmxa cma)
|
||||
local ccopt="$(freetype-config --cflags ) -O -include ft2build.h -D_GNU_SOURCE"
|
||||
if use static ; then
|
||||
local cclib=""
|
||||
local slib=""
|
||||
local spath=( ${EROOT}usr/$(get_libdir) $($(tc-getPKG_CONFIG) --libs-only-L --static mupdf x11 | sed 's:-L::g') )
|
||||
for slib in $($(tc-getPKG_CONFIG) --libs-only-l --static mupdf x11) -ljpeg -ljbig2dec ; do
|
||||
case ${slib} in
|
||||
-lm|-ldl|-lpthread)
|
||||
einfo "${slib}: shared"
|
||||
cclib+="${slib} " ;;
|
||||
*)
|
||||
local ccnew=$(find ${spath} -name "lib${slib/-l}.a")
|
||||
einfo "${slib}: use ${ccnew}"
|
||||
cclib+="${ccnew} " ;;
|
||||
esac
|
||||
done
|
||||
else
|
||||
local cclib="$($(tc-getPKG_CONFIG) --libs mupdf x11) -lpthread"
|
||||
fi
|
||||
|
||||
verbose() { echo "$@" >&2 ; "$@" || die ; }
|
||||
verbose ocaml str.cma keystoml.ml < KEYS > help.ml
|
||||
verbose printf 'let version ="%s";;\n' ${PV} >> help.ml
|
||||
verbose ${ocaml} -c -o link.o -ccopt "${ccopt}" link.c
|
||||
verbose ${ocaml} -c -o help.${cmo} help.ml
|
||||
verbose ${ocaml} -c -o utils.${cmo} utils.ml
|
||||
verbose ${ocaml} -c -o wsi.cmi wsi.mli
|
||||
verbose ${ocaml} -c -o wsi.${cmo} wsi.ml
|
||||
verbose ${ocaml} -c -o parser.${cmo} parser.ml
|
||||
verbose ${ocaml} -c -o main.${cmo} -I +lablGL main.ml
|
||||
verbose ${ocaml} $(usex ocamlopt "" -custom) -o llpp -I +lablGL\
|
||||
str.${cma} unix.${cma} lablgl.${cma} link.o \
|
||||
-cclib "${cclib}" \
|
||||
help.${cmo} utils.${cmo} parser.${cmo} wsi.${cmo} main.${cmo}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc KEYS README Thanks fixme
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/llpp-16_p20130828.ebuild,v 1.2 2013/08/30 06:28:59 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="a graphical PDF viewer which aims to superficially resemble less(1)"
|
||||
HOMEPAGE="http://repo.or.cz/w/llpp.git"
|
||||
#SRC_URI="http://repo.or.cz/w/llpp.git/snapshot/cf42fd2ff504f7479d708f9c5f2d8430b138575e.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="http://dev.gentoo.org/~xmw/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+ocamlopt static"
|
||||
|
||||
LIB_DEPEND="~app-text/mupdf-1.3_p20130828:=[static-libs]
|
||||
media-libs/openjpeg:2[static-libs]
|
||||
media-libs/freetype:2[static-libs]
|
||||
media-libs/jbig2dec[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
virtual/jpeg:0[static-libs]
|
||||
x11-libs/libX11[static-libs]"
|
||||
RDEPEND="x11-misc/xsel
|
||||
!static? ( ${LIB_DEPEND//\[static-libs]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND}
|
||||
app-arch/bzip2[static-libs]
|
||||
media-libs/libXcm[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libXmu[static-libs] )
|
||||
dev-lang/ocaml[ocamlopt?]
|
||||
dev-ml/lablgl[glut,ocamlopt?]"
|
||||
|
||||
RESTRICT="!ocamlopt? ( strip )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-11-WM_CLASS.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local ocaml=$(usex ocamlopt ocamlopt.opt ocamlc.opt)
|
||||
local cmo=$(usex ocamlopt cmx cmo)
|
||||
local cma=$(usex ocamlopt cmxa cma)
|
||||
local ccopt="$(freetype-config --cflags ) -O -include ft2build.h -D_GNU_SOURCE"
|
||||
if use static ; then
|
||||
local cclib=""
|
||||
local slib=""
|
||||
local spath=( ${EROOT}usr/$(get_libdir) $($(tc-getPKG_CONFIG) --libs-only-L --static mupdf x11 | sed 's:-L::g') )
|
||||
for slib in $($(tc-getPKG_CONFIG) --libs-only-l --static mupdf x11) -ljpeg -ljbig2dec ; do
|
||||
case ${slib} in
|
||||
-lm|-ldl|-lpthread)
|
||||
einfo "${slib}: shared"
|
||||
cclib+="${slib} " ;;
|
||||
*)
|
||||
local ccnew=$(find ${spath} -name "lib${slib/-l}.a")
|
||||
einfo "${slib}: use ${ccnew}"
|
||||
cclib+="${ccnew} " ;;
|
||||
esac
|
||||
done
|
||||
else
|
||||
local cclib="$($(tc-getPKG_CONFIG) --libs mupdf x11) -lpthread"
|
||||
fi
|
||||
|
||||
verbose() { echo "$@" >&2 ; "$@" || die ; }
|
||||
verbose ocaml str.cma keystoml.ml < KEYS > help.ml
|
||||
verbose printf 'let version ="%s";;\n' ${PV} >> help.ml
|
||||
verbose ${ocaml} -c -o link.o -ccopt "${ccopt}" link.c
|
||||
verbose ${ocaml} -c -o help.${cmo} help.ml
|
||||
verbose ${ocaml} -c -o utils.${cmo} utils.ml
|
||||
verbose ${ocaml} -c -o wsi.cmi wsi.mli
|
||||
verbose ${ocaml} -c -o wsi.${cmo} wsi.ml
|
||||
verbose ${ocaml} -c -o parser.${cmo} parser.ml
|
||||
verbose ${ocaml} -c -o main.${cmo} -I +lablGL main.ml
|
||||
verbose ${ocaml} $(usex ocamlopt "" -custom) -o llpp -I +lablGL\
|
||||
str.${cma} unix.${cma} lablgl.${cma} link.o \
|
||||
-cclib "${cclib}" \
|
||||
help.${cmo} utils.${cmo} parser.${cmo} wsi.${cmo} main.${cmo}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc KEYS README Thanks fixme
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.0.ebuild,v 1.11 2013/07/13 23:04:11 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="http://mupdf.com/"
|
||||
SRC_URI=" http://${PN}.googlecode.com/files/${P}-source.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X vanilla"
|
||||
|
||||
RDEPEND="media-libs/freetype:2
|
||||
media-libs/jbig2dec
|
||||
>=media-libs/openjpeg-1.5:0
|
||||
virtual/jpeg
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXext )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P}-source
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.1_rc1-buildsystem.patch \
|
||||
"${FILESDIR}"/${PN}-1.1_p20121127-desktop-integration.patch
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${P}-zoom.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use X || my_nox11="NOX11=yes MUPDF= "
|
||||
|
||||
emake CC="$(tc-getCC)" OS=Linux \
|
||||
build=debug verbose=true ${my_nox11} -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${ED}usr" libdir="${ED}usr/$(get_libdir)" \
|
||||
build=debug verbose=true ${my_nox11} install
|
||||
|
||||
insinto /usr/include
|
||||
doins pdf/mupdf{,-internal}.h
|
||||
doins fitz/fitz{,-internal}.h
|
||||
doins xps/muxps{,-internal}.h
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins debian/mupdf.pc
|
||||
|
||||
if use X ; then
|
||||
domenu debian/mupdf.desktop
|
||||
doicon debian/mupdf.xpm
|
||||
fi
|
||||
dodoc README doc/{example.c,overview.txt}
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.1.ebuild,v 1.9 2013/07/20 14:11:43 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="http://mupdf.com/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P/_rc/-rc}-source.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X vanilla"
|
||||
|
||||
RDEPEND="media-libs/freetype:2
|
||||
media-libs/jbig2dec
|
||||
>=media-libs/openjpeg-1.5:0
|
||||
virtual/jpeg
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXext )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P/_rc/-rc}-source
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.1_rc1-buildsystem.patch \
|
||||
"${FILESDIR}"/${PN}-1.1_p20121127-desktop-integration.patch
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${PN}-1.1_rc1-zoom-2.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use X || my_nox11="NOX11=yes MUPDF= "
|
||||
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" OS=Linux \
|
||||
build=debug verbose=true ${my_nox11}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${ED}usr" libdir="${ED}usr/$(get_libdir)" \
|
||||
build=debug verbose=true ${my_nox11} install
|
||||
|
||||
insinto /usr/include
|
||||
doins pdf/mupdf{,-internal}.h
|
||||
doins fitz/fitz{,-internal}.h
|
||||
doins xps/muxps{,-internal}.h
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins debian/mupdf.pc
|
||||
|
||||
if use X ; then
|
||||
domenu debian/mupdf.desktop
|
||||
doicon debian/mupdf.xpm
|
||||
fi
|
||||
dodoc README doc/{example.c,overview.txt}
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.3.ebuild,v 1.2 2013/08/28 22:26:18 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="http://mupdf.com/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}-source.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/1.3"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X vanilla static static-libs"
|
||||
|
||||
LIB_DEPEND="dev-libs/openssl[static-libs?]
|
||||
media-libs/freetype:2[static-libs?]
|
||||
media-libs/jbig2dec[static-libs?]
|
||||
media-libs/openjpeg:2[static-libs?]
|
||||
net-misc/curl[static-libs?]
|
||||
virtual/jpeg[static-libs?]
|
||||
X? ( x11-libs/libX11[static-libs?]
|
||||
x11-libs/libXext[static-libs?] )"
|
||||
RDEPEND="${LIB_DEPEND}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
static-libs? ( ${LIB_DEPEND} )
|
||||
static? ( ${LIB_DEPEND//?}
|
||||
app-arch/bzip2[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libxcb[static-libs] )"
|
||||
|
||||
S=${WORKDIR}/${P}-source
|
||||
|
||||
src_prepare() {
|
||||
rm -rf thirdparty || die
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-CFLAGS.patch \
|
||||
"${FILESDIR}"/${P}-openjpeg2.patch \
|
||||
"${FILESDIR}"/${P}-pkg-config.patch \
|
||||
"${FILESDIR}"/${P}-sys_curl.patch
|
||||
|
||||
sed -e "/^libdir=/s:/lib:/$(get_libdir):" \
|
||||
-e "/^prefix=/s:=.*:=${EROOR}/usr:" \
|
||||
-i platform/debian/${PN}.pc || die
|
||||
|
||||
use vanilla || epatch \
|
||||
"${FILESDIR}"/${P}-zoom-2.patch \
|
||||
"${FILESDIR}"/${P}-forward_back.patch
|
||||
|
||||
#http://bugs.ghostscript.com/show_bug.cgi?id=693467
|
||||
sed -e '/^\(Actions\|MimeType\)=/s:\(.*\):\1;:' \
|
||||
-i platform/debian/${PN}.desktop || die
|
||||
|
||||
sed -e "\$aOS = Linux" \
|
||||
-e "\$aCC = $(tc-getCC)" \
|
||||
-e "\$aLD = $(tc-getCC)" \
|
||||
-e "\$aAR = $(tc-getAR)" \
|
||||
-e "\$averbose = true" \
|
||||
-e "\$abuild = debug" \
|
||||
-e "\$aprefix = ${ED}usr" \
|
||||
-e "\$alibdir = ${ED}usr/$(get_libdir)" \
|
||||
-i Makerules || die
|
||||
|
||||
if ! use X ; then
|
||||
sed -e "\$aNOX11 = yes" \
|
||||
-i Makerules || die
|
||||
fi
|
||||
|
||||
if use static-libs || use static ; then
|
||||
cp -a "${S}" "${S}"-static || die
|
||||
#add missing Libs.private for xcb and freetype
|
||||
sed -e 's:\(pkg-config --libs\):\1 --static:' \
|
||||
-e '/^SYS_X11_LIBS = /s:\(.*\):\1 -lpthread:' \
|
||||
-e '/^SYS_FREETYPE_LIBS = /s:\(.*\):\1 -lbz2:' \
|
||||
-i "${S}"-static/Makerules || die
|
||||
fi
|
||||
|
||||
my_soname=libmupdf.so.1.2
|
||||
my_soname_js_none=libmupdf-js-none.so.1.2
|
||||
sed -e "\$a\$(MUPDF_LIB): \$(MUPDF_JS_NONE_LIB)" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname} -Wl,--no-undefined -o \$@ \$^ \$(MUPDF_JS_NONE_LIB) \$(LIBS)" \
|
||||
-e "/^MUPDF_LIB :=/s:=.*:= \$(OUT)/${my_soname}:" \
|
||||
-e "\$a\$(MUPDF_JS_NONE_LIB):" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname_js_none} -Wl,--no-undefined -o \$@ \$^ \$(LIBS)" \
|
||||
-e "/^MUPDF_JS_NONE_LIB :=/s:=.*:= \$(OUT)/${my_soname_js_none}:" \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake XCFLAGS="-fpic"
|
||||
use static-libs && \
|
||||
emake -C "${S}"-static build/debug/lib${PN}{,-js-none}.a
|
||||
use static && \
|
||||
emake -C "${S}"-static XLIBS="-static"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
domenu platform/debian/${PN}.desktop
|
||||
doicon platform/debian/${PN}.xpm
|
||||
else
|
||||
rm docs/man/${PN}.1
|
||||
fi
|
||||
|
||||
emake install
|
||||
dosym ${my_soname} /usr/$(get_libdir)/lib${PN}.so
|
||||
|
||||
use static-libs && \
|
||||
dolib.a "${S}"-static/build/debug/lib${PN}{,-js-none}.a
|
||||
if use static ; then
|
||||
dobin "${S}"-static/build/debug/mu{tool,draw}
|
||||
use X && dobin "${S}"-static/build/debug/${PN}-x11
|
||||
fi
|
||||
use X && dosym ${PN}-x11 /usr/bin/${PN}
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins platform/debian/${PN}.pc
|
||||
|
||||
dodoc README docs/*.{txt,c}
|
||||
}
|
@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.3_p20130828.ebuild,v 1.2 2013/11/21 16:42:44 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="http://mupdf.com/"
|
||||
SRC_URI="http://git.ghostscript.com/?p=mupdf.git;a=snapshot;h=d396b126c7ab5c241e0dc7ff0edd9942ad5dfdaa;sf=tgz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/1.3"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X vanilla static static-libs"
|
||||
|
||||
LIB_DEPEND="dev-libs/openssl[static-libs?]
|
||||
media-libs/freetype:2[static-libs?]
|
||||
media-libs/jbig2dec[static-libs?]
|
||||
media-libs/openjpeg:2[static-libs?]
|
||||
net-misc/curl[static-libs?]
|
||||
virtual/jpeg[static-libs?]
|
||||
X? ( x11-libs/libX11[static-libs?]
|
||||
x11-libs/libXext[static-libs?] )"
|
||||
RDEPEND="${LIB_DEPEND}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
static-libs? ( ${LIB_DEPEND} )
|
||||
static? ( ${LIB_DEPEND//?}
|
||||
app-arch/bzip2[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libxcb[static-libs] )"
|
||||
|
||||
src_prepare() {
|
||||
rm -rf thirdparty || die
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.3-CFLAGS.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-openjpeg2.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-pkg-config.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-sys_curl.patch
|
||||
|
||||
sed -e "/^libdir=/s:/lib:/$(get_libdir):" \
|
||||
-e "/^prefix=/s:=.*:=${EROOR}/usr:" \
|
||||
-i platform/debian/${PN}.pc || die
|
||||
|
||||
use vanilla || epatch \
|
||||
"${FILESDIR}"/${PN}-1.3-zoom-2.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-forward_back.patch
|
||||
|
||||
#http://bugs.ghostscript.com/show_bug.cgi?id=693467
|
||||
sed -e '/^\(Actions\|MimeType\)=/s:\(.*\):\1;:' \
|
||||
-i platform/debian/${PN}.desktop || die
|
||||
|
||||
sed -e "\$aOS = Linux" \
|
||||
-e "\$aCC = $(tc-getCC)" \
|
||||
-e "\$aLD = $(tc-getCC)" \
|
||||
-e "\$aAR = $(tc-getAR)" \
|
||||
-e "\$averbose = true" \
|
||||
-e "\$abuild = debug" \
|
||||
-e "\$aprefix = ${ED}usr" \
|
||||
-e "\$alibdir = ${ED}usr/$(get_libdir)" \
|
||||
-i Makerules || die
|
||||
|
||||
if ! use X ; then
|
||||
sed -e "\$aNOX11 = yes" \
|
||||
-i Makerules || die
|
||||
fi
|
||||
|
||||
if use static-libs || use static ; then
|
||||
cp -a "${S}" "${S}"-static || die
|
||||
#add missing Libs.private for xcb and freetype
|
||||
sed -e 's:\(pkg-config --libs\):\1 --static:' \
|
||||
-e '/^SYS_X11_LIBS = /s:\(.*\):\1 -lpthread:' \
|
||||
-e '/^SYS_FREETYPE_LIBS = /s:\(.*\):\1 -lbz2:' \
|
||||
-i "${S}"-static/Makerules || die
|
||||
fi
|
||||
|
||||
my_soname=libmupdf.so.1.2
|
||||
my_soname_js_none=libmupdf-js-none.so.1.2
|
||||
sed -e "\$a\$(MUPDF_LIB): \$(MUPDF_JS_NONE_LIB)" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname} -Wl,--no-undefined -o \$@ \$^ \$(MUPDF_JS_NONE_LIB) \$(LIBS)" \
|
||||
-e "/^MUPDF_LIB :=/s:=.*:= \$(OUT)/${my_soname}:" \
|
||||
-e "\$a\$(MUPDF_JS_NONE_LIB):" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname_js_none} -Wl,--no-undefined -o \$@ \$^ \$(LIBS)" \
|
||||
-e "/^MUPDF_JS_NONE_LIB :=/s:=.*:= \$(OUT)/${my_soname_js_none}:" \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake XCFLAGS="-fpic"
|
||||
use static-libs && \
|
||||
emake -C "${S}"-static build/debug/lib${PN}{,-js-none}.a
|
||||
use static && \
|
||||
emake -C "${S}"-static XLIBS="-static"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
domenu platform/debian/${PN}.desktop
|
||||
doicon platform/debian/${PN}.xpm
|
||||
else
|
||||
rm docs/man/${PN}.1
|
||||
fi
|
||||
|
||||
emake install
|
||||
dosym ${my_soname} /usr/$(get_libdir)/lib${PN}.so
|
||||
|
||||
use static-libs && \
|
||||
dolib.a "${S}"-static/build/debug/lib${PN}{,-js-none}.a
|
||||
if use static ; then
|
||||
dobin "${S}"-static/build/debug/mu{tool,draw}
|
||||
use X && dobin "${S}"-static/build/debug/${PN}-x11
|
||||
fi
|
||||
use X && dosym ${PN}-x11 /usr/bin/${PN}
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins platform/debian/${PN}.pc
|
||||
|
||||
dodoc README docs/*.{txt,c}
|
||||
}
|
@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.3_pre20130704.ebuild,v 1.1 2013/08/28 22:26:18 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="http://mupdf.com/"
|
||||
SRC_URI="http://git.ghostscript.com/?p=mupdf.git;a=snapshot;h=ac84904af638b243284e24d5f401c3f1a21cb0ef;sf=tgz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/1.3"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X vanilla static static-libs"
|
||||
|
||||
LIB_DEPEND="dev-libs/openssl[static-libs?]
|
||||
media-libs/freetype:2[static-libs?]
|
||||
media-libs/jbig2dec[static-libs?]
|
||||
media-libs/openjpeg:2[static-libs?]
|
||||
net-misc/curl[static-libs?]
|
||||
virtual/jpeg[static-libs?]
|
||||
X? ( x11-libs/libX11[static-libs?]
|
||||
x11-libs/libXext[static-libs?] )"
|
||||
RDEPEND="${LIB_DEPEND}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
static-libs? ( ${LIB_DEPEND} )
|
||||
static? ( ${LIB_DEPEND//?}
|
||||
app-arch/bzip2[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libxcb[static-libs] )"
|
||||
|
||||
src_prepare() {
|
||||
rm -rf thirdparty || die
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.3-CFLAGS.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-openjpeg2.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-pkg-config.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-sys_curl.patch
|
||||
|
||||
sed -e "/^libdir=/s:/lib:/$(get_libdir):" \
|
||||
-e "/^prefix=/s:=.*:=${EROOR}/usr:" \
|
||||
-i platform/debian/${PN}.pc || die
|
||||
|
||||
use vanilla || epatch \
|
||||
"${FILESDIR}"/${PN}-1.3-zoom-2.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-forward_back.patch
|
||||
|
||||
#http://bugs.ghostscript.com/show_bug.cgi?id=693467
|
||||
sed -e '/^\(Actions\|MimeType\)=/s:\(.*\):\1;:' \
|
||||
-i platform/debian/${PN}.desktop || die
|
||||
|
||||
sed -e "\$aOS = Linux" \
|
||||
-e "\$aCC = $(tc-getCC)" \
|
||||
-e "\$aLD = $(tc-getCC)" \
|
||||
-e "\$aAR = $(tc-getAR)" \
|
||||
-e "\$averbose = true" \
|
||||
-e "\$abuild = debug" \
|
||||
-e "\$aprefix = ${ED}usr" \
|
||||
-e "\$alibdir = ${ED}usr/$(get_libdir)" \
|
||||
-i Makerules || die
|
||||
|
||||
if ! use X ; then
|
||||
sed -e "\$aNOX11 = yes" \
|
||||
-i Makerules || die
|
||||
fi
|
||||
|
||||
if use static-libs || use static ; then
|
||||
cp -a "${S}" "${S}"-static || die
|
||||
#add missing Libs.private for xcb and freetype
|
||||
sed -e 's:\(pkg-config --libs\):\1 --static:' \
|
||||
-e '/^SYS_X11_LIBS = /s:\(.*\):\1 -lpthread:' \
|
||||
-e '/^SYS_FREETYPE_LIBS = /s:\(.*\):\1 -lbz2:' \
|
||||
-i "${S}"-static/Makerules || die
|
||||
fi
|
||||
|
||||
my_soname=libmupdf.so.1.2
|
||||
my_soname_js_none=libmupdf-js-none.so.1.2
|
||||
sed -e "\$a\$(MUPDF_LIB): \$(MUPDF_JS_NONE_LIB)" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname} -Wl,--no-undefined -o \$@ \$^ \$(MUPDF_JS_NONE_LIB) \$(LIBS)" \
|
||||
-e "/^MUPDF_LIB :=/s:=.*:= \$(OUT)/${my_soname}:" \
|
||||
-e "\$a\$(MUPDF_JS_NONE_LIB):" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname_js_none} -Wl,--no-undefined -o \$@ \$^ \$(LIBS)" \
|
||||
-e "/^MUPDF_JS_NONE_LIB :=/s:=.*:= \$(OUT)/${my_soname_js_none}:" \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake XCFLAGS="-fpic"
|
||||
use static-libs && \
|
||||
emake -C "${S}"-static build/debug/lib${PN}{,-js-none}.a
|
||||
use static && \
|
||||
emake -C "${S}"-static XLIBS="-static"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
domenu platform/debian/${PN}.desktop
|
||||
doicon platform/debian/${PN}.xpm
|
||||
else
|
||||
rm docs/man/${PN}.1
|
||||
fi
|
||||
|
||||
emake install
|
||||
dosym ${my_soname} /usr/$(get_libdir)/lib${PN}.so
|
||||
|
||||
use static-libs && \
|
||||
dolib.a "${S}"-static/build/debug/lib${PN}{,-js-none}.a
|
||||
if use static ; then
|
||||
dobin "${S}"-static/build/debug/mu{tool,draw}
|
||||
use X && dobin "${S}"-static/build/debug/${PN}-x11
|
||||
fi
|
||||
use X && dosym ${PN}-x11 /usr/bin/${PN}
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins platform/debian/${PN}.pc
|
||||
|
||||
dodoc README docs/*.{txt,c}
|
||||
}
|
@ -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/app-vim/tcomment/tcomment-3.00.ebuild,v 1.1 2014/01/23 07:19:51 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="tcomment_vim"
|
||||
DESCRIPTION="vim plugin: an extensible and universal comment toggler"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1173 https://github.com/tomtom/tcomment_vim"
|
||||
SRC_URI="https://github.com/tomtom/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rm -r README spec addon* || die
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST bcm2835-1.30.tar.gz 233707 SHA256 7bc9744901a0c704418ac7f20caa2c0cc406946b27ba7f9568159cb10c574635 SHA512 d10a5b489f3d68fde4e97a1e3821e94b9e23722dffee5eabeaa473319e75f7b3ebe2a66530962a6f50841c90d4432f42ea9128d9e3208a069dca51f1a76da04a WHIRLPOOL 4da22892354271e3e1c53caf4a47f479bf815d5e3c8eebf84eeba9c1a436e78edbaf0cadf9f3eaaa3625bd27619daef8ed5d7170ca389ba5cd8074c8956c5477
|
||||
EBUILD bcm2835-1.30.ebuild 652 SHA256 7d78f4d8c19d80c80b8e659c114d4e73ea10b2d43a147a90441595e9a435317d SHA512 e7323460771ec29e92d9cdb13ab50a13624527a7a44c774b1467d883e9f517a69890b70512fd830f20abcc0f61e664cc421f0645c0d9b9fc34ad51a82494f16d WHIRLPOOL cf4a93d0d21e93119352509e11279b81f641b1f07e81d67ec1f41f2fb55f798446700f0b46dbd1b79a7b9ac183ccaaeed33e30197232e5154a7003f4ccac160d
|
||||
MISC ChangeLog 1960 SHA256 f6f8ac700ff98adfb0c6b8788e1f45e5cea9fbaa6b70e95c0a499748e439ef09 SHA512 322d09b4657cebf9b9daf569190b512685f029b3ef0a10c3742f1114caa76cf30f753d3572ee8862c9289d7d1b740a159c6aea8501cad7046025796e59921b73 WHIRLPOOL ed3865fd17c86462ddd73961e717fb4d97235b2ace6ff1f9455d84a8ee6305ae8b71ae438922e0b451c483903b37fc2bab9bcac17d5bc77bedccaaa40d10b4d7
|
||||
DIST bcm2835-1.36.tar.gz 239641 SHA256 b4dfcdb453d44ba9ff55634ce7e0ddca21b96355ab61e40b4c3afb9406d4b8d2 SHA512 10958a1d4e362c791b26e88e013814063dfc0975d125cf2b6eac3e94247ad3859d7142a99ad7d04f59be8eaaf008d8ee060f184a1ed7a4d6cbe24a5e76783cb9 WHIRLPOOL 2c76ea7a1f7cfabce1971d26d7dded3d70c88e188e6c9ea400ced8c973648c3cf9efee430c38073190fa7c80b0ddb5e2fb7e185bc8da05873fc4eebb8f763470
|
||||
EBUILD bcm2835-1.36.ebuild 652 SHA256 268bea821e32416a320cf9566a2f67cfab75d8576fc813fce9e7cedcad1822cc SHA512 4968f5a360b929a7d3cdd1a326855a5db42e303b926d38bb035e9dab470a31f2a86ebd950cb08996f22162bd658d4d0a4e94781d1c56d3479f7860cecc34f11e WHIRLPOOL 0a37136daf00be882071f412e47d7b47a5c6e810ffaa32348c2fee653c1dcf488e13714767b3afc4b34c5e77409783f3ff32e0c4092049309e2f730e859a9186
|
||||
MISC ChangeLog 2121 SHA256 b1316da9de9dce22f12bbd8b3c6c70b6d54ca8f92e790b49ac0e40663b401dee SHA512 aafa2617b922aa7de731c9c130bc700e1a0d73223d66784dbf678ad9f9d96059b83d391d36148496ed2478035454d551bbcef8f8607424bd4d017a17243a333f WHIRLPOOL 89f0628fbe4c9d5c748079dbc5938146953cd926f7f2ef2ad31d207d41ae82d62ffda880ea5240eef82616ad1aa6c5c55e87e743b7754834dd4fbd6f4b41d0f3
|
||||
MISC metadata.xml 253 SHA256 2033971042ce53f0af10bdc9f59bd2aba7b8490f0eafbca62a9e8ffd49d23c5d SHA512 cd887d2863b319dabf8598d349740e8d2223a03b0432157a421933a1a98b6140ad4b56f4750244da7d2545b56fb59567aae00d1e822e7cd90d3cb2b3d464ef01 WHIRLPOOL 95f9871ded20192d86cd4dc49f4471d0ddc884bc804980bcbedc6c4d1f90ebc25e30231dd2a56e8e5a33762cf3f660250934b1299042956d6eba74a7b6d9c81b
|
||||
|
@ -1,6 +1,6 @@
|
||||
# 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-libs/bcm2835/bcm2835-1.30.ebuild,v 1.1 2013/10/22 11:39:40 chithanh Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/bcm2835/bcm2835-1.36.ebuild,v 1.1 2014/01/23 13:05:57 chithanh Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cxxtools/cxxtools-2.0.ebuild,v 1.1 2011/01/19 19:01:30 hd_brummy Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Collection of general purpose C++-classes"
|
||||
HOMEPAGE="http://www.tntnet.org/cxxtools.hms"
|
||||
SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/libiconv"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cxxtools/cxxtools-2.1.1.ebuild,v 1.1 2012/06/04 16:31:13 idl0r Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Collection of general purpose C++-classes"
|
||||
HOMEPAGE="http://www.tntnet.org/cxxtools.hms"
|
||||
SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/libiconv"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--disable-demos \
|
||||
--disable-unittest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cxxtools/cxxtools-2.2.ebuild,v 1.2 2014/01/20 19:12:33 hd_brummy Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Collection of general purpose C++-classes"
|
||||
HOMEPAGE="http://www.tntnet.org/cxxtools.hms"
|
||||
SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/libiconv"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--disable-demos \
|
||||
--disable-unittest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog
|
||||
}
|
@ -1,18 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
DIST libbsd-0.6.0.tar.xz 313388 SHA256 9e8f34ffa9c8579c87965a55a82d8ac37a1dc64858f717b7c49452ade277cc62 SHA512 d750ead28e76938ab8d9c5575c1c87bcf275754f9f82b19d647f522bfaf07e5a85dc47ed5faae093994e5456be806fdebb55eeeed74efff3c950dfb6142e2b5c WHIRLPOOL 76a750d4960fe58a49d4789227ad6aaf12455328f15919887fdda877902e108d38b2c64d468269c7738b39a3b564b9198ab737d4bae4ae3408ae108d48dc87b5
|
||||
EBUILD libbsd-0.6.0.ebuild 1097 SHA256 d7ae6aeb9d4e8ce8afe674fc465f7c468a81629622c920a5cb35ab4e6a8ce5ba SHA512 666a24e07b1607b92adb2f7410ed3f21a38dbbf58085ef2bce461717be978e4d284da6da79149791ccf146ca075cc86f42ceff93233b4a1821edc284781a4073 WHIRLPOOL 67b7a89700bce66284444021b6d090bcf41011453566ece2c9fe99fe79b57fa19c3b96c02b8ff3346b2f62366a54998da4f9aea70e94fadae957936377bb259e
|
||||
MISC ChangeLog 2899 SHA256 6533cecb548e4edbf1362dcef34a44b4be46c20848926acf5a3b565edc12a34a SHA512 eb828c7fe4dce511d02c6347b4be3bae820265daa74efd74652d753f5bea2057d483dc321aa909ee773672b04cf158ccc7d60bde8e0026ee3d62d35aa9a93846 WHIRLPOOL 6f9d549dfeaac7e10d20f198fe9f5f9106bd526b44cd0df0ababe4a69aff187d4a5fb8d8ea54c6ff33131c16f0c08b5a89a9b6f91676247a8e67223821c34993
|
||||
EBUILD libbsd-0.6.0.ebuild 1108 SHA256 65c6c756d134114a301d08dc99cb08525a9d2028686a1e178745c9af80cedb4d SHA512 4397d6a51d95e314bfe34fcb4aaa3a9a3e4f2f3660a118d21e8695b50c77fb26cb8a5c671251c215411f94e7284668a8032c445c3886fa305d814bea462b15c7 WHIRLPOOL 6231b481f02d14b08da5fb69f49a03842d13f5a4762d167fefc30aba7a9265c9a2839db2e3421d5c1c91d25e68980708684b4d7842f471dcfeeee2d16a5e7b11
|
||||
MISC ChangeLog 2985 SHA256 ef01173ebe9170e4126a6c7ce61b848d9e1913e950fa5a75e1f7a7ef45c30dfa SHA512 10623e2e659c4b7fb60c78ca1e94d4ca973b97c1e0e482fae4ba01df1d0f1af97bbc7412ada8ad316fee6817358b93436d1cd29af1eb43a75abeafc7d000778b WHIRLPOOL d0a9c6036b5c85b1210af539cd15d8bbb3d9cee59156281d077f4c157b20bba0fc1ed0844f9cf315ad18904a3e672a27afd6453f1dafeb8a84a96a717de83a5a
|
||||
MISC metadata.xml 166 SHA256 a4f7a9f8f89d2da4f8d0c2d6acdacc96c38d4c076d23d8b2081f2a149ff15a56 SHA512 e83280bba00e234b1be03fa85705f2085efb89dcd5a37e27b8357542080c28a3ddbcf326acb81494370fe0b12fe9f82541f8947ed289f05612c29c7c08c363c2 WHIRLPOOL 706c229f08da0750da9b5b8b642adf687ab31aee0b53e97b54dc678dec72162dbacbf3ed6ad9ef8c97897cec050a74b7153339133f8fe35063e5febd87b7d121
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJSCYvlAAoJEEdUh39IaPFNvtwH/Au1XmwPEYlksqDHt+vTP4Hw
|
||||
v8cMMby2tdzopbCic5IMwSFMgMcoy/6rSVo0V6hZcI1hwyqO3FFgL0niWXFEmJCr
|
||||
TS53j6OQTy8mFyGhZkxcrk2/Ll147IrbTHLaqw8Emp+afxKW8IL4eXfczWYzpTNX
|
||||
r+39ntTiGcccD0l3jAimaclt8C6sXSuZog1A2k115B04CqitfxutiWY5X8ntRjWN
|
||||
GPu5Ohl6WqD9jOB96yrM58hTdsWsqUXqoE/g/WGjp2GmJOmo4JUE5Ekie/iFDQ5m
|
||||
KrjAoKQo2NpDEw5iiJTscFQrfMENzJkaeE7h5M3CZuCZ5EsB6MtgUnTBlJ9CZWI=
|
||||
=xpBF
|
||||
iQIcBAEBCgAGBQJS4WS6AAoJEKXdFCfdEflK7wUQAIsoTnSKN5vFDzCF6/arNNce
|
||||
Co4nMsOj+wWsspOaQcCzWrWk3B/4NJFY2TfQPUcrr1/prq2c5lfwdvcxjGk3ulQB
|
||||
hi2841TCxbh+zhpTG3GwDKe6Q1rqhYp/kSuMEakmHPsbVHJC/sQiI8ZrFB62VWmi
|
||||
uwkruNchK//zOQkh/iZWUG44yuPnqszV+9Ma3P5bfZ8gKz8UmVlp2Ho12r9648PT
|
||||
UbHRkRhqnOCmvfxvBBFs4DzntVXm2ZRpZQya652qT41tKNQZ5ieqm7/1El1hVMCk
|
||||
Hisy2HyS00WApa2USvtjfx/E0c+KhFD0+RGh/8cK9ZT6m51gTTmkpvYVmpOvr6n4
|
||||
bVQ7HmkemK+zM7ZaYuWqFDkUagFhpspwVJUf7x7G0/tQw7JUtvpStZ27AH1BUQLo
|
||||
DHxq4bZAB9cb8ljO83x5yeDSZ4HPavvp4lwWzY7U8SRnerC96Hrqd/cG92xwL49y
|
||||
3/aq3mYgliEZJPHTpYkUkrreBIZwadMVMW2KG/u94tJ8eS4e6pO396KBHLZQ+LF3
|
||||
OCwApLd+C4Zq20wWlO8tOM3gMVDefMkCCpRdzY5+ymLopk0QoSB5rQ0hVxPXMFbI
|
||||
z9itPvpcR3Yblwbyj7GSV4NjgTQI8N0ew0vkTYlMndA3RK9Ek4haUWL+mitfKbAm
|
||||
yvvWkpn/tz4kVnEn4cgh
|
||||
=xVsq
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/tntnet-2.2.1.ebuild,v 1.1 2014/01/23 21:05:00 hd_brummy Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Modular, multithreaded webapplicationserver extensible with C++"
|
||||
HOMEPAGE="http://www.tntnet.org/"
|
||||
SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE="doc gnutls server ssl examples"
|
||||
|
||||
RDEPEND=">=dev-libs/cxxtools-2.2.1
|
||||
sys-libs/zlib[minizip]
|
||||
ssl? (
|
||||
gnutls? (
|
||||
>=net-libs/gnutls-1.2.0
|
||||
dev-libs/libgcrypt
|
||||
)
|
||||
!gnutls? ( dev-libs/openssl )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
examples? ( app-arch/zip )"
|
||||
|
||||
src_prepare() {
|
||||
# Both fixed in the next release
|
||||
epatch "${FILESDIR}"/${PN}-2.0-zlib-minizip.patch
|
||||
rm framework/common/{ioapi,unzip}.[ch] || die
|
||||
|
||||
eautoreconf
|
||||
|
||||
sed -i -e 's:@localstatedir@:/var:' etc/tntnet/tntnet.xml.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
# Prefer gnutls above SSL
|
||||
if use gnutls; then
|
||||
einfo "Using gnutls for ssl support."
|
||||
myconf="${myconf} --with-ssl=gnutls"
|
||||
elif use ssl; then
|
||||
einfo "Using openssl for ssl support."
|
||||
myconf="${myconf} --with-ssl=openssl"
|
||||
else
|
||||
myconf="${myconf} --with-ssl=no"
|
||||
fi
|
||||
|
||||
# default enabled, will not compile without sdk
|
||||
myconf="${myconf} --with-sdk"
|
||||
|
||||
econf \
|
||||
$(use_with server) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
if use doc; then
|
||||
dodoc doc/*.pdf || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cd "${S}/sdk/demos"
|
||||
emake clean
|
||||
rm -rf .deps */.deps .libs */.libs
|
||||
cd "${S}"
|
||||
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r sdk/demos/* || die
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
rm -f "${D}/etc/init.d/tntnet"
|
||||
newinitd "${FILESDIR}/tntnet.initd" tntnet
|
||||
fi
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MARC-XML/MARC-XML-0.930.0.ebuild,v 1.1 2011/08/30 11:11:51 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=GMCHARLT
|
||||
MODULE_VERSION=0.93
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A subclass of MARC.pm to provide XML support"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/XML-SAX
|
||||
dev-perl/MARC-Charset
|
||||
dev-perl/MARC-Record"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST=do
|
@ -1,11 +1,11 @@
|
||||
# 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/MARC-XML/MARC-XML-1.000.100.ebuild,v 1.1 2013/08/25 10:20:03 patrick Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MARC-XML/MARC-XML-1.000.300.ebuild,v 1.1 2014/01/23 17:15:46 zlogene Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=GMCHARLT
|
||||
MODULE_VERSION=1.0.1
|
||||
MODULE_VERSION=1.0.3
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A subclass of MARC.pm to provide XML support"
|
@ -1,6 +1,16 @@
|
||||
DIST MARC-XML-0.93.tar.gz 16260 SHA256 897c256f4a4231a7d9ce54dd5924f7b291c07ed5e77fcac0cae3dcc9681421bd SHA512 3275a69eaffc57d0fd521182d73148fdc87620f1d11173170605a8d7a1c1ee88e18533137098e09bbf66e503ed32eb986d2c3c39749ed6a80c6cfe01730b642e WHIRLPOOL 84032a4ea7aa030f0c398f0a82cefff7b00fe6d5dd14377eb36f3651476034bb144b55c384f5c6dc8d32f3b984bdc8205206ea5f36d42952e19bf799fef4b8b4
|
||||
DIST MARC-XML-1.0.1.tar.gz 16655 SHA256 1506701b9dab87670ca5b3fe62933c4ab4f345eb828c6682d0adccd69e4841b1 SHA512 bb55faf8d199a8a7c501ef40d90c6359550b1e3f06d544c9f0239f86c7efca861c6824634710f24eaf6f0cdc5177884c792abaee16b65a5e0edcc4a351799d49 WHIRLPOOL 0fc40f4fdc65b30791259f0895236cd9f739efc934715b68d8bcf0d469349aab78c3d76ffe3e707c28f3426527c47bdd63ebebdfa1a065ec3bd544fa1f182a6f
|
||||
EBUILD MARC-XML-0.930.0.ebuild 505 SHA256 feff60c679013e1f23f63e712f75713f9290250394856c5b85bdb500c651e673 SHA512 9295bf4bea1ccc7cd6045d8a3c4959777818b47731263c85dc740a76aa313d8b6c9d28b67ef1534fc3528d69b6dbc7ea3aa39c7e98565b41fab17c291a39ddb0 WHIRLPOOL 8957b70be966e68c29f66f6ab56e6cde6914c8f2eee2730c1f3e4374c7594856e3267629ae344aa0136b2ab846fd09675cbadaf4541cfeead206928cd27cc4a2
|
||||
EBUILD MARC-XML-1.000.100.ebuild 532 SHA256 202a69ff6a0241e4745fe86dacb56d19002985780349f49d160562b8bc13d908 SHA512 da34bb4f702829bf09f734c5255f19a8197759267da48b684810c472bcf532ae228fc87718b768fb7285bb3976b88e0c006c9d5ec0500ed3e3f975645c4e7f82 WHIRLPOOL e37ef2b2a82abe801a5d213a25b8b64cd9574852aa29033f457dfec38bbe3c71d4355fcf49bf384b6b9ae49ce1fde1225ee9aa5583ba0d75da2c808880dada23
|
||||
MISC ChangeLog 1424 SHA256 da13bb2917714a5748e9e876be7e5fb8fe4d906181805ddb25ccc9158e910d53 SHA512 e1a36acad316849cf8a94c35280cc86ad0b81b8098c809af3f224199dc767ead7e79e4f0b06341859ad3ddb79f10ae3ce1f9fd284c45f47fcf73f4596a78b93e WHIRLPOOL 45cf28dc737829427dfaa9d698d1372e13de5243dfffe5a3f238f8b288012ef893430dedb58eb50ad35a6931cfa7a726c62f16414a69e9a0a270025d3b3e017a
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST MARC-XML-1.0.3.tar.gz 18204 SHA256 0f5f2a99a9850f30812cb06807b43b3e27999d92e4ca64903b2a8b8587df6c5f SHA512 a460388c92ac8c6c285b40d1ec2cfc4d86177c9a35854a8da17ac16349f952af37f57e00fce4091546f8225757addd1ee4c16862334c6d59b712395b284661a9 WHIRLPOOL 62d3a7ce54ddce853c460cd52687739135a71be9ef2ee64776af6912aa5f2611a81a89bdd82b654749ca1c56f91ff7159fbefd1b12a0a10eee57d626581224e2
|
||||
EBUILD MARC-XML-1.000.300.ebuild 532 SHA256 39b1cf0377771d21dd3d4938d6d6dfe332333bf5aa7bf8c0a4defa274755eb47 SHA512 7f5afd31ba0fdc724ddd225e67b92985313ebbf37ca1e6e05be600990f3101d58930caff07f62ebd0590ef0fc3435f70bcbdb2d421f2f1c83f7a106675da7857 WHIRLPOOL 471c9ed1bbe714ff731717a9a8fd4e25f68e487f474f7edb3f6a024d521813781c45a763a1f6996064a861a109751a6efefd198d89961bce8a38910684a73db2
|
||||
MISC ChangeLog 1637 SHA256 3d617e44c2419d324172c58ac1aabbbab4459a68e0763be6af89d20798decb0e SHA512 78fd4ba2c7863cec22731bb25c8ad84933831b4a897caae35ba0f446a835305543edf7f77af6ba1605f162a53e9dc29ea198bf4da037899f2f70965e2b30c754 WHIRLPOOL 3eca77a1fb8c60b3b67c6618633d73155187d75d5704c701c065b51334c2eafcf809339d563845bd4d07f9f885726102395a86b7847983d0f6038bd47efa5423
|
||||
MISC metadata.xml 358 SHA256 84e5bbe0f964dfb0104c4ec0121f4ca411bbe6678f97229426afe44214076c87 SHA512 e5521b752c3f9a25fb7d666e1f67aa0c049447c174c893a4d264c26b8b11db62cdbf97c6ef27a2423499fcaae12b8dd8f5b49699b57a1117a62e3e4d7d6e7040 WHIRLPOOL 42654b6f918aeaf6197559e7be315a39dd7766310b8f35b007125c225cf279dcacc47de0824ca842034634cb6d81d1e32b049b8fc4505c8c2e3a9bc8f56c550e
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlLhT6QACgkQG9wOWsQutdZnIwP/WGOj6rj/SJtwq3vlPYxY0W49
|
||||
tqfKYe+2niH4v0gapGVhj+gpyf3wRxz4w5hzKQwWAdTeh6M3ZabgDBANJcBV818K
|
||||
sfinv3c6rbsOa8fGo4WQXzR9CEeXZNEnZmVVllYdyDbnxn3wNZ6yUldlQSBXKPOJ
|
||||
pVR9j6mlIWqB2BCwSOY=
|
||||
=7IpG
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue