parent
00d2be4372
commit
c60ca22e20
@ -0,0 +1,13 @@
|
||||
# ChangeLog for app-admin/cgmanager
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/cgmanager/ChangeLog,v 1.2 2015/02/07 11:43:21 hwoarang Exp $
|
||||
|
||||
07 Feb 2015; Markos Chandras <hwoarang@gentoo.org> cgmanager-0.35.ebuild:
|
||||
Use correct license (LGPL-2.1)
|
||||
|
||||
*cgmanager-0.35 (07 Feb 2015)
|
||||
|
||||
07 Feb 2015; Markos Chandras <hwoarang@gentoo.org> +cgmanager-0.35.ebuild,
|
||||
+files/cgmanager.initd, +files/cgproxy.initd, +metadata.xml:
|
||||
Initial commit of cgmanager. Thanks to Fabian Henze and Yixun Lan on bug
|
||||
#524846
|
@ -0,0 +1,28 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX cgmanager.initd 629 SHA256 fcba9984e97a08110d8604fd5013bfb434ff5bc1b94d7579fa5969b928b07d4e SHA512 2633dab4c55aae26d6e7fa3b827f823f21b0553a1f5a087f01b558dc20e26b2c6f5ed9eaf8b130f34e6f10b6aff5474e8b31c157db06c66e08cdd325c6710e73 WHIRLPOOL 3d14a80fd3939b1f7b71fe9dff0951110f91c8e63f005addd85a67a3fb1e07c34ab8eeab6c787a0114b57736d638f5d824b1222b4c69706c558e16db7aab62c6
|
||||
AUX cgproxy.initd 910 SHA256 7af61d781952dabac372782e2832e045a95ac65e11836c39c545dd590cf0f662 SHA512 98a81fee85e024a72b32fcd7e10dacc2f89afb82d2ad871fc34760b9b352ada8554818e138305ae150ecf9173e6b26c7628cd46974a802ca41df52b8aed26462 WHIRLPOOL 670c6a4c5c8afd436698af8fee40a7b325c4cf8513a06752e2325b042270e8b77ffd668ecc6dcbe192f1433ec376592e9a29ae9483d0237579d16c3f9cb86d27
|
||||
DIST cgmanager-0.35.tar.gz 426200 SHA256 a2939edf1ff687573c6d0e95900abf83078af25bb91060d9d5daac5769afaa9b SHA512 a63ed3358b33dad57fd7c70aa0059c7400b78ad1b7642db536863a3ca4254ec252351986eefa2b7bbe5b0e7f78bedb51f32544803430f4fafa76222791e391a8 WHIRLPOOL 7ef39fe762c222fa912682f2231df14b57b54c285b683cb4f1f9ee4a65d651e450a5cf079862ab21ad2d3c97a6baa26fd05983304697c5fdfa2e16bf716d88d9
|
||||
EBUILD cgmanager-0.35.ebuild 1175 SHA256 4a265cd5b0156d4f542384088fe6a4b354e7ab2ed1cfd2fe7e5e2dd2fa500c5d SHA512 3e1b7ee97481d2b250cb5117f2506c00b3215690628766ae388846a153e627af7bc45cc47f220f6b04afc425f5b09a79fb2c7d737996257830f00cac35e514c0 WHIRLPOOL 6f663206a8ef4d9c247f67fcabf26af46d11263804a7552ebdfd992ef5b692d4e20f4cd1c52efdeda752cd5bb410498780a5a16a8a9b5c3d25a76bb3e83ee589
|
||||
MISC ChangeLog 579 SHA256 9b220396bcb8453e0755e84faa683975798dc6d0332ec272c9c3d33ba4fcfbdd SHA512 8e88eaf1611523f9705f19561d30a1f86b1b745587355322adf5ec896516c3705c286ee68eeb9239f44e75476af58004616c24b48e4ea23d6c48dc9218a679e4 WHIRLPOOL 91011bb124d15ea49b16ea0a492414efd584bb4723a3f80e7da9d2a19d42dfa1222a3acbc24d65152b3dbd919b1d5d0bd75057995ec8e0fc1ce0ff3e5f702a72
|
||||
MISC metadata.xml 230 SHA256 9a2917aa97989e26a15d548bdf64890dcc69ae9d3df8142b2aae27530aee063b SHA512 8d6c4ff1bc83838672a976af75f113734849b5ce1b85357b41172f430b7a8ac04e0637d0aa9613fe8ac1464f5dd34d119c77a7c916de5a97a37c36c3d117cc91 WHIRLPOOL be59a0362b554a50082406aae917f612b8b13262a355dbd39c6c2f55867f535804e9dc1d4a2341e820b49434c45ff08a8dccde13ec9a18f4fbcc8b1c387b2558
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQJ8BAEBCABmBQJU1fpaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw
|
||||
OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun88UnMP/0NiPTntk/e5ppRrB/TANIGk
|
||||
MkAvo+WohR559w8oHFoM0UDTLn4aLpOHZH+tehU5I2F8GDk3S5mgMD4ZjxcZb15B
|
||||
HzkmpmDX8B7PoLE8Yin872r0AVr5NPDjJMw0Q8HZ6+eZ58/PmZBKF+WFpk1vAzvM
|
||||
F2z1EQP+ZA+yU+1ZxqD0eLrVEqR2lR7QE8rSg/UkSTA5p8b4+5Rsy6SP8XV9yuZ4
|
||||
eBihuqEW0GLrvjlrSefTmpD3vNSTsFbEWUlGDllIVNpA7EiZzMEzvejDntqz6Usp
|
||||
2QOJKeOjVzfBWQ9J7+XUHGN+oUjI59PaJ6PUEF14ld0I4V/PoII05ABPJSBHw1XV
|
||||
AXjYH5k6KwEdaRBOMLLKi7vjZ3DbZZrEqol8DUWtQ3ZEpIqIXQswF56ojkg17AzO
|
||||
TlJJw09HHWaxc7/IR5nsyaNhd7nFWn0hgfvLqvMcVrjFTqRdNhLz9hOxwu/bNOEM
|
||||
7bnKyE6/TISE3/l2Piq565r+DbIdx9Hw/Dv/MnFD5FCpAKpunXC2MxUMCeagrymL
|
||||
0tMpzSK/PniOeTTkAP7rNn4SUkFLKaj8dg/SPCRDdmteDrXczjnENS9n70XOBB7R
|
||||
hw9nqInI4HQGJZc6FiXNN96QOZEItZ/LIslR8zldH2PElofFI8XpxSnr7nLomxqG
|
||||
sYGOQcErrVC8QfBdPXQn
|
||||
=KEEu
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/cgmanager/cgmanager-0.35.ebuild,v 1.2 2015/02/07 11:43:21 hwoarang Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Control Group manager daemon"
|
||||
HOMEPAGE="https://linuxcontainers.org/cgmanager"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/libnih[dbus]
|
||||
sys-apps/dbus"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# systemd expects files in /sbin but we will have them in /usr/sbin
|
||||
pushd config/init/systemd > /dev/null || die
|
||||
sed -i -e "s@sbin@usr/&@" {${PN},cgproxy}.service || \
|
||||
die "Failed to fix paths in systemd service files"
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-distro=gentoo \
|
||||
--with-init-script=systemd
|
||||
}
|
||||
|
||||
src_install () {
|
||||
default
|
||||
# I see no reason to have the tests in the filesystem. Drop them
|
||||
rm -r "${D}"/usr/share/${PN}/tests || die "Failed to remove ${PN} tests"
|
||||
# FIXME: openRC init scripts are not well tested
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newinitd "${FILESDIR}"/cgproxy.initd cgproxy
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/cgmanager/files/cgmanager.initd,v 1.1 2015/02/07 10:29:22 hwoarang Exp $
|
||||
|
||||
DAEMON=/usr/sbin/cgmanager
|
||||
PIDFILE=/run/cgmanager.pid
|
||||
NESTED=yes
|
||||
OPTIONS=
|
||||
|
||||
depend() {
|
||||
after cgproxy
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting cgmanager server"
|
||||
|
||||
start-stop-daemon --start --exec --pidfile ${PIDFILE} ${DAEMON} \
|
||||
-- --daemon -m name=systemd ${OPTIONS}
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping cgproxy server"
|
||||
start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/cgmanager/files/cgproxy.initd,v 1.1 2015/02/07 10:29:22 hwoarang Exp $
|
||||
|
||||
DAEMON=/usr/sbin/cgproxy
|
||||
PIDFILE=/run/cgproxy.pid
|
||||
NESTED=yes
|
||||
OPTIONS=
|
||||
|
||||
depend() {
|
||||
before cgmanager
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting cgproxy server"
|
||||
if ! /usr/sbin/cgproxy --check-master; then
|
||||
ewarn "cgmanager is not running"
|
||||
return 1
|
||||
fi
|
||||
# cgproxy should only run on container unless on older kernel
|
||||
if [ -e /proc/self/ns/pid ] && [ "$NESTED" != "yes" ]; then
|
||||
eerror "Too old kernel to support cgroup, please update to >3.8"
|
||||
return 1
|
||||
fi
|
||||
|
||||
start-stop-daemon --start --exec --pidfile ${PIDFILE} ${DAEMON} \
|
||||
-- --daemon ${OPTIONS}
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping cgproxy server"
|
||||
start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>hwoarang@gentoo.org</email>
|
||||
<name>Markos Chandras</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,10 @@
|
||||
# ChangeLog for app-admin/restart_services
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/restart_services/ChangeLog,v 1.1 2015/02/07 13:37:00 mschiff Exp $
|
||||
|
||||
*restart_services-0.9.6 (07 Feb 2015)
|
||||
|
||||
07 Feb 2015; Marc Schiffbauer <mschiff@gentoo.org>
|
||||
+restart_services-0.9.6.ebuild, +metadata.xml:
|
||||
Initial commit for restart_services.
|
||||
|
@ -0,0 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST restart_services-0.9.6.tgz 18480 SHA256 267d232819a9f5d0e3b07eb1c402d113a48b20c114d473add98de012bbfb05a8 SHA512 3b7f8c4d435bd29c3a4c8cc27b2bbc7d7897e06e91b3ebf68c6b44e670a9cf4ed90e1deb33fa000d9637a90fc71c82f5ec02000ad6dd55179bec4da04e06a100 WHIRLPOOL 4b367fb9a162d264c9b768df891f210664ad817cbf63e0e9463d36a9ce478078ef815d68a68b1eb346053cf9c57b5b40c9099828e3be3f22f1b6c60423b75bd1
|
||||
EBUILD restart_services-0.9.6.ebuild 710 SHA256 7365e57bbbb9ba76298d9263725b9de8d19146afe11cc8bc66792ada69423a34 SHA512 805e5dfbd9fc652a5e3e81f92ddf601a69aa90d84ec6c32fb9467d37910c48a787afd1fe6eef052425f23d997685a8a53aa3a21f3b8fe9bc94a4a85b9cd7ca75 WHIRLPOOL 9da39ffdecd6d0c67f51ee7250db2d635d89b7c19606e3712744baf36bb6e49412926ad63a52d097b9565959ecaa5f05ac5425f98c02b899bf3a2ea7f3bd1ce6
|
||||
MISC ChangeLog 407 SHA256 d718473f9cd65394719444669d94c794bb2454af9f9edb3b519b2c993ca95bce SHA512 2a2bdb1d42332b5a17ee22de2db75e3bee813ad7d5a6566f222361820dc15991917699de059c187e49bc455043bf87123b60614c3894060b4b994a50c35f1d23 WHIRLPOOL 4ed4a6c1e198370304bcff9802ec09e11744a74ddf75e92c5a343fed49c510dfb44c56853167be933c817c613b14e7535edb10bb48f19e42cc221f7209e1b189
|
||||
MISC metadata.xml 236 SHA256 f55443c9b3d97fcc9437b9aeba1b3beae39e38599620bd520d0693bb8948b531 SHA512 842ec0962624e280c2c3909e6da541cdaf35532f0f00d76cc9ca0e03dfb8c3dc83a426ae370bc37d73d0c4b1fdd4983171a0586220546b967afe3a3f5dd78ce4 WHIRLPOOL 8ee0a6397a1bae24973eba9b31e1ac64bac9726ca45e5f2127a3ffc991627479030060c605c7cf0957891c184f5e5d01fb2387f94c3a68693c988e4a180c7260
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iD8DBQFU1hUBKWxsyjWmQTQRCJLbAJkBulcJCf7+7OhRbKjXJRS05veuPACgvVq0
|
||||
+ng0fcOhW2Ki/RuM52HFRr0=
|
||||
=roAi
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>mschiff@gentoo.org</email>
|
||||
<name>Marc Schiffbauer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/restart_services/restart_services-0.9.6.ebuild,v 1.1 2015/02/07 13:37:00 mschiff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Tool to manage OpenRC services that need to be restarted"
|
||||
HOMEPAGE="http://dev.gentoo.org/~mschiff/restart_services/"
|
||||
SRC_URI="http://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-admin/lib_users
|
||||
sys-apps/openrc
|
||||
"
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/sbin
|
||||
doexe restart_services
|
||||
doman restart_services.1
|
||||
insinto /etc
|
||||
doins restart_services.conf
|
||||
dodoc README CHANGES
|
||||
}
|
@ -0,0 +1,420 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.622.ebuild,v 1.1 2015/02/07 02:21:07 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCH="vim-${PV}.patch.xz"
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCH}
|
||||
http://dev.gentoo.org/~radhermit/vim/vim-7.4.542-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python racket ruby selinux session tcl"
|
||||
REQUIRED_USE="
|
||||
luajit? ( lua )
|
||||
python? (
|
||||
|| ( $(python_gen_useflags '*') )
|
||||
?? ( $(python_gen_useflags 'python2*') )
|
||||
?? ( $(python_gen_useflags 'python3*') )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
~app-editors/vim-core-${PV}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libXft
|
||||
gnome? ( >=gnome-base/libgnomeui-2.6 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
)
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua[deprecated] )
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.2 dev-lang/ruby:2.1 dev-lang/ruby:2.0 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
session? ( x11-libs/libSM )
|
||||
tcl? ( dev-lang/tcl )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
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
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCH%.xz} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCH%.xz}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf=(
|
||||
--with-features=huge
|
||||
--disable-gpm
|
||||
--enable-multibyte
|
||||
$(use_enable acl)
|
||||
$(use_enable cscope)
|
||||
$(use_enable lua luainterp)
|
||||
$(use_with luajit)
|
||||
$(use_enable netbeans)
|
||||
$(use_enable nls)
|
||||
$(use_enable perl perlinterp)
|
||||
$(use_enable racket mzschemeinterp)
|
||||
$(use_enable ruby rubyinterp)
|
||||
$(use_enable selinux)
|
||||
$(use_enable session xsmp)
|
||||
$(use_enable tcl tclinterp)
|
||||
)
|
||||
|
||||
if use python ; then
|
||||
py_add_interp() {
|
||||
local v
|
||||
|
||||
[[ ${EPYTHON} == python3* ]] && v=3
|
||||
myconf+=(
|
||||
--enable-python${v}interp
|
||||
vi_cv_path_python${v}="${PYTHON}"
|
||||
)
|
||||
}
|
||||
|
||||
python_foreach_impl py_add_interp
|
||||
else
|
||||
myconf+=(
|
||||
--disable-pythoninterp
|
||||
--disable-python3interp
|
||||
)
|
||||
fi
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# gvim's GUI preference order is as follows:
|
||||
# aqua CARBON (not tested)
|
||||
# -aqua gtk gnome GNOME2
|
||||
# -aqua gtk -gnome GTK2
|
||||
# -aqua -gtk motif MOTIF
|
||||
# -aqua -gtk -motif neXt NEXTAW
|
||||
# -aqua -gtk -motif -neXt ATHENA
|
||||
echo ; echo
|
||||
if use aqua ; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=(
|
||||
--enable-darwin
|
||||
--enable-gui=carbon
|
||||
)
|
||||
elif use gtk ; then
|
||||
myconf+=( --enable-gtk2-check )
|
||||
if use gnome ; then
|
||||
einfo "Building gvim with the Gnome 2 GUI"
|
||||
myconf+=( --enable-gui=gnome2 )
|
||||
else
|
||||
einfo "Building gvim with the gtk+-2 GUI"
|
||||
myconf+=( --enable-gui=gtk2 )
|
||||
fi
|
||||
elif use motif ; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=( --enable-gui=motif )
|
||||
elif use neXt ; then
|
||||
einfo "Building gvim with the neXtaw GUI"
|
||||
myconf+=( --enable-gui=nextaw )
|
||||
else
|
||||
einfo "Building gvim with the Athena GUI"
|
||||
myconf+=( --enable-gui=athena )
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
# avoid finding of this function, to avoid having to patch either
|
||||
# configure or the source, which would be much more hackish.
|
||||
# after all vim does it right, only interix is badly broken (again)
|
||||
export ac_cv_func_sigaction=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-vim-name=gvim \
|
||||
--with-x \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start
|
||||
# in vim for how this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../testvim nongui
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dobin src/gvim
|
||||
dosym gvim /usr/bin/gvimdiff
|
||||
dosym gvim /usr/bin/evim
|
||||
dosym gvim /usr/bin/eview
|
||||
dosym gvim /usr/bin/gview
|
||||
dosym gvim /usr/bin/rgvim
|
||||
dosym gvim /usr/bin/rgview
|
||||
|
||||
dodir /usr/share/man/man1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1
|
||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1
|
||||
|
||||
insinto /etc/vim
|
||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
||||
eprefixify "${ED}"/etc/vim/gvimrc
|
||||
|
||||
newmenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop
|
||||
doicon "${FILESDIR}"/gvim.xpm
|
||||
|
||||
# bash completion script, bug #79018.
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
echo
|
||||
fi
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -0,0 +1,230 @@
|
||||
# Copyright 1999-2015 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.622.ebuild,v 1.1 2015/02/07 02:15: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_PATCH="vim-${PV}.patch.xz"
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCH}
|
||||
http://dev.gentoo.org/~radhermit/vim/vim-7.4.542-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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_PATCH%.xz} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCH%.xz}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm \
|
||||
--disable-selinux \
|
||||
$(use_enable nls) \
|
||||
$(use_enable acl) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake tools
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dodir /usr/{bin,share/{man/man1,vim}}
|
||||
cd src || die "cd src failed"
|
||||
emake \
|
||||
installruntime \
|
||||
installmanlinks \
|
||||
installmacros \
|
||||
installtutor \
|
||||
installtutorbin \
|
||||
installtools \
|
||||
install-languages \
|
||||
install-icons \
|
||||
DESTDIR="${D}" \
|
||||
BINDIR="${EPREFIX}"/usr/bin \
|
||||
MANDIR="${EPREFIX}"/usr/share/man \
|
||||
DATADIR="${EPREFIX}"/usr/share
|
||||
|
||||
keepdir ${vimfiles}/keymap
|
||||
|
||||
# default vimrc is installed by vim-core since it applies to
|
||||
# both vim and gvim
|
||||
insinto /etc/vim/
|
||||
newins "${FILESDIR}"/vimrc-r4 vimrc
|
||||
eprefixify "${ED}"/etc/vim/vimrc
|
||||
|
||||
if use minimal ; then
|
||||
# To save space, install only a subset of the files.
|
||||
# Helps minimalize the livecd, bug 65144.
|
||||
eshopts_push -s extglob
|
||||
|
||||
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
|
||||
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
|
||||
rm "${ED}"/usr/bin/vimtutor
|
||||
|
||||
local keep_colors="default"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
||||
|
||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
||||
# tinkering with the next line might make bad things happen ...
|
||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
||||
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
# These files might have slight security issues, so we won't
|
||||
# install them. See bug #77841. We don't mind if these don't
|
||||
# exist.
|
||||
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
|
||||
|
||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
@ -0,0 +1,394 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.622.ebuild,v 1.1 2015/02/07 02:19:57 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCH="vim-${PV}.patch.xz"
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCH}
|
||||
http://dev.gentoo.org/~radhermit/vim/vim-7.4.542-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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="
|
||||
luajit? ( lua )
|
||||
python? (
|
||||
|| ( $(python_gen_useflags '*') )
|
||||
?? ( $(python_gen_useflags 'python2*') )
|
||||
?? ( $(python_gen_useflags 'python3*') )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua[deprecated] )
|
||||
)
|
||||
!minimal? (
|
||||
~app-editors/vim-core-${PV}
|
||||
dev-util/ctags
|
||||
)
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.2 dev-lang/ruby:2.1 dev-lang/ruby:2.0 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
tcl? ( dev-lang/tcl )
|
||||
X? ( x11-libs/libXt )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/autoconf
|
||||
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
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCH%.xz} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCH%.xz}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager ; then
|
||||
cat <<-END > "${S}"/runtime/macros/manpager.sh
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
END
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
if use minimal ; then
|
||||
myconf=(
|
||||
--with-features=tiny
|
||||
--disable-nls
|
||||
--disable-multibyte
|
||||
--disable-acl
|
||||
--enable-gui=no
|
||||
--without-x
|
||||
--disable-darwin
|
||||
--disable-luainterp
|
||||
--disable-perlinterp
|
||||
--disable-pythoninterp
|
||||
--disable-mzschemeinterp
|
||||
--disable-rubyinterp
|
||||
--disable-selinux
|
||||
--disable-tclinterp
|
||||
--disable-gpm
|
||||
)
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf=(
|
||||
--with-features=huge
|
||||
--enable-multibyte
|
||||
$(use_enable acl)
|
||||
$(use_enable cscope)
|
||||
$(use_enable gpm)
|
||||
$(use_enable lua luainterp)
|
||||
$(usex lua "--with-lua-prefix=${EPREFIX}/usr" "")
|
||||
$(use_with luajit)
|
||||
$(use_enable nls)
|
||||
$(use_enable perl perlinterp)
|
||||
$(use_enable racket mzschemeinterp)
|
||||
$(use_enable ruby rubyinterp)
|
||||
$(use_enable selinux)
|
||||
$(use_enable tcl tclinterp)
|
||||
)
|
||||
|
||||
if use python ; then
|
||||
py_add_interp() {
|
||||
local v
|
||||
|
||||
[[ ${EPYTHON} == python3* ]] && v=3
|
||||
myconf+=(
|
||||
--enable-python${v}interp
|
||||
vi_cv_path_python${v}="${PYTHON}"
|
||||
)
|
||||
}
|
||||
|
||||
python_foreach_impl py_add_interp
|
||||
else
|
||||
myconf+=(
|
||||
--disable-pythoninterp
|
||||
--disable-python3interp
|
||||
)
|
||||
fi
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=(
|
||||
--enable-gui=no
|
||||
--disable-darwin
|
||||
$(use_with X x)
|
||||
)
|
||||
fi
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../vim nongui
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
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}
|
||||
# keep in sync with 'complete ... -F' list
|
||||
bashcomp_alias vim ex vi view rvim rview vimdiff
|
||||
|
||||
# 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,76 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/imsettings-1.6.8.ebuild,v 1.1 2015/02/07 13:39:09 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Delivery framework for general Input Method configuration"
|
||||
HOMEPAGE="http://tagoh.bitbucket.org/imsettings/"
|
||||
SRC_URI="https://bitbucket.org/tagoh/imsettings/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc gconf gtk3 qt4 static-libs xfconf"
|
||||
|
||||
# X11 connections are required for test.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-libs/check-0.9.4
|
||||
>=dev-libs/glib-2.32
|
||||
sys-apps/dbus
|
||||
>=x11-libs/gtk+-2.12:2
|
||||
>=x11-libs/libgxim-0.5.0
|
||||
>=x11-libs/libnotify-0.7
|
||||
x11-libs/libX11
|
||||
gconf? ( gnome-base/gconf )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
qt4? ( dev-qt/qtcore:4 )
|
||||
xfconf? ( xfce-base/xfconf )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
doc? ( dev-util/gtk-doc )"
|
||||
|
||||
MY_XINPUTSH="90-xinput"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
# Prevent automagic linking to libxfconf-0.
|
||||
if ! use gconf; then
|
||||
sed -i -e 's:gconf-2.0:dIsAbLe&:' configure || die
|
||||
fi
|
||||
if ! use gtk3; then
|
||||
sed -i -e 's:gtk+-3.0:dIsAbLe&:' configure || die
|
||||
fi
|
||||
if ! use qt4; then
|
||||
sed -i -e 's:use_qt="yes":use_qt="no":' configure || die
|
||||
fi
|
||||
if ! use xfconf; then
|
||||
sed -i -e 's:libxfconf-0:dIsAbLe&:' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-xinputsh="${MY_XINPUTSH}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f '{}' +
|
||||
|
||||
fperms 0755 /usr/libexec/xinputinfo.sh
|
||||
fperms 0755 "/etc/X11/xinit/xinitrc.d/${MY_XINPUTSH}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ ! -e "${EPREFIX}/etc/X11/xinit/xinputrc" ] ; then
|
||||
ln -sf xinput.d/xcompose.conf "${EPREFIX}/etc/X11/xinit/xinputrc"
|
||||
fi
|
||||
}
|
@ -1,16 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST pinpoint-0.1.4.tar.bz2 791590 SHA256 26df7ba171d13f697c30c272460989b0f1b45e70c797310878a589ed5a6a47de SHA512 7f77f63bf16b16636cd34936d842f7e7ec554436020c6bf43f456ba1444313251c6f700192d7e9e03210c69a7a4a4c23b71e4b6ab5cf7571e5a8be7cba5a14a9 WHIRLPOOL 1190132a7f3d633a87159c915311229c2bf2ddb1773dfb500ddb105a81b3e31ea8488f488f376ee020dc18c9ac6157e01589722777ae751fce73bb27838ee32e
|
||||
DIST pinpoint-215ccad331a39c6e95d173938fcfffe6eb4d75d6.tar.xz 708020 SHA256 1303581f09ff6414269fe0642f7ce51094ebc5cee5101ef5b3113054da0bc8e9 SHA512 efbc711e034a968b104cca669fedaae8c1f088f598996843a65849f632ebdbff3df8d36225852b24327c26e2b972b1c5097775531b23ebc3eedf62415346f27e WHIRLPOOL 1c80ee81257c42b10ab860eabd4a95c61a9980b80cfb901ce167e70cf0046586b74e3670bffdb4342adfd378fb02c97ecfb1f4ae59d3e0ce09b205f9ef1e7ebd
|
||||
EBUILD pinpoint-0.1.4-r1.ebuild 1188 SHA256 f139b81b518b9661976d5de5a41e08d56c2089fe8dfe570ba26dc7d62e305a02 SHA512 d5758bf80014ad928db45df9ff7e3eca6851bd8b5044429e8b52b31db4047c3312ac5012dec1190a0b76a40d8d16f03817e479e4813702587ef87b5800809e22 WHIRLPOOL 463d9331855f80d46c503a0987d15be5a374c3c7a1753e807d8f44caa90c9cb96f7026cb4daccf8d562c2a6c3f904a8be02a53122bb4620f19626fe505c9a4bd
|
||||
EBUILD pinpoint-0.1.5_pre20141026.ebuild 1394 SHA256 62abbc6c524ab939fd7ec4bd1e01264bad13e8e4c6bb303510b49cc3a0fd9097 SHA512 d78098bc1b18ad9bd7338e7afbf5fb2d9b73dde2940e8d0d9a040d51b8d30a1b0a7ec38d17eac2395947fc7e446e11eaffad89c8df80d1c5a854cf2dc9eb48c3 WHIRLPOOL 761799fedba98114df0e0568205ba992c9b1ce72e950782b8d6f42e6ad8885ab047450913860e9f015b792e3650c29c5f7861b2dff70317a7125323c6de48734
|
||||
MISC ChangeLog 2117 SHA256 fa7c0956f1f8c5274c8ec1d652daa075d18947d9fd673b35f7b4169ca9c4a0c3 SHA512 98fae3b408e2d924b2e448e39fa90aaa2a567f544b1c910aedc36b2eba414b56a0316f40ef0115966ae538eecb6273b34337b25ad4b03baf42bbbddc25d5056b WHIRLPOOL d86588d337a42a9885006b10fccd10254a7419269c104d0b1c1be394b7119651a91018bd3178b58369a5aad084676df20cb57300319d379ff5287e229aa5020c
|
||||
MISC ChangeLog 2202 SHA256 66855a77f9e77d4f0230d5b25ca1428818f4a9165c3197f4df55eb3baf4401d8 SHA512 d22ef8c698c20d4821dfccff9861bc2eab4140b20fbe5eb2c7b963a80b7cda4d83d86d2371bd0120726acbb5f32f5b598a0c7c5865c516daee1eba43acc6543d WHIRLPOOL 29619f8d986b7c2161001819d9bd1a8ec062d818ac4b260f777a69e1488c9978fa3b1baad70ae37b82546c3eaa16d5b889df571409f4324e2b58894e4e330699
|
||||
MISC metadata.xml 414 SHA256 e16e898e44c06c33bfbc4b247c84a6253233ee8e91e93b8766d85ddf567d9897 SHA512 a6046d1eef077296ca0c9d94b49a7b6e891994ea0665eb99b8c5ca47d8690b19b73499db08101519c15445df97456cfefc194adbd6e2a8b7a90a7d9a5df47186 WHIRLPOOL 60a138019d8e424695706285fb75283e3f7eaa688366202b289f6331a28f2f35dfbaca1ebd2ff328a2de2343171bd8d9356644c525a2c8137f5916767ec5460a
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iEYEAREIAAYFAlSUKWsACgkQCaWpQKGI+9Qg+ACfW5gGCDYC/Ac3rkE8/766dlBK
|
||||
YKUAn2XO+vUNJ/PDflWpQTHRzKqqYizX
|
||||
=p1ex
|
||||
iEYEAREIAAYFAlTWA3sACgkQCaWpQKGI+9RvwACfZs9rtpUkAoW0R8ZUHohHcxPi
|
||||
IuIAnR0n8ES6ixYzALf7rLMd0deAudgM
|
||||
=22Uf
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/pinpoint/pinpoint-0.1.4-r1.ebuild,v 1.5 2014/03/09 11:54:16 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="no"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="A tool for making hackers do excellent presentations"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Pinpoint"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+gstreamer +pdf"
|
||||
|
||||
# rsvg is used for svg-in-pdf -- clubbing it under pdf for now
|
||||
RDEPEND="
|
||||
>=media-libs/clutter-1.4:1.0
|
||||
>=dev-libs/glib-2.28:2
|
||||
>=x11-libs/cairo-1.9.4
|
||||
x11-libs/pango
|
||||
x11-libs/gdk-pixbuf:2
|
||||
gstreamer? ( >=media-libs/clutter-gst-1.3:1.0 )
|
||||
pdf? ( gnome-base/librsvg:2 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# dax support is disabled because we don't have it in tree yet and it's
|
||||
# experimental
|
||||
gnome2_src_configure \
|
||||
--disable-dax \
|
||||
$(use_enable gstreamer cluttergst) \
|
||||
$(use_enable pdf rsvg)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
insinto "/usr/share/doc/${PF}/examples"
|
||||
doins introduction.pin bg.jpg bowls.jpg linus.jpg
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST libmt_client-0.1.98.tar.bz2 146319 SHA256 e9f9fab225a8fb6462b8b32737253925735a1069383574a324ef0cd35330b71c SHA512 1eb53bd36a171dbc3138942ec8314aaf8a71ca207060ea6d7499d18c2680fe8ebc822d8ec9843675a7c329039d2c985783f239b74b13c004e47a38250a8c4411 WHIRLPOOL cde4fafc73d675ebc53b93c93ccae435e39e7a279de22ed709d6a06fa7cc120ca86728f53de9ab940e2f8aaeb724b0fcc468b0fbb87de969e7e2915b103f642d
|
||||
EBUILD libmt_client-0.1.98.ebuild 660 SHA256 341727df6a3716a8a431537bc00c2bb98d4e281f7eb17ee3d3cc1f360fc4df4f SHA512 efc08407349faca59bf46b3e5a57356233784073c02b22864795ee7fc5c46b269fef5c7e0d47c74d003cc4609a1036d90d88f8b92d1388e0029f0807238357a5 WHIRLPOOL 613f00bcc3623d69fda78def45dcf6f9ec558abe29eea3a4fe44d8580e96ae5ce367b694564dd9f7c67ba4dba9158e999433850fd60156076966443e75e04aa2
|
||||
MISC ChangeLog 711 SHA256 1fbf54488c5f5551980415fd1df1effc9e727cafeba5a3105499de5cce50095b SHA512 03334062ad5fb6349287fe45a323366db10ab2c3ebe060627e31a3524a1a4206256c511e4704768614acce2d4c637c2aae05e69c735e1a00eef231082a3694b9 WHIRLPOOL d3f3461bfce7157b59d1c4f7274ccd64ec0c4d15b55b4aa50aefc08cf80d56a1369b61ebac428438ca7be5345bd3ca3c8c68f7b95d7d1bf9ed05c09ef28b6462
|
||||
EBUILD libmt_client-0.1.98.ebuild 582 SHA256 ed2bb541a5c12d4cfd3a10a3c0f3805c374a61224a3258998551cd963da8be6a SHA512 f920a1910a1c83d12bacd2fe35dbc6bd09623e0ceedf5376107e98343f79d360e7f1d08f80e25f2dc629c7a68027e11cebbf56a2e3d2c67fc026ac033c6102fc WHIRLPOOL d9af66d043bf35ec554302c37498a49bddd2f84420effbc55bc7bc5b4cc570e52e1d8428af1c339c9ddb65062f6f9b4593a4600f8003384393f8cb67cdbba955
|
||||
MISC ChangeLog 807 SHA256 10caf30a51b7ed3ac777387d83f5cc46ee3b8b2eab5180c9b38ba98a0b978e75 SHA512 f7cf1791971599538c728d0d4aa8cbc42590a2a098f04e37181a71cfa2bd0f892fe57624c7085f016e73cdd7c2a929cbe520b8b49b40ea729495e6c1d33e4553 WHIRLPOOL a3fb439682e6347ce6b6a71b24907f7ba33050846309bb1fa56a6b918fe05ce573b93098f95f63301c9b870a7acdfe570a54bdc7c90dddda46aaa6267f8139f4
|
||||
MISC metadata.xml 808 SHA256 b7900d4d43b04e2673d60b77d679dacf03e2d94af0364651da88476f0c12262b SHA512 c0db0c0782c4bc0addb4a9a9070a7b21bb96b0cbee4d926be8e32590d53192d36dac493d8bec4114464babe8326e00107f884191701f3cf470270354d8b34d4a WHIRLPOOL e416632367a6880b85d0855c6df2c2ab2f1a05824d1d55f792a9177c55b1576efeab63c091a4f9d292e56407bbd60ba6ad8d94da0f4584b057f198e2e7f18e84
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST libnw-1.30.02.tar.gz 317336 SHA256 bf310934f3d77521a6f52474063a7c7c169eb365f597c5223525f3c26116f89e SHA512 5175fe6737dc1a3ddd5e53354435ff0db56ad560f24e330f348190b2ed9e6d2418dc20497dcb64f316572c4c75b298fe12794fde73516347d70e737700f67939 WHIRLPOOL b2e1ebdb8e9c8f33fbdcbf65ac2fc23fe855cdf33109b33f764d1bc159490a08058238bd8a8dfc745f9a94490445b04a194cae3e1ff316f3cecdeeeb59d9fe4d
|
||||
EBUILD libnw-1.30.02.ebuild 831 SHA256 030384efa1a8699864e11ead6418935b12462e0853b83d10250f3ad513c70345 SHA512 41092d43c9d839348c5263bb325e51d7b6d2a839e9a002fcd81ebf9b11c984c8440a29b06a37dc34467ede558711bb4db483323ff8257410f1c6f5111c5769d9 WHIRLPOOL 8c4799ff4f52ddd62c04c430aa45cb85c667e2367b63d1c8237f1fb646036204e997cd87e6acf9aad2123af162f1440be6d0dd9723698777f86b7bd48956950e
|
||||
MISC ChangeLog 1222 SHA256 e6d4019a848d12a5207b889cf9361fd580c27d5718baa51897cd02d3786a37ed SHA512 35c8350411cf514dd954455669b9e951c520739c5455ff6a73660f67adc2a13656a4484ec79460b82083decf407df337ef25670d5ebc3c67ad91d5e343be5744 WHIRLPOOL a28f9c48b1daef071f2c88c91cec174e21381370c6cb1a1feb3c214d75e45c8238727ec443bc2b292414c184896036a53e3e910d3dd722eb5572742d87e34395
|
||||
EBUILD libnw-1.30.02.ebuild 767 SHA256 0ce6dc07c0f695cbe275babd95a2b5faac5d1b6530305bbe6e5649dc7ea48aa7 SHA512 4b0ca6a216c680df164971506678d69505156b47c3581727a6f0bb971d7a1d71d16611fb447a47ac50761db6f3010540d3f2129085f11485a13d9edfeb08e4cf WHIRLPOOL 5fa418fd62507e566c5834a53a33741e1c89b52f060bebc5c051b195469f6bd7fbb075e142d61a7d9a4f48be9c0ac7b9b8daf23df8490742b1db40b4784fde65
|
||||
MISC ChangeLog 1309 SHA256 5e8ea4c4893d427d39feee4cfec0cc84713218b74b4bbf6147dc42f13acb1769 SHA512 02f411bb0dae44f087e94c28a07dd43f0b09728dfc5084636594c6ab31efd266e61c4ed8006b7a8d656ecf61e2061b75191666b3f88a47286701d49b271d9547 WHIRLPOOL 940b73c68549df54d474f60be60ce051d4421b967c6144581f59521ccafd85bcb007ce1824097563d9853f55cc961c2cc94db4475e10d146dd0d28e5c49aa7d3
|
||||
MISC metadata.xml 828 SHA256 d4fbe449288de96fe5bcef4b855877a103425ac3bab0f52202825446435dbeb8 SHA512 06601176456f3525af1811d431caa77bfa6217897e10b28dd0bc4e671befa8ab50a13e993b717b0c72fe4ca7af2e53940ab4a3caecb800004dc8c6078853a3d5 WHIRLPOOL 4327b90e79c36741a07f6069754d9676673332eb4dc811e68e5470e1ef6fe6ea1b4c5e156502ef43ba1a2d1de01cb49505a52f6fcd44b4bce4ef00741fdb533f
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX CMakeLists.txt 1788 SHA256 9635835bcfe422b36abc499f6e4693babf7579d80f25de5dee987d58c2c42754 SHA512 0a376c8d4c6ee09e1abd1625f19cde5dbbb5b04d147335d23ce2521dd698cbf8e6c8160ef9070856b4c617156f0ec59373dae7939d798963cb77b836f09ae0bb WHIRLPOOL 590c1e26e0796a52b813cd77db54e1251d03e884f0e70ed53671d24110052340c1561a6cb8d0a1fc4d262b95002c91db6d2eb8fb024388c2713b270df73ea278
|
||||
DIST newton-dynamics-2.36.rar 65378909 SHA256 d88dd127e23ff6a5cb44021937b319ab42533f4129ee7c35a77e5e6165c0f888 SHA512 aef8ef121ebbad525b3eeb5dc4da511cd357f52388d5cbf6b9709cbad497ae91f93518dc7eccc914ecf2220428ef5935b4b3fc1500804dd016443ea0fad1c058 WHIRLPOOL 1ae7aa9ec7eb88fd74bb5f54c053871dd58da4cb0e2b8578409be302c85602a1c4950b3a752ede6be0976f1d6077f55a8d8cac5bccd96ea7371af1ea97adfed0
|
||||
EBUILD newton-2.36.ebuild 854 SHA256 dac248faa94965f28376c48747091307fa45848a517940483a15e2235fb103dc SHA512 014a84ec13f97fe3f46dc52e6e73703ee922edab8bf437aadbb395d50923c79207b03e3ba1d26dcfa39d3c43d30a09a0f878a6851829ca9ab209ef9997112d73 WHIRLPOOL bc1c63a7e2ef8487d4d95c48681d067f6020baa6cc35477239707ca95da909000ff64217939919010dc2e8841fed6cc4e7d6a51747f4643186932a3c76c6ef6f
|
||||
MISC ChangeLog 1703 SHA256 fe13eb1092770da6aabf0445e3f68845541c53970121d5368cbc78dc8a019a19 SHA512 69f3d663bc4bc2d8d39963be531e813831e74362120a9ce523c35ee28ede362acd0822a4d563880efebbbad91628d22c59908d86b40c74fc713df527db8b6672 WHIRLPOOL 8a6bf4fb281da938fcab4ff2be79f8e266ed164fe07db097dab775e392322195e9743ee346b5ef164e11829a96a8eef822beb0f308021bbae4bb8a85a77d9d4e
|
||||
EBUILD newton-2.36.ebuild 854 SHA256 3d591f04e6337bbcc5646346437062e2f069604311773ec7f33df18500820f8b SHA512 bc76b893cba62f358b2582843de93b0f4117e42347b49777caeadb374eda6f9e5d1fac0903614187c31bc959db7a85953f31e6da99a67863e1963d7b8aa31476 WHIRLPOOL 43a5ff2c69d6920561be329e163b4194fa5194984027e87fe1e43c19936a476359fdb28a0a08429330339c227d9fd7c8a937d2dbfdadd6ffd24ae185260e931b
|
||||
MISC ChangeLog 1788 SHA256 9473f96e391ab96e3b9e82d81126670f8166d625dd03a4913a511462808114fa SHA512 07b512aaac54ababcb2b65c0c409b0211730f45faaf56c0ea7e7d564b52c5e2298e2238808ebae5ca6cde996d143cf56a45394eb990dc5652a7c82eba3de3591 WHIRLPOOL 61fe26c508d062b3e107d9c97ffd269296f76e78e6e6121b0b651e444c8e55ef0e44db383327ce4e4d0bd49d435792ad2fc0378b2eb1001f995c2fa30977e6fb
|
||||
MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
|
||||
|
@ -0,0 +1,80 @@
|
||||
diff -uNr fcgi-2.4.1-SNAP-0910052249.orig/libfcgi/os_unix.c fcgi-2.4.1-SNAP-0910052249/libfcgi/os_unix.c
|
||||
--- fcgi-2.4.1-SNAP-0910052249.orig/libfcgi/os_unix.c 2015-02-06 21:49:40.677082591 -0200
|
||||
+++ fcgi-2.4.1-SNAP-0910052249/libfcgi/os_unix.c 2015-02-06 21:54:23.147097903 -0200
|
||||
@@ -42,6 +42,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/un.h>
|
||||
#include <signal.h>
|
||||
+#include <poll.h>
|
||||
|
||||
#ifdef HAVE_NETDB_H
|
||||
#include <netdb.h>
|
||||
@@ -103,6 +104,9 @@
|
||||
static int shutdownPending = FALSE;
|
||||
static int shutdownNow = FALSE;
|
||||
|
||||
+static int libfcgiOsClosePollTimeout = 2000;
|
||||
+static int libfcgiIsAfUnixKeeperPollTimeout = 2000;
|
||||
+
|
||||
void OS_ShutdownPending()
|
||||
{
|
||||
shutdownPending = TRUE;
|
||||
@@ -169,6 +173,16 @@
|
||||
if(libInitialized)
|
||||
return 0;
|
||||
|
||||
+ char *libfcgiOsClosePollTimeoutStr = getenv( "LIBFCGI_OS_CLOSE_POLL_TIMEOUT" );
|
||||
+ if(libfcgiOsClosePollTimeoutStr) {
|
||||
+ libfcgiOsClosePollTimeout = atoi(libfcgiOsClosePollTimeoutStr);
|
||||
+ }
|
||||
+
|
||||
+ char *libfcgiIsAfUnixKeeperPollTimeoutStr = getenv( "LIBFCGI_IS_AF_UNIX_KEEPER_POLL_TIMEOUT" );
|
||||
+ if(libfcgiIsAfUnixKeeperPollTimeoutStr) {
|
||||
+ libfcgiIsAfUnixKeeperPollTimeout = atoi(libfcgiIsAfUnixKeeperPollTimeoutStr);
|
||||
+ }
|
||||
+
|
||||
asyncIoTable = (AioInfo *)malloc(asyncIoTableSize * sizeof(AioInfo));
|
||||
if(asyncIoTable == NULL) {
|
||||
errno = ENOMEM;
|
||||
@@ -780,19 +794,16 @@
|
||||
{
|
||||
if (shutdown(fd, 1) == 0)
|
||||
{
|
||||
- struct timeval tv;
|
||||
- fd_set rfds;
|
||||
+ struct pollfd pfd;
|
||||
int rv;
|
||||
char trash[1024];
|
||||
|
||||
- FD_ZERO(&rfds);
|
||||
+ pfd.fd = fd;
|
||||
+ pfd.events = POLLIN;
|
||||
|
||||
do
|
||||
{
|
||||
- FD_SET(fd, &rfds);
|
||||
- tv.tv_sec = 2;
|
||||
- tv.tv_usec = 0;
|
||||
- rv = select(fd + 1, &rfds, NULL, NULL, &tv);
|
||||
+ rv = poll(&pfd, 1, libfcgiOsClosePollTimeout);
|
||||
}
|
||||
while (rv > 0 && read(fd, trash, sizeof(trash)) > 0);
|
||||
}
|
||||
@@ -1142,13 +1153,11 @@
|
||||
*/
|
||||
static int is_af_unix_keeper(const int fd)
|
||||
{
|
||||
- struct timeval tval = { READABLE_UNIX_FD_DROP_DEAD_TIMEVAL };
|
||||
- fd_set read_fds;
|
||||
-
|
||||
- FD_ZERO(&read_fds);
|
||||
- FD_SET(fd, &read_fds);
|
||||
+ struct pollfd pfd;
|
||||
+ pfd.fd = fd;
|
||||
+ pfd.events = POLLIN;
|
||||
|
||||
- return select(fd + 1, &read_fds, NULL, NULL, &tval) >= 0 && FD_ISSET(fd, &read_fds);
|
||||
+ return poll(&pfd, 1, libfcgiIsAfUnixKeeperPollTimeout) >= 0 && (pfd.revents & POLLIN);
|
||||
}
|
||||
|
||||
/*
|
@ -1,34 +1,34 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX icu-54.1-CVE-2014-9654.patch 48898 SHA256 8645e8093be50682a75730a47b30b96ab65cbf28f9934c7d791fb92d0fca58ef SHA512 6f13fc740cbc718db24ee2ea6f94e78a990d2bc136c096f6db0c06ae27438516c414a32abcdedbf328d3c51871c86dd73e713955bc11197d8ffea20f4fe651d0 WHIRLPOOL 505eb5e33582d8034bef5a8d85901bbf34d02531b1a2a2fede11d4e3f91a4b14fb4ca5e14ebec00a1b49a1c64f7e9c5aec3799af6072c45fc0e0f5c436e7bf05
|
||||
AUX icu-fix-tests-depending-on-date.patch 558 SHA256 1c9891d7d3ad4e498e46bf4cece5d98ea9128678a3e5c26b306d0ac600ffcbe0 SHA512 f5e6dde3c6850682a9b66ad2929fc4137b7fc9101a979e5eecb6e0fc60afacd0e3b4fcc96f91dcf558f41f17a0647a0fd167839f9c116149cce0c356f8ced633 WHIRLPOOL f732bb97764b1384025a3b98f0f1fbd05165cdec02fd448b9626c7aaa2f5d9ba07b2e2057a569f4ce2e947f4d8867265956818fef1a5373931de54ec5fc99d13
|
||||
AUX icu-remove-bashisms.patch 5982 SHA256 432e49d3e75465324e80db29f27f4d8864d12ba644878d5287e7a942e3671858 SHA512 a984aba10d7fb92e8d7cb0d9c5d8c0c2193a817ce05113168110a89adf7df754dc82dbe8d134ea5c8d44650badaebd5f60303232d7f2a8e246144dc70639f049 WHIRLPOOL 80df1f9c572f6b4d99c73809d839117a7a3849968f67ac5f58928d2fa44974ccad17c6eb95e5ce880002f72cc0131cf2f7664f66e53a1b2fde541b2b6f943015
|
||||
DIST icu4c-52_1-src.tgz 23875368 SHA256 2f4d5e68d4698e87759dbdc1a586d053d96935787f79961d192c477b029d8092 SHA512 5300b1d97340850d3d72af220ff5cbc2ae2820aff4367b60e52f17ead9831011dcda3d4c5af57c899d47b6fc964b23c9c8922954b32d314d669eb1a479a2efb0 WHIRLPOOL fd9d0ed8f55b93349164595c79544f41791774eff5e82b043be333732104b19c4036f6a6c53784bfe4494c005b950a4e96433646be24f310a681a18db0d19bfd
|
||||
DIST icu4c-53_1-src.tgz 23218952 SHA256 6fa74fb5aac070c23eaba1711a7178fe582c59867484c5ec07c49002787a9a28 SHA512 2172bfa7d61172b62380762f180336cf86264faed247e57f9143a5dcc84c286b96baa100302c0d54fe6f51af2d7e286cc5176db8f99c58157a5a750270e770df WHIRLPOOL 760b0e2315b7e097d296442cb33c7e9d154bd52dee649e8c85f85c6c9cbd96e26843f0b176c9afcb33a47987ffd1ed7355e67c92d5c4cbcf01a222a3f3eabdee
|
||||
DIST icu4c-54_1-src.tgz 25485678 SHA256 d42bc9a8ca6a91c55eb0925c279f49e5b508d51ef26ac9850d9be55de5bb8ab3 SHA512 d54d4cd826e1aef62a574595a04f9fec0a42c4445ed0a166a6bb5c5f3c9f692bf3273756f350233f50b2a1ad32c437dedfeeac96d6dc814d27bfd9159b7a651c WHIRLPOOL 1ae01eb26824ca591ff76ea040f703023f24975ad4177d49b1dd60f7e7f96f60884745d6c6e5e2bdf17fc8e104e97ed814f6c0ca051d1807814e324eb24e94dd
|
||||
EBUILD icu-52.1.ebuild 3129 SHA256 cf990bf7fdecf33dc3d2481acd694c712f9e7356d4f2684c42a73c63bc132ee2 SHA512 009af7ea758a39d29c51924372ccc71b48c380e6c349f20910f1ea140f8642700897f6cb318c6c9cc7faaff052f612e0698c6c3f7bc0728c339d10a8d53144a2 WHIRLPOOL 2723d3ff372373d0733c9c3e5c627db4b461e16d58bead0f8ec9aaf88607fcee80d85d438dd1094ac5239b482fba29319e056a31a369506fb50401e2617653b3
|
||||
EBUILD icu-53.1-r1.ebuild 3191 SHA256 1fa7a96e6a6160c2c38c07c3e08cfc55ad6f1e37ef0bd005aacaa7491dd377a5 SHA512 74773f86be2a59562eac1e15c8ebf66097a9d140b760bd5ed107ad7dca84197ae1b17059b6711150054b48f66c9168199742584df42416766c80d4e9fcc18b37 WHIRLPOOL 6283e8f934c1deb1d9c53a01b6406cb975f91886671514f20423ddcfd3a5e5f26add4d0e765b17b64ac0e31d762753fbd2d0bdda21ed96f235d8045d69106dd8
|
||||
EBUILD icu-53.1-r2.ebuild 3191 SHA256 d85e29ca6ed9b46102fcce531cff7aaa22ebca32540a167a3c166ff8794dd29a SHA512 16b56f39ca48024cf33c65c803c66e3a9aa5a4731c64c9cd45e580fd0e1d14631eb2636c30e21d3c9afa91056cd94f516bb5226841bf6b0d51d1809d3a1edee7 WHIRLPOOL 0813ad4a1c5c78713c5a7a7ba3e19c97b738579f35a5a69da4f5ae589f58d200f38b7dd9dbca67e0252f607fd0a7b94c3b0de3d8ee367986f734cb51384e9ee7
|
||||
EBUILD icu-53.1-r3.ebuild 3251 SHA256 52b6c692999547fe6f28d1952465c301a586be4abf03362d3db12a89fe6026de SHA512 f724ff41d43f80af785a88a6d495cf7da0255eb6e57c5fa27670c9a2745676be915e610c507b211182c18910e5f28b339577fd8bd7ce0908f8b3763ce7f93624 WHIRLPOOL 0382ae9c676350199ac331fed391074dd72f53d35a72979b175e8c5f4442373f484d88ce3eb90658a008bcee368ea0b70cf8f665db2259acaf9e89241661753a
|
||||
EBUILD icu-53.1.ebuild 3132 SHA256 4403839fee702aafa7d934ab3824282497d4b659625028637e562c51af1a3eeb SHA512 6fbfdffc515c8a8f30cbc77d15ef385b2f12b82e7c0fc9787273b3a8ce10e0b0789e5f48b98c0ba33c3c844e329ac0cd3b59041c6b8b684da3eed2e950f0c5be WHIRLPOOL 7dba17c0e738f329f7288a2bebdbc297e668b0f248502bea28114acb0d12ef9f7356d9390121fa87f86a4c5d9224b926c66e9f0bdbdd485e6ca60073b6260cbe
|
||||
EBUILD icu-54.1-r1.ebuild 3037 SHA256 0173854871205c3337eb586ee3abcfcde2ae4a9243c33e86584b92d4a12f4a85 SHA512 58e6361133583b8fb843d7527f954b183fd7189dd5bf9d266679e38f7f4ade3d700ba99318e7ec801b67e88e5e87b96ac711c5e1c279c5e09ba1051186f03064 WHIRLPOOL db121653982a1b8161ce0a8a5067daf75900fe27ea9cda885edd26c481f24e4e418168e7b49cfbed7fa8307fb84b7b644c2be24357743701d8e36c4115813a9e
|
||||
EBUILD icu-54.1.ebuild 2983 SHA256 f9f93ecb7072e3c75123bc57101a4f289fba80313a857b8822191e63b42598c8 SHA512 1b2894c2007ba9a61162c6c4fa66f857a08efef09b1383725412b4e291ae6d8943ded681bee135fba3691bb5c4b2373fdcb8b6fe744bcecc8dae6ed57c91a213 WHIRLPOOL ec50751e4e341a4e67eae7cf209263141727bc0a5e2777e383665fef042aafb7a7501bf58089261f453b053dd9a83b24f06fc77c8991fa509055d71d2d576039
|
||||
MISC ChangeLog 38172 SHA256 b8badaf07a6882fe5bcf977ade4e992e777592d92dba02ffb2a8fd429779f64b SHA512 3c1373c416328a08b928c69d8a8c76bef52604b36f9eb71937054fd84b133de58c77874fccd5b1ca95a8714b230132b5f9f34bfc0eb234c68f7651823e179f68 WHIRLPOOL 871a3caa5b590ef190c2a24b74e4c45a6a45df17b78b9d7dfef608aa84ead48ba3b2b594284babbb9ee93a295ff2f5612f9c64f31fea426059c5aa60d78e9e21
|
||||
MISC ChangeLog 38540 SHA256 9cb4323106871fb7f270c1415d3ebdc6c91be05212d4de5d3eb10bcec64e50b8 SHA512 a380fc4a3bf1a38c24c428d9e6a61e6608b85d0b4c5707966422907075328a8449017c6c8e1d17df02130f136e9001c591662a92a761fa8acf6191a9fd1c2982 WHIRLPOOL 5c757034fcdae1df64d7ede56fa5ad0b7fe81b5a6912b9319b98066a47aa51d36980894b4a3434662de4c8f7ed59964171a8096e4e76a1f1057eac123255f940
|
||||
MISC metadata.xml 164 SHA256 6dd077e0a4bddf8cac0a6d7fb01d5f992a81c85d77d55787d19c6d4ae4c5aeeb SHA512 acd8ec5158c34fd738af175dda4c270a884c80e76dd10d9252e2513846ae1cb69ed8b1afe328a69ced10974ca3c60366394990b98a0d9b9815527f262afd9937 WHIRLPOOL 43b43d99d3c96c6da7006df219d57a4ff853353940dbd597bbbd2be00af7b38f0e6c3e33024b1e964ef1fedb12f788ea78693b7e3527011d8bbb9757ec0b88a2
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQJ8BAEBCABmBQJUzlvKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
|
||||
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOPzIQAIFfTYKSNQrFMEM+HOxjHiFe
|
||||
TFhMlOVDIKjoxUqnPAHnglIEm+3vW1h/PYLWc73H5wEvG4Vgq6hv+HIJj97fAhzq
|
||||
7ukxcRPH8hqtzzMq7xjKBltsH9HCrlufUo3cLe08+Wqa43kRd3UDpfU+FC4wdZfp
|
||||
+arj15mlLx4uG2qYA67Es0tWiGjNIvELo09/o6DgujUe4l8YOtyrv04RzLXa7AEp
|
||||
LLkjd2U2W7aQuIszaaOn7Zk3s2OA4EMyxhB7LeDkASqs3NcAhFiC5zxiut+t+0H1
|
||||
I7nqNyDr50PtmIgZOmiuVMX4gf49I+MbmORN8/SAbzoGjLK228OucWfoamgPeZL+
|
||||
CkFNvDdXEaP/hp/ZpDwJLnkJ4gduwgS14BZ0CqgsqNMqmQLgxlHcuSjMRN0Qe+0g
|
||||
QOWzCzyhWKzYyeXEE5LKdk2jrKiM/1x4n3C4XVVHaQFPFE987lZ2ky2+JNcpvxSa
|
||||
lHzxZWol0+gu/2wKAY5fYZ98SWv7M3H+FAySo3K/UI+/w0it6BDFq0zTxBZCL/05
|
||||
u1LkZvrGoKp6YZoTX3Y9oipe79EoVaI8sa88a6grhyssTxfIHsF3FnQINpqzYSp2
|
||||
Xwf8wLiOLnC/zfgxKvqDSfk2utblj2PfT5UmBZRhVeQDxbDP1fwt6fX8mQ03bkIc
|
||||
y3MjGy1dEDsXCJx1mnT7
|
||||
=gOeI
|
||||
iQIcBAEBCAAGBQJU1lAbAAoJEB9VdM6hupKVdUwQAIM2x9dXfvAZ+7Jsl3nMma2e
|
||||
6CGtQhR8O4mm/ddFmQB85s/VduBRkaglJ18ZMBG5DaXb8jO5EL2ZEAn/TK9PUmKi
|
||||
/G4Zz6j2jK6RKz8nRzDce2SLjVxYQfEdlWQF7Ciu4f3Q4WcUefI8kPqt7pEttbCJ
|
||||
b2pOnVDKopS94YJ5+gsQg6zv9wU0t+REmzuFD5WIJI2IvShFD87wQweo2P8KwcPj
|
||||
2sfmtbAdEo38TSPOUGBxIm/KdIyiG4Mr64NwbgiCbi0sI+7vctzJlFiCvljB/4zz
|
||||
abzg+qhy4wk4x33IHQWgVzEf+wkPEeucdp906JUghVODVNZR3LcgcLgjRpQ2EvYA
|
||||
VaD2PHGC3G4kEPA2UQZZlVxEVZ09h9UCMA8SYKEQfqj3xDyPtaPsrpSDhVyaf5Ry
|
||||
YhNcnkJj4A5UTvn4EH1MEIAj2qjMH+6CgkHGBDXOeOfRJLZXEHxO+f37CoODtaF8
|
||||
8C+rRYhy61OYY9kUBIAYfAEaHaoP9HU/BWO1yWPPnCG1FVjkOkbW6QDOqVn9w1bl
|
||||
RlqWR9fLihYKg2hgI9p1TYmK7grIMmLopFvemj4ocoaU7sFm3DxELg8qMryz94UF
|
||||
jLbsctL2AmJCz8tNGcQyH8F1I3ebgMWyBe7Yba4G/hvR48S1OIMgAZYLUfjlnLzw
|
||||
3p8XgNqRxPFngLAKkphz
|
||||
=GyQk
|
||||
-----END PGP SIGNATURE-----
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,134 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-54.1-r1.ebuild,v 1.1 2015/02/07 17:47:06 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="International Components for Unicode"
|
||||
HOMEPAGE="http://www.icu-project.org/"
|
||||
SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0/54a"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc examples static-libs"
|
||||
|
||||
DEPEND="
|
||||
doc? (
|
||||
app-doc/doxygen[dot]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}/source"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/icu-config
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
local variable
|
||||
|
||||
epatch "${FILESDIR}/${PN}-remove-bashisms.patch"
|
||||
epatch "${FILESDIR}/${P}-CVE-2014-9654.patch"
|
||||
epatch_user
|
||||
|
||||
# Disable renaming as it is stupind thing to do
|
||||
sed -i \
|
||||
-e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
|
||||
common/unicode/uconfig.h || die
|
||||
|
||||
# Fix linking of icudata
|
||||
sed -i \
|
||||
-e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
|
||||
config/mh-linux || die
|
||||
|
||||
# Append doxygen configuration to configure
|
||||
sed -i \
|
||||
-e 's:icudefs.mk:icudefs.mk Doxyfile:' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Do _not_ use C++11 yet, make sure to force GNU C++ 98 standard.
|
||||
append-cxxflags -std=gnu++98
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
mkdir "${WORKDIR}"/host || die
|
||||
pushd "${WORKDIR}"/host >/dev/null || die
|
||||
|
||||
CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
|
||||
CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
|
||||
RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
|
||||
"${S}"/configure --disable-renaming --disable-debug \
|
||||
--disable-samples --enable-static || die
|
||||
emake
|
||||
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-renaming
|
||||
--disable-samples
|
||||
$(use_enable debug)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
multilib_is_native_abi && myeconfargs+=(
|
||||
$(use_enable examples samples)
|
||||
)
|
||||
tc-is-cross-compiler && myeconfargs+=(
|
||||
--with-cross-build="${WORKDIR}"/host
|
||||
)
|
||||
|
||||
# icu tries to use clang by default
|
||||
tc-export CC CXX
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use doc; then
|
||||
doxygen -u Doxyfile || die
|
||||
doxygen Doxyfile || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# INTLTEST_OPTS: intltest options
|
||||
# -e: Exhaustive testing
|
||||
# -l: Reporting of memory leaks
|
||||
# -v: Increased verbosity
|
||||
# IOTEST_OPTS: iotest options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
# CINTLTST_OPTS: cintltst options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
emake -j1 VERBOSE="1" check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use doc; then
|
||||
dohtml -p api -r doc/html/
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
dohtml ../readme.html
|
||||
}
|
@ -1,26 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST authres-0.602.tar.gz 17971 SHA256 41cea7fcc3387e381b520053dbbba1825598b6cb9d45c505ae466d7a2a27edc3 SHA512 3113a23baecf7bb0483e450cd22271eca0e756a772c366e77d36682bec764e528c0befad682f346026aad669b17dc85337f9994f8480535d7184e5a92c0be512 WHIRLPOOL 609e980f1f4b9142fe88272d75a9cbeb187abcb457552bc5e3d8ed9d3a920d3c188b23b93b8037df4b1a2cadd11e0612f3f7c1535c6337334de5ae2ca3ca8b1a
|
||||
DIST authres-0.701.tar.gz 18878 SHA256 4536c485ab8da667be84361b040e626d025cc8b3cb5ad7ef156a7764bf9a9b12 SHA512 e4482a8c5494a550a76a0d0b8b0d406d257da271d8fae901569a960d2f90ec616c5de48a578240e831c29f9345d128ecc9cba6f05befbb03f5cd90b4c26af422 WHIRLPOOL cbca8127df9ac573bdb653f22869450184cfd05221aa17a28726183e17572f4cde85b255b6e3583336aa87383e34a1999f4a647c1bac8eb91bc70075b0d0669e
|
||||
EBUILD authres-0.602.ebuild 724 SHA256 e6f7ab4dc1538823ca4098d440488a0aab96fba8ff696ed6a50f08e8c26ac9ea SHA512 2366a36a38405349a83ea4670f5ed36da78388ae3c99fd53321c15763ff90238e9643a964de6ebdcfc40a6a23a47fd65bbd16ce21d57bab14f0d18017757a8aa WHIRLPOOL 5540382d11e591c3e0cb1278f48ec6241561f7330e36c49982dc5a69e953a071156e9563d22adef4d322efc186947538029e82fd63a73b8a95215f5cfabef55f
|
||||
DIST authres-0.702.tar.gz 19360 SHA256 8fcf4d0aa027b00e5d16c60e5dc7cf534f9c4889b290cfbaf59c213630fc8c1b SHA512 fbd9a9bd1492ea026aba9acb7af9e5ab2d0d781b7427c284d9f46cde66f79a74d635f87d4a2a4ab170b9e8bd292acd7b771d445fd534b904b15e90c379745c5c WHIRLPOOL ebb96260b74805618665b7e3d7764fdcc179f198441fd601dd88f0f4644daa5af338514f76e1e0c803b4b3446f6d83db214ec4bcd7c557ea82389a4e0f6e0e7e
|
||||
EBUILD authres-0.701.ebuild 720 SHA256 8f0267f5a16c7207d3829ff67cda8e429d4d729771dff11eeeb8d4435308d5cf SHA512 d1b92626a45400f80011582e7d0a9ba8a275821dc3e7b61981de0718ce49664b7687fef868008425d76341e40cebf55f02e8a5b671fa0aea73ad374463c4b09b WHIRLPOOL fb5d8f5a2c6162d90cd0c7c646fb420027be67e1b56ae546b7095bfcdd723bfb42da157e0709d4e8698aa647d10833ac85d076bfe3f41e8e2284b5172692baa4
|
||||
MISC ChangeLog 3138 SHA256 dca736ce7644068272280a07c6645833870e305a4d43ab51640161f589da3d3d SHA512 175d60fdaf2d009f98e775bfa4f274905335c96aa10c70154ac41efac59644f4850a0e13994ea4b303ad7ca05ed6d8717db78c817cdaa8bc0af7cbf1cbb39efc WHIRLPOOL 38f217748e00ff3019bd15f3d2ed6040304389c03ce0c24cab0e4c280074d6814f92c4702e8984341f5857d68fdf03bc56ddd07c42e787f9d44b73ab685385f8
|
||||
EBUILD authres-0.702.ebuild 697 SHA256 c0793319266aba16043fcf982ca1dbb25bedda1c2c67d599f2ecc78d7ccbd186 SHA512 ca0370717051d26c111cfcf6b444798485629a0a26958e3cd187ef0e37420b02d63d4ed4941363ed0eb750d93e9770c16d5890e3bdd24105b8afe08971da44db WHIRLPOOL c51e23e51061d92baef0b38af56a49edf6938d332fc0a19887ae5c897b2014fbd70180c87cd89d85540e37777e0bee74f4cee9322828f309c30851ea72e60f62
|
||||
MISC ChangeLog 3276 SHA256 c180565637e8cc6a2ef647921ea86ada08429076eea620a7adb2654a062ce1e3 SHA512 1f18da77d9ebfd4addebdaf91d78e096db1b85582d043076ef25e12c17ec2de9901b62dbf767022360e5a8c5ece6ffa50d3f8d5f3d2526af8583f78d05652ced WHIRLPOOL d0e11575e20af54b3ef2390d8525b219c41bc23370935caaf22c48f251e249e8d24048da04ce07dc6f69c5ce299b46fb696ff0c39df9ce37f5104c9c77ae8c69
|
||||
MISC metadata.xml 507 SHA256 2fca22b34c2fbcc2237fdc815f7242c2d1b39215d4b6586599def22a3b4e4a0a SHA512 e2678dcfec50edd3a20166aff881c5c2a7a1e5a276e42517606615eb710d6c39e9bb2579dea0571e6eb5898c910e2bb17a5dc2bb4a9d020d79a4b074abe28445 WHIRLPOOL 958aaa54dbec4ba5a511c648c937d1041a5ef825c7c255203e50299fb95e71f8ac0a130bc3606bdbedc0606440126d4302285e1ea309c1c8e81cf3450eb6dbb6
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQIcBAEBCAAGBQJUxhWeAAoJELp701BxlEWf040QALmmLPK3TakZETCsGso3oIVA
|
||||
zU4MZW6j3r0CuyY2kWtwIBC1kk5vd+CCkSjbrbx3KsYksXctKCUlk7kgkdDYOtdn
|
||||
Q9unoXi5yBKbXnxyVkUwmPiO1DG5V/OlnYaanbq7R/RrJ3CV6xRAb1STa9tc4piF
|
||||
0R1lbrPJz4ZHA0y5+PgQ9hUNu7A33ndrLSE1YXQ07UJ29wij2rifNPArz1eOBys4
|
||||
jIFVhJ/TAwBvbgpzPULqjltH9IrRDYGeYnRqG3cCAUKU2eoj25nvMdxT3OWvTld7
|
||||
3VvEcuwjwVJ5nLLVp0PDiPxmew+EJ4b+CGPB3GKMFexLXJo3edgaKQ/BIdQSN+QI
|
||||
Pmksls4VLFlYJ6TIBl6/RSmnfCckgQJY/b7uCKc6cwLucY1swvgdCP2Ek63PfdHN
|
||||
OlA5WEhC4iIjffZxItvm/zYk8s9b+wsetua8eBmMVJfMNAaId1DchiNc+YA5sFsX
|
||||
0yl4B6OhOa8bbc234EPKTewhJ8vEb+Zh7PIlhLCVcSGGMyghZ5rJ4fJziwmmuvII
|
||||
p/jm2vxHkB/eHjXpb6x8PzEXoDOtsceOgMJCmADCueW0bo1qN3J6WxfzvysqI1Am
|
||||
g9prRV9W0MJhjJwsL45KBEMzERthavr9V8ZxV4MaAocSv+YRb69IZIsgTWABiOhj
|
||||
u2lgufqrmKrNDs0wu/FD
|
||||
=ykXe
|
||||
iEYEAREIAAYFAlTVkQEACgkQso7CE7gHKw2w4QCfRSNU9Kvt8WoAO65V7tcRGtsi
|
||||
eygAnA9CbTTOVD1hQorbI3z+/pV1DF/U
|
||||
=RdFD
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/ecdsa/ecdsa-0.12.ebuild,v 1.1 2015/02/07 15:14:17 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="ECDSA cryptographic signature library in pure Python"
|
||||
HOMEPAGE="http://github.com/warner/python-ecdsa"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}-r1.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~s390 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint"
|
||||
IUSE=""
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/fabric/fabric-1.10.1.ebuild,v 1.1 2015/02/07 06:20:19 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Fabric"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A simple pythonic tool for remote execution and deployment"
|
||||
HOMEPAGE="http://fabfile.org http://pypi.python.org/pypi/Fabric"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/paramiko-1.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-docs-2.7.6-r1:2.7
|
||||
dev-python/alabaster[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
<dev-python/fudge-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Re-set intersphinx_mapping for doc build
|
||||
if use doc; then
|
||||
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
|
||||
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
|
||||
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
|
||||
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
|
||||
sed -e "s|'http://docs.python.org/2.6', None|'${PYTHON_DOC}', '${PYTHON_DOC_INVENTORY}'|" \
|
||||
-e "s| 'www'| #'www'|" \
|
||||
-i sites/docs/conf.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build -b html -c sites/docs/ sites/docs/ sites/docs/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests tests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( sites/docs/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue