Sync with portage [Wed Mar 26 11:32:15 MSK 2014].

mhiretskiy
root 10 years ago
parent 0b5d212bec
commit b839b40a5f

@ -1,4 +1,3 @@
DIST eselect-1.3.1.tar.xz 163908 SHA256 4fc1c3f1b021dd8d28475ab2115f6a2de843bbbb941a0f70999389d1e0d56444 SHA512 b62e3e9f9c145a92625d136ea14ffa9705fa312971160ee3bb33f285dd67f6e6f415c7b9909b902b872500663a7a79c6fe53f52d179de7b7e120c5de994effd3 WHIRLPOOL a04a20c25617c3a53b0937c7f01f6dc89677beb5e1917a8d078a7f4403d4d77b7342da47766a061bc9158962ada190901db5b99d4b9603c49d9b90d3ad57feb5
DIST eselect-1.3.8.tar.xz 168040 SHA256 d0c50bfe0faaddc54fc184f698ee74a6029a21f5155c4670a2bea3ead954c138 SHA512 159bf3ddb05b1966318eaf62d09e454a024f8be7ead2300392abbcbaa54ef748a1c4db1b2f96162994bcab43071396eb96a0b47268f04cb8557f8804818da18e WHIRLPOOL 9c4da0bde2ae2b53e8949d59b13498f55ef2c849dcc8cac503a7d0dda2511311d94dfc7aa27a97432f13aa0b430fec0ab280594dc165bbb40e573dce8c8a74b0 DIST eselect-1.3.8.tar.xz 168040 SHA256 d0c50bfe0faaddc54fc184f698ee74a6029a21f5155c4670a2bea3ead954c138 SHA512 159bf3ddb05b1966318eaf62d09e454a024f8be7ead2300392abbcbaa54ef748a1c4db1b2f96162994bcab43071396eb96a0b47268f04cb8557f8804818da18e WHIRLPOOL 9c4da0bde2ae2b53e8949d59b13498f55ef2c849dcc8cac503a7d0dda2511311d94dfc7aa27a97432f13aa0b430fec0ab280594dc165bbb40e573dce8c8a74b0
DIST eselect-1.4.1.tar.xz 168616 SHA256 c60eb7e3b6eea36560ea16f8378de3c86926988a1eee3e6dd98c12f0340869c0 SHA512 c6754c3bb71efda36b807f2275aff0cc7bf5c3f58cbc7543b8255592940dae341e4b597ff1376b0997c37bcd0b736d813630b9fe4a4da2f85765217d8634deab WHIRLPOOL a9fb2dc6904c57878c744f70f0bd66a18b574eec04f042fa5ab60f608f31a0c90554153f3362c633742bb9918cb14f146269e0972cdf97998c60c236ae966f66 DIST eselect-1.4.1.tar.xz 168616 SHA256 c60eb7e3b6eea36560ea16f8378de3c86926988a1eee3e6dd98c12f0340869c0 SHA512 c6754c3bb71efda36b807f2275aff0cc7bf5c3f58cbc7543b8255592940dae341e4b597ff1376b0997c37bcd0b736d813630b9fe4a4da2f85765217d8634deab WHIRLPOOL a9fb2dc6904c57878c744f70f0bd66a18b574eec04f042fa5ab60f608f31a0c90554153f3362c633742bb9918cb14f146269e0972cdf97998c60c236ae966f66
DIST eselect-1.4.tar.xz 168580 SHA256 38f457567ac6a400763e49c215a78d5a7efc3edad589dda37bbd70847e3e7260 SHA512 4c28df99d3a235ccda60cb576634cde6110d3b7bc2fb7b8e3e9a69f7e09377dd9a5c615d6bf0ab8d668c137e8f658484fd28c0fe45e6ad3b7915925a3384b999 WHIRLPOOL 6646c023283b111bf7a973993dfe8537bdd3fab4c6c738af1f37c1aed1bddefbf834562036386dce1359d1b04da89049e7c60e4498733ac56587e037ca0ea87f DIST eselect-1.4.tar.xz 168580 SHA256 38f457567ac6a400763e49c215a78d5a7efc3edad589dda37bbd70847e3e7260 SHA512 4c28df99d3a235ccda60cb576634cde6110d3b7bc2fb7b8e3e9a69f7e09377dd9a5c615d6bf0ab8d668c137e8f658484fd28c0fe45e6ad3b7915925a3384b999 WHIRLPOOL 6646c023283b111bf7a973993dfe8537bdd3fab4c6c738af1f37c1aed1bddefbf834562036386dce1359d1b04da89049e7c60e4498733ac56587e037ca0ea87f

@ -1,68 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.3.1.ebuild,v 1.13 2013/12/07 19:08:28 ulm Exp $
EAPI=3
inherit bash-completion-r1
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
SRC_URI="http://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
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 ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc"
RDEPEND="sys-apps/sed
|| (
sys-apps/coreutils
sys-freebsd/freebsd-bin
app-misc/realpath
)"
DEPEND="${RDEPEND}
app-arch/xz-utils
doc? ( dev-python/docutils )"
RDEPEND="!app-admin/eselect-news
${RDEPEND}
sys-apps/file
sys-libs/ncurses"
# Commented out: only few users of eselect will edit its source
#PDEPEND="emacs? ( app-emacs/gentoo-syntax )
# vim-syntax? ( app-vim/eselect-syntax )"
src_compile() {
emake || die
if use doc; then
emake html || die
fi
}
src_install() {
emake DESTDIR="${D}" install || die
newbashcomp misc/${PN}.bashcomp ${PN} || die
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt || die
if use doc; then
dohtml *.html doc/* || die
fi
# needed by news module
keepdir /var/lib/gentoo/news
if ! use prefix; then
fowners root:portage /var/lib/gentoo/news || die
fperms g+w /var/lib/gentoo/news || die
fi
}
pkg_postinst() {
# fowners in src_install doesn't work for the portage group:
# merging changes the group back to root
if ! use prefix; then
chgrp portage "${EROOT}/var/lib/gentoo/news" \
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
fi
}

@ -26,7 +26,7 @@ we know the answer already, so hardcode it to true.
-} -}
-_ACEOF -_ACEOF
-if ac_fn_c_try_run "$LINENO"; then : -if ac_fn_c_try_run "$LINENO"; then :
+if true; then +if false; then
+if true; then +if true; then
$as_echo "#define BINARY_MODE_POPEN 1" >>confdefs.h $as_echo "#define BINARY_MODE_POPEN 1" >>confdefs.h

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.14.ebuild,v 1.4 2014/03/16 17:14:55 maekke Exp $ # $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.14-r1.ebuild,v 1.1 2014/03/25 20:50:36 vapier Exp $
EAPI="5" EAPI="5"

@ -1,2 +1,2 @@
DIST obnam_1.6.1.orig.tar.gz 177104 SHA256 69bca2d17d7b4ebc0f2ca15a4d0777e266aa5214a8de1537ecc35f1cadb42510 SHA512 5223dabae927a91825041d755c0c410c9579c946210653b25a8d84dcf8f3c754d3dd460bb097d88a488bd2fb88c7edc8550d74130841e6caf13113ceefe5fffb WHIRLPOOL 6f1fa2be34bead5f2887b505708c9e1ed05dddd457b59362dd166f5be5ef7302a74746a9bfde17eaee142ebdb8389ef8b73281f936a1e80ea161c9b04dc8c0d1 DIST obnam_1.6.1.orig.tar.gz 177104 SHA256 69bca2d17d7b4ebc0f2ca15a4d0777e266aa5214a8de1537ecc35f1cadb42510 SHA512 5223dabae927a91825041d755c0c410c9579c946210653b25a8d84dcf8f3c754d3dd460bb097d88a488bd2fb88c7edc8550d74130841e6caf13113ceefe5fffb WHIRLPOOL 6f1fa2be34bead5f2887b505708c9e1ed05dddd457b59362dd166f5be5ef7302a74746a9bfde17eaee142ebdb8389ef8b73281f936a1e80ea161c9b04dc8c0d1
DIST obnam_1.7.orig.tar.gz 256458 SHA256 a753e4985f1437841417047d11ebd489efeca53626df8beb86f9714307f8b0b5 SHA512 d2f1cfa9e70811a27e8c3006b773013279a5c28c208f8a27f5d8c35d880170655aae7118ed4b0196bfa5739d4fc1722925717e4158ccb18fc6269289a631313f WHIRLPOOL 07db90ac5ac9d13d134786f9d4a3ba986fdadcd64e98fbe444b3c8b194ab132726ac36bf7a980b91435ae20fdae4ec9a120e30784b8c8b38dde5004db47de332 DIST obnam_1.7.2.orig.tar.gz 257675 SHA256 f7431e9d7d2aba7e1dfdc831f796177fb8944725f77c0c2a5558d6ef7733a17c SHA512 f05ca3bc8b8acabf0592353e0e95c742af7e7544e6d91236c54c1f74adb290d969d9afb16d2951c1f522e75e42c7044f30c4932391d29f0f3efb6be2999909f7 WHIRLPOOL 3b891afdc3fd70a96d82e1a84b8b92a68cce5a1410b725444e0c3796a21f6afbc1216d0ea18e0e8ff55e5a6bdee901b2856c5e8c4ac68f7f238a2a98a6600512

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/obnam-1.7.ebuild,v 1.1 2014/03/16 17:58:00 mschiff Exp $ # $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/obnam-1.7.2.ebuild,v 1.1 2014/03/25 21:37:28 mschiff Exp $
EAPI=5 EAPI=5
@ -24,7 +24,6 @@ DEPEND="${PYTHON_DEPS}
dev-python/cliapp dev-python/cliapp
dev-python/larch dev-python/larch
dev-python/paramiko dev-python/paramiko
dev-python/pyyaml
dev-python/tracing dev-python/tracing
dev-python/ttystatus dev-python/ttystatus
" "

@ -1,2 +1,3 @@
DIST cardpeek-0.7.1.tar.gz 599238 SHA256 fa7f4fcabf211fefb968a5a49099e9a07430995556b7d59e95eeefef59538546 SHA512 8ea7f69e096de37543fec779372355a6f6cad709e43a4a66a072b453f962ebe55d25e432fb426cd88824f7165d724ddc6da55a6106e571608162b8094823be45 WHIRLPOOL 95f41d53840969beb3b98729c22ed8fe1e781ab6fe36ad3387cddf52963c2d56f5bca95955681cea839ce64ab6afddfc4d3cbf403e320d8dfec37ac0bd3a68bd DIST cardpeek-0.7.1.tar.gz 599238 SHA256 fa7f4fcabf211fefb968a5a49099e9a07430995556b7d59e95eeefef59538546 SHA512 8ea7f69e096de37543fec779372355a6f6cad709e43a4a66a072b453f962ebe55d25e432fb426cd88824f7165d724ddc6da55a6106e571608162b8094823be45 WHIRLPOOL 95f41d53840969beb3b98729c22ed8fe1e781ab6fe36ad3387cddf52963c2d56f5bca95955681cea839ce64ab6afddfc4d3cbf403e320d8dfec37ac0bd3a68bd
DIST cardpeek-0.7.2.tar.gz 1130295 SHA256 9908b38a91b4df80ec5a6d6a89780dd41684dc1f203587c1bcc8e4a13cb24ed2 SHA512 9fd1790794b8d092859670bb36a0cdd235e7d098d563032ccdb8143eac00bb77532f1ab918897c4b753afd184079975de34a6f645e31eadb28b6c5a81d344ecd WHIRLPOOL 777397ca535d820453e4d315be495fc5cf845feea457c666cf935d19b8e2c7556b51e4e23f8d009c6165626c450fe5b92413841d0ee56fd6f1d549716ee05e56 DIST cardpeek-0.7.2.tar.gz 1130295 SHA256 9908b38a91b4df80ec5a6d6a89780dd41684dc1f203587c1bcc8e4a13cb24ed2 SHA512 9fd1790794b8d092859670bb36a0cdd235e7d098d563032ccdb8143eac00bb77532f1ab918897c4b753afd184079975de34a6f645e31eadb28b6c5a81d344ecd WHIRLPOOL 777397ca535d820453e4d315be495fc5cf845feea457c666cf935d19b8e2c7556b51e4e23f8d009c6165626c450fe5b92413841d0ee56fd6f1d549716ee05e56
DIST cardpeek-0.8.2.tar.gz 1361187 SHA256 5c616aca68918ce35c8c8378006afdb524f9eef76a2ccc296f5365d389b46c61 SHA512 184539ef926a6ac63d41926b05160d6b91c0ca041d1b40a3e2f5314f9cb35730fbcb9be7c08d2be6f94bc121021168c45235bfa4ccac0fbd28c47159c7a89602 WHIRLPOOL 88e81a52fa485cd56a6e40f99cd5bcfb0532bb86b4c6ac4a789d0118de1468004ddb8963f778eaf5329a5bccf663a2040dc3c2a32d2c0f9124778239212e783d

@ -0,0 +1,25 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/cardpeek/cardpeek-0.8.2.ebuild,v 1.1 2014/03/25 13:26:24 alonbl Exp $
EAPI=5
inherit eutils
DESCRIPTION="Tool to read the contents of smartcards"
HOMEPAGE="http://pannetrat.com/Cardpeek"
SRC_URI="http://downloads.pannetrat.com/install/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="sys-apps/pcsc-lite
=dev-lang/lua-5.2*
x11-libs/gtk+:3
net-misc/curl
dev-libs/openssl"
DEPEND="${RDEPEND}
virtual/pkgconfig"

@ -1,2 +1 @@
DIST auctex-11.86.tar.gz 1179117 SHA256 3fc2cdbc0c8be1d385061ccb2e8c920b57344ea40eb44e014faf501c5d20e43b SHA512 fd7a7074e6f4c764d3164137a471e4b0ba59fead2ca85cef0b0da634cd679efefbca7ead6def3dedc7322cb9260f596ee6fc6c05ff20eac4a1d911a9ce73b4c4 WHIRLPOOL cf87c6a96309110181d506177104a7599cbd2db6137c5c79d4dc1697dfa230e5cef0fea9287151b0591a99feeea183822a80b0510c01ba72dde9324e783ba8ed
DIST auctex-11.87.tar.gz 1206073 SHA256 63d57229e585dbf727f5545337615b997488bfdf475274da0718c90b77bd5cf2 SHA512 41a575a36ef2c111f214ad2e87a06c246751859a14ad3f8af77aaf180d8357a4c8d44c2f344b673404d2e011cdf4a193abda93f1b26ffff663f310ed430c5fa1 WHIRLPOOL d3bee56c1b940a2eb041a5b3b6e5ffe876b740e97c5793dd9295b42723abb5febd1fc40d9a0007df5d63f00547a5a59202eca2c102dfb878924ac07dac504eb0 DIST auctex-11.87.tar.gz 1206073 SHA256 63d57229e585dbf727f5545337615b997488bfdf475274da0718c90b77bd5cf2 SHA512 41a575a36ef2c111f214ad2e87a06c246751859a14ad3f8af77aaf180d8357a4c8d44c2f344b673404d2e011cdf4a193abda93f1b26ffff663f310ed430c5fa1 WHIRLPOOL d3bee56c1b940a2eb041a5b3b6e5ffe876b740e97c5793dd9295b42723abb5febd1fc40d9a0007df5d63f00547a5a59202eca2c102dfb878924ac07dac504eb0

@ -1,70 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/auctex-11.86-r1.ebuild,v 1.9 2012/12/03 22:04:59 ulm Exp $
EAPI=3
inherit elisp eutils latex-package
DESCRIPTION="Extended support for writing, formatting and using (La)TeX, Texinfo and BibTeX files"
HOMEPAGE="http://www.gnu.org/software/auctex/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3+ FDL-1.3+"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE="preview-latex"
DEPEND="virtual/latex-base
preview-latex? (
app-text/dvipng
app-text/ghostscript-gpl )"
RDEPEND="${DEPEND}"
ELISP_PATCHES="${P}-ghostscript9.patch"
TEXMF="/usr/share/texmf-site"
src_prepare() {
elisp_src_prepare
# Remove broken Info file (will be recreated by the build system)
rm doc/auctex.info*
}
src_configure() {
EMACS_NAME=emacs EMACS_FLAVOUR=emacs econf --disable-build-dir-test \
--with-auto-dir="${EPREFIX}/var/lib/auctex" \
--with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
--with-packagelispdir="${EPREFIX}${SITELISP}/${PN}" \
--with-packagedatadir="${EPREFIX}${SITEETC}/${PN}" \
--with-texmf-dir="${EPREFIX}${TEXMF}" \
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
$(use_enable preview-latex preview)
}
src_compile() {
export VARTEXFONTS="${T}"/fonts
emake || die "emake failed"
cd doc; emake tex-ref.pdf || die "creation of tex-ref.pdf failed"
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "emake install failed"
elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" || die
if use preview-latex; then
elisp-site-file-install "${FILESDIR}/60${PN}-gentoo.el" || die
fi
keepdir /var/lib/auctex
dodoc ChangeLog CHANGES README RELEASE TODO FAQ INSTALL*
}
pkg_postinst() {
# rebuild TeX-inputfiles-database
use preview-latex && latex-package_pkg_postinst
elisp-site-regen
}
pkg_postrm(){
use preview-latex && latex-package_pkg_postrm
elisp-site-regen
}

@ -1,42 +0,0 @@
http://bugs.gentoo.org/351774
Patch from upstream CVS
--- auctex-11.86-orig/preview/preview.el
+++ auctex-11.86/preview/preview.el
@@ -355,7 +355,7 @@
:group 'preview-gs
:type 'string)
-(defcustom preview-gs-options '("-q" "-dSAFER" "-dNOPAUSE"
+(defcustom preview-gs-options '("-q" "-dDELAYSAFER" "-dNOPAUSE"
"-DNOPLATFONTS" "-dPrinted"
"-dTextAlphaBits=4"
"-dGraphicsAlphaBits=4")
@@ -1066,14 +1066,21 @@
(defun preview-prepare-fast-conversion ()
"This fixes up all parameters for fast conversion."
- (let ((file (if (consp (car preview-ps-file))
- (if (consp (caar preview-ps-file))
- (car (last (caar preview-ps-file)))
- (caar preview-ps-file))
- (car preview-ps-file))))
+ (let* ((file (if (consp (car preview-ps-file))
+ (if (consp (caar preview-ps-file))
+ (car (last (caar preview-ps-file)))
+ (caar preview-ps-file))
+ (car preview-ps-file)))
+ (all-files (if (and (consp (car preview-ps-file))
+ (consp (caar preview-ps-file)))
+ (caar preview-ps-file)
+ (list file))))
(setq preview-gs-dsc (preview-dsc-parse file))
(setq preview-gs-init-string
- (concat preview-gs-init-string
+ (concat (format "{<</PermitFileReading[%s]>> setuserparams \
+.locksafe} stopped pop "
+ (mapconcat 'preview-ps-quote-filename all-files ""))
+ preview-gs-init-string
(format "[%s(r)file]aload exch %s .runandhide aload pop "
(preview-ps-quote-filename file)
(preview-gs-dsc-cvx 0 preview-gs-dsc))))))

@ -1,2 +1 @@
DIST blogmax-20041208.tar.bz2 84894 SHA256 2b62d84d2e8b0c0964fca9d66de7057019ad93732e081d042bd0fbbfb67a3542 SHA512 82f1ed2358189b3094584d926e28c7eb2e78389e4330dea7e72883164690c0c38fcadcdb102b8ea54646bbf339c4d4883497692db4dfa2d79f41a8e4f693ad59 WHIRLPOOL ecff5d7c2f095a13156a764d5bfd61b1686adced662b41ff8162580c61806bce44b6844c291f04f388f8fb0ccd993c3244cfa43e7e1a68d27f1066cb8588b733
DIST blogmax-20110305.zip 194956 SHA256 c2143b7df9d194f0f97d9ddddf5e4bcabe5fdc78fd0b9cad200e2a528b5632c5 SHA512 dc0529c5d61ea9beaecf9dfdfe0631ae31fb9737845aa81f2ac7c19df7aa30eb7392f73ea96a00b678cd441f0815129bb04d521e697ce2cb3938d8699483d19b WHIRLPOOL f8fce4a9f37058f209c2076ba2473d6b57825204feb0ec68b39074c74e56b0fb6481bd640894e83dbb175b9cdec3df18b12bb408046b8186948deddfe8ede26f DIST blogmax-20110305.zip 194956 SHA256 c2143b7df9d194f0f97d9ddddf5e4bcabe5fdc78fd0b9cad200e2a528b5632c5 SHA512 dc0529c5d61ea9beaecf9dfdfe0631ae31fb9737845aa81f2ac7c19df7aa30eb7392f73ea96a00b678cd441f0815129bb04d521e697ce2cb3938d8699483d19b WHIRLPOOL f8fce4a9f37058f209c2076ba2473d6b57825204feb0ec68b39074c74e56b0fb6481bd640894e83dbb175b9cdec3df18b12bb408046b8186948deddfe8ede26f

@ -1,27 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/blogmax/blogmax-20041208.ebuild,v 1.6 2007/07/04 23:32:59 opfer Exp $
inherit elisp
DESCRIPTION="Blogging in Emacs"
HOMEPAGE="http://billstclair.com/blogmax/index.html"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
src_unpack() {
unpack ${A}; rm -f *.elc
}
src_install() {
elisp-install ${PN} blogmax.{el,elc}
elisp-site-file-install "${FILESDIR}/50blogmax-gentoo.el"
dodoc "${FILESDIR}/README.Gentoo"
dodir /usr/share/doc/${PF}/example
cp -r * "${D}/usr/share/doc/${PF}/example"
pushd "${D}/usr/share/doc/${PF}/example"
rm -f blogmax.{el,elc}
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/blogmax/blogmax-20110305.ebuild,v 1.1 2014/02/16 11:52:46 ulm Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emacs/blogmax/blogmax-20110305.ebuild,v 1.2 2014/03/25 20:37:48 ulm Exp $
EAPI=5 EAPI=5
@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~ppc ~x86"
DEPEND="app-arch/unzip" DEPEND="app-arch/unzip"
S="${WORKDIR}/${PN}" S="${WORKDIR}/${PN}"
SITEFILE="50${PN}-gentoo-${PV}.el" SITEFILE="50${PN}-gentoo.el"
src_prepare() { src_prepare() {
rm *.elc gpl.txt || die rm *.elc gpl.txt || die

@ -1,4 +0,0 @@
(add-to-list 'load-path "@SITELISP@")
(autoload 'weblog-mode "blogmax" "Weblog" t)
(autoload 'weblog-set-buffer-mode "blogmax"
"Set the mode to weblog-mode for text files in the *weblog-directory*" t)

@ -1,5 +1,4 @@
;;; blogmax site-lisp configuration
(add-to-list 'load-path "@SITELISP@") (add-to-list 'load-path "@SITELISP@")
(require 'blogmax) (autoload 'weblog-mode "blogmax" "Weblog" t)
(autoload 'weblog-set-buffer-mode "blogmax"
"Set the mode to weblog-mode for text files in the *weblog-directory*" t)

@ -1,2 +1 @@
DIST color-moccur-2.66.el.bz2 22149 SHA256 33093325392023286f6389efd542e4846fe19de347e19e4daa10e40a2ebc6ddf SHA512 cb20a02531efc17ce1b736a4f6476ed580eed034dae53bb6619e26d05fc5fb97cb8f447cb5ae3108a0186b89ac840acf9690a0cfe231d4fec003efbaff7172a7 WHIRLPOOL cb044fe66c6aee608f17f21a7df8ccd5df1f460991a714499774f37f5931b00788a7673bb66f345b848a874a18d2012180acc6676f6d8ccd6c7d3aa1b05a18cc
DIST color-moccur-2.73.el.xz 22252 SHA256 5abd5ac46edd213c5b6065f549d969104465c91cd0c4226c83d283355652469f SHA512 15ce4c9776e5a5bb273c31b8552a8f434a2a4065e874ee558ef2b9dd19ccda6f5807430e7588c4e2e1add8d0d94dba3e19be2745138ea440d4ac2705efdbf528 WHIRLPOOL af48750930e2dda291e1a360a0e981faad4849c572f2f36b6ce8701409c9853be7966716ff5d293f83a3acbc76a3bbdf5f3868111d27c63fb655aafc5ad1a7eb DIST color-moccur-2.73.el.xz 22252 SHA256 5abd5ac46edd213c5b6065f549d969104465c91cd0c4226c83d283355652469f SHA512 15ce4c9776e5a5bb273c31b8552a8f434a2a4065e874ee558ef2b9dd19ccda6f5807430e7588c4e2e1add8d0d94dba3e19be2745138ea440d4ac2705efdbf528 WHIRLPOOL af48750930e2dda291e1a360a0e981faad4849c572f2f36b6ce8701409c9853be7966716ff5d293f83a3acbc76a3bbdf5f3868111d27c63fb655aafc5ad1a7eb

@ -1,18 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/color-moccur/color-moccur-2.66.ebuild,v 1.1 2010/04/01 18:55:33 ulm Exp $
inherit elisp
DESCRIPTION="Major mode for color moccur"
HOMEPAGE="http://www.bookshelf.jp/
http://www.emacswiki.org/cgi-bin/wiki/SearchBuffers"
# taken from http://www.bookshelf.jp/elc/color-moccur.el
SRC_URI="mirror://gentoo/${P}.el.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
SITEFILE="50${PN}-gentoo.el"

@ -1 +0,0 @@
DIST gnuserv-3.12.8.tar.gz 124070 SHA256 c9ba560e7d773c175ef1cbced8fae17d7a921b050a11457971a7b7a6216aeed9 SHA512 e8f387a554c22fb2eb166d388085b9d68a0d865ae56ab71f3ffe09ff46bef04a4ba5b05ca51a1110e1dff67ae2cd6acc8b18a0fb9df9299dbbf4a001f0924f31 WHIRLPOOL 56203ac84fe967f8c602ac5eaf9d3e9ad5f2b0feb68c8719ff3ca7b61d44c676e0c52f42c7919eed39ffaa25683f28b558a0b55b23ef8a11bdbf3665f8017616

@ -1,44 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/gnuserv-programs/gnuserv-programs-3.12.8-r1.ebuild,v 1.3 2010/08/12 02:38:12 phajdan.jr Exp $
EAPI="3"
inherit multilib
DESCRIPTION="Binary programs for app-emacs/gnuserv"
HOMEPAGE="http://meltin.net/hacks/emacs/"
SRC_URI="http://meltin.net/hacks/emacs/src/gnuserv-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~x86-linux ~ppc-macos"
IUSE="X"
DEPEND="!app-editors/xemacs
!<=app-emacs/gnuserv-3.12.7
X? ( x11-libs/libXau )"
RDEPEND="${DEPEND}"
PDEPEND="~app-emacs/gnuserv-${PV}"
S="${WORKDIR}/gnuserv-${PV}"
src_configure() {
# bug #83112
unset LDFLAGS
econf $(use_enable X xauth) \
--x-includes="${EPREFIX}"/usr/include \
--x-libraries="${EPREFIX}"/usr/$(get_libdir)
}
src_compile() {
emake ELC="" || die "emake failed"
}
src_install() {
emake -j1 ELC="" \
prefix="${ED}"/usr \
man1dir="${ED}"/usr/share/man/man1 \
install || die "emake install failed"
}

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>emacs</herd>
</pkgmetadata>

@ -1,2 +1 @@
DIST mode-compile-2.29.1.tar.gz 22924 SHA256 9c7dafa3a5c5706316a01071a2769beeecf228d0831fceb53d27d4e47c9d0421 SHA512 bc43d9cae411f5177ce70c736041db74c6db1dc5b766b22b92227e9e1324d304276bd104d8e3cac9ff5a877fc48b6da5b904e1acdb6cca7396fc7c26cc572815 WHIRLPOOL 3980e43e28438f5eefbd1d8e689cc18d9cc922857ec3e32b58c6aa6d056cc6798c2094b65de28705db6dfc95e493a06858a208c536f2c9d217027d47c4b311a9 DIST mode-compile-2.29.1.tar.gz 22924 SHA256 9c7dafa3a5c5706316a01071a2769beeecf228d0831fceb53d27d4e47c9d0421 SHA512 bc43d9cae411f5177ce70c736041db74c6db1dc5b766b22b92227e9e1324d304276bd104d8e3cac9ff5a877fc48b6da5b904e1acdb6cca7396fc7c26cc572815 WHIRLPOOL 3980e43e28438f5eefbd1d8e689cc18d9cc922857ec3e32b58c6aa6d056cc6798c2094b65de28705db6dfc95e493a06858a208c536f2c9d217027d47c4b311a9
DIST mode-compile-2.29.el.bz2 21579 SHA256 c7cd617d5b1445638621b37f21a062de41f9b3b3eef829d9aa045a5571cb6556 SHA512 31573552298f2ffa8e89dbdb4155f3c95c5e354966ec4966098fe90bffd0e8fd8ecd86a7453adc10fb551622b9929aa58ce3abeb90b605373d6d4a874aa5ba7c WHIRLPOOL 85f1f740d3f3fe311bbc888bcdeba0a9ebb614b0adaae231d0aeb0912862e79c44130880d1e636a7465c9bc8f92261e0eecf961ecf800b60bbba1d76ee5b0e40

@ -1,17 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mode-compile/mode-compile-2.29.ebuild,v 1.3 2008/06/14 23:28:25 ulm Exp $
inherit elisp
DESCRIPTION="Smart command for compiling files according to major-mode"
HOMEPAGE="http://perso.tls.cena.fr/boubaker/Emacs/"
# Taken from http://perso.tls.cena.fr/boubaker/distrib/${PN}.el
SRC_URI="mirror://gentoo/${P}.el.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
SITEFILE=50${PN}-gentoo.el

@ -1,2 +1 @@
DIST paredit-22.tar.bz2 23140 SHA256 51786d7c78261e2f282f9045c1fac202c7055d82517fdd5fe0accb03fea2a03c SHA512 2ccfe1afee96f8755bf007710cebbcd6e74a89c740c0975d814820d67d592878c6fb505138613894e164628b41ae491a992f5f060f943e79a95dd4026fdd9f6d WHIRLPOOL 5b548ca59af48c095feb63f88750201636665a70224b92f14509f1a55be666359bba8c4fae21d027a56a59c01ec6651f9e444b540876fe2c6e349a8532f609cb
DIST paredit-23.tar.xz 24204 SHA256 c501d5a716258a6b6758cc40d3e12b3d7271e62b457202271402e8ad43053478 SHA512 33ae10d95d3b2d8fe2466fba20d6aa0abac56684807fb381ab0db2798e99e2358c6dca71794b95768b53be661b9181f458e932bb37c31ba7ebba155a57f1bb01 WHIRLPOOL 4e2f6ee89f6cf9edd4b0b88e03f8b26f288f646cca14324025d022d34d756e44cfb8bb8289345ca77f3bdeecc1d1c114c90a496d094149d4d0f59ce28affce93 DIST paredit-23.tar.xz 24204 SHA256 c501d5a716258a6b6758cc40d3e12b3d7271e62b457202271402e8ad43053478 SHA512 33ae10d95d3b2d8fe2466fba20d6aa0abac56684807fb381ab0db2798e99e2358c6dca71794b95768b53be661b9181f458e932bb37c31ba7ebba155a57f1bb01 WHIRLPOOL 4e2f6ee89f6cf9edd4b0b88e03f8b26f288f646cca14324025d022d34d756e44cfb8bb8289345ca77f3bdeecc1d1c114c90a496d094149d4d0f59ce28affce93

@ -1,22 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/paredit/paredit-22.ebuild,v 1.1 2010/10/09 21:01:34 ulm Exp $
inherit elisp
DESCRIPTION="Minor mode for performing structured editing of S-expressions"
HOMEPAGE="http://mumble.net/~campbell/emacs/
http://www.emacswiki.org/cgi-bin/wiki/ParEdit"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
SITEFILE="50${PN}-gentoo.el"
src_install() {
elisp_src_install
dohtml *.html || die
}

@ -1,2 +1 @@
DIST quack-0.37.el.bz2 42676 SHA256 933d7fe3e909e3e6aa560105cb5973d275d9acf8cbd60d0bd128e109b5d7e939 SHA512 e9548b73e97cdd1a896df84744341b2dfa62055b2e8ff44f6af2fdbb43ef9f6c213675366cd8aa081ea48ec0f99b2fc87b6551a77393bd39fbd121c4325e06c2 WHIRLPOOL bef800d9478ff5314d4a47216a6d01375bbf1381154269bdaf787569be069fc2b40b4fc67be0f4e873b472a7a3690b17bb35c73becc6c12852fbb0d3a7c12773
DIST quack-0.47.el.xz 44508 SHA256 9f3173d0b8ab9bf070ef8e823c0d7c65e4992cef47df94f1a6eeaed96316956e SHA512 41775f5850518a8738aae9d7185c733ad4d5a778859a9d9a7235c84184fb7b84dd49d37a607291f39fac4ddc1cd507806a01dd19ab3351646ecf35e747feb8ce WHIRLPOOL ab284d3d520b49368726ed00164811ac8601a0d298d2bddc54f4677a621ca1c0ff2ebb3c244c59c18f7929e9dc8c2c6014f95036bf325ec531c3cc597e9d69c5 DIST quack-0.47.el.xz 44508 SHA256 9f3173d0b8ab9bf070ef8e823c0d7c65e4992cef47df94f1a6eeaed96316956e SHA512 41775f5850518a8738aae9d7185c733ad4d5a778859a9d9a7235c84184fb7b84dd49d37a607291f39fac4ddc1cd507806a01dd19ab3351646ecf35e747feb8ce WHIRLPOOL ab284d3d520b49368726ed00164811ac8601a0d298d2bddc54f4677a621ca1c0ff2ebb3c244c59c18f7929e9dc8c2c6014f95036bf325ec531c3cc597e9d69c5

@ -1,16 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/quack/quack-0.37.ebuild,v 1.1 2009/10/15 19:07:48 ulm Exp $
inherit elisp
DESCRIPTION="Enhances Emacs support for Scheme"
HOMEPAGE="http://www.neilvandyke.org/quack/"
SRC_URI="mirror://gentoo/${P}.el.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
SITEFILE="50${PN}-gentoo.el"

@ -1,2 +1 @@
DIST scala-tool-support-2.10.3.tgz 26040 SHA256 d0f67730614f81e7387cdc3cbab633bd0b823a8d84e9d01ac545fd91c5d8e050 SHA512 77bd695d1e577d05884a8b70d4edcc6a0af1da13de0f8cdf54d5636e0e93c22ec919ccd3d79e92382b6a9fe8085a08af37b9f5428c1ed14359faf8fc860a81b5 WHIRLPOOL be1742f55c03f80a819a4336bf01d89d32ab6d0cfc080e08c7b27479cb76d19a2d03aefc66ee286f5eb28e0aa9952586801534dba2df2ab24f2d317b245be780 DIST scala-tool-support-2.10.3.tgz 26040 SHA256 d0f67730614f81e7387cdc3cbab633bd0b823a8d84e9d01ac545fd91c5d8e050 SHA512 77bd695d1e577d05884a8b70d4edcc6a0af1da13de0f8cdf54d5636e0e93c22ec919ccd3d79e92382b6a9fe8085a08af37b9f5428c1ed14359faf8fc860a81b5 WHIRLPOOL be1742f55c03f80a819a4336bf01d89d32ab6d0cfc080e08c7b27479cb76d19a2d03aefc66ee286f5eb28e0aa9952586801534dba2df2ab24f2d317b245be780
DIST scala-tool-support-2.9.0.1.zip 183929 SHA256 f597707fd2f14a569b0b3cfa233cda6f5996bceab37ca930cd3f182a9874fc3a SHA512 ae535c9e51e3fc4481a85e1a3b5f5fd44357425cef417d9e74ba9f30ae72f8630c85d50b26c48f1f7743ad10c15f9a0e00df1bda52aef613c927061269d53ac4 WHIRLPOOL 17c3226dcf817356471bcbe001c2c39538d4ebc8742dabb7e4260608ce391355d070a8e4896208d61eacf3b325d54dc5ef26fe3755d7f3bdabc14e7126e2f361

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/scala-mode/scala-mode-2.10.3.ebuild,v 1.1 2014/02/10 20:03:19 ulm Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emacs/scala-mode/scala-mode-2.10.3.ebuild,v 1.2 2014/03/25 19:17:04 ulm Exp $
EAPI=5 EAPI=5
@ -15,7 +15,6 @@ LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
DEPEND="app-arch/unzip"
RDEPEND="dev-lang/scala" RDEPEND="dev-lang/scala"
S="${WORKDIR}/${MY_P}/scala-emacs-mode" S="${WORKDIR}/${MY_P}/scala-emacs-mode"

@ -1,24 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/scala-mode/scala-mode-2.9.0.1.ebuild,v 1.1 2011/06/07 08:10:36 ali_bush Exp $
EAPI=2
inherit elisp
MY_P="scala-tool-support-${PV}"
DESCRIPTION="Scala mode for Emacs"
HOMEPAGE="http://www.scala-lang.org/"
SRC_URI="http://www.scala-lang.org/downloads/distrib/files/scala-packages/${MY_P}.sbp -> ${MY_P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND="dev-lang/scala"
S="${WORKDIR}/misc/scala-tool-support/emacs/"
SITEFILE="50${PN}-gentoo.el"
DOCS="AUTHORS FUTURE README"

@ -1,2 +1 @@
DIST ssh-1.9.tar.gz 5486 SHA256 63a460b698846481cfbb298f98627a5d1adbdf28804782201ebd390eb5c38173 SHA512 f0282dcb4387d4b7aa6a47ea1462c4a2963de6dc1648b4bbea5c552c6079f9a23f5f789f180e759114b94434072b789a37e9d672927dfeac9d713e7d5c5b8876 WHIRLPOOL 8f126f82819be347a89408ce3ab6838c1d81a2208837ee5d5ec2ac55aab978a4fb2a257da6458d1bb7d41767fb3324b7cc1cc658ad8990f212705dbaa8187800
DIST ssh-20120709.el.xz 4876 SHA256 7e3553c4d19c695c6955f89f62991a4a019e78504318956321f8771f9d615910 SHA512 69048f160bdd1b8ca29f0d49734cff7f9c4360ca9dd2abdacfcbca61bb964e84c962bf6388f424c0eb0161f1e8c8c9787dafebc084826b27d94300fba475ab9c WHIRLPOOL 81af759215bf637099aff22685abdae08241dcb37eb2e2eb61a523d94e079b7d3fa511d10f1bb305b059041e2f6a8cbd9288f7cc949fd51e9df15cb40681fa50 DIST ssh-20120709.el.xz 4876 SHA256 7e3553c4d19c695c6955f89f62991a4a019e78504318956321f8771f9d615910 SHA512 69048f160bdd1b8ca29f0d49734cff7f9c4360ca9dd2abdacfcbca61bb964e84c962bf6388f424c0eb0161f1e8c8c9787dafebc084826b27d94300fba475ab9c WHIRLPOOL 81af759215bf637099aff22685abdae08241dcb37eb2e2eb61a523d94e079b7d3fa511d10f1bb305b059041e2f6a8cbd9288f7cc949fd51e9df15cb40681fa50

@ -1,15 +0,0 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ssh/ssh-1.9.ebuild,v 1.1 2006/03/06 17:15:24 mkennedy Exp $
inherit elisp
DESCRIPTION="Directory tracking and special character handling support for SSH sessions in Emacs shell buffers."
HOMEPAGE="http://www.splode.com/~friedman/software/emacs-lisp/index.html#ssh"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~sparc"
IUSE=""
SITEFILE=50ssh-gentoo.el

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ssh/ssh-20120709.ebuild,v 1.1 2014/02/15 10:26:16 ulm Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emacs/ssh/ssh-20120709.ebuild,v 1.2 2014/03/25 20:40:38 ulm Exp $
EAPI=5 EAPI=5
@ -12,6 +12,6 @@ SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
LICENSE="GPL-2+" LICENSE="GPL-2+"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~sparc" KEYWORDS="~amd64 ~ppc ~sparc ~x86"
SITEFILE="50${PN}-gentoo.el" SITEFILE="50${PN}-gentoo.el"

@ -1 +0,0 @@
DIST tnt-2.6.tar.gz 112490 SHA256 207ee988867537f8707c26503c6c7c9c2f9f818720199a813360d60e66d272eb SHA512 379338e53c9236809ffb48e8e46ef6c02774f2d8a105c88d8d093f6bcb798dafb9addbbce665b0f98b3e1b6aa1ebb81c15bbc475cfb8d5cf9ed28ea3f673e5f3 WHIRLPOOL 15fca08180550bfdf89e3647100044198d010e86f9b37ebf0fd9779da7ed2901b1aa01f5a6a0bfa471cddc581285a49de3eb34011737cf05c6fd2b40d6ac29ff

@ -1,5 +0,0 @@
(add-to-list 'load-path "@SITELISP@")
(autoload 'tnt-open "tnt" "Start TNT" t)
(autoload 'tnt-proxy-switch-servers "tnt" "Switch TNT proxy servers." t)
(autoload 'tnt-proxy-toggle-proxy-use "tnt" "Toggle use of TNT proxy server." t)
(autoload 'tnt-customize "tnt" "Customization of the group 'tnt'." t)

@ -1,11 +0,0 @@
--- tnt-2.6-orig/tnt.el
+++ tnt-2.6/tnt.el
@@ -4132,7 +4132,7 @@
(tnt-sound-exec
(with-output-to-string
(call-process shell-file-name nil t nil shell-command-switch (concat tnt-sound-exec " " tnt-sound-exec-args " " sound-file))))
- (tnt-running-xemacs (play-sound-file sound-file))
+ ((fboundp 'play-sound-file) (play-sound-file sound-file))
(t (message "Warning: tnt-sound-exec is not set")))
(message "Warning: %s is not a readable file" sound-file)))

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>emacs</herd>
</pkgmetadata>

@ -1,28 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/tnt/tnt-2.6-r2.ebuild,v 1.3 2010/02/18 09:33:36 ulm Exp $
inherit elisp
DESCRIPTION="Client for the AOL Instant Messenging service using Emacs as its UI"
HOMEPAGE="http://tnt.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="AOL Artistic"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DOCS="ChangeLog PROTOCOL README"
ELISP_PATCHES="${P}-sound.patch"
SITEFILE="50${PN}-gentoo.el"
src_install() {
elisp_src_install
insinto "${SITEETC}/${PN}"
doins sounds/* || die
docinto procmail
dodoc procmail/* || die
}

@ -1,5 +1 @@
DIST mc-4.8.10.tar.xz 2152000 SHA256 5bda5a10bd0447da4b3b36c55d10fdf26e279d29fd30792467d68bdb7c2f2788 SHA512 388cd8f8714d3c946a165ed2ce17086ee345bec49f1eb0a71663dd6e07ad53a568df0edd4532b2098382a7dda81eaafdb71f54763e23f26a4db86c26022b8088 WHIRLPOOL 7966b0960d2e357d8de9e25476c4773fc6add07064647eb083f740cb109d2bce69867a6dfc7fceca882bd1a1bd964154b4b03c869282c12f2d4887774515968f
DIST mc-4.8.11.tar.xz 2211144 SHA256 1877ea844f9d71e133b9e03ca3bebcd7b10b9ba5b419b8d268e255816fe1993a SHA512 5afb9e0704b8c0e98cd4787f03baf40131a0ab40027103e42f44b2ebd5b6c33b8702d7f534ca8175f3b8efbb25a04f08f0f51a1eb3a1783a99e6117472344fbc WHIRLPOOL bbe6dbad549f45b9d4aab0985ce9a2c35e42017d2f2020972d27d8d43c66473c49fea8754fd6635195b72e6a531625a28327c0f2aa65f5e79cea0db0d54ea7e6 DIST mc-4.8.11.tar.xz 2211144 SHA256 1877ea844f9d71e133b9e03ca3bebcd7b10b9ba5b419b8d268e255816fe1993a SHA512 5afb9e0704b8c0e98cd4787f03baf40131a0ab40027103e42f44b2ebd5b6c33b8702d7f534ca8175f3b8efbb25a04f08f0f51a1eb3a1783a99e6117472344fbc WHIRLPOOL bbe6dbad549f45b9d4aab0985ce9a2c35e42017d2f2020972d27d8d43c66473c49fea8754fd6635195b72e6a531625a28327c0f2aa65f5e79cea0db0d54ea7e6
DIST mc-4.8.7.tar.xz 2106020 SHA256 88f620f7944d629087e0f3518a7e7bff7600fd1c4fa157767cdcca95f2cb3074 SHA512 f5c0f533e4e056246d5918233b9932f751589db613f1c591be3168b607a9b73919e93b631151c1c4dbc692b54e7ec1b2f8ec2ae875a24012744e7257735fa1d8 WHIRLPOOL 768b08f2ff0ce1de8893aec2a083269ecde6c62e6e7ea5379a96eec81ad56791e4adbfe712014cece323857fb96862a29dc97893b53f8d5316707e933f015342
DIST mc-4.8.8.tar.xz 2150988 SHA256 b898a343b2b11274a20b2a491f9f5422b6d041e65e152c56d7255084fd04b78b SHA512 407998e653d0758ff47c13d2d47c77628b764ec5e51369fe0ff28d31962d8d4635e23fade2d159bf6b063c8b84e3e3f558c3b3155d3358e520c3436a57412815 WHIRLPOOL 1785a836bf5070e52f75fd120031829ced772c9b3bdacf517b2e03f05ca850144960fe17f4f283d256ee46e3f3d9c3d104ac0110637534feae2ca684f18bd032
DIST mc-4.8.9.tar.xz 2169836 SHA256 1253fbed3d471473c4eb9709dd6b981333754e122ddbfaa99d7cfb57508477a2 SHA512 43d231659261a73eaeac8cb9b3c25b6f753a98ee09a88b4f4213cbdee39e1f3dd27ea58b437566a904cfb6af8f000cead99b0712890bb59045b67ca989f448f6 WHIRLPOOL 49615ffa03096297a9ebf299f2f4ae4466c7f5d5cacf7577fd085c9148b0e60cc0876e4d876f81f5e5c065295e839db1d9ea83cde9744657c237f56d70e4f51e

@ -1,37 +0,0 @@
Index: lib/vfs/interface.c
===================================================================
--- lib/vfs/interface.c (revision 2640b21bb9700aa51a70f35f9e10732c82a7366f)
+++ lib/vfs/interface.c (revision 33c47b5734771e54f10b2e3cf42cf2ae943b09c1)
@@ -841,18 +841,18 @@
canonicalize_pathname (buffer);
- if (lstat (buffer, &st) == 0)
- {
- /* Sanity check for existing directory */
- if (!S_ISDIR (st.st_mode))
- error = _("%s is not a directory\n");
- else if (st.st_uid != getuid ())
- error = _("Directory %s is not owned by you\n");
- else if (((st.st_mode & 0777) != 0700) && (chmod (buffer, 0700) != 0))
- error = _("Cannot set correct permissions for directory %s\n");
- }
- else
- {
- /* Need to create directory */
- if (mkdir (buffer, S_IRWXU) != 0)
+ /* Try to create directory */
+ if (mkdir (buffer, S_IRWXU) != 0)
+ {
+ if (errno == EEXIST && lstat (buffer, &st) == 0)
+ {
+ /* Sanity check for existing directory */
+ if (!S_ISDIR (st.st_mode))
+ error = _("%s is not a directory\n");
+ else if (st.st_uid != getuid ())
+ error = _("Directory %s is not owned by you\n");
+ else if (((st.st_mode & 0777) != 0700) && (chmod (buffer, 0700) != 0))
+ error = _("Cannot set correct permissions for directory %s\n");
+ }
+ else
{
fprintf (stderr,

@ -1,22 +0,0 @@
fix for mc/mcedit segfault when mc's tempdir doesn't belong to the correct user
https://bugs.gentoo.org/show_bug.cgi?id=473244
https://www.midnight-commander.org/ticket/3021
--- src/main.c
+++ src/main.c
@@ -154,7 +154,4 @@
mc_global.share_data_dir = g_strdup (DATADIR);
-
- /* Set up temporary directory */
- mc_tmpdir ();
}
@@ -299,4 +296,7 @@
vfs_setup_work_dir ();
+ /* Set up temporary directory after VFS initialization */
+ mc_tmpdir ();
+
/* do this after vfs initialization due to mc_setctl() call in mc_setup_by_args() */
if (!mc_setup_by_args (argc, argv, &error))

@ -1,11 +0,0 @@
Index: misc/mc.menu
===================================================================
--- misc/mc.menu (revision be2883dc86d01fa54003ec75b0a1fc9ed93c9358)
+++ misc/mc.menu (revision a467bb4b6e2bec83dae4bbdd98ee529ffc45e4b1)
@@ -66,5 +66,5 @@
= f \.c$ & t r
+ f \.c$ & t r & ! t t
-с Compile and link current .c file
+c Compile and link current .c file
make `basename %f .c` 2>/dev/null || cc -O -o `basename %f .c` %f

@ -1,18 +0,0 @@
ncurses detection fix
https://bugs.gentoo.org/show_bug.cgi?id=476932
--- mc-4.8.9.orig/lib/tty/tty-ncurses.h
+++ mc-4.8.9/lib/tty/tty-ncurses.h
@@ -5,8 +5,10 @@
#ifdef USE_NCURSES
#ifdef HAVE_NCURSES_CURSES_H
#include <ncurses/curses.h>
-#elif HAVE_NCURSES_NCURSES_H || HAVE_NCURSESW_CURSES_H
+#elif HAVE_NCURSES_NCURSES_H
#include <ncurses/ncurses.h>
+#elif HAVE_NCURSESW_CURSES_H
+#include <ncursesw/ncurses.h>
#elif HAVE_NCURSES_HCURSES_H || HAVE_NCURSES_H
#include <ncurses.h>
#else

@ -1,46 +0,0 @@
From f71ea50702cd9d17d1a8a913ee87a5d9ae2d5bc9 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Wed, 3 Jul 2013 10:21:36 +0300
Subject: [PATCH] configure.ac: warn about unknown '--with-' / '--enable-'
options
As we use 'AC_CONFIG_SUBDIRS' macro for samba sources
option checking is disabled for us.
Before the patch:
$ ./configure --with-i-have-misspelled-editor-for-edit
...
# no warnings
The patch enables warnings back only for top-level ./configure:
$ ./configure --with-i-have-misspelled-editor-for-edit
...
configure: WARNING: unrecognized options: --with-i-have-misspelled-editor-for-edit
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
configure.ac | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/configure.ac b/configure.ac
index c12c2e7..5581a14 100644
--- a/configure.ac
+++ b/configure.ac
@@ -652,3 +652,12 @@ Configuration:
Support for charset: ${charset_msg}
Search type: ${SEARCH_TYPE}
])
+
+dnl option checking is disable by default due to AC_CONFIG_SUBDIRS
+dnl we enable it back for top-level ./configure
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ fatal) AC_MSG_ERROR([unrecognized options: $ac_unrecognized_opts]) ;;
+ *) AC_MSG_WARN( [unrecognized options: $ac_unrecognized_opts]) ;;
+ esac
+fi
--
1.8.2.1

@ -1,99 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.10.ebuild,v 1.1 2013/08/03 07:54:15 slyfox Exp $
EAPI=5
inherit eutils flag-o-matic
MY_P=${P/_/-}
DESCRIPTION="GNU Midnight Commander is a text based file manager"
HOMEPAGE="http://www.midnight-commander.org"
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
REQUIRED_USE="spell? ( edit )"
RDEPEND=">=dev-libs/glib-2.8:2
gpm? ( sys-libs/gpm )
kernel_linux? ( sys-fs/e2fsprogs )
samba? ( net-fs/samba )
sftp? ( net-libs/libssh2 )
slang? ( >=sys-libs/slang-2 )
!slang? ( sys-libs/ncurses )
spell? ( app-text/aspell )
X? ( x11-libs/libX11
x11-libs/libICE
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libSM )"
DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig
nls? ( sys-devel/gettext )
test? ( dev-libs/check )
"
[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
src_prepare() {
epatch "${FILESDIR}/${PN}-4.8.9-unknown-opts.patch"
[[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
}
S=${WORKDIR}/${MY_P}
src_configure() {
local myscreen=ncurses
use slang && myscreen=slang
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
local homedir=".mc"
use xdg && homedir="XDG"
econf \
--disable-silent-rules \
--disable-dependency-tracking \
$(use_enable nls) \
--enable-vfs \
$(use_enable kernel_linux vfs-undelfs) \
--enable-charset \
$(use_with X x) \
$(use_enable samba vfs-smb) \
$(use_enable sftp vfs-sftp) \
$(use_enable spell aspell) \
$(use_with gpm gpm-mouse) \
--with-screen=${myscreen} \
$(use_with edit internal-edit) \
$(use_enable mclib) \
$(use_enable test tests) \
--with-homedir=${homedir}
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS README NEWS
# fix bug #334383
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
fowners root:tty /usr/libexec/mc/cons.saver
fperms g+s /usr/libexec/mc/cons.saver
fi
if ! use xdg ; then
sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
-i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
fi
}
pkg_postinst() {
elog "To enable exiting to latest working directory,"
elog "put this into your ~/.bashrc:"
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
}

@ -1,97 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.7-r1.ebuild,v 1.1 2013/01/11 11:38:42 polynomial-c Exp $
EAPI=4
inherit eutils flag-o-matic
MY_P=${P/_/-}
DESCRIPTION="GNU Midnight Commander is a text based file manager"
HOMEPAGE="http://www.midnight-commander.org"
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
REQUIRED_USE="spell? ( edit )"
RDEPEND=">=dev-libs/glib-2.8:2
gpm? ( sys-libs/gpm )
kernel_linux? ( sys-fs/e2fsprogs )
samba? ( net-fs/samba )
sftp? ( net-libs/libssh2 )
slang? ( >=sys-libs/slang-2 )
!slang? ( sys-libs/ncurses )
spell? ( app-text/aspell )
X? ( x11-libs/libX11
x11-libs/libICE
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libSM )"
DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig
nls? ( sys-devel/gettext )
test? ( dev-libs/check )
"
[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
src_prepare() {
[[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
}
S=${WORKDIR}/${MY_P}
src_configure() {
local myscreen=ncurses
use slang && myscreen=slang
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
local homedir=".mc"
use xdg && homedir="XDG"
econf \
--disable-silent-rules \
--disable-dependency-tracking \
$(use_enable nls) \
--enable-vfs \
$(use_enable kernel_linux vfs-undelfs) \
--enable-charset \
$(use_with X x) \
$(use_enable samba vfs-smb) \
$(use_enable sftp vfs-sftp) \
$(use_enable spell aspell) \
$(use_with gpm gpm-mouse) \
--with-screen=${myscreen} \
$(use_with edit) \
$(use_enable mclib) \
$(use_enable test tests) \
--with-homedir=${homedir}
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS README NEWS
# fix bug #334383
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
fowners root:tty /usr/libexec/mc/cons.saver
fperms g+s /usr/libexec/mc/cons.saver
fi
if ! use xdg ; then
sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
-i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
fi
}
pkg_postinst() {
elog "To enable exiting to latest working directory,"
elog "put this into your ~/.bashrc:"
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
}

@ -1,92 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.7.ebuild,v 1.11 2013/01/13 19:34:37 armin76 Exp $
EAPI=4
inherit eutils flag-o-matic
MY_P=${P/_/-}
DESCRIPTION="GNU Midnight Commander is a text based file manager"
HOMEPAGE="http://www.midnight-commander.org"
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
REQUIRED_USE="spell? ( edit )"
RDEPEND=">=dev-libs/glib-2.8:2
gpm? ( sys-libs/gpm )
kernel_linux? ( sys-fs/e2fsprogs )
samba? ( net-fs/samba )
sftp? ( net-libs/libssh2 )
slang? ( >=sys-libs/slang-2 )
!slang? ( sys-libs/ncurses )
spell? ( app-text/aspell )
X? ( x11-libs/libX11
x11-libs/libICE
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libSM )"
DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig
nls? ( sys-devel/gettext )
test? ( dev-libs/check )
"
[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
src_prepare() {
[[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
}
S=${WORKDIR}/${MY_P}
src_configure() {
local myscreen=ncurses
use slang && myscreen=slang
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
local homedir=".mc"
use xdg && homedir="XDG"
econf \
--disable-silent-rules \
--disable-dependency-tracking \
$(use_enable nls) \
--enable-vfs \
$(use_enable kernel_linux vfs-undelfs) \
--enable-charset \
$(use_with X x) \
$(use_enable samba vfs-smb) \
$(use_enable sftp vfs-sftp) \
$(use_enable spell aspell) \
$(use_with gpm gpm-mouse) \
--with-screen=${myscreen} \
$(use_with edit) \
$(use_enable mclib) \
$(use_enable test tests) \
--with-homedir=${homedir}
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS README NEWS
# fix bug #334383
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
fowners root:tty /usr/libexec/mc/cons.saver
fperms g+s /usr/libexec/mc/cons.saver
fi
}
pkg_postinst() {
elog "To enable exiting to latest working directory,"
elog "put this into your ~/.bashrc:"
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
}

@ -1,100 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.8-r1.ebuild,v 1.1 2013/06/19 13:35:32 wired Exp $
EAPI=4
inherit eutils flag-o-matic
MY_P=${P/_/-}
DESCRIPTION="GNU Midnight Commander is a text based file manager"
HOMEPAGE="http://www.midnight-commander.org"
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
REQUIRED_USE="spell? ( edit )"
RDEPEND=">=dev-libs/glib-2.8:2
gpm? ( sys-libs/gpm )
kernel_linux? ( sys-fs/e2fsprogs )
samba? ( net-fs/samba )
sftp? ( net-libs/libssh2 )
slang? ( >=sys-libs/slang-2 )
!slang? ( sys-libs/ncurses )
spell? ( app-text/aspell )
X? ( x11-libs/libX11
x11-libs/libICE
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libSM )"
DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig
nls? ( sys-devel/gettext )
test? ( dev-libs/check )
"
[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
src_prepare() {
[[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
# bug #473244
epatch "${FILESDIR}/${P}-segfault-unowned-temp-dir.patch"
}
S=${WORKDIR}/${MY_P}
src_configure() {
local myscreen=ncurses
use slang && myscreen=slang
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
local homedir=".mc"
use xdg && homedir="XDG"
econf \
--disable-silent-rules \
--disable-dependency-tracking \
$(use_enable nls) \
--enable-vfs \
$(use_enable kernel_linux vfs-undelfs) \
--enable-charset \
$(use_with X x) \
$(use_enable samba vfs-smb) \
$(use_enable sftp vfs-sftp) \
$(use_enable spell aspell) \
$(use_with gpm gpm-mouse) \
--with-screen=${myscreen} \
$(use_with edit) \
$(use_enable mclib) \
$(use_enable test tests) \
--with-homedir=${homedir}
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS README NEWS
# fix bug #334383
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
fowners root:tty /usr/libexec/mc/cons.saver
fperms g+s /usr/libexec/mc/cons.saver
fi
if ! use xdg ; then
sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
-i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
fi
}
pkg_postinst() {
elog "To enable exiting to latest working directory,"
elog "put this into your ~/.bashrc:"
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
}

@ -1,104 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.8-r2.ebuild,v 1.1 2013/07/09 10:11:06 polynomial-c Exp $
EAPI=5
inherit eutils flag-o-matic
MY_P=${P/_/-}
DESCRIPTION="GNU Midnight Commander is a text based file manager"
HOMEPAGE="http://www.midnight-commander.org"
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
REQUIRED_USE="spell? ( edit )"
RDEPEND=">=dev-libs/glib-2.8:2
gpm? ( sys-libs/gpm )
kernel_linux? ( sys-fs/e2fsprogs )
samba? ( net-fs/samba )
sftp? ( net-libs/libssh2 )
slang? ( >=sys-libs/slang-2 )
!slang? ( sys-libs/ncurses )
spell? ( app-text/aspell )
X? ( x11-libs/libX11
x11-libs/libICE
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libSM )"
DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig
nls? ( sys-devel/gettext )
test? ( dev-libs/check )
"
[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
src_prepare() {
[[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
# bug #473244
epatch "${FILESDIR}/${P}-segfault-unowned-temp-dir.patch"
# bug #403863
epatch "${FILESDIR}/${P}-race_cond_create_tmp_dir.patch"
# bug #461284
epatch "${FILESDIR}/${P}-wrong_char_in_menu_file.patch"
}
S=${WORKDIR}/${MY_P}
src_configure() {
local myscreen=ncurses
use slang && myscreen=slang
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
local homedir=".mc"
use xdg && homedir="XDG"
econf \
--disable-silent-rules \
--disable-dependency-tracking \
$(use_enable nls) \
--enable-vfs \
$(use_enable kernel_linux vfs-undelfs) \
--enable-charset \
$(use_with X x) \
$(use_enable samba vfs-smb) \
$(use_enable sftp vfs-sftp) \
$(use_enable spell aspell) \
$(use_with gpm gpm-mouse) \
--with-screen=${myscreen} \
$(use_with edit) \
$(use_enable mclib) \
$(use_enable test tests) \
--with-homedir=${homedir}
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS README NEWS
# fix bug #334383
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
fowners root:tty /usr/libexec/mc/cons.saver
fperms g+s /usr/libexec/mc/cons.saver
fi
if ! use xdg ; then
sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
-i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
fi
}
pkg_postinst() {
elog "To enable exiting to latest working directory,"
elog "put this into your ~/.bashrc:"
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
}

@ -1,100 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.9.ebuild,v 1.11 2014/01/18 20:02:23 ago Exp $
EAPI=5
inherit eutils flag-o-matic
MY_P=${P/_/-}
DESCRIPTION="GNU Midnight Commander is a text based file manager"
HOMEPAGE="http://www.midnight-commander.org"
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
REQUIRED_USE="spell? ( edit )"
RDEPEND=">=dev-libs/glib-2.8:2
gpm? ( sys-libs/gpm )
kernel_linux? ( sys-fs/e2fsprogs )
samba? ( net-fs/samba )
sftp? ( net-libs/libssh2 )
slang? ( >=sys-libs/slang-2 )
!slang? ( sys-libs/ncurses )
spell? ( app-text/aspell )
X? ( x11-libs/libX11
x11-libs/libICE
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libSM )"
DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig
nls? ( sys-devel/gettext )
test? ( dev-libs/check )
"
[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
src_prepare() {
epatch "${FILESDIR}/${PN}-4.8.9-unknown-opts.patch"
epatch "${FILESDIR}/${PN}-4.8.9-ncurses-include-fix.patch"
[[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
}
S=${WORKDIR}/${MY_P}
src_configure() {
local myscreen=ncurses
use slang && myscreen=slang
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
local homedir=".mc"
use xdg && homedir="XDG"
econf \
--disable-silent-rules \
--disable-dependency-tracking \
$(use_enable nls) \
--enable-vfs \
$(use_enable kernel_linux vfs-undelfs) \
--enable-charset \
$(use_with X x) \
$(use_enable samba vfs-smb) \
$(use_enable sftp vfs-sftp) \
$(use_enable spell aspell) \
$(use_with gpm gpm-mouse) \
--with-screen=${myscreen} \
$(use_with edit internal-edit) \
$(use_enable mclib) \
$(use_enable test tests) \
--with-homedir=${homedir}
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS README NEWS
# fix bug #334383
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
fowners root:tty /usr/libexec/mc/cons.saver
fperms g+s /usr/libexec/mc/cons.saver
fi
if ! use xdg ; then
sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
-i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
fi
}
pkg_postinst() {
elog "To enable exiting to latest working directory,"
elog "put this into your ~/.bashrc:"
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.2.1.1.ebuild,v 1.3 2014/03/10 08:48:41 scarabeus Exp $ # $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.2.1.1.ebuild,v 1.4 2014/03/25 20:59:17 dilfridge Exp $
EAPI=5 EAPI=5
@ -117,7 +117,7 @@ COMMON_DEPEND="
>=dev-libs/hyphen-2.7.1 >=dev-libs/hyphen-2.7.1
>=dev-libs/icu-4.8.1.1:= >=dev-libs/icu-4.8.1.1:=
>=dev-libs/libatomic_ops-7.2d >=dev-libs/libatomic_ops-7.2d
>=dev-libs/liborcus-0.5.1:= =dev-libs/liborcus-0.5*
>=dev-libs/nspr-4.8.8 >=dev-libs/nspr-4.8.8
>=dev-libs/nss-3.12.9 >=dev-libs/nss-3.12.9
>=dev-lang/perl-5.0 >=dev-lang/perl-5.0

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.211 2014/03/10 08:48:41 scarabeus Exp $ # $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.214 2014/03/25 10:28:58 scarabeus Exp $
EAPI=5 EAPI=5
@ -117,7 +117,7 @@ COMMON_DEPEND="
>=dev-libs/hyphen-2.7.1 >=dev-libs/hyphen-2.7.1
>=dev-libs/icu-4.8.1.1:= >=dev-libs/icu-4.8.1.1:=
>=dev-libs/libatomic_ops-7.2d >=dev-libs/libatomic_ops-7.2d
>=dev-libs/liborcus-0.5.1:= >=dev-libs/liborcus-0.7.0:=
>=dev-libs/nspr-4.8.8 >=dev-libs/nspr-4.8.8
>=dev-libs/nss-3.12.9 >=dev-libs/nss-3.12.9
>=dev-lang/perl-5.0 >=dev-lang/perl-5.0
@ -126,6 +126,7 @@ COMMON_DEPEND="
media-gfx/graphite2 media-gfx/graphite2
>=media-libs/fontconfig-2.8.0 >=media-libs/fontconfig-2.8.0
media-libs/freetype:2 media-libs/freetype:2
>=media-libs/glew-1.10
>=media-libs/harfbuzz-0.9.18:=[icu(+)] >=media-libs/harfbuzz-0.9.18:=[icu(+)]
media-libs/lcms:2 media-libs/lcms:2
>=media-libs/libpng-1.4 >=media-libs/libpng-1.4
@ -210,7 +211,7 @@ DEPEND="${COMMON_DEPEND}
>=dev-util/gperf-3 >=dev-util/gperf-3
dev-util/intltool dev-util/intltool
>=dev-util/mdds-0.10.2:= >=dev-util/mdds-0.10.2:=
virtual/pkgconfig media-libs/glm
net-misc/npapi-sdk net-misc/npapi-sdk
>=sys-apps/findutils-4.4.2 >=sys-apps/findutils-4.4.2
sys-devel/bison sys-devel/bison
@ -220,6 +221,7 @@ DEPEND="${COMMON_DEPEND}
>=sys-devel/make-3.82 >=sys-devel/make-3.82
sys-devel/ucpp sys-devel/ucpp
sys-libs/zlib sys-libs/zlib
virtual/pkgconfig
x11-libs/libXt x11-libs/libXt
x11-libs/libXtst x11-libs/libXtst
x11-proto/randrproto x11-proto/randrproto

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild,v 1.1 2014/01/09 03:31:56 mjo Exp $ # $Header: /var/cvsroot/gentoo-x86/app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild,v 1.2 2014/03/25 09:25:53 nimiux Exp $
EAPI=5 EAPI=5
@ -10,7 +10,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="amd64"
IUSE="test" IUSE="test"
# PHP dependency can be inferred from .travis.yml in the repository. # PHP dependency can be inferred from .travis.yml in the repository.

@ -1,4 +1 @@
DIST parrot-5.10.0.tar.gz 4595044 SHA256 417d504ccf557528d179c9f25df4f8430d5ec1e703ea63126d722452bfd38be3 SHA512 abd627545f85e42a9d20e13f73ef30595cea6ad252b1fd6d06982ec9afb0534520affc99a77bd2d648deb4090a22c818b03e30b5c5a7f99041da5b1776025f33 WHIRLPOOL 0f5b1fa6c4accea9ba6836b2be2db7478d61bf6f3f7d533e4aadb1cfc074547d08d8d506616d8f5d1216d8b2a2db92072476bd883e56eb828a8a606c6103bace
DIST parrot-5.7.0.tar.gz 4604326 SHA256 0d07c210a8b90d368cde600351173b8c90a28d376379836ba36edf83acf7a21f SHA512 6db01c4c092f64cb7dbaab99972ddcea73183bbca18a9005871992ca57035d0adca5408af944e40e84095cc35badc6ebf611177fc3d73112577a2f1b7745de75 WHIRLPOOL dac3f775d67fc4f6c3baffc0e8d5176f7466827e19b2a96e0f3ae8ac6e0ecce5de7aa66a93e0265ed8867341169f0bc332501b05bf3fa251f35be2dd2a8663e1
DIST parrot-6.0.0.tar.gz 4592131 SHA256 e150d4c5a3f12ae9d300f019bf03cca58d8e8051dd0b934222b4e4c91160cd54 SHA512 763f390948581e00cfc4bfec46bdc0ef19052c98db35fbf515a7ad2315e96db2f7a537fb0918e6edf16eb620b415d6bf14100f2a46de80893c9850c20509e81c WHIRLPOOL da676a49e7c4ebdf40ddc17387d7c7e6502a531816a7851c3fc46976da97ecd2aa817d3950cf77005d4d0d47283d58efc090f3f44c237f5e410b4ac391cc408f
DIST parrot-6.1.0.tar.gz 4602229 SHA256 87d25119c73acdb26f89ac4c68d73f3d996451ada51f3cb2cd4878b6f0e0a34c SHA512 f6945a44566cb4a4f6e4cc6c056ecb0038caf0b1b20927c12427ec24f22ba77d19043b403bde3d212324bc8f1fa83fa619661255a13e13d7066bbeb1f407b74f WHIRLPOOL cac154c3d8c78ba9ac1b86144c809261229e16fa86236303cce193ca726c914ab39aa5dc093f2678e63d117a6628242f50b936430c9a2b774203d0382f6af179 DIST parrot-6.1.0.tar.gz 4602229 SHA256 87d25119c73acdb26f89ac4c68d73f3d996451ada51f3cb2cd4878b6f0e0a34c SHA512 f6945a44566cb4a4f6e4cc6c056ecb0038caf0b1b20927c12427ec24f22ba77d19043b403bde3d212324bc8f1fa83fa619661255a13e13d7066bbeb1f407b74f WHIRLPOOL cac154c3d8c78ba9ac1b86144c809261229e16fa86236303cce193ca726c914ab39aa5dc093f2678e63d117a6628242f50b936430c9a2b774203d0382f6af179

@ -1,146 +0,0 @@
diff --git a/config/auto/perldoc.pm b/config/auto/perldoc.pm
index 4d87aca..7e54156 100644
--- a/config/auto/perldoc.pm
+++ b/config/auto/perldoc.pm
@@ -66,24 +66,12 @@ E_NOTE
foreach my $ops (@ops) {
my $pod = $ops;
$pod =~ s/\.ops$/.pod/;
- if ( $new_perldoc ) {
- $TEMP_pod_build .= <<"END";
+ $TEMP_pod_build .= <<"END";
ops/$pod: ../src/ops/$ops
-\t\$(PERLDOC) -ud ops/$pod ../src/ops/$ops
+\t\$(PODEXTRACT) ../src/ops/$ops ops/$pod
\t\$(CHMOD) 0644 ops/$pod
\t\$(ADDGENERATED) "docs/\$\@" "[doc]"
-
-END
- }
- else {
- $TEMP_pod_build .= <<"END";
-ops/$pod: ../src/ops/$ops
-\t\$(PERLDOC) -u ../ops/$ops > ops/$pod
-\t\$(CHMOD) 0644 ../ops/$pod
-\t\$(ADDGENERATED) "docs/\$\@" "[doc]"
-
END
- }
}
$conf->data->set(
diff --git a/config/gen/makefiles/docs.in b/config/gen/makefiles/docs.in
index 3e8c74b..4e8f35d 100644
--- a/config/gen/makefiles/docs.in
+++ b/config/gen/makefiles/docs.in
@@ -11,6 +11,7 @@ RM_RF = @rm_rf@
PERLDOC = @perldoc@
POD2MAN = @pod2man@
VERSION = @VERSION@@DEVEL@
+PODEXTRACT = $(PERL) ../tools/build/podextract.pl
ADDGENERATED = $(PERL) ../tools/build/addgenerated.pl
OPS_SUMMARY = ../tools/docs/ops_summary.pl
@@ -63,8 +64,7 @@ doc-prep:
$(TOUCH) doc-prep
packfile-c.pod: ../src/packfile/api.c
-#IF(new_perldoc): $(PERLDOC) -ud packfile-c.pod ../src/packfile/api.c
-#ELSE: $(PERLDOC) -u ../src/packfile/api.c > packfile-c.pod
+ $(PODEXTRACT) ../src/packfile/api.c packfile-c.pod
$(ADDGENERATED) "docs/$@" "[doc]"
.pod.1 : # suffix rule (limited support)
diff --git a/config/gen/makefiles/root.in b/config/gen/makefiles/root.in
index c1f0c19..36e853a 100644
--- a/config/gen/makefiles/root.in
+++ b/config/gen/makefiles/root.in
@@ -115,6 +115,7 @@ LDFLAGS = @ldflags@ @ld_debug@
INNO_SETUP = iscc
TEMPDIR = @tempdir@
RPATH_BLIB = @rpath_blib@
+PODEXTRACT = $(PERL) $(BUILD_TOOLS_DIR)/podextract.pl
ADDGENERATED = $(PERL) $(BUILD_TOOLS_DIR)/addgenerated.pl
#IF(darwin):export MACOSX_DEPLOYMENT_TARGET = @osx_version@
diff --git a/tools/build/podextract.pl b/tools/build/podextract.pl
new file mode 100644
index 0000000..0979b6b
--- /dev/null
+++ b/tools/build/podextract.pl
@@ -0,0 +1,75 @@
+#! perl
+
+=head1 NAME
+
+tools/build/podextract.pl
+
+=head1 DESCRIPTION
+
+Simple POD Extraction
+
+=head1 SYNOPSIS
+
+Previously:
+
+ perldoc -ud $target $source
+
+or
+
+ perldoc -u $source > $target
+
+Now:
+
+ perl podextract.pl $source $target
+
+=head1 RATIONALE
+
+C<perldoc> does many things, and is somewhat complex.
+
+For instance, normally,
+
+ perldoc perldoc
+
+Inspects various paths, and paths that are controlled by C<%ENV> to find relevant documentation for "perldoc".
+
+And because of this, it is a little security concious, and pre-emptively drops root to UID=nobody
+
+But Parrot is not using this feature of C<perldoc>
+
+Parrot is simply using C<perldoc> as a content filter to extract C<POD> from source files.
+
+And as such, it only needs the alternative function
+
+ perldoc $PATH
+
+To work, which doesn't require C<%ENV>, and additionally, dropping root to C<UID=nobody> makes it impossible
+for some parrot to invoke C<perldoc -ud $target $source> on some systems, because it drops privelages and can then no longer read C<$source>, and can no longer write C<$target>.
+
+However, some means vendor tooling that B<MUST> execute C<make install> as root, by proxy, C<MUST> invoke C<perldoc> as root, and as such, invokes the security problem, which is impossible to work around.
+
+Given a simple C<chmod> is not enough, because parent directories also are not readable or writeable by C<UID=nobody>, and additionally, vendor tooling causes fatal access violations when a process running as C<UID=nobody> even attempts to do directory lookaround ( which C<perldoc> does much of as part of C<%ENV> handling )
+
+So this tool is simple:
+
+It takes the very core utility in C<PerlDoc> that parrot needed to utilize, and calls it directly.
+
+And this avoids the misguided attempts of increasing security, which simply does nothing useful.
+
+=cut
+
+use strict;
+use warnings;
+
+if ( not $ARGV[1] ) {
+ die "pod_extract <src> <target>";
+}
+if ( not -e $ARGV[0] ) {
+ die "<src> $ARGV[0] does not exist";
+}
+require Pod::Perldoc::ToPod;
+my $parser = Pod::Perldoc::ToPod->new();
+open my $output, '>', $ARGV[1] or die "Cant write to $ARGV[1] $! $?";
+$parser->parse_from_file( $ARGV[0], $output );
+
+1
+

@ -1,33 +0,0 @@
diff -Naur parrot-5.5.0/config/auto/perldoc.pm parrot-5.5.0/config/auto/perldoc.pm
--- parrot-5.5.0/config/auto/perldoc.pm 2013-04-30 19:11:28.000000000 +0000
+++ parrot-5.5.0/config/auto/perldoc.pm 2013-06-26 15:44:31.031675583 +0000
@@ -38,7 +38,7 @@
my $cmd = File::Spec->catfile($conf->data->get('scriptdirexp_provisional'), q{perldoc});
my ( $fh, $filename ) = tempfile( UNLINK => 1 );
- my $content = capture_output("$cmd -ud $filename perldoc") || undef;
+ my $content = capture_output("$cmd -u perldoc > $filename") || undef;
return 1 unless defined( $self->_initial_content_check($conf, $content) );
@@ -67,7 +67,7 @@
if ( $new_perldoc ) {
$TEMP_pod_build .= <<"END";
ops/$pod: ../src/ops/$ops
-\t\$(PERLDOC) -ud ops/$pod ../src/ops/$ops
+\t\$(PERLDOC) -u ../src/ops/$ops > ops/$pod
\t\$(CHMOD) 0644 ops/$pod
\t\$(ADDGENERATED) "docs/\$\@" "[doc]"
diff -Naur parrot-5.5.0/config/gen/makefiles/docs.in parrot-5.5.0/config/gen/makefiles/docs.in
--- parrot-5.5.0/config/gen/makefiles/docs.in 2013-06-15 17:36:41.000000000 +0000
+++ parrot-5.5.0/config/gen/makefiles/docs.in 2013-06-26 15:39:41.109881123 +0000
@@ -63,7 +63,7 @@
$(TOUCH) doc-prep
packfile-c.pod: ../src/packfile/api.c
-#IF(new_perldoc): $(PERLDOC) -ud packfile-c.pod ../src/packfile/api.c
+#IF(new_perldoc): $(PERLDOC) -u ../src/packfile/api.c > packfile-c.pod
#ELSE: $(PERLDOC) -u ../src/packfile/api.c > packfile-c.pod
$(ADDGENERATED) "docs/$@" "[doc]"

@ -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/dev-lang/parrot/parrot-5.10.0.ebuild,v 1.2 2013/12/11 02:50:25 patrick Exp $
EAPI=3
inherit eutils multilib
# weird failures
RESTRICT="test"
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
HOMEPAGE="http://www.parrot.org/"
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/devel/${PV}/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
RDEPEND="sys-libs/readline
opengl? ( media-libs/freeglut )
nls? ( sys-devel/gettext )
unicode? ( >=dev-libs/icu-2.6 )
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
gmp? ( >=dev-libs/gmp-4.1.4 )
ssl? ( dev-libs/openssl )
pcre? ( dev-libs/libpcre )
doc? ( dev-perl/JSON )"
DEPEND="dev-lang/perl[doc?]
${RDEPEND}"
src_prepare() {
# Fix perldoc sandbox madness
epatch "${FILESDIR}/perldoc-5.10.patch" || die
}
src_configure() {
myconf="--disable-rpath"
use unicode || myconf+=" --without-icu"
use ssl || myconf+=" --without-crypto"
use gdbm || myconf+=" --without-gdbm"
use nls || myconf+=" --without-gettext"
use gmp || myconf+=" --without-gmp"
use opengl || myconf+=" --without-opengl"
use pcre || myconf+=" --without-pcre"
perl Configure.pl \
--ccflags="${CFLAGS}" \
--linkflags="${LDFLAGS}" \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--mandir="${EPREFIX}"/usr/share/man \
--sysconfdir="${EPREFIX}"/etc \
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
$myconf || die
}
src_compile() {
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
# occasionally dies in parallel make
emake -j1 || die
if use doc ; then
emake -j1 html || die
fi
}
src_test() {
emake -j1 test || die
}
src_install() {
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
if use examples; then
insinto "/usr/share/doc/${PF}/examples"
doins -r examples/* || die
fi
if use doc; then
insinto "/usr/share/doc/${PF}/editor"
doins -r editor || die
cd docs/html
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
pmc.html tools.html docs src tools || die
fi
}

@ -1,85 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-5.7.0.ebuild,v 1.1 2013/09/24 07:07:09 patrick Exp $
EAPI=3
inherit eutils multilib
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
HOMEPAGE="http://www.parrot.org/"
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/devel/${PV}/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
RDEPEND="sys-libs/readline
opengl? ( media-libs/freeglut )
nls? ( sys-devel/gettext )
unicode? ( >=dev-libs/icu-2.6 )
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
gmp? ( >=dev-libs/gmp-4.1.4 )
ssl? ( dev-libs/openssl )
pcre? ( dev-libs/libpcre )"
DEPEND="dev-lang/perl[doc?]
${RDEPEND}"
src_prepare() {
# Fix for #404195 - pcre detection is wonky
sed -i 's:libpcre.so.0:libpcre.so.1:' runtime/parrot/library/pcre.pir || die "Couldn't fix pcre location"
# Fix perldoc sandbox madness
epatch "${FILESDIR}/perldoc.patch" || die
}
src_configure() {
myconf="--disable-rpath"
use unicode || myconf+=" --without-icu"
use ssl || myconf+=" --without-crypto"
use gdbm || myconf+=" --without-gdbm"
use nls || myconf+=" --without-gettext"
use gmp || myconf+=" --without-gmp"
use opengl || myconf+=" --without-opengl"
use pcre || myconf+=" --without-pcre"
perl Configure.pl \
--ccflags="${CFLAGS}" \
--linkflags="${LDFLAGS}" \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--mandir="${EPREFIX}"/usr/share/man \
--sysconfdir="${EPREFIX}"/etc \
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
$myconf || die
}
src_compile() {
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
# occasionally dies in parallel make
emake -j1 || die
if use doc ; then
emake -j1 html || die
fi
}
src_test() {
emake -j1 test || die
}
src_install() {
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
if use examples; then
insinto "/usr/share/doc/${PF}/examples"
doins -r examples/* || die
fi
if use doc; then
insinto "/usr/share/doc/${PF}/editor"
doins -r editor || die
cd docs/html
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
pmc.html tools.html docs src tools || die
fi
}

@ -1,87 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-6.0.0.ebuild,v 1.1 2014/01/27 05:40:13 patrick Exp $
EAPI=3
inherit eutils multilib
# weird failures
RESTRICT="test"
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
HOMEPAGE="http://www.parrot.org/"
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/supported/${PV}/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
RDEPEND="sys-libs/readline
opengl? ( media-libs/freeglut )
nls? ( sys-devel/gettext )
unicode? ( >=dev-libs/icu-2.6 )
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
gmp? ( >=dev-libs/gmp-4.1.4 )
ssl? ( dev-libs/openssl )
pcre? ( dev-libs/libpcre )
doc? ( dev-perl/JSON )"
DEPEND="dev-lang/perl[doc?]
${RDEPEND}"
src_prepare() {
# Fix perldoc sandbox madness
epatch "${FILESDIR}/perldoc-5.10.patch" || die
}
src_configure() {
myconf="--disable-rpath"
use unicode || myconf+=" --without-icu"
use ssl || myconf+=" --without-crypto"
use gdbm || myconf+=" --without-gdbm"
use nls || myconf+=" --without-gettext"
use gmp || myconf+=" --without-gmp"
use opengl || myconf+=" --without-opengl"
use pcre || myconf+=" --without-pcre"
perl Configure.pl \
--ccflags="${CFLAGS}" \
--linkflags="${LDFLAGS}" \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--mandir="${EPREFIX}"/usr/share/man \
--sysconfdir="${EPREFIX}"/etc \
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
$myconf || die
}
src_compile() {
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
# occasionally dies in parallel make
emake -j1 || die
if use doc ; then
emake -j1 html || die
fi
}
src_test() {
emake -j1 test || die
}
src_install() {
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
if use examples; then
insinto "/usr/share/doc/${PF}/examples"
doins -r examples/* || die
fi
if use doc; then
insinto "/usr/share/doc/${PF}/editor"
doins -r editor || die
cd docs/html
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
pmc.html tools.html docs src tools || die
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.38.2-r1.ebuild,v 1.3 2014/03/15 11:25:49 pacho Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.38.2-r1.ebuild,v 1.4 2014/03/26 05:47:53 vapier Exp $
EAPI="5" EAPI="5"
PYTHON_COMPAT=( python2_{6,7} ) PYTHON_COMPAT=( python2_{6,7} )
@ -16,7 +16,7 @@ SRC_URI="${SRC_URI}
LICENSE="LGPL-2+" LICENSE="LGPL-2+"
SLOT="2" SLOT="2"
IUSE="debug fam kernel_linux selinux static-libs systemtap test utils xattr" IUSE="debug fam kernel_linux selinux static-libs systemtap test utils xattr"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 m68k ~mips ~ppc ~ppc64 s390 sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
# FIXME: want libselinux[${MULTILIB_USEDEP}] - bug #480960 # FIXME: want libselinux[${MULTILIB_USEDEP}] - bug #480960
RDEPEND=" RDEPEND="

@ -8,6 +8,7 @@ DIST gmp-5.1.0.tar.xz 1806216 SHA256 c232d96b92ee251a6b8fdbf0a45d4db17a784846dfd
DIST gmp-5.1.1.tar.xz 1812988 SHA256 4bd64d782fdeb61aeed45b434fca5246d66baa9de76f87cba30c38460d8834c2 SHA512 4cc3307411eb2144e87b791ee2f52e0020711638f911dfa3cc5929a57eda5ac7d9ca10c1c0bb75c96afc7ff7a9c6ad165bc87409b036c562867b4e5da15ba571 WHIRLPOOL 8a7afe06d530a15edb75a0c37c8497d1ab209dfeffebd44aecfcfe6b75586c182384cfdf8ea9b696ce968aed04944ec7c1c271730b65c34b2e3504d26565240e DIST gmp-5.1.1.tar.xz 1812988 SHA256 4bd64d782fdeb61aeed45b434fca5246d66baa9de76f87cba30c38460d8834c2 SHA512 4cc3307411eb2144e87b791ee2f52e0020711638f911dfa3cc5929a57eda5ac7d9ca10c1c0bb75c96afc7ff7a9c6ad165bc87409b036c562867b4e5da15ba571 WHIRLPOOL 8a7afe06d530a15edb75a0c37c8497d1ab209dfeffebd44aecfcfe6b75586c182384cfdf8ea9b696ce968aed04944ec7c1c271730b65c34b2e3504d26565240e
DIST gmp-5.1.2.tar.xz 1819560 SHA256 c7d943a6eceb4f0d3d3ab1176aec37853831cdfa281e012f8a344ba3ceefcbc2 SHA512 2c135bb6be908e93e63fe8828b2128b4e22e8ba29adf3cc917493ab66b42d54654dad7f101f902105e854731a69a202c38e34f119f642828fa5568ef21075c5a WHIRLPOOL dc18f8b2f7f592a52872f477ff375a29d58bca6661877bd0e4ef26766ed439e98172e277fed9f91d7204990b3030423bf6b3bff0b996ec371d6e681f8c21e504 DIST gmp-5.1.2.tar.xz 1819560 SHA256 c7d943a6eceb4f0d3d3ab1176aec37853831cdfa281e012f8a344ba3ceefcbc2 SHA512 2c135bb6be908e93e63fe8828b2128b4e22e8ba29adf3cc917493ab66b42d54654dad7f101f902105e854731a69a202c38e34f119f642828fa5568ef21075c5a WHIRLPOOL dc18f8b2f7f592a52872f477ff375a29d58bca6661877bd0e4ef26766ed439e98172e277fed9f91d7204990b3030423bf6b3bff0b996ec371d6e681f8c21e504
DIST gmp-5.1.3.tar.xz 1818812 SHA256 dee2eda37f4ff541f30019932db0c37f6f77a30ba3609234933b1818f9b07071 SHA512 44bbec2b2a6480d4c9a9a633cca4fe0de966c13bc08bdcd8b934d81e21f3dfacaecf273f149dc613d365277d280ecee43cffdafaec1bd1239a7ed903f8658b5b WHIRLPOOL 0c4365a129136655046a8e46c4e2487a981c03de97ec47899f752cbd6e61661c6068b19c547acce8436f7a9af91396545c9bf7aa9de73a0f29384bbfebef927f DIST gmp-5.1.3.tar.xz 1818812 SHA256 dee2eda37f4ff541f30019932db0c37f6f77a30ba3609234933b1818f9b07071 SHA512 44bbec2b2a6480d4c9a9a633cca4fe0de966c13bc08bdcd8b934d81e21f3dfacaecf273f149dc613d365277d280ecee43cffdafaec1bd1239a7ed903f8658b5b WHIRLPOOL 0c4365a129136655046a8e46c4e2487a981c03de97ec47899f752cbd6e61661c6068b19c547acce8436f7a9af91396545c9bf7aa9de73a0f29384bbfebef927f
DIST gmp-6.0.0a.tar.xz 1904112 SHA256 9156d32edac6955bc53b0218f5f3763facb890b73a835d5e1b901dcf8eb8b764 SHA512 50368f4368b244b442438ce1768cf0f1166e490d1bafb8feda1ffc90fea3807e7328f30f3faa861799e4f5ff6e3113049ca3231b2f48571e4583fc3d60441816 WHIRLPOOL 81639a9d433ce9ccb26527af309c7c41437bb3463e5986cce3b35f81b527068a2304ec3287e660454f850dedab61463a077f49d4ea2b7ee87eec94b15730c394
DIST gmp-man-5.0.2.pdf 1024222 SHA256 fcdd621dea0215b8920bdbfacf374ae8ef4f548a2d0c3e8d65d904f1b9d174d4 SHA512 95ea00ee16e87e9f379e76cd6c1a850866e5f22c0e6fc6e5deaae1213a694d28dd6fc09c105b5e71d4bb24e07ca8b77c56d756ef680beac1f64cc17ab51b246c WHIRLPOOL eaa78db21ee7dc8076a752cc949f336c1699c752626496d1490babc2d00115b08fa954ba9f732405d63bbdb43d97c43bed1917629fee1106e2e87942c78d6da8 DIST gmp-man-5.0.2.pdf 1024222 SHA256 fcdd621dea0215b8920bdbfacf374ae8ef4f548a2d0c3e8d65d904f1b9d174d4 SHA512 95ea00ee16e87e9f379e76cd6c1a850866e5f22c0e6fc6e5deaae1213a694d28dd6fc09c105b5e71d4bb24e07ca8b77c56d756ef680beac1f64cc17ab51b246c WHIRLPOOL eaa78db21ee7dc8076a752cc949f336c1699c752626496d1490babc2d00115b08fa954ba9f732405d63bbdb43d97c43bed1917629fee1106e2e87942c78d6da8
DIST gmp-man-5.0.3.pdf 1159053 SHA256 8f12da7b0665a2a0b5e1bc83c702e67b1b854382af5cba58c2859564fc930550 SHA512 4be246f234379033922255ece26f8f7b6056ee637f0d3964459829a946368ae01e2434b22fb1a180cf0a4efa7ad18d332d3e1a89cf9040d5f9f27e43cd3ca8ab WHIRLPOOL 50b27cccd274d84d2b35d2551089755b5b88837fb28a24c5e244c8706004925fe86ff81c2cc68d6125f2113b68a741b9a6615b931bf8260f2cd384dcd5115336 DIST gmp-man-5.0.3.pdf 1159053 SHA256 8f12da7b0665a2a0b5e1bc83c702e67b1b854382af5cba58c2859564fc930550 SHA512 4be246f234379033922255ece26f8f7b6056ee637f0d3964459829a946368ae01e2434b22fb1a180cf0a4efa7ad18d332d3e1a89cf9040d5f9f27e43cd3ca8ab WHIRLPOOL 50b27cccd274d84d2b35d2551089755b5b88837fb28a24c5e244c8706004925fe86ff81c2cc68d6125f2113b68a741b9a6615b931bf8260f2cd384dcd5115336
DIST gmp-man-5.0.4.pdf 1160172 SHA256 c577d4dea9964e85c07f859d60833fc56d10aba16fd42f380939b0360f79defb SHA512 0159c748e75ba12a4fe3164e7071966e39475fa95b477e16de9cff095dd67c144c3aed24a611cf44c434bff9942faa432fb2222a7a27c587ed22a2df2f33a8c0 WHIRLPOOL df53ea3df9069c3958427ae18d29247c7502e5140b7c6f8c2b15d38aab308a9fa8dea8f3b636907ce5588cc738393e600e4f7160d502f42b6df339a7f76ad5ca DIST gmp-man-5.0.4.pdf 1160172 SHA256 c577d4dea9964e85c07f859d60833fc56d10aba16fd42f380939b0360f79defb SHA512 0159c748e75ba12a4fe3164e7071966e39475fa95b477e16de9cff095dd67c144c3aed24a611cf44c434bff9942faa432fb2222a7a27c587ed22a2df2f33a8c0 WHIRLPOOL df53ea3df9069c3958427ae18d29247c7502e5140b7c6f8c2b15d38aab308a9fa8dea8f3b636907ce5588cc738393e600e4f7160d502f42b6df339a7f76ad5ca
@ -16,3 +17,4 @@ DIST gmp-man-5.1.0.pdf 1156063 SHA256 def7bae39aaf2756cd074207c02afca8b3dde66111
DIST gmp-man-5.1.1.pdf 1156487 SHA256 c8c33650c321022c417275321b75e3b0c1bf87275f17323fa843778097449504 SHA512 3e855b882a039099bdc3719c94e4c18d0025e3a903b770752271a41dd9c5cf2b70654f6f59c32edfd4320e9954f679610764f379bd21b9d883d4fc20bd312f76 WHIRLPOOL b87d92601f3c170527192f78c60d6a137043f39772baabdd17957344207fbaae1ad88f03e22348e6e572f0a8a28ee1d80b3dc52015704cb52676b545ccb9f4e5 DIST gmp-man-5.1.1.pdf 1156487 SHA256 c8c33650c321022c417275321b75e3b0c1bf87275f17323fa843778097449504 SHA512 3e855b882a039099bdc3719c94e4c18d0025e3a903b770752271a41dd9c5cf2b70654f6f59c32edfd4320e9954f679610764f379bd21b9d883d4fc20bd312f76 WHIRLPOOL b87d92601f3c170527192f78c60d6a137043f39772baabdd17957344207fbaae1ad88f03e22348e6e572f0a8a28ee1d80b3dc52015704cb52676b545ccb9f4e5
DIST gmp-man-5.1.2.pdf 1156466 SHA256 2f059a5179c2ea971b9b16553b9f15504e82ef0b7bc7f0b80b1b4fe33147c21f SHA512 b6fc8d82bf15b3d550bf2388fefbba4c7e1bdd5b324d6be52e6398d7b8fb72dd4a59f498bec80a7c8382fe3b5c026434766f0c319742c1263326e0a5b589bb21 WHIRLPOOL b43d41bdf97b94c284fbff305d9968d3142f748b79df51b3e34aa4a576e1655ebe2d3c90473b95d90f79670ae7b100a7b5e5d26ae353470ef2e2f853748dce95 DIST gmp-man-5.1.2.pdf 1156466 SHA256 2f059a5179c2ea971b9b16553b9f15504e82ef0b7bc7f0b80b1b4fe33147c21f SHA512 b6fc8d82bf15b3d550bf2388fefbba4c7e1bdd5b324d6be52e6398d7b8fb72dd4a59f498bec80a7c8382fe3b5c026434766f0c319742c1263326e0a5b589bb21 WHIRLPOOL b43d41bdf97b94c284fbff305d9968d3142f748b79df51b3e34aa4a576e1655ebe2d3c90473b95d90f79670ae7b100a7b5e5d26ae353470ef2e2f853748dce95
DIST gmp-man-5.1.3.pdf 1159009 SHA256 56b0e21329f46ef1d59c1f191afc82c59f8b72273a8131ed9b5000b7d0689c38 SHA512 ba6a4b0bd2b5ee4d284dd13e9c5531fcb9cfbbbc80f40df458d73c80a1aa250b750cfdd5039998e8b0c7259a8b4d24bd0c7b59a90108f9b680bee62e6948d59e WHIRLPOOL ade206d7e1f543ed028f51e247067eec4511bd0f2499103e1e6296fad2bf50c4f8e09cf7688cc5dd56ee572cf889508ac7918f85e5f91d29d088882f7734a4e0 DIST gmp-man-5.1.3.pdf 1159009 SHA256 56b0e21329f46ef1d59c1f191afc82c59f8b72273a8131ed9b5000b7d0689c38 SHA512 ba6a4b0bd2b5ee4d284dd13e9c5531fcb9cfbbbc80f40df458d73c80a1aa250b750cfdd5039998e8b0c7259a8b4d24bd0c7b59a90108f9b680bee62e6948d59e WHIRLPOOL ade206d7e1f543ed028f51e247067eec4511bd0f2499103e1e6296fad2bf50c4f8e09cf7688cc5dd56ee572cf889508ac7918f85e5f91d29d088882f7734a4e0
DIST gmp-man-6.0.0a.pdf 1187496 SHA256 b38ed1d760b20c01b734b65380ab667373fa48d8203f762a434cd3f326c67a38 SHA512 528972502d65d23b58c47a594a628e648f11cc027bd0894a39b8f892bb421ceabb7f35640a9eede21cea791f5f597ed4661a1f73444c56a6fb31fa6e362d96c2 WHIRLPOOL e6c4eb3a9adc82496a1872223ceb153e05c3aabd2323aeb38064739a5200eb8fc24fa3bb96f5fb1e632cc90a2576bd3966bae3c7a7a0c750ca56faeb30837eea

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-5.1.3-r1.ebuild,v 1.8 2014/01/18 03:59:08 vapier Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-5.1.3-r1.ebuild,v 1.9 2014/03/26 05:37:56 vapier Exp $
EAPI="4" EAPI="4"
@ -17,7 +17,7 @@ SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
LICENSE="LGPL-3" LICENSE="LGPL-3"
SLOT="0" SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 m68k ~mips ~ppc ~ppc64 s390 sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="doc cxx pgo static-libs" IUSE="doc cxx pgo static-libs"
DEPEND="sys-devel/m4 DEPEND="sys-devel/m4

@ -0,0 +1,117 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-6.0.0a.ebuild,v 1.1 2014/03/26 05:52:05 vapier Exp $
EAPI="4"
inherit flag-o-matic eutils libtool toolchain-funcs multilib-minimal
MY_PV=${PV/_p*}
MY_P=${PN}-${MY_PV}
PLEVEL=${PV/*p}
DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
HOMEPAGE="http://gmplib.org/"
SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz
doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="doc cxx pgo static-libs"
DEPEND="sys-devel/m4
app-arch/xz-utils"
RDEPEND="abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20131008-r1
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)"
S=${WORKDIR}/${MY_P%a}
DOCS=( AUTHORS ChangeLog NEWS README doc/configuration doc/isa_abi_headache )
HTML_DOCS=( doc )
MULTILIB_WRAPPED_HEADERS=( /usr/include/gmp.h )
src_prepare() {
[[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
# note: we cannot run autotools here as gcc depends on this package
elibtoolize
# GMP uses the "ABI" env var during configure as does Gentoo (econf).
# So, to avoid patching the source constantly, wrap things up.
mv configure configure.wrapped || die
cat <<-\EOF > configure
#!/bin/sh
exec env ABI="$GMPABI" "$0.wrapped" "$@"
EOF
chmod a+rx configure
}
multilib_src_configure() {
# Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
# http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
if [[ ${CHOST} == hppa2.0-* ]] ; then
export GMPABI="1.0"
fi
# ABI mappings (needs all architectures supported)
case ${ABI} in
32|x86) GMPABI=32;;
64|amd64|n64) GMPABI=64;;
[onx]32) GMPABI=${ABI};;
esac
export GMPABI
tc-export CC
ECONF_SOURCE="${S}" econf \
--localstatedir=/var/state/gmp \
--enable-shared \
$(use_enable cxx) \
$(use_enable static-libs static)
}
multilib_src_compile() {
emake
if use pgo ; then
emake -j1 -C tune tuneup
ebegin "Trying to generate tuned data"
./tune/tuneup | tee gmp.mparam.h.new
if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then
mv gmp-mparam.h.new gmp-mparam.h
emake clean
emake
fi
fi
}
multilib_src_test() {
emake check
}
multilib_src_install() {
emake DESTDIR="${D}" install
# should be a standalone lib
rm -f "${D}"/usr/$(get_libdir)/libgmp.la
# this requires libgmp
local la="${D}/usr/$(get_libdir)/libgmpxx.la"
use static-libs \
&& sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
|| rm -f "${la}"
}
multilib_src_install_all() {
einstalldocs
use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/libgmp.so.3
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/libgmp.so.3
}

@ -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 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.11.ebuild,v 1.20 2013/03/28 23:48:12 vapier Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.11.ebuild,v 1.21 2014/03/25 20:04:37 vapier Exp $
EAPI=4 EAPI=4

@ -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 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.12.ebuild,v 1.3 2013/03/28 23:48:12 vapier Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.12.ebuild,v 1.4 2014/03/25 20:04:37 vapier Exp $
EAPI=5 EAPI=5

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.13-r1.ebuild,v 1.4 2014/01/18 02:49:00 vapier Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.13-r1.ebuild,v 1.5 2014/03/25 20:04:37 vapier Exp $
EAPI=5 EAPI=5
inherit eutils libtool multilib toolchain-funcs multilib-minimal inherit eutils libtool multilib toolchain-funcs multilib-minimal
@ -11,7 +11,7 @@ SRC_URI="ftp://sourceware.org/pub/${PN}/${P}.tar.gz"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
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 ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" 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 ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="debug pax_kernel static-libs test" IUSE="debug pax_kernel static-libs test"
RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1 RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1

@ -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 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.13.ebuild,v 1.3 2013/05/18 11:47:54 zorry Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.13.ebuild,v 1.4 2014/03/25 20:04:37 vapier Exp $
EAPI=5 EAPI=5
inherit eutils libtool multilib toolchain-funcs inherit eutils libtool multilib toolchain-funcs

@ -1 +1,2 @@
DIST libixion-0.5.0.tar.bz2 338072 SHA256 ebe7e7d83b437cf03e9040c9f46cf15ed50adaac65b64c32127db2e9d6181304 SHA512 30cc696332ff2bad0540a84dc22ad2a0c73e909607fcfb73c4026e6cac271f99bf46cece6e427b4f794f01c5c158faee3426fbb068cf4652f5f1142d8c46b83a WHIRLPOOL f69478e7c57ef251191d20f0ac1ef1a5a3f8dfad71dc5dac43286a92ba12892e5fd6d1b3295939a9ec19e7966edc1987bba704fa6400fd713813d337728ecd51 DIST libixion-0.5.0.tar.bz2 338072 SHA256 ebe7e7d83b437cf03e9040c9f46cf15ed50adaac65b64c32127db2e9d6181304 SHA512 30cc696332ff2bad0540a84dc22ad2a0c73e909607fcfb73c4026e6cac271f99bf46cece6e427b4f794f01c5c158faee3426fbb068cf4652f5f1142d8c46b83a WHIRLPOOL f69478e7c57ef251191d20f0ac1ef1a5a3f8dfad71dc5dac43286a92ba12892e5fd6d1b3295939a9ec19e7966edc1987bba704fa6400fd713813d337728ecd51
DIST libixion-0.7.0.tar.bz2 398089 SHA256 c9594ec93e911b40b26784ccdae47df8ea3a7d9b57bbad876733e4efcedf5581 SHA512 bda96a9cefb4bd842cd399a74c2fb5791d2a1d1d06d07106e1a121dc0bc02c00bef371b480ab1a7f922d5292c4d94fa8f7faaa2c6cd7596f2bc08b6ddfc929f5 WHIRLPOOL 0881a4b350eb6e8dc30ec166630cf46f85af07f41010b51b1b359787641d7f742ae10f1d4b1b3e438460bdb72468f43158c5baf1da95a0b70ed9d380c230f7d3

@ -0,0 +1,41 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libixion/libixion-0.7.0.ebuild,v 1.1 2014/03/25 10:24:49 scarabeus Exp $
EAPI=5
EGIT_REPO_URI="git://gitorious.org/ixion/ixion.git"
[[ ${PV} == 9999 ]] && GITECLASS="git-2 autotools"
inherit eutils ${GITECLASS}
unset GITECLASS
DESCRIPTION="General purpose formula parser & interpreter"
HOMEPAGE="http://gitorious.org/ixion/pages/Home"
[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0/0.7"
[[ ${PV} == 9999 ]] || \
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="static-libs"
RDEPEND="dev-libs/boost:="
DEPEND="${RDEPEND}
>=dev-util/mdds-0.7.1:=
"
src_prepare() {
[[ ${PV} == 9999 ]] && eautoreconf
}
src_configure() {
econf \
$(use_enable static-libs static)
}
src_install() {
default
prune_libtool_files --all
}

@ -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 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libixion/libixion-9999.ebuild,v 1.5 2013/07/10 07:49:25 scarabeus Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/libixion/libixion-9999.ebuild,v 1.6 2014/03/25 10:24:49 scarabeus Exp $
EAPI=5 EAPI=5
@ -15,7 +15,7 @@ HOMEPAGE="http://gitorious.org/ixion/pages/Home"
[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.bz2" [[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.bz2"
LICENSE="MIT" LICENSE="MIT"
SLOT="0/0.5" SLOT="0/0.7"
[[ ${PV} == 9999 ]] || \ [[ ${PV} == 9999 ]] || \
KEYWORDS="~amd64 ~arm ~ppc ~x86" KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="static-libs" IUSE="static-libs"

@ -1,2 +1,3 @@
DIST liborcus-0.5.1.tar.bz2 1445106 SHA256 e632373149c0b29a971aa74c079f8825bc6bc7b09c0899c8de004ee7e72ad765 SHA512 ca69c89d09a514285b119d1cda67e20856ee6897ca5e33223cc5f8163a488fc367dec10a6e2a33a7b09b337dbab2c461e9dcf1b2c72bafebd6861a1eb03683d7 WHIRLPOOL 32c8f0f50b239ae164a4ac04ee79c2bee22391cf01cbb875ca92451dbf2d26f2a24db22e5f0b2ab82e2da4c5ff04663c16ceed305da145542855ec0645bf24e4 DIST liborcus-0.5.1.tar.bz2 1445106 SHA256 e632373149c0b29a971aa74c079f8825bc6bc7b09c0899c8de004ee7e72ad765 SHA512 ca69c89d09a514285b119d1cda67e20856ee6897ca5e33223cc5f8163a488fc367dec10a6e2a33a7b09b337dbab2c461e9dcf1b2c72bafebd6861a1eb03683d7 WHIRLPOOL 32c8f0f50b239ae164a4ac04ee79c2bee22391cf01cbb875ca92451dbf2d26f2a24db22e5f0b2ab82e2da4c5ff04663c16ceed305da145542855ec0645bf24e4
DIST liborcus-0.7.0.tar.bz2 1665988 SHA256 7773a8f5f0b810e0f146dbcf3dbb42e89dd8af0868235e01d9f0cdefde41a8a9 SHA512 63aad5154e25d7d7bfd10f07e614e4c1ed2691a31c61c2b1e7ec029fa4d9168eba5b4303f5164ab29ef92843ce8f8afa9682772515c8b5e8ae65f4561b331db8 WHIRLPOOL b555b005b41fb41571ac7dbc63e32541decd0b79d61435a6730de9438761afe363d063905b671e1b724c02f2846e65e2af7fffca40282d08d35e1c4ff787fc63
DIST liborcus_0.3.0.tar.bz2 1373518 SHA256 30829484b2328d0666c859b32370d3826b3468f3945d054abdac8234f4083c77 SHA512 13eb493fa6fade073f6747860ee5d9c0fe486f3ef3285def7d1c62ddb98caac53346f7fd185097d899d10042bb6bc7ea12c069e70f5a49218486d6ba8add6eeb WHIRLPOOL 2d91b2feaa2804be2f488ef19d55caabb3b18034eced171fa956a8c628bbe93a8f8eaae2aa9900aa6b71379610467dd782f9085b788919e6708dc2b46b15e814 DIST liborcus_0.3.0.tar.bz2 1373518 SHA256 30829484b2328d0666c859b32370d3826b3468f3945d054abdac8234f4083c77 SHA512 13eb493fa6fade073f6747860ee5d9c0fe486f3ef3285def7d1c62ddb98caac53346f7fd185097d899d10042bb6bc7ea12c069e70f5a49218486d6ba8add6eeb WHIRLPOOL 2d91b2feaa2804be2f488ef19d55caabb3b18034eced171fa956a8c628bbe93a8f8eaae2aa9900aa6b71379610467dd782f9085b788919e6708dc2b46b15e814

@ -0,0 +1,45 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/liborcus/liborcus-0.7.0.ebuild,v 1.1 2014/03/25 10:28:37 scarabeus Exp $
EAPI=5
EGIT_REPO_URI="git://gitorious.org/orcus/orcus.git"
[[ ${PV} == 9999 ]] && GITECLASS="git-2 autotools"
inherit eutils ${GITECLASS}
unset GITECLASS
DESCRIPTION="Standalone file import filter library for spreadsheet documents"
HOMEPAGE="http://gitorious.org/orcus/pages/Home"
[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/orcus/src/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0/0.5"
[[ ${PV} == 9999 ]] || \
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="static-libs"
RDEPEND="
>=dev-libs/boost-1.51.0:=
>=dev-libs/libixion-0.7.0:=
"
DEPEND="${RDEPEND}
>=dev-util/mdds-0.8.1
"
src_prepare() {
[[ ${PV} == 9999 ]] && eautoreconf
}
src_configure() {
econf \
--disable-werror \
$(use_enable static-libs static)
}
src_install() {
default
prune_libtool_files --all
}

@ -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 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/liborcus/liborcus-9999.ebuild,v 1.9 2013/07/10 07:46:58 scarabeus Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/liborcus/liborcus-9999.ebuild,v 1.10 2014/03/25 10:28:37 scarabeus Exp $
EAPI=5 EAPI=5
@ -15,7 +15,7 @@ HOMEPAGE="http://gitorious.org/orcus/pages/Home"
[[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/orcus/src/${P}.tar.bz2" [[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/orcus/src/${P}.tar.bz2"
LICENSE="MIT" LICENSE="MIT"
SLOT="0/0.5" SLOT="0/0.7"
[[ ${PV} == 9999 ]] || \ [[ ${PV} == 9999 ]] || \
KEYWORDS="~amd64 ~arm ~ppc ~x86" KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="static-libs" IUSE="static-libs"

@ -0,0 +1,45 @@
diff -Naurd mpfr-3.1.2-a/PATCHES mpfr-3.1.2-b/PATCHES
--- mpfr-3.1.2-a/PATCHES 2013-09-26 10:52:52.000000000 +0000
+++ mpfr-3.1.2-b/PATCHES 2013-09-26 10:52:52.000000000 +0000
@@ -0,0 +1 @@
+exp_2
diff -Naurd mpfr-3.1.2-a/VERSION mpfr-3.1.2-b/VERSION
--- mpfr-3.1.2-a/VERSION 2013-03-13 15:37:28.000000000 +0000
+++ mpfr-3.1.2-b/VERSION 2013-09-26 10:52:52.000000000 +0000
@@ -1 +1 @@
-3.1.2
+3.1.2-p1
diff -Naurd mpfr-3.1.2-a/src/exp_2.c mpfr-3.1.2-b/src/exp_2.c
--- mpfr-3.1.2-a/src/exp_2.c 2013-03-13 15:37:28.000000000 +0000
+++ mpfr-3.1.2-b/src/exp_2.c 2013-09-26 10:52:52.000000000 +0000
@@ -204,7 +204,7 @@
for (k = 0; k < K; k++)
{
mpz_mul (ss, ss, ss);
- exps <<= 1;
+ exps *= 2;
exps += mpz_normalize (ss, ss, q);
}
mpfr_set_z (s, ss, MPFR_RNDN);
diff -Naurd mpfr-3.1.2-a/src/mpfr.h mpfr-3.1.2-b/src/mpfr.h
--- mpfr-3.1.2-a/src/mpfr.h 2013-03-13 15:37:37.000000000 +0000
+++ mpfr-3.1.2-b/src/mpfr.h 2013-09-26 10:52:52.000000000 +0000
@@ -27,7 +27,7 @@
#define MPFR_VERSION_MAJOR 3
#define MPFR_VERSION_MINOR 1
#define MPFR_VERSION_PATCHLEVEL 2
-#define MPFR_VERSION_STRING "3.1.2"
+#define MPFR_VERSION_STRING "3.1.2-p1"
/* Macros dealing with MPFR VERSION */
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
diff -Naurd mpfr-3.1.2-a/src/version.c mpfr-3.1.2-b/src/version.c
--- mpfr-3.1.2-a/src/version.c 2013-03-13 15:37:34.000000000 +0000
+++ mpfr-3.1.2-b/src/version.c 2013-09-26 10:52:52.000000000 +0000
@@ -25,5 +25,5 @@
const char *
mpfr_get_version (void)
{
- return "3.1.2";
+ return "3.1.2-p1";
}

@ -0,0 +1,605 @@
diff -Naurd mpfr-3.1.2-a/PATCHES mpfr-3.1.2-b/PATCHES
--- mpfr-3.1.2-a/PATCHES 2013-09-26 10:56:55.000000000 +0000
+++ mpfr-3.1.2-b/PATCHES 2013-09-26 10:56:55.000000000 +0000
@@ -0,0 +1 @@
+fits-smallneg
diff -Naurd mpfr-3.1.2-a/VERSION mpfr-3.1.2-b/VERSION
--- mpfr-3.1.2-a/VERSION 2013-09-26 10:52:52.000000000 +0000
+++ mpfr-3.1.2-b/VERSION 2013-09-26 10:56:55.000000000 +0000
@@ -1 +1 @@
-3.1.2-p1
+3.1.2-p2
diff -Naurd mpfr-3.1.2-a/src/fits_u.h mpfr-3.1.2-b/src/fits_u.h
--- mpfr-3.1.2-a/src/fits_u.h 2013-03-13 15:37:35.000000000 +0000
+++ mpfr-3.1.2-b/src/fits_u.h 2013-09-26 10:56:55.000000000 +0000
@@ -32,17 +32,20 @@
int res;
if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (f)))
- /* Zero always fit */
- return MPFR_IS_ZERO (f) ? 1 : 0;
- else if (MPFR_IS_NEG (f))
- /* Negative numbers don't fit */
- return 0;
- /* now it fits if
- (a) f <= MAXIMUM
- (b) round(f, prec(slong), rnd) <= MAXIMUM */
+ return MPFR_IS_ZERO (f) ? 1 : 0; /* Zero always fits */
e = MPFR_GET_EXP (f);
+ if (MPFR_IS_NEG (f))
+ return e >= 1 ? 0 /* f <= -1 does not fit */
+ : rnd != MPFR_RNDN ? MPFR_IS_LIKE_RNDU (rnd, -1) /* directed mode */
+ : e < 0 ? 1 /* f > -1/2 fits in MPFR_RNDN */
+ : mpfr_powerof2_raw(f); /* -1/2 fits, -1 < f < -1/2 don't */
+
+ /* Now it fits if
+ (a) f <= MAXIMUM
+ (b) round(f, prec(slong), rnd) <= MAXIMUM */
+
/* first compute prec(MAXIMUM); fits in an int */
for (s = MAXIMUM, prec = 0; s != 0; s /= 2, prec ++);
diff -Naurd mpfr-3.1.2-a/src/fits_uintmax.c mpfr-3.1.2-b/src/fits_uintmax.c
--- mpfr-3.1.2-a/src/fits_uintmax.c 2013-03-13 15:37:33.000000000 +0000
+++ mpfr-3.1.2-b/src/fits_uintmax.c 2013-09-26 10:56:55.000000000 +0000
@@ -27,51 +27,19 @@
#include "mpfr-intmax.h"
#include "mpfr-impl.h"
-#ifdef _MPFR_H_HAVE_INTMAX_T
-
-/* We can't use fits_u.h <= mpfr_cmp_ui */
-int
-mpfr_fits_uintmax_p (mpfr_srcptr f, mpfr_rnd_t rnd)
-{
- mpfr_exp_t e;
- int prec;
- uintmax_t s;
- mpfr_t x;
- int res;
-
- if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (f)))
- /* Zero always fit */
- return MPFR_IS_ZERO (f) ? 1 : 0;
- else if (MPFR_IS_NEG (f))
- /* Negative numbers don't fit */
- return 0;
- /* now it fits if
- (a) f <= MAXIMUM
- (b) round(f, prec(slong), rnd) <= MAXIMUM */
-
- e = MPFR_GET_EXP (f);
-
- /* first compute prec(MAXIMUM); fits in an int */
- for (s = MPFR_UINTMAX_MAX, prec = 0; s != 0; s /= 2, prec ++);
-
- /* MAXIMUM needs prec bits, i.e. MAXIMUM = 2^prec - 1 */
-
- /* if e <= prec - 1, then f < 2^(prec-1) < MAXIMUM */
- if (e <= prec - 1)
- return 1;
+/* Note: though mpfr-impl.h is included in fits_u.h, we also include it
+ above so that it gets included even when _MPFR_H_HAVE_INTMAX_T is not
+ defined; this is necessary to avoid an empty translation unit, which
+ is forbidden by ISO C. Without this, a failing test can be reproduced
+ by creating an invalid stdint.h somewhere in the default include path
+ and by compiling MPFR with "gcc -ansi -pedantic-errors". */
- /* if e >= prec + 1, then f >= 2^prec > MAXIMUM */
- if (e >= prec + 1)
- return 0;
+#ifdef _MPFR_H_HAVE_INTMAX_T
- MPFR_ASSERTD (e == prec);
+#define FUNCTION mpfr_fits_uintmax_p
+#define MAXIMUM MPFR_UINTMAX_MAX
+#define TYPE uintmax_t
- /* hard case: first round to prec bits, then check */
- mpfr_init2 (x, prec);
- mpfr_set (x, f, rnd);
- res = MPFR_GET_EXP (x) == e;
- mpfr_clear (x);
- return res;
-}
+#include "fits_u.h"
#endif
diff -Naurd mpfr-3.1.2-a/src/mpfr.h mpfr-3.1.2-b/src/mpfr.h
--- mpfr-3.1.2-a/src/mpfr.h 2013-09-26 10:52:52.000000000 +0000
+++ mpfr-3.1.2-b/src/mpfr.h 2013-09-26 10:56:55.000000000 +0000
@@ -27,7 +27,7 @@
#define MPFR_VERSION_MAJOR 3
#define MPFR_VERSION_MINOR 1
#define MPFR_VERSION_PATCHLEVEL 2
-#define MPFR_VERSION_STRING "3.1.2-p1"
+#define MPFR_VERSION_STRING "3.1.2-p2"
/* Macros dealing with MPFR VERSION */
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
diff -Naurd mpfr-3.1.2-a/src/version.c mpfr-3.1.2-b/src/version.c
--- mpfr-3.1.2-a/src/version.c 2013-09-26 10:52:52.000000000 +0000
+++ mpfr-3.1.2-b/src/version.c 2013-09-26 10:56:55.000000000 +0000
@@ -25,5 +25,5 @@
const char *
mpfr_get_version (void)
{
- return "3.1.2-p1";
+ return "3.1.2-p2";
}
diff -Naurd mpfr-3.1.2-a/tests/tfits.c mpfr-3.1.2-b/tests/tfits.c
--- mpfr-3.1.2-a/tests/tfits.c 2013-03-13 15:37:45.000000000 +0000
+++ mpfr-3.1.2-b/tests/tfits.c 2013-09-26 10:56:55.000000000 +0000
@@ -33,155 +33,176 @@
#include "mpfr-intmax.h"
#include "mpfr-test.h"
-#define ERROR1 { printf("Initial error for x="); mpfr_dump(x); exit(1); }
-#define ERROR2 { printf("Error for x="); mpfr_dump(x); exit(1); }
+#define ERROR1(N) \
+ do \
+ { \
+ printf("Error %d for rnd = %s and x = ", N, \
+ mpfr_print_rnd_mode ((mpfr_rnd_t) r)); \
+ mpfr_dump(x); \
+ exit(1); \
+ } \
+ while (0)
static void check_intmax (void);
int
main (void)
{
- mpfr_t x;
+ mpfr_t x, y;
+ int i, r;
tests_start_mpfr ();
mpfr_init2 (x, 256);
+ mpfr_init2 (y, 8);
- /* Check NAN */
- mpfr_set_nan (x);
- if (mpfr_fits_ulong_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_slong_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_uint_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_sint_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_ushort_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_sshort_p (x, MPFR_RNDN))
- ERROR1;
+ RND_LOOP (r)
+ {
- /* Check INF */
- mpfr_set_inf (x, 1);
- if (mpfr_fits_ulong_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_slong_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_uint_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_sint_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_ushort_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_sshort_p (x, MPFR_RNDN))
- ERROR1;
+ /* Check NAN */
+ mpfr_set_nan (x);
+ if (mpfr_fits_ulong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (1);
+ if (mpfr_fits_slong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (2);
+ if (mpfr_fits_uint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (3);
+ if (mpfr_fits_sint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (4);
+ if (mpfr_fits_ushort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (5);
+ if (mpfr_fits_sshort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (6);
- /* Check Zero */
- MPFR_SET_ZERO (x);
- if (!mpfr_fits_ulong_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_slong_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_uint_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_sint_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_ushort_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_sshort_p (x, MPFR_RNDN))
- ERROR2;
+ /* Check INF */
+ mpfr_set_inf (x, 1);
+ if (mpfr_fits_ulong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (7);
+ if (mpfr_fits_slong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (8);
+ if (mpfr_fits_uint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (9);
+ if (mpfr_fits_sint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (10);
+ if (mpfr_fits_ushort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (11);
+ if (mpfr_fits_sshort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (12);
- /* Check small op */
- mpfr_set_str1 (x, "1@-1");
- if (!mpfr_fits_ulong_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_slong_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_uint_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_sint_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_ushort_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_sshort_p (x, MPFR_RNDN))
- ERROR2;
+ /* Check Zero */
+ MPFR_SET_ZERO (x);
+ if (!mpfr_fits_ulong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (13);
+ if (!mpfr_fits_slong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (14);
+ if (!mpfr_fits_uint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (15);
+ if (!mpfr_fits_sint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (16);
+ if (!mpfr_fits_ushort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (17);
+ if (!mpfr_fits_sshort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (18);
- /* Check 17 */
- mpfr_set_ui (x, 17, MPFR_RNDN);
- if (!mpfr_fits_ulong_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_slong_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_uint_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_sint_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_ushort_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_sshort_p (x, MPFR_RNDN))
- ERROR2;
+ /* Check small positive op */
+ mpfr_set_str1 (x, "1@-1");
+ if (!mpfr_fits_ulong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (19);
+ if (!mpfr_fits_slong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (20);
+ if (!mpfr_fits_uint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (21);
+ if (!mpfr_fits_sint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (22);
+ if (!mpfr_fits_ushort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (23);
+ if (!mpfr_fits_sshort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (24);
- /* Check all other values */
- mpfr_set_ui (x, ULONG_MAX, MPFR_RNDN);
- mpfr_mul_2exp (x, x, 1, MPFR_RNDN);
- if (mpfr_fits_ulong_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_slong_p (x, MPFR_RNDN))
- ERROR1;
- mpfr_mul_2exp (x, x, 40, MPFR_RNDN);
- if (mpfr_fits_ulong_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_uint_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_sint_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_ushort_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_sshort_p (x, MPFR_RNDN))
- ERROR1;
+ /* Check 17 */
+ mpfr_set_ui (x, 17, MPFR_RNDN);
+ if (!mpfr_fits_ulong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (25);
+ if (!mpfr_fits_slong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (26);
+ if (!mpfr_fits_uint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (27);
+ if (!mpfr_fits_sint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (28);
+ if (!mpfr_fits_ushort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (29);
+ if (!mpfr_fits_sshort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (30);
- mpfr_set_ui (x, ULONG_MAX, MPFR_RNDN);
- if (!mpfr_fits_ulong_p (x, MPFR_RNDN))
- ERROR2;
- mpfr_set_ui (x, LONG_MAX, MPFR_RNDN);
- if (!mpfr_fits_slong_p (x, MPFR_RNDN))
- ERROR2;
- mpfr_set_ui (x, UINT_MAX, MPFR_RNDN);
- if (!mpfr_fits_uint_p (x, MPFR_RNDN))
- ERROR2;
- mpfr_set_ui (x, INT_MAX, MPFR_RNDN);
- if (!mpfr_fits_sint_p (x, MPFR_RNDN))
- ERROR2;
- mpfr_set_ui (x, USHRT_MAX, MPFR_RNDN);
- if (!mpfr_fits_ushort_p (x, MPFR_RNDN))
- ERROR2;
- mpfr_set_ui (x, SHRT_MAX, MPFR_RNDN);
- if (!mpfr_fits_sshort_p (x, MPFR_RNDN))
- ERROR2;
+ /* Check all other values */
+ mpfr_set_ui (x, ULONG_MAX, MPFR_RNDN);
+ mpfr_mul_2exp (x, x, 1, MPFR_RNDN);
+ if (mpfr_fits_ulong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (31);
+ if (mpfr_fits_slong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (32);
+ mpfr_mul_2exp (x, x, 40, MPFR_RNDN);
+ if (mpfr_fits_ulong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (33);
+ if (mpfr_fits_uint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (34);
+ if (mpfr_fits_sint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (35);
+ if (mpfr_fits_ushort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (36);
+ if (mpfr_fits_sshort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (37);
- mpfr_set_si (x, 1, MPFR_RNDN);
- if (!mpfr_fits_sint_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_sshort_p (x, MPFR_RNDN))
- ERROR2;
+ mpfr_set_ui (x, ULONG_MAX, MPFR_RNDN);
+ if (!mpfr_fits_ulong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (38);
+ mpfr_set_ui (x, LONG_MAX, MPFR_RNDN);
+ if (!mpfr_fits_slong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (39);
+ mpfr_set_ui (x, UINT_MAX, MPFR_RNDN);
+ if (!mpfr_fits_uint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (40);
+ mpfr_set_ui (x, INT_MAX, MPFR_RNDN);
+ if (!mpfr_fits_sint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (41);
+ mpfr_set_ui (x, USHRT_MAX, MPFR_RNDN);
+ if (!mpfr_fits_ushort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (42);
+ mpfr_set_ui (x, SHRT_MAX, MPFR_RNDN);
+ if (!mpfr_fits_sshort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (43);
- /* Check negative value */
- mpfr_set_si (x, -1, MPFR_RNDN);
- if (!mpfr_fits_sint_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_sshort_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_slong_p (x, MPFR_RNDN))
- ERROR2;
- if (mpfr_fits_uint_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_ushort_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_ulong_p (x, MPFR_RNDN))
- ERROR1;
+ mpfr_set_si (x, 1, MPFR_RNDN);
+ if (!mpfr_fits_sint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (44);
+ if (!mpfr_fits_sshort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (45);
+
+ /* Check negative op */
+ for (i = 1; i <= 4; i++)
+ {
+ int inv;
+
+ mpfr_set_si_2exp (x, -i, -2, MPFR_RNDN);
+ mpfr_rint (y, x, (mpfr_rnd_t) r);
+ inv = MPFR_NOTZERO (y);
+ if (!mpfr_fits_ulong_p (x, (mpfr_rnd_t) r) ^ inv)
+ ERROR1 (46);
+ if (!mpfr_fits_slong_p (x, (mpfr_rnd_t) r))
+ ERROR1 (47);
+ if (!mpfr_fits_uint_p (x, (mpfr_rnd_t) r) ^ inv)
+ ERROR1 (48);
+ if (!mpfr_fits_sint_p (x, (mpfr_rnd_t) r))
+ ERROR1 (49);
+ if (!mpfr_fits_ushort_p (x, (mpfr_rnd_t) r) ^ inv)
+ ERROR1 (50);
+ if (!mpfr_fits_sshort_p (x, (mpfr_rnd_t) r))
+ ERROR1 (51);
+ }
+ }
mpfr_clear (x);
+ mpfr_clear (y);
check_intmax ();
@@ -189,85 +210,98 @@
return 0;
}
-static void check_intmax (void)
+static void
+check_intmax (void)
{
#ifdef _MPFR_H_HAVE_INTMAX_T
- mpfr_t x;
+ mpfr_t x, y;
+ int i, r;
- mpfr_init2 (x, sizeof (uintmax_t)*CHAR_BIT);
+ mpfr_init2 (x, sizeof (uintmax_t) * CHAR_BIT);
+ mpfr_init2 (y, 8);
- /* Check NAN */
- mpfr_set_nan (x);
- if (mpfr_fits_uintmax_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR1;
+ RND_LOOP (r)
+ {
+ /* Check NAN */
+ mpfr_set_nan (x);
+ if (mpfr_fits_uintmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (52);
+ if (mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (53);
- /* Check INF */
- mpfr_set_inf (x, 1);
- if (mpfr_fits_uintmax_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR1;
+ /* Check INF */
+ mpfr_set_inf (x, 1);
+ if (mpfr_fits_uintmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (54);
+ if (mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (55);
- /* Check Zero */
- MPFR_SET_ZERO (x);
- if (!mpfr_fits_uintmax_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR2;
+ /* Check Zero */
+ MPFR_SET_ZERO (x);
+ if (!mpfr_fits_uintmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (56);
+ if (!mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (57);
- /* Check small op */
- mpfr_set_str1 (x, "1@-1");
- if (!mpfr_fits_uintmax_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR2;
+ /* Check positive small op */
+ mpfr_set_str1 (x, "1@-1");
+ if (!mpfr_fits_uintmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (58);
+ if (!mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (59);
- /* Check 17 */
- mpfr_set_ui (x, 17, MPFR_RNDN);
- if (!mpfr_fits_uintmax_p (x, MPFR_RNDN))
- ERROR2;
- if (!mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR2;
+ /* Check 17 */
+ mpfr_set_ui (x, 17, MPFR_RNDN);
+ if (!mpfr_fits_uintmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (60);
+ if (!mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (61);
- /* Check hugest */
- mpfr_set_ui_2exp (x, 42, sizeof (uintmax_t) * 32, MPFR_RNDN);
- if (mpfr_fits_uintmax_p (x, MPFR_RNDN))
- ERROR1;
- if (mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR1;
+ /* Check hugest */
+ mpfr_set_ui_2exp (x, 42, sizeof (uintmax_t) * 32, MPFR_RNDN);
+ if (mpfr_fits_uintmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (62);
+ if (mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (63);
- /* Check all other values */
- mpfr_set_uj (x, MPFR_UINTMAX_MAX, MPFR_RNDN);
- mpfr_add_ui (x, x, 1, MPFR_RNDN);
- if (mpfr_fits_uintmax_p (x, MPFR_RNDN))
- ERROR1;
- mpfr_set_uj (x, MPFR_UINTMAX_MAX, MPFR_RNDN);
- if (!mpfr_fits_uintmax_p (x, MPFR_RNDN))
- ERROR2;
- mpfr_set_sj (x, MPFR_INTMAX_MAX, MPFR_RNDN);
- mpfr_add_ui (x, x, 1, MPFR_RNDN);
- if (mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR1;
- mpfr_set_sj (x, MPFR_INTMAX_MAX, MPFR_RNDN);
- if (!mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR2;
- mpfr_set_sj (x, MPFR_INTMAX_MIN, MPFR_RNDN);
- if (!mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR2;
- mpfr_sub_ui (x, x, 1, MPFR_RNDN);
- if (mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR1;
+ /* Check all other values */
+ mpfr_set_uj (x, MPFR_UINTMAX_MAX, MPFR_RNDN);
+ mpfr_add_ui (x, x, 1, MPFR_RNDN);
+ if (mpfr_fits_uintmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (64);
+ mpfr_set_uj (x, MPFR_UINTMAX_MAX, MPFR_RNDN);
+ if (!mpfr_fits_uintmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (65);
+ mpfr_set_sj (x, MPFR_INTMAX_MAX, MPFR_RNDN);
+ mpfr_add_ui (x, x, 1, MPFR_RNDN);
+ if (mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (66);
+ mpfr_set_sj (x, MPFR_INTMAX_MAX, MPFR_RNDN);
+ if (!mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (67);
+ mpfr_set_sj (x, MPFR_INTMAX_MIN, MPFR_RNDN);
+ if (!mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (68);
+ mpfr_sub_ui (x, x, 1, MPFR_RNDN);
+ if (mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (69);
- /* Check negative value */
- mpfr_set_si (x, -1, MPFR_RNDN);
- if (!mpfr_fits_intmax_p (x, MPFR_RNDN))
- ERROR2;
- if (mpfr_fits_uintmax_p (x, MPFR_RNDN))
- ERROR1;
+ /* Check negative op */
+ for (i = 1; i <= 4; i++)
+ {
+ int inv;
+
+ mpfr_set_si_2exp (x, -i, -2, MPFR_RNDN);
+ mpfr_rint (y, x, (mpfr_rnd_t) r);
+ inv = MPFR_NOTZERO (y);
+ if (!mpfr_fits_uintmax_p (x, (mpfr_rnd_t) r) ^ inv)
+ ERROR1 (70);
+ if (!mpfr_fits_intmax_p (x, (mpfr_rnd_t) r))
+ ERROR1 (71);
+ }
+ }
mpfr_clear (x);
+ mpfr_clear (y);
#endif
}
-

@ -0,0 +1,129 @@
diff -Naurd mpfr-3.1.2-a/PATCHES mpfr-3.1.2-b/PATCHES
--- mpfr-3.1.2-a/PATCHES 2013-10-09 13:34:21.000000000 +0000
+++ mpfr-3.1.2-b/PATCHES 2013-10-09 13:34:21.000000000 +0000
@@ -0,0 +1 @@
+clang-divby0
diff -Naurd mpfr-3.1.2-a/VERSION mpfr-3.1.2-b/VERSION
--- mpfr-3.1.2-a/VERSION 2013-09-26 10:52:52.000000000 +0000
+++ mpfr-3.1.2-b/VERSION 2013-10-09 13:34:21.000000000 +0000
@@ -1 +1 @@
-3.1.2-p2
+3.1.2-p3
diff -Naurd mpfr-3.1.2-a/src/mpfr-impl.h mpfr-3.1.2-b/src/mpfr-impl.h
--- mpfr-3.1.2-a/src/mpfr-impl.h 2013-03-13 15:37:36.000000000 +0000
+++ mpfr-3.1.2-b/src/mpfr-impl.h 2013-10-09 13:34:21.000000000 +0000
@@ -468,8 +468,16 @@
#define MPFR_LIMBS_PER_FLT ((IEEE_FLT_MANT_DIG-1)/GMP_NUMB_BITS+1)
/* Visual C++ doesn't support +1.0/0.0, -1.0/0.0 and 0.0/0.0
- at compile time. */
-#if defined(_MSC_VER) && defined(_WIN32) && (_MSC_VER >= 1200)
+ at compile time.
+ Clang with -fsanitize=undefined is a bit similar due to a bug:
+ http://llvm.org/bugs/show_bug.cgi?id=17381
+ but even without its sanitizer, it may be better to use the
+ double_zero version until IEEE 754 division by zero is properly
+ supported:
+ http://llvm.org/bugs/show_bug.cgi?id=17000
+*/
+#if (defined(_MSC_VER) && defined(_WIN32) && (_MSC_VER >= 1200)) || \
+ defined(__clang__)
static double double_zero = 0.0;
# define DBL_NAN (double_zero/double_zero)
# define DBL_POS_INF ((double) 1.0/double_zero)
@@ -501,6 +509,8 @@
(with Xcode 2.4.1, i.e. the latest one). */
#define LVALUE(x) (&(x) == &(x) || &(x) != &(x))
#define DOUBLE_ISINF(x) (LVALUE(x) && ((x) > DBL_MAX || (x) < -DBL_MAX))
+/* The DOUBLE_ISNAN(x) macro is also valid on long double x
+ (assuming that the compiler isn't too broken). */
#ifdef MPFR_NANISNAN
/* Avoid MIPSpro / IRIX64 / gcc -ffast-math (incorrect) optimizations.
The + must not be replaced by a ||. With gcc -ffast-math, NaN is
diff -Naurd mpfr-3.1.2-a/src/mpfr.h mpfr-3.1.2-b/src/mpfr.h
--- mpfr-3.1.2-a/src/mpfr.h 2013-09-26 10:52:52.000000000 +0000
+++ mpfr-3.1.2-b/src/mpfr.h 2013-10-09 13:34:21.000000000 +0000
@@ -27,7 +27,7 @@
#define MPFR_VERSION_MAJOR 3
#define MPFR_VERSION_MINOR 1
#define MPFR_VERSION_PATCHLEVEL 2
-#define MPFR_VERSION_STRING "3.1.2-p2"
+#define MPFR_VERSION_STRING "3.1.2-p3"
/* Macros dealing with MPFR VERSION */
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
diff -Naurd mpfr-3.1.2-a/src/version.c mpfr-3.1.2-b/src/version.c
--- mpfr-3.1.2-a/src/version.c 2013-09-26 10:52:52.000000000 +0000
+++ mpfr-3.1.2-b/src/version.c 2013-10-09 13:34:21.000000000 +0000
@@ -25,5 +25,5 @@
const char *
mpfr_get_version (void)
{
- return "3.1.2-p2";
+ return "3.1.2-p3";
}
diff -Naurd mpfr-3.1.2-a/tests/tget_flt.c mpfr-3.1.2-b/tests/tget_flt.c
--- mpfr-3.1.2-a/tests/tget_flt.c 2013-03-13 15:37:44.000000000 +0000
+++ mpfr-3.1.2-b/tests/tget_flt.c 2013-10-09 13:34:21.000000000 +0000
@@ -28,9 +28,17 @@
main (void)
{
mpfr_t x, y;
- float f, g, infp;
+ float f, g;
int i;
+#if !defined(MPFR_ERRDIVZERO)
+ float infp;
+#endif
+
+ tests_start_mpfr ();
+#if !defined(MPFR_ERRDIVZERO)
+ /* The definition of DBL_POS_INF involves a division by 0. This makes
+ "clang -O2 -fsanitize=undefined -fno-sanitize-recover" fail. */
infp = (float) DBL_POS_INF;
if (infp * 0.5 != infp)
{
@@ -38,8 +46,7 @@
fprintf (stderr, "(this is probably a compiler bug, please report)\n");
exit (1);
}
-
- tests_start_mpfr ();
+#endif
mpfr_init2 (x, 24);
mpfr_init2 (y, 24);
@@ -353,6 +360,7 @@
printf ("expected %.8e, got %.8e\n", g, f);
exit (1);
}
+#if !defined(MPFR_ERRDIVZERO)
f = mpfr_get_flt (x, MPFR_RNDN); /* first round to 2^128 (even rule),
thus we should get +Inf */
g = infp;
@@ -376,6 +384,7 @@
printf ("expected %.8e, got %.8e\n", g, f);
exit (1);
}
+#endif
mpfr_clear (x);
mpfr_clear (y);
diff -Naurd mpfr-3.1.2-a/tests/tset_ld.c mpfr-3.1.2-b/tests/tset_ld.c
--- mpfr-3.1.2-a/tests/tset_ld.c 2013-03-13 15:37:44.000000000 +0000
+++ mpfr-3.1.2-b/tests/tset_ld.c 2013-10-09 13:34:21.000000000 +0000
@@ -47,8 +47,11 @@
static int
Isnan_ld (long double d)
{
- double e = (double) d;
- if (DOUBLE_ISNAN (e))
+ /* Do not convert d to double as this can give an overflow, which
+ may confuse compilers without IEEE 754 support (such as clang
+ -fsanitize=undefined), or trigger a trap if enabled.
+ The DOUBLE_ISNAN macro should work fine on long double. */
+ if (DOUBLE_ISNAN (d))
return 1;
LONGDOUBLE_NAN_ACTION (d, goto yes);
return 0;

@ -0,0 +1,84 @@
diff -Naurd mpfr-3.1.2-a/PATCHES mpfr-3.1.2-b/PATCHES
--- mpfr-3.1.2-a/PATCHES 2013-11-15 00:51:49.211333830 +0000
+++ mpfr-3.1.2-b/PATCHES 2013-11-15 00:51:49.323334999 +0000
@@ -0,0 +1 @@
+printf-alt0
diff -Naurd mpfr-3.1.2-a/VERSION mpfr-3.1.2-b/VERSION
--- mpfr-3.1.2-a/VERSION 2013-11-15 00:51:49.211333830 +0000
+++ mpfr-3.1.2-b/VERSION 2013-11-15 00:51:49.323334999 +0000
@@ -1 +1 @@
-3.1.2-p3
+3.1.2-p4
diff -Naurd mpfr-3.1.2-a/src/mpfr.h mpfr-3.1.2-b/src/mpfr.h
--- mpfr-3.1.2-a/src/mpfr.h 2013-11-15 00:51:49.211333830 +0000
+++ mpfr-3.1.2-b/src/mpfr.h 2013-11-15 00:51:49.323334999 +0000
@@ -27,7 +27,7 @@
#define MPFR_VERSION_MAJOR 3
#define MPFR_VERSION_MINOR 1
#define MPFR_VERSION_PATCHLEVEL 2
-#define MPFR_VERSION_STRING "3.1.2-p3"
+#define MPFR_VERSION_STRING "3.1.2-p4"
/* Macros dealing with MPFR VERSION */
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
diff -Naurd mpfr-3.1.2-a/src/vasprintf.c mpfr-3.1.2-b/src/vasprintf.c
--- mpfr-3.1.2-a/src/vasprintf.c 2013-03-13 15:37:37.000000000 +0000
+++ mpfr-3.1.2-b/src/vasprintf.c 2013-11-15 00:51:49.267334408 +0000
@@ -1040,7 +1040,7 @@
}
/* Determine the different parts of the string representation of the regular
- number P when SPEC.SPEC is 'e', 'E', 'g', or 'G'.
+ number P when spec.spec is 'e', 'E', 'g', or 'G'.
DEC_INFO contains the previously computed exponent and string or is NULL.
return -1 if some field > INT_MAX */
@@ -1167,7 +1167,7 @@
}
/* Determine the different parts of the string representation of the regular
- number P when SPEC.SPEC is 'f', 'F', 'g', or 'G'.
+ number P when spec.spec is 'f', 'F', 'g', or 'G'.
DEC_INFO contains the previously computed exponent and string or is NULL.
return -1 if some field of number_parts is greater than INT_MAX */
@@ -1559,7 +1559,7 @@
/* fractional part */
{
np->point = MPFR_DECIMAL_POINT;
- np->fp_trailing_zeros = (spec.spec == 'g' && spec.spec == 'G') ?
+ np->fp_trailing_zeros = (spec.spec == 'g' || spec.spec == 'G') ?
spec.prec - 1 : spec.prec;
}
else if (spec.alt)
diff -Naurd mpfr-3.1.2-a/src/version.c mpfr-3.1.2-b/src/version.c
--- mpfr-3.1.2-a/src/version.c 2013-11-15 00:51:49.211333830 +0000
+++ mpfr-3.1.2-b/src/version.c 2013-11-15 00:51:49.323334999 +0000
@@ -25,5 +25,5 @@
const char *
mpfr_get_version (void)
{
- return "3.1.2-p3";
+ return "3.1.2-p4";
}
diff -Naurd mpfr-3.1.2-a/tests/tsprintf.c mpfr-3.1.2-b/tests/tsprintf.c
--- mpfr-3.1.2-a/tests/tsprintf.c 2013-03-13 15:37:44.000000000 +0000
+++ mpfr-3.1.2-b/tests/tsprintf.c 2013-11-15 00:51:49.267334408 +0000
@@ -456,10 +456,16 @@
check_sprintf ("1.999900 ", "%-#10.7RG", x);
check_sprintf ("1.9999 ", "%-10.7RG", x);
mpfr_set_ui (x, 1, MPFR_RNDN);
+ check_sprintf ("1.", "%#.1Rg", x);
+ check_sprintf ("1. ", "%-#5.1Rg", x);
+ check_sprintf (" 1.0", "%#5.2Rg", x);
check_sprintf ("1.00000000000000000000000000000", "%#.30Rg", x);
check_sprintf ("1", "%.30Rg", x);
mpfr_set_ui (x, 0, MPFR_RNDN);
- check_sprintf ("0.000000000000000000000000000000", "%#.30Rg", x);
+ check_sprintf ("0.", "%#.1Rg", x);
+ check_sprintf ("0. ", "%-#5.1Rg", x);
+ check_sprintf (" 0.0", "%#5.2Rg", x);
+ check_sprintf ("0.00000000000000000000000000000", "%#.30Rg", x);
check_sprintf ("0", "%.30Rg", x);
/* following tests with precision 53 bits */

@ -0,0 +1,42 @@
diff -Naurd mpfr-3.1.2-a/PATCHES mpfr-3.1.2-b/PATCHES
--- mpfr-3.1.2-a/PATCHES 2013-12-01 11:07:49.575329762 +0000
+++ mpfr-3.1.2-b/PATCHES 2013-12-01 11:07:49.751331625 +0000
@@ -0,0 +1 @@
+custom_init_set
diff -Naurd mpfr-3.1.2-a/VERSION mpfr-3.1.2-b/VERSION
--- mpfr-3.1.2-a/VERSION 2013-12-01 11:07:49.571329714 +0000
+++ mpfr-3.1.2-b/VERSION 2013-12-01 11:07:49.747331585 +0000
@@ -1 +1 @@
-3.1.2-p4
+3.1.2-p5
diff -Naurd mpfr-3.1.2-a/src/mpfr.h mpfr-3.1.2-b/src/mpfr.h
--- mpfr-3.1.2-a/src/mpfr.h 2013-12-01 11:07:49.571329714 +0000
+++ mpfr-3.1.2-b/src/mpfr.h 2013-12-01 11:07:49.747331585 +0000
@@ -27,7 +27,7 @@
#define MPFR_VERSION_MAJOR 3
#define MPFR_VERSION_MINOR 1
#define MPFR_VERSION_PATCHLEVEL 2
-#define MPFR_VERSION_STRING "3.1.2-p4"
+#define MPFR_VERSION_STRING "3.1.2-p5"
/* Macros dealing with MPFR VERSION */
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
@@ -861,7 +861,7 @@
_t = (mpfr_kind_t) _k; \
_s = 1; \
} else { \
- _t = (mpfr_kind_t) -k; \
+ _t = (mpfr_kind_t) - _k; \
_s = -1; \
} \
_e = _t == MPFR_REGULAR_KIND ? (e) : \
diff -Naurd mpfr-3.1.2-a/src/version.c mpfr-3.1.2-b/src/version.c
--- mpfr-3.1.2-a/src/version.c 2013-12-01 11:07:49.575329762 +0000
+++ mpfr-3.1.2-b/src/version.c 2013-12-01 11:07:49.747331585 +0000
@@ -25,5 +25,5 @@
const char *
mpfr_get_version (void)
{
- return "3.1.2-p4";
+ return "3.1.2-p5";
}

@ -0,0 +1,73 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.2_p5.ebuild,v 1.1 2014/03/26 05:45:18 vapier Exp $
EAPI="3"
# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
inherit eutils libtool multilib
MY_PV=${PV/_p*}
MY_P=${PN}-${MY_PV}
PLEVEL=${PV/*p}
DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
HOMEPAGE="http://www.mpfr.org/"
SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="0"
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 ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="static-libs"
RDEPEND=">=dev-libs/gmp-4.1.4-r2[static-libs?]"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
if [[ ${PLEVEL} != ${PV} ]] ; then
for ((i=1; i<=PLEVEL; ++i)) ; do
patch=patch$(printf '%02d' ${i})
if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
epatch "${FILESDIR}"/${MY_PV}/${patch}
elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
else
ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
die "patch ${i} missing - please report to bugs.gentoo.org"
fi
done
fi
sed -i '/if test/s:==:=:' configure #261016
find . -type f -exec touch -r configure {} +
elibtoolize
}
src_configure() {
# Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19
user_redefine_cc=yes \
econf \
--docdir="\$(datarootdir)/doc/${PF}" \
$(use_enable static-libs static)
}
src_install() {
emake install DESTDIR="${D}" || die
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/libmpfr.la
# clean up html/license install
pushd "${ED}"/usr/share/doc/${PF} >/dev/null
dohtml *.html && rm COPYING* *.html || die
popd >/dev/null
# some, but not all, are already installed
dodoc AUTHORS BUGS ChangeLog NEWS README TODO
prepalldocs
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 1)
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 1)
}

@ -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 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/extlib-1.6.1.ebuild,v 1.1 2013/12/11 19:24:33 aballier Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/extlib-1.6.1.ebuild,v 1.2 2014/03/25 10:19:40 nimiux Exp $
EAPI=5 EAPI=5
@ -13,7 +13,7 @@ LICENSE="LGPL-2.1"
DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]" DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]"
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
SLOT="0/${PV}" SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc +ocamlopt" IUSE="doc +ocamlopt"
src_compile() { src_compile() {

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pomap/pomap-3.0.3.ebuild,v 1.1 2014/01/19 13:14:00 aballier Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-ml/pomap/pomap-3.0.3.ebuild,v 1.2 2014/03/25 10:30:49 nimiux Exp $
EAPI=5 EAPI=5
@ -16,7 +16,7 @@ LICENSE="LGPL-2.1-with-linking-exception"
DEPEND="" DEPEND=""
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
SLOT="0/${PV}" SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc ~x86" KEYWORDS="amd64 ~ppc ~x86"
IUSE="examples" IUSE="examples"
DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" ) DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/res/res-4.0.4.ebuild,v 1.1 2014/01/19 12:36:16 aballier Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-ml/res/res-4.0.4.ebuild,v 1.2 2014/03/25 10:32:58 nimiux Exp $
EAPI=5 EAPI=5
@ -16,7 +16,7 @@ LICENSE="LGPL-2.1-with-linking-exception"
DEPEND="" DEPEND=""
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
SLOT="0/${PV}" SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc ~x86" KEYWORDS="amd64 ~ppc ~x86"
IUSE="examples" IUSE="examples"
DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" ) DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )

@ -1,21 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Geo-IP/Geo-IP-1.400.0.ebuild,v 1.6 2012/02/19 15:47:22 armin76 Exp $
EAPI=4
MODULE_AUTHOR=BORISZ
MODULE_VERSION=1.40
inherit perl-module multilib
DESCRIPTION="Look up country by IP Address"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86 ~x86-fbsd"
IUSE=""
DEPEND="dev-libs/geoip"
RDEPEND="${DEPEND}"
SRC_TEST=no
myconf="LIBS=-L/usr/$(get_libdir)"

@ -1,21 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Geo-IP/Geo-IP-1.410.0.ebuild,v 1.9 2013/06/29 16:19:46 ago Exp $
EAPI=5
MODULE_AUTHOR=BORISZ
MODULE_VERSION=1.41
inherit perl-module multilib
DESCRIPTION="Look up country by IP Address"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86 ~x86-fbsd"
IUSE=""
DEPEND="dev-libs/geoip"
RDEPEND="${DEPEND}"
SRC_TEST=no
myconf="LIBS=-L/usr/$(get_libdir)"

@ -1,4 +1,2 @@
DIST Geo-IP-1.40.tar.gz 111898 SHA256 ca48babd3e944cb1bc5cac56f618c9f94f3a329dd2716d6b49b658ae28848ab3 SHA512 6c5e3d136dcbaebf291ea14004cb775e0b4ef3ccaa4a200609a16818d34f6c9f1c2550b3f4d98626b6d58cfb372d1a7db86002506eddeceb592b800a056f11f2 WHIRLPOOL c4e91c22de1bc34b36c9d400c827577e878fa977098c7f0de68d35cae1b2354f4899b7e3663f9ec3c93f05b7fdf8015bbc9d55f285b30c30ef541b413ccf6889
DIST Geo-IP-1.41.tar.gz 111749 SHA256 d6afe868033f2620377de3d311c277fa2e70ccf02266b72efe03358b87ded348 SHA512 ddf5eaee87cf8e60e9516495a8d34ad7776dedb70db7c3ccfe970c37e03806f18a94d99f0086ce8981f5a35488395e91ae6f45e1aa549d678506b261fab0c01c WHIRLPOOL b1999dcebad5ad0e9c2abaa71ae552d4a8d5eb0e4048e2dd08146544e76757798f00b0d85d8c384e2bc92202ef73166e6c6e6376cfa7c1a98ef28f4537d963ed
DIST Geo-IP-1.42.tar.gz 111881 SHA256 c44b517490346e870cea22a1686937537088a85abf75eb8a01b136fc41cf81f5 SHA512 289d42a479fa5b7916bbb222a6c4f8be535c4bc1169413725b11a1291d49d795e59df963e432cbdf865a624e98e7448807a79c207cae84155607e4adceb585ab WHIRLPOOL 76303a43e633b669cce60004835ef09268699de833e4edea46affd96967041f346156baeb01a9d9f52a39b67749a5a24838b7bc8d7859a01c30becdb71f1bfe3 DIST Geo-IP-1.42.tar.gz 111881 SHA256 c44b517490346e870cea22a1686937537088a85abf75eb8a01b136fc41cf81f5 SHA512 289d42a479fa5b7916bbb222a6c4f8be535c4bc1169413725b11a1291d49d795e59df963e432cbdf865a624e98e7448807a79c207cae84155607e4adceb585ab WHIRLPOOL 76303a43e633b669cce60004835ef09268699de833e4edea46affd96967041f346156baeb01a9d9f52a39b67749a5a24838b7bc8d7859a01c30becdb71f1bfe3
DIST Geo-IP-1.43.tar.gz 112349 SHA256 587ab026e377d609e1ce0057439cd90f57849e0faa38713a5d19ee9f8965f55c SHA512 f848b4204138db82213b09d9193afc98d8bff04290cb4ad147196e136e3f2e17205bbc3123892208fedb20ae2785d0573517cd3c7de7804ce9424ee9688ce5fb WHIRLPOOL 8d0ecd0da39eb10bebfeda396b322956b5b309af627040a7abcef018d23d2a345fa52a102951878b74d6b06f8e148ff59c7244ccffceedf1b511cd009bb3ffc6 DIST Geo-IP-1.43.tar.gz 112349 SHA256 587ab026e377d609e1ce0057439cd90f57849e0faa38713a5d19ee9f8965f55c SHA512 f848b4204138db82213b09d9193afc98d8bff04290cb4ad147196e136e3f2e17205bbc3123892208fedb20ae2785d0573517cd3c7de7804ce9424ee9688ce5fb WHIRLPOOL 8d0ecd0da39eb10bebfeda396b322956b5b309af627040a7abcef018d23d2a345fa52a102951878b74d6b06f8e148ff59c7244ccffceedf1b511cd009bb3ffc6

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/cvxopt/cvxopt-1.1.6.ebuild,v 1.3 2014/01/16 18:44:31 bicatali Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/cvxopt/cvxopt-1.1.6-r2.ebuild,v 1.1 2014/03/26 00:04:00 bicatali Exp $
EAPI=5 EAPI=5
@ -21,35 +21,47 @@ RDEPEND="
virtual/blas virtual/blas
virtual/cblas virtual/cblas
virtual/lapack virtual/lapack
sci-libs/cholmod sci-libs/cholmod:0=
sci-libs/umfpack sci-libs/umfpack:0=
dsdp? ( sci-libs/dsdp ) dsdp? ( sci-libs/dsdp:0= )
fftw? ( sci-libs/fftw:3.0 ) fftw? ( sci-libs/fftw:3.0= )
glpk? ( sci-mathematics/glpk:= ) glpk? ( sci-mathematics/glpk:0= )
gsl? ( sci-libs/gsl )" gsl? ( sci-libs/gsl:0= )"
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
virtual/pkgconfig virtual/pkgconfig
doc? ( dev-python/sphinx )" doc? ( dev-python/sphinx )"
python_prepare_all(){ python_prepare_all(){
local PATCHES=( "${FILESDIR}"/${PN}-1.1.6-setup.patch ) epatch "${FILESDIR}"/${PN}-1.1.6-setup.patch
has_version ">=sci-mathematics/glpk-4.49" && \ has_version ">=sci-mathematics/glpk-4.49" && \
epatch "${FILESDIR}"/${PN}-1.1.6-glpk.patch epatch "${FILESDIR}"/${PN}-1.1.6-glpk449.patch
rm -r src/C/SuiteSparse*/ || die
distutils-r1_python_prepare_all rm -r src/C/SuiteSparse*/ || die
pkg_lib() { pkg_lib() {
local pylib=\'$($(tc-getPKG_CONFIG) --libs-only-l ${1} | sed \ local pkg=$(echo $1 | tr '[:lower:]' '[:upper:]')
-e 's/^-l//' \ local libs="$($(tc-getPKG_CONFIG) --libs-only-l $1 | \
-e "s/ -l/\',\'/g" \ sed -e 's:[ ]-l*\(pthread\|m\)\([ ]\|$\)::g' -e 's:[ ]*$::' | \
-e 's/.,.pthread//g' \ tr ' ' '\n' | sort -u | sed -e "s:^-l\(.*\):'\1':g" | \
-e "s:[[:space:]]::g")\' tr '\n' ',' | sed -e 's:,$::')"
sed -i -e "/_LIB = /s:\(.*\)'${1}'\(.*\):\1${pylib}\2:" setup.py || die local libdir="$($(tc-getPKG_CONFIG) --libs-only-L $1 | \
sed -e 's:[ ]*$::' | \
tr ' ' '\n' | sort -u | sed -e "s:^-L\(.*\):'\1':g" | \
tr '\n' ',' | sed -e 's:,$::')"
local incdir="$($(tc-getPKG_CONFIG) --cflags-only-I $1 | \
sed -e 's:[ ]*$::' | \
tr ' ' '\n' | sort -u | sed -e "s:^-L\(.*\):'\1':g" | \
tr '\n' ',' | sed -e 's:,$::')"
sed -i \
-e "/${pkg}_LIB[ ]*=/s:\(.*[ ]*=[ ]*\[\).*${1}.*:\1${libs}\]:" \
-e "s:\(${pkg}_INC_DIR[ ]*=\).*$:\1 ${incdir}:" \
-e "s:\[ BLAS_LIB_DIR \]:\[ ${libdir} \]:g" \
setup.py || die
} }
use_cvx() { use_cvx() {
if use ${1}; then if use $1 ; then
sed -i \ sed -i \
-e "s/\(BUILD_${1^^} =\) 0/\1 1/" \ -e "s/\(BUILD_${1^^} =\) 0/\1 1/" \
setup.py || die setup.py || die
@ -59,17 +71,12 @@ python_prepare_all(){
pkg_lib blas pkg_lib blas
pkg_lib lapack pkg_lib lapack
# Deal with blas/lapck libraries that are not in /usr/lib{64}
local lapackdir=\'$($(tc-getPKG_CONFIG) --libs-only-L lapack | sed \
-e 's/^-L//' \
-e "s/ -L/\',\'/g" \
-e "s:[[:space:]]::g")\'
sed -i -e "s:BLAS_LIB_DIR = '':BLAS_LIB_DIR = ${lapackdir}:" setup.py || die
use_cvx gsl use_cvx gsl
use_cvx fftw use_cvx fftw
use_cvx glpk use_cvx glpk
use_cvx dsdp use_cvx dsdp
distutils-r1_python_prepare_all
} }
python_compile_all() { python_compile_all() {

@ -102,7 +102,7 @@
library_dirs = [ BLAS_LIB_DIR ], library_dirs = [ BLAS_LIB_DIR ],
define_macros = MACROS, define_macros = MACROS,
extra_link_args = BLAS_EXTRA_LINK_ARGS, extra_link_args = BLAS_EXTRA_LINK_ARGS,
@@ -105,61 +98,35 @@ @@ -105,61 +98,36 @@
extra_link_args = BLAS_EXTRA_LINK_ARGS, extra_link_args = BLAS_EXTRA_LINK_ARGS,
sources = ['src/C/blas.c'] ) sources = ['src/C/blas.c'] )
@ -155,9 +155,10 @@
- glob('src/C/SuiteSparse/CHOLMOD/Cholesky/c*.c') + - glob('src/C/SuiteSparse/CHOLMOD/Cholesky/c*.c') +
- ['src/C/SuiteSparse/CHOLMOD/Check/cholmod_check.c'] + - ['src/C/SuiteSparse/CHOLMOD/Check/cholmod_check.c'] +
- glob('src/C/SuiteSparse/CHOLMOD/Supernodal/c*.c') ) - glob('src/C/SuiteSparse/CHOLMOD/Supernodal/c*.c') )
+ libraries = ['cholmod'] + BLAS_LIB, + library_dirs = [ BLAS_LIB_DIR ],
+ define_macros = MACROS + [('NPARTITION', '1'), ('NTIMER', '1')], + libraries = ['cholmod'] + BLAS_LIB,
+ sources = [ 'src/C/cholmod.c' ]) + define_macros = MACROS + [('NPARTITION', '1'), ('NTIMER', '1')],
+ sources = [ 'src/C/cholmod.c' ])
amd = Extension('amd', amd = Extension('amd',
- include_dirs = [ 'src/C/SuiteSparse/AMD/Include', - include_dirs = [ 'src/C/SuiteSparse/AMD/Include',

@ -1 +1,2 @@
DIST django-extensions-1.0.2.tgz 152935 SHA256 aebc3ddcd8f460109839c2b43c315628843a1bad3ef6ee9e4db93158df94b932 SHA512 57f8bf340115242e66c7f6c2e6eec17cb8966e03f8d932aad891201fdc720bd98f175c74adad25f26cf12c2c1dcbff0a6abf97690034517c370cd1027bef9ed9 WHIRLPOOL 49b97481705ee103b9435d7ad16ac7aaa149fc028e609f6d04f163fa6357b4490585715d31261aecefdfd76da18656b9ec64696542bee3f207960d54ac77b445 DIST django-extensions-1.0.2.tgz 152935 SHA256 aebc3ddcd8f460109839c2b43c315628843a1bad3ef6ee9e4db93158df94b932 SHA512 57f8bf340115242e66c7f6c2e6eec17cb8966e03f8d932aad891201fdc720bd98f175c74adad25f26cf12c2c1dcbff0a6abf97690034517c370cd1027bef9ed9 WHIRLPOOL 49b97481705ee103b9435d7ad16ac7aaa149fc028e609f6d04f163fa6357b4490585715d31261aecefdfd76da18656b9ec64696542bee3f207960d54ac77b445
DIST django-extensions-1.3.3.tgz 169961 SHA256 09bf65fe3ce80187d5d85088ae469a146f7b5d286c2e2a6d6acfb4c520f6ceed SHA512 51a0bf46a944647cf5510b6527ec0a95fddd6423f62fdaaedc4fa04cb4ea1d2413ffdf606d8c6440d92a3162f7cf6432ccaf4c4184b2eeac0106c6090a586ffd WHIRLPOOL 5f9fe79177b552b03d9ab8c016b153d55abe854889cbce39b85066bbdee6295ae51d326212c51c1d748da29b8175e9ec7835c66765f9564abed277b57c011e87

@ -0,0 +1,56 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-extensions/django-extensions-1.3.3.ebuild,v 1.1 2014/03/26 03:38:36 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_3} )
inherit distutils-r1
GIT_HASH_TAG="47a531c"
DESCRIPTION="Django Command Extensions"
HOMEPAGE="http://github.com/django-extensions/django-extensions http://code.google.com/p/django-command-extensions/"
SRC_URI="http://github.com/django-extensions/django-extensions/tarball/${PV}/${P}.tgz"
LICENSE="BSD || ( MIT GPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc graphviz mysql postgres s3 sqlite test vcard"
# Req'd for tests
DISTUTILS_IN_SOURCE_BUILD=1
PY2_USEDEP=$(python_gen_usedep 'python2*')
RDEPEND=">=dev-python/django-1.5.4[${PYTHON_USEDEP},mysql?,postgres?,sqlite?]
dev-python/six[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
graphviz? ( dev-python/pygraphviz[${PY2_USEDEP}] )
s3? ( dev-python/boto[${PY2_USEDEP}] )
vcard? ( dev-python/vobject[${PY2_USEDEP}] )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}] )
test? ( ${RDEPEND} )"
S="${WORKDIR}/${PN}-${PN}-${GIT_HASH_TAG}"
PY2_REQUSE="|| ( $(python_gen_useflags python2* ) )"
REQUIRED_USE="
graphviz? ( ${PY2_REQUSE} )
s3? ( ${PY2_REQUSE} )
vcard? ( ${PY2_REQUSE} )"
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
"${PYTHON}" run_tests.py || die
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.8.0-r1.ebuild,v 1.12 2014/03/18 20:21:22 bicatali Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.8.0-r1.ebuild,v 1.13 2014/03/25 19:26:53 bicatali Exp $
EAPI=5 EAPI=5
@ -51,19 +51,19 @@ src_unpack() {
pc_incdir() { pc_incdir() {
$(tc-getPKG_CONFIG) --cflags-only-I $@ | \ $(tc-getPKG_CONFIG) --cflags-only-I $@ | \
sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||'
} }
pc_libdir() { pc_libdir() {
$(tc-getPKG_CONFIG) --libs-only-L $@ | \ $(tc-getPKG_CONFIG) --libs-only-L $@ | \
sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^:||'
} }
pc_libs() { pc_libs() {
$(tc-getPKG_CONFIG) --libs-only-l $@ | \ $(tc-getPKG_CONFIG) --libs-only-l $@ | \
sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \ sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \
-e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \ -e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \
| tr ',' '\n' | sort | uniq | tr '\n' ',' | tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||'
} }
python_prepare_all() { python_prepare_all() {

@ -2,3 +2,4 @@ DIST amqp-1.0.13.tar.gz 70458 SHA256 15fed1a2f0326f198a9d3d16ce1dc4296385d33859b
DIST amqp-1.2.1.tar.gz 74050 SHA256 9d688b8da8051b0cbb97131c42a27923e3afd943c557cd30718b3d8f346dbeac SHA512 4ec9eae5c586808dae83c0409d1083da7df60898d6c5d5c999848c94b351a6fc0c0e89eacfc2c002dd153d6e6e0b9291357a608a3fdf508b06e20f85d793c962 WHIRLPOOL 65d7737540720708feacb2ef65450f978ad8c9b4c6667544e1a452d7421e81c9edac3714a819e8f49cd0a549ad9f0ebea1093239da4bc1db7d549d63b9e360d2 DIST amqp-1.2.1.tar.gz 74050 SHA256 9d688b8da8051b0cbb97131c42a27923e3afd943c557cd30718b3d8f346dbeac SHA512 4ec9eae5c586808dae83c0409d1083da7df60898d6c5d5c999848c94b351a6fc0c0e89eacfc2c002dd153d6e6e0b9291357a608a3fdf508b06e20f85d793c962 WHIRLPOOL 65d7737540720708feacb2ef65450f978ad8c9b4c6667544e1a452d7421e81c9edac3714a819e8f49cd0a549ad9f0ebea1093239da4bc1db7d549d63b9e360d2
DIST amqp-1.3.3.tar.gz 75574 SHA256 e65da719efcd1d0a9cff44431e2476f88de8ffeeb7abc0c77e82361c9281170f SHA512 16b0d5b51b8fb01bb3c14109b2ebdb59aeca227b313d16075151ccb631df2aabdc69c0eb70972f40975934fab55d8809ae9da0e9afa5bce5b7ab9a50a72d43c9 WHIRLPOOL 5228114037f9a217b251fe40a99015e38f49de5930b1723b47b9ccb7fb599308ff94efa4cc199fa1d9076ce62d0788b798202bce4ca5b0321bf6ea6f6957d8e7 DIST amqp-1.3.3.tar.gz 75574 SHA256 e65da719efcd1d0a9cff44431e2476f88de8ffeeb7abc0c77e82361c9281170f SHA512 16b0d5b51b8fb01bb3c14109b2ebdb59aeca227b313d16075151ccb631df2aabdc69c0eb70972f40975934fab55d8809ae9da0e9afa5bce5b7ab9a50a72d43c9 WHIRLPOOL 5228114037f9a217b251fe40a99015e38f49de5930b1723b47b9ccb7fb599308ff94efa4cc199fa1d9076ce62d0788b798202bce4ca5b0321bf6ea6f6957d8e7
DIST amqp-1.4.2.tar.gz 77984 SHA256 1de818a1472bf625712c5d3a430130d37749cf8a9413cb61e9411e2ebe17da89 SHA512 953ba1cacc01e906350c9506507ed35d6483071b0bbe7a78b422fff93e8ac9d4a1b3ace36b500ba41bf315d0e231bb2c19ed2817c7f4758210a07833a169b8ab WHIRLPOOL eb15d598d1db37605537d8eb9a677a29ad49ce63c7e74f1e34811a8747b0b4c5b19505a290e392365eee07a7834f16a919d57020f17c989642a5f92b8db6dbff DIST amqp-1.4.2.tar.gz 77984 SHA256 1de818a1472bf625712c5d3a430130d37749cf8a9413cb61e9411e2ebe17da89 SHA512 953ba1cacc01e906350c9506507ed35d6483071b0bbe7a78b422fff93e8ac9d4a1b3ace36b500ba41bf315d0e231bb2c19ed2817c7f4758210a07833a169b8ab WHIRLPOOL eb15d598d1db37605537d8eb9a677a29ad49ce63c7e74f1e34811a8747b0b4c5b19505a290e392365eee07a7834f16a919d57020f17c989642a5f92b8db6dbff
DIST amqp-1.4.4.tar.gz 77196 SHA256 86ffc9563311e4e2b343366c51880d973b1388f8e10e8d620689b381201ffe95 SHA512 0c097542c9388cdc50a366654bf0fc4ae036376d3d30d6f1c8561ac27e1b60fea7c3d4ccf1a55abe2d565f51c0e007759c10c1411da9717f5af0a0142173ddd7 WHIRLPOOL 493c5b1c94e208646670ebd38986a2468086376114f48a69d0cd8a8a18db011d8a649cb9104895465f1a8679bc8973e0e11c9620055ff048bc13023a5c305ca2

@ -0,0 +1,62 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/py-amqp/py-amqp-1.4.4.ebuild,v 1.1 2014/03/25 21:03:49 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
inherit distutils-r1
MY_PN="amqp"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)"
HOMEPAGE="https://github.com/celery/py-amqp http://pypi.python.org/pypi/amqp/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples extras test"
RDEPEND=""
DEPEND="test? ( virtual/python-unittest2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/nose-cover3[${PYTHON_USEDEP}]
>=dev-python/coverage-3.0[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}]
)
)"
# Same tests from before require a socket connection
PATCHES=( "${FILESDIR}"/${PN}-1.3.3-disable_socket_tests.patch )
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
cp -r -l funtests "${BUILD_DIR}"/lib/ || die
cd "${BUILD_DIR}"/lib || die
if [[ ${EPYTHON:6:1} == 3 ]]; then
# -n causes Python to write into hardlinked files
2to3 --no-diffs -w funtests || die
fi
"${PYTHON}" funtests/run_all.py || die "Tests failed under ${EPYTHON}"
rm -rf funtests/ || die
}
python_install_all() {
use examples && local EXAMPLES=( demo/. )
use doc && local HTML_DOCS=( docs/.build/html/. )
if use extras; then
insinto /usr/share/${PF}/extras
doins -r extra
fi
distutils-r1_python_install_all
}

@ -1,3 +1 @@
DIST python-gnupg-0.3.1.tar.gz 17226 SHA256 05a04a1c5dc562ff49e3bc7ebb32144c25e19b5a2d65c8ada064ceae08c87d86 SHA512 993989b7978ef18b6e2e5488829fc879b8dc90029f5a689c8f8f970b91257cdb579f0e46dccafc28f0e09006797bd3786ff0eda03c66f43eba63c09f56adbc85 WHIRLPOOL 4f8174087fbfaacaced781a994c12850ce295dbb649eb9af7c059ec05185bba4245f5f6400c2a62c79a6fff84d0bd25efc4c1cbb2365b82351e2f1e9b6230d6d
DIST python-gnupg-0.3.2.tar.gz 17645 SHA256 e38e724a021767673054d54338f621c53edd48f2cdbc1226f5a9bffc831c3418 SHA512 6ce427231210bb1a19ed0a9676e7c2b82985ca4407ba3c13c6fa1624c97ddf76839badc23681d877c054bea3d098abfc700938d4b1e5454e4b0c3952ba552a52 WHIRLPOOL ee6a1dba881b6a65750a1ab0d1e4e3257e7f13d457fecc4e68ed6b37c8ec3fa51499f98a797c45bebc316e42640050e67f2c031cb483676d299296a5736e000c
DIST python-gnupg-0.3.6.tar.gz 20855 SHA256 ffdfad1824fbde8ab94c50e08040edd6a82b4095c187994954471a38c45a094a SHA512 4444ce57190ddfdfbe8ebb39ecdf79ef2ab70f227e2f0b12ce913801b3949f444a458cc884883e8811d649537003afd722cd5c933765c045edf07867a51814f8 WHIRLPOOL 5d62cf023b0da3a0fde61f648f49b672f09bc5899a1f8c847d231dcc204c1c3192d7b7d28fe080b699e26b44d6074033d2788e142b9183c58940a1af2511a4d7 DIST python-gnupg-0.3.6.tar.gz 20855 SHA256 ffdfad1824fbde8ab94c50e08040edd6a82b4095c187994954471a38c45a094a SHA512 4444ce57190ddfdfbe8ebb39ecdf79ef2ab70f227e2f0b12ce913801b3949f444a458cc884883e8811d649537003afd722cd5c933765c045edf07867a51814f8 WHIRLPOOL 5d62cf023b0da3a0fde61f648f49b672f09bc5899a1f8c847d231dcc204c1c3192d7b7d28fe080b699e26b44d6074033d2788e142b9183c58940a1af2511a4d7

@ -1,26 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gnupg/python-gnupg-0.3.1-r1.ebuild,v 1.2 2013/09/05 18:46:54 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
inherit distutils-r1
DESCRIPTION="Python wrapper for GNU Privacy Guard"
HOMEPAGE="http://code.google.com/p/python-gnupg/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="app-crypt/gnupg"
# Tests hang, bug #449638.
RESTRICT=test
python_test() {
"${PYTHON}" test_gnupg.py || die "Tests fail with ${EPYTHON}"
}

@ -1,28 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gnupg/python-gnupg-0.3.2.ebuild,v 1.2 2013/09/05 18:46:54 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
inherit distutils-r1
DESCRIPTION="Python wrapper for GNU Privacy Guard"
HOMEPAGE="http://code.google.com/p/python-gnupg/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="app-crypt/gnupg"
PATCHES=(
"${FILESDIR}"/${P}-fast-random.patch
)
python_test() {
cd "${BUILD_DIR}" || die
"${PYTHON}" "${S}"/test_gnupg.py || die "Tests fail with ${EPYTHON}"
}

@ -0,0 +1,14 @@
Index: PythonMagick-0.9.8/pythonmagick_src/_Image.cpp
===================================================================
--- pythonmagick_src/_Image.cpp
+++ pythonmagick_src/_Image.cpp
@@ -93,7 +93,7 @@ void Export_pyste_src_Image()
.def("colorize", (void (Magick::Image::*)(const unsigned int, const unsigned int, const unsigned int, const Magick::Color&) )&Magick::Image::colorize)
.def("colorize", (void (Magick::Image::*)(const unsigned int, const Magick::Color&) )&Magick::Image::colorize)
.def("comment", (void (Magick::Image::*)(const std::string&) )&Magick::Image::comment)
- .def("compare", &Magick::Image::compare)
+ .def("compare", (bool (Magick::Image::*)(const Magick::Image&) )&Magick::Image::compare)
.def("composite", (void (Magick::Image::*)(const Magick::Image&, const ::ssize_t, const ::ssize_t, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_3_4())
.def("composite", (void (Magick::Image::*)(const Magick::Image&, const Magick::Geometry&, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_2_3())
.def("composite", (void (Magick::Image::*)(const Magick::Image&, const MagickCore::GravityType, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_2_3())

@ -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 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/pythonmagick-0.9.8.ebuild,v 1.4 2013/04/23 05:35:51 patrick Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/pythonmagick/pythonmagick-0.9.8.ebuild,v 1.5 2014/03/25 11:31:54 idella4 Exp $
EAPI="4" EAPI="4"
PYTHON_DEPEND="*:2.6" PYTHON_DEPEND="*:2.6"
@ -37,6 +37,7 @@ PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing")
src_prepare() { src_prepare() {
epatch "${FILESDIR}/${PN}-0.9.1-use_active_python_version.patch" epatch "${FILESDIR}/${PN}-0.9.1-use_active_python_version.patch"
epatch "${FILESDIR}/${PN}-0.9.2-fix_detection_of_python_includedir.patch" epatch "${FILESDIR}/${PN}-0.9.2-fix_detection_of_python_includedir.patch"
epatch "${FILESDIR}/${P}-build.patch"
sed -e "s/AM_PATH_PYTHON(3.1)/AM_PATH_PYTHON(2.6)/" -i configure.ac || die "sed failed" sed -e "s/AM_PATH_PYTHON(3.1)/AM_PATH_PYTHON(2.6)/" -i configure.ac || die "sed failed"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.9.1.ebuild,v 1.1 2014/01/08 04:20:02 patrick Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.9.1.ebuild,v 1.2 2014/03/26 05:40:51 idella4 Exp $
EAPI=5 EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
@ -48,17 +48,18 @@ python_compile() {
python_test() { python_test() {
# Create copies of necessary files in BUILD_DIR. # Create copies of necessary files in BUILD_DIR.
cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
pushd "${BUILD_DIR}" || die pushd "${BUILD_DIR}" > /dev/null
if [[ "${EPYTHON}" == "python3.2" ]]; then
# No longer has postgresql support 2to3 --no-diffs -w test
"${PYTHON}" sqla_nose.py -I test_postgresql || die "Testsuite failed under ${EPYTHON}" fi
popd || die "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
popd > /dev/null
} }
python_install_all() { python_install_all() {
use doc && HTML_DOCS=( doc/. ) use doc && HTML_DOCS=( doc/. )
use examples && local EXAMPLES=( examples ) use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all distutils-r1_python_install_all
} }

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation # Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.9.2.ebuild,v 1.1 2014/02/08 07:07:39 patrick Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.9.2.ebuild,v 1.2 2014/03/26 05:40:51 idella4 Exp $
EAPI=5 EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
@ -48,17 +48,18 @@ python_compile() {
python_test() { python_test() {
# Create copies of necessary files in BUILD_DIR. # Create copies of necessary files in BUILD_DIR.
cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
pushd "${BUILD_DIR}" || die pushd "${BUILD_DIR}" > /dev/null
if [[ "${EPYTHON}" == "python3.2" ]]; then
# No longer has postgresql support 2to3 --no-diffs -w test
"${PYTHON}" sqla_nose.py -I test_postgresql || die "Testsuite failed under ${EPYTHON}" fi
popd || die "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
popd > /dev/null
} }
python_install_all() { python_install_all() {
use doc && HTML_DOCS=( doc/. ) use doc && HTML_DOCS=( doc/. )
use examples && local EXAMPLES=( examples ) use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all distutils-r1_python_install_all
} }

@ -1 +1,2 @@
DIST colorize-0.6.0.gem 7680 SHA256 9e94b288ccbf9a8857076d24f56b0292c173a3f30adb6259e88ae1497b276369 SHA512 739b52a83834db5a37866e481f99829c18b9e4004ff0ad49a4c5f6287465e0779b9c5e1bf982a720015026afe878a1682cecbb917c4c0d8b2dbd13558c9bb5fc WHIRLPOOL 6f297e9d8fdf9e49e0552ab16391f7273d72e244edf6282f6baa852ea033bd9310a914d5f74e2fd5b09ed76193fcdc80a87aeb66594d79bfce3323fb9f7fb233 DIST colorize-0.6.0.gem 7680 SHA256 9e94b288ccbf9a8857076d24f56b0292c173a3f30adb6259e88ae1497b276369 SHA512 739b52a83834db5a37866e481f99829c18b9e4004ff0ad49a4c5f6287465e0779b9c5e1bf982a720015026afe878a1682cecbb917c4c0d8b2dbd13558c9bb5fc WHIRLPOOL 6f297e9d8fdf9e49e0552ab16391f7273d72e244edf6282f6baa852ea033bd9310a914d5f74e2fd5b09ed76193fcdc80a87aeb66594d79bfce3323fb9f7fb233
DIST colorize-0.7.0.gem 14336 SHA256 fc6ef14053496ed8aeecc6576f1b978f8d7ff10fcd47ac4650d45ccaffb6c1d8 SHA512 341be543f85d02864a3cfb9bc59f025811a6127f583f19fb1ea1a982d830c186f1824045fc38e22a5449af3f69d915749d2451dcee0319368fd9546f0e96466d WHIRLPOOL 3235c04c2ba02ece6f3021fdfb757825f4c9ae3351be301883b301f78b28b30efbee06a2c452d5ac7d045b8dc1121a669fdfff3e3271ef472fe04575deb49998

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save