parent
28e26ad9ca
commit
80ac893fa0
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1 @@
|
||||
DIST xsp-2.10.2.tar.bz2 284801 SHA256 f4657f724167244d9baedf94e1d5747b8f1f53c339c7a11897154c1eb1289d4e SHA512 9b49e3a712e062b9a272e72609eda3cb8139127bc9780d6374a3567f51f15f38233f92252c2e4c22778b1841de66855dfe6a8cf81c97c6ebbf84f71dda0d43dd WHIRLPOOL fce613fedf164f7cd4cf0bae622884a4f7b6747e249d965c4ea23997586371b6a588ad96d66bcc5c6e74f98b76de3f374cd676de164ba1f3a889e4b00b8b6dcc
|
@ -0,0 +1,83 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id: mod-mono-server-r1.initd,v 1.1 2012/01/22 12:54:29 pacho Exp $
|
||||
|
||||
depend() {
|
||||
use net
|
||||
after dotnet
|
||||
}
|
||||
|
||||
start() {
|
||||
[ -z "$MonoServerRootDir" ] && \
|
||||
MonoServerRootDir="/usr/lib/xsp/test"
|
||||
[ -z "$MonoApplications" ] && \
|
||||
MonoApplications="/mono:/usr/lib/xsp/test,/:."
|
||||
[ -z "$UnixSocketFileName" ] && \
|
||||
UnixSocketFileName="/tmp/mod_mono_server"
|
||||
[ -z "$MonoServerAddress" ] && \
|
||||
MonoServerAddress=127.0.0.1
|
||||
[ -z "$MonoServerPort" ] && \
|
||||
MonoServerPort=8080
|
||||
[ -z "$MonoServerVersion" ] && \
|
||||
MonoServerVersion=1
|
||||
|
||||
MONO_SERVER_OPTS="--root ${MonoServerRootDir} \
|
||||
--applications ${MonoApplications} --nonstop"
|
||||
|
||||
[ -n "$MonoApplicationsConfigDir" ] && \
|
||||
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
|
||||
--appconfigdir ${MonoApplicationsConfigDir}"
|
||||
|
||||
case "$MonoServerChannel" in
|
||||
"tcp" )
|
||||
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
|
||||
--address ${MonoServerAddress} --port ${MonoServerPort}"
|
||||
;;
|
||||
|
||||
"unix" )
|
||||
[ -f "$UnixSocketFileName" ] && rm -f $UnixSocketFileName
|
||||
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
|
||||
--filename ${UnixSocketFileName}"
|
||||
;;
|
||||
|
||||
* )
|
||||
eerror "Please set a valid value for MonoServerChannel"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ ${MonoServerVersion} -eq 1 ]; then
|
||||
modmonoserverpath=1.0/mod-mono-server.exe
|
||||
elif [ ${MonoServerVersion} -eq 2 ]; then
|
||||
modmonoserverpath=2.0/mod-mono-server2.exe
|
||||
elif [ ${MonoServerVersion} -eq 4 ]; then
|
||||
modmonoserverpath=4.0/mod-mono-server4.exe
|
||||
else
|
||||
eerror "MonoServerVersion was not properly set. Check your /etc/conf.d/mod-mono-server"
|
||||
return 1
|
||||
fi
|
||||
|
||||
export MONO_SHARED_DIR=/tmp
|
||||
|
||||
ebegin "Starting mod-mono-server"
|
||||
|
||||
start-stop-daemon --quiet --start \
|
||||
--background \
|
||||
--make-pidfile \
|
||||
--pidfile /var/run/aspnet/mod-mono-server.pid \
|
||||
--user aspnet \
|
||||
--exec /usr/bin/mono /usr/lib/mono/${modmonoserverpath} \
|
||||
-- $MONO_SERVER_OPTS
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping mod-mono-server"
|
||||
|
||||
start-stop-daemon --quiet --stop \
|
||||
--pidfile /var/run/aspnet/mod-mono-server.pid
|
||||
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Config file for /etc/init.d/mod-mono-server
|
||||
# $Id: mod-mono-server.confd,v 1.1 2009/01/18 17:44:04 loki_val Exp $
|
||||
|
||||
# Configuration directives for mod-mono-server.exe. For more information on
|
||||
# these variables, see the man page for xsp(1).
|
||||
|
||||
# This is the document root; trailing slash is not necessary
|
||||
#MonoServerRootDir="/usr/lib/xsp/test"
|
||||
|
||||
# Directory to search for files with an `.webapp' extension.
|
||||
#MonoApplicationsConfigDir="/usr/lib/xsp/test"
|
||||
|
||||
# Comma separated list of directories (in the form virtual:real) for all
|
||||
# applications managed by the server. For example:
|
||||
# /app1:/var/www/localhost/htdocs/app1,/app2:/var/www/localhost/htdocs/app2
|
||||
MonoApplications="/mono:/usr/lib/xsp/test"
|
||||
|
||||
# The communication channel used between mod-mono-server and mod_mono.
|
||||
# unix - A unix socket
|
||||
# tcp - A TCP connection
|
||||
MonoServerChannel="unix"
|
||||
|
||||
# When the comm. channel is "unix", the local filename used by the socket.
|
||||
UnixSocketFileName="/tmp/mod_mono_server"
|
||||
|
||||
# When the comm. channel is "tcp", IP address for the server to listen on.
|
||||
#MonoServerAddress=127.0.0.1
|
||||
|
||||
# When the comm. channel is "tcp", port for the server to listen on.
|
||||
#MonoServerPort=8080
|
||||
|
||||
# If you want to host .NET 2.0 applications you have to set this to 2.
|
||||
# Otherwise, leave it unchaged
|
||||
MonoServerVersion=1
|
@ -0,0 +1,81 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id: mod-mono-server.initd,v 1.1 2009/01/18 17:44:04 loki_val Exp $
|
||||
|
||||
depend() {
|
||||
use net
|
||||
after dotnet
|
||||
}
|
||||
|
||||
start() {
|
||||
[ -z "$MonoServerRootDir" ] && \
|
||||
MonoServerRootDir="/usr/lib/xsp/test"
|
||||
[ -z "$MonoApplications" ] && \
|
||||
MonoApplications="/mono:/usr/lib/xsp/test,/:."
|
||||
[ -z "$UnixSocketFileName" ] && \
|
||||
UnixSocketFileName="/tmp/mod_mono_server"
|
||||
[ -z "$MonoServerAddress" ] && \
|
||||
MonoServerAddress=127.0.0.1
|
||||
[ -z "$MonoServerPort" ] && \
|
||||
MonoServerPort=8080
|
||||
[ -z "$MonoServerVersion" ] && \
|
||||
MonoServerVersion=1
|
||||
|
||||
MONO_SERVER_OPTS="--root ${MonoServerRootDir} \
|
||||
--applications ${MonoApplications} --nonstop"
|
||||
|
||||
[ -n "$MonoApplicationsConfigDir" ] && \
|
||||
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
|
||||
--appconfigdir ${MonoApplicationsConfigDir}"
|
||||
|
||||
case "$MonoServerChannel" in
|
||||
"tcp" )
|
||||
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
|
||||
--address ${MonoServerAddress} --port ${MonoServerPort}"
|
||||
;;
|
||||
|
||||
"unix" )
|
||||
[ -f "$UnixSocketFileName" ] && rm -f $UnixSocketFileName
|
||||
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
|
||||
--filename ${UnixSocketFileName}"
|
||||
;;
|
||||
|
||||
* )
|
||||
eerror "Please set a valid value for MonoServerChannel"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ ${MonoServerVersion} -eq 1 ]; then
|
||||
modmonoserverpath=1.0/mod-mono-server.exe
|
||||
elif [ ${MonoServerVersion} -eq 2 ]; then
|
||||
modmonoserverpath=2.0/mod-mono-server2.exe
|
||||
else
|
||||
eerror "MonoServerVersion was not properly set. Check your /etc/conf.d/xsp"
|
||||
return 1
|
||||
fi
|
||||
|
||||
export MONO_SHARED_DIR=/tmp
|
||||
|
||||
ebegin "Starting mod-mono-server"
|
||||
|
||||
start-stop-daemon --quiet --start \
|
||||
--background \
|
||||
--make-pidfile \
|
||||
--pidfile /var/run/aspnet/mod-mono-server.pid \
|
||||
--chuid aspnet \
|
||||
--exec /usr/bin/mono /usr/lib/mono/${modmonoserverpath} \
|
||||
-- $MONO_SERVER_OPTS
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping mod-mono-server"
|
||||
|
||||
start-stop-daemon -o --quiet --stop \
|
||||
--pidfile /var/run/aspnet/mod-mono-server.pid
|
||||
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
# Config file for /etc/init.d/xsp
|
||||
# $Id: xsp.confd,v 1.1 2009/01/18 17:44:04 loki_val Exp $
|
||||
|
||||
# This is the document root; trailing slash is not necessary
|
||||
MonoServerRoot=/usr/lib/xsp/test
|
||||
|
||||
# Port for the server to run on
|
||||
MonoServerPort=8000
|
||||
|
||||
# If you want to host .NET 2.0 applications you have to set this to 2.
|
||||
# Otherwise, leave it unchanged
|
||||
MonoServerVersion=1
|
@ -0,0 +1,38 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id: xsp.initd,v 1.1 2009/01/18 17:44:04 loki_val Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
after dotnet
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting xsp"
|
||||
|
||||
if [ ${MonoServerVersion} -eq 1 ]; then
|
||||
xsppath=1.0/xsp.exe
|
||||
elif [ ${MonoServerVersion} -eq 2 ]; then
|
||||
xsppath=2.0/xsp2.exe
|
||||
else
|
||||
eerror "MonoServerVersion was not properly set. Check your config file"
|
||||
return 1
|
||||
fi
|
||||
|
||||
start-stop-daemon --quiet --start \
|
||||
--background \
|
||||
--make-pidfile \
|
||||
--pidfile /var/run/aspnet/xsp.pid \
|
||||
--chuid aspnet \
|
||||
--exec /usr/bin/mono /usr/lib/mono/${xsppath} -- --root ${MonoServerRoot} --port ${MonoServerPort} --nonstop
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping xsp"
|
||||
start-stop-daemon -o --quiet --stop \
|
||||
--pidfile /var/run/aspnet/xsp.pid
|
||||
eend $?
|
||||
}
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- Makefile_old.am 2013-07-30 09:11:50.033962122 +0400
|
||||
+++ Makefile.am 2013-07-30 09:12:20.843574793 +0400
|
||||
@@ -1,10 +1,2 @@
|
||||
SUBDIRS=build man src test tools scripts packaging lib
|
||||
ACLOCAL_AMFLAGS += -I build/m4
|
||||
-
|
||||
-if UNITTESTS
|
||||
-SUBDIRS += unittests
|
||||
-endif
|
||||
-
|
||||
-if BUILD_DOCS
|
||||
-SUBDIRS += docs
|
||||
-endif
|
@ -0,0 +1,35 @@
|
||||
From d2c4a279942a4575b80618719646d0767c077e96 Mon Sep 17 00:00:00 2001
|
||||
From: Guillaume Pitel <guillaume.pitel@exensa.com>
|
||||
Date: Tue, 6 Mar 2012 17:20:24 +0100
|
||||
Subject: [PATCH] Added try/catch around EndRequest Record sending (Bug 3765
|
||||
https://bugzilla.xamarin.com/show_bug.cgi?id=3765)
|
||||
|
||||
---
|
||||
src/Mono.WebServer.FastCgi/Connection.cs | 11 +++++++----
|
||||
1 file changed, 7 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/Mono.WebServer.FastCgi/Connection.cs b/src/Mono.WebServer.FastCgi/Connection.cs
|
||||
index 6c70824..0e9ef64 100644
|
||||
--- a/src/Mono.WebServer.FastCgi/Connection.cs
|
||||
+++ b/src/Mono.WebServer.FastCgi/Connection.cs
|
||||
@@ -319,10 +319,13 @@ public void Run ()
|
||||
{
|
||||
EndRequestBody body = new EndRequestBody (appStatus,
|
||||
protocolStatus);
|
||||
-
|
||||
- if (IsConnected)
|
||||
- new Record (1, RecordType.EndRequest, requestID,
|
||||
- body.GetData ()).Send (socket);
|
||||
+ try {
|
||||
+ if (IsConnected)
|
||||
+ new Record (1, RecordType.EndRequest, requestID,
|
||||
+ body.GetData ()).Send (socket);
|
||||
+ } catch (System.Net.Sockets.SocketException) {
|
||||
+ }
|
||||
+
|
||||
|
||||
int index = GetRequestIndex (requestID);
|
||||
|
||||
--
|
||||
1.7.10
|
||||
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>dotnet</herd>
|
||||
<longdescription lang="en">
|
||||
XSP is a standalone web server written in C# that can be used to run
|
||||
your ASP.NET applications.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils go-mono mono user
|
||||
|
||||
PATCHDIR="${FILESDIR}/2.2/"
|
||||
|
||||
DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
|
||||
HOMEPAGE="http://www.mono-project.com/ASP.NET"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-db/sqlite:3"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
src_prepare() {
|
||||
# Added try/catch around EndRequest Record sending, bug #432750
|
||||
epatch "${FILESDIR}/${PN}-2.10.2-endrequest.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
default
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup aspnet
|
||||
# Give aspnet home dir of /tmp since it must create ~/.wapi
|
||||
enewuser aspnet -1 -1 /tmp aspnet
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv_command="cp -ar" go-mono_src_install
|
||||
newinitd "${PATCHDIR}"/xsp.initd xsp
|
||||
newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
|
||||
newconfd "${PATCHDIR}"/xsp.confd xsp
|
||||
newconfd "${PATCHDIR}"/mod-mono-server.confd mod-mono-server
|
||||
|
||||
keepdir /var/run/aspnet
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chown aspnet:aspnet /var/run/aspnet
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,56 @@
|
||||
diff --git libmemcached/memcached.cc libmemcached/memcached.cc
|
||||
index 337f918..6e88c25 100644
|
||||
--- libmemcached/memcached.cc
|
||||
+++ libmemcached/memcached.cc
|
||||
@@ -285,6 +285,8 @@ void memcached_servers_reset(memcached_st *shell)
|
||||
{
|
||||
libmemcached_free(self, self->ketama.continuum);
|
||||
self->ketama.continuum= NULL;
|
||||
+ self->ketama.continuum_count= 0;
|
||||
+ self->ketama.continuum_points_counter= 0;
|
||||
|
||||
memcached_instance_list_free(memcached_instance_list(self), self->number_of_hosts);
|
||||
memcached_instance_set(self, NULL, 0);
|
||||
diff --git tests/libmemcached-1.0/all_tests.h tests/libmemcached-1.0/all_tests.h
|
||||
index b4abe9d..f89f007 100644
|
||||
--- tests/libmemcached-1.0/all_tests.h
|
||||
+++ tests/libmemcached-1.0/all_tests.h
|
||||
@@ -452,6 +452,7 @@ collection_st collection[] ={
|
||||
{"hsieh_availability", 0, 0, hsieh_availability},
|
||||
{"murmur_availability", 0, 0, murmur_availability},
|
||||
{"memcached_server_add", (test_callback_fn*)memcached_servers_reset_SETUP, 0, memcached_server_add_TESTS},
|
||||
+ {"memcached_server_add(continuum)", (test_callback_fn*)memcached_servers_reset_CONTINUUM, 0, memcached_server_add_TESTS},
|
||||
{"memcached_server_add(MEMCACHED_DISTRIBUTION_CONSISTENT)", (test_callback_fn*)memcached_servers_reset_MEMCACHED_DISTRIBUTION_CONSISTENT_SETUP, 0, memcached_server_add_TESTS},
|
||||
{"memcached_server_add(MEMCACHED_DISTRIBUTION_CONSISTENT_WEIGHTED)", (test_callback_fn*)memcached_servers_reset_MEMCACHED_DISTRIBUTION_CONSISTENT_WEIGHTED_SETUP, 0, memcached_server_add_TESTS},
|
||||
{"block", 0, 0, tests},
|
||||
diff --git tests/libmemcached-1.0/setup_and_teardowns.cc tests/libmemcached-1.0/setup_and_teardowns.cc
|
||||
index 4191c38..eb29128 100644
|
||||
--- tests/libmemcached-1.0/setup_and_teardowns.cc
|
||||
+++ tests/libmemcached-1.0/setup_and_teardowns.cc
|
||||
@@ -177,6 +177,16 @@ test_return_t memcached_servers_reset_SETUP(memcached_st *memc)
|
||||
return TEST_SUCCESS;
|
||||
}
|
||||
|
||||
+test_return_t memcached_servers_reset_CONTINUUM(memcached_st *memc)
|
||||
+{
|
||||
+ memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_DISTRIBUTION, MEMCACHED_DISTRIBUTION_CONSISTENT);
|
||||
+ memcached_servers_reset(memc);
|
||||
+ test_compare(0, memc->ketama.continuum_count);
|
||||
+ // If memc->ketama.continuum_count is non-zero at this point, any call to
|
||||
+ // memcached_server_add will cause a segfault.
|
||||
+ return TEST_SUCCESS;
|
||||
+}
|
||||
+
|
||||
test_return_t memcached_servers_reset_MEMCACHED_DISTRIBUTION_CONSISTENT_SETUP(memcached_st *memc)
|
||||
{
|
||||
test_compare(TEST_SUCCESS, memcached_servers_reset_SETUP(memc));
|
||||
diff --git tests/libmemcached-1.0/setup_and_teardowns.h tests/libmemcached-1.0/setup_and_teardowns.h
|
||||
index 7610c5a..59b56f6 100644
|
||||
--- tests/libmemcached-1.0/setup_and_teardowns.h
|
||||
+++ tests/libmemcached-1.0/setup_and_teardowns.h
|
||||
@@ -64,3 +64,4 @@ test_return_t pre_buffer(memcached_st*);
|
||||
test_return_t memcached_servers_reset_MEMCACHED_DISTRIBUTION_CONSISTENT_SETUP(memcached_st *memc);
|
||||
test_return_t memcached_servers_reset_MEMCACHED_DISTRIBUTION_CONSISTENT_WEIGHTED_SETUP(memcached_st *memc);
|
||||
test_return_t memcached_servers_reset_SETUP(memcached_st *memc);
|
||||
+test_return_t memcached_servers_reset_CONTINUUM(memcached_st *memc);
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
WANT_AUTOMAKE=1.13
|
||||
|
||||
inherit autotools eutils multilib
|
||||
RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023
|
||||
|
||||
DESCRIPTION="a C client library to the memcached server"
|
||||
HOMEPAGE="http://libmemcached.org/libMemcached.html"
|
||||
SRC_URI="http://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="debug hsieh +libevent sasl static-libs"
|
||||
|
||||
DEPEND="net-misc/memcached
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
libevent? ( dev-libs/libevent )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/debug-disable-enable-1.0.18.patch"
|
||||
epatch "${FILESDIR}/continuum-1.0.18.patch"
|
||||
sed -i '6i CFLAGS = @CFLAGS@' Makefile.am
|
||||
sed -e "/_APPEND_COMPILE_FLAGS_ERROR(\[-fmudflapth\?\])/d" -i m4/ax_harden_compiler_flags.m4
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dtrace \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable sasl sasl) \
|
||||
$(use_enable debug debug) \
|
||||
$(use_enable debug assert) \
|
||||
$(use_enable hsieh hsieh_hash) \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la
|
||||
|
||||
dodoc AUTHORS ChangeLog README THANKS TODO
|
||||
# remove manpage to avoid collision, see bug #299330
|
||||
rm -f "${D}"/usr/share/man/man1/memdump.*
|
||||
newman man/memdump.1 memcached_memdump.1
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST bandit-0.12.0.tar.gz 65558 SHA256 3c147b507696f3a74a5cf3581cc3bb65a63df454fcf24db28c3d1baa765a3b04 SHA512 ef1d80f2ca09d427e6d48f983d696fb92eb12184fbdc13dfb170a73c5935f56f7e6bf3b4cf4d211598f884592e6fe2ca33f6d33732cf12e740f74d43ffe78457 WHIRLPOOL 1defd5dcb9d120585b10e72c51501373572e7d56c0e379ec587592fd53a381baf262a970956cd9fa4c2ad007697a1b7db9068d130b6cb3a33a00c40bb9c6a13c
|
||||
DIST bandit-0.13.0.tar.gz 73142 SHA256 4593957b236564599dec7c8b2da5b084f9b257213688a3a97b2643c04721eb66 SHA512 1605fb2e3e43a85ccf89a0b18c517082543d20b55149383d3704d71854817cfef3fd5e1095dd58e24efe0324ca9430fc8d7ab9f3e4f1db1ca0ffe7c4f8e17577 WHIRLPOOL 3becc739b966c2ff550988f04b1dbb03b285b120ff1f2bf4822a0b2277bdd2dc23f7e5c4d5ce6ea98dc45211d9ee7ed52f37e602f2d18558eacce356b81f79a5
|
||||
DIST bandit-0.13.1.tar.gz 68706 SHA256 e8383d751d0eacd0491e6821c6a176e317316ba3afd7005d11690467a091dd0c SHA512 c3d439f17c02b3ef24c52aa8044c414ffccb2e5e60b7d744d1ec20ff9aff40e6254626c032230da59ec2bf4d923bc16ef9f777b34a09b73cccb782b4f536d869 WHIRLPOOL c9f5ff8410f28fb361d50854b5e8750f3f71ce951e91d50570438282559c9fb92aadc38efb5b87b8d262a589ca5bcb2d8f410443a7d431c51729f310e64d217d
|
||||
DIST bandit-0.13.2.tar.gz 68888 SHA256 ef78c4dda20f758f95aca467fbb6609a696b6df13104d324b329b1bca963e30d SHA512 0809b7bca2f88e579760c7dcd3fedd1bdd394930eb0cd203ec24d75a18cc8007fa0db304a378f2d99d9cfd5e8b1f34a4ebe427a4bcb5daadf3d29acf0a26da42 WHIRLPOOL c91c140a79816d55f46b4b81e8554e2e36ff47b217da0258cc8ca220b59fd1b0622bd938956280ee111ee994cee81a442da3148fc1be9f0ff8c7d1ea2cdc305d
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A security linter from OpenStack Security"
|
||||
HOMEPAGE="https://openstack.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-1.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-2.0.0[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/appdirs-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.5.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST rrdtool-1.4.8.tar.gz 1379482 SHA256 de95b9f5aa488b0683600aad5a07c316f8d98cbe8d00aa0a1c87e2b2ef89f3d6 SHA512 c525978829508e1db393092c948d8db910554f42e1221acc4064a8f546ceac5d68943f603c6f0ef0e6510bbe5f606cfe6862672145ea1b630cd2b7fd07fa805b WHIRLPOOL f3926aed715a80c8d8287b057c39bbe614d81ebf9f24d1e285a9a438594d5c4c66b59934cc7c6be0550f0f729f319b01a46efc32ccf0b412563c43cf74a21564
|
||||
DIST rrdtool-1.4.9.tar.gz 1385640 SHA256 3e2826e0d60aaf85313da35b3c0d3a926748fe482b4ada766a325a83b60125cc SHA512 938d6a10c750cbc1e368020fc2408644bc10f6e1d9316f3117df406beef16d7d5fca2fc6fa2bdb6b1ed3e49aa872d58f1f66d1ccee9fe73483c6a5e483c33d4a WHIRLPOOL bc5fb01aef18feb89bb801a2f7fa8c2002b8f8a40e8038355e7edda8a729f354a639c864c01a1ddc7a66d19c8911d75f4f202008bec994d521a209dc6579fe10
|
||||
DIST rrdtool-1.5.3.tar.gz 2158011 SHA256 79e7b2f5cf74843e89fe4d08925f955268fd21736cbea03e54ae83320fc6129f SHA512 51e0dbca582acde1a0e77a8fcc4ffa2389b5467b5eb2443a6c9e38851459b7aa9bc08a8d5fd44f69c72e3cdb46be64a2baa66c69ca86a4cda8a061120fa14afb WHIRLPOOL 8738a499699423bd7c2536ca8d8b57db386b190fdeea47328c126aa70fae8d604ab1ab18253567a8426fe73e3fb9ab17ba8c40563841015da96451dcb4435dd7
|
||||
DIST rrdtool-1.5.4.tar.gz 2181438 SHA256 3feea3da87c02128a27083f1c7b2cb797ef673e946564c0ce008c1c25a5c3f99 SHA512 1b28db23d138677210e396c2eea48f88839847d0e08a7048b6ffa83384de612c1e71cfd10da0ef59ebc87a2707a72b226153f0d73c78c74f68bb9f721b7ad665 WHIRLPOOL 00346df3e9c5e07d4a23347f486a32c697f25bebc257e780dedebd28ef4a60b8d8d447bd431629eaf8f19d3155d03a5cbabf3df1565089a6eefde79a502f8e0e
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-ng
|
||||
|
||||
MY_P=${P/-bindings}
|
||||
MY_P=${MY_P/_/-}
|
||||
|
||||
DESCRIPTION="Ruby bindings for rrdtool"
|
||||
HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
|
||||
SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${MY_P}.tar.gz"
|
||||
RUBY_S="$MY_P"/bindings/ruby
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x86-solaris"
|
||||
IUSE="graph test"
|
||||
REQUIRED_USE="test? ( graph )"
|
||||
|
||||
# Block on older versions of rrdtool that install the bindings themselves.
|
||||
# requires rrd_xport which requires rrd_graph
|
||||
RDEPEND="
|
||||
~net-analyzer/rrdtool-${PV}[graph=]
|
||||
"
|
||||
DEPEND="
|
||||
test? ( ~net-analyzer/rrdtool-${PV}[graph] )
|
||||
"
|
||||
|
||||
RUBY_PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.4.8-graph-ruby.patch
|
||||
)
|
||||
|
||||
each_ruby_configure() {
|
||||
rm ../../src/rrd_config.h || die
|
||||
touch ../../src/rrd_config.h || die
|
||||
|
||||
${RUBY} extconf.rb \
|
||||
--with-cflags="${CFLAGS} $(usex graph -DHAVE_RRD_GRAPH -UHAVE_RRD_GRAPH)" || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 ABS_TOP_SRCDIR="${PWD}/../.."
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
if use graph; then
|
||||
${RUBY} -I. test.rb || die
|
||||
fi
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
dodoc CHANGES README
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
DESTDIR=${D} emake install
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST astyle_2.02.1_linux.tar.gz 153253 SHA256 0bece9a32887e51f42c57617cf7c4f9b63d0a386749fe3a094f5525b639ef953 SHA512 5a156910a2610b1c49bfe78ac237e1bb13e9627912db107ef98fead88a29f000ed355446c033fd052112d54a4f2bbdf3f484ef58b9976c311c06cde951fda274 WHIRLPOOL 96451afd3f4bb6eaa51f33b2f565e545f401973a00ef6653ee4dbeff85ca7c06928e12d54249a8221e881c20f4d1bdea023fbe04ac57631601e15a3453dc2b79
|
||||
DIST astyle_2.03_linux.tar.gz 142577 SHA256 22b5249a0b8c9fab3b3bcd467abcb3c6b4a78458b528028634a83dca4c6ca389 SHA512 5f23ef010edba0ddd7377b2a6023a0d97e22f7247e20a0c94d56252fef55b6de291b3c9de67f5ddfa02906cd44470e136ae49e38f7bd2afe65a204245230a579 WHIRLPOOL b97a212dd4c92e24af9c5aa99fafcc5de929e94a81e160244d9cbc66bc7b97e0ca415e21b8e1eae35ef659b42423e1dd9b154fbddf36fef7fc344deca39dc156
|
||||
DIST astyle_2.04_linux.tar.gz 156974 SHA256 70b37f4853c418d1e2632612967eebf1bdb93dfbe558c51d7d013c9b4e116b60 SHA512 bc0f6351fac4198ab969251342c4e453064b07512a2d06825a93c75daf86b06469c9971f35fbadad872d23368dc546019d8d174e07ceaad6e10007f562fdeffd WHIRLPOOL d9aa3f537885e373d791204652ed5c8d5231be0840ef5dde3714bb8c9c524e327585a51b7b14da1aae2952f7c9248401bc2769290bc5828d15f030f41d95c1fe
|
||||
DIST astyle_2.05.1_linux.tar.gz 152765 SHA256 fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac SHA512 853bf84cb196f2300ca00fb7f18fe336764f1205ae0674a75c1a019bf734495d8fb3d9b6aca0ea258b6632921fb268906128c1afb80596532489749cd2cbe495 WHIRLPOOL ceef3bfa64632a4fe9afcc332fdf742e60b6e7d21655449372bd6c89db7444eddf6bbfee48684bb9f18e119cf040f36c62544cfc8bb040ed83095e9aed9fce56
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils java-pkg-opt-2 multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Artistic Style is a reindenter and reformatter of C++, C and Java source code"
|
||||
HOMEPAGE="http://astyle.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/astyle/astyle_${PV}_linux.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
IUSE="doc java static-libs"
|
||||
|
||||
DEPEND="app-arch/xz-utils
|
||||
java? ( >=virtual/jdk-1.6:= )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
tc-export CXX
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build_system.patch
|
||||
java-pkg-opt-2_src_prepare
|
||||
sed -e "s:^\(JAVAINCS\s*\)=.*$:\1= $(java-pkg_get-jni-cflags):" \
|
||||
-e "s:ar crs:$(tc-getAR) crs:" \
|
||||
-i build/gcc/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f ../build/gcc/Makefile -C src \
|
||||
${PN} \
|
||||
shared \
|
||||
$(usex java java '') \
|
||||
$(usex static-libs static '')
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/include
|
||||
doins src/${PN}.h
|
||||
|
||||
pushd src/bin &> /dev/null
|
||||
dobin ${PN}
|
||||
|
||||
dolib.so lib${P}.so
|
||||
dosym lib${P}.so /usr/$(get_libdir)/lib${PN}.so
|
||||
if use java ; then
|
||||
dolib.so lib${P}j.so
|
||||
dosym lib${P}j.so /usr/$(get_libdir)/lib${PN}j.so
|
||||
fi
|
||||
if use static-libs ; then
|
||||
dolib lib${PN}.a
|
||||
fi
|
||||
popd &> /dev/null
|
||||
|
||||
use doc && dohtml doc/*
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
diff --git a/build/gcc/Makefile b/build/gcc/Makefile
|
||||
index b1af4c1..1dfa021 100755
|
||||
--- a/build/gcc/Makefile
|
||||
+++ b/build/gcc/Makefile
|
||||
@@ -34,15 +34,15 @@ objdir = obj
|
||||
ipath=$(prefix)/bin
|
||||
CBASEFLAGS = -W -Wall -fno-rtti -fno-exceptions
|
||||
JAVAINCS = -I$(JAVA_HOME)/include
|
||||
-CXX = g++
|
||||
+CXX ?= g++
|
||||
INSTALL=install -o $(USER) -g $(USER)
|
||||
|
||||
##################################################
|
||||
|
||||
# define compile options for each build
|
||||
-ifdef CFLAGS
|
||||
- CFLAGSr = -DNDEBUG $(CBASEFLAGS) $(CFLAGS)
|
||||
- CFLAGSd = -g $(CBASEFLAGS) $(CFLAGS)
|
||||
+ifdef CXXFLAGS
|
||||
+ CFLAGSr = -DNDEBUG $(CBASEFLAGS) $(CXXFLAGS)
|
||||
+ CFLAGSd = -g $(CBASEFLAGS) $(CXXFLAGS)
|
||||
else
|
||||
CFLAGSr = -DNDEBUG -O3 $(CBASEFLAGS)
|
||||
CFLAGSd = -g $(CBASEFLAGS)
|
||||
@@ -134,13 +134,13 @@ astyled: $(OBJd)
|
||||
shared: libastyle-2.05.1.so
|
||||
libastyle-2.05.1.so: $(OBJs)
|
||||
@ mkdir -p $(bindir)
|
||||
- $(CXX) -shared $(LDFLAGSr) -o $(bindir)/$@ $^
|
||||
+ $(CXX) -shared -Wl,-soname,$@ $(LDFLAGSr) -o $(bindir)/$@ $^
|
||||
@ echo
|
||||
|
||||
shareddebug: libastyle-2.05.1d.so
|
||||
libastyle-2.05.1d.so: $(OBJsd)
|
||||
@ mkdir -p $(bindir)
|
||||
- $(CXX) -shared $(LDFLAGSd) -o $(bindir)/$@ $^
|
||||
+ $(CXX) -shared -Wl,-soname,$@ $(LDFLAGSr) -o $(bindir)/$@ $^
|
||||
@ echo
|
||||
|
||||
static: libastyle.a
|
||||
@@ -158,13 +158,13 @@ libastyled.a: $(OBJad)
|
||||
java: libastyle-2.05.1j.so
|
||||
libastyle-2.05.1j.so: $(OBJsj)
|
||||
@ mkdir -p $(bindir)
|
||||
- $(CXX) -shared $(LDFLAGSr) -o $(bindir)/$@ $^
|
||||
+ $(CXX) -shared -Wl,-soname,$@ $(LDFLAGSr) -o $(bindir)/$@ $^
|
||||
@ echo
|
||||
|
||||
javadebug: libastyle-2.05.1jd.so
|
||||
libastyle-2.05.1jd.so: $(OBJsjd)
|
||||
@ mkdir -p $(bindir)
|
||||
- $(CXX) -shared $(LDFLAGSd) -o $(bindir)/$@ $^
|
||||
+ $(CXX) -shared -Wl,-soname,$@ $(LDFLAGSr) -o $(bindir)/$@ $^
|
||||
@ echo
|
||||
|
||||
all: release debug shared shareddebug static staticdebug
|
@ -0,0 +1,189 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit versionator eutils toolchain-funcs python-single-r1 linux-info
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
MY_PV="${MY_PV/-pre/-git}"
|
||||
|
||||
DESCRIPTION="Userland tools for Linux Performance Counters"
|
||||
HOMEPAGE="http://perf.wiki.kernel.org/"
|
||||
|
||||
LINUX_V="${PV:0:1}.x"
|
||||
if [[ ${PV} == *_rc* ]] ; then
|
||||
LINUX_VER=$(get_version_component_range 1-2).$(($(get_version_component_range 3)-1))
|
||||
PATCH_VERSION=$(get_version_component_range 1-3)
|
||||
LINUX_PATCH=patch-${PV//_/-}.xz
|
||||
SRC_URI="mirror://kernel/linux/kernel/v${LINUX_V}/testing/${LINUX_PATCH}
|
||||
mirror://kernel/linux/kernel/v${LINUX_V}/testing/v${PATCH_VERSION}/${LINUX_PATCH}"
|
||||
else
|
||||
VER_COUNT=$(get_version_component_count)
|
||||
if [[ ${VER_COUNT} -gt 2 ]] ; then
|
||||
# stable-release series
|
||||
LINUX_VER=$(get_version_component_range 1-2)
|
||||
LINUX_PATCH=patch-${PV}.xz
|
||||
SRC_URI="mirror://kernel/linux/kernel/v${LINUX_V}/${LINUX_PATCH}"
|
||||
else
|
||||
LINUX_VER=${PV}
|
||||
SRC_URI=""
|
||||
fi
|
||||
fi
|
||||
|
||||
LINUX_SOURCES="linux-${LINUX_VER}.tar.xz"
|
||||
SRC_URI+=" mirror://kernel/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="audit debug +demangle +doc gtk numa perl python slang unwind"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="audit? ( sys-process/audit )
|
||||
demangle? ( sys-devel/binutils:= )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
numa? ( sys-process/numactl )
|
||||
perl? ( dev-lang/perl )
|
||||
slang? ( dev-libs/newt )
|
||||
unwind? ( sys-libs/libunwind )
|
||||
dev-libs/elfutils"
|
||||
DEPEND="${RDEPEND}
|
||||
${LINUX_PATCH+dev-util/patchutils}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/sgml-common
|
||||
app-text/xmlto
|
||||
sys-process/time
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
|
||||
S_K="${WORKDIR}/linux-${LINUX_VER}"
|
||||
S="${S_K}/tools/perf"
|
||||
|
||||
CONFIG_CHECK="~PERF_EVENTS ~KALLSYMS"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local paths=(
|
||||
tools/build tools/include tools/lib tools/perf tools/scripts
|
||||
include lib "arch/*/include" "arch/*/lib"
|
||||
)
|
||||
|
||||
# We expect the tar implementation to support the -j option (both
|
||||
# GNU tar and libarchive's tar support that).
|
||||
echo ">>> Unpacking ${LINUX_SOURCES} (${paths[*]}) to ${PWD}"
|
||||
tar --wildcards -xpf "${DISTDIR}"/${LINUX_SOURCES} \
|
||||
"${paths[@]/#/linux-${LINUX_VER}/}" || die
|
||||
|
||||
if [[ -n ${LINUX_PATCH} ]] ; then
|
||||
eshopts_push -o noglob
|
||||
ebegin "Filtering partial source patch"
|
||||
filterdiff -p1 ${paths[@]/#/-i } -z "${DISTDIR}"/${LINUX_PATCH} \
|
||||
> ${P}.patch || die
|
||||
eend $? || die "filterdiff failed"
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
local a
|
||||
for a in ${A}; do
|
||||
[[ ${a} == ${LINUX_SOURCES} ]] && continue
|
||||
[[ ${a} == ${LINUX_PATCH} ]] && continue
|
||||
unpack ${a}
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ -n ${LINUX_PATCH} ]] ; then
|
||||
cd "${S_K}"
|
||||
epatch "${WORKDIR}"/${P}.patch
|
||||
fi
|
||||
|
||||
# Drop some upstream too-developer-oriented flags and fix the
|
||||
# Makefile in general
|
||||
sed -i \
|
||||
-e 's:-Werror::' \
|
||||
-e 's:-ggdb3::' \
|
||||
-e 's:-fstack-protector-all::' \
|
||||
-e 's:^LDFLAGS =:EXTLIBS +=:' \
|
||||
-e '/\(PERL\|PYTHON\)_EMBED_LDOPTS/s:ALL_LDFLAGS +=:EXTLIBS +=:' \
|
||||
-e '/-x c - /s:\$(ALL_LDFLAGS):\0 $(EXTLIBS):' \
|
||||
-e '/^ALL_CFLAGS =/s:$: $(CFLAGS_OPTIMIZE):' \
|
||||
-e '/^ALL_LDFLAGS =/s:$: $(LDFLAGS_OPTIMIZE):' \
|
||||
-e 's:$(sysconfdir_SQ)/bash_completion.d:/usr/share/bash-completion:' \
|
||||
"${S}"/Makefile || die
|
||||
sed -i -e 's:-Werror::' "${S_K}"/tools/lib/api/Makefile || die
|
||||
sed -i \
|
||||
-e '/.FORCE-PERF-VERSION-FILE/s,.FORCE-PERF-VERSION-FILE,,g' \
|
||||
"${S}"/Makefile \
|
||||
"${S}"/Documentation/Makefile || die
|
||||
|
||||
# Avoid the call to make kernelversion
|
||||
echo "#define PERF_VERSION \"${MY_PV}\"" > PERF-VERSION-FILE
|
||||
|
||||
# The code likes to compile local assembly files which lack ELF markings.
|
||||
find -name '*.S' -exec sed -i '$a.section .note.GNU-stack,"",%progbits' {} +
|
||||
}
|
||||
|
||||
puse() { usex $1 "" no; }
|
||||
perf_make() {
|
||||
# The arch parsing is a bit funky. The perf tools package is integrated
|
||||
# into the kernel, so it wants an ARCH that looks like the kernel arch,
|
||||
# but it also wants to know about the split value -- i386/x86_64 vs just
|
||||
# x86. We can get that by telling the func to use an older linux version.
|
||||
# It's kind of a hack, but not that bad ...
|
||||
# prefix="/usr" bindir_relative="bin" \
|
||||
local arch=$(tc-arch-kernel)
|
||||
emake V=1 \
|
||||
CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
CFLAGS_OPTIMIZE="${CFLAGS}" \
|
||||
LDFLAGS_OPTIMIZE="${LDFLAGS}" \
|
||||
ARCH="${arch}" \
|
||||
NO_DEMANGLE=$(puse demangle) \
|
||||
NO_GTK2=$(puse gtk) \
|
||||
NO_LIBAUDIT=$(puse audit) \
|
||||
NO_LIBPERL=$(puse perl) \
|
||||
NO_LIBPYTHON=$(puse python) \
|
||||
NO_LIBUNWIND=$(puse unwind) \
|
||||
NO_NEWT=$(puse slang) \
|
||||
NO_LIBNUMA=$(puse numa) \
|
||||
WERROR=0 \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
perf_make -f Makefile.perf
|
||||
use doc && perf_make -C Documentation
|
||||
}
|
||||
|
||||
src_test() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perf_make -f Makefile.perf install DESTDIR="${D}"
|
||||
|
||||
dodoc CREDITS
|
||||
|
||||
dodoc *txt Documentation/*.txt
|
||||
if use doc ; then
|
||||
dohtml Documentation/*.html
|
||||
doman Documentation/*.1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use doc ; then
|
||||
elog "Without the doc USE flag you won't get any documentation nor man pages."
|
||||
elog "And without man pages, you won't get any --help output for perf and its"
|
||||
elog "sub-tools."
|
||||
fi
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,263 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
#
|
||||
# @ECLASS: mozconfig-v6.40.eclass
|
||||
# @MAINTAINER:
|
||||
# mozilla team <mozilla@gentoo.org>
|
||||
# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
|
||||
# @DESCRIPTION:
|
||||
# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey)
|
||||
# to provide a single common place for the common mozilla engine compoments.
|
||||
#
|
||||
# The eclass provides all common dependencies as well as common use flags.
|
||||
#
|
||||
# Some use flags which may be optional in particular mozilla packages can be
|
||||
# supported through setting eclass variables.
|
||||
#
|
||||
# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3,
|
||||
# and so ebuilds inheriting this eclass do not need to inherit that.
|
||||
|
||||
inherit multilib flag-o-matic toolchain-funcs mozcoreconf-v3
|
||||
|
||||
case ${EAPI} in
|
||||
0|1|2|3|4) die "EAPI=${EAPI} not supported"
|
||||
esac
|
||||
|
||||
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, when an ebuild needs to provide
|
||||
# optional necko-wifi support via IUSE="wifi". Currently this would include
|
||||
# ebuilds for firefox, and potentially seamonkey.
|
||||
#
|
||||
# Leave the variable UNSET if necko-wifi support should not be available.
|
||||
# Set the variable to "enabled" if the use flag should be enabled by default.
|
||||
# Set the variable to any value if the use flag should exist but not be default-enabled.
|
||||
|
||||
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, when an ebuild needs to provide
|
||||
# optional necko-wifi support via IUSE="jit". Currently this would include
|
||||
# ebuilds for firefox, and potentially seamonkey.
|
||||
#
|
||||
# Leave the variable UNSET if optional jit support should not be available.
|
||||
# Set the variable to "enabled" if the use flag should be enabled by default.
|
||||
# Set the variable to any value if the use flag should exist but not be default-enabled.
|
||||
|
||||
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_GTK3
|
||||
# @DESCRIPTION:
|
||||
# Set this variable before the inherit line, when an ebuild can provide
|
||||
# optional gtk3 support via IUSE="gtk3". Currently this would include
|
||||
# ebuilds for firefox, but thunderbird and seamonkey could follow in the future.
|
||||
#
|
||||
# Leave the variable UNSET if gtk3 support should not be available.
|
||||
# Set the variable to "enabled" if the use flag should be enabled by default.
|
||||
# Set the variable to any value if the use flag should exist but not be default-enabled.
|
||||
|
||||
# use-flags common among all mozilla ebuilds
|
||||
IUSE="${IUSE} dbus debug gstreamer gstreamer-0 +jemalloc3 pulseaudio selinux startup-notification system-cairo system-icu system-jpeg system-sqlite system-libvpx"
|
||||
|
||||
# some notes on deps:
|
||||
# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 2.14
|
||||
# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau
|
||||
|
||||
RDEPEND=">=app-text/hunspell-1.2
|
||||
dev-libs/atk
|
||||
dev-libs/expat
|
||||
>=dev-libs/libevent-1.4.7
|
||||
>=x11-libs/cairo-1.10[X]
|
||||
>=x11-libs/gtk+-2.18:2
|
||||
x11-libs/gdk-pixbuf
|
||||
>=x11-libs/pango-1.22.0
|
||||
>=media-libs/libpng-1.6.17:0=[apng]
|
||||
>=media-libs/mesa-10.2:*
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.4.10
|
||||
kernel_linux? ( media-libs/alsa-lib )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
virtual/freedesktop-icon-theme
|
||||
dbus? ( >=sys-apps/dbus-0.60
|
||||
>=dev-libs/dbus-glib-0.72 )
|
||||
startup-notification? ( >=x11-libs/startup-notification-0.8 )
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=sys-libs/zlib-1.2.3
|
||||
>=virtual/libffi-3.0.10
|
||||
gstreamer? (
|
||||
>=media-libs/gstreamer-1.4.5:1.0
|
||||
>=media-libs/gst-plugins-base-1.4.5:1.0
|
||||
>=media-libs/gst-plugins-good-1.4.5:1.0
|
||||
>=media-plugins/gst-plugins-libav-1.4.5:1.0
|
||||
)
|
||||
gstreamer-0? (
|
||||
>=media-libs/gstreamer-0.10.25:0.10
|
||||
media-plugins/gst-plugins-meta:0.10[ffmpeg]
|
||||
)
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 )
|
||||
system-icu? ( >=dev-libs/icu-51.1:= )
|
||||
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
|
||||
system-sqlite? ( >=dev-db/sqlite-3.8.9:3[secure-delete,debug=] )
|
||||
system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] )
|
||||
"
|
||||
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
|
||||
if [[ ${MOZCONFIG_OPTIONAL_GTK3} = "enabled" ]]; then
|
||||
IUSE+=" +gtk3"
|
||||
else
|
||||
IUSE+=" gtk3"
|
||||
fi
|
||||
RDEPEND+="
|
||||
gtk3? ( >=x11-libs/gtk+-3.14.0:3 )"
|
||||
fi
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then
|
||||
if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then
|
||||
IUSE+=" +wifi"
|
||||
else
|
||||
IUSE+=" wifi"
|
||||
fi
|
||||
RDEPEND+="
|
||||
wifi? ( >=sys-apps/dbus-0.60
|
||||
>=dev-libs/dbus-glib-0.72
|
||||
net-wireless/wireless-tools )"
|
||||
fi
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then
|
||||
if [[ ${MOZCONFIG_OPTIONAL_JIT} = "enabled" ]]; then
|
||||
IUSE+=" +jit"
|
||||
else
|
||||
IUSE+=" jit"
|
||||
fi
|
||||
fi
|
||||
|
||||
DEPEND="app-arch/zip
|
||||
app-arch/unzip
|
||||
>=sys-devel/binutils-2.16.1
|
||||
${RDEPEND}"
|
||||
|
||||
RDEPEND+="
|
||||
selinux? ( sec-policy/selinux-mozilla )"
|
||||
|
||||
# only one of gstreamer and gstreamer-0 can be enabled at a time, so set REQUIRED_USE to signify this
|
||||
REQUIRED_USE="?? ( gstreamer gstreamer-0 )"
|
||||
|
||||
# @FUNCTION: mozconfig_config
|
||||
# @DESCRIPTION:
|
||||
# Set common configure options for mozilla packages.
|
||||
# Call this within src_configure() phase, after mozconfig_init
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# inherit mozconfig-v5.33
|
||||
#
|
||||
# src_configure() {
|
||||
# mozconfig_init
|
||||
# mozconfig_config
|
||||
# # ... misc ebuild-unique settings via calls to
|
||||
# # ... mozconfig_{annotate,use_with,use_enable}
|
||||
# mozconfig_final
|
||||
# }
|
||||
|
||||
mozconfig_config() {
|
||||
# Migrated from mozcoreconf-2
|
||||
mozconfig_annotate 'system_libs' \
|
||||
--with-system-zlib \
|
||||
--enable-pango \
|
||||
--enable-svg \
|
||||
--with-system-bz2
|
||||
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
|
||||
mozconfig_annotate 'gtk3 use flag' --enable-default-toolkit=$(usex gtk3 cairo-gtk3 cairo-gtk2)
|
||||
else
|
||||
mozconfig_annotate '' --enable-default-toolkit=cairo-gtk2
|
||||
fi
|
||||
|
||||
if has bindist ${IUSE}; then
|
||||
mozconfig_use_enable !bindist official-branding
|
||||
if [[ ${PN} == firefox ]] && use bindist ; then
|
||||
mozconfig_annotate '' --with-branding=browser/branding/aurora
|
||||
fi
|
||||
fi
|
||||
|
||||
mozconfig_use_enable debug
|
||||
mozconfig_use_enable debug tests
|
||||
|
||||
if ! use debug ; then
|
||||
mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols
|
||||
else
|
||||
mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols
|
||||
fi
|
||||
|
||||
mozconfig_use_enable startup-notification
|
||||
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]] ; then
|
||||
# wifi pulls in dbus so manage both here
|
||||
mozconfig_use_enable wifi necko-wifi
|
||||
if use wifi && ! use dbus; then
|
||||
echo "Enabling dbus support due to wifi request"
|
||||
mozconfig_annotate 'dbus required by necko-wifi' --enable-dbus
|
||||
else
|
||||
mozconfig_use_enable dbus
|
||||
fi
|
||||
else
|
||||
mozconfig_use_enable dbus
|
||||
mozconfig_annotate 'disabled' --disable-necko-wifi
|
||||
fi
|
||||
|
||||
# These are forced-on for webm support
|
||||
mozconfig_annotate 'required' --enable-ogg
|
||||
mozconfig_annotate 'required' --enable-wave
|
||||
|
||||
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then
|
||||
mozconfig_use_enable jit ion
|
||||
fi
|
||||
|
||||
# These are enabled by default in all mozilla applications
|
||||
mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir)
|
||||
mozconfig_annotate '' --with-system-libevent="${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --prefix="${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
mozconfig_annotate 'Gentoo default' --enable-system-hunspell
|
||||
mozconfig_annotate '' --disable-gnomevfs
|
||||
mozconfig_annotate '' --disable-gnomeui
|
||||
mozconfig_annotate '' --enable-gio
|
||||
mozconfig_annotate '' --disable-crashreporter
|
||||
mozconfig_annotate 'Gentoo default' --with-system-png
|
||||
mozconfig_annotate '' --enable-system-ffi
|
||||
mozconfig_annotate 'Gentoo default to honor system linker' --disable-gold
|
||||
mozconfig_annotate '' --disable-gconf
|
||||
|
||||
# Use jemalloc unless libc is not glibc >= 2.4
|
||||
# at this time the minimum glibc in the tree is 2.9 so we should be safe.
|
||||
if use elibc_glibc && use jemalloc3; then
|
||||
# We must force-enable jemalloc 3 via .mozconfig
|
||||
echo "export MOZ_JEMALLOC3=1" >> "${S}"/.mozconfig || die
|
||||
mozconfig_annotate '' --enable-jemalloc
|
||||
mozconfig_annotate '' --enable-replace-malloc
|
||||
fi
|
||||
|
||||
mozconfig_annotate '' --target="${CTARGET:-${CHOST}}"
|
||||
mozconfig_annotate '' --build="${CTARGET:-${CHOST}}"
|
||||
|
||||
if use gstreamer ; then
|
||||
mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0
|
||||
elif use gstreamer-0 ; then
|
||||
mozconfig_annotate '+gstreamer-0' --enable-gstreamer=0.10
|
||||
else
|
||||
mozconfig_annotate '' --disable-gstreamer
|
||||
fi
|
||||
mozconfig_use_enable pulseaudio
|
||||
|
||||
mozconfig_use_enable system-cairo
|
||||
mozconfig_use_enable system-sqlite
|
||||
mozconfig_use_with system-jpeg
|
||||
mozconfig_use_with system-icu
|
||||
mozconfig_use_enable system-icu intl-api
|
||||
mozconfig_use_with system-libvpx
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST renpy-6.14.1-source.tar.bz2 9806538 SHA256 18be3630d1956131a1f010732d15292cdcec14a2391210af27dc342fafd8197f SHA512 a1f13a5f860e66054012eab29bbd37715bd9721e2dc30fdd9c8d4d8c58dc672c35b3c813e962ad6878cb741502af5a181dff8a05f359892b6b60d2e15bc5a7bc WHIRLPOOL 54018731e136106f328bf2d028841f09424d8ffd8303821eec995c55918b2c8ac7eb97d9ed24785e95ad3d878b794f5bcf96cc9f783955f8d1ace086a3ca9b61
|
||||
DIST renpy-6.15.7-source.tar.bz2 10421736 SHA256 b4280b62f7c8f730a37c7e567b16216b4578fc3640fbcdf5df7c65a73ae52e52 SHA512 d79b1d6b931f281ff208b8ece3889c116ceb05c58fe115e9f7f470788e74e63cfeb3df4f804b4a37a4f1da6ba194c883023808fafc8e8beddf864424958204e6 WHIRLPOOL 202ddb045f440f9abd06f5ac02ebd92a7b0300b14f4755271f1fc4e91bdea21cda19a432f45516f68ba3ad7ead98d7491382ad5c633da277a674f799458795f3
|
||||
DIST renpy-6.16.5-source.tar.bz2 14455622 SHA256 5ecb00fa84a048ff6e1f1d8a0114373425375e9c0b2a0596bf2d47e996b9d056 SHA512 1a718d86a689135e5a280f64cdc3c0340d712b7804af2169ed4cb4a12528e01088c919b87d36176b3fb8a05e8201f226146c46c4f4d5ebf1d89c3cebd1263c4d WHIRLPOOL b06638c284089ba79d12d95ba604c40fffe595d67e75551bbe8a08ddc57403f1644dd713c5eb15a39fcc34b92722589437935666d172379bb1164d2a02ef9433
|
||||
DIST renpy-6.17.7-source.tar.bz2 17932988 SHA256 fef01de9e482b73d9d409de7a43bada6dd3e2a0549b99dd487306371190ed038 SHA512 22b0e08b18ee35317b11451205233cbd8a29617d9c3d298bbdcfc5757f67c2f0e4c8a748aa83d5c8b43786c062ffca109d07e981efa750fcee26f45f08a33ea2 WHIRLPOOL fef82eb6c958a2525797e5d8bfae3488fba606b70eeed5c94f7afcab4fa46e7a7eb43d91b4bd55f553b65a72b12236e02ecdee55e8852c1fafc055332f9d131d
|
||||
DIST renpy-6.18.2-source.tar.bz2 19854257 SHA256 635c7495d5ced298183793cafbe8631981a5a75aec106b4ba145d3dd870a544c SHA512 239de63f7e015076aeb05d4f7da7caa676e151b0f3cbd710b0fe59a592f7af02cd8994ddb0d6225ccec337579eb2de1a5b83759a28572ead631fe3b5df515e8b WHIRLPOOL 85ac745891bf2ab729cb8ad44cab0cdd03399956455a4fbf73d638b87cf49d44c7395658e3882509dc0652492da931f7932297eb39974d7c890e772cfe1f13ff
|
||||
DIST renpy-6.18.3-source.tar.bz2 23244450 SHA256 c0c6af79ceb529e69cebfdb0e9849e50dc27e424dc2fd2b322c13d6ec938cba6 SHA512 7ea99adaf1fbea7a499790fb5b37349fc797f383fb633956a43955c80885b259e26570469c430f4c4c103e62444f60082690489ee6400809f5e9024693261e55 WHIRLPOOL 6e4e68228bc38c709af4387f209717e4644efccae47fb04b7071783b0c01d6fbe4ca65d7c712a32e159cd59c663873457e54c3851e9e4a84d3d4e4ed05271102
|
||||
DIST renpy-6.99.5-source.tar.bz2 27285400 SHA256 cec38c548a812331fe42b60882ba271ea10fb369f0ba67bad1facd8d556ae74d SHA512 0e9d3dca70924e587711effa34d5af45fcd1c1bc6ce0b38723b39e07593a85dc55645ad4cb002f43fe33f387ee58c92626004f655d0f2955c55d8d01b5453326 WHIRLPOOL f3db4a08b1216b69b2724668cb22ea3c720826a6bf82042d0783fb8048d07074fd473157132e27010570c485fc90d09cb0115accbb429aad48f62417245852a8
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- module/ffdecode.c
|
||||
+++ module/ffdecode.c
|
||||
@@ -1356,7 +1356,7 @@
|
||||
if (is->video_stream >= 0)
|
||||
stream_component_close(is, is->video_stream);
|
||||
if (is->ic) {
|
||||
- av_close_input_stream(is->ic);
|
||||
+ av_close_input_file(is->ic);
|
||||
is->ic = NULL;
|
||||
}
|
||||
|
@ -1,17 +0,0 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Mon Apr 28 22:31:52 UTC 2014
|
||||
Subject: fix build
|
||||
|
||||
--- renpy-6.14.1-source/module/setup.py
|
||||
+++ renpy-6.14.1-source/module/setup.py
|
||||
@@ -24,8 +24,8 @@
|
||||
include("zlib.h")
|
||||
include("png.h")
|
||||
include("SDL.h", directory="SDL")
|
||||
-include("ft2build.h")
|
||||
-include("freetype/freetype.h", directory="freetype2")
|
||||
+include("ft2build.h") or include("ft2build.h", directory="freetype2")
|
||||
+include("freetype/freetype.h", directory="freetype2") or include("freetype.h", directory="freetype2")
|
||||
include("libavutil/avstring.h")
|
||||
include("libavformat/avformat.h")
|
||||
include("libavcodec/avcodec.h")
|
@ -1,230 +0,0 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Mon Feb 25 21:35:31 UTC 2013
|
||||
Subject: fix multiple abi support
|
||||
|
||||
--- /dev/null
|
||||
+++ renpy-6.14.1-source/renpy/common.py
|
||||
@@ -0,0 +1,83 @@
|
||||
+# Copyright 2004-2012 Tom Rothamel <pytom@bishoujo.us>
|
||||
+#
|
||||
+# Permission is hereby granted, free of charge, to any person
|
||||
+# obtaining a copy of this software and associated documentation files
|
||||
+# (the "Software"), to deal in the Software without restriction,
|
||||
+# including without limitation the rights to use, copy, modify, merge,
|
||||
+# publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
+# and to permit persons to whom the Software is furnished to do so,
|
||||
+# subject to the following conditions:
|
||||
+#
|
||||
+# The above copyright notice and this permission notice shall be
|
||||
+# included in all copies or substantial portions of the Software.
|
||||
+#
|
||||
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+import os
|
||||
+import sys
|
||||
+import warnings
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+
|
||||
+# Functions to be customized by distributors. ################################
|
||||
+
|
||||
+# Given the Ren'Py base directory (usually the directory containing
|
||||
+# this file), this is expected to return the path to the common directory.
|
||||
+def path_to_common(renpy_base):
|
||||
+ return renpy_base + "/common"
|
||||
+
|
||||
+# Given a directory holding a Ren'Py game, this is expected to return
|
||||
+# the path to a directory that will hold save files.
|
||||
+def path_to_saves(gamedir):
|
||||
+ import renpy #@UnresolvedImport
|
||||
+
|
||||
+ if not renpy.config.save_directory:
|
||||
+ return gamedir + "/saves"
|
||||
+
|
||||
+ # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
+ # If it exists, then use that for our save directory.
|
||||
+ path = renpy.config.renpy_base
|
||||
+
|
||||
+ while True:
|
||||
+ if os.path.isdir(path + "/Ren'Py Data"):
|
||||
+ return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
+
|
||||
+ newpath = os.path.dirname(path)
|
||||
+ if path == newpath:
|
||||
+ break
|
||||
+ path = newpath
|
||||
+
|
||||
+ # Otherwise, put the saves in a platform-specific location.
|
||||
+ if renpy.android:
|
||||
+ return gamedir + "/saves"
|
||||
+
|
||||
+ elif renpy.macintosh:
|
||||
+ rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ elif renpy.windows:
|
||||
+ if 'APPDATA' in os.environ:
|
||||
+ return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
+ else:
|
||||
+ rv = "~/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ else:
|
||||
+ rv = "~/.renpy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+
|
||||
+# Returns the path to the Ren'Py base directory (containing common and
|
||||
+# the launcher, usually.)
|
||||
+def path_to_renpy_base():
|
||||
+ renpy_base = os.path.dirname(sys.argv[0])
|
||||
+ renpy_base = get_python_lib() + "/renpy@SLOT@"
|
||||
+ renpy_base = os.environ.get('RENPY_BASE', renpy_base)
|
||||
+ renpy_base = os.path.abspath(renpy_base)
|
||||
+
|
||||
+ return renpy_base
|
||||
--- renpy-6.14.1-source/renpy.py
|
||||
+++ renpy-6.14.1-source/renpy.py
|
||||
@@ -24,65 +24,9 @@
|
||||
import os
|
||||
import sys
|
||||
import warnings
|
||||
-
|
||||
-# Functions to be customized by distributors. ################################
|
||||
-
|
||||
-# Given the Ren'Py base directory (usually the directory containing
|
||||
-# this file), this is expected to return the path to the common directory.
|
||||
-def path_to_common(renpy_base):
|
||||
- return renpy_base + "/common"
|
||||
-
|
||||
-# Given a directory holding a Ren'Py game, this is expected to return
|
||||
-# the path to a directory that will hold save files.
|
||||
-def path_to_saves(gamedir):
|
||||
- import renpy #@UnresolvedImport
|
||||
-
|
||||
- if not renpy.config.save_directory:
|
||||
- return gamedir + "/saves"
|
||||
-
|
||||
- # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
- # If it exists, then use that for our save directory.
|
||||
- path = renpy.config.renpy_base
|
||||
-
|
||||
- while True:
|
||||
- if os.path.isdir(path + "/Ren'Py Data"):
|
||||
- return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
-
|
||||
- newpath = os.path.dirname(path)
|
||||
- if path == newpath:
|
||||
- break
|
||||
- path = newpath
|
||||
-
|
||||
- # Otherwise, put the saves in a platform-specific location.
|
||||
- if renpy.android:
|
||||
- return gamedir + "/saves"
|
||||
-
|
||||
- elif renpy.macintosh:
|
||||
- rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- elif renpy.windows:
|
||||
- if 'APPDATA' in os.environ:
|
||||
- return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
- else:
|
||||
- rv = "~/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- else:
|
||||
- rv = "~/.renpy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
-
|
||||
-# Returns the path to the Ren'Py base directory (containing common and
|
||||
-# the launcher, usually.)
|
||||
-def path_to_renpy_base():
|
||||
- renpy_base = os.path.dirname(sys.argv[0])
|
||||
- renpy_base = os.environ.get('RENPY_BASE', renpy_base)
|
||||
- renpy_base = os.path.abspath(renpy_base)
|
||||
-
|
||||
- return renpy_base
|
||||
-
|
||||
-##############################################################################
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+sys.path.append(get_python_lib() + "/renpy@SLOT@")
|
||||
+import renpy.common as common
|
||||
|
||||
# The version of the Mac Launcher and py4renpy that we require.
|
||||
macos_version = (6, 14, 0)
|
||||
@@ -97,21 +41,9 @@
|
||||
print "Ren'Py requires at least python 2.6."
|
||||
sys.exit(0)
|
||||
|
||||
-android = ("ANDROID_PRIVATE" in os.environ)
|
||||
-
|
||||
-# Android requires us to add code to the main module, and to command some
|
||||
-# renderers.
|
||||
-if android:
|
||||
- __main__ = sys.modules["__main__"]
|
||||
- __main__.path_to_renpy_base = path_to_renpy_base
|
||||
- __main__.path_to_common = path_to_common
|
||||
- __main__.path_to_saves = path_to_saves
|
||||
- os.environ["RENPY_RENDERER"] = "gl"
|
||||
- os.environ["RENPY_GL_ENVIRON"] = "limited"
|
||||
-
|
||||
def main():
|
||||
|
||||
- renpy_base = path_to_renpy_base()
|
||||
+ renpy_base = common.path_to_renpy_base()
|
||||
|
||||
# Add paths.
|
||||
if os.path.exists(renpy_base + "/module"):
|
||||
@@ -133,14 +65,9 @@
|
||||
print >>sys.stderr, "Could not import renpy.bootstrap. Please ensure you decompressed Ren'Py"
|
||||
print >>sys.stderr, "correctly, preserving the directory structure."
|
||||
raise
|
||||
-
|
||||
- if android:
|
||||
- renpy.linux = False
|
||||
- renpy.android = True
|
||||
|
||||
renpy.bootstrap.bootstrap(renpy_base)
|
||||
|
||||
-if __name__ == "__main__":
|
||||
- main()
|
||||
|
||||
-
|
||||
+if __name__ == "__main__":
|
||||
+ main()
|
||||
--- renpy-6.14.1-source/renpy/main.py
|
||||
+++ renpy-6.14.1-source/renpy/main.py
|
||||
@@ -27,7 +27,7 @@
|
||||
import zipfile
|
||||
import subprocess
|
||||
from cPickle import loads, dumps
|
||||
-import __main__
|
||||
+import renpy.common as common
|
||||
|
||||
|
||||
def save_persistent():
|
||||
@@ -172,7 +172,7 @@
|
||||
renpy.config.searchpath = [ renpy.config.gamedir ]
|
||||
|
||||
# Find the common directory.
|
||||
- commondir = __main__.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
+ commondir = common.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
|
||||
if os.path.isdir(commondir):
|
||||
renpy.config.searchpath.append(commondir)
|
||||
@@ -227,7 +227,7 @@
|
||||
|
||||
# Find the save directory.
|
||||
if renpy.config.savedir is None:
|
||||
- renpy.config.savedir = __main__.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
+ renpy.config.savedir = common.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
|
||||
if renpy.game.args.savedir: #@UndefinedVariable
|
||||
renpy.config.savedir = renpy.game.args.savedir #@UndefinedVariable
|
@ -1,19 +0,0 @@
|
||||
--- module/ffdecode.c
|
||||
+++ module/ffdecode.c
|
||||
@@ -1152,7 +1152,6 @@
|
||||
AVFormatContext *ic;
|
||||
int err, i, ret, video_index, audio_index;
|
||||
AVPacket pkt1, *pkt = &pkt1;
|
||||
- AVFormatParameters params, *ap = ¶ms;
|
||||
int codecs_locked = 0;
|
||||
|
||||
// url_set_interrupt_cb(decode_interrupt_cb);
|
||||
@@ -1162,8 +1161,6 @@
|
||||
is->video_stream = -1;
|
||||
is->audio_stream = -1;
|
||||
|
||||
- memset(ap, 0, sizeof(*ap));
|
||||
-
|
||||
is->io_context = rwops_open(is->rwops);
|
||||
|
||||
codecs_locked = 1;
|
@ -1,271 +0,0 @@
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Tue Jan 21 01:02:00 2014 +0100
|
||||
|
||||
fix multiple abi support
|
||||
|
||||
--- renpy.py
|
||||
+++ renpy.py
|
||||
@@ -29,92 +29,9 @@
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
-# Functions to be customized by distributors. ################################
|
||||
-
|
||||
-# Given the Ren'Py base directory (usually the directory containing
|
||||
-# this file), this is expected to return the path to the common directory.
|
||||
-def path_to_common(renpy_base):
|
||||
- return renpy_base + "/renpy/common"
|
||||
-
|
||||
-# Given a directory holding a Ren'Py game, this is expected to return
|
||||
-# the path to a directory that will hold save files.
|
||||
-def path_to_saves(gamedir):
|
||||
- import renpy #@UnresolvedImport
|
||||
-
|
||||
- # Makes sure the permissions are right on the save directory.
|
||||
- def test_writable(d):
|
||||
- try:
|
||||
- fn = os.path.join(d, "test.txt")
|
||||
- open(fn, "w").close()
|
||||
- open(fn, "r").close()
|
||||
- os.unlink(fn)
|
||||
- return True
|
||||
- except:
|
||||
- return False
|
||||
-
|
||||
-
|
||||
- # Android.
|
||||
- if renpy.android:
|
||||
- paths = [
|
||||
- os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
|
||||
- os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
|
||||
- os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
|
||||
- ]
|
||||
-
|
||||
- for rv in paths:
|
||||
- if os.path.isdir(rv) and test_writable(rv):
|
||||
- break
|
||||
-
|
||||
- print "Using savedir", rv
|
||||
-
|
||||
- # We return the last path as the default.
|
||||
-
|
||||
- return rv
|
||||
-
|
||||
-
|
||||
- # No save directory given.
|
||||
- if not renpy.config.save_directory:
|
||||
- return gamedir + "/saves"
|
||||
-
|
||||
- # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
- # If it exists, then use that for our save directory.
|
||||
- path = renpy.config.renpy_base
|
||||
-
|
||||
- while True:
|
||||
- if os.path.isdir(path + "/Ren'Py Data"):
|
||||
- return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
-
|
||||
- newpath = os.path.dirname(path)
|
||||
- if path == newpath:
|
||||
- break
|
||||
- path = newpath
|
||||
-
|
||||
- # Otherwise, put the saves in a platform-specific location.
|
||||
- if renpy.macintosh:
|
||||
- rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- elif renpy.windows:
|
||||
- if 'APPDATA' in os.environ:
|
||||
- return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
- else:
|
||||
- rv = "~/RenPy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
- else:
|
||||
- rv = "~/.renpy/" + renpy.config.save_directory
|
||||
- return os.path.expanduser(rv)
|
||||
-
|
||||
-
|
||||
-# Returns the path to the Ren'Py base directory (containing common and
|
||||
-# the launcher, usually.)
|
||||
-def path_to_renpy_base():
|
||||
- renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
- renpy_base = os.path.abspath(renpy_base)
|
||||
-
|
||||
- return renpy_base
|
||||
-
|
||||
-##############################################################################
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+sys.path.append(get_python_lib() + "/renpy@SLOT@")
|
||||
+import renpy.common as common
|
||||
|
||||
# The version of the Mac Launcher and py4renpy that we require.
|
||||
macos_version = (6, 14, 0)
|
||||
@@ -142,7 +59,7 @@
|
||||
|
||||
def main():
|
||||
|
||||
- renpy_base = path_to_renpy_base()
|
||||
+ renpy_base = common.path_to_renpy_base()
|
||||
|
||||
# Add paths.
|
||||
if os.path.exists(renpy_base + "/module"):
|
||||
--- /dev/null
|
||||
+++ renpy/common.py
|
||||
@@ -0,0 +1,127 @@
|
||||
+# This file is part of Ren'Py. The license below applies to Ren'Py only.
|
||||
+# Games and other projects that use Ren'Py may use a different license.
|
||||
+
|
||||
+# Copyright 2004-2014 Tom Rothamel <pytom@bishoujo.us>
|
||||
+#
|
||||
+# Permission is hereby granted, free of charge, to any person
|
||||
+# obtaining a copy of this software and associated documentation files
|
||||
+# (the "Software"), to deal in the Software without restriction,
|
||||
+# including without limitation the rights to use, copy, modify, merge,
|
||||
+# publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
+# and to permit persons to whom the Software is furnished to do so,
|
||||
+# subject to the following conditions:
|
||||
+#
|
||||
+# The above copyright notice and this permission notice shall be
|
||||
+# included in all copies or substantial portions of the Software.
|
||||
+#
|
||||
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+
|
||||
+import os
|
||||
+import sys
|
||||
+import warnings
|
||||
+from distutils.sysconfig import get_python_lib
|
||||
+
|
||||
+# Functions to be customized by distributors. ################################
|
||||
+
|
||||
+# Given the Ren'Py base directory (usually the directory containing
|
||||
+# this file), this is expected to return the path to the common directory.
|
||||
+def path_to_common(renpy_base):
|
||||
+ return renpy_base + "/renpy/common"
|
||||
+
|
||||
+# Given a directory holding a Ren'Py game, this is expected to return
|
||||
+# the path to a directory that will hold save files.
|
||||
+def path_to_saves(gamedir):
|
||||
+ import renpy #@UnresolvedImport
|
||||
+
|
||||
+ # Makes sure the permissions are right on the save directory.
|
||||
+ def test_writable(d):
|
||||
+ try:
|
||||
+ fn = os.path.join(d, "test.txt")
|
||||
+ open(fn, "w").close()
|
||||
+ open(fn, "r").close()
|
||||
+ os.unlink(fn)
|
||||
+ return True
|
||||
+ except:
|
||||
+ return False
|
||||
+
|
||||
+
|
||||
+ # Makes sure the permissions are right on the save directory.
|
||||
+ def test_writable(d):
|
||||
+ try:
|
||||
+ fn = os.path.join(d, "test.txt")
|
||||
+ open(fn, "w").close()
|
||||
+ open(fn, "r").close()
|
||||
+ os.unlink(fn)
|
||||
+ return True
|
||||
+ except:
|
||||
+ return False
|
||||
+
|
||||
+
|
||||
+
|
||||
+ # Android.
|
||||
+ if renpy.android:
|
||||
+ paths = [
|
||||
+ os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
|
||||
+ os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
|
||||
+ os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
|
||||
+ ]
|
||||
+
|
||||
+ for rv in paths:
|
||||
+ if os.path.isdir(rv) and test_writable(rv):
|
||||
+ break
|
||||
+
|
||||
+ print "Using savedir", rv
|
||||
+
|
||||
+ # We return the last path as the default.
|
||||
+
|
||||
+ return rv
|
||||
+
|
||||
+
|
||||
+ # No save directory given.
|
||||
+ if not renpy.config.save_directory:
|
||||
+ return gamedir + "/saves"
|
||||
+
|
||||
+ # Search the path above Ren'Py for a directory named "Ren'Py Data".
|
||||
+ # If it exists, then use that for our save directory.
|
||||
+ path = renpy.config.renpy_base
|
||||
+
|
||||
+ while True:
|
||||
+ if os.path.isdir(path + "/Ren'Py Data"):
|
||||
+ return path + "/Ren'Py Data/" + renpy.config.save_directory
|
||||
+
|
||||
+ newpath = os.path.dirname(path)
|
||||
+ if path == newpath:
|
||||
+ break
|
||||
+ path = newpath
|
||||
+
|
||||
+ # Otherwise, put the saves in a platform-specific location.
|
||||
+ if renpy.macintosh:
|
||||
+ rv = "~/Library/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ elif renpy.windows:
|
||||
+ if 'APPDATA' in os.environ:
|
||||
+ return os.environ['APPDATA'] + "/RenPy/" + renpy.config.save_directory
|
||||
+ else:
|
||||
+ rv = "~/RenPy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+ else:
|
||||
+ rv = "~/.renpy/" + renpy.config.save_directory
|
||||
+ return os.path.expanduser(rv)
|
||||
+
|
||||
+
|
||||
+# Returns the path to the Ren'Py base directory (containing common and
|
||||
+# the launcher, usually.)
|
||||
+def path_to_renpy_base():
|
||||
+ renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
|
||||
+ renpy_base = get_python_lib() + "/renpy@SLOT@"
|
||||
+ renpy_base = os.path.abspath(renpy_base)
|
||||
+
|
||||
+ return renpy_base
|
||||
--- renpy/main.py
|
||||
+++ renpy/main.py
|
||||
@@ -25,7 +25,7 @@ import os
|
||||
import sys
|
||||
import time
|
||||
import zipfile
|
||||
-import __main__
|
||||
+import renpy.common as common
|
||||
|
||||
|
||||
def run(restart):
|
||||
@@ -167,7 +167,7 @@ def main():
|
||||
renpy.config.searchpath = [ renpy.config.gamedir ]
|
||||
|
||||
# Find the common directory.
|
||||
- commondir = __main__.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
+ commondir = common.path_to_common(renpy.config.renpy_base) # E1101 @UndefinedVariable
|
||||
|
||||
if os.path.isdir(commondir):
|
||||
renpy.config.searchpath.append(commondir)
|
||||
@@ -230,7 +230,7 @@ def main():
|
||||
|
||||
# Find the save directory.
|
||||
if renpy.config.savedir is None:
|
||||
- renpy.config.savedir = __main__.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
+ renpy.config.savedir = common.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
|
||||
|
||||
if renpy.game.args.savedir: #@UndefinedVariable
|
||||
renpy.config.savedir = renpy.game.args.savedir #@UndefinedVariable
|
@ -1,112 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
inherit eutils python-r1 versionator gnome2-utils games distutils-r1
|
||||
|
||||
DESCRIPTION="Visual novel engine written in python"
|
||||
HOMEPAGE="http://www.renpy.org"
|
||||
SRC_URI="http://www.renpy.org/dl/${PV}/${P}-source.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
MYSLOT=$(delete_all_version_separators ${SLOT})
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="development doc examples"
|
||||
REQUIRED_USE="examples? ( development )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-eselect/eselect-renpy-0.1
|
||||
dev-libs/fribidi
|
||||
dev-python/pygame[X,${PYTHON_USEDEP}]
|
||||
>=dev-lang/python-exec-0.3[${PYTHON_USEDEP}]
|
||||
media-libs/glew
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[X,video]
|
||||
media-libs/freetype:2
|
||||
sys-libs/zlib
|
||||
virtual/ffmpeg"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P}-source
|
||||
|
||||
pkg_setup() {
|
||||
games_pkg_setup
|
||||
export CFLAGS="${CFLAGS} $(pkg-config --cflags fribidi)"
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# wooosh! this should fix multiple abi
|
||||
epatch "${FILESDIR}"/${P}-multiple-abi.patch \
|
||||
"${FILESDIR}"/${P}-{av_close_input_stream,remove-AVFormatParameters}.patch \
|
||||
"${FILESDIR}"/${P}-freetype.patch
|
||||
|
||||
einfo "Deleting precompiled python files"
|
||||
find . -name '*.py[co]' -print -delete || die
|
||||
|
||||
sed -i \
|
||||
-e "s/@SLOT@/${MYSLOT}/" \
|
||||
renpy.py renpy/common.py || die "setting slot failed!"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
cd "${S}"/module || die
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_install() {
|
||||
cd "${S}"/module || die
|
||||
distutils-r1_python_install --install-lib="$(python_get_sitedir)/renpy${MYSLOT}"
|
||||
|
||||
cd "${S}" || die
|
||||
python_scriptinto "${GAMES_BINDIR}"
|
||||
python_newscript renpy.py ${PN}-${SLOT}
|
||||
|
||||
python_moduleinto renpy${MYSLOT}
|
||||
python_domodule renpy common
|
||||
if use development ; then
|
||||
python_domodule launcher template
|
||||
fi
|
||||
if use examples ; then
|
||||
python_domodule the_question tutorial
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use development; then
|
||||
newicon -s 32 launcher/game/logo32.png ${P}.png
|
||||
make_desktop_entry ${PN}-${SLOT} "Ren'Py ${PV}" ${P}
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
use development && gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
use development && gnome2_icon_cache_update
|
||||
|
||||
einfo "running: eselect renpy update --if-unset"
|
||||
eselect renpy update --if-unset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use development && gnome2_icon_cache_update
|
||||
|
||||
einfo "running: eselect renpy update --if-unset"
|
||||
eselect renpy update --if-unset
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
inherit eutils toolchain-funcs python-r1 versionator gnome2-utils games distutils-r1
|
||||
|
||||
DESCRIPTION="Visual novel engine written in python"
|
||||
HOMEPAGE="http://www.renpy.org"
|
||||
SRC_URI="http://www.renpy.org/dl/${PV}/${P}-source.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
MYSLOT=$(delete_all_version_separators ${SLOT})
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="development doc examples"
|
||||
REQUIRED_USE="examples? ( development )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-eselect/eselect-renpy-0.5
|
||||
dev-libs/fribidi
|
||||
dev-python/pygame[X,${PYTHON_USEDEP}]
|
||||
>=dev-lang/python-exec-0.3[${PYTHON_USEDEP}]
|
||||
media-libs/glew
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[X,video]
|
||||
media-libs/freetype:2
|
||||
sys-libs/zlib
|
||||
virtual/ffmpeg"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P}-source
|
||||
|
||||
pkg_setup() {
|
||||
games_pkg_setup
|
||||
export CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) --cflags fribidi)"
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# wooosh! this should fix multiple abi
|
||||
epatch "${FILESDIR}"/${P}-multiple-abi.patch
|
||||
|
||||
einfo "Deleting precompiled python files"
|
||||
find . -name '*.py[co]' -print -delete || die
|
||||
|
||||
sed -i \
|
||||
-e "s/@SLOT@/${MYSLOT}/" \
|
||||
renpy.py renpy/common.py || die "setting slot failed!"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
cd "${S}"/module || die
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_install() {
|
||||
cd "${S}"/module || die
|
||||
distutils-r1_python_install --install-lib="$(python_get_sitedir)/renpy${MYSLOT}"
|
||||
|
||||
cd "${S}" || die
|
||||
python_scriptinto "${GAMES_BINDIR}"
|
||||
python_newscript renpy.py ${PN}-${SLOT}
|
||||
|
||||
python_moduleinto renpy${MYSLOT}
|
||||
python_domodule renpy
|
||||
if use development ; then
|
||||
python_domodule launcher templates
|
||||
fi
|
||||
if use examples ; then
|
||||
python_domodule the_question tutorial
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use development; then
|
||||
newicon -s 32 launcher/game/images/logo32.png ${P}.png
|
||||
make_desktop_entry ${PN}-${SLOT} "Ren'Py ${PV}" ${P}
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
use development && gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
use development && gnome2_icon_cache_update
|
||||
|
||||
einfo "running: eselect renpy update --if-unset"
|
||||
eselect renpy update --if-unset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use development && gnome2_icon_cache_update
|
||||
|
||||
einfo "running: eselect renpy update --if-unset"
|
||||
eselect renpy update --if-unset
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,2 +1,3 @@
|
||||
DIST geary-0.10.0.tar.xz 917376 SHA256 46197a5a1b8b040adcee99082dbfd9fff9ca804e3bf0055a2e90b13214bdbca5 SHA512 9126acb3608f7aac9236f7d38f5ca549fe04427e244bbff093d06095e09d0ae642ed8e5722325f152a40d3c642a5f31035fca1685749fbe311c4bf3965ee3256 WHIRLPOOL 5d79011682cb47299a147f44380341c05b997b1c825f86df53772be8fcf3818eca85eb55aa325e8c6a6737024166d58044ab01298476a5dad5036092d5a17f74
|
||||
DIST geary-0.6.3.tar.xz 791248 SHA256 2fa2612bf3821f8ff74664463a430729776f6f9bf31795156be2ca7959b52eca SHA512 4a4f26b3e88032191f2b683d8ed0d48401b278c4d1cc69c09731d9ca878450847a35c0653a8b9907ce81b989e713d1a41a40b7b6193f6e84a6e6f4eb4d5053f4 WHIRLPOOL 83e4a648a792639a10fde6eccf78db2fb582ebea4f5f0806091e4cc9f8550387e976e46b383b33819b32a25ec665116cfecfa3417acb72950f1eba3ffa48d403
|
||||
DIST geary-0.6.5.tar.xz 804988 SHA256 467d81f6037792a639df536db22b8ff21edc77c127b45897c198a79e919752d0 SHA512 2ba128233c44aa742e51dd3f2b1a235b11e06bd2cea761b6f7677b11f268f4a3cd4eeb872c09d8aeeb487bd3e36552c994741294b4615d3d44b9884c18e445fc WHIRLPOOL 512042c18f58bbb89d99f62887300ec18dd07904e1c9bbcc432a38facefb67a7611ca7c554e6b6f1dd450fb4cf489434dc195a01a5a361275aba1ead8bfc0806
|
||||
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
VALA_MIN_API_VERSION=0.22
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils vala cmake-utils
|
||||
|
||||
MY_P=${P/_pre/pr}
|
||||
DESCRIPTION="A lightweight, easy-to-use, feature-rich email client"
|
||||
HOMEPAGE="http://www.yorba.org/projects/geary/"
|
||||
SRC_URI="mirror://gnome/sources/geary/${PV:0:3}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/gcr[gtk,introspection,vala]
|
||||
app-crypt/libsecret
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/libgee-0.8.5:0.8
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/gmime:2.6
|
||||
media-libs/libcanberra
|
||||
>=net-libs/webkit-gtk-1.10.0:3[introspection]
|
||||
>=x11-libs/gtk+-3.6.0:3[introspection]
|
||||
x11-libs/libnotify"
|
||||
RDEPEND="${DEPEND}
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${DEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
dev-util/desktop-file-utils
|
||||
nls? ( sys-devel/gettext )
|
||||
$(vala_depend)
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS MAINTAINERS README NEWS THANKS )
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.5.3-{unity,vapigen}.patch \
|
||||
"${FILESDIR}"/${PN}-0.6.3-cflags.patch \
|
||||
"${FILESDIR}"/${PN}-0.6.0-desktopfile.patch
|
||||
|
||||
local i
|
||||
if use nls ; then
|
||||
if [[ -n "${LINGUAS+x}" ]] ; then
|
||||
for i in $(cd po ; echo *.po) ; do
|
||||
if ! has ${i%.po} ${LINGUAS} ; then
|
||||
sed -i -e "/^${i%.po}$/d" po/LINGUAS || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
else
|
||||
sed -i -e 's#add_subdirectory(po)##' CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
cmake-utils_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDESKTOP_UPDATE=OFF
|
||||
-DGSETTINGS_COMPILE=OFF
|
||||
-DICON_UPDATE=OFF
|
||||
-DVALA_EXECUTABLE="${VALAC}"
|
||||
-DWITH_UNITY=OFF
|
||||
-DDESKTOP_VALIDATE=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For libnotify sounds you will need"
|
||||
elog "\"alsa\" or \"pulseaudio\" useflag of media-libs/libcanberra"
|
||||
elog "enabled."
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,130 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
BACKPORTS="aaae611819c6a6f92a55d5c82efb8738ec9a23df"
|
||||
MY_P=${P%_p*}
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="Official MythTV plugins"
|
||||
HOMEPAGE="http://www.mythtv.org"
|
||||
SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.1.tar.gz -> mythtv-0.27.1.tar.gz
|
||||
${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \
|
||||
mythmusic mythnetvision mythnews mythweather mythzoneminder"
|
||||
|
||||
IUSE="${MYTHPLUGINS} cdda cdr exif fftw raw"
|
||||
|
||||
DEPEND="!media-plugins/mytharchive
|
||||
!media-plugins/mythbrowser
|
||||
!media-plugins/mythgallery
|
||||
!media-plugins/mythgame
|
||||
!media-plugins/mythmovies
|
||||
!media-plugins/mythmusic
|
||||
!media-plugins/mythnetvision
|
||||
!media-plugins/mythnews
|
||||
!media-plugins/mythweather
|
||||
=media-tv/mythtv-${PV}*:=[python]
|
||||
mytharchive? (
|
||||
app-cdr/dvd+rw-tools
|
||||
virtual/python-imaging:=
|
||||
media-video/dvdauthor
|
||||
media-video/mjpegtools[png]
|
||||
media-video/transcode
|
||||
virtual/cdrtools
|
||||
)
|
||||
mythgallery? (
|
||||
media-libs/tiff:=
|
||||
virtual/opengl
|
||||
exif? ( >media-libs/libexif-0.6.9:= )
|
||||
raw? ( media-gfx/dcraw )
|
||||
)
|
||||
mythmusic? (
|
||||
>=media-libs/flac-1.1.2:=
|
||||
>=media-libs/libvorbis-1.0:=
|
||||
>=media-libs/taglib-1.6:=
|
||||
media-sound/lame
|
||||
virtual/opengl
|
||||
cdda? (
|
||||
dev-libs/libcdio:=
|
||||
cdr? ( virtual/cdrtools )
|
||||
)
|
||||
fftw? ( sci-libs/fftw:= )
|
||||
)
|
||||
mythnetvision? (
|
||||
=dev-lang/python-2*:=[xml]
|
||||
dev-python/lxml:=
|
||||
dev-python/mysql-python:=
|
||||
dev-python/oauth:=
|
||||
dev-python/pycurl:=
|
||||
)
|
||||
mythweather? (
|
||||
dev-perl/DateManip
|
||||
dev-perl/DateTime-Format-ISO8601
|
||||
>=dev-perl/DateTime-1
|
||||
dev-perl/ImageSize
|
||||
dev-perl/JSON
|
||||
dev-perl/SOAP-Lite
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/XML-Parser
|
||||
dev-perl/XML-SAX
|
||||
dev-perl/XML-XPath
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE="
|
||||
cdda? ( mythmusic )
|
||||
cdr? ( mythmusic cdda )
|
||||
exif? ( mythgallery )
|
||||
fftw? ( mythmusic )
|
||||
mythnews? ( mythbrowser )
|
||||
raw? ( mythgallery )"
|
||||
|
||||
S="${WORKDIR}/mythtv-0.27.1/mythplugins"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--python=python2 \
|
||||
--enable-opengl \
|
||||
$(use_enable mythzoneminder) \
|
||||
$(use_enable mytharchive) \
|
||||
$(use_enable mythbrowser) \
|
||||
$(use_enable mythgallery) \
|
||||
$(use_enable mythgame) \
|
||||
$(use_enable mythmusic) \
|
||||
$(use_enable mythnetvision) \
|
||||
$(use_enable mythnews) \
|
||||
$(use_enable mythweather) \
|
||||
$(use_enable cdda cdio) \
|
||||
$(use_enable exif) \
|
||||
$(use_enable exif new-exif) \
|
||||
$(use_enable raw dcraw) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install || die "make install failed"
|
||||
}
|
@ -1,168 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
BACKPORTS="2d4a7c9235287b0589035974bff282e3f2e9a7e5"
|
||||
MY_P=${P%_p*}
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="Official MythTV plugins"
|
||||
HOMEPAGE="http://www.mythtv.org"
|
||||
SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.3.tar.gz -> mythtv-0.27.3.tar.gz
|
||||
${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \
|
||||
mythmusic mythnetvision mythnews mythweather mythzoneminder"
|
||||
|
||||
IUSE="${MYTHPLUGINS} alsa cdda cdr exif fftw hls ieee1394 libass raw theora vorbis xml xvid"
|
||||
|
||||
DEPEND="!media-plugins/mytharchive
|
||||
!media-plugins/mythbrowser
|
||||
!media-plugins/mythgallery
|
||||
!media-plugins/mythgame
|
||||
!media-plugins/mythmovies
|
||||
!media-plugins/mythmusic
|
||||
!media-plugins/mythnetvision
|
||||
!media-plugins/mythnews
|
||||
!media-plugins/mythweather
|
||||
=media-tv/mythtv-${PV}*:=[alsa=,hls=,ieee1394=,libass=,python,theora=,vorbis=,xml=,xvid=]
|
||||
dev-libs/glib:=
|
||||
xml? ( >=dev-libs/libxml2-2.6.0:= )
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtopengl:4
|
||||
dev-qt/qtsql:4
|
||||
dev-libs/openssl:=
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.24:= )
|
||||
hls? (
|
||||
media-libs/faac:=
|
||||
media-libs/libvpx:=
|
||||
>=media-libs/x264-0.0.20111220:=
|
||||
>=media-sound/lame-3.93.1
|
||||
)
|
||||
media-libs/freetype:=
|
||||
libass? ( >=media-libs/libass-0.9.11:= )
|
||||
media-libs/libpng:=
|
||||
theora? ( media-libs/libtheora:= media-libs/libogg:= )
|
||||
vorbis? ( media-libs/libogg:= )
|
||||
xvid? ( >=media-libs/xvid-1.1.0:= )
|
||||
virtual/libudev:=
|
||||
ieee1394? (
|
||||
>=sys-libs/libraw1394-1.2.0:=
|
||||
>=sys-libs/libavc1394-0.5.3:=
|
||||
>=media-libs/libiec61883-1.0.0:=
|
||||
)
|
||||
x11-libs/libX11:=
|
||||
sys-libs/zlib:=
|
||||
x11-libs/libXext:=
|
||||
x11-libs/libXinerama:=
|
||||
x11-libs/libXrandr:=
|
||||
x11-libs/libXv:=
|
||||
x11-libs/libXxf86vm:=
|
||||
fftw? ( sci-libs/fftw:= )
|
||||
sys-apps/util-linux:=
|
||||
mythzoneminder? ( virtual/mysql:= )
|
||||
mytharchive? (
|
||||
app-cdr/dvd+rw-tools
|
||||
virtual/python-imaging:=
|
||||
media-video/dvdauthor
|
||||
media-video/mjpegtools[png]
|
||||
media-video/transcode
|
||||
virtual/cdrtools
|
||||
)
|
||||
mythgallery? (
|
||||
media-libs/tiff:=
|
||||
virtual/opengl
|
||||
exif? ( >media-libs/libexif-0.6.9:= )
|
||||
raw? ( media-gfx/dcraw )
|
||||
)
|
||||
mythmusic? (
|
||||
>=media-libs/flac-1.1.2:=
|
||||
>=media-libs/taglib-1.6:=
|
||||
vorbis? ( >=media-libs/libvorbis-1.0:= )
|
||||
virtual/opengl
|
||||
cdda? (
|
||||
dev-libs/libcdio:=
|
||||
cdr? ( virtual/cdrtools )
|
||||
)
|
||||
|
||||
)
|
||||
mythnetvision? (
|
||||
=dev-lang/python-2*:=[xml]
|
||||
dev-python/lxml:=
|
||||
dev-python/mysql-python:=
|
||||
dev-python/oauth:=
|
||||
dev-python/pycurl:=
|
||||
)
|
||||
mythweather? (
|
||||
dev-perl/DateManip
|
||||
dev-perl/DateTime-Format-ISO8601
|
||||
>=dev-perl/DateTime-1
|
||||
dev-perl/ImageSize
|
||||
dev-perl/JSON
|
||||
dev-perl/SOAP-Lite
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/XML-Parser
|
||||
dev-perl/XML-SAX
|
||||
dev-perl/XML-XPath
|
||||
)
|
||||
mythbrowser? (
|
||||
dev-qt/qtwebkit:4
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE="
|
||||
cdda? ( mythmusic )
|
||||
cdr? ( mythmusic cdda )
|
||||
exif? ( mythgallery )
|
||||
fftw? ( mythmusic )
|
||||
mythnews? ( mythbrowser )
|
||||
raw? ( mythgallery )"
|
||||
|
||||
S="${WORKDIR}/mythtv-0.27.3/mythplugins"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--python=python2 \
|
||||
--enable-opengl \
|
||||
$(use_enable mythzoneminder) \
|
||||
$(use_enable mytharchive) \
|
||||
$(use_enable mythbrowser) \
|
||||
$(use_enable mythgallery) \
|
||||
$(use_enable mythgame) \
|
||||
$(use_enable mythmusic) \
|
||||
$(use_enable mythnetvision) \
|
||||
$(use_enable mythnews) \
|
||||
$(use_enable mythweather) \
|
||||
$(use_enable cdda cdio) \
|
||||
$(use_enable exif) \
|
||||
$(use_enable exif new-exif) \
|
||||
$(use_enable raw dcraw) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install || die "make install failed"
|
||||
}
|
@ -1,168 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
BACKPORTS="b305eb5b7fc662146e74983fa3754d622695cdeb"
|
||||
MY_P=${P%_p*}
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="Official MythTV plugins"
|
||||
HOMEPAGE="http://www.mythtv.org"
|
||||
SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.4.tar.gz -> mythtv-0.27.4.tar.gz
|
||||
${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \
|
||||
mythmusic mythnetvision mythnews mythweather mythzoneminder"
|
||||
|
||||
IUSE="${MYTHPLUGINS} alsa cdda cdr exif fftw hls ieee1394 libass raw theora vorbis xml xvid"
|
||||
|
||||
DEPEND="!media-plugins/mytharchive
|
||||
!media-plugins/mythbrowser
|
||||
!media-plugins/mythgallery
|
||||
!media-plugins/mythgame
|
||||
!media-plugins/mythmovies
|
||||
!media-plugins/mythmusic
|
||||
!media-plugins/mythnetvision
|
||||
!media-plugins/mythnews
|
||||
!media-plugins/mythweather
|
||||
=media-tv/mythtv-${PV}*:=[alsa=,hls=,ieee1394=,libass=,python,theora=,vorbis=,xml=,xvid=]
|
||||
dev-libs/glib:=
|
||||
xml? ( >=dev-libs/libxml2-2.6.0:= )
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtopengl:4
|
||||
dev-qt/qtsql:4
|
||||
dev-libs/openssl:=
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.24:= )
|
||||
hls? (
|
||||
media-libs/faac:=
|
||||
media-libs/libvpx:=
|
||||
>=media-libs/x264-0.0.20111220:=
|
||||
>=media-sound/lame-3.93.1
|
||||
)
|
||||
media-libs/freetype:=
|
||||
libass? ( >=media-libs/libass-0.9.11:= )
|
||||
media-libs/libpng:=
|
||||
theora? ( media-libs/libtheora:= media-libs/libogg:= )
|
||||
vorbis? ( media-libs/libogg:= )
|
||||
xvid? ( >=media-libs/xvid-1.1.0:= )
|
||||
virtual/libudev:=
|
||||
ieee1394? (
|
||||
>=sys-libs/libraw1394-1.2.0:=
|
||||
>=sys-libs/libavc1394-0.5.3:=
|
||||
>=media-libs/libiec61883-1.0.0:=
|
||||
)
|
||||
x11-libs/libX11:=
|
||||
sys-libs/zlib:=
|
||||
x11-libs/libXext:=
|
||||
x11-libs/libXinerama:=
|
||||
x11-libs/libXrandr:=
|
||||
x11-libs/libXv:=
|
||||
x11-libs/libXxf86vm:=
|
||||
fftw? ( sci-libs/fftw:= )
|
||||
sys-apps/util-linux:=
|
||||
mythzoneminder? ( virtual/mysql:= )
|
||||
mytharchive? (
|
||||
app-cdr/dvd+rw-tools
|
||||
virtual/python-imaging:=
|
||||
media-video/dvdauthor
|
||||
media-video/mjpegtools[png]
|
||||
media-video/transcode
|
||||
virtual/cdrtools
|
||||
)
|
||||
mythgallery? (
|
||||
media-libs/tiff:=
|
||||
virtual/opengl
|
||||
exif? ( >media-libs/libexif-0.6.9:= )
|
||||
raw? ( media-gfx/dcraw )
|
||||
)
|
||||
mythmusic? (
|
||||
>=media-libs/flac-1.1.2:=
|
||||
>=media-libs/taglib-1.6:=
|
||||
vorbis? ( >=media-libs/libvorbis-1.0:= )
|
||||
virtual/opengl
|
||||
cdda? (
|
||||
dev-libs/libcdio:=
|
||||
cdr? ( virtual/cdrtools )
|
||||
)
|
||||
|
||||
)
|
||||
mythnetvision? (
|
||||
=dev-lang/python-2*:=[xml]
|
||||
dev-python/lxml:=
|
||||
dev-python/mysql-python:=
|
||||
dev-python/oauth:=
|
||||
dev-python/pycurl:=
|
||||
)
|
||||
mythweather? (
|
||||
dev-perl/DateManip
|
||||
dev-perl/DateTime-Format-ISO8601
|
||||
>=dev-perl/DateTime-1
|
||||
dev-perl/ImageSize
|
||||
dev-perl/JSON
|
||||
dev-perl/SOAP-Lite
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/XML-Parser
|
||||
dev-perl/XML-SAX
|
||||
dev-perl/XML-XPath
|
||||
)
|
||||
mythbrowser? (
|
||||
dev-qt/qtwebkit:4
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE="
|
||||
cdda? ( mythmusic )
|
||||
cdr? ( mythmusic cdda )
|
||||
exif? ( mythgallery )
|
||||
fftw? ( mythmusic )
|
||||
mythnews? ( mythbrowser )
|
||||
raw? ( mythgallery )"
|
||||
|
||||
S="${WORKDIR}/mythtv-0.27.4/mythplugins"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--python=python2 \
|
||||
--enable-opengl \
|
||||
$(use_enable mythzoneminder) \
|
||||
$(use_enable mytharchive) \
|
||||
$(use_enable mythbrowser) \
|
||||
$(use_enable mythgallery) \
|
||||
$(use_enable mythgame) \
|
||||
$(use_enable mythmusic) \
|
||||
$(use_enable mythnetvision) \
|
||||
$(use_enable mythnews) \
|
||||
$(use_enable mythweather) \
|
||||
$(use_enable cdda cdio) \
|
||||
$(use_enable exif) \
|
||||
$(use_enable exif new-exif) \
|
||||
$(use_enable raw dcraw) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install || die "make install failed"
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
Fri, 14 Aug 2015 12:11:06 +0000
|
||||
Fri, 14 Aug 2015 22:41:07 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 14 Aug 2015 12:11:06 +0000
|
||||
Fri, 14 Aug 2015 22:41:08 +0000
|
||||
|
@ -1,14 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare unpack
|
||||
DEPEND=!<sys-devel/gettext-0.18.1.1-r3 sys-devel/automake >=sys-devel/libtool-2.4 >=virtual/monodoc-2.0 >=dev-lang/mono-2.0.1 >=sys-apps/sed-4 virtual/pkgconfig >=app-shells/bash-3.1
|
||||
DEPEND=!<sys-devel/gettext-0.18.1.1-r3 sys-devel/automake >=sys-devel/libtool-2.4 >=dev-lang/mono-2.0 >=dev-lang/mono-2.0.1 >=sys-apps/sed-4 virtual/pkgconfig >=app-shells/bash-3.1
|
||||
DESCRIPTION=GtkSharp's gtk-docs module of the gtk-sharp tarball
|
||||
EAPI=2
|
||||
HOMEPAGE=http://www.mono-project.com/GtkSharp
|
||||
IUSE=debug
|
||||
KEYWORDS=amd64 ppc x86 ~x86-fbsd
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=>=virtual/monodoc-2.0 >=dev-lang/mono-2.0.1
|
||||
RDEPEND=>=dev-lang/mono-2.0 >=dev-lang/mono-2.0.1
|
||||
RESTRICT=test
|
||||
SLOT=2
|
||||
SRC_URI=mirror://gentoo/gtk-sharp-2.12.7.patch.bz2 http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-2.12.10.tar.bz2
|
||||
_eclasses_=autotools 8056957fdccf2b3cd6e282a4b4551d1a base 84d9f879f57a8316ff02be0373a3d6f9 eutils 351a78113be5b393c09a2c948701ad36 gtk-sharp-module 4108307ac62ede1ee9ce7b99f9669db6 libtool 7f78cd7d403808a350c9ae23f5821fb4 mono 3fb22ec265e021c7294a29e720f3d5f7 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_eclasses_=autotools 8056957fdccf2b3cd6e282a4b4551d1a base 84d9f879f57a8316ff02be0373a3d6f9 eutils 351a78113be5b393c09a2c948701ad36 gtk-sharp-module 4733ad59dfd0bafab15dca38ebf09dc4 libtool 7f78cd7d403808a350c9ae23f5821fb4 mono 3fb22ec265e021c7294a29e720f3d5f7 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=7901e7ed29391cda4d5358e49638b4bc
|
||||
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare unpack
|
||||
DEPEND=dev-db/sqlite:3 >=dev-lang/mono-2.10 virtual/pkgconfig userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
DESCRIPTION=XSP is a small web server that can host ASP.NET pages
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.mono-project.com/ASP.NET
|
||||
KEYWORDS=amd64 ppc x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=dev-db/sqlite:3 >=dev-lang/mono-2.10
|
||||
SLOT=0
|
||||
SRC_URI=http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2
|
||||
_eclasses_=base 84d9f879f57a8316ff02be0373a3d6f9 eutils 351a78113be5b393c09a2c948701ad36 go-mono fdf799ccb71e4bdd1e25fb365343d74f mono 3fb22ec265e021c7294a29e720f3d5f7 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=ddeba779145f8cb7496e942bfd4f6194
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=configure install prepare
|
||||
DEPEND=net-misc/memcached sasl? ( dev-libs/cyrus-sasl ) libevent? ( dev-libs/libevent ) !<sys-devel/gettext-0.18.1.1-r3 =sys-devel/automake-1.13* >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=a C client library to the memcached server
|
||||
EAPI=5
|
||||
HOMEPAGE=http://libmemcached.org/libMemcached.html
|
||||
IUSE=debug hsieh +libevent sasl static-libs
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos
|
||||
LICENSE=BSD
|
||||
RDEPEND=net-misc/memcached sasl? ( dev-libs/cyrus-sasl ) libevent? ( dev-libs/libevent )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
|
||||
_eclasses_=autotools 8056957fdccf2b3cd6e282a4b4551d1a eutils 351a78113be5b393c09a2c948701ad36 libtool 7f78cd7d403808a350c9ae23f5821fb4 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361
|
||||
_md5_=a65f9320b3cc5c3cba185df40b010171
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/pbr-1.3.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/pbr-2.0.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] test? ( >=dev-python/coverage-3.6[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/fixtures-0.3.14[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/hacking-0.9.2[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/hacking-0.10[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/mock-1.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/subunit-0.0.18[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/testrepository-0.0.18[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/testscenarios-0.4[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/testtools-0.9.36[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] !~dev-python/testtools-1.2.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/sphinx-1.1.2[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] !~dev-python/sphinx-1.2.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/sphinx-1.3[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/oslo-sphinx-2.5.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=A security linter from OpenStack Security
|
||||
EAPI=5
|
||||
HOMEPAGE=https://openstack.org
|
||||
IUSE=test python_targets_python2_7 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=dev-python/pbr-1.3.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] <dev-python/pbr-2.0.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/appdirs-1.3.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/pyyaml-3.1.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/six-1.9.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/stevedore-1.5.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_4 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/b/bandit/bandit-0.13.2.tar.gz
|
||||
_eclasses_=distutils-r1 1375d7df3597739c70e997d7508c6f79 eutils 351a78113be5b393c09a2c948701ad36 multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multiprocessing d769539d9bace6eaca30af23bc2b4dde python-r1 fca51bba23ab2e206194470b2e56c92c python-utils-r1 39c6b012a0512678e698e712b5b7ecc2 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361
|
||||
_md5_=6fc77bd2fe690a11b1e8cc295ba3a4f5
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue