parent
1bb275ffee
commit
cd7b3f6135
@ -1,2 +1,3 @@
|
||||
DIST syslog-ng_3.4.2.tar.gz 3354842 SHA256 f2585b42e7341bc53490aa59c5f405df506536bf0672bf71f9567ea78590f381 SHA512 94d1c8008c72a7fb82c86eb4ff666cacee26e2b1d7100f58a0ea5293e4efc74ad9608a7b1e72b217f9e6ead4b6ad82f5cf9e00dfcb230a03d3243f5c51fd5305 WHIRLPOOL ddb721e940e674a74079fb150213e7595f2a52eb8709f1a032bf6def93906b6f93c9a5131991946b1e19a026ca8162c40d7c7e537498f29a3d33b401c678611a
|
||||
DIST syslog-ng_3.4.7.tar.gz 3203894 SHA256 7b1114ff0bd9d2c52a8ce407f0f59102ea4123ff7efb3f84253961e0de6ac1b0 SHA512 66c1dafaa9441fd909b450e79ec3d1011bd423301602b0eea372e141ff267ddb60aa0280ef49b1f62d24b3f17fc1909a6ce8cc5bea0e3c6708df64815a534279 WHIRLPOOL b3b9aef566cc4577b4ec6ad96f696e29abd84d663205cadca766a50c933d29e3b195b6679cbb8e0edca96cc6995ab10fe409531eb15c90bfeb82a598ad7cf3fe
|
||||
DIST syslog-ng_3.5.3.tar.gz 3049273 SHA256 a349a1baa272e7b07fa4b0d6a85512e71dd946476ae12bc8f9c9ad64311164d0 SHA512 b09229573fa964e584ff43377388357339ffd5ca47c8820df8b11bb8c04b58b06ef86de7e2486c61e9e9d34c09d891e89be1fb4d474427c421fc0bcb02309907 WHIRLPOOL 0d73766a0cb4abffaa6f2d118bbf90332a693ff9725769ccc48ce2e5b6e8be33a3f9619b153171cdd635fb87e6a63aa2007dff5189154b41769e67d711aa10a2
|
||||
|
@ -0,0 +1,37 @@
|
||||
@version: 3.5
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.5/syslog-ng.conf.gentoo,v 1.1 2014/01/22 04:25:36 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo Linux
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=426814
|
||||
@include "scl.conf"
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats_freq(43200);
|
||||
# The default action of syslog-ng is to log a MARK line
|
||||
# to the file every 20 minutes. That's seems high for most
|
||||
# people so turn it down to once an hour. Set it to zero
|
||||
# if you don't want the functionality at all.
|
||||
mark_freq(3600);
|
||||
};
|
||||
|
||||
source src { system(); internal(); };
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
# By default messages are logged to tty12...
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
# ...if you intend to use /dev/console for programs like xconsole
|
||||
# you can comment out the destination line above that references /dev/tty12
|
||||
# and uncomment the line below.
|
||||
#destination console_all { file("/dev/console"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
||||
log { source(src); destination(console_all); };
|
@ -0,0 +1,25 @@
|
||||
@version: 3.5
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.5/syslog-ng.conf.gentoo.fbsd,v 1.1 2014/01/22 04:25:36 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo FreeBSD
|
||||
#
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=426814
|
||||
@include "scl.conf"
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats_freq(43200);
|
||||
};
|
||||
|
||||
source src { system(); internal(); };
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
@ -0,0 +1,115 @@
|
||||
@version: 3.5
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.5/syslog-ng.conf.gentoo.hardened,v 1.1 2014/01/22 04:25:36 mr_bones_ Exp $
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=426814
|
||||
@include "scl.conf"
|
||||
|
||||
#
|
||||
# Syslog-ng configuration file, compatible with default hardened installations.
|
||||
#
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
stats_freq(43200);
|
||||
};
|
||||
|
||||
source src {
|
||||
unix-dgram("/dev/log");
|
||||
internal();
|
||||
};
|
||||
source kernsrc {
|
||||
file("/proc/kmsg");
|
||||
};
|
||||
|
||||
#source net { udp(); };
|
||||
#log { source(net); destination(net_logs); };
|
||||
#destination net_logs { file("/var/log/HOSTS/$HOST/$YEAR$MONTH$DAY.log"); };
|
||||
|
||||
destination authlog { file("/var/log/auth.log"); };
|
||||
destination _syslog { file("/var/log/syslog"); };
|
||||
destination cron { file("/var/log/cron.log"); };
|
||||
destination daemon { file("/var/log/daemon.log"); };
|
||||
destination kern { file("/var/log/kern.log"); file("/dev/tty12"); };
|
||||
destination lpr { file("/var/log/lpr.log"); };
|
||||
destination user { file("/var/log/user.log"); };
|
||||
destination uucp { file("/var/log/uucp.log"); };
|
||||
#destination ppp { file("/var/log/ppp.log"); };
|
||||
destination mail { file("/var/log/mail.log"); };
|
||||
|
||||
destination avc { file("/var/log/avc.log"); };
|
||||
destination audit { file("/var/log/audit.log"); };
|
||||
destination pax { file("/var/log/pax.log"); };
|
||||
destination grsec { file("/var/log/grsec.log"); };
|
||||
|
||||
destination mailinfo { file("/var/log/mail.info"); };
|
||||
destination mailwarn { file("/var/log/mail.warn"); };
|
||||
destination mailerr { file("/var/log/mail.err"); };
|
||||
|
||||
destination newscrit { file("/var/log/news/news.crit"); };
|
||||
destination newserr { file("/var/log/news/news.err"); };
|
||||
destination newsnotice { file("/var/log/news/news.notice"); };
|
||||
|
||||
destination debug { file("/var/log/debug"); };
|
||||
destination messages { file("/var/log/messages"); };
|
||||
destination console { usertty("root"); };
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
#destination loghost { udp("loghost" port(999)); };
|
||||
|
||||
destination xconsole { pipe("/dev/xconsole"); };
|
||||
|
||||
filter f_auth { facility(auth); };
|
||||
filter f_authpriv { facility(auth, authpriv); };
|
||||
filter f_syslog { not facility(authpriv, mail); };
|
||||
filter f_cron { facility(cron); };
|
||||
filter f_daemon { facility(daemon); };
|
||||
filter f_kern { facility(kern); };
|
||||
filter f_lpr { facility(lpr); };
|
||||
filter f_mail { facility(mail); };
|
||||
filter f_user { facility(user); };
|
||||
filter f_uucp { facility(uucp); };
|
||||
#filter f_ppp { facility(ppp); };
|
||||
filter f_news { facility(news); };
|
||||
filter f_debug { not facility(auth, authpriv, news, mail); };
|
||||
filter f_messages { level(info..warn)
|
||||
and not facility(auth, authpriv, mail, news); };
|
||||
filter f_emergency { level(emerg); };
|
||||
|
||||
filter f_info { level(info); };
|
||||
|
||||
filter f_notice { level(notice); };
|
||||
filter f_warn { level(warn); };
|
||||
filter f_crit { level(crit); };
|
||||
filter f_err { level(err); };
|
||||
|
||||
filter f_avc { message(".*avc: .*"); };
|
||||
filter f_audit { message("^(\\[.*\..*\] |)audit.*") and not message(".*avc: .*"); };
|
||||
filter f_pax { message("^(\\[.*\..*\] |)PAX:.*"); };
|
||||
filter f_grsec { message("^(\\[.*\..*\] |)grsec:.*"); };
|
||||
|
||||
log { source(src); filter(f_authpriv); destination(authlog); };
|
||||
log { source(src); filter(f_syslog); destination(_syslog); };
|
||||
log { source(src); filter(f_cron); destination(cron); };
|
||||
log { source(src); filter(f_daemon); destination(daemon); };
|
||||
log { source(kernsrc); filter(f_kern); destination(kern); };
|
||||
log { source(src); filter(f_lpr); destination(lpr); };
|
||||
log { source(src); filter(f_mail); destination(mail); };
|
||||
log { source(src); filter(f_user); destination(user); };
|
||||
log { source(src); filter(f_uucp); destination(uucp); };
|
||||
log { source(kernsrc); filter(f_pax); destination(pax); };
|
||||
log { source(kernsrc); filter(f_grsec); destination(grsec); };
|
||||
log { source(kernsrc); filter(f_audit); destination(audit); };
|
||||
log { source(kernsrc); filter(f_avc); destination(avc); };
|
||||
log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); };
|
||||
log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); };
|
||||
log { source(src); filter(f_mail); filter(f_err); destination(mailerr); };
|
||||
log { source(src); filter(f_news); filter(f_crit); destination(newscrit); };
|
||||
log { source(src); filter(f_news); filter(f_err); destination(newserr); };
|
||||
log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); };
|
||||
log { source(src); filter(f_debug); destination(debug); };
|
||||
log { source(src); filter(f_messages); destination(messages); };
|
||||
log { source(src); filter(f_emergency); destination(console); };
|
||||
#log { source(src); filter(f_ppp); destination(ppp); };
|
||||
log { source(src); destination(console_all); };
|
@ -0,0 +1,42 @@
|
||||
# Config file for /etc/init.d/syslog-ng
|
||||
|
||||
# If you are not using network logging, this entire section should be
|
||||
# commented out. Otherwise, choose one of the settings below based on
|
||||
# how you are configuring your network.
|
||||
#
|
||||
# If you are using the net.* scripts to configure your network, you should
|
||||
# set rc_need to match the interface through which your logging server
|
||||
# can be reached.
|
||||
#rc_need="net.eth0"
|
||||
#
|
||||
# If you are using an interface manager like wicd, dhcpcd in standalone
|
||||
# mode, networkmanager, etc to control your interfaces, set rc_need to
|
||||
# the name of that service.
|
||||
# rc_need="dhcpcd"
|
||||
#rc_need="networkmanager"
|
||||
#
|
||||
# If you are using newnet and configuring your interface statically with
|
||||
# the network script, you should use this setting.
|
||||
#rc_need="network"
|
||||
#
|
||||
# You can use this setting, but I do not recommend relying on it.
|
||||
#rc_need="net"
|
||||
#
|
||||
# You may also want to uncomment the following if you are using network
|
||||
# logging.
|
||||
#rc_use="stunnel"
|
||||
|
||||
# For very customized setups these variables can be adjusted as needed
|
||||
# but for most situations they should remain commented:
|
||||
# SYSLOG_NG_CONFIGFILE=/etc/syslog-ng/syslog-ng.conf
|
||||
# SYSLOG_NG_STATEFILE_DIR=/var/lib/syslog-ng
|
||||
# SYSLOG_NG_STATEFILE=${SYSLOG_NG_STATEFILE_DIR}/syslog-ng.persist
|
||||
# SYSLOG_NG_PIDFILE_DIR=/var/run
|
||||
# SYSLOG_NG_PIDFILE=${SYSLOG_NG_PIDFILE_DIR}/syslog-ng.pid
|
||||
# SYSLOG_NG_GROUP=root
|
||||
# SYSLOG_NG_USER=root
|
||||
|
||||
# Put any additional options for syslog-ng here.
|
||||
# See syslog-ng(8) for more information.
|
||||
|
||||
SYSLOG_NG_OPTS=""
|
@ -0,0 +1,59 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.5/syslog-ng.rc6,v 1.1 2014/01/22 04:25:36 mr_bones_ Exp $
|
||||
|
||||
SYSLOG_NG_CONFIGFILE=${SYSLOG_NG_CONFIGFILE:-/etc/syslog-ng/${RC_SVCNAME}.conf}
|
||||
SYSLOG_NG_STATEFILE_DIR=${SYSLOG_NG_STATEFILE_DIR:-/var/lib/syslog-ng}
|
||||
SYSLOG_NG_STATEFILE=${SYSLOG_NG_STATEFILE:-${SYSLOG_NG_STATEFILE_DIR}/syslog-ng.persist}
|
||||
SYSLOG_NG_PIDFILE_DIR=${SYSLOG_NG_PIDFILE_DIR:-/var/run}
|
||||
SYSLOG_NG_PIDFILE=${SYSLOG_NG_PIDFILE:-${SYSLOG_NG_PIDFILE_DIR}/${RC_SVCNAME}.pid}
|
||||
|
||||
SYSLOG_NG_GROUP=${SYSLOG_NG_GROUP:-root}
|
||||
SYSLOG_NG_USER=${SYSLOG_NG_USER:-root}
|
||||
|
||||
command="/usr/sbin/syslog-ng"
|
||||
command_args="--persist-file \"${SYSLOG_NG_STATEFILE}\" --cfgfile \"${SYSLOG_NG_CONFIGFILE}\" --pidfile \"${SYSLOG_NG_PIDFILE}\" ${SYSLOG_NG_OPTS}"
|
||||
extra_commands="checkconfig"
|
||||
extra_started_commands="reload"
|
||||
pidfile="${SYSLOG_NG_PIDFILE}"
|
||||
start_stop_daemon_args="--user \"${SYSLOG_NG_USER}\":\"${SYSLOG_NG_GROUP}\""
|
||||
description="Syslog-ng is a syslog replacement with advanced filtering features."
|
||||
description_checkconfig="Check the configuration file that will be used by \"start\""
|
||||
description_reload="Reload the configuration without exiting"
|
||||
required_files="${SYSLOG_NG_CONFIGFILE}"
|
||||
required_dirs="${SYSLOG_NG_PIDFILE_DIR}"
|
||||
|
||||
depend() {
|
||||
use clock
|
||||
need hostname localmount
|
||||
after bootmisc
|
||||
provide logger
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
ebegin "Checking your configfile (${SYSLOG_NG_CONFIGFILE})"
|
||||
syslog-ng -s -f "${SYSLOG_NG_CONFIGFILE}"
|
||||
eend $? "Configuration error. Please fix your configfile (${SYSLOG_NG_CONFIGFILE})"
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkconfig || return 1
|
||||
checkpath \
|
||||
-d \
|
||||
--mode 0700 \
|
||||
--owner "${SYSLOG_NG_OWNER}:${SYSLOG_NG_GROUP}" \
|
||||
"${SYSLOG_NG_STATEFILE_DIR}"
|
||||
}
|
||||
|
||||
stop_pre() {
|
||||
[ "$RC_CMD" = restart ] && sleep 1
|
||||
return 0
|
||||
}
|
||||
|
||||
reload() {
|
||||
checkconfig || return 1
|
||||
ebegin "Reloading configuration and re-opening log files"
|
||||
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened.in,v 1.1 2014/01/22 04:25:35 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng logrotate snippet for Hardened Gentoo Linux
|
||||
# contributed by Maciej Grela
|
||||
#
|
||||
# Updated bug #284669
|
||||
|
||||
# Generic
|
||||
/var/log/debug /var/log/syslog /var/log/kern.log {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# System services
|
||||
/var/log/cron.log /var/log/daemon.log /var/log/lpr.log /var/log/uucp.log {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# User log
|
||||
/var/log/user.log {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# News system
|
||||
/var/log/news/news.crit /var/log/news/news.err /var/log/news/news.notice {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# Mail system
|
||||
/var/log/mail.log /var/log/mail.info /var/log/mail.err /var/log/mail.warn {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# Hardened logs
|
||||
/var/log/avc.log /var/log/audit.log /var/log/pax.log /var/log/grsec.log {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# Authentication
|
||||
/var/log/auth.log {
|
||||
sharedscripts
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# the rest
|
||||
/var/log/messages {
|
||||
sharedscripts
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.in,v 1.1 2014/01/22 04:25:35 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng logrotate snippet for Gentoo Linux
|
||||
# contributed by Michael Sterrett
|
||||
#
|
||||
|
||||
/var/log/messages {
|
||||
missingok
|
||||
sharedscripts
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.5.3.ebuild,v 1.1 2014/01/22 04:25:36 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib systemd
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/network-security/syslog-ng"
|
||||
SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${MY_PV}/source/syslog-ng_${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="caps dbi geoip ipv6 json mongodb +pcre smtp spoof-source ssl systemd tcpd"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
pcre? ( dev-libs/libpcre )
|
||||
spoof-source? ( net-libs/libnet:1.1 )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
smtp? ( net-libs/libesmtp )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
>=dev-libs/eventlog-0.2.12
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
json? ( >=dev-libs/json-c-0.9 )
|
||||
caps? ( sys-libs/libcap )
|
||||
geoip? ( >=dev-libs/geoip-1.5.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
systemd? ( sys-apps/systemd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/*logrotate*.in "${TMPDIR}" || die
|
||||
cd "${TMPDIR}" || die
|
||||
|
||||
for f in *logrotate*.in ; do
|
||||
if use systemd ; then
|
||||
sed \
|
||||
's/@GENTOO_RESTART@/systemctl kill -s HUP syslog-ng/' \
|
||||
$f > ${f/.in/} || die
|
||||
else
|
||||
sed \
|
||||
's:@GENTOO_RESTART@:/etc/init.d/syslog-ng reload:' \
|
||||
$f > ${f/.in/} || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-docs \
|
||||
--with-ivykis=internal \
|
||||
--with-libmongo-client=internal \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/syslog-ng \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(systemd_with_unitdir) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable geoip) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable json) \
|
||||
$(use_enable mongodb) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable smtp) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable dbi sql) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable tcpd tcp-wrapper)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# -j1 for bug #484470
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS NEWS contrib/syslog-ng.conf* contrib/syslog2ng \
|
||||
"${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.hardened" \
|
||||
"${TMPDIR}/syslog-ng.logrotate.hardened" \
|
||||
"${FILESDIR}/README.hardened"
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use userland_BSD ; then
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
|
||||
else
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${TMPDIR}/syslog-ng.logrotate" syslog-ng
|
||||
|
||||
newinitd "${FILESDIR}/${PV%.*}/syslog-ng.rc6" syslog-ng
|
||||
newconfd "${FILESDIR}/${PV%.*}/syslog-ng.confd" syslog-ng
|
||||
keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For detailed documentation please see the upstream website:"
|
||||
elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.5-guides/en/syslog-ng-ose-v3.5-guide-admin/html/index.html"
|
||||
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/xar-1.5.2.ebuild,v 1.5 2010/01/01 19:45:42 fauli Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="an easily extensible archive format"
|
||||
HOMEPAGE="http://code.google.com/p/xar"
|
||||
SRC_URI="http://xar.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="acl +bzip2"
|
||||
|
||||
DEPEND="dev-libs/openssl
|
||||
dev-libs/libxml2
|
||||
sys-libs/zlib
|
||||
acl? ( sys-apps/acl )
|
||||
bzip2? ( app-arch/bzip2 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-automagic_acl_and_bzip2.patch
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf $(use_enable acl) $(use_enable bzip2)
|
||||
emake || die "emake failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
dodoc TODO
|
||||
}
|
@ -1,120 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.4.7.ebuild,v 1.32 2012/05/08 10:27:47 xarthisius Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages"
|
||||
HOMEPAGE="http://www.doxygen.org/"
|
||||
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
|
||||
http://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png
|
||||
unicode? ( mirror://gentoo/${P}-utf8-ru.patch.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="doc latex unicode"
|
||||
|
||||
RDEPEND=">=media-gfx/graphviz-2.6
|
||||
latex? ( app-text/texlive-core
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-genericrecommended
|
||||
dev-texlive/texlive-fontsrecommended )
|
||||
app-text/ghostscript-gpl"
|
||||
DEPEND=">=sys-apps/sed-4
|
||||
${RDEPEND}"
|
||||
|
||||
EPATCH_SUFFIX="patch"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# still needs patch for Russian text in source files (see bug #112076)
|
||||
if use unicode; then
|
||||
epatch "${WORKDIR}/${P}-utf8-ru.patch" || die "utf8-ru patch failed"
|
||||
fi
|
||||
|
||||
# use CFLAGS, CXXFLAGS, LDFLAGS
|
||||
sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \
|
||||
-e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \
|
||||
-e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \
|
||||
tmake/lib/{{linux,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++}/tmake.conf
|
||||
|
||||
# Consolidate patches, apply FreeBSD configure patch, codepage patch,
|
||||
# qtools stuff, and patches for bugs 129142, 121770, and 129560.
|
||||
epatch "${FILESDIR}/${PV}"
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
epause 6
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}"
|
||||
# set ./configure options (prefix, Qt based wizard, docdir)
|
||||
local my_conf="--prefix ${D}usr"
|
||||
./configure ${my_conf} || die 'configure failed'
|
||||
|
||||
# and compile
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" \
|
||||
LINK_SHLIB="$(tc-getCXX)" all || die 'emake failed'
|
||||
|
||||
# generate html and pdf (if tetex in use) documents.
|
||||
# errors here are not considered fatal, hence the ewarn message
|
||||
# TeX's font caching in /var/cache/fonts causes sandbox warnings,
|
||||
# so we allow it.
|
||||
if use doc; then
|
||||
if use tetex; then
|
||||
addwrite /var/cache/fonts
|
||||
addwrite /usr/share/texmf/fonts/pk
|
||||
addwrite /usr/share/texmf/ls-R
|
||||
make pdf || ewarn '"make pdf docs" failed.'
|
||||
else
|
||||
cp doc/Doxyfile doc/Doxyfile.orig
|
||||
cp doc/Makefile doc/Makefile.orig
|
||||
sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" doc/Doxyfile
|
||||
sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
|
||||
-e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
|
||||
-e "s/@sed/# @sed/" doc/Makefile
|
||||
make docs || ewarn '"make html docs" failed.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" MAN1DIR=share/man/man1 \
|
||||
install || die '"make install" failed.'
|
||||
|
||||
dodoc INSTALL LANGUAGE.HOWTO README
|
||||
|
||||
# pdf and html manuals
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
if use tetex; then
|
||||
doins latex/doxygen_manual.pdf
|
||||
fi
|
||||
dohtml -r html/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "The USE flags doc, and tetex will enable "
|
||||
elog "the html and pdf documentation, respectively. For examples"
|
||||
elog "and other goodies, see the source tarball. For some example"
|
||||
elog "output, run doxygen on the doxygen source using the Doxyfile"
|
||||
elog "provided in the top-level source dir."
|
||||
elog
|
||||
elog "See the Doxygen homepage for additional language support tools."
|
||||
elog
|
||||
}
|
@ -1,155 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.5.4.ebuild,v 1.24 2012/05/31 03:38:35 zmedico Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs fdo-mime
|
||||
|
||||
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages"
|
||||
HOMEPAGE="http://www.doxygen.org/"
|
||||
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
|
||||
http://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="debug doc nodot latex elibc_FreeBSD"
|
||||
|
||||
RDEPEND="latex? ( app-text/texlive-core
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-genericrecommended
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-texlive/texlive-latexextra )
|
||||
dev-lang/python
|
||||
virtual/libiconv
|
||||
app-text/ghostscript-gpl
|
||||
!nodot? ( >=media-gfx/graphviz-2.6
|
||||
media-libs/freetype )"
|
||||
DEPEND=">=sys-apps/sed-4
|
||||
${RDEPEND}"
|
||||
|
||||
EPATCH_SUFFIX="patch"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# use CFLAGS, CXXFLAGS, LDFLAGS
|
||||
sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \
|
||||
-e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \
|
||||
-e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \
|
||||
tmake/lib/{{linux,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++}/tmake.conf \
|
||||
|| die "sed failed"
|
||||
|
||||
# Ensure we link to -liconv
|
||||
if use elibc_FreeBSD; then
|
||||
for pro in */*.pro.in */*/*.pro.in; do
|
||||
echo "unix:LIBS += -liconv" >> "${pro}"
|
||||
done
|
||||
fi
|
||||
|
||||
# Consolidate patches, apply FreeBSD configure patch, codepage patch,
|
||||
# qtools stuff, and patches for bugs 129142, 121770, and 129560.
|
||||
epatch "${FILESDIR}/${PN}-1.5-legacy-patches.diff"
|
||||
|
||||
# remove internal libpng - see bug #210237
|
||||
epatch "${FILESDIR}/${PN}-1.5-system-libpng.patch"
|
||||
|
||||
if [ $(get_libdir) == "lib64" ] ; then
|
||||
epatch "${FILESDIR}/${PN}-1.5-qtlibdir.patch"
|
||||
fi
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
epause 6
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}"
|
||||
# set ./configure options (prefix, Qt based wizard, docdir)
|
||||
|
||||
if use debug; then
|
||||
local my_conf="--prefix ${D}usr --debug"
|
||||
else
|
||||
local my_conf="--prefix ${D}usr"
|
||||
fi
|
||||
|
||||
./configure ${my_conf} || die 'configure failed'
|
||||
|
||||
# and compile
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" \
|
||||
LINK_SHLIB="$(tc-getCXX)" all || die 'emake failed'
|
||||
|
||||
# generate html and pdf (if tetex in use) documents.
|
||||
# errors here are not considered fatal, hence the ewarn message
|
||||
# TeX's font caching in /var/cache/fonts causes sandbox warnings,
|
||||
# so we allow it.
|
||||
if use doc; then
|
||||
if use nodot; then
|
||||
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
|
||||
{Doxyfile,doc/Doxyfile} || ewarn "disabling dot failed"
|
||||
fi
|
||||
if use latex; then
|
||||
addwrite /var/cache/fonts
|
||||
addwrite /var/cache/fontconfig
|
||||
addwrite /usr/share/texmf/fonts/pk
|
||||
addwrite /usr/share/texmf/ls-R
|
||||
make pdf || ewarn '"make pdf docs" failed.'
|
||||
else
|
||||
cp doc/Doxyfile doc/Doxyfile.orig
|
||||
cp doc/Makefile doc/Makefile.orig
|
||||
sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" \
|
||||
doc/Doxyfile
|
||||
sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
|
||||
-e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
|
||||
-e "s/@sed/# @sed/" doc/Makefile
|
||||
make docs || ewarn '"make html docs" failed.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" MAN1DIR=share/man/man1 \
|
||||
install || die '"make install" failed.'
|
||||
|
||||
dodoc INSTALL LANGUAGE.HOWTO README
|
||||
|
||||
# pdf and html manuals
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
if use latex; then
|
||||
doins latex/doxygen_manual.pdf
|
||||
fi
|
||||
dohtml -r html/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
elog
|
||||
elog "The USE flags doc, and latex will enable "
|
||||
elog "the html and pdf documentation, respectively. For examples"
|
||||
elog "and other goodies, see the source tarball. For some example"
|
||||
elog "output, run doxygen on the doxygen source using the Doxyfile"
|
||||
elog "provided in the top-level source dir."
|
||||
elog
|
||||
elog "Enabling the nodot USE flag will remove the GraphViz dependency,"
|
||||
elog "along with Doxygen's ability to generate diagrams in the docs."
|
||||
elog "See the Doxygen homepage for additional helper tools to parse"
|
||||
elog "more languages."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST vagrant-1.0.7.tar.gz 1005940 SHA256 aebbf855420974f8165019786034f12e3392d5aee7a982242b0d3c9d4cce891a SHA512 351fd08ce97ea0e7623f216900189ec25417173e92103ff7491cd7be38c3549bb8aaa88fd45ef589ed7c2ee64df48373f37e733bed571cac6c9fba69e374f577 WHIRLPOOL f4914ea81dd560e08415a4a3fa15aa3a138de574f9cf14d8196c8a80e1bcbe2ee0910e253a18cea9c57e2f1dd6f5d002397be228f6463b3b7050ee7262b8fbce
|
||||
DIST vagrant-1.4.1.tar.gz 2389958 SHA256 82574e708c5d90829abc65a20c190305a68de88578560b1200f32e27503e8dda SHA512 e89063de870b303ccc89c722002a3e9769a30bdf57d44aff5aa237e172c59afc30f9d621604098ec7e99e505ac8847412e61de9a15e4f8de1169a4ff5e82cdbd WHIRLPOOL 6eb7ab839fb70e442d6862d8034e2699e4b7caae688bc2e73fc13d85d7f5793f8e0d040a2b301174324e8b43cbfab447ea3f0114cce61c6916a7887096214f3f
|
||||
DIST vagrant-1.4.3.tar.gz 2391973 SHA256 09ccc0d87999a3c133b9ef52a5cff58402745ee64af6080b2a5d304eb06c9c58 SHA512 93fd1cfa263004cadbf670fac4dc318db9719d2a86afe188857cbc97c1317e6ef2387be498ef9278ca95cdda6bd41400426e3bf52448eb59c31877c9fd0624e4 WHIRLPOOL e581e8488e0b1e75bcdd75f4572b89f9c23338e422d3acb57b1d5d513d9357ec0b061371d926ad0bb1087bf890e70422d4e3527dfd518329ba910f42f0733673
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/vagrant-1.4.1.ebuild,v 1.1 2013/12/21 23:10:04 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="config keys plugins templates"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="A tool for building and distributing virtual machines using VirtualBox"
|
||||
HOMEPAGE="http://vagrantup.com/"
|
||||
SRC_URI="https://github.com/mitchellh/vagrant/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
# Missing ebuild for contest
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
net-misc/curl
|
||||
!x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/childprocess-0.3.7
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
dev-ruby/i18n:0.6
|
||||
>=dev-ruby/json-1.5.1
|
||||
>=dev-ruby/log4r-1.1.9
|
||||
>=dev-ruby/net-ssh-2.6.6
|
||||
>=dev-ruby/net-scp-1.1.0
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake
|
||||
test? ( dev-ruby/mocha virtual/ruby-minitest )
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove bundler support
|
||||
sed -i '/[Bb]undler/d' Rakefile || die
|
||||
rm Gemfile || die
|
||||
|
||||
# loosen dependencies
|
||||
sed -e '/childprocess\|erubis\|log4r\|net-scp\|net-ssh/s/~>/>=/' \
|
||||
-i ${PN}.gemspec || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.2.1-no-warning.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.2.2-rvm.patch
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use x64-macos ; then
|
||||
ewarn
|
||||
ewarn "For Mac OS X prefixes, you must install the virtualbox"
|
||||
ewarn "package specifically for OS X which can be found at:"
|
||||
ewarn "https://www.virtualbox.org/wiki/Downloads"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -0,0 +1,436 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.11.ebuild,v 1.1 2014/01/22 06:58:56 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit autotools-multilib eutils fdo-mime flag-o-matic gnome2-utils l10n multilib pax-utils toolchain-funcs virtualx
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="2.24"
|
||||
MV="4.5.2"
|
||||
PULSE_PATCHES="winepulse-patches-1.7.10"
|
||||
WINE_GENTOO="wine-gentoo-2013.06.24"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
||||
pulseaudio? ( http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2 )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl +png +prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype +udisks v4l +X xcomposite xinerama +xml"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
test? ( abi_x86_32 )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
osmesa? ( opengl )" #286560
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
NATIVE_DEPEND="
|
||||
truetype? ( >=media-libs/freetype-2.0.0 )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
udisks? ( sys-apps/dbus )
|
||||
fontconfig? ( media-libs/fontconfig:= )
|
||||
gphoto2? ( media-libs/libgphoto2:= )
|
||||
openal? ( media-libs/openal:= )
|
||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups:= )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gsm? ( media-sound/gsm:= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
ldap? ( net-nds/openldap:= )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
netapi? ( net-fs/samba[netapi(+)] )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC:= )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends:= )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
v4l? ( media-libs/libv4l )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
!amd64? ( ${NATIVE_DEPEND} )
|
||||
amd64? (
|
||||
abi_x86_64? ( ${NATIVE_DEPEND} )
|
||||
abi_x86_32? (
|
||||
truetype? ( || (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development]
|
||||
>=media-libs/freetype-2.0.0[abi_x86_32]
|
||||
) )
|
||||
ncurses? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
sys-libs/ncurses[abi_x86_32]
|
||||
) )
|
||||
udisks? ( || (
|
||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development]
|
||||
sys-apps/dbus[abi_x86_32]
|
||||
) )
|
||||
fontconfig? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
media-libs/fontconfig[abi_x86_32]
|
||||
) )
|
||||
gphoto2? (
|
||||
app-emulation/emul-linux-x86-medialibs[development]
|
||||
)
|
||||
openal? ( || (
|
||||
app-emulation/emul-linux-x86-sdl[development]
|
||||
media-libs/openal[abi_x86_32]
|
||||
) )
|
||||
gstreamer? (
|
||||
app-emulation/emul-linux-x86-gstplugins
|
||||
app-emulation/emul-linux-x86-medialibs[development]
|
||||
)
|
||||
X? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
(
|
||||
x11-libs/libXcursor[abi_x86_32]
|
||||
x11-libs/libXext[abi_x86_32]
|
||||
x11-libs/libXrandr[abi_x86_32]
|
||||
x11-libs/libXi[abi_x86_32]
|
||||
x11-libs/libXxf86vm[abi_x86_32]
|
||||
)
|
||||
) )
|
||||
xinerama? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
x11-libs/libXinerama[abi_x86_32]
|
||||
) )
|
||||
alsa? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[alsa,development]
|
||||
media-libs/alsa-lib[abi_x86_32]
|
||||
) )
|
||||
cups? ( app-emulation/emul-linux-x86-baselibs )
|
||||
opencl? ( virtual/opencl[abi_x86_32] )
|
||||
opengl? ( || (
|
||||
app-emulation/emul-linux-x86-opengl[development]
|
||||
(
|
||||
virtual/glu[abi_x86_32]
|
||||
virtual/opengl[abi_x86_32]
|
||||
)
|
||||
) )
|
||||
gsm? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development]
|
||||
media-sound/gsm[abi_x86_32]
|
||||
) )
|
||||
jpeg? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
virtual/jpeg:0[abi_x86_32]
|
||||
) )
|
||||
ldap? ( app-emulation/emul-linux-x86-baselibs[development] )
|
||||
lcms? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
media-libs/lcms:2[abi_x86_32]
|
||||
) )
|
||||
mp3? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development]
|
||||
>=media-sound/mpg123-1.5.0[abi_x86_32]
|
||||
) )
|
||||
nls? ( app-emulation/emul-linux-x86-baselibs[development] )
|
||||
odbc? ( app-emulation/emul-linux-x86-db[development] )
|
||||
osmesa? ( || (
|
||||
>=app-emulation/emul-linux-x86-opengl-20121028[development]
|
||||
media-libs/mesa[osmesa,abi_x86_32]
|
||||
) )
|
||||
pulseaudio? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development]
|
||||
>=media-sound/pulseaudio-4.0-r1[abi_x86_32]
|
||||
) )
|
||||
xml? ( >=app-emulation/emul-linux-x86-baselibs-20131008[development] )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
ssl? ( app-emulation/emul-linux-x86-baselibs[development] )
|
||||
png? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
media-libs/libpng:0[abi_x86_32]
|
||||
) )
|
||||
v4l? ( || (
|
||||
app-emulation/emul-linux-x86-medialibs[development]
|
||||
media-libs/libv4l[abi_x86_32]
|
||||
) )
|
||||
xcomposite? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
x11-libs/libXcomposite[abi_x86_32]
|
||||
) )
|
||||
)
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dos? ( games-emulation/dosbox )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )
|
||||
pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
amd64? ( abi_x86_32? ( !abi_x86_64? ( ${NATIVE_DEPEND} ) ) )
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
prelink? ( sys-devel/prelink )
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
wine_build_environment_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then
|
||||
eerror "You need gcc-4.4+ to build 64-bit wine"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
|
||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
wine_build_environment_check || die
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
wine_build_environment_check || die
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
|
||||
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2"
|
||||
unpack "${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${PN}-1.7.2-osmesa-check.patch #429386
|
||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
||||
)
|
||||
use pulseaudio && PATCHES+=(
|
||||
"../${PULSE_PATCHES}"/*.patch #421365
|
||||
)
|
||||
|
||||
autotools-utils_src_prepare
|
||||
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
if ! use run-exes; then
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
fi
|
||||
|
||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
||||
|
||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local myeconfargs=( "${myeconfargs[@]}" )
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myeconfargs+=( --enable-win64 )
|
||||
else
|
||||
use netapi && ewarn "Disabling netapi in wine32; see https://bugs.gentoo.org/494394"
|
||||
# We currently don't have 32-bit libnetapi on amd64; #494394
|
||||
myeconfargs+=(
|
||||
--without-netapi
|
||||
--disable-win64
|
||||
)
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
local myeconfargs=( # common
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with png)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
use pulseaudio && myeconfargs+=( --with-pulse )
|
||||
|
||||
if use amd64 && use abi_x86_32; then
|
||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||
# set AR and RANLIB to make QA scripts happy; #483342
|
||||
tc-export PKG_CONFIG AR RANLIB
|
||||
fi
|
||||
|
||||
multilib_parallel_foreach_abi do_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-multilib_src_compile depend
|
||||
autotools-multilib_src_compile all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
multilib_toolchain_setup x86
|
||||
local BUILD_DIR="${S}-${ABI}"
|
||||
cd "${BUILD_DIR}" || die
|
||||
WINEPREFIX="${T}/.wine-${ABI}" Xemake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
add_locale_docs() {
|
||||
local locale_doc="documentation/README.$1"
|
||||
[[ ! -e ${locale_doc} ]] || DOCS=( "${DOCS[@]}" ${locale_doc} )
|
||||
}
|
||||
l10n_for_each_locale_do add_locale_docs
|
||||
autotools-multilib_src_install
|
||||
|
||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.5.5.ebuild,v 1.1 2014/01/22 04:39:33 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
# Vapigen is needed for the vala binding
|
||||
# Valac is needed when building from git for the engine
|
||||
|
||||
inherit bash-completion-r1 eutils gnome2-utils multilib python-single-r1 vala virtualx
|
||||
|
||||
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
|
||||
HOMEPAGE="http://code.google.com/p/ibus/"
|
||||
SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X"
|
||||
REQUIRED_USE="|| ( gtk gtk3 X )
|
||||
deprecated? ( python )
|
||||
python? (
|
||||
${PYTHON_REQUIRED_USE}
|
||||
|| ( deprecated ( gtk3 introspection ) ) )" #342903
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
gnome-base/librsvg:2
|
||||
sys-apps/dbus[X?]
|
||||
app-text/iso-codes
|
||||
>=gnome-base/dconf-0.13.4
|
||||
x11-libs/libnotify
|
||||
|
||||
gconf? ( >=gnome-base/gconf-2.12:2 )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/gtk+:2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
|
||||
nls? ( virtual/libintl )
|
||||
wayland? ( dev-libs/wayland )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
x11-apps/setxkbmap
|
||||
python? (
|
||||
dev-python/pyxdg
|
||||
deprecated? (
|
||||
>=dev-python/dbus-python-0.83
|
||||
dev-python/pygobject:2
|
||||
dev-python/pygtk:2 )
|
||||
gtk3? (
|
||||
dev-python/pygobject:3
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gtk+:3[introspection] )
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.8.1
|
||||
dev-util/gtk-doc-am
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.16.1 )
|
||||
vala? ( $(vala_depend) )
|
||||
gnome-base/gconf"
|
||||
|
||||
# stress test in bus/ fails
|
||||
# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations
|
||||
sed -e 's/dconf update/$(NULL)/' \
|
||||
-i data/dconf/Makefile.{am,in} || die
|
||||
use vala && vala_src_prepare
|
||||
cp "${S}"/client/gtk2/ibusimcontext.c "${S}"/client/gtk3/ibusimcontext.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local python_conf
|
||||
if use python; then
|
||||
python_conf="PYTHON=${PYTHON}
|
||||
$(use_enable deprecated python-library)
|
||||
$(use_enable gtk3 setup)"
|
||||
else
|
||||
python_conf="--disable-python-library --disable-setup"
|
||||
fi
|
||||
econf \
|
||||
--enable-dconf \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable gconf) \
|
||||
$(use_enable gtk gtk2) \
|
||||
$(use_enable gtk xim) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable gtk3 ui) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable X xim) \
|
||||
$(use_enable vala) \
|
||||
$(use_enable wayland) \
|
||||
${python_conf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}"
|
||||
rm -rf "${ED}"/usr/share/bash-completion || die
|
||||
newbashcomp "${T}"/ibus.bash ${PN}
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
newins xinput-ibus ibus.conf
|
||||
|
||||
keepdir /usr/share/ibus/{engine,icons} #289547
|
||||
|
||||
use deprecated && python_optimize
|
||||
use python && use gtk3 && python_optimize
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use gconf && gnome2_gconf_savelist
|
||||
gnome2_schemas_savelist
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gconf && gnome2_gconf_install
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
gnome2_schemas_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "To use ibus, you should:"
|
||||
elog "1. Get input engines from sunrise overlay."
|
||||
elog " Run \"emerge -s ibus-\" in your favorite terminal"
|
||||
elog " for a list of packages we already have."
|
||||
elog
|
||||
elog "2. Setup ibus:"
|
||||
elog
|
||||
elog " $ ibus-setup"
|
||||
elog
|
||||
elog "3. Set the following in your user startup scripts"
|
||||
elog " such as .xinitrc, .xsession or .xprofile:"
|
||||
elog
|
||||
elog " export XMODIFIERS=\"@im=ibus\""
|
||||
elog " export GTK_IM_MODULE=\"ibus\""
|
||||
elog " export QT_IM_MODULE=\"xim\""
|
||||
elog " ibus-daemon -d -x"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
use gconf && gnome2_schemas_update
|
||||
gnome2_schemas_savelist
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild,v 1.1 2014/01/22 04:47:55 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1 #290284
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Tools to convert docbook to man and info"
|
||||
SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz"
|
||||
HOMEPAGE="http://docbook2x.sourceforge.net/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux ~x86-solaris"
|
||||
IUSE="test"
|
||||
LICENSE="MIT"
|
||||
|
||||
# dev-perl/XML-LibXML - although not mentioned upstream is required
|
||||
# for make check to complete.
|
||||
DEPEND="dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-NamespaceSupport
|
||||
dev-perl/XML-SAX
|
||||
dev-perl/XML-LibXML
|
||||
app-text/docbook-xsl-stylesheets
|
||||
=app-text/docbook-xml-dtd-4.2*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
# Patches from debian, for description see patches itself.
|
||||
"${FILESDIR}/${P}-filename_whitespace_handling.patch"
|
||||
"${FILESDIR}/${P}-preprocessor_declaration_syntax.patch"
|
||||
"${FILESDIR}/${P}-error_on_missing_refentry.patch"
|
||||
# bug #296112
|
||||
"${FILESDIR}/${P}-drop-htmldir.patch"
|
||||
)
|
||||
src_prepare() {
|
||||
sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die 'sed on configure.ac failed'
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
--with-xslt-processor=libxslt
|
||||
--program-transform-name='/^docbook2/s,$,.pl,'
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
dosym docbook2man.pl /usr/bin/docbook2x-man
|
||||
dosym docbook2texi.pl /usr/bin/docbook2x-texi
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/llpp-17_p20140112.ebuild,v 1.1 2014/01/22 08:10:58 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="a graphical PDF viewer which aims to superficially resemble less(1)"
|
||||
HOMEPAGE="http://repo.or.cz/w/llpp.git"
|
||||
#SRC_URI="http://repo.or.cz/w/llpp.git/snapshot/db515851a5cf04ecb4c06311c79ce9685324bc81.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="http://dev.gentoo.org/~xmw/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+ocamlopt static"
|
||||
|
||||
LIB_DEPEND="~app-text/mupdf-1.3_p20140118:=[static-libs]
|
||||
media-libs/openjpeg:2[static-libs]
|
||||
media-libs/freetype:2[static-libs]
|
||||
media-libs/jbig2dec[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
virtual/jpeg:0[static-libs]
|
||||
x11-libs/libX11[static-libs]"
|
||||
RDEPEND="x11-misc/xsel
|
||||
!static? ( ${LIB_DEPEND//\[static-libs]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND}
|
||||
app-arch/bzip2[static-libs]
|
||||
media-libs/libXcm[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libXmu[static-libs] )
|
||||
dev-lang/ocaml[ocamlopt?]
|
||||
dev-ml/lablgl[glut,ocamlopt?]"
|
||||
|
||||
RESTRICT="!ocamlopt? ( strip )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-11-WM_CLASS.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local ocaml=$(usex ocamlopt ocamlopt.opt ocamlc.opt)
|
||||
local cmo=$(usex ocamlopt cmx cmo)
|
||||
local cma=$(usex ocamlopt cmxa cma)
|
||||
local ccopt="$(freetype-config --cflags ) -O -include ft2build.h -D_GNU_SOURCE"
|
||||
if use static ; then
|
||||
local cclib=""
|
||||
local slib=""
|
||||
local spath=( ${EROOT}usr/$(get_libdir) $($(tc-getPKG_CONFIG) --libs-only-L --static mupdf x11 | sed 's:-L::g') )
|
||||
for slib in $($(tc-getPKG_CONFIG) --libs-only-l --static mupdf x11) -ljpeg -ljbig2dec ; do
|
||||
case ${slib} in
|
||||
-lm|-ldl|-lpthread)
|
||||
einfo "${slib}: shared"
|
||||
cclib+="${slib} " ;;
|
||||
*)
|
||||
local ccnew=$(find ${spath} -name "lib${slib/-l}.a")
|
||||
einfo "${slib}: use ${ccnew}"
|
||||
cclib+="${ccnew} " ;;
|
||||
esac
|
||||
done
|
||||
else
|
||||
local cclib="$($(tc-getPKG_CONFIG) --libs mupdf x11) -lpthread"
|
||||
fi
|
||||
|
||||
verbose() { echo "$@" >&2 ; "$@" || die ; }
|
||||
verbose ocaml str.cma keystoml.ml < KEYS > help.ml
|
||||
verbose printf 'let version ="%s";;\n' ${PV} >> help.ml
|
||||
verbose ${ocaml} -c -o link.o -ccopt "${ccopt}" link.c
|
||||
verbose ${ocaml} -c -o help.${cmo} help.ml
|
||||
verbose ${ocaml} -c -o utils.${cmo} utils.ml
|
||||
verbose ${ocaml} -c -o wsi.cmi wsi.mli
|
||||
verbose ${ocaml} -c -o wsi.${cmo} wsi.ml
|
||||
verbose ${ocaml} -c -o parser.${cmo} parser.ml
|
||||
verbose ${ocaml} -c -o main.${cmo} -I +lablGL main.ml
|
||||
verbose ${ocaml} $(usex ocamlopt "" -custom) -o llpp -I +lablGL\
|
||||
str.${cma} unix.${cma} lablgl.${cma} link.o \
|
||||
-cclib "${cclib}" \
|
||||
help.${cmo} utils.${cmo} parser.${cmo} wsi.${cmo} main.${cmo}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc KEYS README Thanks fixme
|
||||
}
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.3_p20140118.ebuild,v 1.1 2014/01/22 07:14:40 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="http://mupdf.com/"
|
||||
SRC_URI="http://git.ghostscript.com/?p=mupdf.git;a=snapshot;h=01f0a0db15faf4bffaa2556ced74868572dac7f5;sf=tgz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/1.3"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X vanilla static static-libs"
|
||||
|
||||
LIB_DEPEND="dev-libs/openssl[static-libs?]
|
||||
media-libs/freetype:2[static-libs?]
|
||||
media-libs/jbig2dec[static-libs?]
|
||||
media-libs/openjpeg:2[static-libs?]
|
||||
net-misc/curl[static-libs?]
|
||||
virtual/jpeg[static-libs?]
|
||||
X? ( x11-libs/libX11[static-libs?]
|
||||
x11-libs/libXext[static-libs?] )"
|
||||
RDEPEND="${LIB_DEPEND}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
static-libs? ( ${LIB_DEPEND} )
|
||||
static? ( ${LIB_DEPEND//?}
|
||||
app-arch/bzip2[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libxcb[static-libs] )"
|
||||
|
||||
src_prepare() {
|
||||
rm -rf thirdparty || die
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.3-CFLAGS.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-openjpeg2.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-pkg-config.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-sys_curl.patch
|
||||
|
||||
sed -e "/^libdir=/s:/lib:/$(get_libdir):" \
|
||||
-e "/^prefix=/s:=.*:=${EROOR}/usr:" \
|
||||
-i platform/debian/${PN}.pc || die
|
||||
|
||||
use vanilla || epatch \
|
||||
"${FILESDIR}"/${PN}-1.3-zoom-2.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-forward_back.patch
|
||||
|
||||
#http://bugs.ghostscript.com/show_bug.cgi?id=693467
|
||||
sed -e '/^\(Actions\|MimeType\)=/s:\(.*\):\1;:' \
|
||||
-i platform/debian/${PN}.desktop || die
|
||||
|
||||
sed -e "\$aOS = Linux" \
|
||||
-e "\$aCC = $(tc-getCC)" \
|
||||
-e "\$aLD = $(tc-getCC)" \
|
||||
-e "\$aAR = $(tc-getAR)" \
|
||||
-e "\$averbose = true" \
|
||||
-e "\$abuild = debug" \
|
||||
-e "\$aprefix = ${ED}usr" \
|
||||
-e "\$alibdir = ${ED}usr/$(get_libdir)" \
|
||||
-i Makerules || die
|
||||
|
||||
if ! use X ; then
|
||||
sed -e "\$aNOX11 = yes" \
|
||||
-i Makerules || die
|
||||
fi
|
||||
|
||||
if use static-libs || use static ; then
|
||||
cp -a "${S}" "${S}"-static || die
|
||||
#add missing Libs.private for xcb and freetype
|
||||
sed -e 's:\(pkg-config --libs\):\1 --static:' \
|
||||
-e '/^SYS_X11_LIBS = /s:\(.*\):\1 -lpthread:' \
|
||||
-e '/^SYS_FREETYPE_LIBS = /s:\(.*\):\1 -lbz2:' \
|
||||
-i "${S}"-static/Makerules || die
|
||||
fi
|
||||
|
||||
my_soname=libmupdf.so.1.3
|
||||
my_soname_js_none=libmupdf-js-none.so.1.3
|
||||
sed -e "\$a\$(MUPDF_LIB): \$(MUPDF_JS_NONE_LIB)" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname} -Wl,--no-undefined -o \$@ \$^ \$(MUPDF_JS_NONE_LIB) \$(LIBS)" \
|
||||
-e "/^MUPDF_LIB :=/s:=.*:= \$(OUT)/${my_soname}:" \
|
||||
-e "\$a\$(MUPDF_JS_NONE_LIB):" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname_js_none} -Wl,--no-undefined -o \$@ \$^ \$(LIBS)" \
|
||||
-e "/^MUPDF_JS_NONE_LIB :=/s:=.*:= \$(OUT)/${my_soname_js_none}:" \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake XCFLAGS="-fpic"
|
||||
use static-libs && \
|
||||
emake -C "${S}"-static build/debug/lib${PN}{,-js-none}.a
|
||||
use static && \
|
||||
emake -C "${S}"-static XLIBS="-static"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
domenu platform/debian/${PN}.desktop
|
||||
doicon platform/debian/${PN}.xpm
|
||||
dobin platform/debian/${PN}-select-file
|
||||
else
|
||||
rm docs/man/${PN}.1
|
||||
fi
|
||||
|
||||
emake install
|
||||
dosym ${my_soname} /usr/$(get_libdir)/lib${PN}.so
|
||||
|
||||
use static-libs && \
|
||||
dolib.a "${S}"-static/build/debug/lib${PN}{,-js-none}.a
|
||||
if use static ; then
|
||||
dobin "${S}"-static/build/debug/mu{tool,draw}
|
||||
use X && dobin "${S}"-static/build/debug/${PN}-x11
|
||||
fi
|
||||
use X && dosym ${PN}-x11 /usr/bin/${PN}
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins platform/debian/${PN}.pc
|
||||
|
||||
dodoc README docs/*.{txt,c}
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST check-0.9.10.tar.gz 650135 SHA256 823819235753e94ae0bcab3c46cc209de166c32ff2f52cefe120597db4403e6d SHA512 418686a2473de5a11400278213a260769876571735b60cd2ac553780ac93266bb55b344a36ac1e7fd4dfc0491114c7779874d4837f99cc42e3b4ec0e8ddf3ae1 WHIRLPOOL 2abfa475c014b19b9d0134f6644fe90d2a8bcc7f3339c4d6f9dfc7a80f4a53fb45fec2b3fb2c9f7fe51e2c090c87e115568c715423dda12682deeea661f95322
|
||||
DIST check-0.9.11.tar.gz 691146 SHA256 ea4e8c7ffb00bb4ffb3f59f11744a71f1cc4212c79f3083c7d9a4b0953976936 SHA512 10883709463b76f6650197db989c348d9d07ccaa2cacc0bd6bd177bbcc1e9e0d88746c2e110e620ab18c23cb5f41b95797d60d77de279af1a810a42b355b742e WHIRLPOOL 9559104a68b2f1215e9b00affb4711a69bf3e4e94e0ec894de66f0f77b5637187bb183560e29d0a889ff04d0e07f2785fc407128dee1ba74d584ce9a0ff9a3b1
|
||||
DIST check-0.9.12.tar.gz 730404 SHA256 c7d47e55e133a0ca19a52e08a99333ac55cb22618b53719b7f4117a1875b1ea3 SHA512 698e6cfdf24b07340fb4fa77f49811053f8307d3baca8bdcdde5e3dfe1f910bbadb6a393f03020d8b18c22e7e164d40f6bbbeb9659908b0df8459e5c4850fa50 WHIRLPOOL 4994c444532e1337bcda5e632d532ffd6aae59de866009b5bce3d1f25988dd203d04136dd451b6d24c6e32775159772d1c98097ff618a5cc559fca9725ad18ed
|
||||
DIST check-0.9.8.tar.gz 558943 SHA256 82acf956bb07584ffea2bf04d5989fe939c3e74ecf93133a21037fd0f7996a7f SHA512 a8ef659411c18f8af77006a51fe14741b990e7486c3e5c1e97cd2a100a603483ba9854c2f23bd9a5e834e133ca0dcc3ae15f41856339ab3b82a75ad769a872a2 WHIRLPOOL fdc06bd44f041153f655c577c55825afb2d2b79ff066427cd224b5a6d351f9da076d39807f434d2e22e1b6b54c6bc774744c8210dc318e493b9241bb5d7ded84
|
||||
DIST check-0.9.9.tar.gz 602679 SHA256 1a7a9abb9d051e1b9da4149ce651436a29e20135a40bdb202bd7b2bef3878ac9 SHA512 baf986eed3ad74e24a27cae56c52c06f457022b4b627e122f80df88e648cab42d8918b0aa5d8fc1366ed533141b39d07f0ebe984756289f684b22f63cea2d46b WHIRLPOOL 60423d21afbc0a34953ee1ae5ace2551ee46fb62ebcee413746c8a5ec948ae43fb29b09b55a6be3dc7b333f2197204097dd66e20457c0a6191f6d843eb51a9f7
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/check/check-0.9.12.ebuild,v 1.1 2014/01/21 15:09:49 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
|
||||
|
||||
inherit autotools autotools-multilib eutils
|
||||
|
||||
DESCRIPTION="A unit test framework for C"
|
||||
HOMEPAGE="http://sourceforge.net/projects/check/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs subunit"
|
||||
|
||||
DEPEND="subunit? ( dev-python/subunit )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.9.10-AM_PATH_CHECK.patch
|
||||
|
||||
sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
|
||||
|
||||
# fix out-of-sourcedir build having inconsistent check.h files, for
|
||||
# example breaks USE=subunit.
|
||||
rm src/check.h || die
|
||||
|
||||
# Fix automake warnings being treated as errors, bug #420373
|
||||
sed -i -e s/-Werror// configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-dependency-tracking
|
||||
$(use_enable subunit)
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libcdio-0.83.tar.gz 2323747 SHA256 235017e3eccb86424f9c108f2c5d5fca62630bda8c9dcf23b425ba9c5e2482c0 SHA512 703615f44116236da828ee663680381a89def9046d60a7c7e89fdfe26d387a64c1f8a6354d6d2f8707e3263f88756a122e3fe561bd8a4258e4801cf5b0a98a10 WHIRLPOOL c4f5d5e31c99aab09d7ff06e05579c803b4f87b5019bdc6ee77ea713b3b90a697d9179cc203b79d06fbb2c6555a1fe972ea407e0f062e11053504a5031526f25
|
||||
DIST libcdio-0.90.tar.gz 2650532 SHA256 af7e73825cec045e7775a205924de4804fe8ce60ccd299d605234b5df233f74e SHA512 ca262eb59d0b2078697749eba050ef428c8a2728e534bcf51fcb1aa7b28d111386272029c6ae1b4a7ebe6214124f7a48b2d1b76478e3775562a35ff00df7fc38 WHIRLPOOL 8c092444fc34e76b3bb69945e964d7f9da0c7328b4023db3a7ebf31ffa54c0b4a1b3f5f6b59802045230329ab8bcd37af33d01ccf67fe672bae9a4e83dc1b937
|
||||
DIST libcdio-0.92.tar.gz 2710084 SHA256 3336bf352aff43b5023e41a6d23525172a3b4ee433c467bd0fab5b8becb33fad SHA512 aeeb51c87f966683a1f10960e4d000098603adfbd8036cff17f62afa5de08a2dbe4f8df7d1bc1fd0438c0ac5f868b2950ed9379ea17b7d98fbd23ef023777747 WHIRLPOOL 051ba189fef5f28ae8ac98caab7bdb7468423f53d7b423e1a2416a8741339ff5aed76115a665f91d406254462c87cf84274a1b777a8f39064624fe908ff1fb0c
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.92.ebuild,v 1.1 2014/01/21 07:56:40 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="A library to encapsulate CD-ROM reading and control"
|
||||
HOMEPAGE="http://www.gnu.org/software/libcdio/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="cddb +cxx minimal static-libs test"
|
||||
|
||||
RDEPEND="
|
||||
!minimal? (
|
||||
>=sys-libs/ncurses-5.7-r7
|
||||
cddb? ( >=media-libs/libcddb-1.3.2 )
|
||||
)
|
||||
virtual/libiconv[${MULTILIB_USEDEP}]
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/sed
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
test? ( dev-lang/perl )"
|
||||
DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/cdio/cdio_config.h
|
||||
/usr/include/cdio/version.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \
|
||||
-i configure || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local util_switch
|
||||
if ! multilib_is_native_abi || use minimal ; then
|
||||
util_switch="--without"
|
||||
else
|
||||
util_switch="--with"
|
||||
fi
|
||||
|
||||
# Tests fail if ECONF_SOURCE is not relative
|
||||
ECONF_SOURCE="../${P}" econf \
|
||||
--disable-maintainer-mode \
|
||||
$(use_enable cxx) \
|
||||
--disable-cpp-progs \
|
||||
--disable-example-progs \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable cddb) \
|
||||
--disable-vcd-info \
|
||||
${util_switch}-{cd-drive,cd-info,cdda-player,cd-read,iso-info,iso-read}
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST libnl-1.1.4.tar.gz 1174974 SHA256 4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 SHA512 25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4 WHIRLPOOL eab5547dce7b11c86123fbcc9cd8e00100c7e78f48a4a9fef40f80f89407ea705b701f8f0eb7df63997866f17b0cf0924b43c69b29fa1f1b016fe997371b950e
|
||||
DIST libnl-3.2.23.tar.gz 766271 SHA256 8cc2cda9aa8cbbad384b9bb1ba0f6777ed9bf65e1cc3170d8c2ba5b3ee12f2b3 SHA512 b56dde135bf8e2a48bb7bb885351cf557b6a88c67dbc012c3c3f4008b8c6066f18442de772e7f8a41d6da8c80d4a38664393f131732870deae9da090b53045d8 WHIRLPOOL ef3f35edc77b7de1657e5ddd0f26e2e316d31ffb46353ab6c7345df5ff9b6d757b2d62fbaa5c58f4a7f5ed13859b00759971b22a069e381af519a82ffa8eb7a4
|
||||
DIST libnl-3.2.24-rc1.tar.gz 811888 SHA256 c877337d9c4c703b1e6f6d5af87b51d422e8522434190f459029338af5613935 SHA512 f211f2a40e8818f6c306d54afa55d4e315189557d1e79f1cd6546c7c4ec22a77e73ad06df79db59bf59dcdb37b18f3eefd8c4fb7f386332c454785148135e8c6 WHIRLPOOL 4faf4f1225760ed4d85421d82158d0278436498e016d9762d77b4693557dcebdbbc246b2055b66aca85742585b330c79965a70f59d4db8e58bb7fe7403136ab9
|
||||
DIST libnl-3.2.24.tar.gz 802068 SHA256 fb8d6e5dc8af5b85bc6d00a71582a68a01e6a3f7d1664d4a646e289a99dd6816 SHA512 d42c131d0be3bddfd65b9353f7193d355a0b5a7f0c32ee3db67ceeb9da2b04030f2dbc0d51f7f7cddbcc15fcc596b380e0c846dbe1c52212e50d06b7ee12fb10 WHIRLPOOL a90e9dcd08c7a2fb2bc883dd4f8b09e21afd55b10573bada84d1fb6425f5a9adff90bfd0c7572aef437719cfaaa106e5cc4b4aeed081d62e6723ba31c15f0edf
|
||||
|
@ -1,42 +0,0 @@
|
||||
--- a/include/netlink/route/link.h
|
||||
+++ b/include/netlink/route/link.h
|
||||
@@ -98,7 +98,7 @@ typedef enum {
|
||||
|
||||
#define RTNL_LINK_STATS_MAX (__RTNL_LINK_STATS_MAX - 1)
|
||||
|
||||
-extern struct nla_policy link_policy[];
|
||||
+extern struct nla_policy rtln_link_policy[];
|
||||
|
||||
extern struct rtnl_link *rtnl_link_alloc(void);
|
||||
extern void rtnl_link_put(struct rtnl_link *);
|
||||
--- a/lib/route/link.c
|
||||
+++ b/lib/route/link.c
|
||||
@@ -262,7 +262,7 @@ static int link_clone(struct nl_object *_dst, struct nl_object *_src)
|
||||
return 0;
|
||||
}
|
||||
|
||||
-struct nla_policy link_policy[IFLA_MAX+1] = {
|
||||
+struct nla_policy rtln_link_policy[IFLA_MAX+1] = {
|
||||
[IFLA_IFNAME] = { .type = NLA_STRING,
|
||||
.maxlen = IFNAMSIZ },
|
||||
[IFLA_MTU] = { .type = NLA_U32 },
|
||||
@@ -481,7 +481,7 @@ static int link_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who,
|
||||
int err, family;
|
||||
struct nla_policy real_link_policy[IFLA_MAX+1];
|
||||
|
||||
- memcpy(&real_link_policy, link_policy, sizeof(link_policy));
|
||||
+ memcpy(&real_link_policy, rtln_link_policy, sizeof(rtln_link_policy));
|
||||
|
||||
link = rtnl_link_alloc();
|
||||
if (link == NULL) {
|
||||
--- a/lib/route/link/veth.c
|
||||
+++ b/lib/route/link/veth.c
|
||||
@@ -65,7 +65,7 @@ static int veth_parse(struct rtnl_link *link, struct nlattr *data,
|
||||
err = nla_parse(peer_tb, IFLA_MAX,
|
||||
nla_data(nla_peer) + sizeof(struct ifinfomsg),
|
||||
nla_len(nla_peer) - sizeof(struct ifinfomsg),
|
||||
- link_policy);
|
||||
+ rtln_link_policy);
|
||||
if (err < 0)
|
||||
goto errout;
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- Tk-804.031/PNG/Makefile.PL.old 2014-01-21 17:04:09.961441121 +0400
|
||||
+++ Tk-804.031/PNG/Makefile.PL 2014-01-21 17:08:15.582448981 +0400
|
||||
@@ -17,10 +17,11 @@
|
||||
my $libpng_libs;
|
||||
system('pkg-config --exists libpng');
|
||||
if ($? == 0) {
|
||||
chomp($libpng_cflags = `pkg-config --cflags libpng`);
|
||||
chomp($libpng_libs = `pkg-config --libs libpng`);
|
||||
+ chomp($libpng_libs .= `pkg-config --libs zlib`);
|
||||
} else {
|
||||
warn "'pkg-config libpng' failed, continue with fallback values for cflags and libs...\n";
|
||||
$libpng_cflags = '-I/usr/local/include';
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/perl-tk-804.31.0-r1.ebuild,v 1.1 2014/01/21 13:40:35 civil Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Tk
|
||||
MODULE_AUTHOR=SREZIC
|
||||
MODULE_VERSION=804.031
|
||||
inherit multilib perl-module
|
||||
|
||||
DESCRIPTION="A Perl Module for Tk"
|
||||
|
||||
LICENSE+=" BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
media-libs/freetype
|
||||
>=media-libs/libpng-1.4
|
||||
virtual/jpeg"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# No test running here, requires an X server, and fails lots anyway.
|
||||
SRC_TEST="skip"
|
||||
PATCHES=( "${FILESDIR}"/${P}-xorg.patch
|
||||
"${FILESDIR}/${P}"-fix-libpng-option.patch )
|
||||
|
||||
src_prepare() {
|
||||
MAKEOPTS+=" -j1" #333049
|
||||
myconf=( X11ROOT=${EPREFIX}/usr XFT=1 -I${EPREFIX}/usr/include/ -l${EPREFIX}/usr/$(get_libdir) )
|
||||
mydoc="ToDo VERSIONS"
|
||||
|
||||
perl-module_src_prepare
|
||||
# fix detection logic for Prefix, bug #385621
|
||||
sed -i -e "s:/usr:${EPREFIX}/usr:g" myConfig || die
|
||||
# having this around breaks with perl-module and a case-IN-sensitive fs
|
||||
rm build || die
|
||||
|
||||
# Remove all bundled libs, fixes #488194
|
||||
local BUNDLED="PNG/libpng \
|
||||
PNG/zlib \
|
||||
JPEG/jpeg"
|
||||
for dir in ${BUNDLED}; do
|
||||
rm -r "${S}/${dir}" || die "Can't remove bundle"
|
||||
# Makefile.PL can copy files to ${S}/${dir}, so recreate them back.
|
||||
mkdir -p "${S}/${dir}" || die "Can't restore bundled dir"
|
||||
sed -i "\#^${dir}#d" "${S}"/MANIFEST || die 'Can not remove bundled libs from MANIFEST'
|
||||
done
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Axiom-0.6.0.tar.gz 197148 SHA256 0c3e5586c91df966f2c1b2031db870ee6b73bdd0517f9a7dab764ef0943e548c SHA512 493aa981d6bfa4ee12cd57fe6272bb00b123f6eed9d6a07923e5f391fd7d5fc4cc1c1025fe6eaf67d1e0da75e8293695abd2e4e9895ef06f02eff6517357a0d6 WHIRLPOOL d2c5c465ae80e0265c44c19b02b6cf7cca97f0f244f8271a296b3274ef87532ec2ea29aba8b5262a46ecf9813cee666280bc045af42f2687aba5a8472027242a
|
||||
DIST Axiom-0.7.0.tar.gz 440345 SHA256 25e8e54bb0a357bce92d0f46b800d66b31e7692685e899d639243a05832770bb SHA512 4a77df5cac1ff80bb4847922061d2f50897b609f67bdfd4366d40b80baa95d6ddb184314ce816e01c1a3df7a8013d1fa9ae6cf8d08ac864c101e42cb42cb11a3 WHIRLPOOL 6e7e5cc098c9eb5ca4f1a2fa71bd2d678d7ff533d39515a24bc1454a3677552ce5cc6a3a0046dc60a6a2705d4b3aaa90c0baa2a2773549fa267fc7782ad88590
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/axiom/axiom-0.7.0.ebuild,v 1.1 2014/01/22 01:27:25 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="Object database implemented on top of SQLite."
|
||||
HOMEPAGE="http://divmod.org/trac/wiki/DivmodAxiom http://pypi.python.org/pypi/Axiom"
|
||||
SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/epsilon-0.6.0-r2[${PYTHON_USEDEP}]
|
||||
dev-python/twisted-core[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.5.30-sqlite3_3.6.4.patch" )
|
||||
|
||||
TWISTED_PLUGINS+=( axiom.plugins )
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
touch "${D}$(python_get_sitedir)"/axiom/plugins/dropin.cache || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc NAME.txt
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test ${PN}/test/ || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pandas-0.12.0.tar.gz 3155059 SHA256 be9b4c3611801b366873531bc87a87dd16b19e7d78fa84c21898cd007931c86d SHA512 da5dbd6109f7c96b762fcdf695ed50da8059ca78f645b0dec9a741ed89638ba43f8b336d339d3d4c250585ddfddff240b40bb25e99ab642eed825c649f2fd59e WHIRLPOOL 19cb14eff3b397d80d2c33d55c980b1db1793c087048be9cc13718e50f6034aa3f15fe27866cc13f778fa71cf3c91147449865b9597087622fa9cf24e71d527d
|
||||
DIST pandas-0.13.0.tar.gz 3604253 SHA256 5bb3f7a5f24fe8280e84e5407dc129364e7825cbe366b79676bd5f37a9b2bf0e SHA512 c5e2673f9a3b1e28d038bf3e5911445c8e77f4669eb5df5849062b41c96f93b6f09fa87421ae7382ba50f53c9ac0cf9564bbff5b300f097bf929fca366a500a6 WHIRLPOOL 91257ed915f7ead4d68e0ebf360f326e4e32e8de51c79c315902f297e3c05bd3a525861e6f575419c6c6eb141ecbb0228e6886c02be49a565324b319b0a65fd0
|
||||
|
@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
Pandas is a Python package providing fast, flexible, and expressive
|
||||
data structures designed to make working with "relational" or
|
||||
"labeled" data both easy and intuitive. It aims to be the
|
||||
fundamental high-level building block for doing practical, real
|
||||
world data analysis in Python.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="excel">Pull a few Python packages for Microsoft Excel i/o</flag>
|
||||
<flag name="html">Enable HTML i/o via <pkg>dev-python/beautifulsoup</pkg></flag>
|
||||
<flag name="R">Enable support for R via <pkg>dev-python/rpy</pkg></flag>
|
||||
</use>
|
||||
<use>
|
||||
<flag name="excel">Pull a few Python packages for Microsoft Excel i/o</flag>
|
||||
<flag name="html">Enable HTML i/o via <pkg>dev-python/beautifulsoup</pkg></flag>
|
||||
<flag name="R">Enable support for R via <pkg>dev-python/rpy</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.13.0.ebuild,v 1.1 2014/01/22 07:59:04 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Powerful data structures for data analysis and statistics"
|
||||
HOMEPAGE="http://pandas.sourceforge.net/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples excel html test R"
|
||||
|
||||
REQUIRED_USE="
|
||||
excel? ( !python_targets_python3_2 )
|
||||
doc? ( !python_targets_python3_2 )
|
||||
R? ( !python_targets_python3_2 )
|
||||
"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
doc? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/pytables[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/rpy[$(python_gen_usedep 'python2_7')]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2*')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2*')]
|
||||
sci-libs/scikits_timeseries[$(python_gen_usedep 'python2*')]
|
||||
x11-misc/xclip )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
# dev-python/statsmodels invokes a circular dep
|
||||
# hence rm from doc? ( ), again
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/numexpr[${PYTHON_USEDEP}]
|
||||
dev-python/bottleneck[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pytables[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
excel? (
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2*')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2*')]
|
||||
)
|
||||
html? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
|| ( dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}] )
|
||||
)
|
||||
R? ( dev-python/rpy[$(python_gen_usedep 'python2_7')] )"
|
||||
|
||||
python_prepare_all() {
|
||||
if use doc; then
|
||||
# Prevent un-needed download during build
|
||||
sed -e 's:^intersphinx_mapping:#intersphinx_mapping:' \
|
||||
-e "s:^ 'statsmodels:# 'statsmodels:" \
|
||||
-e "s:^ 'python:# 'python:" \
|
||||
-e "s:^}:#}:" \
|
||||
-i doc/source/conf.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# To build docs the need be located in $BUILD_DIR,
|
||||
# else PYTHONPATH points to unusable modules.
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
cp -ar "${S}"/doc . && cd doc || die
|
||||
LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# test can't survive py2.6, alternately patch to skip under unittest2
|
||||
if [[ ${EPYTHON} == "python2.6" ]]; then
|
||||
rm $(find "${BUILD_DIR}" -name test_array.py) || die
|
||||
fi
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
|
||||
VIRTUALX_COMMAND="nosetests --verbosity=3 pandas" \
|
||||
virtualmake || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
dohtml -r doc/build/html/*
|
||||
einfo "An initial build of docs is absent of references to statsmodels"
|
||||
einfo "due to circular dependency. To have them included, emerge"
|
||||
einfo "statsmodels next and re-emerge pandas with USE doc"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
# example python modules not to be compressed
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r "${S}"/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST deep_merge-1.0.0.gem 11776 SHA256 b32a0ad0b4d458509f39d38222e342f8c91a1cbaf5ff6baa56fb16d15d5f6264 SHA512 0f5e170a4076b6e30da188c56439d6b8088248c1ddb3d5aa381e44e12da37d8779a0bad23c3d226fb4d41f27cfc782c6c8a27cde6d2803da7452ff93a4d22864 WHIRLPOOL e32b2b9855734a62cc24827c8e2c5ad5f861c016c5d24878931b3a2e2482e1eab7ecdafb66c8a4002176d0d8acff22341e7d21550d459a0ca0619ea456ad5886
|
||||
DIST deep_merge-1.0.1.gem 12800 SHA256 2dcc68cc5af7b3d336fd528ec2c54f7790a72b832c8c6689e9c907d0e764718c SHA512 2796d30a3d279864717bc535913909169dd49c698dee6cf64ad785f42ecfcb72f2fd90083baf890299fec452265553f5767d5719f5c3c4c100b85e33ad45006f WHIRLPOOL a682df3a99cc0f95eb8731ad55847e61a4237ac6b1bac2c5f1206d5e0b2557e11950c40c85870d68645ea39e08054164f22dc6b90622a6de3533cb30ac3075af
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/deep_merge/deep_merge-1.0.1.ebuild,v 1.1 2014/01/22 06:42:20 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A simple set of utility functions for Hash"
|
||||
HOMEPAGE="http://trac.misuse.org/science/wiki/DeepMerge"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S testrb test/test_*.rb || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST faraday-0.7.6.gem 31232 SHA256 bd3291a6fe4545bad566610e5c1d0c671eb182aa8d9772e860a85db2c3c3cf19 SHA512 eee87d31284b8719ce4ed1d3fef77ac9d119c4327a6a44a6a6f6aaa36a837ba535e72a0749f01783a3c127d22fc6b68747a6d138ad2f208a69507a5550aec23d WHIRLPOOL 8a9608e62b72d31bca28ced9edf46e4c5c8fee504711ca28b12c65918292cff4070c315c01e9aaac5997dc74689e6be2177257b92175d37e1a0c9b2327884d92
|
||||
DIST faraday-0.8.1.gem 37376 SHA256 74c7b8441d5fc1853a1eb6d6c158aec47e78f185bd53044ae897351e4ece41f6 SHA512 ab436694a2b9919f7e65a2f826d025dbdcf7e18dbdd88d678073a2d3b323529feab0c5eba42cf70f718a6885b3d31c468029eef013496da4d9db50f906db2a46 WHIRLPOOL 5c1c8ce96e13cb96890e5a0d1fd88f232835897a48f9f6ac9338c4e67ca0884aa05e1cc75f01f7ccb78756677b9f52a551e7f5f36e7aa01cee8d310df77f8330
|
||||
DIST v0.8.8.tar.gz 40977 SHA256 2067496228638fa1b31bb09b2cab9d95114b76099c4dd597ce046339e8534e02 SHA512 de0594d543f639c39161066d35c6a73777dd37a7c13543f7f7dbce822a340fea7e8e69545c7410c4d8310f74128635e8a6790aa63ae0a39f1afbc72050daf875 WHIRLPOOL 26426fa403e9f952a5147f2305d0f7d3464e5eac517f58ff691bfa21afdf27922787e5fdac457850aed5d06f42372fb47aa82b4e86f7125e8b7b5b577b2c61b6
|
||||
DIST v0.9.0.tar.gz 53998 SHA256 0b3503ca485e25082ae20d67ec1f3594d802dc28e5f61e857b741520216f2927 SHA512 d69db4fced6edb7f161078d2fb3d60f11d8bbc14785e08a6aae262915a23cd3fd1f1b871a269491738e623b6b804626e812223678a5e3cc133baafc485c87dd4 WHIRLPOOL 3924f408edb4cc1e3d5df35c0b052f1f12d2f575b1671a4d5aaf4eb7b33e925e3fc5683b564e6d58ab556675022594abace05cf984b83652948c0e0e5c18a313
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/faraday/faraday-0.9.0.ebuild,v 1.1 2014/01/22 07:14:43 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="HTTP/REST API client library with pluggable components"
|
||||
HOMEPAGE="http://github.com/lostisland/faraday"
|
||||
SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0"
|
||||
USE_RUBY="ruby18" ruby_add_rdepend "dev-ruby/system_timer"
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/test-unit-2.4
|
||||
dev-ruby/sinatra
|
||||
dev-ruby/net-http-persistent
|
||||
dev-ruby/patron
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler support.
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile test/helper.rb || die
|
||||
sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die
|
||||
|
||||
# Remove simplecov and coveralls support, not needed to run tests.
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' test/helper.rb || die
|
||||
|
||||
# Remove tests for adapters that are not packaged for Gentoo.
|
||||
rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Make sure the test scripts use the right ruby interpreter
|
||||
sed -i -e 's:ruby:'${RUBY}':' script/* || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
each_fakegem_test
|
||||
|
||||
# Sleep some time to allow the sinatra test server to die
|
||||
einfo "Waiting for test server to stop"
|
||||
sleep 10
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST flexmock-1.3.1.gem 96768 SHA256 029a89ff57fcdd6b4691c10e1c4f8a6507c955df53df5cbf4b03723f1bda4404 SHA512 07f5254a4a66efc5dde2416c50ef419748bd4968abe731bf7fece8f678dc5a8b67715c6717d1ec008ca3ded672922ccedff21f6ae5215736981426867012de0c WHIRLPOOL 7a5e35d44757ead68c5b8d05533cda4e40df5ad22d09544c737b9e132e648ccc9f4498e81f6755e021d4bce35c08e02b7c80ef53359fa334db473a0dde905645
|
||||
DIST flexmock-1.3.2.gem 96256 SHA256 01d7c35bd5fab02604e91ee1049182bc8b6ebd3544f710f7283759d05ac71f35 SHA512 d0eb13a60c9a74b67f17a7a35bae8c8d8b5e2d0bca0a257a4d512fbece88b9b9e0e7c3ebfa5500d320988863ede1ff2af4ce8b2903fe774bf358764f3d43b6dc WHIRLPOOL c5b92bc733ac557585cf2dccc9221c0619876733a8b264d99d714d3ea09b3497b336d1c899cf8bd33ecf41cdb95b90167095b035d85e219d7435679ab6a8e5e2
|
||||
DIST flexmock-1.3.3.gem 81920 SHA256 1d9cc7dd01b43a25447d85477b8ab096481be0a6536aa6587286082c40f35f9d SHA512 2d440ec5bdbaea0a314f9e40645b194d9e5d29e9dc93c9b38d7fdb256bd4ffb3dba312d7a5630e6d849e360b7f337f6e5e0995a5da6210db2577516a62a66f54 WHIRLPOOL 568005d1238f3927e188cc74756e54512855f146ec729309946837fa2235c0bcf18e05a0bcfd78b938b76fddb239c857bff12a37495fc47d68cf31c25db64c52
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-1.3.3.ebuild,v 1.1 2014/01/21 13:14:19 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simple mock object library for Ruby unit testing"
|
||||
HOMEPAGE="http://flexmock.rubyforge.org/"
|
||||
|
||||
LICENSE="flexmock"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/rspec:2
|
||||
)"
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_rspec test/rspec_integration
|
||||
${RUBY} -S testrb -Ilib:. test/*_test.rb || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST httpauth-0.1.gem 15872 SHA256 18d4b8b9048932303e1c22580c8391dff6a6ec24f92b7b8e6d436b621a85d9f1 SHA512 981f0d6d7bbd21b80ce143c87a961e18702925c46a974febcd06f7fd7d856d827bea199c02276e16a863728ab609cf9d0350a0e107f35b8a42cd727fe4d06c21 WHIRLPOOL 428aa6d21fb77420bd7f17aab67e8ac78e19d73a90d2315c7a6e55a01a8d6039005e8caf57338fc8f936951ac1a8ed82cd614c74017784841939d9e1befb7d22
|
||||
DIST httpauth-0.2.0.gem 13824 SHA256 61693bd3849f348c075861a014c95af777a89581e04cae231641c56fc2a9e21f SHA512 bd7a3fc9bd0e9b65d7d1eb99b6e1a8bf5cc9961177c0c8067a626a3c8b501feb69e286cfe65bafbd53e99cc9695a3cd1e83f0ec48702984f2e8c56a057ca818e WHIRLPOOL d8d39d425e396573e9d9295cd0d9fbd31152510fe9540c05c6aac1a78b38b64b9e8b831c9d0447873b27d1a1a26e7fb0d6a616412e4c3d20140dfd966bcbb491
|
||||
DIST httpauth-0.2.1.tar.gz 17300 SHA256 9dc0ff3f195b2d3515b61f6c89969bfecbce5c233f27c6c9818b4fd5612dfcba SHA512 c861089c2dc5242b86867e0a6561672361ba53ccaaf8a931c996502fc12bbce769abf3ebd7fce826cbcfbc943fc901ba1c96e8ce014333582c5d2fa2c3e56a60 WHIRLPOOL 85572d7d570ea1918999bbb153de05a624762b765b9a74b04c99dedb2f3936b2f59db87e766fa8803665d510c03b178e17b529808dc7901b07b16fa45112a8bd
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpauth/httpauth-0.1.ebuild,v 1.1 2012/09/02 07:47:53 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
# There are tests in the upstream SVN rubyforge repo.
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README examples/*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A library supporting the full HTTP Authentication protocol as specified in RFC 2617."
|
||||
HOMEPAGE="http://httpauth.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpauth/httpauth-0.2.0.ebuild,v 1.2 2012/11/25 19:27:50 tomka Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
# There are tests in the upstream SVN rubyforge repo.
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A library supporting the full HTTP Authentication protocol as specified in RFC 2617."
|
||||
HOMEPAGE="http://httpauth.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpauth/httpauth-0.2.1.ebuild,v 1.1 2014/01/21 13:21:04 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md TODO"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A library supporting the full HTTP Authentication protocol as specified in RFC 2617."
|
||||
HOMEPAGE="https://github.com/Manfred/HTTPauth http://httpauth.rubyforge.org/"
|
||||
SRC_URI="https://github.com/Manfred/HTTPauth/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
RUBY_S=HTTPauth-${PV}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/[Bb]undler/d" Rakefile || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST oauth2-0.9.2.gem 22016 SHA256 6d69c7efcd39c808b8faca37c84f46d04d6298451c9cce04d0d8316329ca6116 SHA512 5c47fd8450f91ad645eec03f24532c8e22f89ec2c11390f4cf75edd15ac96c9a9fe247f8f260261490bcce103c5e9c6eaf68a3505429231b02af96f3c992da09 WHIRLPOOL fedf329f2d3a2505212138ad41552fdb1e8ed243bc25fbf5d99b297f20c0683e797202c957a0f085aa54c00b7d8d5fec9fbb1ff6728e59e945e2ff0ae7364055
|
||||
DIST oauth2-0.9.3.gem 23552 SHA256 60ee80ea74541394f35c06330ec440470cb023e354bcce3ff4c55b6339546de5 SHA512 bec97c2aea2dc02ea8901ff37440761b6b810d0294f6875e687997b9ba97768fea9ad7e062f0a958113485c22213d3c56dc01fd24f1be8168df374410a58a445 WHIRLPOOL fbdb1e0b52f2faa87b5e0c5ab4a98d2c3b7ff8dd724fd39547daf34465b978fe5850170181c217fb631464999afa1c10b80a0d265b2a24625110ddea2773f2c1
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oauth2/oauth2-0.9.3.ebuild,v 1.1 2014/01/22 06:59:40 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="Ruby wrapper for the OAuth 2.0 protocol built with a similar style to the original OAuth gem."
|
||||
HOMEPAGE="http://github.com/intridea/oauth2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/faraday-0.8
|
||||
>=dev-ruby/jwt-0.1.8
|
||||
>=dev-ruby/multi_json-1.0.3
|
||||
>=dev-ruby/multi_xml-0.5
|
||||
>=dev-ruby/rack-1.2"
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.5.0:2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die
|
||||
|
||||
sed -i -e '/yardstick/,/^end/ s:^:#:' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CI=true ${RUBY} -S rspec spec || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST redis-rb-3.0.5.tar.gz 59798 SHA256 fb00ecf1859abf393c6965200fa994203f0fddb61bf07dff956669c358877f7d SHA512 a889ab22b04ff557254b7f7408a4a23222062d3fee3acbaf7b4e999ff4eba5977e7be46fdd7c7e93fe6953e6923eebaace2face7c2376da8bf8b844884fadb9b WHIRLPOOL facd93cb1c4c5b49f5c5ff9b147ff60371ebe4ba550b5d46e3b0e7cfe39e7d521712f0e6f20227e0ce1cc1cd723315a47c4b01786ae518a2719b5a9dc98afa65
|
||||
DIST redis-rb-3.0.6.tar.gz 62335 SHA256 06cad67fdfd6955112a65d05e0fff62b003439404f20d8b926ce92f6c5eabe4b SHA512 966a2b9bf5d3af51020015e8b066b728b0632093eedcf1ca41f82b3340d54b0bffb305a0aa7ec5c8534db0a71cd6de006a943a0ebef234a4f93204ea41a431b1 WHIRLPOOL cdeec7ccbe3dd6a4c4ea6e9e786c072cab436abacc48538501234cd58f8bb21bc8a43ad8a4db68b607c5ee9313daffe9e1eb0255057e6306db2c55d920673609
|
||||
|
@ -0,0 +1,69 @@
|
||||
--- a/Rakefile 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ b/Rakefile 2014-01-04 00:19:25.206135726 +0000
|
||||
@@ -2,15 +2,12 @@
|
||||
require 'rubygems/package_task'
|
||||
require 'rake/testtask'
|
||||
|
||||
-ENV["REDIS_BRANCH"] ||= "unstable"
|
||||
-
|
||||
$:.unshift File.join(File.dirname(__FILE__), 'lib')
|
||||
require 'redis/version'
|
||||
|
||||
REDIS_DIR = File.expand_path(File.join("..", "test"), __FILE__)
|
||||
REDIS_CNF = File.join(REDIS_DIR, "test.conf")
|
||||
REDIS_PID = File.join(REDIS_DIR, "db", "redis.pid")
|
||||
-BINARY = "tmp/redis-#{ENV["REDIS_BRANCH"]}/src/redis-server"
|
||||
|
||||
task :default => :run
|
||||
|
||||
@@ -18,9 +15,7 @@
|
||||
task :run => [:start, :test, :stop]
|
||||
|
||||
desc "Start the Redis server"
|
||||
-task :start => BINARY do
|
||||
- sh "#{BINARY} --version"
|
||||
-
|
||||
+task :start do
|
||||
redis_running = \
|
||||
begin
|
||||
File.exists?(REDIS_PID) && Process.kill(0, File.read(REDIS_PID).to_i)
|
||||
@@ -30,8 +25,14 @@
|
||||
end
|
||||
|
||||
unless redis_running
|
||||
- unless system("#{BINARY} #{REDIS_CNF}")
|
||||
- abort "could not start redis-server"
|
||||
+ unless system("which redis-server")
|
||||
+ STDERR.puts "redis-server not in PATH"
|
||||
+ exit 1
|
||||
+ end
|
||||
+
|
||||
+ unless system("redis-server #{REDIS_CNF}")
|
||||
+ STDERR.puts "could not start redis-server"
|
||||
+ exit 1
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -44,21 +45,9 @@
|
||||
end
|
||||
end
|
||||
|
||||
-file BINARY do
|
||||
- branch = ENV.fetch("REDIS_BRANCH")
|
||||
-
|
||||
- sh <<-SH
|
||||
- mkdir -p tmp;
|
||||
- cd tmp;
|
||||
- wget https://github.com/antirez/redis/archive/#{branch}.tar.gz -O #{branch}.tar.gz;
|
||||
- tar xf #{branch}.tar.gz;
|
||||
- cd redis-#{branch};
|
||||
- make
|
||||
- SH
|
||||
-end
|
||||
-
|
||||
Rake::TestTask.new do |t|
|
||||
t.options = "-v"
|
||||
+ t.libs << "test"
|
||||
t.test_files = FileList["test/*_test.rb"]
|
||||
end
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redis/redis-3.0.6.ebuild,v 1.1 2014/01/21 19:05:09 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
MY_P="redis-rb-${PV}"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rake"
|
||||
RUBY_FAKEGEM_TASK_TEST="run"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby client library for Redis"
|
||||
HOMEPAGE="https://github.com/redis/redis-rb"
|
||||
SRC_URI="https://github.com/redis/redis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="test? ( dev-db/redis )"
|
||||
|
||||
RUBY_S="${MY_P}"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# call me impatient, but this way we don't need netcat
|
||||
sed -i \
|
||||
-e '/test_subscribe_past_a_timeout/,+18d' \
|
||||
test/publish_subscribe_test.rb || die "sed failed"
|
||||
|
||||
# Version 3.0.6 downloads and compiles redis-server to test against.
|
||||
# This patch reverts it to the way 3.0.5 does it, using the local server.
|
||||
# https://github.com/redis/redis-rb/commit/351a1294fe33f79c23495b7568045e9f484918f2
|
||||
epatch "${FILESDIR}/${P}-local-redis-server.patch"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST shoulda-matchers-2.3.0.gem 53760 SHA256 90b4419b54b272148f388a90f7f9f29181e3b8b694190491a3a301cab7a67e25 SHA512 cde2da35fbc9125541461d24cff573656dad3b1d320a30aeabf9a837599abc529a97264679e320e5000259e3a5d1892cea9119017f9c82d6a54f5f5c081748fe WHIRLPOOL 3d89d8529b50d60480fc1eb33afc5c3e5c1e203c21d2c66f93a5b3d279ea160389ea32a9ed8de741761f0bda22971edde23fd8e08a59104c8fe51b44d507f7a3
|
||||
DIST shoulda-matchers-2.5.0.gem 69120 SHA256 0b7e611fa760b4ff63f9c824d12c06594d815145e31b50b3b1d2a3dbd880c183 SHA512 3481c6394debd0a03adc388ee809601cde4ad9b89f0e5f9e76d57ceea3a49b7640168a64accefdb3424fb06018a6ab86df78458f607c07778f3698f0838853d3 WHIRLPOOL 73f8e109e6199018ace8e9b687edea71dba89e3f780a1f5a79f1c7171f2f5164598cf1f7e3be0534e6e1e4dfd17e34005689db0e7dd36a564beba406b3b72ee2
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/shoulda-matchers/shoulda-matchers-2.5.0.ebuild,v 1.1 2014/01/22 06:49:41 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="NEWS.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Making tests easy on the fingers and eyes"
|
||||
HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/activesupport-3.0.0"
|
@ -1 +1,2 @@
|
||||
DIST ttfunk-1.0.3.gem 457216 SHA256 0832ebbf47fd1b1fd052b6bd9f7414d8053b925d5b23a38553c2f348193a28c2 SHA512 6d158b1ae8a1000cd935710039945002fffae0e96b700a9956e069b4604c81fca5871d0f4c39b830269105b0170952c74d0f7465d3d32217f260e8f2ac42fcef WHIRLPOOL c1f7dc1ffc26a459a0289ab046290d1b973b6b2e419a04cb033fb6ea85464d3406560ca0c19b789598a3a7a946d0ad489a9eeb2b22027e4a0f7d41dc144890d6
|
||||
DIST ttfunk-1.1.0.tar.gz 821310 SHA256 bdb1bab5016de6f5603fd997a0b6b01b100beb516cc429baed3a2b80b5fddbff SHA512 57a1b6a70f896835b9244871c1b3beaa1c2f0f8dd2bd418dca273c7eabb2d84640425dfeda4f702cfb9a5d427347377e1bba5d940555e1e6f0f4e3bfc73527e5 WHIRLPOOL 23c01e3383bfeb4973b6efc5b46bfd3abf95d45561ebd1a9e9dcf8eb81e618c68f915ccab649dbe5f81ab7a3ce6d54164eb8960d445819114e2c50f515dd882a
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ttfunk/ttfunk-1.1.0.ebuild,v 1.1 2014/01/21 07:08:59 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A TrueType font parser written in pure ruby."
|
||||
HOMEPAGE="https://github.com/prawnpdf/ttfunk/"
|
||||
SRC_URI="https://github.com/prawnpdf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 Ruby )"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/I s:^:#:' spec/spec_helper.rb || die
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hg-git/hg-git-0.5.0-r1.ebuild,v 1.1 2014/01/21 16:09:57 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="push to and pull from a Git repository using Mercurial"
|
||||
HOMEPAGE="http://hg-git.github.io https://pypi.python.org/pypi/hg-git"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-vcs/mercurial-1.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/dulwich-0.9.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
@ -1 +1,2 @@
|
||||
DIST gnushogi-1.3.tar.gz 558642 RMD160 8cb34238cb175855e4bc2b29c2ae492a141576f9 SHA1 c61fcca036eed4dfa6651330a7a51c20d25dd6c3 SHA256 57148a89e4ab2702b2434c10f6e261bc26ea0954754c3d0b3e3eac67b589e5c2
|
||||
DIST gnushogi-1.3.tar.gz 558642 SHA256 57148a89e4ab2702b2434c10f6e261bc26ea0954754c3d0b3e3eac67b589e5c2
|
||||
DIST gnushogi-1.4.1.tar.gz 542301 SHA256 1af89a6a0e80632f860a95899c363f7b7c9b8a6a1342a0676a96a606d668a0ea SHA512 b997f309bfba85553465ceb262094aa0a9a53dc7ad970f77c0eb0c1558ba12f9dd15b42a6abfc85f5ac08bbfecc7816a6e3e4fb0efe2caabb043fb343b1ebecd WHIRLPOOL aee8e4eaa9fb755483f25ce8098310f20b3c8cbda37b496883b929d937c0fa6df60720a231f865adb3242d7bd29532714d7d16e7044256ae3094bf4b4829cbec
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-board/gnushogi/gnushogi-1.4.1.ebuild,v 1.1 2014/01/22 03:20:10 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils games
|
||||
|
||||
DESCRIPTION="Japanese version of chess (commandline + X-Version)"
|
||||
HOMEPAGE="http://www.gnu.org/directory/games/gnushogi.html"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
X? ( x11-libs/libXaw )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/bison-1.34
|
||||
>=sys-devel/flex-2.5"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/^bbk:/s/$/ gnushogi_compile pat2inc sizetest/' \
|
||||
Makefile.in || die
|
||||
sed -i \
|
||||
-e "/^LIBDIR/s:=.*:=\"$(games_get_libdir)\":" \
|
||||
gnushogi/Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
egamesconf \
|
||||
$(use_with X x) \
|
||||
$(use_enable X xshogi)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin gnushogi/gnushogi
|
||||
doman doc/gnushogi.6
|
||||
doinfo doc/gnushogi.info
|
||||
if use X ; then
|
||||
dogamesbin xshogi/xshogi
|
||||
doman doc/xshogi.6
|
||||
make_desktop_entry xshogi XShogi
|
||||
fi
|
||||
dogameslib gnushogi/gnushogi.bbk
|
||||
dodoc README NEWS CONTRIB
|
||||
dohtml doc/gnushogi/*.html
|
||||
prepgamesdirs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST PokerTH-1.0.1-src.tar.bz2 19201790 SHA256 29c359028a27fad0d30e11a9295e610593d23e34bffdb71de488f63f459e3d5d SHA512 b91fe3780eab3a7bd9ffe6f3629f514f87d9962978f42822850a826278febe2e06fbf3397df9d66d4d3d3d3f9d5688715308f4aae4bda5084b9d0b10a4af75d8 WHIRLPOOL cc7dba615a00c5a305abde3cae620ceff8557eb22040c436703bcbf0d3f54b95073573267f5a9326f1fd6fd872db9177d9371832646ce09658db12636e767f5b
|
||||
DIST PokerTH-1.1.1-src.tar.bz2 19326922 SHA256 afe6d3887d2fdf92fd6d89ee2951d3b14a0d43b70dba858d32d41214a5357388 SHA512 bd822d15747d94b67657ea2fd0b9c8c1bdad0031a6eae30380217387a702e5f648d6f612b1bff0355c3c301ecaf47ca9d635a526e575f1bc1c5f88e38a7f73c1 WHIRLPOOL 64fe03bbd2a4511c4d8c276cb0ee4a8f5913fe959a389578436098bd0546813d2bc47cb3ae1bcac4124a7bb843894bfce91c5e526cc66eb6912f60f98312f841
|
||||
|
@ -0,0 +1,20 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Thu Aug 16 22:25:12 UTC 2012
|
||||
Subject: build system
|
||||
|
||||
fix compilation for linkers that don't permit underlinking
|
||||
reorder linker line to fix issues with as-needed
|
||||
|
||||
--- pokerth_server.pro
|
||||
+++ pokerth_server.pro
|
||||
@@ -114,8 +114,8 @@
|
||||
LIBS += -lpokerth_lib \
|
||||
-lpokerth_db \
|
||||
-lpokerth_protocol \
|
||||
- -lcurl \
|
||||
- -lircclient
|
||||
+ -lircclient \
|
||||
+ $$system(pkg-config --libs --static libcurl)
|
||||
|
||||
win32 {
|
||||
DEFINES += CURL_STATICLIB
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-1.1.1.ebuild,v 1.1 2014/01/22 06:35:45 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit flag-o-matic eutils qt4-r2 games
|
||||
|
||||
MY_P="PokerTH-${PV}-src"
|
||||
DESCRIPTION="Texas Hold'em poker game"
|
||||
HOMEPAGE="http://www.pokerth.net/"
|
||||
SRC_URI="mirror://sourceforge/pokerth/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="AGPL-3 GPL-1 GPL-2 GPL-3 BitstreamVera public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="dedicated"
|
||||
|
||||
RDEPEND="dev-db/sqlite:3
|
||||
dev-libs/boost[threads(+)]
|
||||
dev-libs/protobuf
|
||||
dev-libs/libgcrypt
|
||||
dev-libs/tinyxml[stl]
|
||||
amd64? ( net-libs/libircclient )
|
||||
ppc? ( >=net-libs/libircclient-1.6-r2 )
|
||||
x86? ( net-libs/libircclient )
|
||||
>=net-misc/curl-7.16
|
||||
dev-qt/qtcore:4
|
||||
virtual/gsasl
|
||||
!dedicated? (
|
||||
media-libs/libsdl:0
|
||||
media-libs/sdl-mixer[mod,vorbis]
|
||||
dev-qt/qtgui:4
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
!dedicated? ( dev-qt/qtsql:4 )
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
if use dedicated ; then
|
||||
sed -i \
|
||||
-e 's/pokerth_game.pro//' \
|
||||
pokerth.pro || die
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e '/no_dead_strip_inits_and_terms/d' \
|
||||
*pro || die
|
||||
|
||||
#epatch "${FILESDIR}"/${P}-underlinking.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin bin/pokerth_server
|
||||
if ! use dedicated ; then
|
||||
dogamesbin ${PN}
|
||||
insinto "${GAMES_DATADIR}/${PN}"
|
||||
doins -r data
|
||||
domenu ${PN}.desktop
|
||||
doicon ${PN}.png
|
||||
fi
|
||||
doman docs/pokerth.1
|
||||
dodoc ChangeLog TODO docs/{gui_styling,server_setup}_howto.txt
|
||||
prepgamesdirs
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
commit 47f54d65518cfcda5e4f9afc9c3ff941209b4920
|
||||
Author: Valentin Rusu <kde@rusu.info>
|
||||
Date: Sun Dec 22 20:58:02 2013 +0100
|
||||
|
||||
Fix compile when QGpgme is not present
|
||||
|
||||
BUG: 328476
|
||||
FIXED-IN: 4.12.1
|
||||
|
||||
diff --git a/kwalletd/kwalletd.cpp b/kwalletd/kwalletd.cpp
|
||||
index b522156..0266bdf 100644
|
||||
--- a/kwalletd/kwalletd.cpp
|
||||
+++ b/kwalletd/kwalletd.cpp
|
||||
@@ -833,11 +833,13 @@ void KWalletD::doTransactionChangePassword(const QString& appid, const QString&
|
||||
|
||||
assert(w);
|
||||
|
||||
+#ifdef HAVE_QGPGME
|
||||
if (w->cipherType() == KWallet::BACKEND_CIPHER_GPG) {
|
||||
QString keyID = w->gpgKey().shortKeyID();
|
||||
assert(!keyID.isNull());
|
||||
KMessageBox::errorWId((WId)wId, i18n("<qt>The <b>%1</b> wallet is encrypted using GPG key <b>%2</b>. Please use <b>GPG</b> tools (such as <b>kleopatra</b>) to change the passphrase associated to that key.</qt>", Qt::escape(wallet), keyID));
|
||||
} else {
|
||||
+#endif
|
||||
QPointer<KNewPasswordDialog> kpd = new KNewPasswordDialog();
|
||||
kpd->setPrompt(i18n("<qt>Please choose a new password for the wallet '<b>%1</b>'.</qt>", Qt::escape(wallet)));
|
||||
kpd->setCaption(i18n("KDE Wallet Service"));
|
||||
@@ -862,7 +864,9 @@ void KWalletD::doTransactionChangePassword(const QString& appid, const QString&
|
||||
}
|
||||
|
||||
delete kpd;
|
||||
+#ifdef HAVE_QGPGME
|
||||
}
|
||||
+#endif
|
||||
|
||||
if (reclose) {
|
||||
internalClose(w, handle, true);
|
||||
diff --git a/kwalletd/kwalletwizard.cpp b/kwalletd/kwalletwizard.cpp
|
||||
index e97057c..49ffed1 100644
|
||||
--- a/kwalletd/kwalletwizard.cpp
|
||||
+++ b/kwalletd/kwalletwizard.cpp
|
||||
@@ -120,7 +120,11 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
+#ifdef HAVE_QGPGME
|
||||
Ui::KWalletWizardPagePasswordGpg ui;
|
||||
+#else
|
||||
+ Ui::KWalletWizardPagePassword ui;
|
||||
+#endif
|
||||
};
|
||||
|
||||
#ifdef HAVE_QGPGME
|
@ -0,0 +1,57 @@
|
||||
From 3ecfd295947fce6c2009ca23e626887bafece1ea Mon Sep 17 00:00:00 2001
|
||||
From: Valentin Rusu <kde@rusu.info>
|
||||
Date: Mon, 20 Jan 2014 22:37:41 +0100
|
||||
Subject: [PATCH 1/2] Fix compilation withoug gpgme
|
||||
|
||||
BUG: 328476
|
||||
FIXED-IN: 4.12.2
|
||||
FIXED-IN: 4.13
|
||||
---
|
||||
kwalletd/kwalletwizard.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/kwalletd/kwalletwizard.h b/kwalletd/kwalletwizard.h
|
||||
index b29bddc..95b422b 100644
|
||||
--- a/kwalletd/kwalletwizard.h
|
||||
+++ b/kwalletd/kwalletwizard.h
|
||||
@@ -20,7 +20,9 @@
|
||||
#define KWALLETWIZARD_H
|
||||
|
||||
#include <QWizard>
|
||||
+#ifdef HAVE_QGPGME
|
||||
#include <gpgme++/key.h>
|
||||
+#endif
|
||||
|
||||
class PageGpgKey;
|
||||
class PagePassword;
|
||||
--
|
||||
1.8.3.2
|
||||
|
||||
|
||||
From 6a79fc09c0b0d48bd0cc09d32fb0c8b306251c00 Mon Sep 17 00:00:00 2001
|
||||
From: Valentin Rusu <kde@rusu.info>
|
||||
Date: Mon, 20 Jan 2014 23:48:48 +0100
|
||||
Subject: [PATCH 2/2] Fix compilation without gpgme++
|
||||
|
||||
BUG: 328476
|
||||
---
|
||||
kwalletd/kwalletd.cpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/kwalletd/kwalletd.cpp b/kwalletd/kwalletd.cpp
|
||||
index 0266bdf..20bc8c0 100644
|
||||
--- a/kwalletd/kwalletd.cpp
|
||||
+++ b/kwalletd/kwalletd.cpp
|
||||
@@ -49,7 +49,9 @@
|
||||
#include <kpluginfactory.h>
|
||||
#include <kpluginloader.h>
|
||||
#include <KNotification>
|
||||
+#ifdef HAVE_QGPGME
|
||||
#include <gpgme++/key.h>
|
||||
+#endif
|
||||
|
||||
#include <QtCore/QDir>
|
||||
#include <QTextDocument> // Qt::escape
|
||||
--
|
||||
1.8.3.2
|
||||
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-1.4.ebuild,v 1.1 2014/01/21 20:35:00 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils toolchain-funcs gnome2-utils fdo-mime pax-utils eutils
|
||||
|
||||
DESCRIPTION="A virtual lighttable and darkroom for photographers"
|
||||
HOMEPAGE="http://www.darktable.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
|
||||
doc? ( mirror://sourceforge/${PN}/${PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${PV}.pdf )"
|
||||
|
||||
LICENSE="GPL-3 CC-BY-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LANGS=" cs da de el es fr it ja nl pl pt_BR pt_PT ru sq sv uk"
|
||||
# TODO add lua once dev-lang/lua-5.2 is unmasked
|
||||
IUSE="colord doc flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde
|
||||
nls opencl openmp pax_kernel +rawspeed +slideshow +squish web-services webp
|
||||
${LANGS// / linguas_}"
|
||||
|
||||
CDEPEND="
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/libxml2:2
|
||||
gnome-base/librsvg:2
|
||||
media-gfx/exiv2:0=[xmp]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/lensfun-0.2.3
|
||||
media-libs/libpng:0=
|
||||
media-libs/openexr:0=
|
||||
media-libs/tiff:0
|
||||
net-misc/curl
|
||||
virtual/jpeg
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango
|
||||
colord? ( x11-misc/colord:0= )
|
||||
flickr? ( media-libs/flickcurl )
|
||||
geo? ( net-libs/libsoup:2.4 )
|
||||
gnome-keyring? ( gnome-base/gnome-keyring )
|
||||
gphoto2? ( media-libs/libgphoto2:= )
|
||||
graphicsmagick? ( media-gfx/graphicsmagick )
|
||||
jpeg2k? ( media-libs/openjpeg:0 )
|
||||
opencl? ( virtual/opencl )
|
||||
slideshow? (
|
||||
media-libs/libsdl
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
web-services? ( dev-libs/json-glib )
|
||||
webp? ( media-libs/libwebp:0= )"
|
||||
RDEPEND="${CDEPEND}
|
||||
kde? ( kde-base/kwalletd )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_pretend() {
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s:\(/share/doc/\)darktable:\1${PF}:" \
|
||||
-e "s:LICENSE::" \
|
||||
-i doc/CMakeLists.txt || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_use colord COLORD)
|
||||
$(cmake-utils_use_use flickr FLICKR)
|
||||
$(cmake-utils_use_use geo GEO)
|
||||
$(cmake-utils_use_use gnome-keyring GNOME_KEYRING)
|
||||
$(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
|
||||
$(cmake-utils_use_use graphicsmagick GRAPHICSMAGICK)
|
||||
$(cmake-utils_use_use jpeg2k OPENJPEG)
|
||||
$(cmake-utils_use_use nls NLS)
|
||||
$(cmake-utils_use_use opencl OPENCL)
|
||||
$(cmake-utils_use_use openmp OPENMP)
|
||||
$(cmake-utils_use !rawspeed DONT_USE_RAWSPEED)
|
||||
$(cmake-utils_use_use squish SQUISH)
|
||||
$(cmake-utils_use_build slideshow SLIDESHOW)
|
||||
$(cmake-utils_use_use web-services GLIBJSON)
|
||||
$(cmake-utils_use_use webp WEBP)
|
||||
-DUSE_LUA=OFF
|
||||
-DCUSTOM_CFLAGS=ON
|
||||
-DINSTALL_IOP_EXPERIMENTAL=ON
|
||||
-DINSTALL_IOP_LEGACY=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${PV}.pdf
|
||||
|
||||
for lang in ${LANGS} ; do
|
||||
use linguas_${lang} || rm -r "${ED}"/usr/share/locale/${lang}
|
||||
done
|
||||
|
||||
if use pax_kernel && use opencl ; then
|
||||
pax-mark Cm "${ED}"/usr/bin/${PN} || die
|
||||
eqawarn "USE=pax_kernel is set meaning that ${PN} will be run"
|
||||
eqawarn "under a PaX enabled kernel. To do so, the ${PN} binary"
|
||||
eqawarn "must be modified and this *may* lead to breakage! If"
|
||||
eqawarn "you suspect that ${PN} is broken by this modification,"
|
||||
eqawarn "please open a bug."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
DIST dcraw-9.10.tar.gz 163860 SHA256 4ff3c0bb59593a29d5846e5e6f2fd979588382255fe38d11537c9e63143759ca SHA512 959210b08c45e91a2d5b89bcae9dfeaccfc9f22d8ed73efa1786546898c2ce1b81ef87917b2427bc16ac9fa8583657a7c1c1da22b36421fbb3170a1b74ec2f2a WHIRLPOOL 4709f87f191f92259b87adb23b70604c2956aeeb7d855e090e2623460e145d817190144146fe52339cbe9f5bd6e88d4556f261d81eaafc17c605bc98879eec31
|
||||
DIST dcraw-9.17.tar.gz 167138 SHA256 db73bf9f8e4574fcdc6cd8ed4e781a1d0f87d909bb0fe26fce8c87a467ee7a51 SHA512 a4b58e8c75e6c44180af056fe85b1602549a1722be4430b2fee8423d33b3ce48566bb770cbec3c14e2502ca600318c9a55781083a16339f9d1a7c5159f37202e WHIRLPOOL fd130a6048e64971948009cd3c553486f5dac0e6a7c2a8e96224f138887da5cc435f416e0a6adccc4887bd71dc3ef74a5fd600a165b650e491507336d169adbd
|
||||
DIST dcraw-9.19.tar.gz 170000 SHA256 bb01e58e02aec64ecb05806a12a7bb8f1f84962668b4247853fba4ebb6925874 SHA512 16597d92e53b16d0efa3da77a8a269dea5308028c1a4a7ef61f2c6e069ccab8aea7bfb95126c1fef63382df9d9e8e52a48f6d67b8aa826de947712c053c9961d WHIRLPOOL 99b0709ab1a35003cd157fd68c63285edfcfe27673043049120bdff93ed6a7809d6c1ae3d2cdfe9a9e1882495a088dd9c472d1d97400bc0358db412354511512
|
||||
DIST dcraw-9.20.tar.gz 171177 SHA256 bdfa98f75dfc996c4c63e75a03fe0579e15a918c39f99c19df461aaf8b160d90 SHA512 73ed22f7839a53c9747384a7aa95c6c6931a84cc21b5927f2e6b98ee1241baac85c9028271f3bf9b18e1f591d7d61539aaff3ea92d757d8d46de631f070ec019 WHIRLPOOL 3f9a4551515fba322ccd2aad8021cdb5bf1edbb1d2006660b362b165a362282524e6e575909df41f94e76cbd5e52fc04d2e69670f85435151e15275015f53249
|
||||
DIST parse-1.73.tar.bz2 8186 SHA256 51f75837b7fa7f6389f43c875ad8320c41a44c4213922dc767e16dc424462c3c SHA512 06ffaf72695dc86bfc2bdd10d4f732bc428b72d427f4c10e93fc58536513477cf297adb56fb9cfc5ba5fd5b6b4cd197c33d8dac957a0a1bbe65b23393b64278c WHIRLPOOL 1abc642a60f3f5b54efa29722ff7674457b88811ef25e557b7823ff05f6ee55989e35c0b9dad04d74c769bcca1cb45f580985de92bb4e40cd63b6d0a35b3a0e2
|
||||
DIST rawphoto-1.32.tar.bz2 3841 SHA256 3348a83a44fa941924a4e743f88d993b71d28ba995f80e6765d6c19b6eeaea4c SHA512 6ee5b6c4e4266c8e04221c894c4e737f8a6d2c6f0cc9c82db73064afd68488bd60de19b86b2d7b82780283bbb9f8156ef3149c1c730f09a00dce632744b44d56 WHIRLPOOL af840eae74d74f83b7874a769e30ff0e613a5f1dba4d20fa315f6d9685fabffbe804ad878174f3ee274a6083105f1baa317f52b346afb493c34cea0e5c09c566
|
||||
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/dcraw-9.20.ebuild,v 1.1 2014/01/21 21:42:15 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils readme.gentoo toolchain-funcs
|
||||
|
||||
DESCRIPTION="Converts the native (RAW) format of various digital cameras into netpbm portable pixmap (.ppm) image"
|
||||
HOMEPAGE="http://www.cybercom.net/~dcoffin/dcraw/"
|
||||
SRC_URI="http://www.cybercom.net/~dcoffin/dcraw/archive/${P}.tar.gz
|
||||
mirror://gentoo/parse-1.73.tar.bz2
|
||||
gimp? ( mirror://gentoo/rawphoto-1.32.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
LANGS=" ca cs de da eo es fr hu it nl pl pt ru sv zh_CN zh_TW"
|
||||
IUSE="nls gimp jpeg jpeg2k lcms ${LANGS// / linguas_}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
jpeg? ( virtual/jpeg )
|
||||
lcms? ( media-libs/lcms:0 )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
gimp? ( media-gfx/gimp )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
gimp? ( virtual/pkgconfig )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-libs/netpbm
|
||||
"
|
||||
|
||||
S=${WORKDIR}/dcraw
|
||||
|
||||
DOC_CONTENTS="
|
||||
See conversion-examples.txt.gz on how to convert
|
||||
the PPM files produced by dcraw to other image formats.\n
|
||||
|
||||
\nThe functionality of the external program 'fujiturn' was
|
||||
incorporated into dcraw and is automatically used now.\n
|
||||
|
||||
\nThere's an example wrapper script included called 'dcwrap'.
|
||||
This package also includes 'dcparse', which extracts
|
||||
thumbnail images (preferably JPEGs) from any raw digital
|
||||
camera formats that have them, and shows table contents.
|
||||
"
|
||||
|
||||
run_build() {
|
||||
einfo "${@}"
|
||||
${@} || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rename dcraw_ dcraw. dcraw_*.1 || die "Failed to rename"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local ECFLAGS="-O2" # Without optimisation build fails
|
||||
local ELIBS="-lm"
|
||||
|
||||
use lcms && ELIBS="-llcms ${ELIBS}" || ECFLAGS+=" -DNO_LCMS=yes"
|
||||
use jpeg && ELIBS="-ljpeg ${ELIBS}" || ECFLAGS+=" -DNO_JPEG=yes"
|
||||
use jpeg2k && ELIBS="-ljasper ${ELIBS}" || ECFLAGS+=" -DNO_JASPER=yes"
|
||||
use nls && ECFLAGS+=" -DLOCALEDIR=\"/usr/share/locale/\""
|
||||
|
||||
run_build $(tc-getCC) ${ECFLAGS} ${CFLAGS} ${LDFLAGS} -o dcraw dcraw.c ${ELIBS}
|
||||
|
||||
run_build $(tc-getCC) -O2 ${CFLAGS} ${LDFLAGS} -o dcparse parse.c
|
||||
|
||||
# rawphoto gimp plugin
|
||||
if use gimp; then
|
||||
run_build $(tc-getCC) ${CFLAGS} ${LDFLAGS} \
|
||||
$(pkg-config --cflags gimpui-2.0) rawphoto.c -o rawphoto \
|
||||
$(pkg-config --libs gimpui-2.0)
|
||||
fi
|
||||
|
||||
if use nls; then
|
||||
for lang in ${LANGS}; do
|
||||
use linguas_${lang} && run_build msgfmt -c -o dcraw_${lang}.mo dcraw_${lang}.po
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin dcraw dcparse
|
||||
dodoc "${FILESDIR}"/{conversion-examples.txt,dcwrap}
|
||||
|
||||
# rawphoto gimp plugin
|
||||
if use gimp; then
|
||||
insinto "$(pkg-config --variable=gimplibdir gimp-2.0)/plug-ins"
|
||||
insopts -m0755
|
||||
doins rawphoto
|
||||
fi
|
||||
|
||||
doman dcraw.1
|
||||
|
||||
if use nls; then
|
||||
for lang in ${LANGS}; do
|
||||
if use linguas_${lang}; then
|
||||
[[ -f dcraw.${lang}.1 ]] && doman dcraw.${lang}.1
|
||||
insinto /usr/share/locale/${lang}/LC_MESSAGES
|
||||
newins dcraw_${lang}.mo dcraw.mo || die "failed to install dcraw_${lang}.mo"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libass-0.10.1.tar.xz 257792 SHA256 fbf287ac6d0dbdf015783b7354280ad8371c106326ad3f77a99471bc5aa18210 SHA512 3990886b9e708bf29f48921f65f99cee85031e299065860bce4f3e626970f82e60130b7525c1aaaf40e02c7b49d7003378724dbcf72db5894ab79768776694cf WHIRLPOOL 7278b893a047f8d0709e0b644495e2f42e4a10aea3174a91eea055501d66ad70f3bc7e924c49aaa9f8de3ddadc564aefbb6f35a0158ed714bf1486e275e1706b
|
||||
DIST libass-0.10.2.tar.xz 278244 SHA256 f02afcc6410b800f0007dc7c282e897dab64f817c23b37d171fd6ff7fc4ca1d8 SHA512 50e77a488bc47d03a8cfca49cd7d26b702f88f649640cc63b40eb288c0f2771a6db5656e77fb8ab072a2a0b10dadf4a21e375ed831605c6de37466003f36bfd7 WHIRLPOOL d0884a663a86c33696f0909b1be09fad213ed972ec908d5dfc25fa13ed85fa48a6d4fabfe99efbf03939d5af7d0323969e06ee185c762914594e3b4ee78f0b03
|
||||
DIST libass-0.9.13.tar.xz 250536 SHA256 eef55595355cd4dd14b88b61d4e34c7bcfb6060a6b28f5a9ebc7dd5a72b69cc8 SHA512 82c1a280b5cff9dd09f015562db420295a465ce7e80ad51b2f879e347c3a675ea05ac2beaa106c178aa57a390a19eb1ffb90771689e76e2b0619e75673631e0d WHIRLPOOL b1769d3a5b9a14d43447ddaa8c459b5fda4c857abdee270d022cced3d5db93a25059ef4291c0fe27cf235c20507f6c77fdc9c3037d032bad57e1971eaa8436c9
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libass/libass-0.10.2.ebuild,v 1.1 2014/01/22 06:29:37 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Library for SSA/ASS subtitles rendering"
|
||||
HOMEPAGE="http://code.google.com/p/libass/"
|
||||
SRC_URI="http://libass.googlecode.com/files/${P}.tar.xz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/5" # subslot = libass soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="+enca +fontconfig +harfbuzz static-libs"
|
||||
|
||||
RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.4.2 )
|
||||
>=media-libs/freetype-2.4:2
|
||||
virtual/libiconv
|
||||
>=dev-libs/fribidi-0.19.0
|
||||
harfbuzz? ( >=media-libs/harfbuzz-0.9.11[truetype] )
|
||||
enca? ( app-i18n/enca )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="Changelog"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable enca) \
|
||||
$(use_enable fontconfig) \
|
||||
$(use_enable harfbuzz) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST gst-libav-1.0.3.tar.xz 4235032 SHA256 5193f158e2554a9450325dbb0c60e8f4b6b8a9244ae10ea07d0f7418a0e07959 SHA512 b59b2abe3e841712948b2f3b3b78ce49573e0623880a4f11089a636c89268d3f79863c1a0975cd7e5bf4bf40a86f0d2370cf03511e2751d2cd39887733524be8 WHIRLPOOL 8b98829ccb9f160c8209f22fd44c5776d156a6d7e9b3d5526149521ed4b02a319ef7cd4d9df550133714433d93eb2dba211dfe83e1c03776885844ae71c1e518
|
||||
DIST gst-libav-1.0.5.tar.xz 4234992 SHA256 aef8be665096b3a4e64424fb39d7c5da57faaaf95e9fea6c1bb44295d4fb32d5 SHA512 36d5147ddf41caac34db4c5095499e84f8f832cd87c8b6fdf99055d2703e899c945494d0478cbc77b37a6dd62f71d614f033bde566b1658831f5fc286cee4ba3 WHIRLPOOL c5163259734d89f0fc1b15bebbe87cf49fd4611ba831a7f0d98086cc9afe17bdb0fb14e718e6852dd94f72c0a0e8d1290bf047d903e3f0bc7350d55c6190f6f0
|
||||
DIST gst-libav-1.1.0_pre20130128.tar.xz 477668 SHA256 c746d093b5ad4a6d325361217c49b35817ab0a257504d54b92ef0302820f66b4 SHA512 525d393b1fe665652798bd50859f6e5317b164c3edf7e20f4bc66a2d2c09e6345c2aacf80f8592306da0945325e7a22b0238bb868393df304fbdb4c8956cf338 WHIRLPOOL bb10a0d741997212556e88f2cec32bc93375e5a8c89b3b6ef3bc598a2c9ab8f8985b42b0585d5c2ff3ca08433276f094dca7194e1b660f8199fd276d2e531a8c
|
||||
DIST gst-libav-1.2.0.tar.xz 4575972 SHA256 48721eb318ffffdd134edea754d0b65d76b08c8209a8d2c8a42bca1f799f9099 SHA512 2d53de52fb6f846752b0e0c90f8ca167397ade5a413755ecbad9876a25046b56850a8d8c1b2783819da0988475bdf91a3ce8709f6f8db2b3e197bc2fb0e37d7a WHIRLPOOL fcf29f4d55b7d0955750f6aef2541bf5fc94cd4b36ba44dad25035b77d642e7846ab9534ba744ad1ec79f2c67923e988b91ee2c0368b545d164f996c1e485efd
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.0.3.ebuild,v 1.4 2013/02/03 23:22:12 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic gst-plugins10
|
||||
|
||||
MY_PN="gst-libav"
|
||||
DESCRIPTION="FFmpeg based gstreamer plugin"
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html"
|
||||
SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.${GST_TARBALL_SUFFIX}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="+orc"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/gst-plugins-base:1.0
|
||||
~virtual/ffmpeg-0.10.3
|
||||
orc? ( >=dev-lang/orc-0.4.16 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/sleep 15//' -i configure.ac configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
GST_PLUGINS_BUILD=""
|
||||
# always use system ffmpeg/libav if possible
|
||||
gst-plugins10_src_configure \
|
||||
--with-system-libav \
|
||||
$(use_enable orc)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version "media-video/ffmpeg"; then
|
||||
elog "Please note that upstream uses media-video/libav"
|
||||
elog "rather than media-video/ffmpeg. If you encounter any"
|
||||
elog "issues try to move from ffmpeg to libav."
|
||||
fi
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.0.5.ebuild,v 1.11 2013/02/23 14:52:47 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
MY_PN="gst-libav"
|
||||
DESCRIPTION="FFmpeg based gstreamer plugin"
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html"
|
||||
SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="+orc"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
~virtual/ffmpeg-0.10.3
|
||||
orc? ( >=dev-lang/orc-0.4.16 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/sleep 15//' -i configure.ac configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
GST_PLUGINS_BUILD=""
|
||||
# always use system ffmpeg/libav if possible
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
--with-package-name="Gentoo GStreamer ebuild" \
|
||||
--with-package-origin="http://www.gentoo.org" \
|
||||
--with-system-libav \
|
||||
$(use_enable orc)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version "media-video/ffmpeg"; then
|
||||
elog "Please note that upstream uses media-video/libav"
|
||||
elog "rather than media-video/ffmpeg. If you encounter any"
|
||||
elog "issues try to move from ffmpeg to libav."
|
||||
fi
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libav/gst-plugins-libav-1.1.0_pre20130128.ebuild,v 1.12 2013/07/28 17:36:29 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
MY_PN="gst-libav"
|
||||
DESCRIPTION="FFmpeg based gstreamer plugin"
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-libav.html"
|
||||
#SRC_URI="http://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz"
|
||||
SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_PN}-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="+orc"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
>=virtual/ffmpeg-0.10
|
||||
orc? ( >=dev-lang/orc-0.4.16 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/sleep 15//' -i configure.ac configure || die
|
||||
|
||||
# allow building with gstreamer-1.0.x
|
||||
sed -e 's/REQ=1.1.0/REQ=1.0.0/' -i configure.ac configure || die
|
||||
# Disable GBR color support; it requires >=gst-plugins-base-1.1
|
||||
epatch -R "${FILESDIR}/${P}-gbr-color.patch"
|
||||
# Let it be compatible with older ffmpeg/libav releases, add the compat glue
|
||||
epatch "${FILESDIR}/${P}-compat.patch"
|
||||
# Some muxers contains coma too.
|
||||
epatch "${FILESDIR}/${P}-coma.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
GST_PLUGINS_BUILD=""
|
||||
# always use system ffmpeg/libav if possible
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
--with-package-name="Gentoo GStreamer ebuild" \
|
||||
--with-package-origin="http://www.gentoo.org" \
|
||||
--with-system-libav \
|
||||
$(use_enable orc)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Don't build with -Werror
|
||||
emake ERROR_CFLAGS=
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version "media-video/ffmpeg"; then
|
||||
elog "Please note that upstream uses media-video/libav"
|
||||
elog "rather than media-video/ffmpeg. If you encounter any"
|
||||
elog "issues try to move from ffmpeg to libav."
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue