parent
f833cc0f2a
commit
98a8c7d4a5
@ -1,20 +1,21 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
AUX 0.23-Makefile.patch 1389 SHA256 1fa306143aa8030381d561c29022bab2775877b7e5dcd3aa63476205ae3c375a SHA512 2cd8d561fc2a5351f8fba57cd6e99a866692b14db9bac4195bcbee4f0dde1f442c8c2ad5f813f690ef62f72c069219ff2755fd8d61a22ea17ab45044d52ac262 WHIRLPOOL 909779dbebb24b162a4cd8e7daa40e3c14d41f302a5e18ec20e65c74923c8cb71edfaab5dce31b831f55ed07114944b5b2f10a3404d1cf4fd8919b9d664a748d
|
||||
AUX 0.23-s_isreg.patch 350 SHA256 38c1c133faf8c30440164fad7c1539df555cee606934a3e75ed6a149eeb5d1d6 SHA512 ff0bf55710ec4a9a464515dfd49daee8ab3b4f0ffe4461ada19b8ba8056c10bfc05ee736204906c026ed075345d9f0f5f2d179b09edec189b2b37f99489f7b32 WHIRLPOOL d119c6f291ca149f9114a59eb4ba717cf41856973cf83746374df0aac9cc120a6ee6545f3b4b1a9a3a5e0b4f14316be18df268fef5353212c1b01be2de58abce
|
||||
AUX 0.23-test.sh.patch 648 SHA256 e37454a09697a49574068ad5c89d2047a9f4f5d9df32aacd3b01584f2b0477a1 SHA512 2fe226cb030d444d9a0866487596ed039b4e66af39762f1bc93625c1e93a7336697fa01311c3f0d0eee4a528ae513d18f197534d85539f3185dd8e58e1819dc7 WHIRLPOOL d06585234803278d593499af1e439b89f5dbe721d299018eb78f2b947db98bc882580b958b59a1abf1ef59b08abf9ec521b57fd32b99640d74e6d9c0787aa591
|
||||
AUX 2.1-crc-missmatch.patch 552 SHA256 3263d1b9452ac65a01a6127e1078ba6cc3ba040c8001e764af2f06d323d13c89 SHA512 b5113b0fe23adc17811b6e7812ca6e671d978c6765519729998077d6aed000f1fd22241b06ab4330534a6813b5b9f5d7aec62ed007957a34d39a39d5041f5b77 WHIRLPOOL d71c7954c2b24528359f05fd7917de75b0aa0cf872b8a38384e95a588d3ab19e7c3bac8492a9a37bdb5ae497d6a3cd7621b0dd698bd94102b363c5a25f81b669
|
||||
AUX lbzip2-2.2-assertion.patch 3445 SHA256 b8604cc0a184fdd3efed02746623d1c29827381e2c659dcc7aab1fa3b6b8f59f SHA512 fa5b6572ffff30650b4917679e178741220f2fea0f6e62e7935839572f92c5f5c2455edc429c790b1d905445a295a541fca23378b5c24296e1a676414692360d WHIRLPOOL 7de49a15e1524e81f776d5e86cadda4a29c793d89d9259c740ca8aeb406099bb0b5f1de8cbd29b81be06911894102dc0244d8b6818c9ddf2d8a063797dd9bdc6
|
||||
AUX lbzip2-2.2-s_isreg.patch 456 SHA256 d3564db329d05fde2866a113066e21478ef8c504c3765ac934afbe3e31df00c3 SHA512 5c5c221befa34b50b1cd299608fea4d0871ede7c53a297fe05504ac34b3088378f1734d9e7a1c1649ede44894481786b0c417d38852963606b127090c97b33bb WHIRLPOOL 6a5c6f6d566f8dd4880047fe0f2c49626b07174785715c3cd06e736117133dc23d67020d8cba6b4dd66a013f60ac8da0582af64c08629e2010a29938404219d0
|
||||
DIST lbzip2-2.2.tar.gz 622154 SHA256 b905f763a5859670e36b15d016fb6bb73d6718905fc0e2a9fa1dbc11f30b0d80 SHA512 9b194eee262e44d4665d97307f73f20075c301c2a8fbc0f989805359645387bb3ad0a6b7507edc5463a017eaf7002ee177e9fc00cf808c02c7a9c16e7b58b918 WHIRLPOOL 241c6cf473171be56b94efdc152eecb15482977ed47cb46ed47dad641bca9f73d7ec52f13947677aa619387707d5d17f7fa3421f9bc83fc28ced9e7c49b607d1
|
||||
EBUILD lbzip2-2.2-r1.ebuild 913 SHA256 743a7ac801b926fa04d2d0d3580f5b35cbc4381b833f2866b6fdd3e516350c75 SHA512 a3270079ad36e85865a9c4f8015a800f30058543683a7129209189500fe213714fc59e3c39434872a1c5222d3ca53906fe285e53c0e0df6726a5621f84e992ef WHIRLPOOL abf9d9b486d7682e678081810c8a4556c337e8b36a5f5332937e72f3aa8a4632b23c04199ec836157e027d835477c25e8b054ab318b68d9e65ca317d50c66aee
|
||||
EBUILD lbzip2-2.2.ebuild 860 SHA256 eb15019cae723c280bc30742ae1d2cf177861971301245d720bab14c70890a3e SHA512 0ba223c40b6f82d09b77a4813dc749e6a997a91ba8e9f662966704389ae7b69d4cf61b9d8c5dfcd7500560c84387b1839087c158016abf1c00d81302cd156a79 WHIRLPOOL 5fe79226012e8d32ba84aa75709bd688c0dffc8547cf643a8418aa217c323b609ed6609fbc80d9cc8791818ad735bd2443bcc7ad5e32f6ab33773b66fa6a35c3
|
||||
MISC ChangeLog 5731 SHA256 a06852a75e998980452d3797e88462d194e150237a5c849da8d6960accf03546 SHA512 f049be33f4b99decb504a5a85709989a0238e6f38bf06d8b3f44f433be74998fd18dd4f50f831c0b376d6047f51c93659d2d49cb57475d4088e7683dba7f1484 WHIRLPOOL 2aef5e4f9048cffd28e06e284f0e2fab729645149172f7ddd2e9ee36537be47198a53f12e4784eaa512620a91406b1b2dfde30582e134667119fc751211c359c
|
||||
MISC metadata.xml 506 SHA256 23c838cae918b805fef6c43f9cf06570ad578cbbe1d6153efc03f1e1fd65f62a SHA512 7880c37760b09c98256d18bba14250fbe7a8cffe39299028bf605ffee240ced75894b8210510bc8d4b2d8f48612fcd15e516b95d5f2513489a02ed38bd14aa62 WHIRLPOOL ea0e3ea77ea2787d1d7bf4945c9acad01a312433bf9908cae72f22d575c5cf50221e49d75e7a32e9ba66153d4235ca585cae2371cb6f0a9556b4a3b0d75cf02f
|
||||
MISC ChangeLog 5947 SHA256 f71544739d9610fd1b31e09d7729968ba33bf1d1ecb41691d5a3a5ba464bc347 SHA512 5dbdaa8b4cd2aab1b384e5ffcc3c6551678aa050eeaab1e3776e734da9f6eceaeb082ab26292100b42d86fe719f18b969d5a471bd947db89d99750e6c218090c WHIRLPOOL 73ef690a2c59ea65b2ffc6b8b849140cd835e5ba13b2c9c1b7621d50f4f5f18ba71e6c04da29cc325f6feb9e311f51f07b6c0288f1bf4603ac135bb9ad2570eb
|
||||
MISC metadata.xml 517 SHA256 c2248b7afbad927ad1278839f066700d7feb2d0f92d5e39066225a3f391a7127 SHA512 8f3de06520fa4f8f1ff273897be36c870b128c561dc776ef27f34fb4eb15172f0d77b7e004b5d9861f23250e1b23b08b36bc2286fee48875c3ec3e1e0cf79bb2 WHIRLPOOL e5a1c3c4a463146d8d4437ba5b34481ffb4b729f4df52247d6682ed5c02475487be782dbaba4677cc4eac51a734e525f85e0ee1d8b4488a9bc58110b441344f3
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Comment: GPGTools - http://gpgtools.org
|
||||
|
||||
iEYEAREIAAYFAlBxbZ0ACgkQgAnW8HDreRb7EgCeNszt+KIvy7WdJi9WQeXyRBdB
|
||||
888AoK6FhgXjOdty9cG0Be+zCku1e/y3
|
||||
=h5OP
|
||||
iEYEAREKAAYFAlDxvYIACgkQgAnW8HDreRYvnwCeLWHiKMuRolLhByisNywgyBSd
|
||||
evsAnRjGfpPAqLAi90cOvE97qamJw7H/
|
||||
=tZqt
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,107 @@
|
||||
From 57eeee36927f8a40ece1ca06c674e0bd56d0f21f Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <57eeee36927f8a40ece1ca06c674e0bd56d0f21f.1358019732.git.jlec@gentoo.org>
|
||||
From: Mikolaj Izdebski <zurgunt@gmail.com>
|
||||
Date: Sat, 20 Oct 2012 18:37:17 +0200
|
||||
Subject: [PATCH] Fix assertion failure, closes #8
|
||||
|
||||
src/encode.c (generate_initial_trees): Rewrite from scratch.
|
||||
---
|
||||
src/encode.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++-------------
|
||||
1 file changed, 48 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/src/encode.c b/src/encode.c
|
||||
index 09cfacc..00a78dc 100644
|
||||
--- a/src/encode.c
|
||||
+++ b/src/encode.c
|
||||
@@ -763,40 +763,75 @@ assign_codes(uint32_t C[], uint32_t L[], uint8_t B[], uint32_t n)
|
||||
|
||||
/* Create initial mapping of symbols to trees.
|
||||
|
||||
- The goal is to divide all as symbols [0,as) into nt equivalence classes
|
||||
+ The goal is to divide all as symbols [0,as) into nt equivalence classes (EC)
|
||||
[0,nt) such that standard deviation of symbol frequencies in classes is
|
||||
minimal. We use a kind of a heuristic to achieve that. There might exist a
|
||||
better way to achieve that, but this one seems to be good (and fast) enough.
|
||||
|
||||
If the symbol v belongs to the equivalence class t then set s->length[t][v]
|
||||
to zero. Otherwise set it to 1.
|
||||
-
|
||||
- TODO: This piece of code really needs some R&D...
|
||||
*/
|
||||
static void
|
||||
generate_initial_trees(struct encoder_state *s, unsigned nm, unsigned nt)
|
||||
{
|
||||
- unsigned a, b, c, t;
|
||||
-
|
||||
- /* Equivalence classes are empty. */
|
||||
+ unsigned a, b; /* range [a,b) of symbols forming current EC */
|
||||
+ unsigned freq; /* symbol frequency */
|
||||
+ unsigned cum; /* cumulative frequency */
|
||||
+ unsigned as; /* effective alphabet size (alphabet size minus number
|
||||
+ of symbols with frequency equal to zero) */
|
||||
+ unsigned t; /* current tree */
|
||||
+
|
||||
+ /* Equivalence classes are initially empty. */
|
||||
memset(s->length, 1, sizeof(s->length));
|
||||
|
||||
+ /* Determine effective alphabet size. */
|
||||
+ as = 0;
|
||||
+ for (a = 0, cum = 0; cum < nm; a++) {
|
||||
+ freq = s->lookup[0][a];
|
||||
+ cum += freq;
|
||||
+ as += min(freq, 1);
|
||||
+ }
|
||||
+ assert(cum == nm);
|
||||
+
|
||||
+ /* Bound number of EC by number of symbols. Each EC is non-empty, so number
|
||||
+ of symbol EC must be <= number of symbols. */
|
||||
+ nt = min(nt, as);
|
||||
+
|
||||
/* For each equivalence class: */
|
||||
- for (a = 0, t = 0; t < nt; t++) {
|
||||
+ a = 0;
|
||||
+ for (t = 0; nt > 0; t++, nt--) {
|
||||
+ assert(nm > 0);
|
||||
+ assert(as >= nt);
|
||||
+
|
||||
/* Find a range of symbols which total count is roughly proportional to one
|
||||
nt-th of all values. */
|
||||
- for (c = 0, b = a; c * (nt-t) < nm; b++)
|
||||
- c += s->lookup[0][b];
|
||||
- assert(a < b);
|
||||
- if (a < b-1 && (2*c - s->lookup[0][b-1]) * (nt-t) > 2*nm) {
|
||||
- c -= s->lookup[0][--b];
|
||||
+ freq = s->lookup[0][a];
|
||||
+ cum = freq;
|
||||
+ as -= min(freq, 1);
|
||||
+ b = a+1;
|
||||
+ while (as > nt-1 && cum * nt < nm) {
|
||||
+ freq = s->lookup[0][b];
|
||||
+ cum += freq;
|
||||
+ as -= min(freq, 1);
|
||||
+ b++;
|
||||
}
|
||||
- nm -= c;
|
||||
+ if (cum > freq && (2*cum - freq) * nt > 2*nm) {
|
||||
+ cum -= freq;
|
||||
+ as += min(freq, 1);
|
||||
+ b--;
|
||||
+ }
|
||||
+ assert(a < b);
|
||||
+ assert(cum > 0);
|
||||
+ assert(cum <= nm);
|
||||
+ assert(as >= nt-1);
|
||||
+ Trace(("Tree %u: EC=[%3u,%3u), |EC|=%3u, cum=%6u", t, a, b, b-a, cum));
|
||||
|
||||
/* Now [a,b) is our range -- assign it to equivalence class t. */
|
||||
bzero(&s->length[t][a], b - a);
|
||||
a = b;
|
||||
+ nm -= cum;
|
||||
}
|
||||
+ assert(as == 0);
|
||||
assert(nm == 0);
|
||||
}
|
||||
|
||||
--
|
||||
1.8.1
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/lbzip2-2.2-r1.ebuild,v 1.1 2013/01/12 19:46:09 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Parallel bzip2 utility"
|
||||
HOMEPAGE="https://github.com/kjn/lbzip2/"
|
||||
SRC_URI="mirror://github/kjn/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="debug symlink"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-s_isreg.patch
|
||||
"${FILESDIR}"/${P}-assertion.patch
|
||||
)
|
||||
|
||||
RDEPEND="symlink? ( !app-arch/pbzip2[symlink] )"
|
||||
DEPEND=""
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-silent-rules
|
||||
$(use_enable debug tracing)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
use symlink && dosym ${PN} /usr/bin/bzip2
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.13.3.ebuild,v 1.1 2013/01/12 23:44:12 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
DESCRIPTION="Tools to deal with shar archives"
|
||||
HOMEPAGE="http://www.gnu.org/software/sharutils/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="sys-apps/texinfo
|
||||
nls? ( >=sys-devel/gettext-0.10.35 )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
strip-linguas -u po
|
||||
econf $(use_enable nls)
|
||||
}
|
@ -0,0 +1,150 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.19-r1.ebuild,v 1.2 2013/01/12 20:46:31 alonbl Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
# SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="adns bzip2 doc ldap nls readline static selinux smartcard usb"
|
||||
|
||||
COMMON_DEPEND_LIBS="
|
||||
>=dev-libs/libassuan-2
|
||||
>=dev-libs/libgcrypt-1.4
|
||||
>=dev-libs/libgpg-error-1.7
|
||||
>=dev-libs/libksba-1.0.7
|
||||
>=dev-libs/pth-1.3.7
|
||||
>=net-misc/curl-7.10
|
||||
sys-libs/zlib
|
||||
adns? ( >=net-libs/adns-1.4 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( usb? ( virtual/libusb:0 ) )
|
||||
ldap? ( net-nds/openldap )"
|
||||
COMMON_DEPEND_BINS="|| ( app-crypt/pinentry app-crypt/pinentry-qt )"
|
||||
|
||||
# Existence of executables is checked during configuration.
|
||||
DEPEND="${COMMON_DEPEND_LIBS}
|
||||
${COMMON_DEPEND_BINS}
|
||||
static? (
|
||||
>=dev-libs/libassuan-2[static-libs]
|
||||
>=dev-libs/libgcrypt-1.4[static-libs]
|
||||
>=dev-libs/libgpg-error-1.7[static-libs]
|
||||
>=dev-libs/libksba-1.0.7[static-libs]
|
||||
>=dev-libs/pth-1.3.7[static-libs]
|
||||
>=net-misc/curl-7.10[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
bzip2? ( app-arch/bzip2[static-libs] )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( sys-apps/texinfo )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND_LIBS} )
|
||||
${COMMON_DEPEND_BINS}
|
||||
virtual/mta
|
||||
!<=app-crypt/gnupg-2.0.1
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
REQUIRED_USE="smartcard? ( !static )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.0.17-gpgsm-gencert.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# 'USE=static' support was requested:
|
||||
# gnupg1: bug #29299
|
||||
# gnupg2: bug #159623
|
||||
use static && append-ldflags -static
|
||||
|
||||
if use smartcard; then
|
||||
myconf+=" --enable-scdaemon $(use_enable usb ccid-driver)"
|
||||
else
|
||||
myconf+=" --disable-scdaemon"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--enable-gpg \
|
||||
--enable-gpgsm \
|
||||
--enable-agent \
|
||||
${myconf} \
|
||||
$(use_with adns) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable !elibc_SunOS symcryptrun) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable ldap) \
|
||||
$(use_with readline) \
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use doc; then
|
||||
cd doc
|
||||
emake html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" -f doc/Makefile uninstall-nobase_dist_docDATA
|
||||
rm -r "${ED}usr/share/gnupg/help"*
|
||||
|
||||
dodoc ChangeLog NEWS README THANKS TODO VERSION doc/FAQ doc/DETAILS \
|
||||
doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER doc/help*
|
||||
|
||||
dosym gpg2 /usr/bin/gpg
|
||||
dosym gpgv2 /usr/bin/gpgv
|
||||
dosym gpg2keys_hkp /usr/libexec/gpgkeys_hkp
|
||||
dosym gpg2keys_finger /usr/libexec/gpgkeys_finger
|
||||
dosym gpg2keys_curl /usr/libexec/gpgkeys_curl
|
||||
if use ldap; then
|
||||
dosym gpg2keys_ldap /usr/libexec/gpgkeys_ldap
|
||||
fi
|
||||
echo ".so man1/gpg2.1" > "${ED}usr/share/man/man1/gpg.1"
|
||||
echo ".so man1/gpgv2.1" > "${ED}usr/share/man/man1/gpgv.1"
|
||||
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >>"${ED}etc/env.d/30gnupg"
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnupg.html/* doc/*.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you wish to view images emerge:"
|
||||
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
|
||||
elog "Remember to use photo-viewer option in configuration file to activate"
|
||||
elog "the right viewer."
|
||||
elog
|
||||
|
||||
if use smartcard; then
|
||||
elog "To use your OpenPGP smartcard (or token) with GnuPG you need one of"
|
||||
use usb && elog " - a CCID-compatible reader, used directly through libusb;"
|
||||
elog " - sys-apps/pcsc-lite and a compatible reader device;"
|
||||
elog " - dev-libs/openct and a compatible reader device;"
|
||||
elog " - a reader device and drivers exporting either PC/SC or CT-API interfaces."
|
||||
elog ""
|
||||
elog "General hint: you probably want to try installing sys-apps/pcsc-lite and"
|
||||
elog "app-crypt/ccid first."
|
||||
fi
|
||||
|
||||
ewarn "Please remember to restart gpg-agent if a different version"
|
||||
ewarn "of the agent is currently used. If you are unsure of the gpg"
|
||||
ewarn "agent you are using please run 'killall gpg-agent',"
|
||||
ewarn "and to start a fresh daemon just run 'gpg-agent --daemon'."
|
||||
}
|
@ -1,129 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
description="Virtual Machine Management daemon (libvirt)"
|
||||
extra_started_commands="reload"
|
||||
extra_stopped_commands="halt"
|
||||
description_halt="Stops the libvirt daemon without stopping your VMs"
|
||||
description_reload="Restarts the libvirt daemon without stopping your VMs"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
after ntp-client ntpd nfs iscsid nfsmount portmap rpc.statd iptables ip6tables ebtables ceph corosync sanlock cgconfig
|
||||
}
|
||||
|
||||
libvirtd_virsh() {
|
||||
local mode=$1
|
||||
shift
|
||||
|
||||
# Silence errors because virsh always throws an error about
|
||||
# not finding the hypervisor version when connecting to libvirtd
|
||||
LC_ALL=C virsh -c ${mode}:///system "$@" 2>/dev/null
|
||||
}
|
||||
|
||||
libvirtd_dom_list() {
|
||||
# Make sure that it wouldn't be confused if the domain name
|
||||
# contains the word running.
|
||||
libvirtd_virsh $1 list | awk '$3 == "running" { print $1 }'
|
||||
}
|
||||
|
||||
libvirtd_dom_count() {
|
||||
# Make sure that it wouldn't be confused if the domain name
|
||||
# contains the word running.
|
||||
libvirtd_virsh $1 list | awk 'BEGIN { count = 0 } \
|
||||
$3 == "running" { count++ } \
|
||||
END { print count }'
|
||||
}
|
||||
|
||||
libvirtd_net_list() {
|
||||
# The purpose of the awk is to avoid networks with 'active' in the name
|
||||
libvirtd_virsh $1 net-list | awk '$2 == "active" { print $1 }'
|
||||
}
|
||||
|
||||
libvirtd_net_count() {
|
||||
# The purpose of the awk is to avoid networks with 'active' in the name
|
||||
libvirtd_virsh $1 net-list | awk 'BEGIN { count = 0 } \
|
||||
$2 == "active" { count++ } \
|
||||
END { print count }'
|
||||
}
|
||||
|
||||
|
||||
start() {
|
||||
ebegin "Starting libvirtd"
|
||||
start-stop-daemon --start \
|
||||
--env KRB5_KTNAME=/etc/libvirt/krb5.tab \
|
||||
--exec /usr/sbin/libvirtd -- -d ${LIBVIRTD_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
local counter=
|
||||
local vm_name=
|
||||
local net_name=
|
||||
local dom_id=
|
||||
|
||||
ebegin "Stopping libvirtd"
|
||||
# try to shutdown all (KVM/Qemu) domains
|
||||
if [ "${LIBVIRTD_KVM_SHUTDOWN}" != "none" ] \
|
||||
&& [ "$(libvirtd_dom_count qemu)" != "0" ] ; then
|
||||
|
||||
einfo " Shutting down domain(s):"
|
||||
for dom_id in $(libvirtd_dom_list qemu) ; do
|
||||
vm_name="$(libvirtd_virsh qemu domname ${dom_id} | head -n 1)"
|
||||
einfo " ${vm_name}"
|
||||
libvirtd_virsh qemu ${LIBVIRTD_KVM_SHUTDOWN} ${dom_id} > /dev/null
|
||||
done
|
||||
|
||||
if [ -n "${LIBVIRTD_KVM_SHUTDOWN_MAXWAIT}" ] ; then
|
||||
counter="${LIBVIRTD_KVM_SHUTDOWN_MAXWAIT}"
|
||||
else
|
||||
counter=500
|
||||
fi
|
||||
|
||||
if [ "${LIBVIRTD_KVM_SHUTDOWN}" = "shutdown" ]; then
|
||||
einfo " Waiting ${counter} seconds while domains shutdown ..."
|
||||
DOM_COUNT="$(libvirtd_dom_count qemu)"
|
||||
while [ ${DOM_COUNT} -gt 0 ] && [ ${counter} -gt 0 ] ; do
|
||||
DOM_COUNT="$(libvirtd_dom_count qemu)"
|
||||
sleep 1
|
||||
counter=$((${counter} - 1))
|
||||
echo -n "."
|
||||
done
|
||||
fi
|
||||
|
||||
if [ "$(libvirtd_dom_count qemu)" != "0" ] ; then
|
||||
eerror " !!! Some guests are still running, stopping anyway"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if [ "${LIBVIRTD_KVM_NET_SHUTDOWN}" != "no" ] \
|
||||
&& [ "$(libvirtd_net_count qemu)" != "0" ]; then
|
||||
|
||||
einfo " Shutting down network(s):"
|
||||
for net_name in $(libvirtd_net_list qemu); do
|
||||
einfo " ${net_name}"
|
||||
libvirtd_virsh qemu net-destroy ${net_name} > /dev/null
|
||||
done
|
||||
|
||||
if [ "$(libvirtd_net_count qemu)" != "0" ]; then
|
||||
eerror " !!! Some networks are still active, stopping anyway"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Now actually stop the daemon
|
||||
start-stop-daemon --stop --quiet --exec \
|
||||
/usr/sbin/libvirtd --pidfile=/var/run/libvirtd.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
halt() {
|
||||
ebegin "Stopping libvirtd without shutting down your VMs"
|
||||
start-stop-daemon --stop --quiet --exec \
|
||||
/usr/sbin/libvirtd --pidfile=/var/run/libvirtd.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
halt
|
||||
start
|
||||
}
|
@ -1,386 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.9.13-r1.ebuild,v 1.6 2012/11/29 02:13:06 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
BACKPORTS=1
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python user autotools linux-info
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-bp-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps debug iscsi +libvirtd lvm +lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
phyp? ( net-libs/libssh2 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal] )
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
=dev-lang/python-2*"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CPUSETS
|
||||
~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_MEM_RES_CTLR
|
||||
~CGROUP_SCHED
|
||||
~BLK_CGROUP
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
kernel_is lt 3 5 && use lxc && CONFIG_CHECK+=" ~USER_NS"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
myconf="${myconf} $(use_enable debug)"
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
# leave it automagic as it depends on the version of xen used.
|
||||
use xen || myconf+=" --without-libxl"
|
||||
use xen || myconf+=" --without-xenapi"
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${FILESDIR}/libvirtd.init-r8" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r3" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -0,0 +1,384 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.3.0.ebuild,v 1.1 2013/01/12 23:38:58 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user udev
|
||||
#BACKPORTS=49a7da83
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt +jpeg kernel_linux \
|
||||
kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python rbd sasl +seccomp \
|
||||
sdl selinux smartcard spice static systemtap tci +threads tls usbredir +uuid \
|
||||
vde +vhost-net virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
|
||||
mipsel or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets.
|
||||
REQUIRED_USE="|| ("
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
# Block USE flag configurations known to not work
|
||||
REQUIRED_USE="${REQUIRED_USE}
|
||||
static? ( !alsa !pulseaudio !bluetooth )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-apps/pciutils[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-1.0.1[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!app-emulation/kqemu
|
||||
sys-firmware/ipxe
|
||||
~sys-firmware/seabios-1.7.2
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( =dev-lang/python-2*[ncurses] )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
smartcard? ( dev-libs/nss )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.2 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( >=sys-apps/usbredir-0.4.4 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/texi2html )
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_WX_LOAD="${QA_PRESTRIPPED}
|
||||
usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
ewarn "USE=static is very much a moving target because of the packages"
|
||||
ewarn "we depend on will have their static libs ripped out or wrapped"
|
||||
ewarn "with USE=static-libs or USE=static due to continued dicsussion"
|
||||
ewarn "on the mailing list about USE=static's place in Gentoo. As a"
|
||||
ewarn "result what worked today may not work tomorrow."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
|
||||
|
||||
epatch "${FILESDIR}"/qemu-1.2.0-cflags.patch
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_opts audio_opts
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets} ${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets} ${target}-linux-user"
|
||||
done
|
||||
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
conf_opts="${conf_opts} --enable-linux-user"
|
||||
else
|
||||
conf_opts="${conf_opts} --disable-linux-user"
|
||||
fi
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
|
||||
|
||||
# Fix QA issues. QEMU needs executable heaps and we need to mark it as such
|
||||
#conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
|
||||
|
||||
# Add support for static builds
|
||||
use static && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if ! use static && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
use mixemu && conf_opts="${conf_opts} --enable-mixemu"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--docdir=/usr/share/doc/${PF}/html \
|
||||
--disable-bsd-user \
|
||||
--disable-guest-agent \
|
||||
--disable-libiscsi \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--python=python2 \
|
||||
$(use_enable aio linux-aio) \
|
||||
$(use_enable bluetooth bluez) \
|
||||
$(use_enable brltty brlapi) \
|
||||
$(use_enable caps cap-ng) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable debug debug-info) \
|
||||
$(use_enable debug debug-tcg) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable fdt) \
|
||||
$(use_enable jpeg vnc-jpeg) \
|
||||
$(use_enable kernel_linux kvm) \
|
||||
$(use_enable kernel_linux nptl) \
|
||||
$(use_enable ncurses curses) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable png vnc-png) \
|
||||
$(use_enable rbd) \
|
||||
$(use_enable sasl vnc-sasl) \
|
||||
$(use_enable sdl) \
|
||||
$(use_enable seccomp) \
|
||||
$(use_enable smartcard smartcard) \
|
||||
$(use_enable smartcard smartcard-nss) \
|
||||
$(use_enable spice) \
|
||||
$(use_enable tci tcg-interpreter) \
|
||||
$(use_enable tls vnc-tls) \
|
||||
$(use_enable usbredir usb-redir) \
|
||||
$(use_enable uuid) \
|
||||
$(use_enable vde) \
|
||||
$(use_enable vhost-net) \
|
||||
$(use_enable virtfs) \
|
||||
$(use_enable vnc) \
|
||||
$(use_enable xattr attr) \
|
||||
$(use_enable xen) \
|
||||
$(use_enable xen xen-pci-passthrough) \
|
||||
$(use_enable xfs xfsctl) \
|
||||
--audio-drv-list=${audio_opts} \
|
||||
--target-list="${softmmu_targets} ${user_targets}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
dosym /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
else
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of the /usr/bin/qemu-kvm symlink."
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
|
||||
use python && dobin scripts/kvm/kvm_stat
|
||||
|
||||
# Avoid collision with app-emulation/libcacard
|
||||
use smartcard && mv "${ED}/usr/bin/vscclient" "${ED}/usr/bin/qemu-vscclient"
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
[[ -n ${user_targets} ]] && \
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd" qemu-binfmt
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
dosym ../ipxe/808610de.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
elog "If you don't have kvm compiled into the kernel, make sure you have"
|
||||
elog "the kernel module loaded before running kvm. The easiest way to"
|
||||
elog "ensure that the kernel module is loaded is to load it on boot."
|
||||
elog "For AMD CPUs the module is called 'kvm-amd'"
|
||||
elog "For Intel CPUs the module is called 'kvm-intel'"
|
||||
elog "Please review /etc/conf.d/modules for how to load these"
|
||||
elog
|
||||
elog "Make sure your user is in the 'kvm' group"
|
||||
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
elog
|
||||
elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
|
||||
elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
|
||||
fi
|
||||
}
|
@ -1,11 +1,7 @@
|
||||
AUX 2ffbca210033be262fc75e6a73742e0f0e6d5242.patch 589 SHA256 467fcf46c974bf2457d56c17c035a59fb4f51be49902296719172fce4d44c34d SHA512 823fc47f136d26bd02697fd7c161c9d8745581c51d39a7d43193ea3f6192f47ace9ca9a20806c03590757668a92559865877cd4597f84d392d94f70044ed2674 WHIRLPOOL bbf37184ef6c2ba7b3ca7e4e065a0dcf5cd2b54ade4711bd7f5fabf6c9b60d532274af670df5e3e703b65fd8462b3c518a425a29152c8bbfc4e3865de0a391b5
|
||||
DIST spice-protocol-0.10.0.tar.bz2 65811 SHA256 05fa0e3133d288289282741a58975daf6d340a2bc9af2e72602a91801afa5899 SHA512 6e984550392d6cb67d965e18ebc28b13ad406788da27839be94a05845f4c94e444f1737925320a9a69883c8d970ca112d2226bb1754a125f8a1c778be0c4367c WHIRLPOOL 198b143ffd86d5dd6df4a830942df0250351a9577e8c7b11ad0a73a3403216529652f721a16e083d02d305263008e31afe090e2d3fcca2256cdfcd2a54c1b666
|
||||
DIST spice-protocol-0.10.1.tar.bz2 66014 SHA256 e5f6cbb679febc840eb530a5195d2625f900f7d21a5aefbadc95e3a3b9f03537 SHA512 0088648e7d7132facbaace5342f84c9acb93306d660a9e1d03266e6f98b1d387f11330e0db8066cf407876a0a89d1fa006bf559fb9437cb7a4a79e811f06182b WHIRLPOOL beed83f94027e2f62032d953baacb59e69c53bf35a112dbface6d90f4ba1a4eb5d999953ce6fa49d84fec4b96d4d229b570256accd988d7d36262a623e2a6b5a
|
||||
DIST spice-protocol-0.10.3.tar.bz2 67377 SHA256 b89eeeef21a79958e9de8dfc9a4ebbb6ae3eea17c0c498fd0f89a0ad1949ebe1 SHA512 5efd2f6eb6f5c9eb8c19b39be7e1fa6f9d8b981ceaeacc729d40485bbd1ba30e5895ad162fb97f183248ec0eabe4b18896e0b1240b1f518d2625ab399e17adaf WHIRLPOOL 120721a78a5ea8543baeedb8ac6f7e151596f59dbac781f7a88ca0dd18c9c241e8c0d608619634434150b5a5a7f11a0fe6e80f7db30709f04e0ea8e24f410619
|
||||
DIST spice-protocol-0.12.2.tar.bz2 69808 SHA256 8bb2d9e4d75c1cb2065ecf2d6607bb1f91f0df6b27ddaa70320fd1f58cd3d56c SHA512 f4a8fea522a9e0a8cbc860782f512371969dc0351ce611c8b3682af6f9f5a68ff34747cd9b048032131142875d78f66ed206ac646b29c26ba8f24680681f67c0 WHIRLPOOL 321ae4f8a03a6a079ca6f0aff27c9601be587af334662e92e0645ce6c40b9d367b8f0e2a94f9a4814b819cd94a4e7f2208c09ec006106426a5dee069fdcfd134
|
||||
EBUILD spice-protocol-0.10.0.ebuild 477 SHA256 b146f063bfd57d2d3fe98bd92186aadb8ae607bdd54ec0f3060b12771755077d SHA512 cca5c2a8641a644bb689b00c457267247442bb7063b9d35e6557213ebb23b7bacb496b10e454b9f81feaff8e9924f8f7eeae366b7270287cfd89874741b38388 WHIRLPOOL 53e31fd782ba405cf87fd77aa5319da503b680c62b82fa9e219e7c8f7a939682dd932b2a237959b1a9ac59404310217c5316ac5c4f3bcc26a23ddfbea0bc04af
|
||||
EBUILD spice-protocol-0.10.1.ebuild 477 SHA256 49cc44f4e2488d53dbcceb3bc3e909d2a8e54e249605e63bc4b0ce51a616cb58 SHA512 ddb0b27e057ba739db1c6c64e3b98056093e162486e011166d31bd2c6b5a9a4444f40023b8b98ec187ce0fc42604e6b7ba906199ff8e7e388955fff75ad98000 WHIRLPOOL 88ae568f3e90b66d77f1c3a757ff1c04d9bc12fe7b8d468e701d691259d364b414fe88ed5d83b687e33ddfd2a109b504580864b8db311068152609b0f1bc9d86
|
||||
EBUILD spice-protocol-0.10.3.ebuild 470 SHA256 2be382c3918a1326ca5fc164db75d55456ef6ab3e4a9bea960eba5951cbe334d SHA512 28c5ae7eb083dd32759c27c00f2eaba05fc4d9e6202e0f799883071db3539f2ded39105d16dd9c2a51dc63abfcf70a343f1c14ff83955b20bb7b535d2b2039fa WHIRLPOOL d1f0b56a1b6d66d674e15f6594f3cdece3cabe520b413cfa80d8958cae12e2dd3ff57b95db20ce0aa4e42e15db758e813e8c6141aa5bd4842489fc5427b3e55f
|
||||
DIST spice-protocol-0.12.3.tar.bz2 69854 SHA256 dc8609efe23e6f9b78d56663aa9ca5e8cb10c2b8403b8fc02aa72ae7686cc037 SHA512 55423743cf195459125305c726803db491ebf16a5ef0cb821eed7e0d71ace9d581b9a6a60c11a03d6a17c0ecc31e2b4c649ed117857a050f409844686b7df3e0 WHIRLPOOL 308ced9222f8b43e2455733fc5d311912bc9d10fbf830d8d4eecd0e86bfd6dc6a0ae15c3d94dc5c3d73aa9635247023259642c570e31557e0ba9caf4bd2c7eb6
|
||||
EBUILD spice-protocol-0.12.2.ebuild 502 SHA256 c6a6734867123080b2ab9511587e6481a57eea76ab928e1bf5893e3639e67866 SHA512 c2caadf181cc6377d64f94f65b00875048e638315fa6687af69c52fb302e791edd8d1e88a63203f709effd0aa5447e0071e29d8f9697f93022c49476d690dc8d WHIRLPOOL 8df49397392f8deb3a1e078715c118cbb1ad66446322d1efd266429349eefec7fe2f0f797f2cf73feb24d605dcdcfd5c18fef06b32dd232debbee0fb00372fec
|
||||
MISC ChangeLog 4548 SHA256 231ce6a3ecee6de5382aa7cba28eae2270a69f2533ef9251bc7c652c10295ea6 SHA512 d6d4ea41b5c0e4a0b1ba32c0df3f71d065a720dfde6072ab96ca71bc67598b5c45ba2255506ca511e70133db00a32ac16ad8d823f9a19966c320c3868e0dd55e WHIRLPOOL b5cc40cb6ed6db75f8bdc6cd44aa8e05d6e5cbfa22aa82690d0dd5d78a7bab905a65f53067d27ff84b053502ae5f86755947f6f2f8b63628ca3dd2232f4b8d53
|
||||
EBUILD spice-protocol-0.12.3.ebuild 507 SHA256 ec20bcce32ecad232f884658fcb7629e20303c70579588fa25960005739730f7 SHA512 aa637d93863f809beb2835b0340087362c04507f2af66d8244cc57ce0a71857bfc36560f97d5cd2ef4625cf20cf50683ae18c372059924fabc631fa1af93bcbf WHIRLPOOL 4bf31972ec6a132ec8e3d69fbeb94335b677bb5e7cafd0221610b3706a9964df2fafb5a864ca58518d085b56bc5f5c3df97ab587db0bc3dfec4662cac9f576f6
|
||||
MISC ChangeLog 4856 SHA256 da52ba3f75243773b5606123835df45f9de3412fdeeeb791030ac474676170d6 SHA512 fed55ba7ce9b29c4d21d4f44201e381f0d5bdbe376deb3ac68b3c8e5495d24b10cd820cbd1a00ca219018c19ffc5b3e79837ee699b8b06784d98fca62d3056cc WHIRLPOOL a898782d1fe22008b771171be20f6c87be915aa153a4a07ab1edad9392caa4c8477a84db2c3808d895f39c8b7856f7d3b8a9197540e4ed9e4919612f9cb63a6b
|
||||
MISC metadata.xml 272 SHA256 d52be94b62df0e5c6939cfdd12370b98adad2fc8e4b58bdd1f9efbe40bf91753 SHA512 46820644a5d138065112243feab6ab560aa5552074609c5b04c2fb2df2dd3f82f18c7df02963ce5b6933f2f69ca131dae9ee518f6abb153cdf3cbd588d40e683 WHIRLPOOL 17acb32f49c97ff575c9b9df53b2dc733d49b272f7f7c0da86ca3084f6f0e52114f8f4ca72f8116d636be5e46f6d0b5212c909582c434599747c5a49e94ea4db
|
||||
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-protocol/spice-protocol-0.10.0.ebuild,v 1.3 2012/01/28 15:17:48 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Headers defining the SPICE protocol."
|
||||
HOMEPAGE="http://spice-space.org/"
|
||||
SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-protocol/spice-protocol-0.10.1.ebuild,v 1.3 2012/09/23 08:31:27 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Headers defining the SPICE protocol."
|
||||
HOMEPAGE="http://spice-space.org/"
|
||||
SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.10.0.ebuild,v 1.5 2012/09/23 08:31:54 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="SPICE server and client."
|
||||
HOMEPAGE="http://spice-space.org/"
|
||||
SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+client +gui sasl static static-libs"
|
||||
|
||||
RDEPEND=">=app-emulation/spice-protocol-0.10.0
|
||||
>=x11-libs/pixman-0.17.7
|
||||
media-libs/alsa-lib
|
||||
media-libs/celt:0.5.1
|
||||
dev-libs/openssl
|
||||
>=x11-libs/libXrandr-1.2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXfixes
|
||||
virtual/jpeg
|
||||
sys-libs/zlib
|
||||
client? ( gui? ( =dev-games/cegui-0.6* ) )
|
||||
sasl? ( dev-libs/cyrus-sasl )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
# maintainer notes:
|
||||
# * opengl support is currently broken
|
||||
# * add slirp for tunnel-support
|
||||
# * add libcacard for smartcard support
|
||||
|
||||
src_configure() {
|
||||
local gui="$(use_enable gui)"
|
||||
use client || gui="--disable-gui"
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-tunnel \
|
||||
${gui} \
|
||||
--disable-smartcard \
|
||||
$(use_enable client) \
|
||||
$(use_enable static static-linkage) \
|
||||
$(use_with sasl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || rm "${D}"/usr/lib*/*.la
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.10.1.ebuild,v 1.5 2012/06/07 15:36:01 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="SPICE server and client."
|
||||
HOMEPAGE="http://spice-space.org/"
|
||||
SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="+client +gui sasl smartcard static static-libs"
|
||||
|
||||
RDEPEND=">=app-emulation/spice-protocol-0.10.1
|
||||
>=x11-libs/pixman-0.17.7
|
||||
media-libs/alsa-lib
|
||||
media-libs/celt:0.5.1
|
||||
dev-libs/openssl
|
||||
>=x11-libs/libXrandr-1.2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrender
|
||||
virtual/jpeg
|
||||
sys-libs/zlib
|
||||
client? ( gui? ( =dev-games/cegui-0.6* ) )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
smartcard? ( >=app-emulation/libcacard-0.1.2 )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
# maintainer notes:
|
||||
# * opengl support is currently broken
|
||||
# * TODO: add slirp for tunnel-support
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/0.10.1-disable-werror.patch" \
|
||||
"${FILESDIR}/${PV}-gold.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local gui="$(use_enable gui)"
|
||||
use client || gui="--disable-gui"
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-tunnel \
|
||||
${gui} \
|
||||
$(use_enable client) \
|
||||
$(use_enable static static-linkage) \
|
||||
$(use_with sasl) \
|
||||
$(use_enable smartcard)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || rm "${D}"/usr/lib*/*.la
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.8.1.ebuild,v 1.5 2012/05/03 18:49:07 jdhore Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="SPICE server and client."
|
||||
HOMEPAGE="http://spice-space.org/"
|
||||
SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+gui static-libs"
|
||||
|
||||
RDEPEND=">=app-emulation/spice-protocol-0.8
|
||||
>=x11-libs/pixman-0.17.7
|
||||
media-libs/alsa-lib
|
||||
media-libs/celt:0.5.1
|
||||
dev-libs/openssl
|
||||
>=x11-libs/libXrandr-1.2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXfixes
|
||||
virtual/jpeg
|
||||
sys-libs/zlib
|
||||
gui? ( =dev-games/cegui-0.6* )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
# maintainer notes:
|
||||
# * opengl support is currently broken
|
||||
# * add slirp for tunnel-support
|
||||
# * add libcacard for smartcard support
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
use gui && myconf+="--enable-gui "
|
||||
econf ${myconf} \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || rm "${D}"/usr/lib*/*.la
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.8.2-r1.ebuild,v 1.2 2012/05/03 18:49:07 jdhore Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="SPICE server and client."
|
||||
HOMEPAGE="http://spice-space.org/"
|
||||
SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+gui sasl static-libs"
|
||||
|
||||
RDEPEND=">=app-emulation/spice-protocol-0.8.1
|
||||
>=x11-libs/pixman-0.17.7
|
||||
media-libs/alsa-lib
|
||||
media-libs/celt:0.5.1
|
||||
dev-libs/openssl
|
||||
>=x11-libs/libXrandr-1.2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXfixes
|
||||
virtual/jpeg
|
||||
sys-libs/zlib
|
||||
gui? ( =dev-games/cegui-0.6* )
|
||||
sasl? ( dev-libs/cyrus-sasl )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
# maintainer notes:
|
||||
# * opengl support is currently broken
|
||||
# * add slirp for tunnel-support
|
||||
# * add libcacard for smartcard support
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/54c660470a5aea19f799c5574cc0d4a707696712.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
use gui && myconf+="--enable-gui "
|
||||
econf ${myconf} \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with sasl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || rm "${D}"/usr/lib*/*.la
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/devtodo/devtodo-0.1.20-r1.ebuild,v 1.1 2013/01/12 22:47:20 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
inherit autotools-utils bash-completion-r1 eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="A nice command line todo list for developers"
|
||||
HOMEPAGE="http://swapoff.org/DevTodo"
|
||||
SRC_URI="http://swapoff.org/files/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/ncurses-5.2
|
||||
>=sys-libs/readline-4.1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog QuickStart README doc/scripts.sh doc/scripts.tcsh doc/todorc.example )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gentoo.diff"
|
||||
"${FILESDIR}/${P}-gcc43.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fix regex.h issue on case-insensitive file-systems #332235
|
||||
sed -i -e 's/Regex.h/DTRegex.h/' \
|
||||
util/Lexer.h util/Makefile.{am,in} util/Regex.cc || die
|
||||
mv util/{,DT}Regex.h || die
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
replace-flags -O[23] -O1
|
||||
|
||||
local myeconfargs=(
|
||||
--sysconfdir="${EPREFIX}/etc/devtodo"
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
newbashcomp contrib/${PN}.bash-completion ${PN}
|
||||
rm contrib/${PN}.bash-completion || die 'rm failed'
|
||||
|
||||
dodoc -r contrib
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Because of a conflict with app-misc/tdl, the tdl symbolic link"
|
||||
elog "and manual page have been removed."
|
||||
}
|
@ -1,22 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
AUX texmaker-3.1-hunspell.patch 4493 SHA256 4605225c49282b2e075f3fc96dddaf98367be415a7ef195f27d9ff537a107f87 SHA512 212cb763cdca5e4b3ba8f0893927df7e6dfeb11be8a52861b323fa415827e6d8d91402f7ce5a90ffe49d8681a78ea84abf4c339a4c2973b8bf38d5f14fba7780 WHIRLPOOL 4034fd261ace8d1cbbcfba376b8d576f16d13181e2aef39a294fa2e44517a24137a7b806a6167ffe0520f7aa7d028e2d545bdf7f127e36b4a1dac2e183397f0e
|
||||
AUX texmaker-3.3.3-qt48.patch 294 SHA256 28da547538b5ccff6fa60e0f3b7d77749991d62174c97f9f637db12c7a3365aa SHA512 28d85b799b81150748b4483b6cc514472aabf646da9ef88eedad6f4347b85e848b8e1c36608ccfdd667f7fca32cfffc619343af31f1364e0f2b134cf84ced80c WHIRLPOOL bd42204ac3e6c09d5f660cd07d595cc6f51878c2fd523ffbf5d1ac13256fbbdb4f1f8ec3b519f2d186e0a7e7d1d6f6c346114c58b67e3742880ba3a7219810bc
|
||||
AUX texmaker-3.3.4-hunspell.patch 4478 SHA256 4d3b6dbbe829140e224bfa0cdceefef29c3ff012aa86d68b248d93bee564cd84 SHA512 4d9fc23fef2e6497f25a32cfcb3c1832527a684fedd70005fe990f234bfb90e68e752e06ba887acd84c4856d3c9f34f0aca631117a1537e49cba817e890b7f11 WHIRLPOOL 6deb23a437628c9cf69c0a7361497035b6bd923379cd4975cedcbe0222127f8f2e20b4244ace79d8d52f670aaea37b8dd2290d969f7090610edcb7fbaeaf0f09
|
||||
AUX texmaker-3.5-hunspell.patch 3841 SHA256 c886be8ca7c624ee0b61f57e4d23404882a4b142e6b7b3b02262c42829aef069 SHA512 fed81729a3e0a61caa4417aa28d39ffced6e5a728715760725d7bec8c9a8848bf56c0f82c160cfa20ccf10294d88e91c4a60589b695c549273620b419ee13960 WHIRLPOOL 5a048ea581184a84af1cf31858590940e5f799ae136578376e4ceb74e82d12b4238c62b0bada4ed1a42d56b9fcee0435c2a617c70bb47fa2f54f4d151f238501
|
||||
AUX texmaker-3.5.1-hunspell.patch 3843 SHA256 5bbd61ba62d87797230887afc3e6f618b90ae38009fd3c44eefba16b53fea1f3 SHA512 18efa8484ce05e3809fcc45f3b8a2c0ab83faaacc010c7beeb4069c68c67d24acba0ab5a0bea2896538f5b81e02c1d303fc4a3f679b8f611a51be7203e37cf94 WHIRLPOOL ef0c32261cc214a6efc9c7cd4eac1a23569a9d2d097a32eaaeaf6512771cb110b3248939a9c5bd84eb39889925d37aa527d2a16cdf959b286e78c67bc8bb3711
|
||||
AUX texmaker-3.5.2-clang.patch 771 SHA256 3aece614446a324270a8c9e05ca0830d4a0686f43f3fd94b033d0ecace62b946 SHA512 1043085f81338981ac931d34f0b1d5cb96c6bcbd0df4a8e2a8d46636514ffa0df8dec8623fd106867cffae161a099b45facc11778a2ec054031cbd7a75794266 WHIRLPOOL 32fc27128d8c7b5ee35953395e253a782be96b87fe60dd19141162a85fefae82659f7b39a5ff7b313e80822a441df8c15f2d5b0b5e9397329e5305dec449d632
|
||||
AUX texmaker-3.5.2-hunspell.patch 3738 SHA256 2cef3ac9d72e53de3b93df1bd5e70bb65186d49c7f7f86d98d507060b7eee348 SHA512 82c403244b1a552b624a6b79a0536030c06d9b41bcf88a1a3e050b90708ae1b79078424950a50c6a48986173c08597baaaf533f9853f70d18a9ae726d1b252b9 WHIRLPOOL 1b185c4c70b72bdc45e874cd6adb87ae218a56c25ffcb6e458a9bcd8a802c106d9570f1b85a5ecaed29aaaad7faa069e184a1aee96c68b0d74d47dff44e12fa0
|
||||
DIST texmaker-3.3.4.tar.bz2 13028203 SHA256 db9aa4d2633e6ad96ff4b0d893205d42c2220928f021c210146a41ecf87525f5 SHA512 014bfbe2a72aa2aef8d71972526959116a8dc39852475ea8e9da0d0fbbc4e8441c04b124be93911a0b637436f94ecab730150064f2bb3842e6566cd26116c28e WHIRLPOOL fb0a5d150ac463905b0c243e4402858e0142c42f1278f185e678e48a690369830a75848b342f0f22c3db6495580ee03eb65cbcf989bad52b63f87371d660970d
|
||||
DIST texmaker-3.5.2.tar.bz2 13165580 SHA256 5ffc96d64befa07656ee82e4f3cfc95a84d73759607d0229e864899d7629f312 SHA512 e81d553938102ec895641fbda364a5ad3d0cd09ddf0a0c3cc6c9034da67477711c01bcd13ca0b4daad78030513b5a2957dee021646efd4b9f2a22b9aea0fbe5b WHIRLPOOL 19ee0b138579f759f7eac29fe1976d5e8354c30719c4f0d29941f5d0aad41d29b4010c7eba77461f2051554dc05415feeead02d0d41637aa14bf757416293954
|
||||
EBUILD texmaker-3.3.4.ebuild 1690 SHA256 1d9ffb7f5822cdcc885d8a5b2db49d2c508f5119f7cf08370bba054ccc60e078 SHA512 94e8582b11e33a1181fffff672d8e40283d61bbcde3463dd5deff01ab7ec49b02ad5c440ef633422341e5c393acc387047bf66673d96dc53ed736c1ab3b9d213 WHIRLPOOL 8b991152408cc6ae05357e5a3d2703ced200273f26b48129d0675232dc478d3d71d405abab0276cff5fed18b32f72801eaed4f708218878b7524efe6443efb73
|
||||
EBUILD texmaker-3.5.2.ebuild 1726 SHA256 da7d9cee9e57a2f4b6f6a16896ad66051a91b4a6c2b9df9e8bd6167b188f1f31 SHA512 a7818b685fc451a6a679a667ab64acf0c351e747e99a9144712f7f17620bfc1e9562b81a5c85f6633d87711a76dca4e064eec8e7a48d7511054fdfff04cefb20 WHIRLPOOL 6ec0d8f9778d9287473eaa8dc3f89ebd23da77286f52c905fa89597670e15dca7412ff54540dfc756b295b07028b5abf26290de4dc0174aa7e35a06ee560ef4c
|
||||
MISC ChangeLog 17577 SHA256 64bd2ba10b84ac1da722dbabefd4618e700b38d0e3c0f5ee9a420ae3ea9fa110 SHA512 4338eec356ff16beafdb09c908a2cb0e7198c16d1a53dbfadaf88de8accd58a06059ed547142ca5f253c4cf7325b98fc86af3bcf0203a5eb45631227c9ea3972 WHIRLPOOL 6c4201abada4f19ee7e5d9e669be1480bd7065aca0c5e42dd68752e23ba7b5fecdd6e60a2cd5f466329d66bf69db865295cdd195c65a801676567456b86c2105
|
||||
EBUILD texmaker-3.5.2.ebuild 1719 SHA256 41e7bc98a02a908b4a6c8227cf172fbed00355c945442aaec97d86d832329b68 SHA512 b8e37daa41a92bd5e8cf58bdf35846dd015ff603d4f240bb538aff0ef71870d4b5f575907fa14d3f490d5c68a918a34f8bc20ce4afae5fc6dc7fb3bd54d3a9eb WHIRLPOOL 646e496054ddcd213f329c3e0aadc9ed334d07639c48ff64e3a2d8304c0269555d772b6cfe664ee5797567e0bbd80cd0841421d2af3f71d6a21ddaa9530845ac
|
||||
MISC ChangeLog 17714 SHA256 2f7a6a95a6a944120946d9a6feca00f2db3d93827e1b5982836aff9629e4d8d0 SHA512 dd178eb9a72a35b20eddcd09bb08598002ab7bd9b4f56c03dd0f972f9151c8e2806277e7a810c915c20609b7382a863e2e9985b9b7a7bef19ed4260766d5c91c WHIRLPOOL 7a12b68aea1ed6141f5f01369056f884f15ad9b3f0d386ae634091809511e350b0e715cb753b20bb6e9ac73bdadaa1eb7a8b6912461307c25e3ccb5eb16d2f2f
|
||||
MISC metadata.xml 281 SHA256 2c7a572c26bbf24b0de55efe3ef0be56a2d9280869ffb4647791ce66f78a01bf SHA512 793f7f982c959f54c1af0f96a433837d031cf619190e57d784a5bb1f05503de72bf59329774c9efde5bf52c286eacd8032b366e1cc0ebaba94e110c326faa93d WHIRLPOOL f5324da1385ba50007e7f01f5d34f767f1cebefec780de74ade5c980c4d05e7e36590c6a8d79f5608201831daa6597e4a679b4e6a4e4ac33c2e09d94e554f5a2
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlDIsjIACgkQgAnW8HDreRYWEQCeMwEKhzYu8rtcBhWUS4RySuGE
|
||||
E7QAnifEdluHYV7qOe1oqvBiifX9dNf7
|
||||
=vzvl
|
||||
iEYEAREKAAYFAlDxsaMACgkQgAnW8HDreRYMyACcCZVoOXv5joK9AZ57L71MnwoS
|
||||
NKQAoLGxJvOfs9EftBIHfJcGfbYFOz9D
|
||||
=Kop4
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,16 @@
|
||||
texmaker.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/texmaker.h b/texmaker.h
|
||||
index 3b7135e..acd49d8 100644
|
||||
--- a/texmaker.h
|
||||
+++ b/texmaker.h
|
||||
@@ -121,7 +121,7 @@ UserTagsListWidget *usertagsListWidget;
|
||||
XmlTagsListWidget *MpListWidget, *PsListWidget, *leftrightWidget, *tikzWidget, *asyWidget;
|
||||
SymbolListWidget *RelationListWidget, *ArrowListWidget, *MiscellaneousListWidget, *DelimitersListWidget, *GreekListWidget, *MostUsedListWidget, *FavoriteListWidget;
|
||||
QTreeWidget *StructureTreeWidget;
|
||||
-QVBoxLayout *OutputLayoutV, *CentralLayoutBis,*LeftPanelLayoutBis,;
|
||||
+QVBoxLayout *OutputLayoutV, *CentralLayoutBis,*LeftPanelLayoutBis;
|
||||
QHBoxLayout *OutputLayoutH, *LeftPanelLayout, *CentralLayout;
|
||||
QTableWidget *OutputTableWidget;
|
||||
//menu-toolbar
|
@ -1,184 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.13.ebuild,v 1.1 2013/01/05 09:58:45 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
||||
PYTHON_USE_WITH="ssl sqlite"
|
||||
|
||||
inherit python eutils fdo-mime bash-completion-r1 multilib
|
||||
|
||||
DESCRIPTION="Ebook management application."
|
||||
HOMEPAGE="http://calibre-ebook.com/"
|
||||
SRC_URI="http://sourceforge.net/projects/calibre/files/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+udisks"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-text/podofo-0.8.2
|
||||
>=app-text/poppler-0.12.3-r3[qt4,xpdf-headers(+)]
|
||||
>=dev-libs/chmlib-0.40
|
||||
>=dev-libs/icu-4.4
|
||||
>=dev-python/beautifulsoup-3.0.5:python-2
|
||||
dev-python/netifaces
|
||||
dev-python/python-dateutil
|
||||
>=dev-python/dnspython-1.6.0
|
||||
>=dev-python/cssselect-0.7.1
|
||||
>=dev-python/cssutils-0.9.9
|
||||
>=dev-python/dbus-python-0.82.2
|
||||
>=dev-python/imaging-1.1.6
|
||||
>=dev-python/lxml-2.2.1
|
||||
>=dev-python/mechanize-0.1.11
|
||||
>=dev-python/python-dateutil-1.4.1
|
||||
>=dev-python/PyQt4-4.9.1[X,svg,webkit]
|
||||
media-fonts/liberation-fonts
|
||||
>=media-gfx/imagemagick-6.5.9[jpeg,png]
|
||||
>=media-libs/freetype-2
|
||||
>=media-libs/libwmf-0.2.8
|
||||
>=media-libs/libmtp-1.1.4
|
||||
virtual/libusb:1
|
||||
x11-libs/qt-dbus:4
|
||||
x11-libs/qt-svg:4
|
||||
>=x11-misc/xdg-utils-1.0.2-r2"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-python/setuptools-0.6_rc5"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2.7
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix outdated version constant.
|
||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
||||
# -i src/calibre/constants.py || \
|
||||
# die "sed failed to patch constants.py"
|
||||
|
||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
||||
# calls xdg-* (bug #258938).
|
||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
||||
-e "s|PreserveMIMEDefaults():||" \
|
||||
-e "s|xdg-icon-resource install|\\0 --mode user|" \
|
||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|xdg-mime install|\\0 --mode user|" \
|
||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
||||
|
||||
# Disable unnecessary privilege dropping for bug #287067.
|
||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
||||
-i setup/install.py || die "sed failed to patch install.py"
|
||||
|
||||
sed -e "/^ self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
|
||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
||||
'-i', 'Makefile'])" \
|
||||
-i setup/extensions.py || die "sed failed to patch extensions.py"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
# Bypass kbuildsycoca and update-mime-database in order to
|
||||
# avoid sandbox violations if xdg-mime tries to call them.
|
||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
||||
#!${BASH}
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
cp "${T}"/{kbuildsycoca,update-mime-database}
|
||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database}
|
||||
|
||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
||||
export -n DISPLAY
|
||||
|
||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
||||
# return _parse_localename(localename)
|
||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
||||
# raise ValueError, 'unknown locale: %s' % localename
|
||||
#ValueError: unknown locale: 46
|
||||
export -n LANGUAGE
|
||||
|
||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
||||
# variables to point to our fake temporary $HOME.
|
||||
export HOME="${T}/fake_homedir"
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
||||
mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
|
||||
|
||||
# Bug #334243 - respect LDFLAGS when building calibre-mount-helper
|
||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
||||
local libdir=$(get_libdir)
|
||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
||||
|
||||
dodir "$(python_get_sitedir)" # for init_calibre.py
|
||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
||||
python setup.py install \
|
||||
--root="${D}" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
||||
--staging-root="${ED}usr" \
|
||||
--staging-libdir="${ED}usr/${libdir}" || die
|
||||
|
||||
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
|
||||
die "failed to fix harcoded \$D in paths"
|
||||
|
||||
# Remove dummy calibre-mount-helper which is unused since calibre-0.8.25
|
||||
# due to bug #389515 (instead, calibre now calls udisks via dbus).
|
||||
rm "${ED}usr/bin/calibre-mount-helper" || die
|
||||
|
||||
# The menu entries end up here due to '--mode user' being added to
|
||||
# xdg-* options in src_prepare.
|
||||
dodir /usr/share/mime/packages
|
||||
chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
|
||||
mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
|
||||
die "failed to register mime types"
|
||||
dodir /usr/share/icons
|
||||
mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
|
||||
die "failed to install icon files"
|
||||
|
||||
domenu "${HOME}"/.local/share/applications/*.desktop ||
|
||||
die "failed to install .desktop menu files"
|
||||
|
||||
dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
|
||||
rm -r "${ED}"usr/etc/bash_completion.d
|
||||
find "${ED}"usr/etc -type d -empty -delete
|
||||
|
||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
||||
local x
|
||||
for x in * ; do
|
||||
[[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
||||
done
|
||||
|
||||
python_convert_shebangs -r $(python_get_version) "${ED}"
|
||||
|
||||
newinitd "${FILESDIR}"/calibre-server.init calibre-server
|
||||
newconfd "${FILESDIR}"/calibre-server.conf calibre-server
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
python_mod_optimize /usr/$(get_libdir)/${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/$(get_libdir)/${PN}
|
||||
}
|
@ -1,184 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.6.ebuild,v 1.2 2012/11/14 19:33:51 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
||||
PYTHON_USE_WITH="ssl sqlite"
|
||||
|
||||
inherit python eutils fdo-mime bash-completion-r1 multilib
|
||||
|
||||
DESCRIPTION="Ebook management application."
|
||||
HOMEPAGE="http://calibre-ebook.com/"
|
||||
SRC_URI="http://sourceforge.net/projects/calibre/files/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+udisks"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-text/podofo-0.8.2
|
||||
>=app-text/poppler-0.12.3-r3[qt4,xpdf-headers(+)]
|
||||
>=dev-libs/chmlib-0.40
|
||||
>=dev-libs/icu-4.4
|
||||
>=dev-python/beautifulsoup-3.0.5:python-2
|
||||
dev-python/netifaces
|
||||
dev-python/python-dateutil
|
||||
>=dev-python/dnspython-1.6.0
|
||||
>=dev-python/cssselect-0.7.1
|
||||
>=dev-python/cssutils-0.9.9
|
||||
>=dev-python/dbus-python-0.82.2
|
||||
>=dev-python/imaging-1.1.6
|
||||
>=dev-python/lxml-2.2.1
|
||||
>=dev-python/mechanize-0.1.11
|
||||
>=dev-python/python-dateutil-1.4.1
|
||||
>=dev-python/PyQt4-4.9.1[X,svg,webkit]
|
||||
media-fonts/liberation-fonts
|
||||
>=media-gfx/imagemagick-6.5.9[jpeg,png]
|
||||
>=media-libs/freetype-2
|
||||
>=media-libs/libwmf-0.2.8
|
||||
>=media-libs/libmtp-1.1.4
|
||||
virtual/libusb:1
|
||||
x11-libs/qt-dbus:4
|
||||
x11-libs/qt-svg:4
|
||||
>=x11-misc/xdg-utils-1.0.2-r2"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-python/setuptools-0.6_rc5"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2.7
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix outdated version constant.
|
||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
||||
# -i src/calibre/constants.py || \
|
||||
# die "sed failed to patch constants.py"
|
||||
|
||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
||||
# calls xdg-* (bug #258938).
|
||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
||||
-e "s|PreserveMIMEDefaults():||" \
|
||||
-e "s|xdg-icon-resource install|\\0 --mode user|" \
|
||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|xdg-mime install|\\0 --mode user|" \
|
||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
||||
|
||||
# Disable unnecessary privilege dropping for bug #287067.
|
||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
||||
-i setup/install.py || die "sed failed to patch install.py"
|
||||
|
||||
sed -e "/^ self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
|
||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
||||
'-i', 'Makefile'])" \
|
||||
-i setup/extensions.py || die "sed failed to patch extensions.py"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
# Bypass kbuildsycoca and update-mime-database in order to
|
||||
# avoid sandbox violations if xdg-mime tries to call them.
|
||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
||||
#!${BASH}
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
cp "${T}"/{kbuildsycoca,update-mime-database}
|
||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database}
|
||||
|
||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
||||
export -n DISPLAY
|
||||
|
||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
||||
# return _parse_localename(localename)
|
||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
||||
# raise ValueError, 'unknown locale: %s' % localename
|
||||
#ValueError: unknown locale: 46
|
||||
export -n LANGUAGE
|
||||
|
||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
||||
# variables to point to our fake temporary $HOME.
|
||||
export HOME="${T}/fake_homedir"
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
||||
mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
|
||||
|
||||
# Bug #334243 - respect LDFLAGS when building calibre-mount-helper
|
||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
||||
local libdir=$(get_libdir)
|
||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
||||
|
||||
dodir "$(python_get_sitedir)" # for init_calibre.py
|
||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
||||
python setup.py install \
|
||||
--root="${D}" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
||||
--staging-root="${ED}usr" \
|
||||
--staging-libdir="${ED}usr/${libdir}" || die
|
||||
|
||||
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
|
||||
die "failed to fix harcoded \$D in paths"
|
||||
|
||||
# Remove dummy calibre-mount-helper which is unused since calibre-0.8.25
|
||||
# due to bug #389515 (instead, calibre now calls udisks via dbus).
|
||||
rm "${ED}usr/bin/calibre-mount-helper" || die
|
||||
|
||||
# The menu entries end up here due to '--mode user' being added to
|
||||
# xdg-* options in src_prepare.
|
||||
dodir /usr/share/mime/packages
|
||||
chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
|
||||
mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
|
||||
die "failed to register mime types"
|
||||
dodir /usr/share/icons
|
||||
mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
|
||||
die "failed to install icon files"
|
||||
|
||||
domenu "${HOME}"/.local/share/applications/*.desktop ||
|
||||
die "failed to install .desktop menu files"
|
||||
|
||||
dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
|
||||
rm -r "${ED}"usr/etc/bash_completion.d
|
||||
find "${ED}"usr/etc -type d -empty -delete
|
||||
|
||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
||||
local x
|
||||
for x in * ; do
|
||||
[[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
||||
done
|
||||
|
||||
python_convert_shebangs -r $(python_get_version) "${ED}"
|
||||
|
||||
newinitd "${FILESDIR}"/calibre-server.init calibre-server
|
||||
newconfd "${FILESDIR}"/calibre-server.conf calibre-server
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
python_mod_optimize /usr/$(get_libdir)/${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/$(get_libdir)/${PN}
|
||||
}
|
@ -1,19 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX fbreader-0.12.10-gcc45.patch 434 SHA256 d797728ea96f90e79dd28b57a58aafd8d469f67639947486ad380c3cd5bdc6cc SHA512 31c949cafc6240b47e52be41f618ad5d00d9f9a4c60981b3ee361b7515fdb397ac5606b6ab4e5761b6cb3d72b0c2bcb2416843bd09467824a36d16cb3d0162f4 WHIRLPOOL 5408bd5eaa2b18d95e413b2dd04ce10ecf36d60bea4bc9351eee5a4a13029ec0622145beb3fcf87d7b8be94b9fed4e8807264cf278cb4cfbb44d99698604de91
|
||||
DIST fbreader-sources-0.12.10.tgz 2337798 SHA256 328aec454db80e225aa0b5c31adef74bf62a14357482947e87e9731686b3c624 SHA512 b764d63133feece68e19128f09111303f87aef01a17dcd103def99a84f5392b82c5d1461f604024a587fd631a390b7c169aa2eac40c9d0643ed823f14577685f WHIRLPOOL b2944c6cbfe43169eb5c807ed378bf473bc639b67d267f4eb799ccd7fe213d459d77952d597c054b1cd592ef0bec3ae7502a56a5d792a4b7ef44d5487bb5bde0
|
||||
DIST fbreader-sources-0.99.1.tgz 2416058 SHA256 ae75587c96dba9e89e7a4d85f49addf381df98156a29b64720926022e912cebe SHA512 3b46cf0a436462793d1e6a5f04052ddc988d9c8f54d9496aa756cbca6c0d00768920a18cdd9bbdb48a0dbea9ca18b26774c8d76aaad9933147d1b74e65e99081 WHIRLPOOL f6bc0f04e8e089512a2de4198bfe0986d781cbe54f16c186ce548c9e38934bfb8b088e62b1ea2352a9ecd52d022a5b0d284579f967013a72ba4c085bb314e460
|
||||
DIST fbreader-sources-0.99.2.tgz 2423279 SHA256 e753010dc041396ddfd385a4a7fb7e01b219644015fe5776253aeeca0e13a650 SHA512 73d86e08162e29e86a9f0fa687c11bcf5b089340799c06b3924b413d048ca817ba5ab97102479df5d1c5ed29e66479b99c0cde3fd49b51ef9f6032b25b523d80 WHIRLPOOL b782e8ff924580071bac8d2a77e21284805f469dd40ed30ce589fef1e38b46d0d245af8a98b45cec4f6a84055c132139b49acc7a63b3a6be42b6251005179169
|
||||
EBUILD fbreader-0.12.10.ebuild 1950 SHA256 672bbcea99cf231ac2e2e3cb2a915aea7d9b70c3ee6cf38c34cf36ecc6210444 SHA512 a003727d44de77525e570d3e33d67c3b4559a5a68eb1816a444bb79dd52e82bcfc986517b6e79c7e4ba99e093913ae6c274f6318b8629fe0cd6f305d6bc046ad WHIRLPOOL 991dd21032fb034fe50df88fcab24bf1a0708788addf4a1eb7910f22349196e5ee73cec7fd155ace3e6fa86585e249219c2b3233352681d7ff828b84c73d8197
|
||||
EBUILD fbreader-0.99.1.ebuild 2234 SHA256 da8a90f046829a0daca9fb75ff10c83f4c6c1cad26e69d7cfb706d638d9036db SHA512 e02dd0c2780d5ef5867e419e07d04f26ebefb12850e67f033316378f79b0113e7e2df6d27d20dad06c219c42039c4d4ae2150fd9c8eb3884606d0701481ed015 WHIRLPOOL 85e636760528b92f6e5d9ea363bdfaa4e921328521d151c82cc513d7608f64543ac91d3544d7ae5aa62b1f6ad775754c15ba92d333b45e8a5792bc7a9b054fc4
|
||||
EBUILD fbreader-0.99.2.ebuild 1860 SHA256 dff2cd00795a0b6d1ccef402deb4f58cfeacd102c844842bf90b52a66b5a94e1 SHA512 f5b7b22589021d7d990a36147a05322c72a98884e2a656bfa88dfb11a5f6a53afcfa3842c88abb7027fae55f528fbc76de777cf8f5b235c3d8bca9950cf67518 WHIRLPOOL 85a70a3d9f064c850ed9b7a35a8808c809a1d21e1982f47b75595661787c553042950ca0c64e4dd83d0e37313a94598e9f0ca6f5020184de76fd8b070a77b6a8
|
||||
MISC ChangeLog 4454 SHA256 4ed179550d67a187b198238909f9e76d04c0c6b62ac187ea26afce19d4d56347 SHA512 f2d776da19d046f19fd72277631f25af295b75a8c2c69869e2d372c87a83b3852a02b6538ec6e3fd83e2601393bc3dfe77beef96656bf28a6e4e898accb18675 WHIRLPOOL 098e89c4ea209e6080aeb8cffc7b70ad95033e23740546a0fedf73b1351126168ebeacc424aa86662db3ff713f6ee76d936c84f08242dc093f2e6fdcfcbf1da7
|
||||
DIST fbreader-sources-0.99.4.tgz 2345664 SHA256 3d7c31d5ea314589d2a963290ad16f4d3d631a41e802b8b39f8be0c9f71eb8e9 SHA512 d4b11d7ab03df002ad4212db805b10b80a24ea4384e92122b12c25a3f817a0eb343509ae30e31d68417fd4ce27f77e043235436f0081ff2c785a2830d6211dc7 WHIRLPOOL 1d25ff39bcd93d3b0445abc76d3bbaf5e376385303fd71c98e3844123c85b9edd413f18c8d89a95807391ee2fb9c044d4dfc4b5898484548a011ecc22993e3d9
|
||||
EBUILD fbreader-0.99.4.ebuild 1954 SHA256 82ebdafda8a65de96bd8d480f231f88332dceb4b526b3e53fbafed3e95cae566 SHA512 d712a6f70b47ce94e3309ef8c707556080ede734151fdc2a7703c8e0f6ef919067c7fb6a780368497aabe70d8c6d2163271baeaa2deae2ca6e1e794873424062 WHIRLPOOL 82de5b0b9b374c89a9de432cfd4743e0ba032045e83aec6e42fc46019b05cebc040bb916b8abe93ee99567e33630b4e5910f9102e6a60efa2b51a10052a5316d
|
||||
MISC ChangeLog 4921 SHA256 4fa718388f1ea85231e1a5f361e96090af7b42e3d2b9bbbe438227c2d07c8460 SHA512 1228bb25945cbfab5822078492b058d4494a5921c0f324c442e7255069fa36c60531fa7d049bf5e40fa46d1ba4b63665a8c2eaf2798aad148a9f86eb6150531b WHIRLPOOL 3add71acc030ba705e75e3be56cd5e0200ce08dedd921231b2e1a028986b56c1f6a04c8ac5a2367e99196596a1c5e95eebdf8f800a05c44d01a673dc0f761249
|
||||
MISC metadata.xml 367 SHA256 ea449e9ab5b0604e10360c35f9646cf74e15a54bb6e937cea8b0479739e1a25f SHA512 68f9b5b01c0bf0737c10bb95d929ce35fba13c21ebf231ace312cea9c3a6ff4bda15ecfa10e38a2791dff81584c438a4d29614c1cce83edb7b93a5312cb2d1da WHIRLPOOL 6d0146fcce4b6a9c93403e533c452cfd9a2029da5e17b209661bd181b248031cb92f42c569ad4920063f746c84f5e9f3be99191f8f830aad36ac8c3583017482
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlC7MSgACgkQkKaRLQcq0GKJQACgr/aI6Z9gik4wOmJHJxBtu+GV
|
||||
+FMAn1ADIDuAqmcJ+YTCeU3mJY9HJP54
|
||||
=M9cJ
|
||||
iQIcBAEBCAAGBQJQ8Yb4AAoJEOSiRoyO7jvo+hoP/0gZbruj1it9+G7utFmeeJU2
|
||||
jxy6Y31mG2f6SpLEWbCXuJlHJ7n2+/dDGk1WGzvWZ56oTr7KpMMxt/oCQ8WQ2hiL
|
||||
Po+rAePzK/Oj443UEdpntdoIwNew6G1SJL1SbOfLEQijpTRETvvzqj5L6f1ydp6C
|
||||
fifBiqQrDz0n8Qq6cgiRUUfOTG73EVboOFNouTfrt3EASi3rVfrZ0a/GEtEmMqPc
|
||||
Yx0HDl/I4xr+v65q14pAt2Dp4AOEdP4LxVpwT3U20OVm1BGyYdtXXU7i9NpLDe5t
|
||||
U5+3k5NnHP6k5wxYtdj3cSZW8im4BV8fQBQkbM1ABR7hgCkNxXtrJVWtOGEYGx6Q
|
||||
JWD7oGaCoYrlN/A58g1y1VvWi6UH5bthzE7eU73OxIvLIaDjwElX2lGTeTaw+oY7
|
||||
uPYSo76gzfaeWk6JbB91LvezIl9WrHaSoS1BLlscc/q8SFrs6DfrYs63H+bHEe4M
|
||||
j2cc4iqiuFXxAC6lTQtR4zR08cs1QMV3pDXQ5R+UO3DCWoF+sEQawpChlTQNMoR/
|
||||
mToyaGFbbDseCBKcuu4f0qTUzKvHzvz1Hdp9Lfe4KEOsk5VOSA3Z98yzMgSmG0LB
|
||||
SJz8eEsRYWN4OmHbUiJaiBLyo1Fw+BfBYln4E7W2EGPFl8w48mvxVkImb9ATJLml
|
||||
SksBC+WzquN2lCAHnaaS
|
||||
=kAC9
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/fbreader/fbreader-0.12.10.ebuild,v 1.8 2012/06/02 08:04:58 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="E-Book Reader. Supports many e-book formats."
|
||||
HOMEPAGE="http://www.fbreader.org/"
|
||||
SRC_URI="http://www.fbreader.org/${PN}-sources-${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
|
||||
IUSE="debug gtk +qt4"
|
||||
DEPEND="dev-libs/expat
|
||||
dev-libs/liblinebreak
|
||||
net-misc/curl
|
||||
dev-libs/fribidi
|
||||
app-arch/bzip2
|
||||
dev-db/sqlite
|
||||
qt4? ( x11-libs/qt-gui:4 )
|
||||
gtk? ( >=x11-libs/gtk+-2.4:2 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE=" ^^ ( qt4 gtk )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-gcc45.patch" # bug 317189
|
||||
|
||||
#Tidy up the .desktop file
|
||||
sed -i "s:^Name=E-book reader:Name=FBReader:" fbreader/desktop/desktop || die "sed failed"
|
||||
sed -i "s:^Name\[ru\]=.*$:Name\[ru\]=FBReader:" fbreader/desktop/desktop || die "sed failed"
|
||||
sed -i "s:^Icon=FBReader.png:Icon=FBReader:" fbreader/desktop/desktop || die "sed failed"
|
||||
sed -i "/^ LDFLAGS += -s$/ d" makefiles/config.mk || die "sed failed"
|
||||
sed -i "/^LDFLAGS =$/ d" makefiles/arch/desktop.mk || die "sed failed"
|
||||
|
||||
echo "TARGET_ARCH = desktop" > makefiles/target.mk
|
||||
echo "LIBDIR = /usr/$(get_libdir)" >> makefiles/target.mk
|
||||
|
||||
if use qt4; then
|
||||
# qt4
|
||||
echo "UI_TYPE = qt4" >> makefiles/target.mk
|
||||
|
||||
sed -i "s:MOC = moc-qt4:MOC = /usr/bin/moc:" makefiles/arch/desktop.mk || die "updating desktop.mk failed"
|
||||
sed -i "s:UILIBS = -lQtGui:UILIBS = -L/usr/lib/qt4 -lQtGui:" makefiles/arch/desktop.mk
|
||||
fi
|
||||
if use gtk; then
|
||||
# gtk
|
||||
echo "UI_TYPE = gtk" >> makefiles/target.mk
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
echo "TARGET_STATUS = debug" >> makefiles/target.mk
|
||||
else
|
||||
echo "TARGET_STATUS = release" >> makefiles/target.mk
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
dosym /usr/bin/FBReader /usr/bin/fbreader
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/fbreader/fbreader-0.99.1.ebuild,v 1.1 2012/09/04 11:18:36 alexxy Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="E-Book Reader. Supports many e-book formats."
|
||||
HOMEPAGE="http://www.fbreader.org/"
|
||||
SRC_URI="http://www.fbreader.org/files/desktop/${PN}-sources-${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
IUSE="debug gtk +qt4"
|
||||
DEPEND="dev-libs/expat
|
||||
dev-libs/liblinebreak
|
||||
net-misc/curl
|
||||
dev-libs/fribidi
|
||||
app-arch/bzip2
|
||||
dev-db/sqlite
|
||||
qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 )
|
||||
gtk? ( >=x11-libs/gtk+-2.4:2 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE=" ^^ ( qt4 gtk )"
|
||||
|
||||
src_prepare() {
|
||||
# Still use linebreak instead of new unibreak
|
||||
sed -e "s:-lunibreak:-llinebreak:" \
|
||||
-i makefiles/config.mk zlibrary/text/Makefile || die "fixing libunibreak failed"
|
||||
# Let portage decide about the compiler
|
||||
sed -e "/^CC = /d" \
|
||||
-i makefiles/arch/desktop.mk || die "removing CC line failed"
|
||||
|
||||
#Tidy up the .desktop file
|
||||
sed -e "s:^Name=E-book reader:Name=FBReader:" \
|
||||
-e "s:^Name\[ru\]=.*$:Name\[ru\]=FBReader:" \
|
||||
-e "s:^Icon=FBReader.png:Icon=FBReader:" \
|
||||
-i fbreader/desktop/desktop || die "tidying desktop failed"
|
||||
sed -e "/^ LDFLAGS += -s$/ d" \
|
||||
-i makefiles/config.mk || die "sed failed"
|
||||
sed -e "/^LDFLAGS =$/ d" \
|
||||
-i makefiles/arch/desktop.mk || die "sed failed"
|
||||
|
||||
echo "TARGET_ARCH = desktop" > makefiles/target.mk
|
||||
echo "LIBDIR = /usr/$(get_libdir)" >> makefiles/target.mk
|
||||
|
||||
if use qt4; then
|
||||
# qt4
|
||||
echo "UI_TYPE = qt4" >> makefiles/target.mk
|
||||
sed -e 's:CFLAGS =:CFLAGS = $(shell pkg-config --cflags glib-2.0):' \
|
||||
-e 's:UILIBS = -lQtCore:UILIBS = $(shell pkg-config --libs QtCore) -lQtCore:' \
|
||||
-e 's:MOC = moc-qt4:MOC = /usr/bin/moc:' \
|
||||
-i makefiles/arch/desktop.mk || die "updating desktop.mk failed"
|
||||
elif use gtk; then
|
||||
# gtk
|
||||
echo "UI_TYPE = gtk" >> makefiles/target.mk
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
echo "TARGET_STATUS = debug" >> makefiles/target.mk
|
||||
else
|
||||
echo "TARGET_STATUS = release" >> makefiles/target.mk
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
dosym /usr/bin/FBReader /usr/bin/fbreader
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- fbreader-0.12.10-orig/fbreader/src/library/Library.cpp 2010-04-01 15:14:24.000000000 +0200
|
||||
+++ fbreader-0.12.10/fbreader/src/library/Library.cpp 2010-04-13 13:34:06.000000000 +0200
|
||||
@@ -39,7 +39,7 @@
|
||||
shared_ptr<Library> Library::ourInstance;
|
||||
const size_t Library::MaxRecentListSize = 10;
|
||||
|
||||
-Library::Library &Library::Instance() {
|
||||
+Library &Library::Instance() {
|
||||
if (ourInstance.isNull()) {
|
||||
ourInstance = new Library();
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/colorv/colorv-3.0.2.ebuild,v 1.1 2013/01/13 08:58:40 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: a color tool for vim"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3597"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
app-editors/vim[python]
|
||||
( app-editors/gvim[python] dev-python/pygtk:2 )
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
# use python colorpicker instead of C-based picker
|
||||
rm autoload/colorv/{colorpicker.c,Makefile} || die
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/csv/csv-0.28.ebuild,v 1.1 2013/01/13 09:13:19 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
VIM_PLUGIN_VIM_VERSION="7.3"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: display and alter csv files"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2830"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="ft-csv.txt"
|
@ -1,6 +1,22 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST dbext-13.00.zip 113209 SHA256 bccf3957e365e71f039a2aca0e5c048dd09eb791d8f9c36a5911745b8ce90ee8 SHA512 bcb9bc3cf07e8a87d5f1704adf09488db72a58280717ddd211e3eda97369542ee2bbdec732b0761cab22a6bda90b37f56e1287f1976a6306547ade4b79341506 WHIRLPOOL 63fabecd0c3853324dc1fb92524a6a9a1e465ecd82f855b5166428ccc523abcaa170709ce37b81d09171852dd128daa9ea678dc2e20d011451b8ce606163fe21
|
||||
DIST dbext-16.0.tar.bz2 90518 SHA256 9c5f584e551ea9d2e364e92d13121d0c395f763eca4329563aac11087366d07b SHA512 951f2a0da40f89b1592a0bcbbb2978ab95426b7f39e466abd5d663f14fdc8161392582368e9b7e10b2da6c15109b1e96c8a3a4b5faf8f601d42ecbe36d860de3 WHIRLPOOL 61d80bf43c3f33fcd7c0f9678f415739e606e43d9891aa49167dc6d676c9ff0c77c4888d8f12a53ed0d21823ac4c6d3513f9fe7eca891a549ddeeb6324330c62
|
||||
DIST dbext-18.0.tar.bz2 94127 SHA256 e9100bf15cae64c9a814314035a79ff3e0495eb0ed90fc1c473536b09a924295 SHA512 44a1c8db65113c48778343dd7b47a8efc87b0c14cef4683572cfab1f8d1972edbaf569a58ec4ec736f67995d50227ddb0c1379f51e404e07157e7a1ca553a7f3 WHIRLPOOL ad447b671c8b12e92ecc1f4a67d0216bf19f84542a4ca0e2719fa4d692a27f2ff9cbbe052e37881d7c42447ac2384ef752457ea7653d9f9906b8d3f5eebeca4d
|
||||
EBUILD dbext-13.00.ebuild 618 SHA256 dc2caa85e8573742af9c019b5fbed348331b8ed6ddb65757ae23c609933712cf SHA512 ec61d342af0d6da6e2cd4637eb74790e06eec2884bcfa7f148db704e6b3dad4ed758b1ce1a1217aa331928a549f917cd7a389de23665ca53839b5dbc5d40018e WHIRLPOOL 55b56fb07d9f6ad97627295256ae41b713ae9e483da457a63aa2d6ee6b4ae264e41146aefeb229ae7c020ca5d81dd082ada179809949f70061e310e8a137154e
|
||||
EBUILD dbext-16.0.ebuild 443 SHA256 e3857ec0d0a5892df36b2f1c2e692ed3ab69025a482777b3936f88cb8764446c SHA512 cb1549d4723388c1593f18ea2c8e039ee0d11a77ac448057316329123c7aadd6623223467e4c1fcfc53c9ffccce3d6ab252af672d844d51d502cdc398c4b945d WHIRLPOOL 726a2b4b0d70fa7009755f992265beffdd437e3d10073748f8aa9cfb0af6d0f89eaeb5daed495301e91abaa92c3b05889f72d8089a65811dc37d5b2372bc046e
|
||||
MISC ChangeLog 3321 SHA256 b0d983b47a5e9de012176dbec0eb995eec8c482207342100c116b5517c602523 SHA512 489d3a1e285864dc79e2f76cd136f5a17ddfac371785e0e22ca35413cca56256d8178e2de4abeffb63eeef2503299a4267c58a1c43030e2b5c906f10a696de13 WHIRLPOOL e14bc22608eb53b108a331308cc27d83c22c4afbb21aa43c634afbd95f725ed008e46e3ad9e5c1d0dbbd448967ca3b50dc2443a60a07a3365334ec1fb228388b
|
||||
EBUILD dbext-18.0.ebuild 451 SHA256 5cb4aaf294044c3640294a8a24aea3be2ded30cb8c05912607a06ac205f4fcd6 SHA512 7249d8a2e18ca80c24d6ef0b08159a95c6525634730665a02330970d4bbcbe9e64a67899459d239e980d5dc4d0276af9966e8c85c4ce5d53f6e287f7c38fb9a5 WHIRLPOOL 206c315b616c8769d9ae2e9b195fcd18107c7b631660e733da91c7dff41d4b267189cf6b92ef935559f9cef5346ce9a160be51a2ccbfe053c5a103190e783d7a
|
||||
MISC ChangeLog 3440 SHA256 0c390ab93ba936fa83bc0d8d4c5976ef338fa2a6bde5e02146c0a578611beb40 SHA512 9e9a44090b50169322fae93dc9244c2ecac9c003420cd644b80ec42135c0f890e478cf556f005672f02cf84773ed708d058df5c4938cfb99feded97689906944 WHIRLPOOL 4a52115ae633296fbd443c6261dcb93eba4c4b89b2971c89ad51f1458556d342c2fc18363e67d0c2950a86632dbab6a62f7c51a544ebcc98f65eac10a74e6784
|
||||
MISC metadata.xml 157 SHA256 106c8618581360c66c2b535fcb7a6cb9ff318f1bd8e6c8f40f2f2f2d54e6787a SHA512 3b60e5c539f0940f297c22ce014cbecfbe31a7321c59384d9f1e8ee929b9685793b7231f49b2a153ddd1b89e3e5a56e5a304e11f321b28147ae47309a3272d70 WHIRLPOOL 22e97df7eb8669d9899254e880755052a8ef06dab300794173011b031a34c438bfc9de390e2a3bd2630927245c1055e789dd113078c2c6bafa7d4f723638a9d7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJQ8nycAAoJEEqz6FtPBkyjUuIH/RrWLYPoUqYlf/WIHLYRCaSU
|
||||
14hg7BaZiPWD2hRY6Bx6xFjJh78g5eaSUv0uJ+0dFHXeVWzXLEqhhbi9Py6lwHRn
|
||||
TBf+AHMdqvUDwjTEUlFnYVSzD7zAmAub5gGzjkugn6sw1MxLZGfMOM6aE6G62VOT
|
||||
DDeF8snCToKfBB6/IsdycAhkOzlsbm2zbx15GTuzil8Ga1oc4bhBxIWsxW4LFpYi
|
||||
LJmrVMtvuxrzEo1o3AkCalVetEgk5+S43NIdgPxyz0OVPziL0AsX09CRze331ohp
|
||||
K0GMZaABf/ZGq3QdhHrInjFf0c9tnFY+J3LcM4XL5dPNmWSD8lVzgSpQNzPvlDU=
|
||||
=fBuC
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/dbext/dbext-18.0.ebuild,v 1.1 2013/01/13 09:21:31 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: easy access to databases"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=356"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/gist/gist-7.1.ebuild,v 1.1 2013/01/13 09:29:14 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: interact with gists (gist.github.com)"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2423"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-vim/webapi
|
||||
net-misc/curl
|
||||
dev-vcs/git"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="Gist.vim"
|
@ -0,0 +1,13 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/gtk-syntax/gtk-syntax-20121015.ebuild,v 1.1 2013/01/13 09:50:00 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: Syntax highlighting for GLib, Gtk+, Xlib, Gimp, Gnome, and more"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1000"
|
||||
LICENSE="vim.org"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/surround/surround-2.0.ebuild,v 1.1 2013/01/13 08:41:23 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: Delete/change/add parentheses/quotes/XML-tags/much more"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1697"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/undotree/undotree-4.2.ebuild,v 1.1 2013/01/13 09:56:19 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_PLUGIN_VIM_VERSION="7.3"
|
||||
|
||||
inherit vim-plugin vcs-snapshot
|
||||
|
||||
DESCRIPTION="vim plugin: display your undo history in a graph"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=4177 https://github.com/mbbill/undotree"
|
||||
SRC_URI="https://github.com/mbbill/${PN}/archive/rel_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/vim-r/vim-r-0.9.9.1.ebuild,v 1.1 2013/01/13 09:06:03 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
VIM_PLUGIN_VIM_VERSION="7.3"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: integrate vim with R"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2628"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/R
|
||||
|| ( app-vim/conque app-vim/screen )"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="r-plugin.txt"
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/webapi/webapi-0.2.ebuild,v 1.1 2013/01/13 09:27:56 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: interface to Web APIs"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=4019"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/curl"
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/yankring/yankring-15.0.ebuild,v 1.1 2013/01/13 09:10:09 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: maintains a history of previous yanks and deletes"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1234"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-1.2.1.ebuild,v 1.2 2013/01/12 15:44:11 zmedico Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils multilib user
|
||||
|
||||
DESCRIPTION="Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database."
|
||||
HOMEPAGE="http://couchdb.apache.org/"
|
||||
SRC_URI="mirror://apache/couchdb/${PV}/apache-${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-libs/icu-4.3.1
|
||||
dev-lang/erlang[ssl]
|
||||
>=dev-libs/openssl-0.9.8j:0
|
||||
>=net-misc/curl-7.18.2
|
||||
>=dev-lang/spidermonkey-1.8.5"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/apache-${P}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup couchdb
|
||||
enewuser couchdb -1 -1 /var/lib/couchdb couchdb
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-erlang=/usr/lib/erlang/usr/include \
|
||||
--localstatedir=/var \
|
||||
--with-js-lib=/usr/lib
|
||||
# bug 296609, upstream bug #COUCHDB-621
|
||||
sed -e "s#localdocdir = /usr/share/doc/couchdb#localdocdir = /usr/share/doc/${PF}#" -i Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
|
||||
insinto /var/run/couchdb
|
||||
|
||||
fowners couchdb:couchdb \
|
||||
/var/run/couchdb \
|
||||
/var/lib/couchdb \
|
||||
/var/log/couchdb
|
||||
|
||||
for f in /etc/couchdb/*.ini ; do
|
||||
fowners root:couchdb ${f#"${D}"}
|
||||
fperms 660 ${f#"${D}"}
|
||||
done
|
||||
fperms 664 /etc/couchdb/default.ini
|
||||
|
||||
newinitd "${FILESDIR}/couchdb.init-3" couchdb || die
|
||||
newconfd "${FILESDIR}/couchdb.conf-0.10" couchdb || die
|
||||
|
||||
sed -i -e "s:LIBDIR:$(get_libdir):" "${D}/etc/conf.d/couchdb"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue