parent
ffe778aab0
commit
525b6f7f22
@ -0,0 +1,49 @@
|
||||
fix from upstream
|
||||
|
||||
From 43b631223b2d0425a0970876974074934f89c450 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Thu, 22 Sep 2016 23:59:02 -0400
|
||||
Subject: [PATCH] add a flag to disable static libs
|
||||
|
||||
---
|
||||
lib/Makefile | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/lib/Makefile b/lib/Makefile
|
||||
index b5352a0cb372..27b35c41b693 100644
|
||||
--- a/lib/Makefile
|
||||
+++ b/lib/Makefile
|
||||
@@ -40,6 +40,8 @@
|
||||
LIBVER_PATCH=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lz4.h`
|
||||
LIBVER=$(LIBVER_MAJOR).$(LIBVER_MINOR).$(LIBVER_PATCH)
|
||||
|
||||
+BUILD_STATIC:= yes
|
||||
+
|
||||
DESTDIR?=
|
||||
PREFIX ?= /usr/local
|
||||
CFLAGS ?= -O3
|
||||
@@ -71,9 +72,11 @@
|
||||
all: liblz4
|
||||
|
||||
liblz4: lz4.c lz4hc.c lz4frame.c xxhash.c
|
||||
+ifeq ($(BUILD_STATIC),yes)
|
||||
@echo compiling static library
|
||||
@$(CC) $(CPPFLAGS) $(CFLAGS) -c $^
|
||||
@$(AR) rcs liblz4.a lz4.o lz4hc.o lz4frame.o xxhash.o
|
||||
+endif
|
||||
@echo compiling dynamic library $(LIBVER)
|
||||
@$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared $^ -fPIC $(SONAME_FLAGS) -o $@.$(SHARED_EXT_VER)
|
||||
@echo creating versioned links
|
||||
@@ -104,7 +107,9 @@
|
||||
@cp -a liblz4.$(SHARED_EXT_MAJOR) $(DESTDIR)$(LIBDIR)
|
||||
@cp -a liblz4.$(SHARED_EXT) $(DESTDIR)$(LIBDIR)
|
||||
@cp -a liblz4.pc $(DESTDIR)$(LIBDIR)/pkgconfig/
|
||||
+ifeq ($(BUILD_STATIC),yes)
|
||||
@install -m 644 liblz4.a $(DESTDIR)$(LIBDIR)/liblz4.a
|
||||
+endif
|
||||
@install -m 644 lz4.h $(DESTDIR)$(INCLUDEDIR)/lz4.h
|
||||
@install -m 644 lz4hc.h $(DESTDIR)$(INCLUDEDIR)/lz4hc.h
|
||||
@install -m 644 lz4frame.h $(DESTDIR)$(INCLUDEDIR)/lz4frame.h
|
||||
--
|
||||
2.9.0
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST carbon-c-relay-2.0.tar.gz 93632 SHA256 82d38fd8ee45c3be8a15f039534095498706c3bdcba8ba4f038640211252a63a SHA512 daeeec228ff7439cc114351dac35b2139e3560e6de5640d7d6a2c0019f9202cdcc81f0a3116177c0abe53a101ffe3b1201e47f4341ffb890b151f03b26d64f64 WHIRLPOOL 03f5d790e55fbfb25484d402d8fb711bf17465b4d19cd8f9871f10f118a9fb52d9aaa495e5812d0a3e34d7a71f95e7da2b3e5d9cdc7f3bd87dd73f73576e43e9
|
||||
DIST carbon-c-relay-2.1.tar.gz 94255 SHA256 53ee0c9f6ca61c72450a3c321e3f1e119aba0e619e7e5bbd72d29e6f3bc01212 SHA512 363698cc5ddb661d7ee431ef790fa3b0ccdf7103c67703f5936c291a6c7b324f0ccf333bd231e1abb9ffa37384b04ffa49f3df1f76beeb45e1fbeaad889afe13 WHIRLPOOL f757efc28228fc878bab1831fdbaa8c368b1a8fd66f0518a871732255bb489adec5aee62695c38b7b4145de30e4108ab01304a9bfdb5479b0c8df0d2f8771dc7
|
||||
DIST carbon-c-relay-2.2.tar.gz 97855 SHA256 d1aaba516544252c3aed33de902c0e4f7021e60949071c190a0c056a8eb73d42 SHA512 6e71cbff8954fffe6198096f42b5559a9f83d760d1cac3d8d8f5c3143412006073d24baad58d050d72edc369c774c31e0f536c04da6233ad531f8f674614798a WHIRLPOOL e373cd9ed375fee2c5562a1f65fc1511ea4cfc43d77f3ebaebafc27faa9e5ba6312a28c376915029ddfc09c2e8ed7c80857966f230dda9250716adeaa2e1f9f5
|
||||
DIST carbon-c-relay-2.3.tar.gz 99098 SHA256 06c2ac565d4d24deb88b6ac1c407890522da853845bfc9576abd16a96478a6d2 SHA512 9ca0449c9014c7b63c84ae1625a99a52608788e9894f6e002537b818e1f796d04e1897e7f81b8f673935e33d59f64b9bd9bacddee307bd56e4cda44d703df737 WHIRLPOOL c6c4f31cdf1dfdb4ffa99327a3cafd45af05955789b1f7d2d7506a6ff440dd8870fa23fb111c0ef7412935cac5a1ea22c1f4921e0ab2bd600269d5b75ef9198d
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST paperwork-0.2.5.tar.gz 165234 SHA256 98969bef91b51c72dfd493862c3f62a88c0a26a0654a4bdc9156d8b0d3993a20 SHA512 6f541ebf6cfe02868f568a488754e48f1dcca2d239986e175ee76f6d14495f45a6ab746e2bd29dcf05204c7d1f8a71eb4e91cb3f8a8fd5710b6d2ef1c24637bf WHIRLPOOL ce631670f8c61d2a959243db73c179e5a605ebf9f4f91a0fa62ef8dc7ec8e6f09aeb35a749da2bcfba357f031eb39fdba2c1d77e24018770e08315e04aeb3b3a
|
||||
DIST paperwork-0.3.0.1.tar.gz 175755 SHA256 3019264cbbfb449c1b7d9c04537e4aff72f17da4a59db3538b34cf7ee7ae5775 SHA512 b167cc8b907cc40e98b019b3f51305b4648d5c0afea7481c532bf48d2f4ec3773ba9ec56b63806dba6f20d87d60c7e2d148d85ee4a8b138867003499fc5a9697 WHIRLPOOL b3174f122ee7270d584950f7459b6a3c7e99a82e3d56e2fcbe87c9ce36492e0a70ab8da02c7572158c8e61622ff15a0835d7d8bf9edeffe84d0fec3392d36b25
|
||||
DIST paperwork-0.3.2.tar.gz 179509 SHA256 55a3aa814cf0b62bc2e40d0b4789068ebec9bfd9fff182d75429aca624d243f1 SHA512 b9dd1010f308d28e300d246d103cdd15253ed8e653721a89ab7de1aa6129b9a52f6ca6afe4714e19fca41369441240900af23faefd7284bbd420a9833bf3449e WHIRLPOOL f20ac1e45b754612b452d3bbb5854857c604108fe4a71b8870de7b317087b99597dc3c9275776c0b1cd68118c78c45f38195ef4635abe514a565a7e1b911895d
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="a personal document manager for scanned documents (and PDFs)"
|
||||
HOMEPAGE="https://github.com/jflesch/paperwork"
|
||||
SRC_URI="https://github.com/jflesch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-text/poppler[introspection]
|
||||
dev-python/joblib[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pycountry[${PYTHON_USEDEP}]
|
||||
dev-python/pyenchant[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyinsane-1.3.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyocr-0.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/python-levenshtein[${PYTHON_USEDEP}]
|
||||
dev-python/termcolor[${PYTHON_USEDEP}]
|
||||
dev-python/whoosh[${PYTHON_USEDEP}]
|
||||
dev-util/glade[introspection,python]
|
||||
sci-libs/scikits_learn[${PYTHON_USEDEP}]
|
||||
sci-libs/scikits_image[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+:3[introspection]"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,3 +1,4 @@
|
||||
DIST mono-2.10.9.tar.bz2 34038017 SHA256 541038cd4edd4a1c485638d49697d45015ef7483bcb21bb6165e4d7eb770c9a5 SHA512 426881873e7f9aaf01e1306bed7b3ac220082ca40dce91fa4f4f331944e8d91453b3cdcc4918882ab039ed694ae8819eeb787edf6a2ad42cc661614076725c01 WHIRLPOOL 93f54fbbf032fb60467fd4317630588d349c3dfb50158bad478bd3e2650fd3e8f12d45be372873b57626d4ac48f798646c3650590bbf731dc2f005ee618b8548
|
||||
DIST mono-4.4.1.0.tar.bz2 85897587 SHA256 165e7686b5cbb1ab671b4cb2069207999c3d70044002190b6ec84bb1fdf62b4a SHA512 d9b6c57c2d9327ea551083b81a2e6cc222ded9a04862056b0dfded1c5df56efbfc4960097df034595012231fe50d172174ab7b3e3f2d8c4c6953ab2106b1cb6a WHIRLPOOL 99f16622c6d1902a7efff41d55d114ed214979c1d902a5dcbc257c180a1e68ed519beb5383db2358096e3f8425483983565c8f438552de36ffabe4bfad3f5fbd
|
||||
DIST mono-4.6.1.5.tar.bz2 83174665 SHA256 3871ee72bdfc2ea5d636ffff22cf49ae6bac7c4a4f3d687214dd8ac236bbf7c3 SHA512 1d0c1ec2930ecea3faf1be572bc045300ef4a90d3fe7519f2a9c797be79298c61528d83baa5a24a57143a35be80f78297196556c33cd0f345d9907a973fe625a WHIRLPOOL 9ccfdfa68f2d9a75440c71fb22af988165608299d7aaeecac77fc783412cba4524a423b166a540d2381c98c58e3f7e40ada91381d45f67693e1f69e462bbb1d9
|
||||
DIST mono-4.9.0.729.tar.bz2 100437013 SHA256 05dcd396c29d40ccc0c4985138bcbd7abca1c326b69c3a85edbc21d8bb5448ef SHA512 7db4b184a2cb6d8aec19cb9e7efd4bbd6fb1c3910bd7141c1109242dd9c389b33403ba28de8bd42c6af5620e92af4c8f79fef0eef2428c53960fc78077f1f973 WHIRLPOOL 070cc2a47ff2f87d7953d50e63c4d379961cb39fcc8009fe19ee7f2ca77fd65ff9f66e7b3844b0b33e89d41ac2d82876b07eec7bf63863a51932161aa4dae065
|
||||
|
@ -0,0 +1,114 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal
|
||||
|
||||
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
|
||||
HOMEPAGE="http://www.mono-project.com/Main_Page"
|
||||
SRC_URI="http://download.mono-project.com/sources/${PN}/nightly/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
|
||||
IUSE="nls minimal pax_kernel xen doc"
|
||||
|
||||
COMMONDEPEND="
|
||||
!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
|
||||
ia64? ( sys-libs/libunwind )
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
|| ( www-client/links www-client/lynx )
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
sys-devel/bc
|
||||
virtual/yacc
|
||||
pax_kernel? ( sys-apps/elfix )
|
||||
!dev-lang/mono-basic
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
|
||||
|
||||
pkg_pretend() {
|
||||
# https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686
|
||||
# If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
|
||||
# See http://bugs.gentoo.org/261869 for more info."
|
||||
CONFIG_CHECK="SYSVIPC"
|
||||
use kernel_linux && check_extra_config
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
mono-env_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
|
||||
# get killed in the build proces when MPROTECT is enable. #286280
|
||||
# RANDMMAP kill the build proces to #347365
|
||||
# use paxmark.sh to get PT/XT logic #532244
|
||||
if use pax_kernel ; then
|
||||
ewarn "We are disabling MPROTECT on the mono binary."
|
||||
|
||||
# issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
|
||||
sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
|
||||
fi
|
||||
|
||||
# mono build system can fail otherwise
|
||||
strip-flags
|
||||
|
||||
# Fix VB targets
|
||||
# http://osdir.com/ml/general/2015-05/msg20808.html
|
||||
#eapply "${FILESDIR}/add_missing_vb_portable_targets.patch"
|
||||
|
||||
# Fix build when sgen disabled
|
||||
# https://bugzilla.xamarin.com/show_bug.cgi?id=32015
|
||||
#eapply "${FILESDIR}/${PN}-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch"
|
||||
|
||||
# TODO: update patch
|
||||
# Fix atomic_add_i4 support for 32-bit ppc
|
||||
# https://github.com/mono/mono/compare/f967c79926900343f399c75624deedaba460e544^...8f379f0c8f98493180b508b9e68b9aa76c0c5bdf
|
||||
#epatch "${FILESDIR}/${PN}-4.0.2.5-fix-ppc-atomic-add-i4.patch"
|
||||
|
||||
# TODO: update patch
|
||||
#epatch "${FILESDIR}/systemweb3.patch"
|
||||
#epatch "${FILESDIR}/fix-for-GitExtensions-issue-2710-another-resolution.patch"
|
||||
#epatch "${FILESDIR}/fix-for-bug36724.patch"
|
||||
|
||||
default
|
||||
#eapply_user
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-silent-rules
|
||||
$(use_with xen xen_opt)
|
||||
--without-ikvm-native
|
||||
--disable-dtrace
|
||||
$(use_with doc mcs-docs)
|
||||
$(use_enable nls)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
cd mcs/tests || die
|
||||
emake check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default_src_install
|
||||
|
||||
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
|
||||
# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
|
||||
# for reference.
|
||||
rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die
|
||||
rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pycodestyle-2.0.0.tar.gz 81701 SHA256 37f0420b14630b0eaaf452978f3a6ea4816d787c3e6dcbba6fb255030adae2e7 SHA512 c003a75bb8873d8ec09cbaf7391c75ebd4739eeab518bbea03c8b2cdc18839773190352166ded78d32992adb56895ee1502003bca11b2d63676c10facb879ac8 WHIRLPOOL 3f162936ea03c8bcd2ba7adbcb77c3d8e44549090875719c888a9fbd86bb9cbf16d4378ffc1c2f28050253520aa86753172816429bc530bc074a2f8fd3e88613
|
||||
DIST pycodestyle-2.1.0.tar.gz 85519 SHA256 5b540e4f19b4938c082cfd13f5d778d1ad2308b337abbc687ab9335233f5f3e2 SHA512 901025813884612a04a1f37d2197a7757a050cb38f0dcbff7602b636ad22ae73e943d9b6a5028feda3bec9e55eca91064ace0416ffab8ea0c1721c50dd5c2673 WHIRLPOOL edf365450a7e3440fc5302cef220817fad67832890f72624a5397f8fa69f4e9ff522f7b041788d5852e7875dc707d6b8bb94f481accfcf138c62a0efbaa891dd
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python style guide checker (fka pep8)"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/pycodestyle"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --statistics pycodestyle.py || die
|
||||
PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --testsuite=testsuite || die
|
||||
PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py --doctest -v || die
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST PyICU-1.9.3.tar.gz 179514 SHA256 1a7a96212cb3e42e8df85b9062f1f1d6e207474d44f087218fad1d4ec210fa42 SHA512 93720f6fd4131b6cff7fe89996a3851b5993c74859e85de7813883a30152b63a0065b8c51c536cd40417b6e3ccf0ec4e26ed471cec84cd48761a306a35bfd15c WHIRLPOOL 97d5ff9d5a96aa98700c3048104bb79309f3b7a2e6610a03be1a1b06b23be44ffaa6ef9afb548144757421616bf2401fa4bffac6d8759a7718021abfa9fb03d0
|
||||
DIST PyICU-1.9.4.tar.gz 181149 SHA256 bb3df41141b1cde07432906a3e9ee096407d59243ceed496957fd4bc54cd765e SHA512 d635660e569a5c8c02d739c79806a6640ade2fcda07b826ebef5a992a64e38ee6d203e24f5f3f559c37355a78aecba1055404e3922996801b5d843328d69c8d4 WHIRLPOOL b3ecb81a29bf90793e2ab3540d14b0e30663e239da77c66bf3c17959f61cee11d8bdb957cf4a7c643baa006e0850362e62a4e2be06385982b1f37ca5276cba61
|
||||
|
@ -0,0 +1,46 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 2cbec9f..ea42e96 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
-import os, sys
|
||||
+import os, sys, subprocess
|
||||
|
||||
try:
|
||||
from setuptools import setup, Extension
|
||||
@@ -8,6 +8,7 @@ except ImportError:
|
||||
|
||||
|
||||
VERSION = '1.9.4'
|
||||
+ICU_VERSION = subprocess.check_output(('icu-config', '--version')).strip()
|
||||
|
||||
INCLUDES = {
|
||||
'darwin': ['/usr/local/include'],
|
||||
@@ -43,11 +44,11 @@ LFLAGS = {
|
||||
}
|
||||
|
||||
LIBRARIES = {
|
||||
- 'darwin': ['icui18n', 'icuuc', 'icudata', 'icule'],
|
||||
- 'linux': ['icui18n', 'icuuc', 'icudata', 'icule'],
|
||||
- 'freebsd': ['icui18n', 'icuuc', 'icudata', 'icule'],
|
||||
- 'win32': ['icuin', 'icuuc', 'icudt', 'icule'],
|
||||
- 'sunos5': ['icui18n', 'icuuc', 'icudata', 'icule'],
|
||||
+ 'darwin': ['icui18n', 'icuuc', 'icudata'],
|
||||
+ 'linux': ['icui18n', 'icuuc', 'icudata'],
|
||||
+ 'freebsd': ['icui18n', 'icuuc', 'icudata'],
|
||||
+ 'win32': ['icuin', 'icuuc', 'icudt'],
|
||||
+ 'sunos5': ['icui18n', 'icuuc', 'icudata'],
|
||||
}
|
||||
|
||||
platform = sys.platform
|
||||
@@ -79,6 +80,9 @@ else:
|
||||
|
||||
if 'PYICU_LIBRARIES' in os.environ:
|
||||
_libraries = os.environ['PYICU_LIBRARIES'].split(os.pathsep)
|
||||
+elif ((sys.version_info >= (3,) and str(ICU_VERSION, 'ascii') < '58') or
|
||||
+ (sys.version_info < (3,) and ICU_VERSION < '58')):
|
||||
+ _libraries = LIBRARIES[platform][:] + ['icule']
|
||||
else:
|
||||
_libraries = LIBRARIES[platform]
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
DISTUTILS_IN_SOURCE_BUILD=1 # setup.py applies 2to3 to tests
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="PyICU"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python bindings for dev-libs/icu"
|
||||
HOMEPAGE="https://github.com/ovalhub/pyicu"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/icu
|
||||
"
|
||||
# epydoc supports only python2*
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )"
|
||||
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=(CHANGES CREDITS README.md)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-exclude_libicule.patch"
|
||||
)
|
||||
|
||||
# we need an exact version match for epydoc to work on a binary module
|
||||
pkg_setup() {
|
||||
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
mkdir -p doc/html || die
|
||||
epydoc --html --verbose -o doc/html \
|
||||
--url="${HOMEPAGE}" --name="${MY_P}" \
|
||||
icu.py || die "Making the docs failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST pyocr-0.2.4.tar.gz 309220 SHA256 a8db05190b505691a5c5fd1459072fda7f429940b562209b42f3db93c1292ef6 SHA512 8df6aa267743ae05864a0272764bfefc95c5071399ac90a7c0d52ec9fff65c55380066fad46412f71f6c7b2f8125e1b618fec6ecca4d7ff696c005115cd59d9d WHIRLPOOL 22efb3f668b9adc0e80a71b86d157252c4de8cee0d7628f1835b40d8892501871ba58ad6928dab97a76b66d66319bdbe43fe0a4cfa57d39b6216c673747b9dd3
|
||||
DIST pyocr-0.3.0.tar.gz 315750 SHA256 b17279f1961487d635dd43dbbf94c3cee678ab262812cf4d7b0bd919f960f13d SHA512 c5014026072d4a5edad2bf32817c07c09436aed0d2544aba6d1418dd6f0a238ee4794171922d5d473142ff21e5df97b27be6fe12c83124a39dd2c1f67445d6de WHIRLPOOL a6b10f313660b80c47ead6b0e6a426e3ce595dda23954c25675273ef5a7adc8abce626a964fc14eb12baa9b46e346e54c6dd49e91b2a92d4be68db8e07b5edde
|
||||
DIST pyocr-0.3.1.tar.gz 316203 SHA256 119c8be5ae3cce0aea07dc1178c3f37f8f2473421baeda09f1ed2c411449e4ec SHA512 50a5d7fd48e03c38edb65e6a1940476bdfbe98f6deb9a9ac0a1d0a429f9b0044849a1f3a91e436ffb6ef986333741852dee37a1df4ae2c15c354a6dfa0c66bc9 WHIRLPOOL c17f91afd00f9fdab59f3e5646f3f11edf9f01bd5528a9bcff87d8180129bdf55ff8e49d287a5da09c4a468a8368e97b547fc28eb2e789f6df3b63f296905ee2
|
||||
DIST pyocr-0.4.1.tar.gz 1277997 SHA256 6fdefe9aed5c0c6543876d9dbd33ac0fc222a38ccdf1e2104fb3adac13e1485e SHA512 1e0bd840b02239695b4b7d572e8abea772a0b8833f532a8eaa3e733020677c906a2daeb6845c265a2a47a7ffeae876599dd124e6b3a7f67e90fa082b92e44ceb WHIRLPOOL 82b5edcb243c6024e0b3c44136cd18e4c6f4ec901aac69aa091fec537c54233d5ec05cb56a9d819bfb21550c456ca4144bbf547468e5e47aff9854d1514d4b26
|
||||
DIST pyocr-0.4.2.tar.gz 1279567 SHA256 60f468176f1f1580dd56c3ecacfdebd2119d5a6a8cd49defa9e04d1b2da2225c SHA512 7394749a5bec4f4c9059821687e63c87f18136ace7cb5125a3266fe6245b02cfb35ff94538a942b29b4ce02155fea2de47c252102bc593ecac5b4ec522a588af WHIRLPOOL 75ed9048b46ce4b76ac7129eefbec421dea311e64f1b4e69718bbff219b21aea512f274496ce41281cc711b2e5e56023411c4c00803da24ec4052888d252b74b
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="an optical character recognition (OCR) tool wrapper for python"
|
||||
HOMEPAGE="https://github.com/jflesch/pyocr"
|
||||
SRC_URI="https://github.com/jflesch/pyocr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
IUSE="cuneiform +tesseract"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="cuneiform? ( app-text/cuneiform )
|
||||
tesseract? ( app-text/tesseract )
|
||||
dev-python/pillow"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
REQUIRED_USE="|| ( cuneiform tesseract )"
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="an optical character recognition (OCR) tool wrapper for python"
|
||||
HOMEPAGE="https://github.com/jflesch/pyocr"
|
||||
SRC_URI="https://github.com/jflesch/pyocr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
IUSE="cuneiform +tesseract"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="cuneiform? ( app-text/cuneiform )
|
||||
tesseract? ( app-text/tesseract )
|
||||
dev-python/pillow"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
REQUIRED_USE="|| ( cuneiform tesseract )"
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="an optical character recognition (OCR) tool wrapper for python"
|
||||
HOMEPAGE="https://github.com/jflesch/pyocr"
|
||||
SRC_URI="https://github.com/jflesch/pyocr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
IUSE="cuneiform +tesseract"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="cuneiform? ( app-text/cuneiform )
|
||||
tesseract? ( app-text/tesseract )
|
||||
dev-python/pillow"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
REQUIRED_USE="|| ( cuneiform tesseract )"
|
@ -1,3 +1,4 @@
|
||||
DIST ccache-3.2.4.tar.xz 302548 SHA256 1c3da93f654e78a4ac71a54b0f63b19bc0fef9aa5522f4ebb9c201d4361cea5d SHA512 d048b70804c81dece97f3ba511b3c109ec0d14e7dca69bc68faeeb61a4a7b5639c03e3e5ad7dad4e42b4bd198d7a7fffa4e3b7ef99590dfd4df0805db6c25db7 WHIRLPOOL 3dc1de9d1cab8769b3776e48746a1967536e7a9d01e4eb23e1ddbaaf2858c16eba170a185312bfdb0a58951c77cd6c79ff30c7cf6ab366ade64c2b6997df7703
|
||||
DIST ccache-3.2.5.tar.xz 304592 SHA256 117011534b199dbe290b08acae1591c81525536a1e140da22e0fbc04c20bab85 SHA512 12612b899044db50c60bea8ed6cfeb54960ab67514d0aabaea5ee71d3d4d83bb00637e02008365d1d061adf5aa546499948a5eb8a0419222f681058c7fd5fd24 WHIRLPOOL 2cad966b419c16d7956fb2644c1113a8817437f313d54dd17fb16ae4a15f67a322b59d1b225307c980d2e17442478b71ef2bb118d2af4025e530e68fb46767cb
|
||||
DIST ccache-3.2.7.tar.xz 305596 SHA256 f1db1ef3cdcf85cf40c7be926c28b4a3beb12ea4d7f1760edf45e753c5147d95 SHA512 4292bd880f7ec39591a4abc232822121e79e706659e36c6aac3f3846fa119ebe18eed3bfefb535e229da8556fe787f1700ff3c63df56d459c6f44260db24b9fa WHIRLPOOL 9abbb67873fb894d1a82e96773b723ec06830dc2a344e4d1fdfc713bc5a9a219b918633ea2b2e9c9a48a0eddc4eca3ca0eb2eb6c8b484e6e469990010dfee904
|
||||
DIST ccache-3.3.3.tar.xz 312160 SHA256 3b02a745da1cfa9eb438af7147e0fd3545e2f6163de9e5b07da86f58859f04ec SHA512 59652955708c11dc4e2a0d76bc3810de0ce4009b93196d7e6a28ecf3829616d278e7dfedbd715136cd20c81f57d3912682bec8dbcd5ebed5aaf6508520b93587 WHIRLPOOL 5da75d4088fe2596eb7dc10354b322e6122114689126c676317747e20c2d82d7d830ff1476a8799844a0e377cbab085c0ccab21480b0231ed68c11a7d1c55991
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="fast compiler cache"
|
||||
HOMEPAGE="http://ccache.samba.org/"
|
||||
SRC_URI="https://samba.org/ftp/ccache/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/xz-utils
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-apps/gentoo-functions"
|
||||
|
||||
src_prepare() {
|
||||
# make sure we always use system zlib
|
||||
rm -rf zlib || die
|
||||
epatch "${FILESDIR}"/${PN}-3.3-size-on-disk.patch #456178
|
||||
sed \
|
||||
-e "/^EPREFIX=/s:'':'${EPREFIX}':" \
|
||||
"${FILESDIR}"/ccache-config-3 > ccache-config || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS=( AUTHORS.txt MANUAL.txt NEWS.txt README.md )
|
||||
default
|
||||
|
||||
dobin ccache-config
|
||||
|
||||
DOC_CONTENTS="
|
||||
To use ccache with **non-Portage** C compiling, add
|
||||
${EPREFIX}/usr/lib/ccache/bin to the beginning of your path, before ${EPREFIX}/usr/bin.
|
||||
Portage 2.0.46-r11+ will automatically take advantage of ccache with
|
||||
no additional steps. If this is your first install of ccache, type
|
||||
something like this to set a maximum cache size of 2GB:\\n
|
||||
# ccache -M 2G\\n
|
||||
If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
|
||||
# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
|
||||
ccache now supports sys-devel/clang and dev-lang/icc, too!"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
"${EROOT}"/usr/bin/ccache-config --remove-links
|
||||
"${EROOT}"/usr/bin/ccache-config --remove-links ${CHOST}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
"${EROOT}"/usr/bin/ccache-config --install-links
|
||||
"${EROOT}"/usr/bin/ccache-config --install-links ${CHOST}
|
||||
|
||||
# nuke broken symlinks from previous versions that shouldn't exist
|
||||
rm -f "${EROOT}"/usr/lib/ccache/bin/${CHOST}-cc || die
|
||||
rm -rf "${EROOT}"/usr/lib/ccache.backup || die
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
https://bugs.gentoo.org/56178
|
||||
|
||||
stick to the size of files on disk rather than their byte size.
|
||||
this func is only used for stats management, so this should be safe.
|
||||
|
||||
--- a/util.c
|
||||
+++ b/util.c
|
||||
@@ -845,12 +845,7 @@ file_size(struct stat *st)
|
||||
#ifdef _WIN32
|
||||
return (st->st_size + 1023) & ~1023;
|
||||
#else
|
||||
- size_t size = st->st_blocks * 512;
|
||||
- if ((size_t)st->st_size > size) {
|
||||
- // Probably a broken stat() call...
|
||||
- size = (st->st_size + 1023) & ~1023;
|
||||
- }
|
||||
- return size;
|
||||
+ return st->st_blocks * 512;
|
||||
#endif
|
||||
}
|
||||
|
@ -1,14 +0,0 @@
|
||||
diff --git a/third_party/WebKit/Source/platform/text/Character.cpp b/third_party/WebKit/Source/platform/text/Character.cpp
|
||||
index d59ae41..50932bd 100644
|
||||
--- a/third_party/WebKit/Source/platform/text/Character.cpp
|
||||
+++ b/third_party/WebKit/Source/platform/text/Character.cpp
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <unicode/uscript.h>
|
||||
|
||||
#if defined(USING_SYSTEM_ICU)
|
||||
-#include "platform/fonts/CharacterPropertyDataGenerator.h"
|
||||
+#include "platform/text/CharacterPropertyDataGenerator.h"
|
||||
#include <unicode/uniset.h>
|
||||
#else
|
||||
#define MUTEX_H // Prevent compile failure of utrie2.h on Windows
|
@ -1,20 +0,0 @@
|
||||
--- build/linux/unbundle/libvpx.gyp.orig 2016-02-08 19:16:24.646981037 -0500
|
||||
+++ build/linux/unbundle/libvpx.gyp 2016-02-08 19:15:42.449979462 -0500
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
- 'target_name': 'libvpx',
|
||||
+ 'target_name': 'libvpx_new',
|
||||
'type': 'none',
|
||||
'direct_dependent_settings': {
|
||||
'cflags': [
|
||||
@@ -18,8 +18,6 @@
|
||||
'vpx/vp8cx.h',
|
||||
'vpx/vp8dx.h',
|
||||
'vpx/vpx_codec.h',
|
||||
- 'vpx/vpx_codec_impl_bottom.h',
|
||||
- 'vpx/vpx_codec_impl_top.h',
|
||||
'vpx/vpx_decoder.h',
|
||||
'vpx/vpx_encoder.h',
|
||||
'vpx/vpx_frame_buffer.h',
|
@ -1,28 +0,0 @@
|
||||
|
||||
;;; monotone site-lisp configuration
|
||||
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
|
||||
(autoload 'monotone-toggle-vc-prefix-map "monotone"
|
||||
"Toggle between the default and monotone vc-maps, ARG set map." t)
|
||||
(autoload 'monotone "monotone"
|
||||
"Prompt for a STRING and run monotone with the split string." t)
|
||||
(autoload 'monotone-pull "monotone"
|
||||
"Pull updates from a remote server. ARG prompts." t)
|
||||
(autoload 'monotone-push "monotone"
|
||||
"Push the DB contents to a remote server. ARG prompts." t)
|
||||
(autoload 'monotone-vc-commit "monotone" "Do a commit." t)
|
||||
(autoload 'monotone-vc-print-log "monotone"
|
||||
"Print the log for this buffer. With prefix ARG the global log." t)
|
||||
(autoload 'monotone-vc-diff "monotone"
|
||||
"Print the diffs for this buffer. With prefix ARG, the global diffs." t)
|
||||
(autoload 'monotone-vc-register "monotone"
|
||||
"Register this file with monotone for the next commit." t)
|
||||
(autoload 'monotone-vc-status "monotone"
|
||||
"Print the status of the current branch." t)
|
||||
(autoload 'monotone-grab-id "monotone"
|
||||
"Grab the id under point and put it in the kill buffer for later use." t)
|
||||
|
||||
(autoload 'mnav-revdb-reload "monotone-nav")
|
||||
(autoload 'mnav-pick "monotone-nav"
|
||||
"Display browser to pick a monotone revision." t)
|
@ -1,412 +0,0 @@
|
||||
by Martin von Gagern:
|
||||
https://code.monotone.ca/p/monotone/issues/182/
|
||||
|
||||
============================================================
|
||||
--- src/database.cc 4c259f963c440fc95564dfec99b2f832f0bad643
|
||||
+++ src/database.cc 87efeeff2d3263ba98af684a4022f1897434ed2d
|
||||
@@ -3425,9 +3425,8 @@ database::encrypt_rsa(key_id const & pub
|
||||
rsa_pub_key pub;
|
||||
get_key(pub_id, pub);
|
||||
|
||||
- SecureVector<Botan::byte> pub_block;
|
||||
- pub_block.set(reinterpret_cast<Botan::byte const *>(pub().data()),
|
||||
- pub().size());
|
||||
+ SecureVector<Botan::byte> pub_block
|
||||
+ (reinterpret_cast<Botan::byte const *>(pub().data()), pub().size());
|
||||
|
||||
shared_ptr<X509_PublicKey> x509_key(Botan::X509::load_key(pub_block));
|
||||
shared_ptr<RSA_PublicKey> pub_key
|
||||
@@ -3471,14 +3470,13 @@ database::check_signature(key_id const &
|
||||
else
|
||||
{
|
||||
rsa_pub_key pub;
|
||||
- SecureVector<Botan::byte> pub_block;
|
||||
|
||||
if (!public_key_exists(id))
|
||||
return cert_unknown;
|
||||
|
||||
get_key(id, pub);
|
||||
- pub_block.set(reinterpret_cast<Botan::byte const *>(pub().data()),
|
||||
- pub().size());
|
||||
+ SecureVector<Botan::byte> pub_block
|
||||
+ (reinterpret_cast<Botan::byte const *>(pub().data()), pub().size());
|
||||
|
||||
L(FL("building verifier for %d-byte pub key") % pub_block.size());
|
||||
shared_ptr<X509_PublicKey> x509_key(Botan::X509::load_key(pub_block));
|
||||
============================================================
|
||||
--- src/gzip.cc e7c19bee910e3d421fd073933810ec52092b1d9b
|
||||
+++ src/gzip.cc bab290412cff6031b2d3bf9d1439a08499d39640
|
||||
@@ -137,7 +137,7 @@ void Gzip_Compression::start_msg()
|
||||
/*************************************************
|
||||
* Compress Input with Gzip *
|
||||
*************************************************/
|
||||
-void Gzip_Compression::write(const byte input[], u32bit length)
|
||||
+void Gzip_Compression::write(const byte input[], filter_length_t length)
|
||||
{
|
||||
|
||||
count += length;
|
||||
@@ -267,7 +267,7 @@ void Gzip_Decompression::start_msg()
|
||||
/*************************************************
|
||||
* Decompress Input with Gzip *
|
||||
*************************************************/
|
||||
-void Gzip_Decompression::write(const byte input[], u32bit length)
|
||||
+void Gzip_Decompression::write(const byte input[], filter_length_t length)
|
||||
{
|
||||
if(length) no_writes = false;
|
||||
|
||||
@@ -284,8 +284,8 @@ void Gzip_Decompression::write(const byt
|
||||
// Check the gzip header
|
||||
if (pos < sizeof(GZIP::GZIP_HEADER))
|
||||
{
|
||||
- u32bit len = std::min((u32bit)sizeof(GZIP::GZIP_HEADER)-pos, length);
|
||||
- u32bit cmplen = len;
|
||||
+ filter_length_t len = std::min((filter_length_t)sizeof(GZIP::GZIP_HEADER)-pos, length);
|
||||
+ filter_length_t cmplen = len;
|
||||
// The last byte is the OS flag - we don't care about that
|
||||
if (pos + len - 1 >= GZIP::HEADER_POS_OS)
|
||||
cmplen--;
|
||||
@@ -346,8 +346,14 @@ u32bit Gzip_Decompression::eat_footer(co
|
||||
if (footer.size() >= GZIP::FOOTER_LENGTH)
|
||||
throw Decoding_Error("Gzip_Decompression: Data integrity error in footer");
|
||||
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+ size_t eat_len = std::min(GZIP::FOOTER_LENGTH-footer.size(),
|
||||
+ static_cast<size_t>(length));
|
||||
+ footer += std::make_pair(input, eat_len);
|
||||
+#else
|
||||
u32bit eat_len = std::min(GZIP::FOOTER_LENGTH-footer.size(), length);
|
||||
footer.append(input, eat_len);
|
||||
+#endif
|
||||
|
||||
if (footer.size() == GZIP::FOOTER_LENGTH)
|
||||
{
|
||||
@@ -377,7 +383,12 @@ void Gzip_Decompression::check_footer()
|
||||
for (int i = 0; i < 4; i++)
|
||||
buf[3-i] = tmpbuf[i];
|
||||
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+ tmpbuf.resize(4);
|
||||
+ tmpbuf.copy(footer.begin(), 4);
|
||||
+#else
|
||||
tmpbuf.set(footer.begin(), 4);
|
||||
+#endif
|
||||
if (buf != tmpbuf)
|
||||
throw Decoding_Error("Gzip_Decompression: Data integrity error - CRC32 error");
|
||||
|
||||
@@ -412,7 +423,11 @@ void Gzip_Decompression::clear()
|
||||
no_writes = true;
|
||||
inflateReset(&(zlib->stream));
|
||||
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+ footer.clear();
|
||||
+#else
|
||||
footer.destroy();
|
||||
+#endif
|
||||
pos = 0;
|
||||
datacount = 0;
|
||||
}
|
||||
============================================================
|
||||
--- src/gzip.hh 649dfc0b250954f39c0f73870f8bec3f32f7fa43
|
||||
+++ src/gzip.hh f462dfc1df71ae1e9a8203606fd29d9e0eda9b2a
|
||||
@@ -7,6 +7,7 @@
|
||||
#ifndef BOTAN_EXT_GZIP_H__
|
||||
#define BOTAN_EXT_GZIP_H__
|
||||
|
||||
+#include <botan/version.h>
|
||||
#include <botan/filter.h>
|
||||
#include <botan/pipe.h>
|
||||
|
||||
@@ -30,13 +31,19 @@ namespace GZIP {
|
||||
|
||||
}
|
||||
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+ typedef size_t filter_length_t;
|
||||
+#else
|
||||
+ typedef u32bit filter_length_t;
|
||||
+#endif
|
||||
+
|
||||
/*************************************************
|
||||
* Gzip Compression Filter *
|
||||
*************************************************/
|
||||
class Gzip_Compression : public Filter
|
||||
{
|
||||
public:
|
||||
- void write(const byte input[], u32bit length);
|
||||
+ void write(const byte input[], filter_length_t length);
|
||||
void start_msg();
|
||||
void end_msg();
|
||||
std::string name() const { return "Gzip_Compression"; }
|
||||
@@ -60,7 +67,7 @@ class Gzip_Decompression : public Filter
|
||||
class Gzip_Decompression : public Filter
|
||||
{
|
||||
public:
|
||||
- void write(const byte input[], u32bit length);
|
||||
+ void write(const byte input[], filter_length_t length);
|
||||
void start_msg();
|
||||
void end_msg();
|
||||
std::string name() const { return "Gzip_Decompression"; }
|
||||
============================================================
|
||||
--- src/key_packet.cc d1306df89dd684badac02c03744cd446381c07d3
|
||||
+++ src/key_packet.cc c97262d161b23c9640972188979669b3e95afe7b
|
||||
@@ -106,8 +106,8 @@ namespace
|
||||
void validate_public_key_data(string const & name, string const & keydata) const
|
||||
{
|
||||
string decoded = decode_base64_as<string>(keydata, origin::user);
|
||||
- Botan::SecureVector<Botan::byte> key_block;
|
||||
- key_block.set(reinterpret_cast<Botan::byte const *>(decoded.c_str()), decoded.size());
|
||||
+ Botan::SecureVector<Botan::byte> key_block
|
||||
+ (reinterpret_cast<Botan::byte const *>(decoded.c_str()), decoded.size());
|
||||
try
|
||||
{
|
||||
Botan::X509::load_key(key_block);
|
||||
============================================================
|
||||
--- src/key_store.cc 64c4c4bed1fadc26b51207b9f61343f9dd7d3c6e
|
||||
+++ src/key_store.cc 1b1f1a989c21ee0dc69c540783ffb1fe4bceabf5
|
||||
@@ -572,13 +572,19 @@ key_store_state::decrypt_private_key(key
|
||||
try // with empty passphrase
|
||||
{
|
||||
Botan::DataSource_Memory ds(kp.priv());
|
||||
-#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,7,7)
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+ pkcs8_key.reset(Botan::PKCS8::load_key(ds, lazy_rng::get(), Dummy_UI()));
|
||||
+#elif BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,7,7)
|
||||
pkcs8_key.reset(Botan::PKCS8::load_key(ds, lazy_rng::get(), ""));
|
||||
#else
|
||||
pkcs8_key.reset(Botan::PKCS8::load_key(ds, ""));
|
||||
#endif
|
||||
}
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+ catch (Passphrase_Required & e)
|
||||
+#else
|
||||
catch (Botan::Exception & e)
|
||||
+#endif
|
||||
{
|
||||
L(FL("failed to load key with no passphrase: %s") % e.what());
|
||||
|
||||
@@ -856,9 +862,9 @@ key_store::make_signature(database & db,
|
||||
{
|
||||
if (agent.connected()) {
|
||||
//grab the monotone public key as an RSA_PublicKey
|
||||
- SecureVector<Botan::byte> pub_block;
|
||||
- pub_block.set(reinterpret_cast<Botan::byte const *>(key.pub().data()),
|
||||
- key.pub().size());
|
||||
+ SecureVector<Botan::byte> pub_block
|
||||
+ (reinterpret_cast<Botan::byte const *>(key.pub().data()),
|
||||
+ key.pub().size());
|
||||
L(FL("make_signature: building %d-byte pub key") % pub_block.size());
|
||||
shared_ptr<X509_PublicKey> x509_key =
|
||||
shared_ptr<X509_PublicKey>(Botan::X509::load_key(pub_block));
|
||||
@@ -1031,8 +1037,14 @@ key_store_state::migrate_old_key_pair
|
||||
for (;;)
|
||||
try
|
||||
{
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+ arc4_key.resize(phrase().size());
|
||||
+ arc4_key.copy(reinterpret_cast<Botan::byte const *>(phrase().data()),
|
||||
+ phrase().size());
|
||||
+#else
|
||||
arc4_key.set(reinterpret_cast<Botan::byte const *>(phrase().data()),
|
||||
phrase().size());
|
||||
+#endif
|
||||
|
||||
Pipe arc4_decryptor(get_cipher("ARC4", arc4_key, Botan::DECRYPTION));
|
||||
|
||||
============================================================
|
||||
--- src/monotone.cc a25ecdd170a601db798b63a60add7681609a34c4
|
||||
+++ src/monotone.cc 2c5f57762bc687a90f75e732f39d2181fc50bd6d
|
||||
@@ -170,11 +170,16 @@ cpp_main(int argc, char ** argv)
|
||||
// versions, including all of the stable branch 1.8.x.
|
||||
E(linked_botan_version < BOTAN_VERSION_CODE_FOR(1,9,0), origin::system,
|
||||
F("this monotone binary does not work with Botan 1.9.x"));
|
||||
-#else
|
||||
+#elif BOTAN_VERSION_CODE < BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
E(linked_botan_version > BOTAN_VERSION_CODE_FOR(1,7,22), origin::system,
|
||||
F("this monotone binary requires Botan 1.7.22 or newer"));
|
||||
E(linked_botan_version < BOTAN_VERSION_CODE_FOR(1,9,0), origin::system,
|
||||
F("this monotone binary does not work with Botan 1.9.x"));
|
||||
+#else
|
||||
+ E(linked_botan_version > BOTAN_VERSION_CODE_FOR(1,9,11), origin::system,
|
||||
+ F("this monotone binary requires Botan 1.9.11 or newer"));
|
||||
+ E(linked_botan_version < BOTAN_VERSION_CODE_FOR(1,11,0), origin::system,
|
||||
+ F("this monotone binary does not work with Botan 1.11.x"));
|
||||
#endif
|
||||
|
||||
app_state app;
|
||||
============================================================
|
||||
--- src/packet.cc f61360ed2524fdf53411bd24d022a2a3c9e6e9c7
|
||||
+++ src/packet.cc 6f6739c4756933843a2d865dc6790de9013626b7
|
||||
@@ -156,8 +156,8 @@ namespace
|
||||
void validate_public_key_data(string const & name, string const & keydata) const
|
||||
{
|
||||
string decoded = decode_base64_as<string>(keydata, origin::user);
|
||||
- Botan::SecureVector<Botan::byte> key_block;
|
||||
- key_block.set(reinterpret_cast<Botan::byte const *>(decoded.c_str()), decoded.size());
|
||||
+ Botan::SecureVector<Botan::byte> key_block
|
||||
+ (reinterpret_cast<Botan::byte const *>(decoded.c_str()), decoded.size());
|
||||
try
|
||||
{
|
||||
Botan::X509::load_key(key_block);
|
||||
@@ -175,7 +175,9 @@ namespace
|
||||
Botan::DataSource_Memory ds(decoded);
|
||||
try
|
||||
{
|
||||
-#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,7,7)
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+ Botan::PKCS8::load_key(ds, lazy_rng::get(), Dummy_UI());
|
||||
+#elif BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,7,7)
|
||||
Botan::PKCS8::load_key(ds, lazy_rng::get(), string());
|
||||
#else
|
||||
Botan::PKCS8::load_key(ds, string());
|
||||
@@ -189,7 +191,11 @@ namespace
|
||||
}
|
||||
// since we do not want to prompt for a password to decode it finally,
|
||||
// we ignore all other exceptions
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+ catch (Passphrase_Required) {}
|
||||
+#else
|
||||
catch (Botan::Invalid_Argument) {}
|
||||
+#endif
|
||||
}
|
||||
void validate_certname(string const & cn) const
|
||||
{
|
||||
@@ -460,8 +466,14 @@ read_packets(istream & in, packet_consum
|
||||
return count;
|
||||
}
|
||||
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+std::string Dummy_UI::get_passphrase(const std::string&,
|
||||
+ const std::string&,
|
||||
+ Botan::User_Interface::UI_Result&) const {
|
||||
+ throw Passphrase_Required();
|
||||
+}
|
||||
+#endif
|
||||
|
||||
-
|
||||
// Local Variables:
|
||||
// mode: C++
|
||||
// fill-column: 76
|
||||
============================================================
|
||||
--- src/packet.hh 0a224e6e92f244e2c3e9a5cdb935eb8613d7e85b
|
||||
+++ src/packet.hh 6c7d90e0bd9abe1e2e97da8ed40808fe438ea34b
|
||||
@@ -84,8 +84,26 @@ size_t read_packets(std::istream & in, p
|
||||
|
||||
size_t read_packets(std::istream & in, packet_consumer & cons);
|
||||
|
||||
+#if BOTAN_VERSION_CODE >= BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+// work around botan commit 2d09d7d0cd4bd0e7155d001dd65a4f29103b158c
|
||||
+#include <botan/ui.h>
|
||||
+class Dummy_UI : public Botan::User_Interface
|
||||
+{
|
||||
+public:
|
||||
+ virtual std::string get_passphrase(const std::string&,
|
||||
+ const std::string&,
|
||||
+ Botan::User_Interface::UI_Result&) const;
|
||||
+};
|
||||
+class Passphrase_Required : public Botan::Exception {
|
||||
+public:
|
||||
+ Passphrase_Required(const std::string& m = "Passphrase required") :
|
||||
+ Botan::Exception(m)
|
||||
+ {}
|
||||
+};
|
||||
#endif
|
||||
|
||||
+#endif
|
||||
+
|
||||
// Local Variables:
|
||||
// mode: C++
|
||||
// fill-column: 76
|
||||
============================================================
|
||||
--- src/sha1.cc 5e1aa972d7c7d66e06320b039989652b830dcd75
|
||||
+++ src/sha1.cc 42e48b22fd88b25e0d38d4f91e1f13f8a83c7120
|
||||
@@ -50,9 +50,12 @@ CMD_HIDDEN(benchmark_sha1, "benchmark_sh
|
||||
Botan::Default_Benchmark_Timer timer;
|
||||
std::map<std::string, double> results =
|
||||
Botan::algorithm_benchmark("SHA-1", milliseconds, timer, rng, af);
|
||||
+#elif BOTAN_VERSION_CODE < BOTAN_VERSION_CODE_FOR(1,9,11)
|
||||
+ std::map<std::string, double> results =
|
||||
+ Botan::algorithm_benchmark("SHA-1", milliseconds, rng, af);
|
||||
#else
|
||||
std::map<std::string, double> results =
|
||||
- Botan::algorithm_benchmark("SHA-1", milliseconds, rng, af);
|
||||
+ Botan::algorithm_benchmark("SHA-1", af, rng, milliseconds, 16);
|
||||
#endif
|
||||
|
||||
for(std::map<std::string, double>::const_iterator i = results.begin();
|
||||
============================================================
|
||||
--- src/ssh_agent.cc 6d188e7012a0b82f782563b09bbd7adf3f70cf75
|
||||
+++ src/ssh_agent.cc 4a0dcab873559e934e41c5f220b5434d35600d9b
|
||||
@@ -385,9 +385,9 @@ ssh_agent::has_key(const keypair & key)
|
||||
ssh_agent::has_key(const keypair & key)
|
||||
{
|
||||
//grab the monotone public key as an RSA_PublicKey
|
||||
- SecureVector<Botan::byte> pub_block;
|
||||
- pub_block.set(reinterpret_cast<Botan::byte const *>((key.pub)().data()),
|
||||
- (key.pub)().size());
|
||||
+ SecureVector<Botan::byte> pub_block
|
||||
+ (reinterpret_cast<Botan::byte const *>((key.pub)().data()),
|
||||
+ (key.pub)().size());
|
||||
L(FL("has_key: building %d-byte pub key") % pub_block.size());
|
||||
shared_ptr<X509_PublicKey> x509_key =
|
||||
shared_ptr<X509_PublicKey>(Botan::X509::load_key(pub_block));
|
||||
============================================================
|
||||
--- src/transforms.cc cdfb6854ef4992faba21074145f3c8269b845b11
|
||||
+++ src/transforms.cc 789e01bbff42020d04d8dba8f6b97588fbe4ca3d
|
||||
@@ -53,10 +53,10 @@ using Botan::Hash_Filter;
|
||||
// paradigm "must" be used. this program is intended for source code
|
||||
// control and I make no bones about it.
|
||||
|
||||
-NORETURN(static inline void error_in_transform(Botan::Exception & e));
|
||||
+NORETURN(static inline void error_in_transform(std::exception & e));
|
||||
|
||||
static inline void
|
||||
-error_in_transform(Botan::Exception & e, origin::type caused_by)
|
||||
+error_in_transform(std::exception & e, origin::type caused_by)
|
||||
{
|
||||
// these classes can all indicate data corruption
|
||||
if (typeid(e) == typeid(Botan::Encoding_Error)
|
||||
@@ -107,7 +107,7 @@ error_in_transform(Botan::Exception & e,
|
||||
pipe->process_msg(in); \
|
||||
out = pipe->read_all_as_string(Pipe::LAST_MESSAGE); \
|
||||
} \
|
||||
- catch (Botan::Exception & e) \
|
||||
+ catch (std::exception & e) \
|
||||
{ \
|
||||
pipe.reset(new Pipe(new T(carg))); \
|
||||
error_in_transform(e, made_from); \
|
||||
@@ -173,7 +173,7 @@ template<> string xform<Botan::Hex_Decod
|
||||
{
|
||||
throw Botan::Decoding_Error(string("invalid hex character '") + (char)c + "'");
|
||||
}
|
||||
- catch(Botan::Exception & e)
|
||||
+ catch(std::exception & e)
|
||||
{
|
||||
error_in_transform(e, made_from);
|
||||
}
|
||||
@@ -219,7 +219,7 @@ void pack(T const & in, base64< gzip<T>
|
||||
tmp = pipe->read_all_as_string(Pipe::LAST_MESSAGE);
|
||||
out = base64< gzip<T> >(tmp, in.made_from);
|
||||
}
|
||||
- catch (Botan::Exception & e)
|
||||
+ catch (std::exception & e)
|
||||
{
|
||||
pipe.reset(new Pipe(new Gzip_Compression,
|
||||
new Base64_Encoder));
|
||||
@@ -237,7 +237,7 @@ void unpack(base64< gzip<T> > const & in
|
||||
pipe->process_msg(in());
|
||||
out = T(pipe->read_all_as_string(Pipe::LAST_MESSAGE), in.made_from);
|
||||
}
|
||||
- catch (Botan::Exception & e)
|
||||
+ catch (std::exception & e)
|
||||
{
|
||||
pipe.reset(new Pipe(new Base64_Decoder,
|
||||
new Gzip_Decompression));
|
||||
@@ -264,7 +264,7 @@ calculate_ident(data const & dat,
|
||||
p->process_msg(dat());
|
||||
ident = id(p->read_all_as_string(Pipe::LAST_MESSAGE), dat.made_from);
|
||||
}
|
||||
- catch (Botan::Exception & e)
|
||||
+ catch (std::exception & e)
|
||||
{
|
||||
p.reset(new Pipe(new Hash_Filter("SHA-160")));
|
||||
error_in_transform(e, dat.made_from);
|
@ -1 +1 @@
|
||||
Thu, 10 Nov 2016 05:13:13 +0000
|
||||
Thu, 10 Nov 2016 11:43:16 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu, 10 Nov 2016 05:13:13 +0000
|
||||
Thu, 10 Nov 2016 11:43:17 +0000
|
||||
|
@ -1,9 +1,9 @@
|
||||
DEFINED_PHASES=install
|
||||
DESCRIPTION=Manages the {,/usr}/bin/awk symlink
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
HOMEPAGE=https://www.gentoo.org
|
||||
KEYWORDS=alpha amd64 ~arm ~hppa ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-macos
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-macos
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=https://dev.gentoo.org/~ottxor/distfiles/eselect-awk-0.2.tar.gz
|
||||
_md5_=1c14c33c9ac3b647b91e762dfb7378fd
|
||||
_md5_=57ea3c97d6bd3b786fd0cbfe0385802b
|
||||
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=app-text/poppler[introspection] dev-python/joblib[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pycairo[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pycountry[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pyenchant[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pygobject:3[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/pyinsane-1.3.8[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/pyocr-0.3.0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/python-levenshtein[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/termcolor[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/whoosh[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-util/glade[introspection,python] sci-libs/scikits_learn[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] sci-libs/scikits_image[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pillow[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] x11-libs/gtk+:3[introspection] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=a personal document manager for scanned documents (and PDFs)
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/jflesch/paperwork
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=app-text/poppler[introspection] dev-python/joblib[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pycairo[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pycountry[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pyenchant[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pygobject:3[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/pyinsane-1.3.8[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/pyocr-0.3.0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/python-levenshtein[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/termcolor[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/whoosh[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-util/glade[introspection,python] sci-libs/scikits_learn[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] sci-libs/scikits_image[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pillow[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] x11-libs/gtk+:3[introspection] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/jflesch/paperwork/archive/0.2.5.tar.gz -> paperwork-0.2.5.tar.gz
|
||||
_eclasses_=distutils-r1 674dae153419b2200ae54e879cc65b57 eutils b83a2420b796f7c6eff682679d08fe25 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d142329ab093dd20c1dd0edb5f094108 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=81ed3aba0147ba12e95041ed55176fef
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare pretend setup test
|
||||
DEPEND=!minimal? ( >=dev-dotnet/libgdiplus-2.10 ) ia64? ( sys-libs/libunwind ) nls? ( sys-devel/gettext ) sys-devel/bc virtual/yacc pax_kernel? ( sys-apps/elfix ) !dev-lang/mono-basic
|
||||
DESCRIPTION=Mono runtime and class libraries, a C# compiler/interpreter
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.mono-project.com/Main_Page
|
||||
IUSE=nls minimal pax_kernel xen doc abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux
|
||||
LICENSE=MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL
|
||||
RDEPEND=!minimal? ( >=dev-dotnet/libgdiplus-2.10 ) ia64? ( sys-libs/libunwind ) nls? ( sys-devel/gettext ) || ( www-client/links www-client/lynx )
|
||||
SLOT=0
|
||||
SRC_URI=http://download.mono-project.com/sources/mono/nightly/mono-4.9.0.729.tar.bz2
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc linux-info fd1e29abbb02cbc49f1a14299846e9c4 mono-env 10809200679bcceefebac9e72bebb6e6 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 pax-utils 4c2654a34ebe732e85fda354f6ee642f toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=a05b04a3710aa15daf4b0ec4b2587f36
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] doc? ( dev-python/sphinx[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) python_targets_pypy? ( virtual/pypy:0= ) python_targets_pypy3? ( virtual/pypy3:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Python style guide checker (fka pep8)
|
||||
EAPI=6
|
||||
HOMEPAGE=https://pypi.python.org/pypi/pycodestyle
|
||||
IUSE=doc python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=MIT
|
||||
RDEPEND=dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_pypy? ( virtual/pypy:0= ) python_targets_pypy3? ( virtual/pypy3:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/p/pycodestyle/pycodestyle-2.1.0.tar.gz
|
||||
_eclasses_=distutils-r1 674dae153419b2200ae54e879cc65b57 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d142329ab093dd20c1dd0edb5f094108 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=4e19143eda9d6f31a5befd85d9e758cf
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-libs/icu doc? ( dev-python/epydoc[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Python bindings for dev-libs/icu
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/ovalhub/pyicu
|
||||
IUSE=doc python_targets_python2_7 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-libs/icu python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=doc? ( || ( python_targets_python2_7 ) ) || ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/P/PyICU/PyICU-1.9.4.tar.gz
|
||||
_eclasses_=distutils-r1 674dae153419b2200ae54e879cc65b57 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d142329ab093dd20c1dd0edb5f094108 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=86d1c12c6531e0b527a77237ccb9538c
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=cuneiform? ( app-text/cuneiform ) tesseract? ( app-text/tesseract ) dev-python/pillow python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=an optical character recognition (OCR) tool wrapper for python
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/jflesch/pyocr
|
||||
IUSE=cuneiform +tesseract python_targets_python2_7 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=cuneiform? ( app-text/cuneiform ) tesseract? ( app-text/tesseract ) dev-python/pillow python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( cuneiform tesseract ) || ( python_targets_python2_7 python_targets_python3_4 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/jflesch/pyocr/archive/v0.2.4.tar.gz -> pyocr-0.2.4.tar.gz
|
||||
_eclasses_=distutils-r1 674dae153419b2200ae54e879cc65b57 eutils b83a2420b796f7c6eff682679d08fe25 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d142329ab093dd20c1dd0edb5f094108 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=1e5755c659107d5fa21c10c79b2ca0b4
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=cuneiform? ( app-text/cuneiform ) tesseract? ( app-text/tesseract ) dev-python/pillow python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=an optical character recognition (OCR) tool wrapper for python
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/jflesch/pyocr
|
||||
IUSE=cuneiform +tesseract python_targets_python2_7 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=cuneiform? ( app-text/cuneiform ) tesseract? ( app-text/tesseract ) dev-python/pillow python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( cuneiform tesseract ) || ( python_targets_python2_7 python_targets_python3_4 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/jflesch/pyocr/archive/v0.3.0.tar.gz -> pyocr-0.3.0.tar.gz
|
||||
_eclasses_=distutils-r1 674dae153419b2200ae54e879cc65b57 eutils b83a2420b796f7c6eff682679d08fe25 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d142329ab093dd20c1dd0edb5f094108 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=805538b7fd588a73f76745769f26b21e
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=cuneiform? ( app-text/cuneiform ) tesseract? ( app-text/tesseract ) dev-python/pillow python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=an optical character recognition (OCR) tool wrapper for python
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/jflesch/pyocr
|
||||
IUSE=cuneiform +tesseract python_targets_python2_7 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=cuneiform? ( app-text/cuneiform ) tesseract? ( app-text/tesseract ) dev-python/pillow python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( cuneiform tesseract ) || ( python_targets_python2_7 python_targets_python3_4 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/jflesch/pyocr/archive/v0.3.1.tar.gz -> pyocr-0.3.1.tar.gz
|
||||
_eclasses_=distutils-r1 674dae153419b2200ae54e879cc65b57 eutils b83a2420b796f7c6eff682679d08fe25 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d142329ab093dd20c1dd0edb5f094108 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=805538b7fd588a73f76745769f26b21e
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=install postinst prepare prerm
|
||||
DEPEND=app-arch/xz-utils sys-libs/zlib
|
||||
DESCRIPTION=fast compiler cache
|
||||
EAPI=5
|
||||
HOMEPAGE=http://ccache.samba.org/
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=app-arch/xz-utils sys-libs/zlib sys-apps/gentoo-functions
|
||||
SLOT=0
|
||||
SRC_URI=https://samba.org/ftp/ccache/ccache-3.3.3.tar.xz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 readme.gentoo-r1 03878c06495db70bc36bd717383c09f7 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=2a90fb45819d742236198d65707fdc64
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=kmod? ( sys-apps/kmod ) static-libs? ( zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) !static-libs? ( zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) udev? ( >=virtual/libudev-208[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) kmod? ( virtual/pkgconfig )
|
||||
DEPEND=kmod? ( sys-apps/kmod ) static-libs? ( zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) udev? ( >=virtual/libudev-208[static-libs(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) !static-libs? ( zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) udev? ( >=virtual/libudev-208[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) kmod? ( virtual/pkgconfig )
|
||||
DESCRIPTION=Various utilities dealing with the PCI bus
|
||||
EAPI=5
|
||||
HOMEPAGE=http://mj.ucw.cz/sw/pciutils/ https://git.kernel.org/?p=utils/pciutils/pciutils.git
|
||||
IUSE=dns +kmod static-libs +udev zlib abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=kmod? ( sys-apps/kmod ) static-libs? ( zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) !static-libs? ( zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) udev? ( >=virtual/libudev-208[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) sys-apps/hwids abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r14 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
RDEPEND=kmod? ( sys-apps/kmod ) static-libs? ( zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) udev? ( >=virtual/libudev-208[static-libs(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) !static-libs? ( zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) udev? ( >=virtual/libudev-208[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sys-apps/hwids
|
||||
SLOT=0
|
||||
SRC_URI=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/pciutils-3.5.2.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=506dd56a1ef57be075f5876d33f6ab02
|
||||
_md5_=16dc3e1d149d089e83ae6ac1f32eb8ec
|
||||
|
@ -0,0 +1,10 @@
|
||||
DEFINED_PHASES=compile install prepare test
|
||||
DEPEND=dev-util/cargo dev-lang/rust
|
||||
DESCRIPTION=a command line search tool that combines usability with raw speed
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/BurntSushi/ripgrep
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=|| ( MIT Unlicense )
|
||||
SLOT=0
|
||||
SRC_URI=http://dev.gentoo.org/~radhermit/dist/ripgrep-0.2.9.tar.xz
|
||||
_md5_=95ac42c7603f9b752299cbf9c07b7824
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install prepare
|
||||
DEPEND=!elibc_glibc? ( virtual/libiconv ) X? ( x11-libs/libICE x11-libs/libXau x11-libs/libSM x11-libs/libX11 x11-libs/libXt )
|
||||
DESCRIPTION=utilities to access MS-DOS disks from Unix without mounting them
|
||||
EAPI=5
|
||||
HOMEPAGE=https://www.gnu.org/software/mtools/ https://savannah.gnu.org/projects/mtools
|
||||
IUSE=X elibc_glibc
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x64-solaris
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=!elibc_glibc? ( virtual/libiconv ) X? ( x11-libs/libICE x11-libs/libXau x11-libs/libSM x11-libs/libX11 x11-libs/libXt )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gnu/mtools/mtools-4.0.18.tar.bz2
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=e6c8baf00b078097be92e2637ca16571
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare
|
||||
DEPEND=sys-libs/zlib !xz? ( !lzo? ( sys-libs/zlib ) ) lz4? ( app-arch/lz4 ) lzma? ( app-arch/xz-utils ) lzo? ( dev-libs/lzo ) xattr? ( sys-apps/attr ) xz? ( app-arch/xz-utils )
|
||||
DEPEND=!static? ( sys-libs/zlib !xz? ( !lzo? ( sys-libs/zlib ) ) lz4? ( app-arch/lz4 ) lzma? ( app-arch/xz-utils ) lzo? ( dev-libs/lzo ) xattr? ( sys-apps/attr ) xz? ( app-arch/xz-utils ) ) static? ( sys-libs/zlib[static-libs(+)] !xz? ( !lzo? ( sys-libs/zlib[static-libs(+)] ) ) lz4? ( app-arch/lz4[static-libs(+)] ) lzma? ( app-arch/xz-utils[static-libs(+)] ) lzo? ( dev-libs/lzo[static-libs(+)] ) xattr? ( sys-apps/attr[static-libs(+)] ) xz? ( app-arch/xz-utils[static-libs(+)] ) )
|
||||
DESCRIPTION=Tool for creating compressed filesystem type squashfs
|
||||
EAPI=5
|
||||
HOMEPAGE=http://squashfs.sourceforge.net
|
||||
IUSE=lz4 lzma lzo xattr +xz
|
||||
IUSE=lz4 lzma lzo static xattr +xz
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=sys-libs/zlib !xz? ( !lzo? ( sys-libs/zlib ) ) lz4? ( app-arch/lz4 ) lzma? ( app-arch/xz-utils ) lzo? ( dev-libs/lzo ) xattr? ( sys-apps/attr ) xz? ( app-arch/xz-utils )
|
||||
RDEPEND=!static? ( sys-libs/zlib !xz? ( !lzo? ( sys-libs/zlib ) ) lz4? ( app-arch/lz4 ) lzma? ( app-arch/xz-utils ) lzo? ( dev-libs/lzo ) xattr? ( sys-apps/attr ) xz? ( app-arch/xz-utils ) )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/squashfs/squashfs4.3.tar.gz mirror://debian/pool/main/s/squashfs-tools/squashfs-tools_4.3-3.debian.tar.xz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=1154435845def45e815649da334dc2c9
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=de68a03ce439c6fa48c8aca0034e6a63
|
||||
|
@ -1,11 +1,11 @@
|
||||
DEFINED_PHASES=compile configure install unpack
|
||||
DEPEND=sys-libs/zlib !xz? ( !lzo? ( sys-libs/zlib ) ) lz4? ( app-arch/lz4 ) lzma? ( app-arch/xz-utils ) lzo? ( dev-libs/lzo ) xattr? ( sys-apps/attr ) xz? ( app-arch/xz-utils ) >=dev-vcs/git-1.8.2.1
|
||||
DEPEND=!static? ( sys-libs/zlib !xz? ( !lzo? ( sys-libs/zlib ) ) lz4? ( app-arch/lz4 ) lzma? ( app-arch/xz-utils ) lzo? ( dev-libs/lzo ) xattr? ( sys-apps/attr ) xz? ( app-arch/xz-utils ) ) static? ( sys-libs/zlib[static-libs(+)] !xz? ( !lzo? ( sys-libs/zlib[static-libs(+)] ) ) lz4? ( app-arch/lz4[static-libs(+)] ) lzma? ( app-arch/xz-utils[static-libs(+)] ) lzo? ( dev-libs/lzo[static-libs(+)] ) xattr? ( sys-apps/attr[static-libs(+)] ) xz? ( app-arch/xz-utils[static-libs(+)] ) ) >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=Tool for creating compressed filesystem type squashfs
|
||||
EAPI=6
|
||||
HOMEPAGE=http://squashfs.sourceforge.net
|
||||
IUSE=lz4 lzma lzo xattr +xz
|
||||
IUSE=lz4 lzma lzo static xattr +xz
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=sys-libs/zlib !xz? ( !lzo? ( sys-libs/zlib ) ) lz4? ( app-arch/lz4 ) lzma? ( app-arch/xz-utils ) lzo? ( dev-libs/lzo ) xattr? ( sys-apps/attr ) xz? ( app-arch/xz-utils )
|
||||
RDEPEND=!static? ( sys-libs/zlib !xz? ( !lzo? ( sys-libs/zlib ) ) lz4? ( app-arch/lz4 ) lzma? ( app-arch/xz-utils ) lzo? ( dev-libs/lzo ) xattr? ( sys-apps/attr ) xz? ( app-arch/xz-utils ) )
|
||||
SLOT=0
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 git-r3 e928b84a9f6f1d9076d1d27687876dc6 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=e603118b45254a47df2660325ab258d0
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc git-r3 e928b84a9f6f1d9076d1d27687876dc6 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=5b9109cadf43bca028173007cccb3ca5
|
||||
|
@ -1 +1 @@
|
||||
Thu, 10 Nov 2016 05:13:13 +0000
|
||||
Thu, 10 Nov 2016 11:43:17 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu Nov 10 05:09:27 UTC 2016
|
||||
Thu Nov 10 11:39:26 UTC 2016
|
||||
|
@ -1 +1 @@
|
||||
Thu, 10 Nov 2016 05:30:01 +0000
|
||||
Thu, 10 Nov 2016 12:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1478754601 Thu 10 Nov 2016 05:10:01 AM UTC
|
||||
1478778001 Thu 10 Nov 2016 11:40:01 AM UTC
|
||||
|
@ -1 +1 @@
|
||||
Thu, 10 Nov 2016 05:13:13 +0000
|
||||
Thu, 10 Nov 2016 11:43:16 +0000
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST ripgrep-0.2.5.tar.xz 36327796 SHA256 af30c197e8ed4779288023b4b197ebd481f5c644be1ac18495c91556989da5f8 SHA512 4ce2374f677110bc61ac1ee0511a9e801f21f414ba3bf809b3020e82a2a26a7deeff45fea1edc8d20353023e95074899262db2f84e0cd822103dc60b55f39216 WHIRLPOOL e0a50bc59142aa74ecfc93c2089d6916aba6af15d33d9dbd9f7fa7c790b5fa9f46b757419c9db3abd4d17eba6d0e17c6b5a83ceb6842d8a7d57722ef1e6862ff
|
||||
DIST ripgrep-0.2.6.tar.xz 36034548 SHA256 1f26e3023a58f52085780f5392241d3781d51746ce1fa8abc155b99bd11eae1e SHA512 1389e97009a30c417f75e8a6804e53ba72c679b6e67366c83c839fe5bc4035cc59ab0261ada1110eda84e8aa9900fd12abc1732bf68b6fd379aee64fbfe7acc9 WHIRLPOOL 416b3eab0146872e86dd9184b17aa73ae4dba5016c7829d2daa845fe304aa2be31fc4505e08b8270ff7589872fcb07852bfbbb30a06c7c13d63abf2c17ae0c01
|
||||
DIST ripgrep-0.2.9.tar.xz 36405508 SHA256 f5013f18620495a24af5bfa7a58b9f336831f489c34acbd91d963f27ab24a77d SHA512 3196b7e9cc9302e327ef09d87e5f586829deac5394e229b131bb4d76a54db05f12a9207f7b3b0d1d8c0790857ffd86dc4b177a31065f82f31192b3a7e6211399 WHIRLPOOL be4836c70ffc70827fdb2bf187624ddfa2238a97f93e7bb73dc4f3e13ea569f7a80bdb4ca0e956e661440849663891af88d3848eb8bc4758e02cbd6898806e6d
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="a command line search tool that combines usability with raw speed"
|
||||
HOMEPAGE="https://github.com/BurntSushi/ripgrep"
|
||||
#SRC_URI="https://github.com/BurntSushi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
# custom tarball bundling all deps and index, otherwise cargo fetches from the network
|
||||
SRC_URI="http://dev.gentoo.org/~radhermit/dist/${P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( MIT Unlicense )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
dev-util/cargo
|
||||
dev-lang/rust
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# move cache dir where cargo expects it
|
||||
mv .cargo "${HOME}" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cargo build --release --verbose || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cargo test || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin target/release/rg
|
||||
doman doc/rg.1
|
||||
dodoc CHANGELOG.md README.md
|
||||
}
|
@ -0,0 +1,163 @@
|
||||
https://crbug.com/508713
|
||||
https://lists.gnu.org/archive/html/info-mtools/2016-11/msg00000.html
|
||||
|
||||
From 04df65ed797e47da5b423c7f9aec99d82dfde400 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@chromium.org>
|
||||
Date: Wed, 7 Sep 2016 12:33:42 -0400
|
||||
Subject: [PATCH] add support for retrying device locking
|
||||
|
||||
When running syslinux's install phase, it will run a bunch of mtools
|
||||
commands in quick succession. If you're on a fast enough machine, it
|
||||
can often fail with errors like:
|
||||
plain floppy: device "/proc/2908/fd/3" busy (Resource temporarily unavailable):
|
||||
Cannot initialize 'S:'
|
||||
Bad target s:/ldlinux.sys
|
||||
syslinux: failed to create ldlinux.sys
|
||||
|
||||
The issue is that after some of the mtools calls, the kernel notices
|
||||
that the fs image has changed, so it notifies userspace. This wakes
|
||||
up udev which grabs a lock on the device to rescan it for changes
|
||||
(e.g. updated fs metadata like UUID). The udev phase does not finish
|
||||
before syslinux fires off another mtools call which means mtools now
|
||||
fails with a locking error.
|
||||
|
||||
You can recreate this with a simple test:
|
||||
- loop mount a fat fs image
|
||||
- open the loop device for writing
|
||||
- generate a mtools.conf pointing the file to /proc/$pid/fd/$fd
|
||||
- run mattrib && mcopy
|
||||
- see udev open/lock the loop device after mattrib runs to probe it
|
||||
- see mcopy fail because udev is still holding the lock
|
||||
|
||||
To fix things, we teach mtools to retry its locking calls temporarily.
|
||||
If it still fails after a timeout, we abort like normal. We also make
|
||||
this behavior configurable by adding a new global timeout option.
|
||||
---
|
||||
config.c | 2 ++
|
||||
mtools.h | 1 +
|
||||
mtools.texi | 7 +++++++
|
||||
mtools.tmpl.5 | 4 ++++
|
||||
plain_io.c | 10 ++++++++++
|
||||
xdf_io.c | 11 +++++++++++
|
||||
6 files changed, 35 insertions(+)
|
||||
|
||||
diff --git a/config.c b/config.c
|
||||
index f08688399d1d..ea4178452f6a 100644
|
||||
--- a/config.c
|
||||
+++ b/config.c
|
||||
@@ -63,6 +63,7 @@ unsigned int mtools_no_vfat=0;
|
||||
unsigned int mtools_numeric_tail=1;
|
||||
unsigned int mtools_dotted_dir=0;
|
||||
unsigned int mtools_twenty_four_hour_clock=1;
|
||||
+unsigned int mtools_lock_timeout=30;
|
||||
unsigned int mtools_default_codepage=850;
|
||||
const char *mtools_date_string="yyyy-mm-dd";
|
||||
char *country_string=0;
|
||||
@@ -90,6 +91,7 @@ static switches_t global_switches[] = {
|
||||
(caddr_t) &mtools_twenty_four_hour_clock, T_UINT },
|
||||
{ "MTOOLS_DATE_STRING",
|
||||
(caddr_t) &mtools_date_string, T_STRING },
|
||||
+ { "MTOOLS_LOCK_TIMEOUT", (caddr_t) &mtools_lock_timeout, T_UINT },
|
||||
{ "DEFAULT_CODEPAGE", (caddr_t) &mtools_default_codepage, T_UINT }
|
||||
};
|
||||
|
||||
diff --git a/mtools.h b/mtools.h
|
||||
index ef98e942ee2c..fa8c1bdc8a1b 100644
|
||||
--- a/mtools.h
|
||||
+++ b/mtools.h
|
||||
@@ -188,6 +188,7 @@ extern unsigned int mtools_ignore_short_case;
|
||||
extern unsigned int mtools_no_vfat;
|
||||
extern unsigned int mtools_numeric_tail;
|
||||
extern unsigned int mtools_dotted_dir;
|
||||
+extern unsigned int mtools_lock_timeout;
|
||||
extern unsigned int mtools_twenty_four_hour_clock;
|
||||
extern const char *mtools_date_string;
|
||||
extern unsigned int mtools_rate_0, mtools_rate_any;
|
||||
diff --git a/mtools.texi b/mtools.texi
|
||||
index 1085789c1cb6..1c7ad94d40f9 100644
|
||||
--- a/mtools.texi
|
||||
+++ b/mtools.texi
|
||||
@@ -658,6 +658,10 @@ DOSEMU image files.
|
||||
@vindex MTOOLS_FAT_COMPATIBILITY
|
||||
@vindex MTOOLS_LOWER_CASE
|
||||
@vindex MTOOLS_NO_VFAT
|
||||
+@vindex MTOOLS_DOTTED_DIR
|
||||
+@vindex MTOOLS_NAME_NUMERIC_TAIL
|
||||
+@vindex MTOOLS_TWENTY_FOUR_HOUR_CLOCK
|
||||
+@vindex MTOOLS_LOCK_TIMEOUT
|
||||
@cindex FreeDOS
|
||||
|
||||
Global flags may be set to 1 or to 0.
|
||||
@@ -692,6 +696,9 @@ clash would have happened.
|
||||
@item MTOOLS_TWENTY_FOUR_HOUR_CLOCK
|
||||
If 1, uses the European notation for times (twenty four hour clock),
|
||||
else uses the UK/US notation (am/pm)
|
||||
+@item MTOOLS_LOCK_TIMEOUT
|
||||
+How long, in seconds, to wait for a locked device to become free.
|
||||
+Defaults to 30.
|
||||
@end table
|
||||
|
||||
Example:
|
||||
diff --git a/mtools.tmpl.5 b/mtools.tmpl.5
|
||||
index 565fdd7513aa..8cdaaf2ba929 100644
|
||||
--- a/mtools.tmpl.5
|
||||
+++ b/mtools.tmpl.5
|
||||
@@ -106,6 +106,10 @@ clash would have happened.
|
||||
\&\fR\&\f(CWMTOOLS_TWENTY_FOUR_HOUR_CLOCK\fR\
|
||||
If 1, uses the European notation for times (twenty four hour clock),
|
||||
else uses the UK/US notation (am/pm)
|
||||
+.TP
|
||||
+\&\fR\&\f(CWMTOOLS_LOCK_TIMEOUT\fR\
|
||||
+How long, in seconds, to wait for a locked device to become free.
|
||||
+Defaults to 30.
|
||||
.PP
|
||||
Example:
|
||||
Inserting the following line into your configuration file instructs
|
||||
diff --git a/plain_io.c b/plain_io.c
|
||||
index c9d8418b8b4d..3dc035c9ce92 100644
|
||||
--- a/plain_io.c
|
||||
+++ b/plain_io.c
|
||||
@@ -632,7 +632,17 @@ APIRET rc;
|
||||
#ifndef __CYGWIN__
|
||||
#ifndef OS_mingw32msvc
|
||||
/* lock the device on writes */
|
||||
+ retry:
|
||||
if (locked && lock_dev(This->fd, mode == O_RDWR, dev)) {
|
||||
+ /* retry the lock in case another system process (e.g. udev)
|
||||
+ * has temporarily locked the device. this happens when you
|
||||
+ * run multiple mtools commands at once which triggers the
|
||||
+ * system to lock/rescan/unlock. */
|
||||
+ static int retries = 0;
|
||||
+ if (errno == EAGAIN && retries++ < mtools_lock_timeout * 10) {
|
||||
+ usleep(100);
|
||||
+ goto retry;
|
||||
+ }
|
||||
if(errmsg)
|
||||
#ifdef HAVE_SNPRINTF
|
||||
snprintf(errmsg,199,
|
||||
diff --git a/xdf_io.c b/xdf_io.c
|
||||
index f0db3b3d9f38..8f64f6348f0c 100644
|
||||
--- a/xdf_io.c
|
||||
+++ b/xdf_io.c
|
||||
@@ -638,7 +638,18 @@ Stream_t *XdfOpen(struct device *dev, char *name,
|
||||
goto exit_2;
|
||||
|
||||
/* lock the device on writes */
|
||||
+ retry:
|
||||
if (lock_dev(This->fd, mode == O_RDWR, dev)) {
|
||||
+ /* retry the lock in case another system process (e.g. udev)
|
||||
+ * has temporarily locked the device. this happens when you
|
||||
+ * run multiple mtools commands at once which triggers the
|
||||
+ * system to lock/rescan/unlock. */
|
||||
+ static int retries = 0;
|
||||
+ if (errno == EAGAIN && retries++ < mtools_lock_timeout * 10) {
|
||||
+ usleep(100);
|
||||
+ goto retry;
|
||||
+ }
|
||||
+
|
||||
#ifdef HAVE_SNPRINTF
|
||||
snprintf(errmsg,199,"xdf floppy: device \"%s\" busy:",
|
||||
dev->name);
|
||||
--
|
||||
2.9.0
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="utilities to access MS-DOS disks from Unix without mounting them"
|
||||
HOMEPAGE="https://www.gnu.org/software/mtools/ https://savannah.gnu.org/projects/mtools"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x64-solaris"
|
||||
IUSE="X elibc_glibc"
|
||||
|
||||
DEPEND="
|
||||
!elibc_glibc? ( virtual/libiconv )
|
||||
X? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libXau
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Don't throw errors on existing directories
|
||||
sed -i -e "s:mkdir:mkdir -p:" mkinstalldirs || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-locking.patch # https://crbug.com/508713
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# 447688
|
||||
use elibc_glibc || append-libs iconv
|
||||
econf \
|
||||
--sysconfdir="${EPREFIX}"/etc/mtools \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README* Release.notes
|
||||
|
||||
insinto /etc/mtools
|
||||
doins mtools.conf
|
||||
# default is fine
|
||||
sed -i -e '/^SAMPLE FILE$/s:^:#:' "${ED}"/etc/mtools/mtools.conf || die
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
https://bugs.gentoo.org/597006
|
||||
https://lists.gnu.org/archive/html/bug-bash/2016-10/msg00010.html
|
||||
|
||||
*** ../bash-4.4/lib/readline/history.c 2015-12-28 13:50:31.000000000 -0500
|
||||
--- lib/readline/history.c 2016-09-30 14:28:40.000000000 -0400
|
||||
***************
|
Loading…
Reference in new issue