Sync with portage [Thu Jan 24 23:53:49 MSK 2013].

mhiretskiy
root 11 years ago
parent fe319e99c3
commit ade2b5358b

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-atk/at-spi2-atk-2.6.2.ebuild,v 1.4 2013/01/06 09:09:57 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-atk/at-spi2-atk-2.6.2.ebuild,v 1.5 2013/01/24 14:55:06 jlec Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -13,7 +13,7 @@ HOMEPAGE="http://live.gnome.org/Accessibility"
LICENSE="LGPL-2+"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
COMMON_DEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/at-spi2-core-2.6.3.ebuild,v 1.1 2013/01/08 04:09:19 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/at-spi2-core-2.6.3.ebuild,v 1.2 2013/01/24 14:57:11 jlec Exp $
EAPI="5"
GCONF_DEBUG="no"
@ -13,7 +13,7 @@ HOMEPAGE="http://live.gnome.org/Accessibility"
LICENSE="LGPL-2+"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
IUSE="+introspection"
RDEPEND=">=dev-libs/glib-2.28:2

@ -1,3 +1,3 @@
DIST sudo-1.8.5p2.tar.gz 1746344 SHA256 c32ae2bc3faf83444c82ca75ccb10ad3684d8222e3535f164c4a4db7cdddf8cf SHA512 616967eea79f91cda2b0cd1d13ed453d20142521ecfca289432bdf5708ac0549c7873fd80170cc0481390e82f1e60fb0bffcfc7c6b70d5d721aa98d23361c5cb WHIRLPOOL ac0d2c040935c54947571a0d4671be70aaaf7a6f69cb097acd321718656d4c569b0db4191eaf943c6b642a1d641263429287241a236a0f2a0c9edf973710bf8b
DIST sudo-1.8.6p3.tar.gz 1854962 SHA256 8130df04268f678880c3f423337c56e7d437a0f508a46b1dfefae16b0b20c92e SHA512 239cd838afba3aa9c7123d19017e997a332e6434b744bdac1cfbdf911595b642c2b7b635761e15c4835dfa15058df7d0e003892a501288bd793c4d676f746051 WHIRLPOOL a109beab4f9709fc00fe8050468a30e73de971db0e8c2bc4d4cdf82fdbcd8e47ed939b34dc675dc700e59c12a412af203ed75b71649157d2df48af3b51c08f10
DIST sudo-1.8.6p4.tar.gz 1856646 SHA256 364ad88ca3afcadcff6bd6820b0af19c56ce4876704dae210e21845d923e59e8 SHA512 0a08ec71d21ece319689b4b705d76aa1e037616046b10d1eb32a0f0b29f48f5c6c8c7498eec736260a6fc64898b9a9079a59c855bf0c85f6c86c7d880103b0f1 WHIRLPOOL 3ce5e1fde82b3abfe43ca4ca2c0f23a711aaa3ed56c04112589b661ca27d8ad2aa5d5c14e150fd7129fe6a3450557e7994a512f1640d21f595facd61d54fd02e
DIST sudo-1.8.6p5.tar.gz 1857194 SHA256 2b3f7128bd5747444c52abb29b5c8681752b53b098129f604a4c549d6aacec69 SHA512 02e6686a80068ab596b0493cecdedc0dad2b7712dc665560c8ce0ab77bd29f50a3f998d5543cbf7279b95cc7da84f062e4c10aa760f787d4e99bf7066fbaee74 WHIRLPOOL 7f1a5681bfeea1001409b4d2c8771e2fd3ca1969597a191c3a93b57e93f92d3cab7d4aeb2ae5a8600348211a9662b0bfd66f57c99f5ed97c2c36805fb7427f04

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.6_p4.ebuild,v 1.1 2013/01/16 20:38:17 flameeyes Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.6_p5.ebuild,v 1.1 2013/01/24 17:48:25 flameeyes Exp $
EAPI=4

@ -0,0 +1 @@
DIST easy-rsa-2.2.0_master.tar.gz 80460 SHA256 d23ddc3a764b40d03ada76f387c92ae4dcf4f5266da54c2bae130325b05eebe2 SHA512 81b5d6e805c5d9fcadf6425dbc311b6a151d857cb837ce9b419b653ee546e5742d13864d25e9ab8caffee95e5116d1611323288e80c65c3c88730533919e2fb4 WHIRLPOOL ff65ca8e3b47123aa3765937d508682afe51c9831e8dbc3e57cb5000088cc69ad5e086618e647e90677481c2d5e7d34733fd7ba50a067810e1a42c876d348823

@ -0,0 +1,35 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/easy-rsa/easy-rsa-2.2.0.ebuild,v 1.3 2013/01/24 15:44:56 jer Exp $
EAPI=4
inherit eutils multilib toolchain-funcs flag-o-matic
DESCRIPTION="Small RSA key management package, based on OpenSSL."
HOMEPAGE="http://openvpn.net/"
KEYWORDS="~amd64 ~hppa ~x86"
SRC_URI="http://swupdate.openvpn.net/community/releases/${P}_master.tar.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND=">=dev-libs/openssl-0.9.6"
RDEPEND="${DEPEND}
!<net-misc/openvpn-2.3"
S="${WORKDIR}/${P}_master"
src_prepare() {
epatch "${FILESDIR}/${PN}-2.0.0-pkcs11.patch"
}
src_configure() {
econf --docdir="${EPREFIX}/usr/share/doc/${PF}"
}
src_install() {
emake DESTDIR="${D}" install
doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa
}

@ -0,0 +1 @@
CONFIG_PROTECT="/usr/share/easy-rsa"

@ -0,0 +1,36 @@
diff --git a/easy-rsa/2.0/openssl-0.9.8.cnf b/easy-rsa/2.0/openssl-0.9.8.cnf
index 340b8af..89602a2 100755
--- a/easy-rsa/2.0/openssl-0.9.8.cnf
+++ b/easy-rsa/2.0/openssl-0.9.8.cnf
@@ -283,8 +283,8 @@ authorityKeyIdentifier=keyid:always,issuer:always
#pkcs11 = pkcs11_section
[ pkcs11_section ]
-engine_id = pkcs11
-dynamic_path = /usr/lib/engines/engine_pkcs11.so
-MODULE_PATH = $ENV::PKCS11_MODULE_PATH
-PIN = $ENV::PKCS11_PIN
-init = 0
+#engine_id = pkcs11
+#dynamic_path = /usr/lib/engines/engine_pkcs11.so
+#MODULE_PATH = $ENV::PKCS11_MODULE_PATH
+#PIN = $ENV::PKCS11_PIN
+#init = 0
diff --git a/easy-rsa/2.0/openssl-1.0.0.cnf b/easy-rsa/2.0/openssl-1.0.0.cnf
index fa258a5..527919d 100755
--- a/easy-rsa/2.0/openssl-1.0.0.cnf
+++ b/easy-rsa/2.0/openssl-1.0.0.cnf
@@ -278,8 +278,8 @@ authorityKeyIdentifier=keyid:always,issuer:always
#pkcs11 = pkcs11_section
[ pkcs11_section ]
-engine_id = pkcs11
-dynamic_path = /usr/lib/engines/engine_pkcs11.so
-MODULE_PATH = $ENV::PKCS11_MODULE_PATH
-PIN = $ENV::PKCS11_PIN
-init = 0
+#engine_id = pkcs11
+#dynamic_path = /usr/lib/engines/engine_pkcs11.so
+#MODULE_PATH = $ENV::PKCS11_MODULE_PATH
+#PIN = $ENV::PKCS11_PIN
+#init = 0

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>djc@gentoo.org</email>
<name>Dirkjan Ochtman</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1,141 @@
Fixes build with recent FFmpeg versions.
https://bugs.gentoo.org/show_bug.cgi?id=443218
https://sourceforge.net/tracker/?func=detail&aid=3601992&group_id=223021&atid=1057619
Index: vice-2.4/src/gfxoutputdrv/ffmpegdrv.c
===================================================================
--- vice-2.4.orig/src/gfxoutputdrv/ffmpegdrv.c
+++ vice-2.4/src/gfxoutputdrv/ffmpegdrv.c
@@ -343,7 +343,7 @@ static int ffmpegmovie_init_audio(int sp
c = st->codec;
c->codec_id = ffmpegdrv_fmt->audio_codec;
c->codec_type = AVMEDIA_TYPE_AUDIO;
- c->sample_fmt = SAMPLE_FMT_S16;
+ c->sample_fmt = AV_SAMPLE_FMT_S16;
/* put sample parameters */
c->bit_rate = audio_bitrate;
@@ -613,12 +613,7 @@ static int ffmpegdrv_init_file(void)
if (!video_init_done || !audio_init_done)
return 0;
- if ((*ffmpeglib.p_av_set_parameters)(ffmpegdrv_oc, NULL) < 0) {
- log_debug("ffmpegdrv: Invalid output format parameters");
- return -1;
- }
-
- (*ffmpeglib.p_dump_format)(ffmpegdrv_oc, 0, ffmpegdrv_oc->filename, 1);
+ (*ffmpeglib.p_av_dump_format)(ffmpegdrv_oc, 0, ffmpegdrv_oc->filename, 1);
if (video_st && (ffmpegdrv_open_video(ffmpegdrv_oc, video_st) < 0)) {
ui_error(translate_text(IDGS_FFMPEG_CANNOT_OPEN_VSTREAM));
@@ -632,8 +627,8 @@ static int ffmpegdrv_init_file(void)
}
if (!(ffmpegdrv_fmt->flags & AVFMT_NOFILE)) {
- if ((*ffmpeglib.p_url_fopen)(&ffmpegdrv_oc->pb, ffmpegdrv_oc->filename,
- URL_WRONLY) < 0)
+ if ((*ffmpeglib.p_avio_open)(&ffmpegdrv_oc->pb, ffmpegdrv_oc->filename,
+ AVIO_FLAG_WRITE) < 0)
{
ui_error(translate_text(IDGS_FFMPEG_CANNOT_OPEN_S), ffmpegdrv_oc->filename);
screenshot_stop_recording();
@@ -642,7 +637,7 @@ static int ffmpegdrv_init_file(void)
}
- (*ffmpeglib.p_av_write_header)(ffmpegdrv_oc);
+ (*ffmpeglib.p_avformat_write_header)(ffmpegdrv_oc,NULL);
log_debug("ffmpegdrv: Initialized file successfully");
@@ -724,7 +719,7 @@ static int ffmpegdrv_close(screenshot_t
(*ffmpeglib.p_av_write_trailer)(ffmpegdrv_oc);
if (!(ffmpegdrv_fmt->flags & AVFMT_NOFILE)) {
/* close the output file */
- (*ffmpeglib.p_url_fclose)(ffmpegdrv_oc->pb);
+ (*ffmpeglib.p_avio_close)(ffmpegdrv_oc->pb);
}
}
Index: vice-2.4/src/gfxoutputdrv/ffmpeglib.c
===================================================================
--- vice-2.4.orig/src/gfxoutputdrv/ffmpeglib.c
+++ vice-2.4/src/gfxoutputdrv/ffmpeglib.c
@@ -208,13 +208,12 @@ static int load_avformat(ffmpeglib_t *li
GET_SYMBOL_AND_TEST_AVFORMAT(av_init_packet);
GET_SYMBOL_AND_TEST_AVFORMAT(av_register_all);
GET_SYMBOL_AND_TEST_AVFORMAT(av_new_stream);
- GET_SYMBOL_AND_TEST_AVFORMAT(av_set_parameters);
- GET_SYMBOL_AND_TEST_AVFORMAT(av_write_header);
+ GET_SYMBOL_AND_TEST_AVFORMAT(avformat_write_header);
GET_SYMBOL_AND_TEST_AVFORMAT(av_write_frame);
GET_SYMBOL_AND_TEST_AVFORMAT(av_write_trailer);
- GET_SYMBOL_AND_TEST_AVFORMAT(url_fopen);
- GET_SYMBOL_AND_TEST_AVFORMAT(url_fclose);
- GET_SYMBOL_AND_TEST_AVFORMAT(dump_format);
+ GET_SYMBOL_AND_TEST_AVFORMAT(avio_open);
+ GET_SYMBOL_AND_TEST_AVFORMAT(avio_close);
+ GET_SYMBOL_AND_TEST_AVFORMAT(av_dump_format);
GET_SYMBOL_AND_TEST_AVFORMAT(av_guess_format);
#ifndef HAVE_FFMPEG_SWSCALE
GET_SYMBOL_AND_TEST_AVFORMAT(img_convert);
@@ -240,13 +239,12 @@ static void free_avformat(ffmpeglib_t *l
lib->p_av_init_packet = NULL;
lib->p_av_register_all = NULL;
lib->p_av_new_stream = NULL;
- lib->p_av_set_parameters = NULL;
- lib->p_av_write_header = NULL;
+ lib->p_avformat_write_header = NULL;
lib->p_av_write_frame = NULL;
lib->p_av_write_trailer = NULL;
- lib->p_url_fopen = NULL;
- lib->p_url_fclose = NULL;
- lib->p_dump_format = NULL;
+ lib->p_avio_open = NULL;
+ lib->p_avio_close = NULL;
+ lib->p_av_dump_format = NULL;
lib->p_av_guess_format = NULL;
#ifndef HAVE_FFMPEG_SWSCALE
lib->p_img_convert = NULL;
Index: vice-2.4/src/gfxoutputdrv/ffmpeglib.h
===================================================================
--- vice-2.4.orig/src/gfxoutputdrv/ffmpeglib.h
+++ vice-2.4/src/gfxoutputdrv/ffmpeglib.h
@@ -80,13 +80,12 @@ typedef int (*avpicture_get_size_t) (int
typedef void (*av_init_packet_t) (AVPacket *pkt);
typedef void (*av_register_all_t) (void);
typedef AVStream* (*av_new_stream_t) (AVFormatContext*, int);
-typedef int (*av_set_parameters_t) (AVFormatContext*, AVFormatParameters*);
-typedef int (*av_write_header_t) (AVFormatContext*);
+typedef int (*avformat_write_header_t) (AVFormatContext*,AVDictionary **);
typedef int (*av_write_frame_t) (AVFormatContext*, AVPacket*);
typedef int (*av_write_trailer_t) (AVFormatContext*);
-typedef int (*url_fopen_t) (ByteIOContext**, const char*, int);
-typedef int (*url_fclose_t) (ByteIOContext*);
-typedef void (*dump_format_t) (AVFormatContext *, int, const char*, int);
+typedef int (*avio_open_t) (AVIOContext**, const char*, int);
+typedef int (*avio_close_t) (AVIOContext*);
+typedef void (*av_dump_format_t) (AVFormatContext *, int, const char*, int);
typedef AVOutputFormat* (*av_guess_format_t) (const char*, const char*, const char*);
typedef int (*img_convert_t) (AVPicture*, int, AVPicture*, int, int, int);
@@ -118,13 +117,12 @@ struct ffmpeglib_s {
av_init_packet_t p_av_init_packet;
av_register_all_t p_av_register_all;
av_new_stream_t p_av_new_stream;
- av_set_parameters_t p_av_set_parameters;
- av_write_header_t p_av_write_header;
+ avformat_write_header_t p_avformat_write_header;
av_write_frame_t p_av_write_frame;
av_write_trailer_t p_av_write_trailer;
- url_fopen_t p_url_fopen;
- url_fclose_t p_url_fclose;
- dump_format_t p_dump_format;
+ avio_open_t p_avio_open;
+ avio_close_t p_avio_close;
+ av_dump_format_t p_av_dump_format;
av_guess_format_t p_av_guess_format;
#ifndef HAVE_FFMPEG_SWSCALE
img_convert_t p_img_convert;

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/vice-2.4.ebuild,v 1.3 2013/01/06 07:27:57 mr_bones_ Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/vice-2.4.ebuild,v 1.4 2013/01/24 14:40:00 aballier Exp $
EAPI=5
inherit autotools eutils toolchain-funcs games
@ -59,7 +59,8 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
epatch "${FILESDIR}"/${P}-arm.patch
epatch "${FILESDIR}"/${P}-arm.patch \
"${FILESDIR}"/${P}-ffmpeg-1.patch
sed -i \
-e "s:/usr/local/lib/VICE:${GAMES_DATADIR}/${PN}:" \
man/vice.1 \

@ -4,4 +4,5 @@ DIST seabios-0-20121121.tar.bz2 2199282 SHA256 f7f67181c6c0b4cea3a9db48e2569fdcb
DIST xen-4.1.1.tar.gz 10355625 SHA256 246289227507466b5da8b2d0da84a5b0e68a392527b16cde38898d0348890f5b SHA512 0ec84db28af5b1206392b44e2c135859b3393d9c0eb1109f6a983492ba70622a145a08efce54f2943495feb06291d3fd5df9cc8ffea51e6e42aa69450edc87f2 WHIRLPOOL 58d83e71ac0a942830311d7eb5ebc5a7b34b118001f6f607ea7e5d7a959bafd72c9b8b6d010144fdef7417a238382602d948007be90f9ebf583b4d18897344c0
DIST xen-4.1.2.tar.gz 10365786 SHA256 7d9c93057cf480d3f1efa792b19285a84fa3c06060ea5c5c453be00887389b0d SHA512 8f50f238b0b474ec5556279cbd51d704b4365033f2541a5d0376f287b26b7e8f0193172041109d97bb76d35ace3adf71e12f89f5766ff79a8ea861e7282f00d7 WHIRLPOOL 93a4bdd05125ef722464ef682798191c8b3db7228cbc0a27bcbe7932a7776491f90e727e1fcc4a9e7ec3eada7f56c567c07ad61cdda2f514109f702800fe5566
DIST xen-4.2.0.tar.gz 15587687 SHA256 43f4a086e4e0330145a27b7ace8365c42b5afbc95cefadafe067be91bd3e5cfb SHA512 4fb56c79d722fb307bc657f16d02079c6636427e7650c4354193632d38d2d1db8e588f844ff0ca6e757c108ed639a528565ec9fc7c00bb4d5b6fbc9d122d8a70 WHIRLPOOL 369a109375864cb61920b56cf501522051d28513e738f0fd0e7b76244c3e08a8a0a6ff6cf245872d9bbd9c0f22c7da76c9cbc0f852bad6108ca25fd42dc677c0
DIST xen-4.2.1.tar.gz 15593695 SHA256 fb8df5827ce3e2d2d3b078d9e5afde502beb5e7ab9442e51a94087061bd450c6 SHA512 fe27a965e2b34035bd025482eda9fc4d4e82523c929323fd30813367d5ffbe2fa1ed3d7d4479f2632e8b5625972448b7bd6a7768e8dc1dcd1b6747d281cc1a9e WHIRLPOOL 226bbed059541e804f1a44e721023ffbc04bae43000653b1d7d6a9bfec0d9efbf7a48b1b0a7ad3fcb8e34f8b91e1c620c2a8eddf97baad487e9db37d49a58f37
DIST xen-tools-4.1.1-upstream-23104-1976adbf2b80.patch 26848 SHA256 8654c4b587b350baaaea12cde3ef1737dc80088fba281556bf4c714fa4d8111f SHA512 1b2678f1cc0b4a9bf24b6b096ed40132a757594c1c5c877468d4cb0c2fba2193cc6bf5fb55d9a0f6cc81f1bf95913758c67898d8c4398210609a6e4412583df9 WHIRLPOOL 24d544c1c1d435879be8879a69eb096c451299a0d4e07c1407d6eaaa8910c2088f2ca0c618f8c6f02fbffbf745f06c9dd4faa5cc666a069e205a28024ddf77b4

@ -14,5 +14,6 @@
<flag name='pygrub'>Install the pygrub boot loader</flag>
<flag name='screen'>Enable support for running domain U console in an <pkg>app-misc/screen</pkg> session</flag>
<flag name='xend'>Enable support the xend and xm to manage xen</flag>
<flag name='ocaml'>Enable support for the ocaml language</flag>
</use>
</pkgmetadata>

@ -1,327 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.1.2-r2.ebuild,v 1.6 2013/01/21 22:18:07 ssuominen Exp $
EAPI="4"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="xml threads"
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="~amd64 ~x86"
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz \
$XEN_EXTFILES_URL/ipxe-git-v1.0.0.tar.gz"
S="${WORKDIR}/xen-${PV}"
fi
inherit flag-o-matic eutils multilib python toolchain-funcs ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool docs/ChangeLog )
LICENSE="GPL-2"
SLOT="0"
IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen xend"
REQUIRED_USE="hvm? ( qemu )"
QA_PRESTRIPPED="/usr/share/xen/qemu/openbios-ppc \
/usr/share/xen/qemu/openbios-sparc64 \
/usr/share/xen/qemu/openbios-sparc32"
QA_WX_LOAD=${QA_PRESTRIPPED}
CDEPEND="<dev-libs/yajl-2
dev-python/lxml
dev-python/pypam
dev-python/pyxml
sys-libs/zlib
hvm? ( media-libs/libsdl
sys-power/iasl )
api? ( dev-libs/libxml2 net-misc/curl )"
DEPEND="${CDEPEND}
sys-devel/gcc
dev-lang/perl
app-misc/pax-utils
dev-ml/findlib
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/transfig
media-gfx/graphviz
dev-tex/xcolor
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? (
x11-proto/xproto
sys-devel/dev86
) pygrub? ( dev-lang/python[ncurses] )
"
RDEPEND="${CDEPEND}
sys-apps/iproute2
net-misc/bridge-utils
>=dev-lang/ocaml-3.12.0
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
QA_EXECSTACK="usr/share/xen/qemu/openbios-sparc32
usr/share/xen/qemu/openbios-sparc64"
RESTRICT="test"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
export "CONFIG_LOMOUNT=y"
if use qemu; then
export "CONFIG_IOEMU=y"
else
export "CONFIG_IOEMU=n"
fi
if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then
eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or"
eerror "an amd64 multilib profile is required. Remove the hvm use flag"
eerror "to build xen-tools on your current profile."
die "USE=hvm is unsupported on this system."
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
else
die "Unsupported architecture!"
fi
fi
use api && export "LIBXENAPI_BINDINGS=y"
use flask && export "FLASK_ENABLE=y"
}
src_prepare() {
cp "$DISTDIR/ipxe-git-v1.0.0.tar.gz" tools/firmware/etherboot/ipxe.tar.gz
sed -e 's/-Wall//' -i Config.mk || die "Couldn't sanitize CFLAGS"
# Drop .config
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed" || die
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || "Disabling xend failed" || die
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \; || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
chmod 644 tools/check/check_x11_devel
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
fi
# Fix build for gcc-4.6
sed -e "s:-Werror::g" -i tools/xenstat/xentop/Makefile || die
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Do not strip binaries
epatch "${FILESDIR}/${PN}-3.3.0-nostrip.patch"
# Prevent the downloading of ipxe
sed -e 's:^\tif ! wget -O _$T:#\tif ! wget -O _$T:' \
-e 's:^\tfi:#\tfi:' -i \
-e 's:^\tmv _$T $T:#\tmv _$T $T:' \
-i tools/firmware/etherboot/Makefile || die
# Fix bridge by idella4, bug #362575
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
# Remove check_curl, new fix to Bug #386487
epatch "${FILESDIR}/${PN}-4.1.1-curl.patch"
sed -i -e 's|has_or_fail curl-config|has_or_fail curl-config\nset -ux|' \
tools/check/check_curl || die
# Don't build ipxe with pie on hardened, Bug #360805
if gcc-specs-pie; then
epatch "${FILESDIR}/ipxe-nopie.patch"
fi
# Fix create.py for pyxml Bug 367735
epatch "${FILESDIR}/xen-tools-4.1.2-pyxml.patch"
sed -e '/texi2html/ s/-number/&-sections/' \
-i tools/ioemu-qemu-xen/Makefile || die #409333
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
emake CC=$(tc-getCC) LD=$(tc-getLD) -C tools ${myopt}
if use doc; then
sh ./docs/check_pkgs || die "package check failed"
emake docs
emake dev-docs
fi
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/etc/init.d
export CONFIG_LEAF_DIR=default
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" XEN_PYTHON_NATIVE_INSTALL=y install-tools
python_convert_shebangs -r 2 "${ED}"
# Remove RedHat-specific stuff
rm -rf "${ED}"/etc/init.d/xen* "${ED}"/etc/default || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
-i tools/examples/xl.conf || die
# dodoc README docs/README.xen-bugtool docs/ChangeLog
if use doc; then
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/api/
docinto pdf
dodoc ${DOCS[@]}
#docs/api/tools/python/latex/refman.pdf
[ -d "${ED}"/usr/share/doc/xen ] && mv "${ED}"/usr/share/doc/xen/* "${ED}"/usr/share/doc/${PF}/html
fi
rm -rf "${ED}"/usr/share/doc/xen/
doman docs/man?/*
if use xend; then
newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
fi
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${ED}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
python_convert_shebangs -r 2 "${ED}"
# xend expects these to exist
keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
if [[ "$(scanelf -s __guard -q $(type -P python))" ]] ; then
echo
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
ewarn "This probablem may be resolved as of Xen 3.0.4, if not post in the bug."
fi
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 multilib system is required to build HVM support."
echo
elog "The qemu use flag has been removed and replaced with hvm."
fi
if use xend; then
echo
elog "xend capability has been enabled and installed"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
python_mod_optimize $(use pygrub && echo grub) xen
}
pkg_postrm() {
python_mod_cleanup $(use pygrub && echo grub) xen
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.0-r2.ebuild,v 1.5 2013/01/21 22:18:07 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.0-r2.ebuild,v 1.6 2013/01/24 08:53:49 idella4 Exp $
EAPI=5
@ -40,8 +40,6 @@ CDEPEND="<dev-libs/yajl-2
dev-python/pypam[${PYTHON_USEDEP}]
dev-python/pyxml[${PYTHON_USEDEP}]
sys-libs/zlib
sys-devel/bin86
sys-devel/dev86
sys-power/iasl
dev-ml/findlib
hvm? ( media-libs/libsdl )
@ -50,7 +48,8 @@ CDEPEND="<dev-libs/yajl-2
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )"
DEPEND="${CDEPEND}
sys-devel/gcc
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
dev-ml/findlib

@ -1,10 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.0-r1.ebuild,v 1.4 2013/01/21 22:18:07 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.1.ebuild,v 1.2 2013/01/24 08:53:49 idella4 Exp $
EAPI="4"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="xml threads"
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE='xml,threads'
IPXE_TARBALL_URL="http://dev.gentoo.org/~idella4/tarballs/ipxe.tar.gz"
XEN_SEABIOS_URL="http://dev.gentoo.org/~idella4/tarballs/seabios-0-20121121.tar.bz2"
@ -22,7 +23,7 @@ else
$XEN_SEABIOS_URL"
S="${WORKDIR}/xen-${PV}"
fi
inherit flag-o-matic eutils multilib python toolchain-funcs udev ${live_eclass}
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
@ -30,24 +31,26 @@ DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen static-libs xend"
# TODO soon;ocaml
IUSE="api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend"
REQUIRED_USE="hvm? ( qemu )"
CDEPEND="<dev-libs/yajl-2
dev-python/lxml
dev-python/pypam
dev-python/pyxml
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/pypam[${PYTHON_USEDEP}]
dev-python/pyxml[${PYTHON_USEDEP}]
sys-libs/zlib
sys-devel/bin86
sys-devel/dev86
sys-power/iasl
dev-ml/findlib
hvm? ( media-libs/libsdl )
api? ( dev-libs/libxml2 net-misc/curl )"
api? ( dev-libs/libxml2 net-misc/curl )
${PYTHON_DEPS}
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )"
DEPEND="${CDEPEND}
sys-devel/gcc
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
dev-ml/findlib
@ -67,7 +70,7 @@ DEPEND="${CDEPEND}
hvm? (
x11-proto/xproto
sys-devel/dev86
) pygrub? ( dev-lang/python[ncurses] )
)
"
RDEPEND="${CDEPEND}
@ -87,8 +90,7 @@ QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
RESTRICT="test"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
if has_version dev-libs/libgcrypt; then
@ -133,22 +135,23 @@ src_prepare() {
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed" || die
-i tools/misc/Makefile || die "Disabling xend failed"
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || "Disabling xend failed" || die
-i tools/examples/Makefile || die "Disabling xend failed"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \; || die "failed to re-set custom-cflags"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
@ -168,18 +171,18 @@ src_prepare() {
fi
# Fix build for gcc-4.6
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) -exec sed \
-e "s:-Werror::g" \
-i {} \; || die "Failed to remove -Werror"
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed -e "s:-Werror::g" -i {} + || die "Failed to remove -Werror"
# Fix texi2html build error with new texi2html
sed -r -e "s:(texi2html.*) -number:\1:" -i tools/qemu-xen-traditional/Makefile
sed -r -e "s:(texi2html.*) -number:\1:" \
-i tools/qemu-xen-traditional/Makefile || die
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Prevent the downloading of ipxe, seabios
epatch "${FILESDIR}"/${P/-tools/}-anti-download.patch
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-anti-download.patch
cp "${DISTDIR}"/ipxe.tar.gz tools/firmware/etherboot/ || die
mv ../seabios-dir-remote tools/firmware/ || die
pushd tools/firmware/ > /dev/null
@ -195,10 +198,10 @@ src_prepare() {
fi
# Prevent double stripping of files at install
epatch "${FILESDIR}"/${P/-tools/}-nostrip.patch
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${P/-tools/}-jserver.patch
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-jserver.patch
}
src_compile() {
@ -226,13 +229,21 @@ src_compile() {
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/etc/init.d
export CONFIG_LEAF_DIR=default
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${ED}"
# Remove RedHat-specific stuff
rm -rf "${ED}"/etc/init.d/xen* "${ED}"/etc/default || die
rm -rf "${ED}"tmp || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
@ -273,7 +284,6 @@ src_install() {
rm -f "${ED}"usr/$(get_libdir)/*.a "${ED}"usr/$(get_libdir)/ocaml/*/*.a
fi
#python_convert_shebangs -r 2 "${ED}"
# xend expects these to exist
keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
@ -286,10 +296,8 @@ src_install() {
rm -rf "${ED}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
rm -f $(find "${ED}" -name openbios-sparc32) \
$(find "${ED}" -name openbios-sparc64) \
$(find "${ED}" -name openbios-ppc) \
$(find "${ED}" -name palcode-clipper) || die
find "${ED}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
@ -297,13 +305,14 @@ pkg_postinst() {
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
if [[ "$(scanelf -s __guard -q $(type -P python))" ]] ; then
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
echo
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
ewarn "This probablem may be resolved as of Xen 3.0.4, if not post in the bug."
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
fi
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
@ -335,9 +344,4 @@ pkg_postinst() {
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
python_mod_optimize $(use pygrub && echo grub) xen
}
pkg_postrm() {
python_mod_cleanup $(use pygrub && echo grub) xen
}

@ -1,3 +1,4 @@
DIST xen-4.1.1.tar.gz 10355625 SHA256 246289227507466b5da8b2d0da84a5b0e68a392527b16cde38898d0348890f5b SHA512 0ec84db28af5b1206392b44e2c135859b3393d9c0eb1109f6a983492ba70622a145a08efce54f2943495feb06291d3fd5df9cc8ffea51e6e42aa69450edc87f2 WHIRLPOOL 58d83e71ac0a942830311d7eb5ebc5a7b34b118001f6f607ea7e5d7a959bafd72c9b8b6d010144fdef7417a238382602d948007be90f9ebf583b4d18897344c0
DIST xen-4.1.2.tar.gz 10365786 SHA256 7d9c93057cf480d3f1efa792b19285a84fa3c06060ea5c5c453be00887389b0d SHA512 8f50f238b0b474ec5556279cbd51d704b4365033f2541a5d0376f287b26b7e8f0193172041109d97bb76d35ace3adf71e12f89f5766ff79a8ea861e7282f00d7 WHIRLPOOL 93a4bdd05125ef722464ef682798191c8b3db7228cbc0a27bcbe7932a7776491f90e727e1fcc4a9e7ec3eada7f56c567c07ad61cdda2f514109f702800fe5566
DIST xen-4.2.0.tar.gz 15587687 SHA256 43f4a086e4e0330145a27b7ace8365c42b5afbc95cefadafe067be91bd3e5cfb SHA512 4fb56c79d722fb307bc657f16d02079c6636427e7650c4354193632d38d2d1db8e588f844ff0ca6e757c108ed639a528565ec9fc7c00bb4d5b6fbc9d122d8a70 WHIRLPOOL 369a109375864cb61920b56cf501522051d28513e738f0fd0e7b76244c3e08a8a0a6ff6cf245872d9bbd9c0f22c7da76c9cbc0f852bad6108ca25fd42dc677c0
DIST xen-4.2.1.tar.gz 15593695 SHA256 fb8df5827ce3e2d2d3b078d9e5afde502beb5e7ab9442e51a94087061bd450c6 SHA512 fe27a965e2b34035bd025482eda9fc4d4e82523c929323fd30813367d5ffbe2fa1ed3d7d4479f2632e8b5625972448b7bd6a7768e8dc1dcd1b6747d281cc1a9e WHIRLPOOL 226bbed059541e804f1a44e721023ffbc04bae43000653b1d7d6a9bfec0d9efbf7a48b1b0a7ad3fcb8e34f8b91e1c620c2a8eddf97baad487e9db37d49a58f37

@ -0,0 +1,37 @@
# Fix gcc-4.6
diff -ur xen-4.2.0.orig/extras/mini-os/minios.mk xen-4.2.0/extras/mini-os/minios.mk
--- extras/mini-os/minios.mk 2012-09-17 18:21:17.000000000 +0800
+++ extras/mini-os/minios.mk 2012-12-05 14:01:10.653260260 +0800
@@ -6,7 +6,7 @@
# Define some default flags.
# NB. '-Wcast-qual' is nasty, so I omitted it.
-DEF_CFLAGS += -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls
+DEF_CFLAGS += -fno-builtin -Wall -Wredundant-decls -Wno-format -Wno-redundant-decls
DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
DEF_CFLAGS += $(call cc-option,$(CC),-fgnu89-inline)
DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline
diff -ur xen-4.2.0.orig/tools/libxc/Makefile xen-4.2.0/tools/libxc/Makefile
--- tools/libxc/Makefile 2012-09-17 18:21:18.000000000 +0800
+++ tools/libxc/Makefile 2012-12-05 14:01:10.653260260 +0800
@@ -73,7 +73,7 @@
-include $(XEN_TARGET_ARCH)/Makefile
-CFLAGS += -Werror -Wmissing-prototypes
+CFLAGS += -Wmissing-prototypes
CFLAGS += -I. $(CFLAGS_xeninclude)
# Needed for posix_fadvise64() in xc_linux.c
# Drop .config
diff -ur xen-4.2.0.orig/Config.mk xen-4.2.0/Config.mk
--- Config.mk 2012-09-17 18:23:12.000000000 +0800
+++ Config.mk 2012-12-05 14:01:10.641260261 +0800
@@ -7,7 +7,6 @@
# fallback for older make
realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))")))
--include $(XEN_ROOT)/.config
# A debug build of Xen and tools?
debug ?= n

@ -0,0 +1,117 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.2.1.ebuild,v 1.1 2013/01/24 09:18:34 idella4 Exp $
EAPI="4"
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="~amd64 ~x86"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz"
fi
inherit mount-boot flag-o-matic toolchain-funcs ${live_eclass}
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug flask pae xsm"
RDEPEND="|| ( sys-boot/grub
sys-boot/grub-static )"
PDEPEND="~app-emulation/xen-tools-${PV}"
RESTRICT="test"
# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"
REQUIRED_USE="
flask? ( xsm )
"
pkg_setup() {
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64; then
export XEN_TARGET_ARCH="x86_64"
else
die "Unsupported architecture!"
fi
fi
if use flask ; then
export "XSM_ENABLE=y"
export "FLASK_ENABLE=y"
elif use xsm ; then
export "XSM_ENABLE=y"
fi
}
src_prepare() {
# Drop .config and Fix gcc-4.6
epatch "${FILESDIR}"/${PN/-pvgrub/}-4-fix_dotconfig-gcc.patch # Drop .config
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \; || die "failed to re-set custom-cflags"
fi
# not strictly necessary to fix this
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
}
src_configure() {
use debug && myopt="${myopt} debug=y"
use pae && myopt="${myopt} pae=y"
if use custom-cflags; then
filter-flags -fPIE -fstack-protector
replace-flags -O3 -O2
else
unset CFLAGS
fi
}
src_compile() {
# Send raw LDFLAGS so that --as-needed works
emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
}
src_install() {
local myopt
use debug && myopt="${myopt} debug=y"
use pae && myopt="${myopt} pae=y"
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
elog " http://en.gentoo-wiki.com/wiki/Xen/"
if use pae; then
echo
ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
fi
}

@ -1,2 +1 @@
DIST rc-1.7.1.tar.gz 177302 SHA256 1cff23e897a038422458ba01567a5a2650935205862c3bbf73e773807c248240 SHA512 4e0d18c9897fe1751afc06f18c3d4c6b991bc2e365b30b6982004a2bed583c38738581b15488f6138ca6f637fb40964b220a024f2b795d768e5f200ea573f634 WHIRLPOOL 25c9832fb4c7b6f75d7212508b11a85df503d14d217590fe1da89adb82bfbe6994fe59a5dac2061b42dd6e2d99a682c295db138e223dcf6052a6fb68ff5f5cdb
DIST rc-1.7.2.tbz 153807 SHA256 d4b552b6652a2f85400b61b970c9034b17fcb59b74a0f242bbea12959e8939c7 SHA512 760ee04f2c0fbffc1dddebce35b34183e19e67c2f15fa6c8da83c0305a68114f4aa6af67d33f05c51bcc232a1f7178319eeabd3538fbdf2546742f200457928b WHIRLPOOL c84235fa60cd681e0fefa2f83ac6b5a7d24f3b30f53205ab88cfa94e3e2585e1f8c91062f4c018318d6bb19214e45fc4d418438baeb8d10eb2987518bdce1446

@ -1,42 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/rc/rc-1.7.1.ebuild,v 1.1 2009/10/02 12:41:59 ssuominen Exp $
EAPI=2
DESCRIPTION="A reimplementation of the Plan 9 shell"
HOMEPAGE="http://rc-shell.slackmatic.org/"
SRC_URI="http://rc-shell.slackmatic.org/release/${P}.tar.gz"
LICENSE="rc"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libedit readline"
RDEPEND="readline? ( sys-libs/readline )
libedit? ( dev-libs/libedit )"
DEPEND="${RDEPEND}"
src_configure() {
local myconf="--with-history"
use readline && myconf="--with-readline"
use libedit && myconf="--with-editline"
econf \
--disable-dependency-tracking \
${myconf}
}
src_install() {
into /
newbin rc rcsh || die
newman rc.1 rcsh.1
dodoc AUTHORS ChangeLog NEWS README
}
pkg_postinst() {
ebegin "Updating /etc/shells"
( grep -v "^/bin/rcsh$" "${ROOT}"etc/shells; echo "/bin/rcsh" ) > "${T}"/shells
mv -f "${T}"/shells "${ROOT}"etc/shells
eend $?
}

@ -1 +1,2 @@
DIST hyperdex-0.4.0.tar.gz 1057524 SHA256 3ab0ffff461a39406e0ee4b16cfec9f05f06046356d4801ace4d86daad1253dc SHA512 760d2d1ebb4486d2550847bc2d2365166dee6af7f2d3406395956de1ef881fbba68504a119001a84ee48ade70282dbad39481004f84833677a0bc32e02741ee7 WHIRLPOOL 553544bf25b68a2029945da59ba185fca66e5f2ab776d8f01971ccb9bf6a9562de250ec92ece21543a6086f73ac4cd664539bdb63d6e870b8ef2736ca693ec7c
DIST hyperdex-1.0.rc1.tar.gz 1107306 SHA256 7e694297c11cc479df971c961c551c3f0d641624eb2c0faba65e0e8a03f99f32 SHA512 e5fb201ccdc5a5dc1e6a5c042ed8f7ed5687034e9ee378ff2f4c851a95e145d0ff18fcf56c51efd06b54f97df159d088cc291c3f27ea36bfb4a84b7f66a006ed WHIRLPOOL 015ddc43256528c0b15822aef3ab24ee0edce3d1c387af0d06742e09dceb866418692607c235a987d12c7f1d39b96e0c686ad7beeb090e3e6c8e3687e952cc8a

@ -0,0 +1,45 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.0_rc1.ebuild,v 1.1 2013/01/24 06:43:50 patrick Exp $
EAPI=4
PYTHON_DEPEND="2:2.6"
inherit eutils python
DESCRIPTION="A searchable distributed Key-Value Store"
MY_P="${P/_/.}"
S="${WORKDIR}/${MY_P}"
HOMEPAGE="http://hyperdex.org"
SRC_URI="http://hyperdex.org/src/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+python"
# need to add coverage and java useflags too
DEPEND="dev-cpp/glog
dev-libs/cityhash
dev-libs/libpo6
dev-libs/libe
dev-libs/busybee
dev-libs/popt
dev-libs/replicant"
RDEPEND="${DEPEND}"
pkg_setup() {
python_set_active_version 2
}
src_configure() {
econf \
$(use_enable python python-bindings)
}
src_install() {
emake DESTDIR="${D}" install || die "Failed to install"
newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script"
newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file"
}

@ -1,6 +1,5 @@
DIST redis-2.4.10.tar.gz 621824 SHA256 4d34482198cec272afd45d0390d4e1f32ee847094834133613a925012810ed21 SHA512 9f8d6b23ecef68660204dc77af4c4d101a21fe729c0f0985422f4aebb22b1da0054e67c48fdcd65bafa764539e83c3fd35f04d21e6826db5f2831e8706ab9fca WHIRLPOOL 2e4e048def205a4ddd99fab56cca2ecbe6f22aa6eaae4355e993876c2c7972c39ff6faac2dc3e9f954d7525c02965864a1c2b228c7e023e3a330597f6b0a7810
DIST redis-2.4.16.tar.gz 649908 SHA256 d35cc89d73aa1ff05af5f1380a4411c828979b3b446f5caf8b5720225b38e15b SHA512 9e7ff57722322605ac7884449ba7b58a460b7af78f9fb75c461d9ce24be852482b27d80f2c5fbfe6581889d1072d8318b7cfb7d8eb228739be9fb61040215974 WHIRLPOOL 3533b4b4e4689f200151f75c71dece344c886b1da4748f4bdd8280303ea93c55524b38152a7f0473c878bae9e622846ceb74036eb44a0210218182164dfec682
DIST redis-2.4.17.tar.gz 656155 SHA256 3fae7c47ef84886ff65073593c91586bb675babaf702eb6f3b37855ab3066ebd SHA512 9c4aff041ac2dc430f631330281a7eb4798e956e846cc09c040973c565953ca8f20c3dc19daa38a4bdfa36ca19d79b2e5ac6bf9cfdbea9430747913881daa653 WHIRLPOOL 4314463583930c4e3ed82b1d958837c7f5672668f78a48efb348377d80a66fd61e86f078bf5a5cf6ab5b4b25a87ac292f46c569b35c5a149cbc8a581bf722d90
DIST redis-2.4.18.tar.gz 657667 SHA256 d71b6372f42fcbdc77a9601f1dd6a029ed57f7f77ac3b18bfed8670fb8c74697 SHA512 8d612007ff392717c450ef5e8e2bb8adc710add6da6fc6bf3787ca941d300cd3a208e280fb83ff21aa3d0e322427f2a1c5438708171308b3e8cfffc4034eb34c WHIRLPOOL c3b961d0755161ac367f714a92a5dedcbb9e8c539b0481e812d8d56d3669c4849ff91a4d8912a25476fbf9434258c8d42e373a53411527092863e177fdd348d7
DIST redis-2.6.7.tar.gz 987306 SHA256 e1a05b02665dbbd3ae2fed10906888310d5e82e28b868b32085c30659f3bdcd0 SHA512 60ac4f5ae9fed038117cbcb5d81c0c1c6bb274ff9ed3792dbd5bac4bc5db835b87431c41a99ca1d455638171a587a27bdec882b175db69945d1493bcb62278cc WHIRLPOOL 04ff333502e0e565c97601ffadde50739ce0829e235c5519409d4ab6d6c334e30953d6911fa902ac0f533aaa6a4a5b388eea129d217fcad5722acba56967355f
DIST redis-2.6.8.tar.gz 987578 SHA256 b04083127f5e11e82045314c4ff9ad92e33f89772cc435ef8bccd75572eec9bd SHA512 fdcdff9987de29754d1c0fb7b6f3c3644e9e88557293cd51217fb689e250933322f51c5451b0d5dec1bb7420397c0ecda4a53742582e64686dfbafeaaed2285d WHIRLPOOL b68fcf8c9349ab9f12dd27a575267cbd6e1190be173ff802a7b9e037bb76ea4aa5932c527affa5ddb7acf7f182f8c5d77a295422686ad45996cae89ef950aded
DIST redis-2.6.9.tar.gz 989119 SHA256 4d967eff2038aebea33875d17e85ed67179df6505df68529a622f7836d1c7489 SHA512 5263bccd4e175dd00318436be3818c07b880ba6f2e2552e1811d909fddf1fbbff5addbd684e116bd7f8cca727c61f6f45cd264fff61d2ffad18d57f6ae0456e5 WHIRLPOOL 57828b815e3591bd4b4ce6b1812b8f594062b6e63055fc88f50498aa2605ee79f829350026ac7ebb946bd1207c34935768db2f270197a4b979f8cec9b6d3d6a8

@ -0,0 +1,57 @@
diff --git a/runtest b/runtest
index 0eb384c..fadc283 100755
--- a/runtest
+++ b/runtest
@@ -1,5 +1,5 @@
#!/bin/sh
-TCL=tclsh8.5
+TCL=tclsh
which $TCL
if [ "$?" != "0" ]
then
diff --git a/tests/integration/replication-4.tcl b/tests/integration/replication-4.tcl
index 69fcab3..58a70fa 100644
--- a/tests/integration/replication-4.tcl
+++ b/tests/integration/replication-4.tcl
@@ -1,5 +1,5 @@
proc start_bg_complex_data {host port db ops} {
- exec tclsh8.5 tests/helpers/bg_complex_data.tcl $host $port $db $ops &
+ exec tclsh tests/helpers/bg_complex_data.tcl $host $port $db $ops &
}
proc stop_bg_complex_data {handle} {
diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl
index da94b08..30baf6a 100644
--- a/tests/integration/replication.tcl
+++ b/tests/integration/replication.tcl
@@ -78,7 +78,7 @@ start_server {tags {"repl"}} {
}
proc start_write_load {host port seconds} {
- exec tclsh8.5 tests/helpers/gen_write_load.tcl $host $port $seconds &
+ exec tclsh tests/helpers/gen_write_load.tcl $host $port $seconds &
}
proc stop_write_load {handle} {
diff --git a/tests/test_helper.tcl b/tests/test_helper.tcl
index b2e58b4..253e955 100644
--- a/tests/test_helper.tcl
+++ b/tests/test_helper.tcl
@@ -2,6 +2,8 @@
# This softare is released under the BSD License. See the COPYING file for
# more information.
+package require Tcl 8.5
+
set tcl_precision 17
source tests/support/redis.tcl
source tests/support/server.tcl
@@ -189,7 +191,7 @@ proc test_server_main {} {
set start_port [expr {$::port+100}]
for {set j 0} {$j < $::numclients} {incr j} {
set start_port [find_available_port $start_port]
- set p [exec tclsh8.5 [info script] {*}$::argv \
+ set p [exec tclsh [info script] {*}$::argv \
--client $port --port $start_port &]
lappend ::clients_pids $p
incr start_port 10

@ -1,107 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/redis-2.4.16.ebuild,v 1.3 2012/09/12 15:52:37 neurogeek Exp $
EAPI="4"
inherit autotools eutils flag-o-matic user
DESCRIPTION="A persistent caching system, key-value and data structures database."
HOMEPAGE="http://redis.io/"
SRC_URI="http://redis.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc test"
SLOT="0"
RDEPEND="tcmalloc? ( dev-util/google-perftools )
jemalloc? ( >=dev-libs/jemalloc-3.0 )"
DEPEND=">=sys-devel/autoconf-2.63
test? ( dev-lang/tcl )
${RDEPEND}"
REQUIRED_USE="tcmalloc? ( !jemalloc )
jemalloc? ( !tcmalloc )"
S="${WORKDIR}/${PN}-${PV/_/-}"
REDIS_PIDDIR=/var/run/redis/
REDIS_PIDFILE=${REDIS_PIDDIR}/redis.pid
REDIS_DATAPATH=/var/lib/redis
REDIS_LOGPATH=/var/log/redis
REDIS_LOGFILE=${REDIS_LOGPATH}/redis.log
pkg_setup() {
enewgroup redis 75
enewuser redis 75 -1 ${REDIS_DATAPATH} redis
if use tcmalloc ; then
export EXTRA_EMAKE="${EXTRA_EMAKE} USE_TCMALLOC=yes"
elif use jemalloc ; then
export EXTRA_EMAKE="${EXTRA_EMAKE} JEMALLOC_SHARED=yes"
else
export EXTRA_EMAKE="${EXTRA_EMAKE} FORCE_LIBC_MALLOC=yes"
fi
}
src_prepare() {
epatch "${FILESDIR}/redis-2.4.3-shared.patch"
epatch "${FILESDIR}/redis-2.4.4-tcmalloc.patch"
if use jemalloc ; then
sed -i -e "s/je_/j/" src/zmalloc.c src/zmalloc.h
fi
# now we will rewrite present Makefiles
local makefiles=""
for MKF in $(find -name 'Makefile' | cut -b 3-); do
mv "${MKF}" "${MKF}.in"
sed -i -e 's:$(CC):@CC@:g' \
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
-e 's: $(DEBUG)::g' \
-e 's:$(OBJARCH)::g' \
-e 's:ARCH:TARCH:g' \
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
"${MKF}.in" \
|| die "Sed failed for ${MKF}"
makefiles+=" ${MKF}"
done
# autodetection of compiler and settings; generates the modified Makefiles
cp "${FILESDIR}"/configure.ac-2.2 configure.ac
sed -i -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
configure.ac || die "Sed failed for configure.ac"
eautoconf
}
src_install() {
# configuration file rewrites
insinto /etc/
sed -r \
-e "/^pidfile\>/s,/var.*,${REDIS_PIDFILE}," \
-e '/^daemonize\>/s,no,yes,' \
-e '/^# bind/s,^# ,,' \
-e '/^# maxmemory\>/s,^# ,,' \
-e '/^maxmemory\>/s,<bytes>,67108864,' \
-e "/^dbfilename\>/s,dump.rdb,${REDIS_DATAPATH}/dump.rdb," \
-e "/^dir\>/s, .*, ${REDIS_DATAPATH}/," \
-e '/^loglevel\>/s:debug:notice:' \
-e "/^logfile\>/s:stdout:${REDIS_LOGFILE}:" \
<redis.conf \
>redis.conf.gentoo
newins redis.conf.gentoo redis.conf
use prefix || fowners redis:redis /etc/redis.conf
fperms 0644 /etc/redis.conf
newconfd "${FILESDIR}/redis.confd" redis
newinitd "${FILESDIR}/redis.initd" redis
nonfatal dodoc 00-RELEASENOTES BUGS CONTRIBUTING README TODO
dobin src/redis-cli
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-dump
fperms 0750 /usr/sbin/redis-benchmark
if use prefix; then
diropts -m0750
else
diropts -m0750 -o redis -g redis
fi
keepdir ${REDIS_DATAPATH} ${REDIS_LOGPATH}
}

@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/redis-2.4.17.ebuild,v 1.2 2012/10/08 05:15:34 robbat2 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/redis-2.6.9.ebuild,v 1.1 2013/01/24 12:09:13 djc Exp $
EAPI="4"
EAPI=4
inherit autotools eutils flag-o-matic user
@ -16,7 +16,7 @@ IUSE="+jemalloc tcmalloc test"
SLOT="0"
RDEPEND="tcmalloc? ( dev-util/google-perftools )
jemalloc? ( >=dev-libs/jemalloc-3.0 )"
jemalloc? ( >=dev-libs/jemalloc-3.2 )"
DEPEND=">=sys-devel/autoconf-2.63
test? ( dev-lang/tcl )
${RDEPEND}"
@ -25,23 +25,14 @@ REQUIRED_USE="tcmalloc? ( !jemalloc )
S="${WORKDIR}/${PN}-${PV/_/-}"
REDIS_PIDDIR=/var/run/redis/
REDIS_PIDFILE=${REDIS_PIDDIR}/redis.pid
REDIS_DATAPATH=/var/lib/redis
REDIS_LOGPATH=/var/log/redis
REDIS_LOGFILE=${REDIS_LOGPATH}/redis.log
pkg_setup() {
enewgroup redis 75
enewuser redis 75 -1 ${REDIS_DATAPATH} redis
enewuser redis 75 -1 /var/lib/redis redis
}
src_prepare() {
epatch "${FILESDIR}/redis-2.4.3-shared.patch"
epatch "${FILESDIR}/redis-2.4.4-tcmalloc.patch"
if use jemalloc ; then
sed -i -e "s/je_/j/" src/zmalloc.c src/zmalloc.h
fi
epatch "${FILESDIR}/${PN}-2.6.7"-{shared,config}.patch
epatch "${FILESDIR}/${P}"-tclsh86.patch
# now we will rewrite present Makefiles
local makefiles=""
for MKF in $(find -name 'Makefile' | cut -b 3-); do
@ -63,6 +54,14 @@ src_prepare() {
eautoconf
}
src_configure() {
econf
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
# also, don't define ANSI/c99 for lua twice
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
}
src_compile() {
local myconf=""
@ -71,44 +70,32 @@ src_compile() {
elif use jemalloc ; then
myconf="${myconf} JEMALLOC_SHARED=yes"
else
myconf="${myconf} FORCE_LIBC_MALLOC=yes"
myconf="${myconf} MALLOC=yes"
fi
emake ${myconf}
}
src_install() {
# configuration file rewrites
insinto /etc/
sed -r \
-e "/^pidfile\>/s,/var.*,${REDIS_PIDFILE}," \
-e '/^daemonize\>/s,no,yes,' \
-e '/^# bind/s,^# ,,' \
-e '/^# maxmemory\>/s,^# ,,' \
-e '/^maxmemory\>/s,<bytes>,67108864,' \
-e "/^dbfilename\>/s,dump.rdb,${REDIS_DATAPATH}/dump.rdb," \
-e "/^dir\>/s, .*, ${REDIS_DATAPATH}/," \
-e '/^loglevel\>/s:(verbose|debug):notice:' \
-e "/^logfile\>/s:stdout:${REDIS_LOGFILE}:" \
<redis.conf \
>redis.conf.gentoo
newins redis.conf.gentoo redis.conf
use prefix || fowners redis:redis /etc/redis.conf
fperms 0644 /etc/redis.conf
doins redis.conf sentinel.conf
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
fperms 0644 /etc/{redis,sentinel}.conf
newconfd "${FILESDIR}/redis.confd" redis
newinitd "${FILESDIR}/redis.initd" redis
nonfatal dodoc 00-RELEASENOTES BUGS CONTRIBUTING README
nonfatal dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README
dobin src/redis-cli
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-dump
fperms 0750 /usr/sbin/redis-benchmark
dosym /usr/sbin/redis-server /usr/sbin/redis-sentinel
if use prefix; then
diropts -m0750
else
diropts -m0750 -o redis -g redis
fi
keepdir ${REDIS_DATAPATH} ${REDIS_LOGPATH}
keepdir /var/{log,lib}/redis
}

@ -1,8 +1,3 @@
DIST parrot-4.10.0.tar.gz 4567705 SHA256 82f38e6e596ab101c52313ad3e3560d2c8a72985362b54d9898619ab17a6f17d SHA512 e1f20c27107270f452ba3ba5aa8cdda77754c53e8e31d15c1024781c54b5ed6b68029288a1d9967c42e4cb2c9895e70eef3a94fb7ee112a12e2dc74765d13fd8 WHIRLPOOL 59eab631bdf3d8d12f460b94f9a3114bea7c0f9c2a78f4304ca8cdc9266217687200fe01db1eac4a1fa454d56b0bf00dc6c137fe651a6fef5530d6e403ee3c70
DIST parrot-4.11.0.tar.gz 4626678 SHA256 46de72022dfe521fb8c5d95453e1d091d4d20d8f7ca4f2ed0cd1420b682f20dc SHA512 b24862e84287c76121213068b432f5af48b3494bb7a0271cb9b76dc0641fe844522fb051800417aff58463cb01633c6e91c0f1390c5566244081b755223dc202 WHIRLPOOL 4fdd3b98099058d74838c58583cbdc2f2460efd54daaa10655f277eb41aa44d47bb6a8aba2e62940f6646836cb4824518ae22df2b5bd84a6f449df7a67a322d1
DIST parrot-4.4.0.tar.bz2 4324058 SHA256 348ce13fc136afc74a7b50b094f64d8cb00f83f0cd3d59acc6fa4e63c824fa4d SHA512 da7659ac62a86df9004dd789255570547afa19ae045515bf8bb4eafb00fe2615b353b3f597108d18b68c7f513cfcf4359c2fe656c917b97f12977e01342b100c WHIRLPOOL 9e2a1dee83539d4a2e9509d5ce0d93ec36f81954436cd29be26bf3a4e9671f1b5994cd1ab7d993e1250a5112806b20c8bf939fa2f0ee3cbb8cd5b4e0f2650ab9
DIST parrot-4.5.0.tar.bz2 4331710 SHA256 74996076eb9dbe0f2442e0ae9c0cb5c3e9d5f49a266368eee01f4ab30c6d2808 SHA512 ea468823db32f54cb4314b34fff87da1d4e62aa278c73fdb265ce8af0b0f048fd22426108dad355c086b2ef26509b9df36960d9f13a2553392ef69618322a449 WHIRLPOOL 111ddc48e47803d94b8d9d9415c3e965bb8534279ea3461fd6d5d874b485ea887136d1120de69eb73ccda2892a1363453db9acb445082203f937e78b273d8dfc
DIST parrot-4.6.0.tar.bz2 4331714 SHA256 31d48e348eab418d5d9d9f9bb24d628763ff90c608d21b1944c227b6938a69d1 SHA512 dd715e4f66aaa739353b5a43a79047d234247f0d1d727d3f73e80358000dc933e32d706f40a27d57127c7728683c5aa8bc851aa2ceb80f9e25008360d20efba0 WHIRLPOOL bc12b26c7cb5158adc066ec5f6e00ea0ef49d16bab24f0fec6e28c104ac3b30016bd3892485fbdb2b52e1bb8866db3aefad7d4d2bec70025c76abc0c5d6fce30
DIST parrot-4.7.0.tar.bz2 4333224 SHA256 4360ac3dffafffaa00bce561c1329df8ad134019f76930cf24e7a875a4422a90 SHA512 d67d9fb097b3a47c1220aa1548c37a2dd63c925f4fd9e18efa258a23917df8d6c37f6fc0ff6439f5164700d8eae9c699cb21dc9d0e2a41213be8be7232abe244 WHIRLPOOL ce22ac06fa1d015d9208805785613d5f73f8f03121bf3afbe4d7e3fa606a34f361d68513a9d7b6ebaaff8b7c0e1d664486c4dcbb9c705098ba8095221781ac1f
DIST parrot-4.8.0.tar.bz2 4355830 SHA256 b6f9a72b8e4b8af4f85b00f565b8c3225ad631a28d5a7b25f2b0e6fd3bcc8aa7 SHA512 9c3492beecfbb50fedb30954635eddf88a4d260836aacdea1068f57b696f7b2f389532931fa47e24fde8adae1002bcbb212e3492b919b834b1a149345c77237b WHIRLPOOL 5f28f9d8cf15bcc78a02a6b46ba8089d8af1e8423aa26f6223330577f0b11da5fd6809b9d32e0103f009b23aafbf7612a31aea8a19aefeda6ca6494a73657277
DIST parrot-4.9.0.tar.bz2 4363047 SHA256 638cba16b47bd5c6dfb4c9106f17961b0496d65c321279a16032ef6667d3ae4d SHA512 ca21668505aaa1a32468f775fb92b403ae6e44efcd58beca82dabae425f43260e7e5d9c3fbb1295260b8bf30e9834f19f15ba2202e0989c88e4f783333f1f923 WHIRLPOOL 78ee73d551eabbad11913c5539db8731f413dfb9ee622ebbede31a6eb85efd9feea61b112e21ed087b1379c8ca50c7cee1af27afa921ed8a7608e51102764698
DIST parrot-5.0.0.tar.gz 4596149 SHA256 47faa48bbba9b644bcef4d712e0c66c06d61b23a047ad3a5db6f001590c273df SHA512 fff66777f47eacf6bfa75156a11db45447c4c77c2b12b3e08a83e35e750a9e788bc3739b2146463c4dff1ab7a5a60f84b89e398c576d89e3b09475e0733592ad WHIRLPOOL 3d176b758f63f875509361851b826507d74b4d4d687d0ff15af2321fc521af7f6d3aa72702beda669ddaab0cd3f79dbe108fef6c872540608ab35f54951acfd5

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

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

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

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

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

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-4.6.0.ebuild,v 1.1 2012/07/19 06:05:32 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-5.0.0.ebuild,v 1.1 2013/01/24 07:05:49 patrick Exp $
EAPI=3
@ -8,7 +8,7 @@ inherit eutils multilib
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
HOMEPAGE="http://www.parrot.org/"
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/stable/${PV}/${P}.tar.bz2"
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/stable/${PV}/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"

@ -1 +1,2 @@
DIST busybee-0.1.0.tar.gz 328831 SHA256 7837c9f66cba77be904cb7ab9da5d35e6acf2cfb23bac20b9c5d17d4b5201398 SHA512 0844f21c0e73f7a9843b71a7f05869b179f19b79c046909205357a95a1865d02079d8c9b3517cf32a6e1c187c91552d68b245cb23ab91782345d6a9172dd123c WHIRLPOOL af631df9047088ab59bb6176727947265514434c7287f5eaaac326d318cbedbbce3eefa9841bd0f38080267486cc91032e11e129279b72beb3e044b2773f3919
DIST busybee-0.2.1.tar.gz 354939 SHA256 bf54c42803feb4947e40f21a3f88d34dec9174f5b265732235704e9a7d29e5d0 SHA512 45fac4bc21ee007782b76545f4ea4c9eb7ed6e5eee7d80419fadbbce88b36966a59a50001f1a6ce0b03d966976cd51a825f14573b52670bf94b5d07c8238318d WHIRLPOOL c3ae80781aac6b130b87c510ba523288f88f35b3796946140ef522a030e84d1e40650427e30ff2340edf7c6a46cf9fc61f302612db274e0942b516af2c5b4bc9

@ -0,0 +1,18 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/busybee/busybee-0.2.1.ebuild,v 1.1 2013/01/24 05:47:36 patrick Exp $
EAPI=4
DESCRIPTION="A messaging abstraction on top of TCP sockets used in HyperDex"
HOMEPAGE="http://hyperdex.org"
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="dev-libs/libpo6
dev-libs/libe"
RDEPEND="${DEPEND}"

@ -0,0 +1 @@
DIST leveldb-1.9.0.tar.gz 203872 SHA256 b2699b04e5aba8e98382c4955b94725d1f76bd0b5decd60c5628205b717a1d4f SHA512 47b0a3272eef2d677ddeb8d0c973e59a1be4bff580528c3bc3f83a654f41485ecc86892d9124ce21ef747c220f98cdad687436849dc978adfd42f8c8c05b9160 WHIRLPOOL 301ba45968095420ff72da36f128bd916d4e039385270eecd8e077aac3781ed12931c9a7d426842e197fd62a99ad6477e5eabbca7524fcba2a185a702f4ef22a

@ -0,0 +1,29 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.9.0.ebuild,v 1.2 2013/01/24 06:35:10 patrick Exp $
EAPI=4
PYTHON_DEPEND="2:2.6"
inherit eutils multilib
DESCRIPTION="A fast key-value storage library written at Google"
HOMEPAGE="http://code.google.com/p/leveldb/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_install() {
mkdir -p "${D}/usr/include"
cp -r include/* "${D}/usr/include" || die
dolib.so libleveldb.so.${PV/.0} || die
dosym libleveldb$(get_libname ).1.9 /usr/$(get_libdir)/libleveldb$(get_libname ) || die
dosym libleveldb$(get_libname ).1.9 /usr/$(get_libdir)/libleveldb$(get_libname ).1 || die
dolib.a libleveldb.a || die
}

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
</pkgmetadata>

@ -1 +1,2 @@
DIST libe-0.2.7.tar.gz 369243 SHA256 8487d71da2ffca47f2cb96ff1b69e7ed3e7fe2591da0f79708129bf18a567307 SHA512 24c4e832cc070fd0e5d7b27ea21094e056516afe67b99b6492d427f0bb2977b169cec8c1d06b897d46db14005e3cffdb83e56e7fa0c2a078324e4b961a25e84e WHIRLPOOL 1751444bac4658ac80cc75e8c41028ec04dce5b55654512948e724b4450dc698da2253e2088b98bad06838321931b5240bdd1ba4a7f44711c0bb36e9cb68f2dc
DIST libe-0.3.0.tar.gz 380895 SHA256 a5bc37f9cf3367df6c198f91f914f7b09e4f156d63b9d4665dfe680ec38aa4e9 SHA512 ebf6b379bfd28c3e12f25794746ad214b849e7b0bc36361623d9810d2af1c846238750ed543ed1c82b2caace1a20fefa01011049de28e1fb41c1bf473ed5d934 WHIRLPOOL db8bf09e73cd1df63ff2064d905b542b78b748bb223ae3886f43e8981fedb5f39c18129d10bca42ba2338a6cd023172bb68fb4141b5db45695a68a3162273153

@ -0,0 +1,20 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/libe-0.3.0.ebuild,v 1.1 2013/01/24 05:46:14 patrick Exp $
EAPI=4
inherit eutils
DESCRIPTION="Hyperdex libe support library"
HOMEPAGE="http://hyperdex.org"
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-libs/libpo6"
DEPEND="${RDEPEND}
virtual/pkgconfig"

@ -4,8 +4,10 @@ DIST libnl-3.2.16.tar.gz 712043 SHA256 c43a42336c6a3cf559f390e202f8f029d165bd767
DIST libnl-3.2.18.tar.gz 739175 SHA256 6563e4e72a35f9f96380086f6bd17307552977af98e98bd3dd0fdde8013d53a9 SHA512 448968a698f22427e3eb7846cd0ad71a227e1ac998d9eab0c338a0d0811cd82953c676282d62e82441f2362493b3b9597330a8f916eb785ffd9f8854af2a509e WHIRLPOOL b88a3a425a82acea69f2bee74b171d9a0f51509bc1752877a8c6eb56d69b4dea176d289d524401c9ec392243887760ae76497fb29c0b83afd2f9956d07a92997
DIST libnl-3.2.19.tar.gz 740008 SHA256 37a611ad84e84a15daf2736cdd2c5191f3af4e1b12354f7d260f0264383b098b SHA512 1a4c0f9cc0a274749f442d0c4a386c5d65b904384bef1e866c768422d0f542607dc8f65604f44241347ee31c1dc0c8ee63f216fabd81219d6d93a19d076ab54d WHIRLPOOL 2c44cec21eb3ed2c2ecbe894dbae178b2c0297d2bfdbf9f110b1c899436bbec8b942f6c06770674404570288e27af29f9c80bc50640813c0560f6fa5859d6643
DIST libnl-3.2.20.tar.gz 716354 SHA256 9fce0b8f946312b3b47ef469ba372dc370821aee9d8795bdc42f5121bee2d237 SHA512 23a427254346d6725bb2be5768cdc887bf56a865f13088eac565abc9ccb7a57b4b956b90aa63fbf7dce4b8135db07cafd4d44aa8783a802156e1e934df49c9f8 WHIRLPOOL e5400e95a874273443096ec5cc6346431b31d5edbd8edf07955251228250852421662f94e5a7a001e2efbbb70b8cc59fd7a6e8c1b51623e6ea57d3958681e050
DIST libnl-3.2.21.tar.gz 716377 SHA256 2dc80f043116ec8610d9d418f5f5e9283f3d9a3a48b8d51a8cb0146b3f279604 SHA512 d0efd2d536c2c58f4bcf8cace2f8a13e0d788c4cb2d189e3afd995a0fcdcb861c6606cb3efa223d4426d0f74daecf888fafadbfcf9adbbb64b56c5da5eefa4fa WHIRLPOOL f2cf29c4713c49b9baa58b178f6155c2ca05139e7320404b71bdf52bd8d68ebee42ace7fe2bb6d4d19d487108f836ea343ed58b1a8980fa97158ebc258c068b0
DIST libnl-doc-3.2.14.tar.gz 8766064 SHA256 1db05aaa61c14ee578fa432cc1973a73379abe175859ef9e92ea033eae005e43 SHA512 2692f6d4c3e3a9d4fe9cc210fdb03751356daaebe19f8d9041804252a6c220dfc7ad4e72da428b56ade30afa2ef3ec3b6c86416f07b12013403dad8f735b0c0b WHIRLPOOL f55436bc28750f4d4d1bf716fc73e36a01b27d8799c0b2d8fee785db3da935fae4c4ab05a03dd4c65b9ef0cc32d2c112182b4e343e97b116a28da90e3035d96c
DIST libnl-doc-3.2.16.tar.gz 11792430 SHA256 71c9aef7bf1495b5c2a488abf247ab5a4744783e8b4c6641b0bbb8e28d92605f SHA512 9224f308e3f01fd7a2d98f0cca0bf6f6d6535cfdc905c61bbb242c788a7c6121dee80c135552fd87a6e0dce31be4dea89e981066982f9d4f96b29f35ce92458c WHIRLPOOL 58902aff10580f1374dca9885060a20d32aedf1264c628c0105a860c8870d1ff9f4491a5b16389fb677815ae19aa98b9218ca3ce46385510d4bc88d0f5e574f9
DIST libnl-doc-3.2.18.tar.gz 11717270 SHA256 60c8a4893138f655f34019bacec022dd3b5930fced839e9aa6405b69e903099e SHA512 c1036ee0005e71fc604125ad505e01ba248124f0cf0efdf741f7bb844296fb462f10b0735dcc42f3cabc9f52b022352cd681306432189df98bc36c1c1af6c3dd WHIRLPOOL 4af9a7b5edc27c82102e32c59d35815078830a67c0566690e60d3ab9cbeef786417abe538bc897fdbfda771e0004c0ed7b58f0ac271ed7e5dbdb68d9554e5596
DIST libnl-doc-3.2.19.tar.gz 11740382 SHA256 77adb00d09af87136c0e2b7109f4ceb4519bbd594e6b541e76d3a8e8ff273228 SHA512 56b1cb809f4445fd380c58aca899a480b3fc9d35c749a7be5185e183dfb76ccbb93b7100dbc8f944aba14b6ebeedaed252b67b19f6e0896993921ef0ec40fe4b WHIRLPOOL 356644823a79f01e950140eb84d89c9a4945ae2a9b7e42f63071c9d5347c75e3d012cba5e1de4298f23651f86f9f35e99594dfb57b93c23bec904dac823da916
DIST libnl-doc-3.2.20.tar.gz 11750911 SHA256 7ec13ef8d659ee61114b74c6e30b61f18f4acd466c8a0a13588e42443cb2f9aa SHA512 3b74c5d7e5d95611b2914e701672dbb3f3c6d0a8cddcd2a985ba934eae2367b1815749fa91253394540bc2e6cb1df5705117e91d248a70d8cdc7663891072684 WHIRLPOOL a3462c467b1503cacd810325c696965d09159273d3d34584d38dbcd64be0e55895f2978f2f34dbb7e124063b1e0f6c8c9d1505cf2df1ea86f70429b954786606
DIST libnl-doc-3.2.21.tar.gz 11576303 SHA256 85c53d79bf561aca79450ba1a650d2d738d0597c350129270eec265f3813a39c SHA512 6956ca909b44900b8485d9676bc000aae8c8cc18716a0eb7c704cb807b9f931a409456e66fd2e2bf063d1001445b4d73243a5b3fa4f182264674ca70b9099d71 WHIRLPOOL fae571813de8fd1bb20a01afa9bc5af267efc863a368116e35d37b323e9832d83e79ff367cc62c1e42bf06af3a874d47d6da8912eb13ddbcfc652458c4f3a78f

@ -0,0 +1,49 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.21.ebuild,v 1.1 2013/01/24 14:33:07 jer Exp $
EAPI=4
inherit eutils libtool multilib
DESCRIPTION="A library for applications dealing with netlink socket"
HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
SRC_URI="
http://www.infradead.org/~tgr/${PN}/files/${P}.tar.gz
doc? ( http://www.infradead.org/~tgr/${PN}/files/${PN}-doc-${PV}.tar.gz )
"
LICENSE="LGPL-2.1 doc? ( GPL-2 ) utils? ( GPL-2 )"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="doc static-libs utils"
DEPEND="
sys-devel/flex
sys-devel/bison
"
src_prepare() {
elibtoolize
epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch
epatch "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
epatch "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
}
src_configure() {
econf \
--disable-silent-rules \
$(use_enable static-libs static) \
$(use_enable utils cli)
}
src_install() {
default
if use doc; then
dohtml -r \
-a css,html,js,map,png \
"${WORKDIR}"/${PN}-doc-${PV}/*
fi
prune_libtool_files $(usex static-libs --modules --all)
dodoc ChangeLog
}

@ -1 +1,2 @@
DIST libpo6-0.2.3.tar.gz 110849 SHA256 f3cfe664515643a36e7abe96fcba9a111c5e5a9544fc649da58328c395ca08fb SHA512 cc02a3a84ba4978d7694dcc557f019c7f271afd7819c9739a49958e97393e641d1623bdf08a2d9cefb14db2509d9f85bf1dd6db29d25ea297dcf2c6db8040583 WHIRLPOOL bc3567c51b1393c4e5ecf489854fc1329c8298c795dc94278fff5c700bdc7f72cc8869a2d857724d49e7bebbea0d0c086ede905ea8d116dc07fd4f97f0b03e06
DIST libpo6-0.3.0.tar.gz 106688 SHA256 bdcb2bf212d9f53e3973a61846f9e60abab40e7bedf841fa66af624e379e5ae5 SHA512 3676ca92c20414031e91ac0eaa16f1048fc62df87517e848b8252e3b432c780b389576866a11b753d1126909f4589aa4677cf5c1306282cf950dbd9462f30d82 WHIRLPOOL d90024b281c0bff42132ecdeb593a2bbfc7e448464776214279033a90571b1f4de546b97a36214b87506eac2b54c40684182f51065aed460d811f4a0d5dcfea6

@ -0,0 +1,17 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpo6/libpo6-0.3.0.ebuild,v 1.1 2013/01/24 05:46:55 patrick Exp $
EAPI=4
DESCRIPTION="Hyperdex libpo6 support library"
HOMEPAGE="http://hyperdex.org"
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"

@ -0,0 +1 @@
DIST replicant-0.1.0.tar.gz 391607 SHA256 e3a1bfd88161092acc842894014e9b88da8301e89cf85eb873e0a4104b4e72ae SHA512 eb95885ffdd60850004f440cbd058cdf593f91bf3931cdf8307b034c06408e977741584b60921f2b9557aaab0a623144fc39c6ad553d5c7074c39a45bf1386c1 WHIRLPOOL c8681fd36c22bfd76efa9fb4f9060ff6ad83f490cda76a82c53915df3d2c256ab4dcd783bffc88f729e03502bed488dd5911390e648169c96e5326a94e8c7fa8

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1,21 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/replicant/replicant-0.1.0.ebuild,v 1.1 2013/01/24 06:37:51 patrick Exp $
EAPI=4
DESCRIPTION="Hyperdex replicant support library"
HOMEPAGE="http://hyperdex.org"
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=">=dev-libs/libpo6-0.2
>=dev-libs/libe-0.2
>=dev-libs/busybee-0.2
dev-libs/leveldb
dev-cpp/glog"
RDEPEND="${DEPEND}"

@ -1,11 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Bio-SamTools/Bio-SamTools-1.370.0.ebuild,v 1.1 2013/01/23 10:53:12 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Bio-SamTools/Bio-SamTools-1.370.0-r1.ebuild,v 1.1 2013/01/24 07:58:57 jlec Exp $
EAPI=4
MODULE_AUTHOR=LDS
MODULE_VERSION=1.33
MODULE_VERSION=1.37
inherit perl-module
DESCRIPTION="Read SAM/BAM database files"
@ -24,10 +24,16 @@ DEPEND="${RDEPEND}
SRC_TEST=do
src_prepare() {
sed -i -e 's|my $HeaderFile = "bam.h";|my $HeaderFile = "bam/bam.h";|' \
-e 's|my $LibFile = "libbam.a";|my $LibFile = "libbam.so";|' Build.PL || die
sed -i -e 's|#include "bam.h"|#include "bam/bam.h"|' \
sed \
-e 's|my $HeaderFile = "bam.h";|my $HeaderFile = "bam/bam.h";|' \
-e 's|my $LibFile = "libbam.a";|my $LibFile = "libbam.so";|' \
-i Build.PL || die
sed \
-e 's|#include "bam.h"|#include "bam/bam.h"|' \
-e 's|#include "sam.h"|#include "bam/sam.h"|' \
-e 's|#include "khash.h"|#include "bam/khash.h"|' \
-e 's|#include "faidx.h"|#include "bam/faidx.h"|' lib/Bio/DB/Sam.xs || die
-e 's|#include "faidx.h"|#include "bam/faidx.h"|' \
-i lib/Bio/DB/Sam.xs c_bin/bam2bedgraph.c || die
perl-module_src_prepare
}

@ -1 +1,2 @@
DIST Bio-SamTools-1.33.tar.gz 332340 SHA256 b908b829b76097b4ee8015fe0271a2bd56a1bbaa2ca6698a96c741d80d2dfc70 SHA512 946407ee7bed66c43ce56c7e68fb4d2b790caa0d97aa8645e4243147e14a1ad1c4d96ce3a566d5520163328fd9934926b246473a1efbfd4cac32b1c7663e9a1e WHIRLPOOL d1a92ad3ae11e8441c59433180584921313fdacfe0e5e1ffe7afd0677fc723541889719b9ac428d81be1f48f90391633e07cfab1a2ffe7f6eb5f076eb60cc8af
DIST Bio-SamTools-1.37.tar.gz 335234 SHA256 27d60817018512c95f516b1c7328434756c9d651b200e2dcaf62f6c82f1ca220 SHA512 43a535b33a171f9faaf50d1cc9ca9c653dd8f4e3d7c030d3f5a839cefea19c6bb8e518d96605ef57cae195a6f98f55ced954be84f0b4a3c1c45b0290380e1ffe WHIRLPOOL 55c36936e0e45884332a54de4df07a0d3ed16fe4ace663e47eeb167aeeddeba9ef605acb2ecfcc62d2e813cb891cc8ad40488da7ae9b771dc15f7d5e428c4de7

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.7-r2.ebuild,v 1.1 2013/01/16 10:10:32 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.7-r2.ebuild,v 1.2 2013/01/24 16:07:48 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
@ -76,7 +76,8 @@ python_test() {
}
python_install() {
insinto "$(python_get_includedir)"
local incdir=$(python_get_includedir)
insinto "${incdir#${EPREFIX}}"
doins libImaging/{Imaging.h,ImPlatform.h}
wrap_phase distutils-r1_python_install

@ -0,0 +1,501 @@
https://github.com/construct/construct/commit/63b966c871e608350f0d2733076e25f46b68412f
https://github.com/construct/construct/issues/15, filed by Arfrever, 20th. Jan 2013
diff -ur construct-2.5.0.orig/construct/formats/filesystem/fat16.py construct-2.5.0/construct/formats/filesystem/fat16.py
--- construct/formats/filesystem/fat16.py 2012-12-23 05:38:00.000000000 +0800
+++ construct/formats/filesystem/fat16.py 2013-01-24 22:55:23.140548648 +0800
@@ -1,228 +1,226 @@
# fat.py; ad-hoc fat16 reader
-# by Bram Westerbaan <bram@westerbaan.name>
+# by Bram Westerbaan <bram@westerbaan.name>
#
# references:
-# http://en.wikipedia.org/wiki/File_Allocation_Table
-# http://www.ecma-international.org/publications/standards/Ecma-107.htm
+# http://en.wikipedia.org/wiki/File_Allocation_Table
+# http://www.ecma-international.org/publications/standards/Ecma-107.htm
#
# example:
-# with open("/dev/sdc1") as file:
-# fs = FatFs(file)
-# for rootdir in fs:
-# print rootdir
+# with open("/dev/sdc1") as file:
+# fs = FatFs(file)
+# for rootdir in fs:
+# print rootdir
import numbers
from io import BytesIO, BufferedReader
from construct import Struct, Byte, Bytes, ULInt16, ULInt32, Enum, \
- Array, Padding, Embed, Pass, BitStruct, Flag, Const
+ Array, Padding, Embed, Pass, BitStruct, Flag, Const
def Fat16Header(name):
- return Struct(name,
- Bytes("jumpInstruction", 3),
- Bytes("creatingSystemId", 8),
- ULInt16("sectorSize"),
- Byte("sectorsPerCluster"),
- ULInt16("reservedSectorCount"),
- Byte("fatCount"),
- ULInt16("rootdirEntryCount"),
- ULInt16("sectorCount_small"),
- Byte("mediaId"),
- ULInt16("sectorsPerFat"),
- ULInt16("sectorsPerTrack"),
- ULInt16("sideCount"),
- ULInt32("hiddenSectorCount"),
- ULInt32("sectorCount_large"),
- Byte("physicalDriveNumber"),
- Byte("currentHead"),
- Byte("extendedBootSignature"),
- Bytes("volumeId", 4),
- Bytes("volumeLabel", 11),
- Const(Bytes("fsType", 8), "FAT16 "),
- Bytes("bootCode", 448),
- Const(Bytes("bootSectorSignature", 2), "\x55\xaa"))
+ return Struct(name,
+ Bytes("jumpInstruction", 3),
+ Bytes("creatingSystemId", 8),
+ ULInt16("sectorSize"),
+ Byte("sectorsPerCluster"),
+ ULInt16("reservedSectorCount"),
+ Byte("fatCount"),
+ ULInt16("rootdirEntryCount"),
+ ULInt16("sectorCount_small"),
+ Byte("mediaId"),
+ ULInt16("sectorsPerFat"),
+ ULInt16("sectorsPerTrack"),
+ ULInt16("sideCount"),
+ ULInt32("hiddenSectorCount"),
+ ULInt32("sectorCount_large"),
+ Byte("physicalDriveNumber"),
+ Byte("currentHead"),
+ Byte("extendedBootSignature"),
+ Bytes("volumeId", 4),
+ Bytes("volumeLabel", 11),
+ Const(Bytes("fsType", 8), "FAT16 "),
+ Bytes("bootCode", 448),
+ Const(Bytes("bootSectorSignature", 2), "\x55\xaa"))
def BootSector(name):
- header = Fat16Header("header")
- return Struct(name,
- Embed(header),
- Padding(lambda ctx: ctx.sectorSize - header.sizeof()))
+ header = Fat16Header("header")
+ return Struct(name,
+ Embed(header),
+ Padding(lambda ctx: ctx.sectorSize - header.sizeof()))
def FatEntry(name):
- return Enum(ULInt16(name),
- free_cluster = 0x0000,
- bad_cluster = 0xfff7,
- last_cluster = 0xffff,
- _default_ = Pass)
+ return Enum(ULInt16(name),
+ free_cluster = 0x0000,
+ bad_cluster = 0xfff7,
+ last_cluster = 0xffff,
+ _default_ = Pass)
def DirEntry(name):
- return Struct(name,
- Bytes("name", 8),
- Bytes("extension", 3),
- BitStruct("attributes",
- Flag("unused"),
- Flag("device"),
- Flag("archive"),
- Flag("subDirectory"),
- Flag("volumeLabel"),
- Flag("system"),
- Flag("hidden"),
- Flag("readonly")),
- # reserved
- Padding(10),
- ULInt16("timeRecorded"),
- ULInt16("dateRecorded"),
- ULInt16("firstCluster"),
- ULInt32("fileSize"))
+ return Struct(name,
+ Bytes("name", 8),
+ Bytes("extension", 3),
+ BitStruct("attributes",
+ Flag("unused"),
+ Flag("device"),
+ Flag("archive"),
+ Flag("subDirectory"),
+ Flag("volumeLabel"),
+ Flag("system"),
+ Flag("hidden"),
+ Flag("readonly")),
+ # reserved
+ Padding(10),
+ ULInt16("timeRecorded"),
+ ULInt16("dateRecorded"),
+ ULInt16("firstCluster"),
+ ULInt32("fileSize"))
def PreDataRegion(name):
- rde = DirEntry("rootdirs")
- fe = FatEntry("fats")
- return Struct(name,
- Embed(BootSector("bootSector")),
- # the remaining reserved sectors
- Padding(lambda ctx: (ctx.reservedSectorCount - 1)
- * ctx.sectorSize),
- # file allocation tables
- Array(lambda ctx: (ctx.fatCount),
- Array(lambda ctx: ctx.sectorsPerFat *
- ctx.sectorSize / fe.sizeof(), fe)),
- # root directories
- Array(lambda ctx: (ctx.rootdirEntryCount*rde.sizeof())
- / ctx.sectorSize, rde))
+ rde = DirEntry("rootdirs")
+ fe = FatEntry("fats")
+ return Struct(name,
+ Embed(BootSector("bootSector")),
+ # the remaining reserved sectors
+ Padding(lambda ctx: (ctx.reservedSectorCount - 1)
+ * ctx.sectorSize),
+ # file allocation tables
+ Array(lambda ctx: (ctx.fatCount),
+ Array(lambda ctx: ctx.sectorsPerFat *
+ ctx.sectorSize / fe.sizeof(), fe)),
+ # root directories
+ Array(lambda ctx: (ctx.rootdirEntryCount*rde.sizeof())
+ / ctx.sectorSize, rde))
class File(object):
- def __init__(self, dirEntry, fs):
- self.fs = fs
- self.dirEntry = dirEntry
-
- @classmethod
- def fromDirEntry(cls, dirEntry, fs):
- if dirEntry.name[0] in "\x00\xe5\x2e":
- return None
- a = dirEntry.attributes
- #Long file name directory entry
- if a.volumeLabel and a.system and a.hidden and a.readonly:
- return None
- if a.subDirectory:
- return Directory(dirEntry, fs)
- return File(dirEntry, fs)
-
- @classmethod
- def fromDirEntries(cls, dirEntries, fs):
- return filter(None, [cls.fromDirEntry(de, fs)
- for de in dirEntries])
-
- def toStream(self, stream):
- self.fs.fileToStream(self.dirEntry.firstCluster, stream)
-
- @property
- def name(self):
- return "%s.%s" % (self.dirEntry.name.rstrip(),
- self.dirEntry.extension)
-
- def __str__(self):
- return "&%s %s" % (self.dirEntry.firstCluster, self.name)
+ def __init__(self, dirEntry, fs):
+ self.fs = fs
+ self.dirEntry = dirEntry
+
+ @classmethod
+ def fromDirEntry(cls, dirEntry, fs):
+ if dirEntry.name[0] in "\x00\xe5\x2e":
+ return None
+ a = dirEntry.attributes
+ #Long file name directory entry
+ if a.volumeLabel and a.system and a.hidden and a.readonly:
+ return None
+ if a.subDirectory:
+ return Directory(dirEntry, fs)
+ return File(dirEntry, fs)
+
+ @classmethod
+ def fromDirEntries(cls, dirEntries, fs):
+ return filter(None, [cls.fromDirEntry(de, fs)
+ for de in dirEntries])
+
+ def toStream(self, stream):
+ self.fs.fileToStream(self.dirEntry.firstCluster, stream)
+
+ @property
+ def name(self):
+ return "%s.%s" % (self.dirEntry.name.rstrip(),
+ self.dirEntry.extension)
+
+ def __str__(self):
+ return "&%s %s" % (self.dirEntry.firstCluster, self.name)
class Directory(File):
- def __init__(self, dirEntry, fs, children=None):
- File.__init__(self, dirEntry, fs)
- self.children = children
- if not self.children:
- self.children = File.fromDirEntries(\
- self.fs.getDirEntries(\
- self.dirEntry.firstCluster), fs)
-
- @property
- def name(self):
- return self.dirEntry.name.rstrip()
-
- def __str__(self):
- return "&%s %s/" % (self.dirEntry.firstCluster, self.name)
-
- def __getitem__(self, name):
- for file in self.children:
- if file.name == name:
- return file
-
- def __iter__(self):
- return iter(self.children)
-
+ def __init__(self, dirEntry, fs, children=None):
+ File.__init__(self, dirEntry, fs)
+ self.children = children
+ if not self.children:
+ self.children = File.fromDirEntries(\
+ self.fs.getDirEntries(\
+ self.dirEntry.firstCluster), fs)
+
+ @property
+ def name(self):
+ return self.dirEntry.name.rstrip()
+
+ def __str__(self):
+ return "&%s %s/" % (self.dirEntry.firstCluster, self.name)
+
+ def __getitem__(self, name):
+ for file in self.children:
+ if file.name == name:
+ return file
+
+ def __iter__(self):
+ return iter(self.children)
+
class FatFs(Directory):
- def __init__(self, stream):
- self.stream = stream
- self.pdr = PreDataRegion("pdr").parse_stream(stream)
- Directory.__init__(self, dirEntry = None,
- fs = self, children = File.fromDirEntries(
- self.pdr.rootdirs, self))
-
- def fileToStream(self, clidx, stream):
- for clidx in self.getLinkedClusters(clidx):
- self.clusterToStream(clidx, stream)
-
- def clusterToStream(self, clidx, stream):
- start, todo = self.getClusterSlice(clidx)
- self.stream.seek(start)
- while todo > 0:
- read = self.stream.read(todo)
- if not len(read):
- print "failed to read %s bytes at %s" % (
- todo, self.stream.tell())
- raise EOFError()
- todo -= len(read)
- stream.write(read)
-
- def getClusterSlice(self, clidx):
- startSector = self.pdr.reservedSectorCount \
- + self.pdr.fatCount * self.pdr.sectorsPerFat \
- + (self.pdr.rootdirEntryCount * 32) \
- / self.pdr.sectorSize \
- + (clidx-2) * self.pdr.sectorsPerCluster
- start = startSector * self.pdr.sectorSize
- length = self.pdr.sectorSize * self.pdr.sectorsPerCluster
- return (start, length)
-
- def getLinkedClusters(self, clidx):
- res = []
- while clidx != "last_cluster":
- if not isinstance(clidx, numbers.Real):
- print clidx
- assert False
- assert 2 <= clidx <= 0xffef
- res.append(clidx)
- clidx = self.getNextCluster(clidx)
- assert clidx not in res
- return res
-
- def getNextCluster(self, clidx):
- ress = set([fat[clidx] for fat in self.pdr.fats])
- if len(ress)==1:
- return ress.pop()
- print "inconsistencie between FATs: %s points to" % clidx
- for i,fat in enumerate(self.pdr.fats):
- print "\t%s according to fat #%s" % (fat[clidx],i)
- res = ress.pop()
- print "assuming %s" % res
- return res
-
- def getDirEntries(self, clidx):
- try:
- for de in self._getDirEntries(clidx):
- yield de
- except IOError:
- print "failed to read directory entries at %s" % \
- clidx
-
- def _getDirEntries(self, clidx):
- de = DirEntry("dirEntry")
- with BytesIO() as mem:
- self.fileToStream(clidx, mem)
- mem.seek(0)
- with BufferedReader(mem) as reader:
- while reader.peek(1):
- yield de.parse_stream(reader)
- def __str__(self):
- return "/"
-
- @property
- def name(self):
- return ""
+ def __init__(self, stream):
+ self.stream = stream
+ self.pdr = PreDataRegion("pdr").parse_stream(stream)
+ Directory.__init__(self, dirEntry = None,
+ fs = self, children = File.fromDirEntries(
+ self.pdr.rootdirs, self))
+
+ def fileToStream(self, clidx, stream):
+ for clidx in self.getLinkedClusters(clidx):
+ self.clusterToStream(clidx, stream)
+
+ def clusterToStream(self, clidx, stream):
+ start, todo = self.getClusterSlice(clidx)
+ self.stream.seek(start)
+ while todo > 0:
+ read = self.stream.read(todo)
+ if not len(read):
+ print("failed to read %s bytes at %s" % (todo, self.stream.tell()))
+ raise EOFError()
+ todo -= len(read)
+ stream.write(read)
+
+ def getClusterSlice(self, clidx):
+ startSector = self.pdr.reservedSectorCount \
+ + self.pdr.fatCount * self.pdr.sectorsPerFat \
+ + (self.pdr.rootdirEntryCount * 32) \
+ / self.pdr.sectorSize \
+ + (clidx-2) * self.pdr.sectorsPerCluster
+ start = startSector * self.pdr.sectorSize
+ length = self.pdr.sectorSize * self.pdr.sectorsPerCluster
+ return (start, length)
+
+ def getLinkedClusters(self, clidx):
+ res = []
+ while clidx != "last_cluster":
+ if not isinstance(clidx, numbers.Real):
+ print(clidx)
+ assert False
+ assert 2 <= clidx <= 0xffef
+ res.append(clidx)
+ clidx = self.getNextCluster(clidx)
+ assert clidx not in res
+ return res
+
+ def getNextCluster(self, clidx):
+ ress = set([fat[clidx] for fat in self.pdr.fats])
+ if len(ress)==1:
+ return ress.pop()
+ print("inconsistencie between FATs: %s points to" % clidx)
+ for i,fat in enumerate(self.pdr.fats):
+ print("\t%s according to fat #%s" % (fat[clidx], i))
+ res = ress.pop()
+ print ("assuming %s" % res)
+ return res
+
+ def getDirEntries(self, clidx):
+ try:
+ for de in self._getDirEntries(clidx):
+ yield de
+ except IOError:
+ print("failed to read directory entries at %s" % clidx)
+
+ def _getDirEntries(self, clidx):
+ de = DirEntry("dirEntry")
+ with BytesIO() as mem:
+ self.fileToStream(clidx, mem)
+ mem.seek(0)
+ with BufferedReader(mem) as reader:
+ while reader.peek(1):
+ yield de.parse_stream(reader)
+ def __str__(self):
+ return "/"
+
+ @property
+ def name(self):
+ return ""
diff -ur construct-2.5.0.orig/construct/formats/graphics/gif.py construct-2.5.0/construct/formats/graphics/gif.py
--- construct/formats/graphics/gif.py 2012-12-23 05:34:15.000000000 +0800
+++ construct/formats/graphics/gif.py 2013-01-24 22:57:23.101553912 +0800
@@ -1,24 +1,25 @@
# Contributed by
# Dany Zatuchna (danzat at gmail)
""" Implementation of the following grammar for the GIF89a file format
-<GIF Data Stream> ::= Header <Logical Screen> <Data>* Trailer
+<GIF Data Stream> ::= Header <Logical Screen> <Data>* Trailer
-<Logical Screen> ::= Logical Screen Descriptor [Global Color Table]
+<Logical Screen> ::= Logical Screen Descriptor [Global Color Table]
-<Data> ::= <Graphic Block> |
- <Special-Purpose Block>
+<Data> ::= <Graphic Block> |
+<Special-Purpose Block>
-<Graphic Block> ::= [Graphic Control Extension] <Graphic-Rendering Block>
+<Graphic Block> ::= [Graphic Control Extension] <Graphic-Rendering Block>
-<Graphic-Rendering Block> ::= <Table-Based Image> |
- Plain Text Extension
+<Graphic-Rendering Block> ::= <Table-Based Image> |
+Plain Text Extension
-<Table-Based Image> ::= Image Descriptor [Local Color Table] Image Data
+<Table-Based Image> ::= Image Descriptor [Local Color Table] Image Data
-<Special-Purpose Block> ::= Application Extension |
- Comment Extension
+<Special-Purpose Block> ::= Application Extension |
+Comment Extension
"""
from construct import *
+import six
data_sub_block = Struct("data_sub_block",
@@ -49,8 +50,8 @@
)
gif_header = Struct("gif_header",
- Const(String("signature", 3), "GIF"),
- Const(String("version", 3), "89a")
+ Const(String("signature", 3), six.b("GIF")),
+ Const(String("version", 3), six.b("89a")),
)
application_extension = Struct("application_extension",
@@ -140,11 +141,11 @@
gif_header,
gif_logical_screen,
OptionalGreedyRange(gif_data),
- Const(ULInt8("trailer"), 0x3B)
+ #Const(ULInt8("trailer"), 0x3B)
)
if __name__ == "__main__":
- f = open("white.gif", "r")
+ f = open("../../../tests/sample.gif", "rb")
s = f.read()
f.close()
- print gif_file.parse(s)
+ print(gif_file.parse(s))

@ -0,0 +1,35 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyconstruct/pyconstruct-2.5.0-r1.ebuild,v 1.1 2013/01/24 15:31:19 idella4 Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython"
inherit distutils eutils
MY_PN="construct"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A powerful declarative parser for binary data"
HOMEPAGE="http://construct.wikispaces.com/ http://pypi.python.org/pypi/construct"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools
dev-python/six"
RDEPEND=""
S="${WORKDIR}/${MY_P}"
PYTHON_MODNAME="construct"
src_prepare() {
distutils_src_prepare
epatch "${FILESDIR}"/${P}-fixpy3.patch
}

@ -1,14 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/pylibmc-1.2.3.ebuild,v 1.1 2012/05/08 09:18:53 djc Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibmc/pylibmc-1.2.3.ebuild,v 1.2 2013/01/24 12:17:24 djc Exp $
EAPI="3"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
EAPI="5"
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
inherit distutils
inherit distutils-r1
DESCRIPTION="Libmemcached wrapper written as a Python extension"
HOMEPAGE="http://sendapatch.se/projects/pylibmc/ http://pypi.python.org/pypi/pylibmc"
@ -17,18 +14,26 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
IUSE="test"
RDEPEND=">=dev-libs/libmemcached-0.32"
DEPEND="${RDEPEND}"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
src_prepare() {
distutils_src_prepare
python_prepare_all() {
sed -e "/with-info=1/d" -i setup.cfg
distutils-r1_python_prepare_all
}
src_test() {
memcached -d -u nobody -p 11219 -l localhost -P "${T}/memcached.pid"
MEMCACHED_PORT=11219 distutils_src_test
kill "$(<"${T}/memcached.pid")"
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
}
python_test() {
local PIDDIR="${T}/${EPYTHON}-pylibmc"
mkdir "${PIDDIR}" || die
chmod 0777 "${PIDDIR}" || die
memcached -d -p 11219 -u nobody -l localhost -P "${PIDDIR}/m.pid" || die
MEMCACHED_PORT=11219 nosetests || die
kill `cat "${PIDDIR}/m.pid"`
}

@ -1,2 +1,3 @@
DIST python-prctl-1.3.1.tar.gz 23304 SHA256 6a6d8989bbe932618f6325a5157c741ea2891b41e76a08e8c6db3ee47cb5cd6e SHA512 8e42e93c68f16720ed8e9badd7fc42d82b30e093517d79906b5618d091931cf06720c736e34ed02211e0efd9ff22b96a3de8b0b9ebcd73f3cfc8c8d8b345f70a WHIRLPOOL e9e7beb319092597900d6fbb676e7149b6882dcaf4b69a10e193ad78956b74c3c921568556bcbdb2889139df5789cbd74323ae764ec0485dd62d4b646533da77
DIST python-prctl-1.4.0.tar.gz 23993 SHA256 a89590ca981bd6634fa184501b67620e3ccc35636d88ef1f2ed4e533cb358926 SHA512 95170cfc67004d385fe10ed212fee0b65cc1634c2cc6fa9699f0321c9230f7c6d95844b8e8bc498ffe4377d6f2ee7e2552d184a57720e466b3ce45fbaad0a3e2 WHIRLPOOL 6973be6181bc0ed2f7a3ed067c50b271e9f68730deddd7205bbbf6cc5fc4005e406f9ed97091567f4949ce01d60df25d78ddde9fcf504a335f879136069def61
DIST python-prctl-1.5.0.tar.gz 25024 SHA256 04fb4360b4f60e0ee6e3ae02ab4a478dc9d67486dbfc6e1d176af96b4e456fa7 SHA512 46500432fdeaef5f1ca370db0cbaa4d752d78434d10581a16dd131104db0996a9844fa604763f0220d0ba2250f1a6890ec0cdf1c491c8823f19d601376e6686f WHIRLPOOL c1620790aaf1145eea5e1ec681d2a2765ed6ea023991b24b1115209cd80b6fd49d8c5321f655c227c7a4ecf3c8141895e8f321d05cda4fb901634e3df604d57a

@ -0,0 +1,30 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-prctl/python-prctl-1.5.0.ebuild,v 1.1 2013/01/24 08:55:36 patrick Exp $
EAPI=3
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
DESCRIPTION="Control process attributes through prctl"
HOMEPAGE="http://github.com/seveas/python-prctl"
SRC_URI="http://github.com/seveas/${PN}/tarball/v${PV} -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="sys-libs/libcap"
DEPEND="${RDEPEND}"
PYTHON_MODNAME="prctl.py"
src_unpack() {
unpack ${A}
mv *-${PN}-* "${S}"
}

@ -1 +1,2 @@
DIST sphinxcontrib-issuetracker-0.10.1.tar.gz 28733 SHA256 01c4ed2297e4dca34ca6094ef210344e05070f0dcfe85d12ab4c66ada6323de6 SHA512 5adde2defb7a5b21215725d7ae1e236bc02a526a261215aa5aa3e236870993e3a23d4b925523bf74eb89b8dab28d0fe44d6b68a0ed2df445b77305ee2b988d53 WHIRLPOOL 8b2bdf90fde02dc11c4eafdabbb8089d3bd0a22d148550a445e2a88ddd04b96273e93d946703eff5a6dc8f0d00e754a49cd388a0229c080063c54ce65b36aa5c
DIST sphinxcontrib-issuetracker-0.11.tar.gz 30351 SHA256 843753d8b5e989116378ab45ecccb368fb78dc56eaa1554ed25e4fbf22745f4e SHA512 fb4a977bea22451a3d90b16821fc2a38ed53b17913666ca250e9aab8bb1726bbdb52fb2b6dbb2ae512a0ca6cc3d33dcddeba758c02c77b099180443d67e147c9 WHIRLPOOL f49f01b6b9de9bb21473ee810c9bb663ec76e7744c4c58b96c698d1ffb177bdcda08c9de60311d62789a065fd0322336a60930715d362691e74458070df2c7ca

@ -0,0 +1,43 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11.ebuild,v 1.1 2013/01/24 08:47:17 patrick Exp $
EAPI="4"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.6"
RESTRICT_PYTHON_ABIS="2.5 3.*"
PYTHON_TESTS_RESTRICTED_ABIS="*-jython *-pypy-*"
DISTUTILS_SRC_TEST="py.test"
inherit distutils
DESCRIPTION="Extension to sphinx to create links to issue trackers"
HOMEPAGE="http://sphinxcontrib-issuetracker.readthedocs.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=">=dev-python/requests-0.13
>=dev-python/sphinx-1.1"
DEPEND="${RDEPEND}
dev-python/setuptools
test? (
dev-python/mock
dev-python/pyquery
)"
PYTHON_MODNAME="${PN/-//}"
src_prepare() {
distutils_src_prepare
# test requires network access (bug #425694)
rm tests/test_builtin_trackers.py || die
# Tests from tests/test_stylesheet.py require dev-python/PyQt4[X,webkit]
# and virtualx.eclass.
rm tests/test_stylesheet.py || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sudsds/sudsds-1.0.1.ebuild,v 1.2 2013/01/07 11:58:16 scarabeus Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/sudsds/sudsds-1.0.1.ebuild,v 1.3 2013/01/24 14:06:13 idella4 Exp $
EAPI="4"
PYTHON_DEPEND="2"
@ -25,16 +25,19 @@ RDEPEND=""
src_compile() {
distutils_src_compile
buildDocs() {
PYTHONPATH=$(ls -d build-${PYTHON_ABI}/lib/) \
epydoc -n "Sudsds - ${DESCRIPTION}" -o doc ${PN} || die "Generation of documentation failed"
}
if use doc; then
einfo "Generation of documentation"
epydoc -n "Sudsds - ${DESCRIPTION}" -o doc ${PN} || die "Generation of documentation failed"
python_execute_function -f buildDocs
fi
}
src_install() {
distutils_src_install
if use doc; then
dohtml -r doc/* || die "Installation of documentation failed"
fi
use doc && dohtml -r doc/
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sexp_processor/sexp_processor-3.2.0.ebuild,v 1.10 2013/01/21 16:00:59 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sexp_processor/sexp_processor-3.2.0.ebuild,v 1.11 2013/01/24 16:36:09 jer Exp $
EAPI=4
@ -17,7 +17,7 @@ HOMEPAGE="http://www.zenspider.com/ZSS/Products/ParseTree/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_bdepend "

@ -1,3 +1,4 @@
DIST ZenTest-4.7.0.gem 68096 SHA256 3c6cf0c9ca0461683ed08013edfdec936bfc549f06c00d9cc739f980b2aa70bf SHA512 a7d66f53301143bb71fd8c2f72494d0ac14bd3faaad24d1e7edb85fa8ea12b1587abfa580042a5de27a75bdff65af8a0648e79f264bb84ff9179896ddd2ec334 WHIRLPOOL 66ec799c2165c67b969c459138043093c66c76c9b25fcb9418727e3c5b24720c52003eb5a9cbd26e304c8f3804101f259c0368926ffe1d3770358a8a1e0ec20a
DIST ZenTest-4.8.2.gem 68608 SHA256 4b5af0805b855ce03dc74e97db683974e71f710333a099f6dc368f6e52726c83 SHA512 d3cf05f946c2bb5fd776253203382aabf97e3f81a6633fc55c2005a5d124eaa37bf5ac27621b5461fa1c81f9bc2522486f472a66726c92337a66b286098024a7 WHIRLPOOL b7e2cfd623f3061b4858c94db2feaf3a94b6e23c5858e5467848defc250d23926a25c140d75c0e095e0dc279eb6df1d0f88ccb5a539d83194af5ab0b65b0632d
DIST ZenTest-4.8.3.gem 68608 SHA256 ae5d35ce508a56120ce8c20f4a1344072cd5da0929dc1fd33688c7eedac662f6 SHA512 11fc3e0d3d6ebca38c90dc53ced39fbce3dc3c612fedde23c44137b70f1be0fd63a2d02f206fafbbe0c15ce0af0626d103762f114e08b8cbfe489540e4874d0b WHIRLPOOL 32ce86fdb7cc98d5ead17b7d4d20c5ff885874c86ddd933e9fc8930c65daef32aa7c1ad148d3be00443a27cdb02fccdd044251aebbddffda746fa967764fc13c
DIST ZenTest-4.8.4.gem 68608 SHA256 39cf67a76c3a66c932ce8769b8cca27b75763950f2822c06f4de6161ab46931c SHA512 4b36bdeb550748f99cf6e030c0dbce3a3d96579155b787688b4f57760bd3d97e28c02cb00c2f88c6d8605a2f0ff2f65bcf82577abcac6f759c7d81007456676d WHIRLPOOL 3e2f6079d60afe755830a993cafc332ddf1ea7c97338ae88c57f3d7022c67afb20d2c6ae380b30a033e3e316cd06de28f89ae228d56507e52bab8c01ac75f45d

@ -0,0 +1,34 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/zentest/zentest-4.8.4.ebuild,v 1.1 2013/01/24 07:33:52 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ree18 ruby19 jruby"
RUBY_FAKEGEM_NAME=ZenTest
RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README.txt History.txt example.txt example1.rb example2.rb example_dot_autotest.rb"
inherit ruby-fakegem
DESCRIPTION="ZenTest provides tools to support testing: zentest, unit_diff, autotest, multiruby, and Test::Rails"
HOMEPAGE="http://rubyforge.org/projects/zentest/"
LICENSE="Ruby"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE=""
ruby_add_bdepend "
doc? (
>=dev-ruby/hoe-2.10
dev-ruby/hoe-seattlerb
)
test? (
>=dev-ruby/hoe-2.10
dev-ruby/hoe-seattlerb
virtual/ruby-minitest
)"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r5.ebuild,v 1.1 2013/01/09 17:06:52 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r5.ebuild,v 1.2 2013/01/24 16:47:12 jer Exp $
EAPI=4
@ -15,7 +15,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/"
SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="~alpha ~amd64 hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
SLOT="0"
IUSE="alsa examples python threads vorbis"

@ -1 +1,2 @@
DIST pkg-config-0.27.1.tar.gz 1908265 SHA256 4f63d0df3035101b12949250da5231af49e3c3afcd8fb18554fa7c3cb92d8c17 SHA512 f9c6d013848c3d9868e99a2cbf16e6735ca6ca12ff5a0b18d536a135aadd72dc2be1afcc962c866bc3c7301150e805d1630ea510d0e4ee222cb5c9f70b8fd675 WHIRLPOOL faf2c74a9bc021a94d9a4c3942dc26fcfb99df5ce4b89b5ace84b0c81f1573f3440ed8ee5643dcb3f87455c3d026beb866a03d0ae77118dfa79e5f45c27884b1
DIST pkg-config-0.28.tar.gz 1931203 SHA256 6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845 SHA512 6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320 WHIRLPOOL db4ddb4ce61724e629931c5ffccb4d7a551b4dc0f4efed5a966822307e4b5a786adee5705dd80ec0a9aa32cb1af9ad9615e307360e131fc34688207216161486

@ -0,0 +1,82 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig/pkgconfig-0.28.ebuild,v 1.1 2013/01/24 14:32:04 ssuominen Exp $
EAPI=5
inherit flag-o-matic libtool multilib
MY_P=pkg-config-${PV}
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="git://anongit.freedesktop.org/pkg-config"
inherit autotools git-2
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SRC_URI="http://pkgconfig.freedesktop.org/releases/${MY_P}.tar.gz"
fi
DESCRIPTION="Package config system that manages compile/link flags"
HOMEPAGE="http://pkgconfig.freedesktop.org/wiki/"
LICENSE="GPL-2"
SLOT="0"
IUSE="elibc_FreeBSD hardened internal-glib"
RDEPEND="!internal-glib? ( >=dev-libs/glib-2.30 )
!dev-util/pkgconf[pkg-config]
!dev-util/pkg-config-lite
!dev-util/pkgconfig-openbsd[pkg-config]"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
DOCS=( AUTHORS NEWS README )
src_prepare() {
sed -i -e "s|^prefix=/usr\$|prefix=${EPREFIX}/usr|" check/simple.pc || die #434320
if [[ ${PV} == *9999* ]]; then
eautoreconf
else
elibtoolize # Required for FreeMiNT wrt #333429
fi
}
src_configure() {
local myconf
if use internal-glib; then
myconf+=' --with-internal-glib'
else
if ! has_version dev-util/pkgconfig; then
export GLIB_CFLAGS="-I${EPREFIX}/usr/include/glib-2.0 -I${EPREFIX}/usr/$(get_libdir)/glib-2.0/include"
export GLIB_LIBS="-lglib-2.0"
fi
fi
use ppc64 && use hardened && replace-flags -O[2-3] -O1
# Force using all the requirements when linking, so that needed -pthread
# lines are inherited between libraries
use elibc_FreeBSD && myconf+=' --enable-indirect-deps'
[[ ${PV} == *9999* ]] && myconf+=' --enable-maintainer-mode'
econf \
--docdir="${EPREFIX}"/usr/share/doc/${PF}/html \
--with-system-include-path="${EPREFIX}"/usr/include \
--with-system-library-path="${EPREFIX}"/usr/$(get_libdir) \
${myconf}
}
src_install() {
default
if use prefix; then
# Add an explicit reference to $EPREFIX to PKG_CONFIG_PATH to
# simplify cross-prefix builds
echo "PKG_CONFIG_PATH=${EPREFIX}/usr/$(get_libdir)/pkgconfig:${EPREFIX}/usr/share/pkgconfig" >> "${T}"/99${PN}
doenvd "${T}"/99${PN}
fi
}

@ -0,0 +1,155 @@
From: Julian Ospald <hasufell@gentoo.org>
Date: Thu Jan 24 13:13:50 UTC 2013
Subject: build system
- fix opencv module to prefer pkg-config results
- fix some module and macro names and try to use
system modules as much as possible (ALSA Boost Gettext Jpeg Png Tiff Z)
--- cmake/Modules/FindOpenCV.cmake
+++ cmake/Modules/FindOpenCV.cmake
@@ -57,13 +57,21 @@
include(FindPkgConfig)
if(PKG_CONFIG_FOUND)
pkg_check_modules(OPENCV_PKGCONF opencv)
- set(OpenCV_DIR ${OPENCV_PKGCONF_PREFIX})
- if(EXISTS "${OpenCV_DIR}")
- set(OpenCV_configScript_DIR "${OpenCV_DIR}/share/opencv")
- if(EXISTS "${OpenCV_configScript_DIR}")
- set(OpenCV_configScript "${OpenCV_configScript_DIR}/OpenCVConfig.cmake")
- endif(EXISTS "${OpenCV_configScript_DIR}")
- endif(EXISTS "${OpenCV_DIR}")
+ # prefer pkg-config values
+ if(OPENCV_PKGCONF_FOUND)
+ set(OpenCV_LIBS ${OPENCV_PKGCONF_LDFLAGS})
+ set(OpenCV_FOUND true)
+ set(OpenCV_INCLUDE_DIR ${OPENCV_PKGCONF_INCLUDE_DIRS})
+ set(OpenCV_VERSION ${OPENCV_PKGCONF_VERSION})
+ else(OPENCV_PKGCONF_FOUND)
+ set(OpenCV_DIR ${OPENCV_PKGCONF_PREFIX})
+ if(EXISTS "${OpenCV_DIR}")
+ set(OpenCV_configScript_DIR "${OpenCV_DIR}/share/opencv")
+ if(EXISTS "${OpenCV_configScript_DIR}")
+ set(OpenCV_configScript "${OpenCV_configScript_DIR}/OpenCVConfig.cmake")
+ endif(EXISTS "${OpenCV_configScript_DIR}")
+ endif(EXISTS "${OpenCV_DIR}")
+ endif(OPENCV_PKGCONF_FOUND)
endif(PKG_CONFIG_FOUND)
endif(NOT WIN32)
endif(NOT EXISTS "${OpenCV_DIR}")
@@ -72,7 +80,7 @@
##====================================================
## Find OpenCV libraries
##----------------------------------------------------
-if(EXISTS "${OpenCV_DIR}")
+if(EXISTS "${OpenCV_DIR}" AND NOT OpenCV_FOUND)
#When its possible to use the Config script use it.
if(EXISTS "${OpenCV_configScript}")
@@ -257,9 +265,9 @@
endif(${OpenCV_VERSION} VERSION_GREATER 2.1.0)
-else(EXISTS "${OpenCV_DIR}")
+else(EXISTS "${OpenCV_DIR}" AND NOT OpenCV_FOUND)
set(ERR_MSG "Please specify OpenCV directory using OpenCV_DIR env. variable")
-endif(EXISTS "${OpenCV_DIR}")
+endif(EXISTS "${OpenCV_DIR}" AND NOT OpenCV_FOUND)
##====================================================
##====================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -33,7 +33,7 @@
#need to put here do setting LOCALE_DIR variable
find_package(Gettext)
-if(Gettext_FOUND)
+if(GETTEXT_FOUND)
if(NOT LOCALE_DIR)
if(WIN32)
SET(LOCALE_DIR "bin/locale")
@@ -55,7 +55,7 @@
message(STATUS "Cannot find msgfmt to convert language file. Translation won't be enabled")
endif()
endif(NOT LOCALE_DIR)
-endif(Gettext_FOUND)
+endif(GETTEXT_FOUND)
add_subdirectory(themes)
add_subdirectory(data)
add_subdirectory(game)
--- game/CMakeLists.txt
+++ game/CMakeLists.txt
@@ -71,7 +71,7 @@
list(APPEND LIBS ${Boost_LIBRARIES})
# Find all the libs that don't require extra parameters
-foreach(lib ${OUR_LIBS} SDL PangoCairo LibRSVG LibXML++ GLEW AVFormat SWScale OpenGL Z Jpeg Png PortAudio)
+foreach(lib ${OUR_LIBS} SDL PangoCairo LibRSVG LibXML++ GLEW AVFormat SWScale OpenGL ZLIB JPEG PNG PortAudio)
find_package(${lib} REQUIRED)
include_directories(${${lib}_INCLUDE_DIRS})
list(APPEND LIBS ${${lib}_LIBRARIES})
@@ -79,7 +79,7 @@
endforeach(lib)
find_package(Gettext)
-if(Gettext_FOUND)
+if(GETTEXT_FOUND)
include_directories(${Gettext_INCLUDE_DIRS})
list(APPEND LIBS ${Gettext_LIBRARIES})
add_definitions("-DUSE_GETTEXT")
--- tools/CMakeLists.txt
+++ tools/CMakeLists.txt
@@ -6,7 +6,7 @@
include_directories(${Boost_INCLUDE_DIRS})
# Find all the libs that don't require extra parameters
-foreach(lib LibXML++ Magick++ Z Jpeg Tiff Png Freetype Z)
+foreach(lib LibXML++ Magick++ ZLIB JPEG TIFF PNG Freetype ZLIB)
find_package(${lib})
if (${lib}_FOUND)
include_directories(${${lib}_INCLUDE_DIRS})
@@ -24,13 +24,13 @@
if (LibXML++_FOUND)
if (Boost_FOUND)
if (Magick++_FOUND)
- if (Z_FOUND)
+ if (ZLIB_FOUND)
add_executable(ss_extract ss_extract.cpp pak.cpp ipu_conv.cpp ss_cover.cpp)
- target_link_libraries(ss_extract ${LibXML++_LIBRARIES} ${Boost_LIBRARIES} ${Magick++_LIBRARIES} ${Z_LIBRARIES} ${Jpeg_LIBRARIES} ${Tiff_LIBRARIES} ${Png_LIBRARIES} ${Freetype_LIBRARY} ${Magick++_LIBRARIES})
+ target_link_libraries(ss_extract ${LibXML++_LIBRARIES} ${Boost_LIBRARIES} ${Magick++_LIBRARIES} ${ZLIB_LIBRARIES} ${JPEG_LIBRARIES} ${TIFF_LIBRARIES} ${PNG_LIBRARIES} ${Freetype_LIBRARY} ${Magick++_LIBRARIES})
set(targets ${targets} ss_extract)
- else (Z_FOUND)
+ else (ZLIB_FOUND)
message("No zlib found, not building ss_extract")
- endif (Z_FOUND)
+ endif (ZLIB_FOUND)
else (Magick++_FOUND)
message("No Magick++ found, not building ss_extract")
endif (Magick++_FOUND)
@@ -40,7 +40,7 @@
if (Magick++_FOUND)
add_executable(ss_cover_conv cover_conv.cpp pak.cpp ss_cover.cpp)
- target_link_libraries(ss_cover_conv ${Magick++_LIBRARIES} ${LibXML++_LIBRARIES} ${Z_LIBRARIES} ${Jpeg_LIBRARIES} ${Tiff_LIBRARIES} ${Png_LIBRARIES} ${Freetype_LIBRARY} ${Magick++_LIBRARIES})
+ target_link_libraries(ss_cover_conv ${Magick++_LIBRARIES} ${LibXML++_LIBRARIES} ${ZLIB_LIBRARIES} ${JPEG_LIBRARIES} ${TIFF_LIBRARIES} ${PNG_LIBRARIES} ${Freetype_LIBRARY} ${Magick++_LIBRARIES})
set(targets ${targets} ss_cover_conv)
else (Magick++_FOUND)
message("No Magick++ found, not building ss_cover_conv")
@@ -58,13 +58,13 @@
target_link_libraries(ss_archive_extract ${Boost_LIBRARIES})
set(targets ${targets} ss_archive_extract)
- if (Z_FOUND)
+ if (ZLIB_FOUND)
add_executable(itg_pck itg_pck.cc)
- target_link_libraries(itg_pck ${Boost_LIBRARIES} ${Z_LIBRARIES})
+ target_link_libraries(itg_pck ${Boost_LIBRARIES} ${ZLIB_LIBRARIES})
set(targets ${targets} itg_pck)
add_executable(ss_chc_decode ss_chc_decode.cpp)
- target_link_libraries(ss_chc_decode ${Boost_LIBRARIES} ${Z_LIBRARIES})
+ target_link_libraries(ss_chc_decode ${Boost_LIBRARIES} ${ZLIB_LIBRARIES})
set(targets ${targets} ss_chc_decode)
endif()
endif (Boost_FOUND)

@ -6,7 +6,9 @@
Performous is an open-source rhythm/performance platform that contains singing, guitar/bass playing, drumming and dancing all in one game.
</longdescription>
<use>
<flag name="midi">Enable MIDI I/O support</flag>
<flag name="songs">Install a few demo songs</flag>
<flag name="tools">Install tools</flag>
<flag name="webcam">Enable Webcam support</flag>
</use>
</pkgmetadata>

@ -0,0 +1,101 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/performous-0.7.0-r1.ebuild,v 1.1 2013/01/24 17:04:10 hasufell Exp $
EAPI=5
CMAKE_REMOVE_MODULES="yes"
CMAKE_REMOVE_MODULES_LIST="FindALSA FindBoost FindGettext FindJpeg FindPng FindTiff FindZ"
inherit eutils base cmake-utils games
MY_PN=Performous
MY_P=${MY_PN}-${PV}
SONGS_PN=ultrastar-songs
DESCRIPTION="SingStar GPL clone"
HOMEPAGE="http://sourceforge.net/projects/performous/"
SRC_URI="mirror://sourceforge/performous/${P}.tar.bz2
songs? (
mirror://sourceforge/performous/${SONGS_PN}-restricted-3.zip
mirror://sourceforge/performous/${SONGS_PN}-jc-1.zip
mirror://sourceforge/performous/${SONGS_PN}-libre-3.zip
mirror://sourceforge/performous/${SONGS_PN}-shearer-1.zip
)"
LICENSE="GPL-2
songs? (
CCPL-Attribution-ShareAlike-NonCommercial-2.5
CCPL-Attribution-NonCommercial-NoDerivs-2.5
)"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="midi songs tools webcam"
RDEPEND="dev-cpp/glibmm
dev-cpp/libxmlpp
media-libs/portaudio
dev-libs/boost[threads(+)]
dev-libs/glib
dev-libs/libxml2
gnome-base/librsvg
media-gfx/imagemagick
virtual/jpeg
media-libs/libpng:0
media-libs/libsdl[joystick,video]
virtual/ffmpeg
virtual/opengl
virtual/glu
sys-libs/zlib
virtual/libintl
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/pango
midi? ( media-libs/portmidi )
webcam? ( media-libs/opencv )"
DEPEND="${RDEPEND}
media-libs/glew
sys-apps/help2man
sys-devel/gettext"
PATCHES=(
"${FILESDIR}"/${P}-libav.patch
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-linguas.patch
"${FILESDIR}"/${P}-desktop.patch
"${FILESDIR}"/${P}-cmake.patch
)
src_prepare() {
base_src_prepare
sed -i \
-e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
game/CMakeLists.txt \
|| die
strip-linguas -u lang
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_enable tools TOOLS)
$(usex midi "" "-DNO_PORTMIDI=ON")
$(usex webcam "" "-DNO_WEBCAM=ON")
-DCMAKE_VERBOSE_MAKEFILE=TRUE
-DSHARE_INSTALL="${GAMES_DATADIR}"/${PN}
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
if use songs ; then
insinto "${GAMES_DATADIR}"/${PN}
doins -r "${WORKDIR}/songs"
fi
dodoc docs/{Authors,DeveloperReadme,instruments,TODO}.txt
prepgamesdirs
}

@ -1,2 +1 @@
DIST openmsx-0.8.1.tar.gz 2834894 SHA256 5a882dfc1faa9bc30c055e1645f675c652b8173908991ed296dbc7359ca901e5 SHA512 339a314a61b66e333acde0006bdfef71b6c561b54c309a2d941c944ea668e286a0f007b2e4ef7c04f3aad19f2e4a2d5e2cf11a2482a160458f0cfb1670e9b7c6 WHIRLPOOL 2b7c22577355c90aeb1be81dddbb9e78541925947520a821f669b13d35672a28ea379823e8caf68aa1ff54de6d7f0fddc22d5e89eaae91acc0912dbc5389025a
DIST openmsx-0.9.1.tar.gz 2975351 SHA256 06b82dd7a06baa52ce3aa96545b28103328258e472bd5d99254f4af17492f33e SHA512 7c4d23963f33e3033dea1d0ad9351e4f38f7434e2e077b6f8fd00cf80e0160b45291ff19be71646178ecafa01e954267dfe4c815578d4abb14c8595a863f98ff WHIRLPOOL 5609f8afe98e52bf393ca9359fa6b48341ad059a910a6190a39c5cc7b226ee84e066e83c361e8a09cac32a3cffc90d9c3c3ed31992e21a25c24d6a3af681ea74

@ -1,13 +0,0 @@
http://openmsx.svn.sourceforge.net/viewvc/openmsx/openmsx/trunk/src/video/PNG.cc?r1=11609&r2=12214
--- src/video/PNG.cc
+++ src/video/PNG.cc
@@ -167,7 +167,7 @@
"Attempted to create a surface with excessive height: "
<< height << ", max " << MAX_SIZE);
}
- int bpp = png.info->channels * 8;
+ int bpp = png_get_channels(png.ptr, png.info) * 8;
assert(bpp == 24 || bpp == 32);
Uint32 redMask, grnMask, bluMask, alpMask;
if (OPENMSX_BIGENDIAN) {

@ -1,69 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/openmsx/openmsx-0.8.1.ebuild,v 1.5 2011/10/15 11:23:39 xarthisius Exp $
EAPI=2
inherit eutils games
DESCRIPTION="MSX emulator that aims for perfection"
HOMEPAGE="http://openmsx.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 x86"
IUSE=""
DEPEND="dev-lang/tcl
dev-libs/libxml2
media-libs/libpng
media-libs/libsdl[audio,video]
media-libs/glew
media-libs/sdl-image[png]
media-libs/sdl-ttf
virtual/opengl"
src_prepare() {
epatch "${FILESDIR}"/${P}-libpng15.patch
sed -i \
-e '/^LDFLAGS:=/d' \
-e '/LINK_FLAGS_PREFIX/d' \
-e '/LINK_FLAGS+=/s/-s//' \
-e '/LINK_FLAGS+=\$(TARGET_FLAGS)/s/$/ $(LDFLAGS)/' \
build/main.mk \
|| die
sed -i \
-e '/SYMLINK/s:true:false:' \
build/custom.mk \
|| die
sed -i -e 's/GPL.txt//' doc/node.mk || die
find share/extensions -type f -exec chmod -x '{}' +
}
src_compile() {
emake \
CXXFLAGS="${CXXFLAGS}" \
INSTALL_SHARE_DIR="${GAMES_DATADIR}"/${PN} \
|| die
}
src_install() {
emake \
INSTALL_BINARY_DIR="${D}${GAMES_BINDIR}" \
INSTALL_SHARE_DIR="${D}${GAMES_DATADIR}"/${PN} \
INSTALL_DOC_DIR="${D}"/usr/share/doc/${PF} \
install || die "emake install failed"
dodoc README
prepalldocs
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
elog "If you want to if you want to emulate real MSX systems and not"
elog "only the free C-BIOS machines, put the system ROMs in one of"
elog "the following directories: ${GAMES_DATADIR}/${PN}/systemroms"
elog "or ~/.openMSX/share/systemroms"
}

@ -1,3 +1 @@
DIST scummvm-1.4.0.tar.bz2 15580242 SHA256 494b12e90749aaa76304aa066c90eede8a5b4a8417900be9702a3e6ab484743d
DIST scummvm-1.4.1.tar.bz2 15703475 SHA256 fa0a7f0d59524611be0c5b9be9ac7f8e7a72bab1826732e056f88332aa3139da SHA512 c7b3247e3e855511c3f6b10508ccbbf3b3e1228500b48476c9271d3995a4c2790dc3771ea923a159f8a9347fab56ee9eda4a29d47f5cb7af07252c02c3038157 WHIRLPOOL 31bbb74cb9334f3e15ade961b4b02a52f9bcde5a28e960668ac65a4de8c99d25da1d9d318e2de7f203cbe72e141fa872dc90b3b93d34a1671c7cfc9589ba525f
DIST scummvm-1.5.0.tar.bz2 17455085 SHA256 81831cd878a8daad2976f65c92139a2102233082c7d2770579d7e425b19cea2e SHA512 a4ae0965fec7e065a46ee1a8a49897eb2fecaf7851590b5696d866a5f224d0491937f63e9e2e8ba797c7d9b8d7ff45fbaf12b4f17c3ddec0f9973a6a915ee1c5 WHIRLPOOL dd8842edc41de693043db5c5005670b37583cdd97a9124575b4f725e5c6a3cf16f4670624e32578936085829c8627caa07a49902d643103386ca633fe23d2c14

@ -1,82 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-1.4.0.ebuild,v 1.3 2012/01/28 15:22:05 phajdan.jr Exp $
EAPI=2
inherit eutils flag-o-matic games
DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures"
HOMEPAGE="http://scummvm.sourceforge.net/"
SRC_URI="mirror://sourceforge/scummvm/${P/_/}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
IUSE="alsa debug flac fluidsynth mp3 ogg vorbis"
RESTRICT="test" # it only looks like there's a test there #77507
RDEPEND=">=media-libs/libsdl-1.2.2[audio,joystick,video]
>media-libs/libmpeg2-0.3.1
sys-libs/zlib
ogg? ( media-libs/libogg media-libs/libvorbis )
vorbis? ( media-libs/libogg media-libs/libvorbis )
alsa? ( media-libs/alsa-lib )
mp3? ( media-libs/libmad )
flac? ( media-libs/flac )
fluidsynth? ( media-sound/fluidsynth )"
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )"
S=${WORKDIR}/${P/_/}
src_prepare() {
# -g isn't needed for nasm here
sed -i \
-e '/NASMFLAGS/ s/-g//' \
configure || die
sed -i \
-e '/INSTALL.*doc/d' \
-e '/INSTALL.*\/pixmaps/d' \
-e 's/-s //' \
ports.mk || die
}
src_configure() {
local myconf
if use vorbis || use ogg ; then
myconf="${myconf} --enable-vorbis"
else
myconf="${myconf} --disable-vorbis"
fi
# bug #137547
use fluidsynth || myconf="${myconf} --disable-fluidsynth"
use x86 && append-ldflags -Wl,-z,noexecstack
# NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
./configure \
--backend=sdl \
--host=$CHOST \
--enable-verbose-build \
--prefix=/usr \
--bindir="${GAMES_BINDIR}" \
--datadir="${GAMES_DATADIR}"/${PN} \
--libdir="${GAMES_LIBDIR}" \
--enable-zlib \
$(use_enable debug) \
$(use_enable alsa) \
$(use_enable mp3 mad) \
$(use_enable flac) \
$(use_enable x86 nasm) \
${myconf} || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS NEWS README TODO
doicon icons/scummvm.svg
make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
prepgamesdirs
}

@ -1,82 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-1.4.1.ebuild,v 1.3 2012/04/15 16:52:45 maekke Exp $
EAPI=2
inherit eutils flag-o-matic games
DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures"
HOMEPAGE="http://scummvm.sourceforge.net/"
SRC_URI="mirror://sourceforge/scummvm/${P/_/}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
IUSE="alsa debug flac fluidsynth mp3 ogg vorbis"
RESTRICT="test" # it only looks like there's a test there #77507
RDEPEND=">=media-libs/libsdl-1.2.2[audio,joystick,video]
>media-libs/libmpeg2-0.3.1
sys-libs/zlib
ogg? ( media-libs/libogg media-libs/libvorbis )
vorbis? ( media-libs/libogg media-libs/libvorbis )
alsa? ( media-libs/alsa-lib )
mp3? ( media-libs/libmad )
flac? ( media-libs/flac )
fluidsynth? ( media-sound/fluidsynth )"
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )"
S=${WORKDIR}/${P/_/}
src_prepare() {
# -g isn't needed for nasm here
sed -i \
-e '/NASMFLAGS/ s/-g//' \
configure || die
sed -i \
-e '/INSTALL.*doc/d' \
-e '/INSTALL.*\/pixmaps/d' \
-e 's/-s //' \
ports.mk || die
}
src_configure() {
local myconf
if use vorbis || use ogg ; then
myconf="${myconf} --enable-vorbis"
else
myconf="${myconf} --disable-vorbis"
fi
# bug #137547
use fluidsynth || myconf="${myconf} --disable-fluidsynth"
use x86 && append-ldflags -Wl,-z,noexecstack
# NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
./configure \
--backend=sdl \
--host=$CHOST \
--enable-verbose-build \
--prefix=/usr \
--bindir="${GAMES_BINDIR}" \
--datadir="${GAMES_DATADIR}"/${PN} \
--libdir="${GAMES_LIBDIR}" \
--enable-zlib \
$(use_enable debug) \
$(use_enable alsa) \
$(use_enable mp3 mad) \
$(use_enable flac) \
$(use_enable x86 nasm) \
${myconf} || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS NEWS README TODO
doicon icons/scummvm.svg
make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
prepgamesdirs
}

@ -1,2 +1 @@
DIST alienarena-7.53-linux20111227.tar.gz 440048351 SHA256 68bb1539c09cc572345ffc64a470dacbc27eb0074c76946694369fdb009c639f SHA512 fa85b62b1e09947047115e933e0bbe3c98a7d6a5f10f6bacfbb0a7447871fb5ab4981196fb81593f4c91e95dc72ccfe698242971e3c6d8235a5961ae718219e6 WHIRLPOOL 31c1a1dfa285bf30fe0be6365e73b9721a2d818526e6ae5e505d3350d56cd9b39025a8d55bfb88f8bf7fdd6e2c8d2c59ac99e63a097a038d7f9001e70f3d20af
DIST alienarena-7.60-linux20120629.tar.gz 510316326 SHA256 05e4ce83574996e20ab8047dc30a20bf3fae72c39727a3a0bcc04a25bf746e04 SHA512 ec16e2546f34115e31ab24de3b5100c014910c773d200fdaf4302cf2b6930a1487aeffa504bed10a8310d62e15fed1ff67c3d679c1abd5a9750e34cfcac55ffd WHIRLPOOL b0df1c364db4b3d3ae4b603d3c7b3f9cdea416b0cbd7bbc71a573291df2f5c35e6147efa4406fcb9d57829407280d79b0b30581a03f23ac253c7c026060e3810

@ -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/games-fps/alienarena/alienarena-20111227.ebuild,v 1.5 2012/06/09 03:53:33 mr_bones_ Exp $
EAPI=2
inherit autotools eutils games
MY_PN=alienarena-7.53
DESCRIPTION="Fast-paced multiplayer deathmatch game"
HOMEPAGE="http://red.planetarena.org/"
SRC_URI="http://icculus.org/alienarena/Files/${MY_PN}-linux${PV}.tar.gz"
LICENSE="GPL-2 free-noncomm"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="dedicated +dga +vidmode"
UIRDEPEND="virtual/jpeg
media-libs/openal
media-libs/libvorbis
media-libs/freetype:2
dev-games/ode[double-precision]
virtual/glu
virtual/opengl
dga? ( x11-libs/libXxf86dga )
vidmode? ( x11-libs/libXxf86vm )
net-misc/curl"
UIDEPEND="dga? ( x11-proto/xf86dgaproto )
vidmode? ( x11-proto/xf86vidmodeproto )"
RDEPEND="!dedicated? ( ${UIRDEPEND} )"
DEPEND="${RDEPEND}
!dedicated? ( ${UIDEPEND} )
virtual/pkgconfig"
S=${WORKDIR}/${MY_PN/_/.}
src_prepare() {
epatch "${FILESDIR}"/${P}-nodocs.patch
eautoreconf
}
src_configure() {
egamesconf \
--disable-silent-rules \
--disable-dependency-tracking \
--with-icondir=/usr/share/pixmaps \
--without-system-libode \
$(use_enable !dedicated client) \
$(use_with dga xf86dga) \
$(use_with vidmode xf86vm)
}
src_install() {
emake DESTDIR="${D}" install || die
mv "${D}${GAMES_BINDIR}/crx-ded" "${D}${GAMES_BINDIR}/${PN}-ded" || die
if ! use dedicated ; then
mv "${D}${GAMES_BINDIR}/crx" "${D}${GAMES_BINDIR}/${PN}" || die
make_desktop_entry ${PN} "Alien Arena"
fi
dodoc docs/README.txt README
prepgamesdirs
}

@ -1,16 +0,0 @@
diff -ru alienarena-7.51.orig/Makefile.am alienarena-7.51/Makefile.am
--- alienarena-7.51.orig/Makefile.am 2011-03-05 19:34:07.000000000 -0500
+++ alienarena-7.51/Makefile.am 2011-03-13 01:39:37.179366503 -0500
@@ -23,12 +23,6 @@
ACLOCAL_AMFLAGS = -I m4
# Alien Arena documents to be installed in $docdir
-if INSTALL_DOCS
-dist_doc_DATA = \
- docs/license.txt \
- docs/README.txt \
- README
-endif
# FUSE game server browser and Server management scripts
# COPYING and INSTALL are GNU/FSF-supplied documents.

@ -1 +1 @@
DIST ra3176.zip 138018848 RMD160 af1f8d8d67858238180528c80ff5227eaafb7467 SHA1 85e779592447307c78dcce75545a5239aa18a900 SHA256 c8da0edc55961e328dcc35e8d7b317b639b07129897cd39080151475cb7da34a
DIST ra3176.zip 138018848 SHA256 c8da0edc55961e328dcc35e8d7b317b639b07129897cd39080151475cb7da34a SHA512 64240dcb1460465eac5279162ed04b97f20bbf10437b1519b1da22c73368c9af0e57191b884fb2712cddd8e0086816a871ad0657dfdb73ab70940ec8f37daff9 WHIRLPOOL 3612c2c051f64c7914875cd4f015de82f1c1a5007590fea067d084c980f1a8a145216d3012f780fcf1627736b792aa47aec017937af4045f2212cbaf5d44f85e

@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-ra3/quake3-ra3-1.76-r1.ebuild,v 1.4 2009/10/10 17:28:56 nyhm Exp $
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-ra3/quake3-ra3-1.76-r1.ebuild,v 1.5 2013/01/24 06:55:38 tupone Exp $
EAPI=2
@ -16,3 +16,5 @@ SRC_URI="mirror://quakeunity/modifications/rocketarena3/ra3${PV/.}.zip"
LICENSE="freedist"
KEYWORDS="amd64 ~ppc x86"
IUSE="dedicated opengl"
QA_PREBUILT="${INS_DIR:1}/${MOD_DIR}/*so"

@ -1,2 +1 @@
DIST TrebTk1052.tar.gz 300722 RMD160 b4f777108172228c52e261ecfd1b24d867969288 SHA1 ce79f4f86ec2ff1865118fb116804275658c763d SHA256 58f2421516581e8a359aafd310f9d4673900263985e2ef0e160be928dab330c2
DIST trebuchet-1.075.tar.gz 339202 RMD160 55ecf4180b51b49a051720ca8d6c36a5c82f4467 SHA1 2119790aae462b06aeb7c1251336cc1566cdf741 SHA256 5dcf76a8eaf2836ef54114e7d78f58f55d9122be83daa37e32bd55ffe1e47dbf
DIST trebuchet-1.075.tar.gz 339202 SHA256 5dcf76a8eaf2836ef54114e7d78f58f55d9122be83daa37e32bd55ffe1e47dbf

@ -1,40 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-mud/trebuchet/trebuchet-1.052.ebuild,v 1.9 2011/12/09 19:04:45 mr_bones_ Exp $
EAPI=2
inherit games
MY_P="TrebTk${PV/./}"
DESCRIPTION="A crossplatform TCL/TK based MUD client"
HOMEPAGE="http://belfry.com/fuzzball/trebuchet/"
SRC_URI="mirror://sourceforge/trebuchet/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
RESTRICT="test"
RDEPEND=">=dev-lang/tk-8.3.3
dev-lang/tcl"
S=${WORKDIR}/${MY_P}
src_prepare() {
sed -i \
-e "/Nothing/d" \
-e "/LN/ s:../libexec:${GAMES_DATADIR}:" \
Makefile \
|| die "sed Makefile failed"
}
src_install() {
make prefix="${D}${GAMES_PREFIX}" \
ROOT="${D}${GAMES_DATADIR}/${PN}" \
install || die "make install failed"
# gui uses the COPYING file
cp COPYING "${D}${GAMES_DATADIR}/${PN}" || die "cp failed"
dodoc changes.txt ideas.txt proxysam.txt readme.txt trebtodo.txt
prepgamesdirs
}

@ -1,2 +1 @@
DIST puzzles-r9023.tar.gz 2952780 RMD160 3ccdecb005199df7097cb59c6a8089a58919a58b SHA1 6c8d57ddcc26bfa7f59bf49d9733767998881338 SHA256 f3ff8a3e4f33be808336b06ed6b0a360a4af960cc7482333d6a47b6651861802
DIST puzzles-r9306.tar.gz 2975070 RMD160 4fe6c06efc1d53d14d4ff580ad188712bb836984 SHA1 a03a1b3c83294f0f8b887432d233e9ca914df46d SHA256 940d0e6c16d1c7aaf27d375356da3e73ae55607113d245c7e697985ff7200c74
DIST puzzles-r9306.tar.gz 2975070 SHA256 940d0e6c16d1c7aaf27d375356da3e73ae55607113d245c7e697985ff7200c74

@ -1,22 +0,0 @@
--- mkfiles.pl.old
+++ mkfiles.pl
@@ -1110,8 +1110,8 @@
"\n".
&splitline("CFLAGS := -O2 -Wall -Werror -ansi -pedantic -g " .
(join " ", map {"-I$dirpfx$_"} @srcdirs) .
- " `\$(GTK_CONFIG) --cflags` \$(CFLAGS)")."\n".
- "XLIBS = `\$(GTK_CONFIG) --libs`\n".
+ " `pkg-config gtk+-2.0 --cflags` \$(CFLAGS)")."\n".
+ "XLIBS = `pkg-config gtk+-2.0 --libs`\n".
"ULIBS =#\n".
"INSTALL=install\n",
"INSTALL_PROGRAM=\$(INSTALL)\n",
@@ -1130,7 +1130,7 @@
$objstr = &objects($p, "X.o", undef, undef);
print &splitline($prog . ": " . $objstr), "\n";
$libstr = &objects($p, undef, undef, "-lX");
- print &splitline("\t\$(CC) -o \$@ $objstr $libstr \$(${type}LIBS)", 69),
+ print &splitline("\t\$(CC) \$(LDFLAGS) -o \$@ $objstr $libstr \$(${type}LIBS)", 69),
"\n\n";
}
foreach $d (&deps("X.o", undef, $dirpfx, "/")) {

@ -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/games-puzzle/sgt-puzzles/sgt-puzzles-9023.ebuild,v 1.4 2012/05/04 04:45:28 jdhore Exp $
EAPI=2
inherit eutils toolchain-funcs games
if [[ ${PV} == "99999999" ]] ; then
ESVN_REPO_URI="svn://svn.tartarus.org/sgt/puzzles"
inherit subversion
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-r${PV}.tar.gz"
S=${WORKDIR}/puzzles-r${PV}
KEYWORDS="amd64 x86"
fi
DESCRIPTION="Simon Tatham's Portable Puzzle Collection"
HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
LICENSE="MIT"
SLOT="0"
IUSE="doc"
RDEPEND="x11-libs/gtk+:2"
DEPEND="${RDEPEND}
dev-lang/perl
virtual/pkgconfig
doc? ( >=app-doc/halibut-1.0 )"
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
./mkfiles.pl
sed -i \
-e 's:= -O2 -Wall -Werror -ansi -pedantic -g:= $(CPPFLAGS):' \
-e '/LDFLAGS/s:=:=$(LDFLAGS) :' \
Makefile || die
}
src_compile() {
emake CC="$(tc-getCC)" || die
if use doc ; then
halibut --text --html --info --pdf --ps puzzles.but
fi
}
src_install() {
dodir "${GAMES_BINDIR}"
emake DESTDIR="${D}" gamesdir="${GAMES_BINDIR}" install || die
dodoc README HACKING
local file name
for file in *.R ; do
[[ ${file} == "nullgame.R" ]] && continue
name=$(sed -n 's/^[a-z]*\.exe://p' "${file}")
file=${file%.R}
if [[ ${PV} -lt 99999999 ]] ; then
newicon icons/${file}-48d24.png ${PN}-${file}.png || die
make_desktop_entry "${GAMES_BINDIR}/${file}" "${name}" "${PN}-${file}"
else
# No icons with the live version
make_desktop_entry "${GAMES_BINDIR}/${file}" "${name}"
fi
done
dodoc puzzles.txt puzzles.chm
if use doc ; then
dohtml *.html
doinfo puzzles.info
dodoc puzzles.pdf puzzles.ps
fi
prepgamesdirs
}

@ -1,6 +1,7 @@
DIST dcraw-9.05.tar.gz 161390 RMD160 5301db44b1d5905d8cf1dd3bb4d76877b626ee17 SHA1 ff797acb2a93761d158f547c733968938b31f865 SHA256 f3ab302255662f30bc2c75f16a5c37a28f404358e9e94a197addc42ae2e3f469
DIST dcraw-9.10.tar.gz 163860 RMD160 8784cfb0046d8509adddf9dbd35c88bcd3254f21 SHA1 c43f8f760845a70f2ddb85979574c0705dbcb319 SHA256 4ff3c0bb59593a29d5846e5e6f2fd979588382255fe38d11537c9e63143759ca
DIST dcraw-9.12.tar.gz 164386 RMD160 2e9a42ce7ddb5a62c551f2b49f61c33e34970e9e SHA1 b0110f83692b14940a8e43759d7ccefa77103cc6 SHA256 9892b013d2190b858dea380a94e7f5c30318a068237e7bef8eb6a8aefc6bd691
DIST parse-1.71.tar.bz2 8129 RMD160 bc7732b2b52cdda69b9a39d7e30cc02aff371a6b SHA1 96e74cb9e366ae17897852e231e1c764fd36d96f SHA256 58d91d4ce8533b84e6933d9cfa505b7a1b3c228e34b7e3aeae438948a42a454a
DIST parse-1.73.tar.bz2 8186 RMD160 134e3bf152d145fedd1f137f82b3f8791804310c SHA1 efdc722f858d730cf45af1417d2f6ed8ae3fe281 SHA256 51f75837b7fa7f6389f43c875ad8320c41a44c4213922dc767e16dc424462c3c
DIST rawphoto-1.32.tar.bz2 3841 RMD160 11c6c0fd621170ec5657c8803300ade7c3c21f99 SHA1 6952d39556c3b83e1c790c6ccd34f8233cf2dd53 SHA256 3348a83a44fa941924a4e743f88d993b71d28ba995f80e6765d6c19b6eeaea4c
DIST dcraw-9.05.tar.gz 161390 SHA256 f3ab302255662f30bc2c75f16a5c37a28f404358e9e94a197addc42ae2e3f469
DIST dcraw-9.10.tar.gz 163860 SHA256 4ff3c0bb59593a29d5846e5e6f2fd979588382255fe38d11537c9e63143759ca
DIST dcraw-9.12.tar.gz 164386 SHA256 9892b013d2190b858dea380a94e7f5c30318a068237e7bef8eb6a8aefc6bd691 SHA512 b864fd0a9f3f181b035b0a975bc098f0e01c1c88249ec775fbf05367510e05588e22ca38112c7d6c2f68fc73e8e696d55eb03de38bd439643bc8fc846fd41f84 WHIRLPOOL f9167641f47542868ce4909359b4b4e3b6c905d0e91844459e439fc83e772f35743deddb097e36d52e6198ebabd79ff13a1b106a96570d7cc91403a433677249
DIST dcraw-9.17.tar.gz 167138 SHA256 db73bf9f8e4574fcdc6cd8ed4e781a1d0f87d909bb0fe26fce8c87a467ee7a51 SHA512 a4b58e8c75e6c44180af056fe85b1602549a1722be4430b2fee8423d33b3ce48566bb770cbec3c14e2502ca600318c9a55781083a16339f9d1a7c5159f37202e WHIRLPOOL fd130a6048e64971948009cd3c553486f5dac0e6a7c2a8e96224f138887da5cc435f416e0a6adccc4887bd71dc3ef74a5fd600a165b650e491507336d169adbd
DIST parse-1.71.tar.bz2 8129 SHA256 58d91d4ce8533b84e6933d9cfa505b7a1b3c228e34b7e3aeae438948a42a454a
DIST parse-1.73.tar.bz2 8186 SHA256 51f75837b7fa7f6389f43c875ad8320c41a44c4213922dc767e16dc424462c3c SHA512 06ffaf72695dc86bfc2bdd10d4f732bc428b72d427f4c10e93fc58536513477cf297adb56fb9cfc5ba5fd5b6b4cd197c33d8dac957a0a1bbe65b23393b64278c WHIRLPOOL 1abc642a60f3f5b54efa29722ff7674457b88811ef25e557b7823ff05f6ee55989e35c0b9dad04d74c769bcca1cb45f580985de92bb4e40cd63b6d0a35b3a0e2
DIST rawphoto-1.32.tar.bz2 3841 SHA256 3348a83a44fa941924a4e743f88d993b71d28ba995f80e6765d6c19b6eeaea4c SHA512 6ee5b6c4e4266c8e04221c894c4e737f8a6d2c6f0cc9c82db73064afd68488bd60de19b86b2d7b82780283bbb9f8156ef3149c1c730f09a00dce632744b44d56 WHIRLPOOL af840eae74d74f83b7874a769e30ff0e613a5f1dba4d20fa315f6d9685fabffbe804ad878174f3ee274a6083105f1baa317f52b346afb493c34cea0e5c09c566

@ -0,0 +1,125 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/dcraw-9.17.ebuild,v 1.1 2013/01/24 09:57:21 xmw Exp $
EAPI="2"
inherit eutils toolchain-funcs
DESCRIPTION="Converts the native (RAW) format of various digital cameras into netpbm portable pixmap (.ppm) image"
HOMEPAGE="http://www.cybercom.net/~dcoffin/dcraw/"
SRC_URI="http://www.cybercom.net/~dcoffin/dcraw/archive/${P}.tar.gz
mirror://gentoo/parse-1.73.tar.bz2
gimp? ( mirror://gentoo/rawphoto-1.32.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="nls gimp jpeg jpeg2k lcms"
COMMON_DEPEND="jpeg? ( virtual/jpeg )
lcms? ( =media-libs/lcms-1* )
jpeg2k? ( media-libs/jasper )
gimp? ( media-gfx/gimp )"
DEPEND="${COMMON_DEPEND}
nls? ( sys-devel/gettext )
gimp? ( virtual/pkgconfig )"
RDEPEND="${COMMON_DEPEND}
media-libs/netpbm"
S=${WORKDIR}/dcraw
LANGS="ca cs de da eo es fr hu it nl pl pt ru sv zh_CN zh_TW"
for lng in ${LANGS}; do
IUSE+=" linguas_${lng}"
done
# Helper function to list only langs listed in LANGS or
linguas_list() {
local nolangs=true
for lng in ${LANGS}; do
if use linguas_${lng}; then
nolangs=false
echo " ${lng}"
fi
done
if ${nolangs}; then
echo ${LANGS}
fi
}
run_build() {
einfo "${@}"
${@} || die
}
src_prepare() {
rename dcraw_ dcraw. dcraw_*.1 || die "Failed to rename"
}
src_compile() {
local ECFLAGS="-O2" # Without optimisation build fails
local ELIBS="-lm"
use lcms && ELIBS="-llcms ${ELIBS}" || ECFLAGS+=" -DNO_LCMS=yes"
use jpeg && ELIBS="-ljpeg ${ELIBS}" || ECFLAGS+=" -DNO_JPEG=yes"
use jpeg2k && ELIBS="-ljasper ${ELIBS}" || ECFLAGS+=" -DNO_JASPER=yes"
use nls && ECFLAGS+=" -DLOCALEDIR=\"/usr/share/locale/\""
run_build $(tc-getCC) ${ECFLAGS} ${CFLAGS} ${LDFLAGS} \
-o dcraw dcraw.c ${ELIBS}
run_build $(tc-getCC) -O2 ${CFLAGS} ${LDFLAGS} \
-o dcparse parse.c
# rawphoto gimp plugin
if use gimp; then
run_build $(tc-getCC) ${CFLAGS} ${LDFLAGS} \
$(pkg-config --cflags gimpui-2.0) rawphoto.c -o rawphoto \
$(pkg-config --libs gimpui-2.0)
fi
if use nls; then
for lng in $(linguas_list); do
run_build msgfmt -c -o dcraw_${lng}.mo dcraw_${lng}.po
done
fi
}
src_install() {
dobin dcraw dcparse || die
dodoc "${FILESDIR}"/{conversion-examples.txt,dcwrap} || die
# rawphoto gimp plugin
if use gimp; then
insinto "$(pkg-config --variable=gimplibdir gimp-2.0)/plug-ins"
insopts -m0755
doins rawphoto || die
fi
doman dcraw.1 || die
if use nls; then
for lng in $(linguas_list); do
[[ -f dcraw.${lng}.1 ]] && doman dcraw.${lng}.1
insinto /usr/share/locale/${lng}/LC_MESSAGES
newins dcraw_${lng}.mo dcraw.mo || die "failed to install dcraw_${lng}.mo"
done
fi
}
pkg_postinst() {
elog ""
elog "See conversion-examples.txt.gz on how to convert"
elog "the PPM files produced by dcraw to other image formats."
elog ""
ewarn "The functionality of the external program 'fujiturn' was"
ewarn "incorporated into dcraw and is automatically used now."
elog ""
elog "There's an example wrapper script included called 'dcwrap'."
elog ""
elog "This package also includes 'dcparse', which extracts"
elog "thumbnail images (preferably JPEGs) from any raw digital"
elog "camera formats that have them, and shows table contents."
elog ""
}

@ -1,8 +1,12 @@
DIST freetype-1.4_pre20080316.tar.bz2 1199805 SHA256 b88e8827dfeebcd0c663cac19c798acbd2f1129eaf89172eb26c3594700316a2 SHA512 196d9f4f11e4a613e0e59de131cd143ec9bc6d07cef870b6652e204c94d31986b31286819cd0a34b7d01afc9269f3447b346e2f7c6cf4a60d993e1f2d240e5f7 WHIRLPOOL 8eab54dc5d41362c379e0b2bdbeed026bab387de00b779e9b50c97717be429bae18896d6d4a5b58e2cb1462cbf0150ab77429c05a290bb3eef1ee14d65e7b540
DIST freetype-2.4.10-infinality-patches.tar.xz 43264 SHA256 b8bedfba61fcf8f20a700d76e1ad0b0322efefb901bad47b6dcf90c4d158658e SHA512 e4c00f4290aeb5d70d07edd2993dee180d7413765cca7e41cfb585fbdca27be3e94624fe088a03f19c6ce4390cafb2e6f922541e64dac49d39ffc0199ea340ce WHIRLPOOL e69de0560d8829a3ca50d5c929e312baf85c5306178952fdcfd94d1f22a5795172ad7afa2ad82b8a75d25b5bd5320bed2c8c20a9a6ef9e707a43c46934006b73
DIST freetype-2.4.10.tar.bz2 1508927 SHA256 0c8e242c33c45928de560d7d595db06feb41d1b22167e37260ceabe72f9e992f SHA512 41547dba00a949792b44f42a8b5a69fb6dd4c6f3d454221a0b20ac6eaedd938465922197ccdd49bdff4c03e85ab4d38a77d3c48a597e3c69790ebeba359a0107 WHIRLPOOL 455efafdc97677bec9ee234d3aedde0945123587a788e483bfeb9c1a1d00a121e2921632145678d439fbd497c96191b053143247fb31ed039ad5984d0be47eef
DIST freetype-2.4.11-infinality-patches.tar.xz 27968 SHA256 e61c205646ea29776f28bf4e79591fdd0c7e5294508fc88b7fbbe68b70dabfd0 SHA512 38b2bd4465887d2c233ade8034542058a1c2a6d398668189d4d7420cf710482967bec535c525e044e9452796151f18ae96d5b37f37e5965060150eaed395c825 WHIRLPOOL 79fc5ee2149546bfdc079963ad704e3ab8c5c642f3e2950ad3e8cb0ce1cf7671beaa2a62c8a554b7fc038b9723aa011edd11be205fbb6adb98f3f529404b2cf5
DIST freetype-2.4.11.tar.bz2 1546087 SHA256 ef9d0bcb64647d9e5125dc7534d7ca371c98310fec87677c410f397f71ffbe3f SHA512 a858395f48b435ff7469592c397634806debf1250a6f7344871acbfcd6e0f2d658fc7fb80c302cde7f3fd29d9f14c6c0e1248a65660e3a96c0dfad3cef697979 WHIRLPOOL 499b010555730c3558362ec306716f3b7dabcdba85e9dfdb2fc98fdfb8062c11002507ce44c8ad0e1967b4f27dfa2b6e8d65c3b5824c29036c4473a5b7ac0f49
DIST freetype-2.4.9.tar.bz2 1504819 SHA256 c4204ac1d48e99d4375a2f32bf4f3f92780a9d9f015e64e57e852f6c004859b9 SHA512 30f388c7c0cf00deacffcb402ac97682f7957365d9eb94ba1c20d1c6f1ff1163b6a1d88a833edc9cd274bb21c9b87f5403f2c465c042bbaf599971074ac040f7 WHIRLPOOL e9fd9217cec39243409818b104918ca578c3b4bc750d1795ac6bcd78b98bd68f1f6a09549ee697fee785e4b731f77203886ae30234b7ca1909d13bfae6ea4706
DIST freetype-doc-2.4.10.tar.bz2 106697 SHA256 b83b46fd02d00c256eea12bddf598454f95858dbeaa853b76dac5974f0321fd8
DIST freetype-doc-2.4.11.tar.bz2 106643 SHA256 e80082d8594300d2cc1f1c315179006012fa4ded7acb4b6a1f7b43b5b19dcb51 SHA512 f3db6826c179409db92ac2e7bdded9244a7bb18fec45062bdbc712352b29a1b2de33ea20c8ac3f54cd0b59caf9a5b9df6537e3dc83e32999921df00747a69813 WHIRLPOOL d61d88b52f8244e4053b4f0f86efd35d89561d6831535219902fbf58deac656935455d18775c7ad3be6b6c558ea52db7ddc4425964f8259da2bb51731e69ff5d
DIST freetype-doc-2.4.9.tar.bz2 106690 SHA256 138ec5c5081c2c0d1d4624e83bf3797a27271fdb5218deff6599f2d23b66438a
DIST ft2demos-2.4.10.tar.bz2 163949 SHA256 3fb7e97f35c0f59ecd967577a3e77fbcca10d84c00129a74e5da45bf3625cc45
DIST ft2demos-2.4.11.tar.bz2 164608 SHA256 49cc6c45542cc39cca0d9135b865fab428b1f9805b46c22fd848528f51c76075 SHA512 35c907ce5cd8a5e7381a259d734d2c56641c8fd08ef3ba4fe6a87ae9daf2ce4dd68cfeb3e6459cbed043832157db7918e3a66ac5102b4d48be0bbf39942f57ed WHIRLPOOL 9e85b6b9db845aeb3ead65975fc81e058f25cfdb637a3958b727449ed738f738022729c30be6ea0da72129f5f298b66c28d806ee56eb2b25e0d1abb130d35476
DIST ft2demos-2.4.9.tar.bz2 163748 SHA256 7a67ac6dff11078464c5b9dc68fa2f62c8f05067e0fd15645f5cb7efb05413f9

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild,v 1.11 2012/05/20 12:45:25 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-1.4_pre20080316-r2.ebuild,v 1.12 2013/01/24 15:25:13 polynomial-c Exp $
inherit autotools eutils libtool multilib
@ -91,7 +91,7 @@ src_compile() {
}
src_install() {
use prefix || ED=${D}
use prefix || ED="${D}"
dodoc announce PATENTS README docs/*.txt docs/FAQ
use doc && dohtml -r docs

@ -0,0 +1,137 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.11.ebuild,v 1.1 2013/01/24 15:25:13 polynomial-c Exp $
EAPI="4"
inherit eutils flag-o-matic libtool multilib
DESCRIPTION="A high-quality and portable font engine"
HOMEPAGE="http://www.freetype.org/"
SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2
utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.bz2 )
doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.bz2 )
infinality? ( http://dev.gentoo.org/~polynomial-c/${P}-infinality-patches.tar.xz )"
LICENSE="FTL GPL-2"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE="X auto-hinter bindist bzip2 debug doc fontforge infinality static-libs utils"
DEPEND="sys-libs/zlib
bzip2? ( app-arch/bzip2 )
X? ( x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp )"
RDEPEND="${DEPEND}
infinality? ( media-libs/fontconfig-infinality )"
src_prepare() {
enable_option() {
sed -i -e "/#define $1/a #define $1" \
include/freetype/config/ftoption.h \
|| die "unable to enable option $1"
}
disable_option() {
sed -i -e "/#define $1/ { s:^:/*:; s:$:*/: }" \
include/freetype/config/ftoption.h \
|| die "unable to disable option $1"
}
if ! use bindist; then
# See http://freetype.org/patents.html
# ClearType is covered by several Microsoft patents in the US
enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
fi
if use auto-hinter; then
disable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER
enable_option TT_CONFIG_OPTION_UNPATENTED_HINTING
fi
if use debug; then
enable_option FT_DEBUG_LEVEL_TRACE
enable_option FT_DEBUG_MEMORY
fi
disable_option FT_CONFIG_OPTION_OLD_INTERNALS
if use infinality; then
epatch "${WORKDIR}"/patches/freetype-enable-subpixel-hinting-infinality.patch
epatch "${WORKDIR}"/patches/freetype-entire-infinality-patchset.patch
enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING
enable_option TT_CONFIG_OPTION_SUBPIXEL_HINTING
fi
epatch "${FILESDIR}"/${PN}-2.3.2-enable-valid.patch
if use utils; then
cd "${WORKDIR}/ft2demos-${PV}"
sed -i -e "s:\.\.\/freetype2$:../freetype-${PV}:" Makefile || die
# Disable tests needing X11 when USE="-X". (bug #177597)
if ! use X; then
sed -i -e "/EXES\ +=\ ftdiff/ s:^:#:" Makefile || die
fi
fi
elibtoolize
epunt_cxx
}
src_configure() {
append-flags -fno-strict-aliasing
type -P gmake &> /dev/null && export GNUMAKE=gmake
# we need non-/bin/sh to run configure
[[ -n ${CONFIG_SHELL} ]] && \
sed -i -e "1s:^#![[:space:]]*/bin/sh:#!$CONFIG_SHELL:" \
"${S}"/builds/unix/configure
econf \
$(use_enable static-libs static) \
$(use_with bzip2)
}
src_compile() {
emake
if use utils; then
einfo "Building utils"
cd "${WORKDIR}/ft2demos-${PV}"
# fix for Prefix, bug #339334
emake X11_PATH="${EPREFIX}/usr/$(get_libdir)"
fi
}
src_install() {
emake DESTDIR="${D}" install
if use utils; then
einfo "Installing utils"
rm "${WORKDIR}"/ft2demos-${PV}/bin/README
for ft2demo in ../ft2demos-${PV}/bin/*; do
./builds/unix/libtool --mode=install $(type -P install) -m 755 "$ft2demo" \
"${ED}"/usr/bin
done
fi
if use fontforge; then
# Probably fontforge needs less but this way makes things simplier...
einfo "Installing internal headers required for fontforge"
find src/truetype include/freetype/internal -name '*.h' | \
while read header; do
mkdir -p "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})"
cp ${header} "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})"
done
fi
prune_libtool_files
dodoc ChangeLog README
dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PROBLEMS,TODO}
use doc && dohtml -r docs/*
}

@ -1,4 +1,4 @@
DIST glew-1.6.0.tgz 494713 SHA256 bea2a7e9bb97a7a5054d4a65d16aaeedeaa091719359ad3fcd9bfdb0fe8eb7fa
DIST glew-1.6.0.tgz 494713 SHA256 bea2a7e9bb97a7a5054d4a65d16aaeedeaa091719359ad3fcd9bfdb0fe8eb7fa SHA512 5b8ca9e97d01d49fde591b0c55683620e0a6ddfaf5e93e03536e6217bbb548adfcd4e945a39ed3cfddac3f239b3272be1b3491f4071689d02c4bfb7e0ec44904 WHIRLPOOL 45372f5ada69fda90b6c7dd8dd261bd67f77d1c0b53d2ca4186060269ab3518dc8c0232e6930fa52eedeca4486144a65519b8f194ea7384948b757d2f3e5d027
DIST glew-1.7.0.tgz 512582 SHA256 1653a63fb1e1a518c4b5ccbaf1a617f1a0b4c1c29d39ae4e2583844d98365c09 SHA512 03d7a816fde0c445c964280ac9e679a0d2dfca839e87345360adec4fdb2292b4ddfc85538954b052c538ca355e559d8ee3a5ea7ea2a99130687054a92e0df857 WHIRLPOOL ae23661b2ac44938b6abf347553adfc3e13b1c26e31e9237396a3cd96637b078c16a5538746afda2012dd031cfa5eac60596dc2f5745a985b17fc3ae1ecfc51f
DIST glew-1.8.0.tgz 523395 SHA256 e0041a98b7763a9cc079f5aec8965958b95b37cf1b91a5ded2a8c00d878dfa57 SHA512 227d3ceb16e5ee8d164afc3ce9beb9b298c58de1e0806f6ddd5a9be5db68b0fe1150b3893a436d28b2fe31fd64e87c15a00cb77cc789d09f967e65728e6c4ee5 WHIRLPOOL acc68a45aaca3a096d712e611abee742ddbf26defd0ca13b4257c1d9c43e3f0667d514aa8f016b71dcb027f1976313e7cee5b1b004ab5e8e05a907da68eca5b9
DIST glew-1.9.0.tgz 544440 SHA256 9b36530e414c95d6624be9d6815a5be1531d1986300ae5903f16977ab8aeb787 SHA512 e4b566de6bfc84d73a2c3eedc5eeace30b1d8126f425fbd880dcc3f5850dd445247d6ef950194944cfc71d71155773c47bb593fe2ca9879032d1c65a8a70f5e5 WHIRLPOOL d1c49e13561834c2049f8d5027260b37f5814cf96466f30494d5c2a0251b655c97f9f82a4c9f76ec62513e1408586b1ff8a0ee21258af7e9afa5a7407cf8cdba

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/glew-1.9.0.ebuild,v 1.2 2012/09/29 13:56:28 grobian Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/glew-1.9.0.ebuild,v 1.3 2013/01/24 05:07:01 jer Exp $
EAPI=4
inherit multilib toolchain-funcs
@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc static-libs"
RDEPEND="virtual/glu

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libprojectm/libprojectm-2.1.0-r1.ebuild,v 1.2 2013/01/21 20:03:46 scarabeus Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/libprojectm/libprojectm-2.1.0-r1.ebuild,v 1.3 2013/01/24 05:07:09 jer Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/projectm/${MY_P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha ~amd64 hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="debug openmp video_cards_nvidia"
RDEPEND="media-fonts/dejavu

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/qimageblitz/qimageblitz-0.0.6-r1.ebuild,v 1.5 2013/01/10 19:14:59 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/qimageblitz/qimageblitz-0.0.6-r1.ebuild,v 1.6 2013/01/24 05:01:55 jer Exp $
EAPI=5
@ -11,7 +11,7 @@ HOMEPAGE="http://websvn.kde.org/trunk/kdesupport/qimageblitz/"
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
SLOT="0"
IUSE="3dnow altivec debug mmx sse sse2"

@ -0,0 +1,12 @@
Index: graphtft-30/imlibrenderer/dvbrenderer/mpeg2encoder.c
===================================================================
--- graphtft-30.orig/imlibrenderer/dvbrenderer/mpeg2encoder.c
+++ graphtft-30/imlibrenderer/dvbrenderer/mpeg2encoder.c
@@ -51,7 +51,6 @@ void mpeg_init(int video_width, int vide
int i = 0;
int status;
- avcodec_init();
avcodec_register_all();
codec = avcodec_find_encoder(CODEC_ID_MPEG1VIDEO);

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.3.4.ebuild,v 1.2 2012/04/07 01:36:55 hd_brummy Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.3.4.ebuild,v 1.3 2013/01/24 13:05:14 aballier Exp $
EAPI="4"
@ -39,7 +39,8 @@ PDEPEND="theme_deepblue? ( =x11-themes/vdrgraphtft-deepblue-0.3.1 )
PATCHES=("${FILESDIR}/${P}_gentoo.diff"
"${FILESDIR}/${PN}-0.3.2.24_makefile.diff"
"${FILESDIR}/${P}_gcc-4.4.x.diff"
"${FILESDIR}/${P}_vdr-1.7.26_ChannelSwitch.patch")
"${FILESDIR}/${P}_vdr-1.7.26_ChannelSwitch.patch"
"${FILESDIR}/${P}_ffmpeg-1.patch")
src_prepare() {

@ -0,0 +1,36 @@
Index: gejengel-0.1.4/src/AudioDecoder/ffmpegdecoder.cpp
===================================================================
--- gejengel-0.1.4.orig/src/AudioDecoder/ffmpegdecoder.cpp
+++ gejengel-0.1.4/src/AudioDecoder/ffmpegdecoder.cpp
@@ -83,7 +83,7 @@ void FFmpegDecoder::initialise()
avcodec_register_all();
av_register_all();
- if (av_open_input_file(&m_pFormatContext, m_Filepath.c_str(), NULL, 0, NULL) != 0)
+ if (avformat_open_input(&m_pFormatContext, m_Filepath.c_str(), NULL, NULL) != 0)
{
throw logic_error("Could not open input file: " + m_Filepath);
}
@@ -307,21 +307,7 @@ AudioFormat FFmpegDecoder::getAudioForma
{
AudioFormat format;
- switch(m_pAudioCodecContext->sample_fmt)
- {
- case SAMPLE_FMT_U8:
- format.bits = 8;
- break;
- case SAMPLE_FMT_S16:
- format.bits = 16;
- break;
- case SAMPLE_FMT_S32:
- format.bits = 32;
- break;
- default:
- format.bits = 0;
- }
-
+ format.bits = av_get_bytes_per_sample(m_pAudioCodecContext->sample_fmt) << 3;
format.rate = m_pAudioCodecContext->sample_rate;
format.numChannels = m_pAudioCodecContext->channels;
format.framesPerPacket = m_pAudioCodecContext->frame_size;

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/gejengel/gejengel-0.1.4-r1.ebuild,v 1.3 2012/11/20 20:07:44 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/media-sound/gejengel/gejengel-0.1.4-r1.ebuild,v 1.4 2013/01/24 13:42:37 aballier Exp $
EAPI=4
inherit eutils multilib flag-o-matic
@ -37,7 +37,8 @@ DOCS=( AUTHORS ChangeLog README TODO )
src_prepare() {
epatch "${FILESDIR}"/${P}-libnotify-0.7.patch \
"${FILESDIR}"/${P}-ffmpeg.patch
"${FILESDIR}"/${P}-ffmpeg.patch \
"${FILESDIR}"/${P}-ffmpeg-1.patch
# Remove Vesion and Encoding from the desktop file
sed -i -e "/Version/d" -e "/Encoding/d" \
data/${PN}.desktop.in || die "sed failed"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.8.3.ebuild,v 1.2 2013/01/16 19:13:40 yngwin Exp $
# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.8.3.ebuild,v 1.3 2013/01/24 05:09:28 jer Exp $
EAPI=4
PLOCALES="ar_SY bg ca cs da de el_GR en_US es et eu fi fr gl hr hu it ja ka ko
@ -25,7 +25,7 @@ DESCRIPTION="Great Qt4 GUI front-end for mplayer"
HOMEPAGE="http://smplayer.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="debug"
DEPEND="x11-libs/qt-core:4

@ -1 +1 @@
Thu, 24 Jan 2013 05:06:57 +0000
Thu, 24 Jan 2013 18:36:53 +0000

@ -1 +1 @@
Thu, 24 Jan 2013 05:06:57 +0000
Thu, 24 Jan 2013 18:36:53 +0000

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

Loading…
Cancel
Save