parent
39019df1ee
commit
9f5ccdd075
@ -0,0 +1,364 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/collectd-5.2.2.ebuild,v 1.1 2013/05/12 10:34:14 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools base eutils linux-info multilib perl-app systemd user
|
||||
|
||||
DESCRIPTION="A a daemon which collects system statistic and provides mechanisms to store the values"
|
||||
|
||||
HOMEPAGE="http://collectd.org"
|
||||
SRC_URI="${HOMEPAGE}/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib debug kernel_linux kernel_FreeBSD kernel_Darwin perl static-libs"
|
||||
|
||||
# The plugin lists have to follow here since they extend IUSE
|
||||
|
||||
# Plugins that to my knowledge cannot be supported (eg. dependencies not in gentoo)
|
||||
COLLECTD_IMPOSSIBLE_PLUGINS="netapp pinba xmms"
|
||||
|
||||
# Plugins that still need some work
|
||||
COLLECTD_UNTESTED_PLUGINS="amqp apple_sensors genericjmx ipvs lpar modbus redis
|
||||
tape v5upgrade write_redis zfs_arc"
|
||||
|
||||
# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
|
||||
COLLECTD_TESTED_PLUGINS="aggregation apache apcups ascent battery bind conntrack
|
||||
contextswitch cpu cpufreq csv curl curl_json curl_xml dbi df disk dns email
|
||||
entropy ethstat exec filecount fscache gmond hddtemp interface ipmi iptables
|
||||
irq java libvirt load logfile madwifi match_empty_counter match_hashed
|
||||
match_regex match_timediff match_value mbmon md memcachec memcached memory
|
||||
multimeter mysql netlink network network nfs nginx notify_desktop notify_email
|
||||
ntpd numa nut olsrd onewire openvpn oracle perl perl ping postgresql powerdns
|
||||
processes protocols python python routeros rrdcached rrdcached rrdtool sensors
|
||||
serial snmp swap syslog table tail target_notification target_replace
|
||||
target_scale target_set tcpconns teamspeak2 ted thermal threshold tokyotyrant
|
||||
unixsock uptime users uuid varnish vmem vserver wireless write_graphite
|
||||
write_http write_mongodb"
|
||||
|
||||
COLLECTD_DISABLED_PLUGINS="${COLLECTD_IMPOSSIBLE_PLUGINS} ${COLLECTD_UNTESTED_PLUGINS}"
|
||||
|
||||
COLLECTD_ALL_PLUGINS=${COLLECTD_TESTED_PLUGINS}
|
||||
|
||||
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||
IUSE="${IUSE} collectd_plugins_${plugin}"
|
||||
done
|
||||
unset plugin
|
||||
|
||||
# Now come the dependencies.
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/libgcrypt
|
||||
sys-devel/libtool
|
||||
perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||
collectd_plugins_apache? ( net-misc/curl )
|
||||
collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_bind? ( dev-libs/libxml2 )
|
||||
collectd_plugins_curl? ( net-misc/curl )
|
||||
collectd_plugins_curl_json? ( net-misc/curl dev-libs/yajl )
|
||||
collectd_plugins_curl_xml? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_dbi? ( dev-db/libdbi )
|
||||
collectd_plugins_dns? ( net-libs/libpcap )
|
||||
collectd_plugins_gmond? ( sys-cluster/ganglia )
|
||||
collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.16-r1 )
|
||||
collectd_plugins_iptables? ( >=net-firewall/iptables-1.4.13 )
|
||||
collectd_plugins_java? ( virtual/jre dev-java/java-config-wrapper )
|
||||
collectd_plugins_libvirt? ( app-emulation/libvirt dev-libs/libxml2 )
|
||||
collectd_plugins_memcachec? ( dev-libs/libmemcached )
|
||||
collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
|
||||
collectd_plugins_netlink? ( >=sys-apps/iproute2-3.3.0 )
|
||||
collectd_plugins_nginx? ( net-misc/curl )
|
||||
collectd_plugins_notify_desktop? ( x11-libs/libnotify )
|
||||
collectd_plugins_notify_email? ( >=net-libs/libesmtp-1.0.4 dev-libs/openssl )
|
||||
collectd_plugins_nut? ( sys-power/nut )
|
||||
collectd_plugins_onewire? ( sys-fs/owfs )
|
||||
collectd_plugins_oracle? ( >=dev-db/oracle-instantclient-basic-11.2.0.1.0 )
|
||||
collectd_plugins_perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||
collectd_plugins_ping? ( net-libs/liboping )
|
||||
collectd_plugins_postgresql? ( >=dev-db/postgresql-base-8.2 )
|
||||
collectd_plugins_python? ( =dev-lang/python-2* )
|
||||
collectd_plugins_routeros? ( net-libs/librouteros )
|
||||
collectd_plugins_rrdcached? ( >=net-analyzer/rrdtool-1.4 )
|
||||
collectd_plugins_rrdtool? ( >=net-analyzer/rrdtool-1.2.27 )
|
||||
collectd_plugins_sensors? ( sys-apps/lm_sensors )
|
||||
collectd_plugins_snmp? ( net-analyzer/net-snmp )
|
||||
collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant )
|
||||
collectd_plugins_varnish? ( www-servers/varnish )
|
||||
collectd_plugins_write_http? ( net-misc/curl )
|
||||
collectd_plugins_write_mongodb? ( dev-libs/mongo-c-driver )
|
||||
|
||||
kernel_FreeBSD? (
|
||||
collectd_plugins_disk? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_interface? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_load? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_memory? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_swap? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_users? ( >=sys-libs/libstatgrab-0.16 )
|
||||
)"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
kernel_linux? (
|
||||
collectd_plugins_vserver? ( sys-kernel/vserver-sources )
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
collectd_plugins_syslog? ( virtual/logger )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.10.2"-{libocci,nohal}.patch
|
||||
"${FILESDIR}/${PN}-4.10.3"-werror.patch
|
||||
"${FILESDIR}/${PN}-5.1.0"-libperl.patch
|
||||
"${FILESDIR}/${PN}-5.1.1"-lt.patch
|
||||
)
|
||||
|
||||
# @FUNCTION: collectd_plugin_kernel_linux
|
||||
# @DESCRIPTION:
|
||||
# USAGE: <plug-in name> <kernel_options> <severity>
|
||||
# kernel_options is a list of kernel configurations options; the check tests whether at least
|
||||
# one of them is enabled. If no, depending on the third argument an elog, ewarn, or eerror message
|
||||
# is emitted.
|
||||
collectd_plugin_kernel_linux() {
|
||||
local multi_opt opt
|
||||
if has ${1} ${COLLECTD_ALL_PLUGINS}; then
|
||||
if use collectd_plugins_${1}; then
|
||||
for opt in ${2}; do
|
||||
if linux_chkconfig_present ${opt}; then return 0; fi
|
||||
done
|
||||
multi_opt=${2//\ /\ or\ }
|
||||
case ${3} in
|
||||
(info)
|
||||
elog "The ${1} plug-in can use kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(warn)
|
||||
ewarn "The ${1} plug-in uses kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(error)
|
||||
eerror "The ${1} plug-in needs kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(*)
|
||||
die "function collectd_plugin_kernel_linux called with invalid third argument"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
collectd_linux_kernel_checks() {
|
||||
linux-info_pkg_setup
|
||||
|
||||
# battery.c:/proc/pmu/battery_%i
|
||||
# battery.c:/proc/acpi/battery
|
||||
collectd_plugin_kernel_linux battery ACPI_BATTERY warn
|
||||
|
||||
# cpufreq.c:/sys/devices/system/cpu/cpu%d/cpufreq/
|
||||
collectd_plugin_kernel_linux cpufreq SYSFS warn
|
||||
collectd_plugin_kernel_linux cpufreq CPU_FREQ_STAT warn
|
||||
|
||||
# nfs.c:/proc/net/rpc/nfs
|
||||
# nfs.c:/proc/net/rpc/nfsd
|
||||
collectd_plugin_kernel_linux nfs NFS_COMMON warn
|
||||
|
||||
# serial.c:/proc/tty/driver/serial
|
||||
# serial.c:/proc/tty/driver/ttyS
|
||||
collectd_plugin_kernel_linux serial SERIAL_CORE warn
|
||||
|
||||
# swap.c:/proc/meminfo
|
||||
collectd_plugin_kernel_linux swap SWAP warn
|
||||
|
||||
# thermal.c:/proc/acpi/thermal_zone
|
||||
# thermal.c:/sys/class/thermal
|
||||
collectd_plugin_kernel_linux thermal "PROC_FS SYSFS" warn
|
||||
collectd_plugin_kernel_linux thermal ACPI_THERMAL warn
|
||||
|
||||
# vmem.c:/proc/vmstat
|
||||
collectd_plugin_kernel_linux vmem VM_EVENT_COUNTERS warn
|
||||
|
||||
# uuid.c:/sys/hypervisor/uuid
|
||||
collectd_plugin_kernel_linux uuid SYSFS info
|
||||
|
||||
# wireless.c:/proc/net/wireless
|
||||
collectd_plugin_kernel_linux wireless "MAC80211 IEEE80211" warn
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
if linux_config_exists; then
|
||||
einfo "Checking your linux kernel configuration:"
|
||||
collectd_linux_kernel_checks
|
||||
else
|
||||
elog "Cannot find a linux kernel configuration. Continuing anyway."
|
||||
fi
|
||||
fi
|
||||
|
||||
enewgroup collectd
|
||||
enewuser collectd -1 -1 /var/lib/collectd collectd
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# There's some strange prefix handling in the default config file, resulting in
|
||||
# paths like "/usr/var/..."
|
||||
sed -i -e "s:@prefix@/var:/var:g" src/collectd.conf.in || die
|
||||
|
||||
sed -i -e "s:/etc/collectd/collectd.conf:/etc/collectd.conf:g" contrib/collectd.service || die
|
||||
|
||||
# fix installdirs for perl, bug 444360
|
||||
sed -i -e 's/INSTALL_BASE=$(DESTDIR)$(prefix) //' bindings/Makefile.am || die
|
||||
|
||||
rm -r libltdl || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Now come the lists of os-dependent plugins. Any plugin that is not listed anywhere here
|
||||
# should work independent of the operating system.
|
||||
|
||||
local linux_plugins="battery cpu cpufreq disk entropy ethstat interface iptables ipvs irq load
|
||||
memory md netlink nfs numa processes serial swap tcpconns thermal users vmem vserver
|
||||
wireless"
|
||||
|
||||
local libstatgrab_plugins="cpu disk interface load memory swap users"
|
||||
local bsd_plugins="cpu tcpconns ${libstatgrab_plugins}"
|
||||
|
||||
local darwin_plugins="apple_sensors battery cpu disk interface memory processes tcpconns"
|
||||
|
||||
local osdependent_plugins="${linux_plugins} ${bsd_plugins} ${darwin_plugins}"
|
||||
local myos_plugins=""
|
||||
if use kernel_linux; then
|
||||
einfo "Enabling Linux plugins."
|
||||
myos_plugins=${linux_plugins}
|
||||
elif use kernel_FreeBSD; then
|
||||
einfo "Enabling FreeBSD plugins."
|
||||
myos_plugins=${bsd_plugins}
|
||||
elif use kernel_Darwin; then
|
||||
einfo "Enabling Darwin plugins."
|
||||
myos_plugins=${darwin_plugins}
|
||||
fi
|
||||
|
||||
# Do we debug?
|
||||
local myconf="$(use_enable debug)"
|
||||
|
||||
local plugin
|
||||
|
||||
# Disable what needs to be disabled.
|
||||
for plugin in ${COLLECTD_DISABLED_PLUGINS}; do
|
||||
myconf+=" --disable-${plugin}"
|
||||
done
|
||||
|
||||
# Set enable/disable for each single plugin.
|
||||
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||
if has ${plugin} ${osdependent_plugins}; then
|
||||
# plugin is os-dependent ...
|
||||
if has ${plugin} ${myos_plugins}; then
|
||||
# ... and available in this os
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
else
|
||||
# ... and NOT available in this os
|
||||
if use collectd_plugins_${plugin}; then
|
||||
ewarn "You try to enable the ${plugin} plugin, but it is not available for this"
|
||||
ewarn "kernel. Disabling it automatically."
|
||||
fi
|
||||
myconf+=" --disable-${plugin}"
|
||||
fi
|
||||
elif [[ "${plugin}" = "collectd_plugins_perl" ]]; then
|
||||
if use collectd_plugins_perl && ! use perl; then
|
||||
ewarn "Perl plugin disabled as perl bindings disabled by -perl use flag"
|
||||
myconf+= --disable-perl
|
||||
else
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
fi
|
||||
else
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
fi
|
||||
done
|
||||
|
||||
# Need JAVA_HOME for java.
|
||||
if use collectd_plugins_java; then
|
||||
myconf+=" --with-java=$(java-config -g JAVA_HOME)"
|
||||
fi
|
||||
|
||||
# Need libiptc ONLY for iptables. If we try to use it otherwise bug 340109 happens.
|
||||
if ! use collectd_plugins_iptables; then
|
||||
myconf+=" --with-libiptc=no"
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
myconf+=" --with-perl-bindings=INSTALLDIRS=vendor"
|
||||
else
|
||||
myconf+=" --without-perl-bindings"
|
||||
fi
|
||||
|
||||
# Finally, run econf.
|
||||
KERNEL_DIR="${KERNEL_DIR}" econf --config-cache --without-included-ltdl $(use_enable static-libs static) --localstatedir=/var ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
fixlocalpod
|
||||
|
||||
find "${D}/usr/" -name "*.la" -exec rm -f {} +
|
||||
|
||||
# use collectd_plugins_ping && setcap cap_net_raw+ep ${D}/usr/sbin/collectd
|
||||
# we cannot do this yet
|
||||
|
||||
fowners root:collectd /etc/collectd.conf
|
||||
fperms u=rw,g=r,o= /etc/collectd.conf
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
if use contrib ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r contrib
|
||||
fi
|
||||
|
||||
keepdir /var/lib/${PN}
|
||||
fowners collectd:collectd /var/lib/${PN}
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
systemd_dounit "contrib/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/logrotate" collectd
|
||||
|
||||
sed -i -e 's:^.*PIDFile "/var/run/collectd.pid":PIDFile "/var/run/collectd/collectd.pid":' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^# SocketFile "/var/run/collectd-unixsock":# SocketFile "/var/run/collectd/collectd-unixsock":' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^.*LoadPlugin perl$:# The new, correct way to load the perl plugin -- \n# <LoadPlugin perl>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^.*LoadPlugin python$:# The new, correct way to load the python plugin -- \n# <LoadPlugin python>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||
}
|
||||
|
||||
collectd_rdeps() {
|
||||
if (use collectd_plugins_${1} && ! has_version "${2}"); then
|
||||
elog "The ${1} plug-in needs ${2} to be installed locally or remotely to work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
collectd_rdeps apcups sys-power/apcupsd
|
||||
collectd_rdeps hddtemp app-admin/hddtemp
|
||||
collectd_rdeps mbmon sys-apps/xmbmon
|
||||
collectd_rdeps memcached ">=net-misc/memcached-1.2.2-r2"
|
||||
collectd_rdeps ntpd net-misc/ntp
|
||||
collectd_rdeps openvpn ">=net-misc/openvpn-2.0.9"
|
||||
collectd_rdeps write_mongodb "dev-db/mongodb"
|
||||
|
||||
echo
|
||||
elog "collectd is now started as unprivileged user by default."
|
||||
elog "You may want to recheck the configuration."
|
||||
elog
|
||||
|
||||
if use collectd_plugins_email; then
|
||||
ewarn "The email plug-in is deprecated. To submit statistics please use the unixsock plugin."
|
||||
fi
|
||||
if use contrib; then
|
||||
elog "The scripts in /usr/share/doc/${PF}/collection3 for generating graphs need dev-perl/HTML-Parser,"
|
||||
elog "dev-perl/config-general, dev-perl/regexp-common, and net-analyzer/rrdtool[perl] to be installed."
|
||||
fi
|
||||
}
|
@ -0,0 +1,367 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/collectd-5.3.0.ebuild,v 1.1 2013/05/11 12:18:59 yac Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools base eutils linux-info multilib perl-app systemd user
|
||||
|
||||
DESCRIPTION="A a daemon which collects system statistic and provides mechanisms to store the values"
|
||||
|
||||
HOMEPAGE="http://collectd.org"
|
||||
SRC_URI="${HOMEPAGE}/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib debug kernel_linux kernel_FreeBSD kernel_Darwin perl static-libs"
|
||||
|
||||
# The plugin lists have to follow here since they extend IUSE
|
||||
|
||||
# Plugins that to my knowledge cannot be supported (eg. dependencies not in gentoo)
|
||||
COLLECTD_IMPOSSIBLE_PLUGINS="netapp pinba xmms"
|
||||
|
||||
# Plugins that still need some work
|
||||
COLLECTD_UNTESTED_PLUGINS="amqp apple_sensors genericjmx ipvs lpar modbus redis
|
||||
tape write_redis zfs_arc"
|
||||
|
||||
# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
|
||||
COLLECTD_TESTED_PLUGINS="aggregation apache apcups ascent battery bind conntrack
|
||||
contextswitch cpu cpufreq csv curl curl_json curl_xml dbi df disk dns email
|
||||
entropy ethstat exec filecount fscache gmond hddtemp interface ipmi iptables
|
||||
irq java libvirt load logfile madwifi match_empty_counter match_hashed
|
||||
match_regex match_timediff match_value mbmon md memcachec memcached memory
|
||||
multimeter mysql netlink network network nfs nginx notify_desktop notify_email
|
||||
ntpd numa nut olsrd onewire openvpn oracle perl perl ping postgresql powerdns
|
||||
processes protocols python python routeros rrdcached rrdcached rrdtool sensors
|
||||
serial snmp swap syslog table tail target_notification target_replace
|
||||
target_scale target_set tcpconns teamspeak2 ted thermal threshold tokyotyrant
|
||||
unixsock uptime users uuid varnish vmem vserver wireless write_graphite
|
||||
write_http write_mongodb"
|
||||
|
||||
COLLECTD_DISABLED_PLUGINS="${COLLECTD_IMPOSSIBLE_PLUGINS} ${COLLECTD_UNTESTED_PLUGINS}"
|
||||
|
||||
COLLECTD_ALL_PLUGINS=${COLLECTD_TESTED_PLUGINS}
|
||||
|
||||
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||
IUSE="${IUSE} collectd_plugins_${plugin}"
|
||||
done
|
||||
unset plugin
|
||||
|
||||
# Now come the dependencies.
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/libgcrypt
|
||||
sys-devel/libtool
|
||||
perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||
collectd_plugins_apache? ( net-misc/curl )
|
||||
collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_bind? ( dev-libs/libxml2 )
|
||||
collectd_plugins_curl? ( net-misc/curl )
|
||||
collectd_plugins_curl_json? ( net-misc/curl dev-libs/yajl )
|
||||
collectd_plugins_curl_xml? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_dbi? ( dev-db/libdbi )
|
||||
collectd_plugins_dns? ( net-libs/libpcap )
|
||||
collectd_plugins_gmond? ( sys-cluster/ganglia )
|
||||
collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.16-r1 )
|
||||
collectd_plugins_iptables? ( >=net-firewall/iptables-1.4.13 )
|
||||
collectd_plugins_java? ( virtual/jre dev-java/java-config-wrapper )
|
||||
collectd_plugins_libvirt? ( app-emulation/libvirt dev-libs/libxml2 )
|
||||
collectd_plugins_memcachec? ( dev-libs/libmemcached )
|
||||
collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
|
||||
collectd_plugins_netlink? ( >=sys-apps/iproute2-3.3.0 )
|
||||
collectd_plugins_nginx? ( net-misc/curl )
|
||||
collectd_plugins_notify_desktop? ( x11-libs/libnotify )
|
||||
collectd_plugins_notify_email? ( >=net-libs/libesmtp-1.0.4 dev-libs/openssl )
|
||||
collectd_plugins_nut? ( sys-power/nut )
|
||||
collectd_plugins_onewire? ( sys-fs/owfs )
|
||||
collectd_plugins_oracle? ( >=dev-db/oracle-instantclient-basic-11.2.0.1.0 )
|
||||
collectd_plugins_perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||
collectd_plugins_ping? ( net-libs/liboping )
|
||||
collectd_plugins_postgresql? ( >=dev-db/postgresql-base-8.2 )
|
||||
collectd_plugins_python? ( =dev-lang/python-2* )
|
||||
collectd_plugins_routeros? ( net-libs/librouteros )
|
||||
collectd_plugins_rrdcached? ( >=net-analyzer/rrdtool-1.4 )
|
||||
collectd_plugins_rrdtool? ( >=net-analyzer/rrdtool-1.2.27 )
|
||||
collectd_plugins_sensors? ( sys-apps/lm_sensors )
|
||||
collectd_plugins_snmp? ( net-analyzer/net-snmp )
|
||||
collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant )
|
||||
collectd_plugins_varnish? ( www-servers/varnish )
|
||||
collectd_plugins_write_http? ( net-misc/curl )
|
||||
collectd_plugins_write_mongodb? ( dev-libs/mongo-c-driver )
|
||||
|
||||
kernel_FreeBSD? (
|
||||
collectd_plugins_disk? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_interface? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_load? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_memory? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_swap? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_users? ( >=sys-libs/libstatgrab-0.16 )
|
||||
)"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
kernel_linux? (
|
||||
collectd_plugins_vserver? ( sys-kernel/vserver-sources )
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
collectd_plugins_syslog? ( virtual/logger )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.10.2"-{libocci,nohal}.patch
|
||||
"${FILESDIR}/${PN}-4.10.3"-werror.patch
|
||||
"${FILESDIR}/${PN}-5.1.0"-libperl.patch
|
||||
"${FILESDIR}/${PN}-5.1.1"-lt.patch
|
||||
)
|
||||
|
||||
# @FUNCTION: collectd_plugin_kernel_linux
|
||||
# @DESCRIPTION:
|
||||
# USAGE: <plug-in name> <kernel_options> <severity>
|
||||
# kernel_options is a list of kernel configurations options; the check tests whether at least
|
||||
# one of them is enabled. If no, depending on the third argument an elog, ewarn, or eerror message
|
||||
# is emitted.
|
||||
collectd_plugin_kernel_linux() {
|
||||
local multi_opt opt
|
||||
if has ${1} ${COLLECTD_ALL_PLUGINS}; then
|
||||
if use collectd_plugins_${1}; then
|
||||
for opt in ${2}; do
|
||||
if linux_chkconfig_present ${opt}; then return 0; fi
|
||||
done
|
||||
multi_opt=${2//\ /\ or\ }
|
||||
case ${3} in
|
||||
(info)
|
||||
elog "The ${1} plug-in can use kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(warn)
|
||||
ewarn "The ${1} plug-in uses kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(error)
|
||||
eerror "The ${1} plug-in needs kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(*)
|
||||
die "function collectd_plugin_kernel_linux called with invalid third argument"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
collectd_linux_kernel_checks() {
|
||||
linux-info_pkg_setup
|
||||
|
||||
# battery.c:/proc/pmu/battery_%i
|
||||
# battery.c:/proc/acpi/battery
|
||||
collectd_plugin_kernel_linux battery ACPI_BATTERY warn
|
||||
|
||||
# cpufreq.c:/sys/devices/system/cpu/cpu%d/cpufreq/
|
||||
collectd_plugin_kernel_linux cpufreq SYSFS warn
|
||||
collectd_plugin_kernel_linux cpufreq CPU_FREQ_STAT warn
|
||||
|
||||
# nfs.c:/proc/net/rpc/nfs
|
||||
# nfs.c:/proc/net/rpc/nfsd
|
||||
collectd_plugin_kernel_linux nfs NFS_COMMON warn
|
||||
|
||||
# serial.c:/proc/tty/driver/serial
|
||||
# serial.c:/proc/tty/driver/ttyS
|
||||
collectd_plugin_kernel_linux serial SERIAL_CORE warn
|
||||
|
||||
# swap.c:/proc/meminfo
|
||||
collectd_plugin_kernel_linux swap SWAP warn
|
||||
|
||||
# thermal.c:/proc/acpi/thermal_zone
|
||||
# thermal.c:/sys/class/thermal
|
||||
collectd_plugin_kernel_linux thermal "PROC_FS SYSFS" warn
|
||||
collectd_plugin_kernel_linux thermal ACPI_THERMAL warn
|
||||
|
||||
# vmem.c:/proc/vmstat
|
||||
collectd_plugin_kernel_linux vmem VM_EVENT_COUNTERS warn
|
||||
|
||||
# uuid.c:/sys/hypervisor/uuid
|
||||
collectd_plugin_kernel_linux uuid SYSFS info
|
||||
|
||||
# wireless.c:/proc/net/wireless
|
||||
collectd_plugin_kernel_linux wireless "MAC80211 IEEE80211" warn
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
if linux_config_exists; then
|
||||
einfo "Checking your linux kernel configuration:"
|
||||
collectd_linux_kernel_checks
|
||||
else
|
||||
elog "Cannot find a linux kernel configuration. Continuing anyway."
|
||||
fi
|
||||
fi
|
||||
|
||||
enewgroup collectd
|
||||
enewuser collectd -1 -1 /var/lib/collectd collectd
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# There's some strange prefix handling in the default config file, resulting in
|
||||
# paths like "/usr/var/..."
|
||||
sed -i -e "s:@prefix@/var:/var:g" src/collectd.conf.in || die
|
||||
|
||||
sed -i -e "s:/etc/collectd/collectd.conf:/etc/collectd.conf:g" contrib/collectd.service || die
|
||||
|
||||
# fix installdirs for perl, bug 444360
|
||||
sed -i -e 's/INSTALL_BASE=$(DESTDIR)$(prefix) //' bindings/Makefile.am || die
|
||||
|
||||
rm -r libltdl || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Now come the lists of os-dependent plugins. Any plugin that is not listed anywhere here
|
||||
# should work independent of the operating system.
|
||||
|
||||
local linux_plugins="battery cpu cpufreq disk entropy ethstat interface iptables ipvs irq load
|
||||
memory md netlink nfs numa processes serial swap tcpconns thermal users vmem vserver
|
||||
wireless"
|
||||
|
||||
local libstatgrab_plugins="cpu disk interface load memory swap users"
|
||||
local bsd_plugins="cpu tcpconns ${libstatgrab_plugins}"
|
||||
|
||||
local darwin_plugins="apple_sensors battery cpu disk interface memory processes tcpconns"
|
||||
|
||||
local osdependent_plugins="${linux_plugins} ${bsd_plugins} ${darwin_plugins}"
|
||||
local myos_plugins=""
|
||||
if use kernel_linux; then
|
||||
einfo "Enabling Linux plugins."
|
||||
myos_plugins=${linux_plugins}
|
||||
elif use kernel_FreeBSD; then
|
||||
einfo "Enabling FreeBSD plugins."
|
||||
myos_plugins=${bsd_plugins}
|
||||
elif use kernel_Darwin; then
|
||||
einfo "Enabling Darwin plugins."
|
||||
myos_plugins=${darwin_plugins}
|
||||
fi
|
||||
|
||||
# Do we debug?
|
||||
local myconf="$(use_enable debug)"
|
||||
|
||||
local plugin
|
||||
|
||||
# Disable what needs to be disabled.
|
||||
for plugin in ${COLLECTD_DISABLED_PLUGINS}; do
|
||||
myconf+=" --disable-${plugin}"
|
||||
done
|
||||
|
||||
# Set enable/disable for each single plugin.
|
||||
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||
if has ${plugin} ${osdependent_plugins}; then
|
||||
# plugin is os-dependent ...
|
||||
if has ${plugin} ${myos_plugins}; then
|
||||
# ... and available in this os
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
else
|
||||
# ... and NOT available in this os
|
||||
if use collectd_plugins_${plugin}; then
|
||||
ewarn "You try to enable the ${plugin} plugin, but it is not available for this"
|
||||
ewarn "kernel. Disabling it automatically."
|
||||
fi
|
||||
myconf+=" --disable-${plugin}"
|
||||
fi
|
||||
elif [[ "${plugin}" = "collectd_plugins_perl" ]]; then
|
||||
if use collectd_plugins_perl && ! use perl; then
|
||||
ewarn "Perl plugin disabled as perl bindings disabled by -perl use flag"
|
||||
myconf+= --disable-perl
|
||||
else
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
fi
|
||||
else
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
fi
|
||||
done
|
||||
|
||||
# Need JAVA_HOME for java.
|
||||
if use collectd_plugins_java; then
|
||||
myconf+=" --with-java=$(java-config -g JAVA_HOME)"
|
||||
fi
|
||||
|
||||
# Need libiptc ONLY for iptables. If we try to use it otherwise bug 340109 happens.
|
||||
if ! use collectd_plugins_iptables; then
|
||||
myconf+=" --with-libiptc=no"
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
myconf+=" --with-perl-bindings=INSTALLDIRS=vendor"
|
||||
else
|
||||
myconf+=" --without-perl-bindings"
|
||||
fi
|
||||
|
||||
# No need for v5upgrade
|
||||
myconf+=" --disable-target_v5upgrade"
|
||||
|
||||
# Finally, run econf.
|
||||
KERNEL_DIR="${KERNEL_DIR}" econf --config-cache --without-included-ltdl $(use_enable static-libs static) --localstatedir=/var ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
fixlocalpod
|
||||
|
||||
find "${D}/usr/" -name "*.la" -exec rm -f {} +
|
||||
|
||||
# use collectd_plugins_ping && setcap cap_net_raw+ep ${D}/usr/sbin/collectd
|
||||
# we cannot do this yet
|
||||
|
||||
fowners root:collectd /etc/collectd.conf
|
||||
fperms u=rw,g=r,o= /etc/collectd.conf
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
if use contrib ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r contrib
|
||||
fi
|
||||
|
||||
keepdir /var/lib/${PN}
|
||||
fowners collectd:collectd /var/lib/${PN}
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
systemd_dounit "contrib/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/logrotate" collectd
|
||||
|
||||
sed -i -e 's:^.*PIDFile "/var/run/collectd.pid":PIDFile "/var/run/collectd/collectd.pid":' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^# SocketFile "/var/run/collectd-unixsock":# SocketFile "/var/run/collectd/collectd-unixsock":' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^.*LoadPlugin perl$:# The new, correct way to load the perl plugin -- \n# <LoadPlugin perl>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^.*LoadPlugin python$:# The new, correct way to load the python plugin -- \n# <LoadPlugin python>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||
}
|
||||
|
||||
collectd_rdeps() {
|
||||
if (use collectd_plugins_${1} && ! has_version "${2}"); then
|
||||
elog "The ${1} plug-in needs ${2} to be installed locally or remotely to work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
collectd_rdeps apcups sys-power/apcupsd
|
||||
collectd_rdeps hddtemp app-admin/hddtemp
|
||||
collectd_rdeps mbmon sys-apps/xmbmon
|
||||
collectd_rdeps memcached ">=net-misc/memcached-1.2.2-r2"
|
||||
collectd_rdeps ntpd net-misc/ntp
|
||||
collectd_rdeps openvpn ">=net-misc/openvpn-2.0.9"
|
||||
collectd_rdeps write_mongodb "dev-db/mongodb"
|
||||
|
||||
echo
|
||||
elog "collectd is now started as unprivileged user by default."
|
||||
elog "You may want to recheck the configuration."
|
||||
elog
|
||||
|
||||
if use collectd_plugins_email; then
|
||||
ewarn "The email plug-in is deprecated. To submit statistics please use the unixsock plugin."
|
||||
fi
|
||||
if use contrib; then
|
||||
elog "The scripts in /usr/share/doc/${PF}/collection3 for generating graphs need dev-perl/HTML-Parser,"
|
||||
elog "dev-perl/config-general, dev-perl/regexp-common, and net-analyzer/rrdtool[perl] to be installed."
|
||||
fi
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
From a68a8d051b476ceae87e0490001b7c60ac5ea942 Mon Sep 17 00:00:00 2001
|
||||
From: Ritesh Raj Sarraf <rrs@debian.org>
|
||||
Date: Wed, 17 Apr 2013 12:11:01 +0530
|
||||
Subject: [PATCH] Don't call killall with the -g argument.
|
||||
|
||||
It kills the entire group of processes
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=463944
|
||||
|
||||
Thanks: Murray Campbell
|
||||
---
|
||||
usr/sbin/laptop_mode | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/usr/sbin/laptop_mode b/usr/sbin/laptop_mode
|
||||
index 74a129c..cfd99c1 100755
|
||||
--- a/usr/sbin/laptop_mode
|
||||
+++ b/usr/sbin/laptop_mode
|
||||
@@ -1130,7 +1130,7 @@ if [ x$ENABLE_BATTERY_LEVEL_POLLING = x1 ] && [ x$BLACKLIST_IN_FLOCK = x1 ]; the
|
||||
log "VERBOSE" "On AC, stopping the polling daemon."
|
||||
|
||||
# In AC mode we disable the polling daemon.
|
||||
- killall -g -q lm-polling-daemon
|
||||
+ killall -q lm-polling-daemon
|
||||
elif [ x$ON_AC = x0 ]; then
|
||||
exec 7>$LMT_BATTPOLL_LOCK;
|
||||
if $FLOCK -n -x -w 1 7; then
|
||||
@@ -1149,7 +1149,7 @@ if [ x$ENABLE_BATTERY_LEVEL_POLLING = x1 ] && [ x$BLACKLIST_IN_FLOCK = x1 ]; the
|
||||
# should be killed.
|
||||
if [ x$INITSCRIPT_STOP = x1 ]; then
|
||||
log "VERBOSE" "On Battery, but init script stop is called. Killing lm-polling-daemon"
|
||||
- killall -g -q lm-polling-daemon
|
||||
+ killall -q lm-polling-daemon
|
||||
fi
|
||||
else
|
||||
log "ERR" "Unknown ON_AC state: $ON_AC";
|
||||
--
|
||||
1.8.1.6
|
||||
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.63-r2.ebuild,v 1.1 2013/05/11 09:58:27 alonbl Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib systemd udev
|
||||
|
||||
MY_P=${PN}_${PV}
|
||||
|
||||
DESCRIPTION="Linux kernel laptop_mode user-space utilities"
|
||||
HOMEPAGE="http://www.samwel.tk/laptop_mode/"
|
||||
SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+acpi apm bluetooth scsi"
|
||||
|
||||
RDEPEND="net-wireless/wireless-tools
|
||||
sys-apps/ethtool
|
||||
sys-apps/hdparm
|
||||
acpi? ( sys-power/acpid )
|
||||
apm? ( sys-apps/apmd )
|
||||
bluetooth? ( net-wireless/bluez:= )
|
||||
scsi? ( sys-apps/sdparm )"
|
||||
DEPEND=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-pcie-aspm-silencing-stderr.patch"
|
||||
epatch "${FILESDIR}/${P}-killall.patch"
|
||||
|
||||
# This should avoid conflict with pm-powersave wrt #327443 and #396703
|
||||
cat <<-EOF > "${T}"/${PN}
|
||||
HOOK_BLACKLIST="00powersave"
|
||||
EOF
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
INIT_D="none" \
|
||||
MAN_D="/usr/share/man" \
|
||||
LIB_D="/usr/$(get_libdir)" \
|
||||
UDEV_D="$(udev_get_udevdir)" \
|
||||
SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
|
||||
TMPFILES_D="/usr/$(get_libdir)/tmpfiles.d" \
|
||||
ACPI="$(use acpi && echo force || echo disabled)" \
|
||||
PMU="$(false && echo force || echo disabled)" \
|
||||
APM="$(use apm && echo force || echo disabled)" \
|
||||
SYSTEMD=yes \
|
||||
sh ./install.sh || die
|
||||
|
||||
dodoc Documentation/*.txt README
|
||||
newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
|
||||
|
||||
# See src_prepare()
|
||||
insinto /etc/pm/config.d
|
||||
doins "${T}"/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use acpi || use apm; then
|
||||
if use acpi; then
|
||||
daemon_name="acpid"
|
||||
elif use apm; then
|
||||
deamon_name="apmd"
|
||||
fi
|
||||
if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
|
||||
ewarn "To enable automatic power state event handling,"
|
||||
ewarn "e.g. enabling laptop_mode after unplugging the battery,"
|
||||
ewarn "both laptop_mode and the ${daemon_name} daemon must be"
|
||||
ewarn "added to default runlevel:"
|
||||
if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
|
||||
ewarn "# rc-update add laptop_mode default"
|
||||
fi
|
||||
if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
|
||||
ewarn "# rc-update add ${daemon_name} default"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
|
||||
ewarn "automatically disable laptop_mode on low battery."
|
||||
ewarn
|
||||
ewarn "This means you can lose up to 10 minutes of work if running"
|
||||
ewarn "out of battery while laptop_mode is enabled."
|
||||
ewarn
|
||||
ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
|
||||
ewarn "information."
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST banner-1.3.2.tar.gz 93558 SHA256 3fb4804d614358b3a24cf2831b64aa848a09625afc58555b40fbe93db1c93ef6 SHA512 cfef528e111d3cdc5128ef880d61e2402b4559313fc51a96da0d4a7f45a20a6b0137754577e571857b3a6fb5c67ed35b4636626610c81dbda732cb5c394d47f3 WHIRLPOOL c32bf0b961dc68b1f4f9c840bab8a73287d4ce081b3639c52456a3bb262ae56724d664b0c45983d2d3cb48eaacc8c5c7e5e34d5b9cc9e34bb177b5c4a131267e
|
||||
DIST banner-1.3.3.tar.gz 114237 SHA256 bbc0c166da751d2055f76fde7a268a1ea008e4b6f949b767ab79ff07d47a4bda SHA512 38f16f2a25bd7fb270056ebe43691c989a808891ecc75e4f794456d1752a07002efb7ba7b90a2000a40704e6b6f11760b47a3fe59deeb05ff3578f0d982f7d96 WHIRLPOOL bea44375446950d737e4f7472d8f9305eb640f339e1c846f43e407bd0a26da95194e97029e52fa126d50ce6f757279ee939763aafa7ee5cef19229a308bafbf3
|
||||
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/banner/banner-1.3.3.ebuild,v 1.1 2013/05/11 18:21:05 hwoarang Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="The well known banner program for Linux"
|
||||
HOMEPAGE="http://cedar-solutions.com"
|
||||
SRC_URI="http://cedar-solutions.com/ftp/software/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!games-misc/bsd-games"
|
@ -1 +1,2 @@
|
||||
DIST bijiben-3.8.1.tar.xz 401940 SHA256 a0965874c68ca8492dcffc25cbf6f51549ff4a005c1fa1d87a1d82021aae7908 SHA512 e5846487174d9574eb09699b7734555dbd3f3662b912cac68f98250548dbcbfa544f761cd9c54410fddefb7101bb4968f3c2bf02733ea25fc720a3abbc5be5dd WHIRLPOOL c327007de8f22ac3aea37d3e773384e825d264d9775669c516a7584b66f43888293e55b195c8194c58cce1d128da94a455c7ee9e8a9b50b46275f9d5a1023e62
|
||||
DIST bijiben-3.8.2.tar.xz 402704 SHA256 c8c02c3701594d0b7f212c25613c097e2343d104157518c7c8cfb6a1bc111cf8 SHA512 d7dc36e72ed99bef10a9898a4150acc1408a8772a673bce7dce4b7f8f9cc35261cb220bd2cf8ed9b646a3d1750c52662120890fe0476ffe5a4a9f63aa0aa0708 WHIRLPOOL df64a32cad93ddcba72c92daa634c474e7ced3bfb76262c76b552edef37b1bd1fe35c0b31a75a74f32b422f5fb7c004070183c6ad487103f7df6ff7adaf6b014
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/bijiben/bijiben-3.8.2.ebuild,v 1.1 2013/05/12 10:11:05 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Note editor designed to remain simple to use"
|
||||
HOMEPAGE="http://live.gnome.org/Bijiben"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/tracker-0.16
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/libxml2
|
||||
gnome-extra/zeitgeist
|
||||
media-libs/clutter-gtk:1.0
|
||||
net-libs/webkit-gtk:3
|
||||
>=x11-libs/gtk+-3.7.7:3
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/yelp-tools
|
||||
>=dev-util/intltool-0.35.0
|
||||
sys-devel/gettext
|
||||
"
|
@ -1,3 +1,2 @@
|
||||
DIST remind-03.01.10.tar.gz 357033 SHA256 c62bea8db26b08704c1d7bc33f6775509ea649a4ff69316334639e4cdd9ed53e SHA512 ba82ad7127d495e6dd8c96fbe75b4c9a001d052576e749b05905ad972f9e94d25c14761db3c74b824083f8491ce0add2ff59777310d6c32f861b1b761a67cb83 WHIRLPOOL 57f4826e311bfdd3ac15ea00cb3865b0f600d8458a7c589c76434b1224cce9743fdb31f78d16340b0bd46be6ee79961d36c5f3baa2ba3b4c5d764c3a7cacae04
|
||||
DIST remind-03.01.11.tar.gz 361793 SHA256 b0399b7c00e8971da0105ac271025609158a9a67f44400cabfc8f82258c02a1b SHA512 308446a3086eeb13721b56428a8493e2d2741563591335780e72a3ffd425069e54107d801a62163de387d6d742e5ed0efab9496320be0a6de56426c6347db030 WHIRLPOOL 46526243857ac7aa96bdf295f8184880426e206c05b855ae4c6ada3a99d30c8f3e247b215a7b048eab304a8841de0d1d070144bf15f5673737938b03a4827527
|
||||
DIST remind-03.01.12.tar.gz 361662 SHA256 b8c7773ebbae80c7f340073c0c7f73124672c56a950d721f6afdab7b29f9cbb9 SHA512 d714208d793b436d2261913f1c25ac43d409650e732dfc3e910c7926ac232157aa183a60e75b01c8a57d467926ec39118d6afff12bc5835e1a910bdaa01cac2a WHIRLPOOL 384075ab4b5c14c4c0b5704986332428e0ab8233e3ff2b10abe0280a956f5f1e79095cc4b6364e87bed14977bbda0237e8ec8c5bd5a9e6b2d6c72a0179ce6ff4
|
||||
DIST remind-03.01.13.tar.gz 361650 SHA256 cf2663d5eb41863fc98da7c8db31ae0a86fbe7137aada81d0649523b4a0bfc4f SHA512 28478e78a52055ca0c8f8d1da82149c4afa4436bb02652c39eb0547777b7fad0a9489faf3c86f9225dad5f843a708b72dd48e1aa44bd02f4361600cf2d0f0392 WHIRLPOOL dede62bb7e053317ca6434907ce63d4e49517ad0c250f12fd66769df2babef8f56306b4082a9948a501ee0f9766ba3e3a35440d38317bde230d1ebd7f53782a9
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/remind/remind-03.01.10.ebuild,v 1.2 2012/07/29 17:18:10 armin76 Exp $
|
||||
|
||||
MY_P=${P/_beta/-BETA-}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DESCRIPTION="Ridiculously functional reminder program"
|
||||
HOMEPAGE="http://www.roaringpenguin.com/products/remind"
|
||||
SRC_URI="http://www.roaringpenguin.com/files/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
|
||||
IUSE="tk"
|
||||
|
||||
RDEPEND="tk? ( dev-lang/tk dev-tcltk/tcllib )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
sed -i 's:$(MAKE) install:&-nostripped:' "${S}"/Makefile || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ ${EUID} -eq 0 ]] ; then
|
||||
ewarn "Testing fails if run as root. Skipping tests."
|
||||
return
|
||||
fi
|
||||
make test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dobin www/rem2html || die "dobin failed"
|
||||
|
||||
dodoc docs/WHATSNEW examples/defs.rem www/README.* || die "dodoc failed"
|
||||
|
||||
if ! use tk ; then
|
||||
rm "${D}"/usr/bin/tkremind "${D}"/usr/share/man/man1/tkremind* \
|
||||
"${D}"/usr/bin/cm2rem* "${D}"/usr/share/man/man1/cm2rem*
|
||||
fi
|
||||
|
||||
rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die
|
||||
insinto /usr/share/${PN}
|
||||
doins -r contrib/
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST texmaker-4.0.1.tar.bz2 13065488 SHA256 7ef9a5e1e24e734bfb7edb084ec6574fa3fc61b31685ca5402d6649a53a4e12d SHA512 85db34f670cad7d39c7acea5eefd61a9985f183277ddf758a3216dd322c0e43c21f94d2659fbe7dbcbf8f25d5df7c8c1408172214080d9234f4048499fbb8c4b WHIRLPOOL f24b1d0a9e79b18ef4a69bb1965827f1dd9cc75df1f36cfa2caacaf8686d08d78be9b2cf54edc939bbe700506428aa76f9b0daa144acfe8bb49c8b07f5729730
|
||||
DIST texmaker-4.0.2.tar.bz2 13676919 SHA256 a0a81b65b8aede12f0a7bbc303374fd910f39976db68b4035d7f1d69c2276b45 SHA512 0e7f36ee2b3c18e2367aed78f377f959750bfe43112f8fbc1aa7055cb965f227674121bd6de4ab4ee69c3a6165f742acfc4b4aa3f474f8e7f5dad928fd5cf15a WHIRLPOOL a511d846d35a8dd4b434c7109a553f692b5726a66afa06d161e6f76b93fe501968a7c8b6288029538b28977c8c4e2e594555fd9db04ca9a7d3e0895affd0d5ca
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-4.0.2.ebuild,v 1.1 2013/05/11 12:27:28 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-r2 versionator
|
||||
|
||||
# The upstream version numbering is bad, so we have to remove a dot in the
|
||||
# minor version number
|
||||
MAJOR="$(get_major_version)"
|
||||
MINOR_1="$(($(get_version_component_range 2)/10))"
|
||||
MINOR_2="$(($(get_version_component_range 2)%10))"
|
||||
if [ ${MINOR_2} -eq "0" ] ; then
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}"
|
||||
else
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
|
||||
fi
|
||||
|
||||
MY_P="${P}"
|
||||
|
||||
DESCRIPTION="A nice LaTeX-IDE"
|
||||
HOMEPAGE="http://www.xm1math.net/texmaker/"
|
||||
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4]
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtwebkit:4
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-4.0.1-hunspell.patch )
|
||||
|
||||
DOCS=( utilities/AUTHORS utilities/CHANGELOG.txt thanks.txt )
|
||||
|
||||
src_configure() {
|
||||
eqmake4 \
|
||||
${PN}.pro \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
DESKTOPDIR="${EPREFIX}/usr/share/applications" \
|
||||
ICONDIR="${EPREFIX}/usr/share/pixmaps"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A user manual with many screenshots is available at:"
|
||||
elog "${EPREFIX}/usr/share/${PN}/usermanual_en.html"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libimobiledevice-1.1.4.tar.bz2 508371 SHA256 67499cfaa6172f566ee6b0783605acffe484fb7ddc3b09881ab7ac58667ee5b8 SHA512 6c48254d70d264c47e141112c25538d2c168284d8277b2e892cd97d48b6670c8d39c89672384e6b83610e8752f8f3fc36af283117cb1a210139b5e6272001be7 WHIRLPOOL a70dc50aad08bbc5f20573c53b8317e9df58c3a279529daa803570d90178e428291cf44a7ac7aed1cc6231ef4b17f8b0add70f97aa2b8babae41889968091d7f
|
||||
DIST libimobiledevice-1.1.5.tar.bz2 577138 SHA256 d52ecd069dfc0abe8a81ed0718540df2def2f84b44e88ea783d44312b6f5f33e SHA512 15e5ab90369f58eaa6540011ea7c44d58e7a8e62e3ccf1155ccec6bb977a158725282bb307587e96ccbd042338cdb6b732572ff1c87c9c2936536fdd492c459e WHIRLPOOL 49b457492bfa83f4d760059791ff0b183521be226998f88b6c751156247e57aac3b722aeafe9d1d22ffe88b66ecc6016d6457dbac4f6cf62b7c9662988b82696
|
||||
|
@ -1,131 +0,0 @@
|
||||
http://bugs.gentoo.org/414063
|
||||
|
||||
http://cgit.sukimashita.com/libimobiledevice.git/commit/?id=70dfe8ad1766990386f1db04bbe5a4826bcde4e5
|
||||
http://cgit.sukimashita.com/libimobiledevice.git/commit/?id=84235e0834e57551028329723f4510e1dbe7bc11
|
||||
http://cgit.sukimashita.com/libimobiledevice.git/commit/?id=849ea066426b8f5f6e6d1aea9804e095edca3b49
|
||||
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -83,10 +83,20 @@
|
||||
CYTHON=false
|
||||
fi
|
||||
if [test "x$CYTHON" != "xfalse"]; then
|
||||
- CYTHON_SUB=cython
|
||||
+ AC_MSG_CHECKING([for libplist Cython bindings])
|
||||
CYTHON_PLIST_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir libplist)/plist/cython
|
||||
- AC_SUBST([CYTHON_PLIST_INCLUDE_DIR])
|
||||
- cython_python_bindings=yes
|
||||
+ if [test ! -d "$CYTHON_PLIST_INCLUDE_DIR"]; then
|
||||
+ CYTHON=false
|
||||
+ CYTHON_SUB=
|
||||
+ cython_python_bindings=no
|
||||
+ AC_MSG_RESULT([no])
|
||||
+ AC_MSG_WARN([cannot find libplist Cython bindings. You should install your distribution specific libplist Cython bindings package.])
|
||||
+ else
|
||||
+ AC_SUBST([CYTHON_PLIST_INCLUDE_DIR])
|
||||
+ AC_MSG_RESULT([$CYTHON_PLIST_INCLUDE_DIR])
|
||||
+ CYTHON_SUB=cython
|
||||
+ cython_python_bindings=yes
|
||||
+ fi
|
||||
else
|
||||
CYTHON_SUB=
|
||||
cython_python_bindings=no
|
||||
--- cython/afc.pxi
|
||||
+++ cython/afc.pxi
|
||||
@@ -162,7 +162,7 @@
|
||||
err = afc_client_free(self._c_client)
|
||||
self.handle_error(err)
|
||||
|
||||
- cdef inline BaseError _error(self, int16_t ret):
|
||||
+ cdef BaseError _error(self, int16_t ret):
|
||||
return AfcError(ret)
|
||||
|
||||
cpdef list get_device_info(self):
|
||||
--- cython/imobiledevice.pxd
|
||||
+++ cython/imobiledevice.pxd
|
||||
@@ -51,8 +51,8 @@
|
||||
cdef class PropertyListService(BaseService):
|
||||
cpdef send(self, plist.Node node)
|
||||
cpdef object receive(self)
|
||||
- cdef inline int16_t _send(self, plist.plist_t node)
|
||||
- cdef inline int16_t _receive(self, plist.plist_t* c_node)
|
||||
+ cdef int16_t _send(self, plist.plist_t node)
|
||||
+ cdef int16_t _receive(self, plist.plist_t* c_node)
|
||||
|
||||
cdef extern from "libimobiledevice/lockdown.h":
|
||||
cdef struct lockdownd_client_private:
|
||||
--- cython/imobiledevice.pyx
|
||||
+++ cython/imobiledevice.pyx
|
||||
@@ -25,9 +25,8 @@
|
||||
return 0
|
||||
cdef BaseError err = self._error(ret)
|
||||
raise err
|
||||
- return -1
|
||||
|
||||
- cdef inline BaseError _error(self, int16_t ret): pass
|
||||
+ cdef BaseError _error(self, int16_t ret): pass
|
||||
|
||||
cdef extern from "libimobiledevice/libimobiledevice.h":
|
||||
ctypedef enum idevice_error_t:
|
||||
@@ -211,10 +210,10 @@
|
||||
plist.plist_free(c_node)
|
||||
raise
|
||||
|
||||
- cdef inline int16_t _send(self, plist.plist_t node):
|
||||
+ cdef int16_t _send(self, plist.plist_t node):
|
||||
raise NotImplementedError("send is not implemented")
|
||||
|
||||
- cdef inline int16_t _receive(self, plist.plist_t* c_node):
|
||||
+ cdef int16_t _receive(self, plist.plist_t* c_node):
|
||||
raise NotImplementedError("receive is not implemented")
|
||||
|
||||
cdef class DeviceLinkService(PropertyListService):
|
||||
--- cython/mobilesync.pxi
|
||||
+++ cython/mobilesync.pxi
|
||||
@@ -149,10 +149,10 @@
|
||||
plist.plist_free(remapping)
|
||||
raise
|
||||
|
||||
- cdef inline int16_t _send(self, plist.plist_t node):
|
||||
+ cdef int16_t _send(self, plist.plist_t node):
|
||||
return mobilesync_send(self._c_client, node)
|
||||
|
||||
- cdef inline int16_t _receive(self, plist.plist_t* node):
|
||||
+ cdef int16_t _receive(self, plist.plist_t* node):
|
||||
return mobilesync_receive(self._c_client, node)
|
||||
|
||||
cdef inline BaseError _error(self, int16_t ret):
|
||||
--- m4/ac_pkg_cython.m4
|
||||
+++ m4/ac_pkg_cython.m4
|
||||
@@ -6,8 +6,11 @@
|
||||
CYTHON=false
|
||||
elif test -n "$1" ; then
|
||||
AC_MSG_CHECKING([for Cython version])
|
||||
- [cython_version=`$CYTHON --version 2>&1 | grep 'Cython version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
|
||||
+ [cython_version=`$CYTHON --version 2>&1 | sed 's/Cython version \(.*\)$/\1/g'`]
|
||||
AC_MSG_RESULT([$cython_version])
|
||||
+
|
||||
+ # Setup extra version string for parsing
|
||||
+ [cython_version_stripped=`echo $cython_version | sed 's/\([0-9]\+\)\.\([0-9]\+\)[^\.]*\(\.\([0-9]\+\)\)\?.*/0\1.0\2.0\4/g'`]
|
||||
if test -n "$cython_version" ; then
|
||||
# Calculate the required version number components
|
||||
[required=$1]
|
||||
@@ -25,8 +28,9 @@
|
||||
if test -z "$required_patch" ; then
|
||||
[required_patch=0]
|
||||
fi
|
||||
+
|
||||
# Calculate the available version number components
|
||||
- [available=$cython_version]
|
||||
+ [available=$cython_version_stripped]
|
||||
[available_major=`echo $available | sed 's/[^0-9].*//'`]
|
||||
if test -z "$available_major" ; then
|
||||
[available_major=0]
|
||||
@@ -41,6 +45,7 @@
|
||||
if test -z "$available_patch" ; then
|
||||
[available_patch=0]
|
||||
fi
|
||||
+
|
||||
if test $available_major -gt $required_major || \
|
||||
( test $available_major -eq $required_major && \
|
||||
test $available_minor -gt $required_minor ) || \
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.1.4-r3.ebuild,v 1.1 2013/01/16 18:41:10 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices"
|
||||
HOMEPAGE="http://www.libimobiledevice.org/"
|
||||
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="gnutls"
|
||||
|
||||
RDEPEND=">=app-pda/libplist-1.8-r1
|
||||
>=app-pda/usbmuxd-1.0.8
|
||||
gnutls? (
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libtasn1-1.1
|
||||
>=net-libs/gnutls-2.2.0
|
||||
)
|
||||
!gnutls? ( dev-libs/openssl:0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS NEWS README"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-openssl.patch \
|
||||
"${FILESDIR}"/${P}-HOME-segfault.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Disable python support wrt #451044, look at -1.1.4-r2
|
||||
# from Attic if you need to restore it.
|
||||
|
||||
local myconf
|
||||
use gnutls && myconf='--disable-openssl'
|
||||
|
||||
econf \
|
||||
--disable-static \
|
||||
--without-cython \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dohtml docs/html/*
|
||||
|
||||
prune_libtool_files --all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libplist-1.10.tar.bz2 82519 SHA256 f44c52a0f8065d41d44772a7484f93bc5e7da21a8f4a9ad3f38a36b827eeff0b SHA512 dcee2b3bbff6c9d476b1663292e0a80b2f1c6d3286aff5488e839c5214c02915d0ad469fbbbaab25708a2e0e143e1ce4304da5834f1e5cbcabc54380181ef07f WHIRLPOOL 7076e2231f1cd728e3e4b347a898f71df38783daf34028f7832774816f07d415d3735cb9883b929735bfade160cb492533a1692e729bfc0891908adeab6366d8
|
||||
DIST libplist-1.8.tar.bz2 81278 SHA256 a418da3880308199b74766deef2a760a9b169b81a868a6a9032f7614e20500ec SHA512 97e00f885bffbb41c7ff1ebd857876d3768054cd9ba0c1b9ed05b5242a00baaa3ecc8f5324c04e7fed01f947d8ec45e436455fe7924edb58f7246be561f446b3 WHIRLPOOL 35cf48f733b3a7b652ed73181c9e6e8f03dc0b922c2ad5ce0f98be51ebb8da897d6477b5430d12097e6a246fdc2700bf942305d7256d4a16edd04dab4a68cb60
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/libplist/libplist-1.10.ebuild,v 1.1 2013/05/11 21:39:26 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit cmake-utils python-r1
|
||||
|
||||
DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
|
||||
HOMEPAGE="http://www.libimobiledevice.org/"
|
||||
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
|
||||
IUSE="python"
|
||||
|
||||
RDEPEND="dev-libs/libxml2"
|
||||
DEPEND="${RDEPEND}
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
>=dev-python/cython-0.14.1-r1[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
MAKEOPTS+=" -j1" #406365
|
||||
|
||||
src_configure() {
|
||||
use python && python_export_best
|
||||
|
||||
# Use cython instead of swig to match behavior of libimobiledevice >= 1.1.2
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
$(cmake-utils_use_enable python CYTHON)
|
||||
-DENABLE_SWIG=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${CMAKE_BUILD_DIR}"
|
||||
|
||||
local testfile
|
||||
for testfile in "${S}"/test/data/*; do
|
||||
LD_LIBRARY_PATH=src ./test/plist_test "${testfile}" || die
|
||||
done
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST gentoolkit-dev-0.2.6.14.tar.gz 56556 SHA256 df1e6002215e8397c39924c550bfb3d984e6e087f402dd3f52965b4885219d8f SHA512 3e28e3c5d2c6e763a22d50826492cf0f7532d70063bea830ef64c68e41b4cf99b6cfab001d7e6d711061d20f54582350ba8391128b30751313f2887cea13a97e WHIRLPOOL 06edcbc2f90b0fbd0488ca3d758c78f64ff7510ebaefc9fd382e3125bac8e26d491e2ce1087d301e79311920fc579dbdc8d78fe554875ed215a748d96e4b3f58
|
||||
DIST gentoolkit-dev-0.2.7.tar.gz 54138 SHA256 c04072fd423b078d278ddeccd2df64b14937c937b5849e005dc591e53689be71 SHA512 ab7ddad3a03d75af2d9ee33668a629f88bf77e0b49f90d3753936a86aefc6128796697d9e1ab4fab0ffdbc50c3be6ec57156b114c36fbe530173a940ef4b3ccf WHIRLPOOL 6177847095b6f53caf206dfa63152613718e0355346e49fe6eec99cdfadad0ca3bf7949663136e17910c9a777487d7e23adc39a5028588130ed806cf4feed124
|
||||
DIST gentoolkit-dev-0.2.8.2.tar.gz 53554 SHA256 caafd6a6f73c2bb7cd33c345cc0c1af6a3bfc093601c52480085214b097c8656 SHA512 ce8302dff0e500e01b9bf6d976641386f6be7565f4d7ba5884598d5a325987b4fcc808067a4342bd1532aa28c68432ef9e6607d6a8b4e60810455987df49c276 WHIRLPOOL 556abd92952f2444203bc817caa839c875ec47949b660ae3501c85ae62138b5e0c8b3c40cb1bb989a978f797ed09a7176e42baafce2a6c2d1511726f8062bb71
|
||||
DIST gentoolkit-dev-0.2.8.3.tar.gz 53322 SHA256 b9f96deb53adacf7885c937e1c92688a40839a3992da551616f8745835ec59fb SHA512 f55362e46928633598cb07640505202521e3f4bdaade1faecb4ac14ba1bee0489207cb7ab03531e06d7922446a57083365f51c63ceb8cf1e0badba9ac503c16e WHIRLPOOL 9bb50b92c52c62a74249885ff7d82d6ba2426de6b7052b2e65673a85c6dfe76c201d899e71b8d327a3fed550a1cf1a75616cda369d7f5f37bc93912a8d7845e5
|
||||
DIST gentoolkit-dev-0.2.8.tar.gz 50440 SHA256 a33fc1bd35dd397863f84b488786e1d4370b72a8d65b10d4cb96f89c51a65868 SHA512 fe454554513c68b4ff1aee16404dc96f1e1ccd019694c7861d2180c1e8a1b13f8d66b5c33c3083f9c1b94d7da74c42ae1220b1b3395f1e8d2ef9439973bd4e2c WHIRLPOOL 1ba77e71b776e01c6a07b538081bbf8575bc217dece8eafc932201adb32a7e659df050b73a57a0aeab3db61dab33130594a956077cfd2e7cf4d8339eb9d38ad8
|
||||
|
@ -1,38 +0,0 @@
|
||||
From 84321cc30126edc9a3fe51458a251b06fddce1ca Mon Sep 17 00:00:00 2001
|
||||
From: Wang Jiajun <Amesists@gmail.com>
|
||||
Date: Sat, 11 May 2013 00:46:25 +0200
|
||||
Subject: [PATCH] Fix bug #454782 by config the user name and email
|
||||
|
||||
---
|
||||
src/echangelog/test/test.sh | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/echangelog/test/test.sh b/src/echangelog/test/test.sh
|
||||
index 74d815f..0559113 100755
|
||||
--- a/src/echangelog/test/test.sh
|
||||
+++ b/src/echangelog/test/test.sh
|
||||
@@ -12,7 +12,8 @@ _ROOT=$(pwd)
|
||||
unset GENTOO_AUTHOR_NAME GENTOO_AUTHOR_EMAIL \
|
||||
GENTOO_COMMITTER_NAME GENTOO_COMMITTER_EMAIL
|
||||
|
||||
-export ECHANGELOG_USER="Just a test <echangelogtest@gentoo.org>"
|
||||
+export GENTOO_COMMITTER_NAME="Just a test"
|
||||
+export GENTOO_COMMITTER_EMAIL="echangelogtest@gentoo.org"
|
||||
|
||||
MD5_INIT="21ac109c53cf02378593a4f613b2bb55"
|
||||
MD5_PATCH="f3fa1cacae3bf51d6188278e6a5fd0c6"
|
||||
@@ -56,6 +57,11 @@ make_test() {
|
||||
|
||||
if [ "${vcs}" = "git" ]; then
|
||||
git init
|
||||
+
|
||||
+ # bug 454782
|
||||
+ git config user.name "${GENTOO_COMMITTER_NAME}"
|
||||
+ git config user.email "${GENTOO_COMMITTER_EMAIL}"
|
||||
+
|
||||
touch .gitignore
|
||||
git add .gitignore
|
||||
git commit -a -m 'Initial Commit'
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -0,0 +1,25 @@
|
||||
From 2da4232cfd9597b829dda4bcfbf3aab25f243950 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Ruppert <idl0r@gentoo.org>
|
||||
Date: Sat, 11 May 2013 23:56:25 +0200
|
||||
Subject: [PATCH] Fix echangelog test
|
||||
|
||||
---
|
||||
src/echangelog/test/test.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/echangelog/test/test.sh b/src/echangelog/test/test.sh
|
||||
index 0559113..53bb0b5 100755
|
||||
--- a/src/echangelog/test/test.sh
|
||||
+++ b/src/echangelog/test/test.sh
|
||||
@@ -160,7 +160,7 @@ ebegin "Preparing echangelog"
|
||||
|
||||
if [ -e "../echangelog" ]; then
|
||||
cp ../echangelog "${_ROOT}/tmp" || set $?
|
||||
- sed -i -e 's:use POSIX qw.*:use POSIX qw(setlocale getcwd);\nuse TEST qw(strftime);:' "${_ROOT}/tmp/echangelog" || set $?
|
||||
+ sed -i -e 's:use POSIX qw.*:use POSIX qw(locale_h setlocale getcwd);\nuse TEST qw(strftime);:' "${_ROOT}/tmp/echangelog" || set $?
|
||||
eend ${1:-0} || exit ${1}
|
||||
else
|
||||
eerror "error"
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST percona-xtrabackup-2.0.6-x86_32.tar.gz 22322448 SHA256 e42de432fc20a01212c8c76c5f5b444749e6302bee480c5b3ce60cb560e3c8e6 SHA512 b8e3caf40afe3ee3b2a5021fc8f15d2e6b52e61eac21095a52c70a0d0868fb6a8a2290dc6ca113e338669649af0cfa02822a5f1725e8167e4388bfb9578b1dc1 WHIRLPOOL 424a267777d5dd4df2f64143821a743384f8c8530188c7f9f98e6e3f7ffacc6fe8b401eda7b669d2406d1f9eb6ffe528ff04c6d70ed862c345874feec741dfa4
|
||||
DIST percona-xtrabackup-2.0.6-x86_64.tar.gz 22751787 SHA256 251c83945d814cedcc10c5d49f520666dd566f404efcf469a60eced3912b4e27 SHA512 0a4e9e3b02c846701a8a1103998352af28fce1fd979a36fded8389285ac056c9e3d3bdf0dac301e74e77c3a37d66ea0e1bba1938a1c83c0505610effbfe2cc21 WHIRLPOOL 7828f8750039f38445203a3ca076ff65ba10ff49c1b992ed2d5bf7954a76ca011e5e631d3b2d77db8047ba05c1f7a195834125d9ae5f463b518e697fbba8d9aa
|
||||
DIST percona-xtrabackup-2.0.7-x86_32.tar.gz 49657516 SHA256 51bf2d9c96a3f59c45e3d18056e7f0eac1ba6494a95d7c8b1605f6b1e08ec607 SHA512 62c0212cc3f564b056dc0ae1471d5671c5a651ff92504d75461b98c2a16f1f8a7fc5a474622e6fe2fc40371b137c10d0085887be30b803d5ca46733ce944d64f WHIRLPOOL cc6c208f35a118ac3d2797e18370ff45f3db6ea0d3df396757101fc77bc17f97b66cd40be96cd9f5f48f1808007fcb75e441f6aa91dd5a6a92a769bdc44facd9
|
||||
DIST percona-xtrabackup-2.0.7-x86_64.tar.gz 50793396 SHA256 d73c4f15fe0761fd9ee3b254aa7b3ae8ec43e2af7fec141a4b4b8b6c6b22f029 SHA512 e1e19f5fb63267a55de7d2fd0c473affb8bbaa7b41056a26e052ccaec4c82dd74c0831d1245fa65b2ac9ad3801a2c5c44b7d000005896254f660156271512ec4 WHIRLPOOL 1ee9b83931a5f226d25614434939a103daa92c345b43e8808e83ba95936955cfe922e3695ffbb003ee30e27050e9a3f2ed6042c6381ab05af83485c4a54f7e21
|
||||
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/xtrabackup-bin/xtrabackup-bin-2.0.6.ebuild,v 1.1 2013/03/29 15:44:11 idl0r Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/xtrabackup-bin/xtrabackup-bin-2.0.7.ebuild,v 1.1 2013/05/11 15:01:26 idl0r Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="percona-${PN/-bin}"
|
||||
MY_PVR="${PV}-521"
|
||||
MY_PVR="${PV}-552"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
MY_PF="${MY_PN}-${MY_PVR}"
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- configure.in.dynamic.old 2013-05-11 21:22:22.767118628 +0200
|
||||
+++ configure.in.dynamic 2013-05-11 21:22:33.104393474 +0200
|
||||
@@ -6,7 +6,7 @@
|
||||
AC_INIT([neoengine], [neoengine_version], [http://www.neoengine.org/], [mattias@realityrift.com])
|
||||
AC_CANONICAL_TARGET
|
||||
AM_INIT_AUTOMAKE([neoengine], [neoengine_version])
|
||||
-AM_CONFIG_HEADER(buildconfig.h)
|
||||
+AC_CONFIG_HEADER(buildconfig.h)
|
||||
AC_LANG(C++)
|
||||
|
||||
# Templates
|
@ -1,2 +1,2 @@
|
||||
DIST bytestring-show-0.3.5.1.tar.gz 8324 SHA256 06c6f5776da1aa9f78f54bde032567b14f2788ddd90c2866f99c3a9f81ff512f SHA512 a2dda8cdf718fc551819bc6d856b127a9a5f07b386bb5eff5f216fd2a65449d749c14f282e483dac7841c4c983808dd5ff23e32595bb58c848bb76e778283413 WHIRLPOOL 4116637da18364ac646cb9def96e8abfdda81d78dfcbaf70ad88fee1a306d3061382f75079ef22b58a77e78f46204e99d80f6fe1e78bcb427d2a6e278627e420
|
||||
DIST bytestring-show-0.3.5.4.tar.gz 8403 SHA256 2eeca94d240e5ea4f2676a3d1f8e291c00979dbad8dacc4d8f1d32a638d2dac3 SHA512 ac7bcd61916294e4642e29a44bd6ed88d95747660a60c18984b9b098c3a5681547709fb52bb97320d29f29800f2c20e64c23a78696055d7098e7fd7f5039a9fc WHIRLPOOL 25f86d7ed948ee14c326b589d7f1f00e93bb941ddc3ee9099d5c617a1b8f5308532a053569f38f0abe09c7c355a92273bef4cd563c5f3bf1984cc686de7c29c6
|
||||
DIST bytestring-show-0.3.5.5.tar.gz 8491 SHA256 c40b4a23ea32cb6003ef35e8ace2f5879a99b59940589653085ac49fe570a86d SHA512 c9634839372a137300cf1f63f9f326ffef77a0f4d5e871aa9db07c4e785deb39c9d7b563cbb9c7399f77b17bfc350ad3dc64700f09ea9c04aca72bdd87abc96d WHIRLPOOL 2c4795a50565bbb4a587e9c510bad6c465124553ae483ba2bad51d7c9187597d5702cdac2a36bd3e1c794b484cf9d6d3629b9400b586652f0990e05594c0ee44
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/bytestring-show/bytestring-show-0.3.5.4-r1.ebuild,v 1.1 2012/12/22 21:14:29 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Efficient conversion of values into readable byte strings."
|
||||
HOMEPAGE="http://code.haskell.org/~dolio/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="<dev-haskell/binary-0.7:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2.3"
|
||||
|
||||
src_prepare() {
|
||||
cabal_chdeps \
|
||||
'binary < 0.6' 'binary < 0.7'
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libindicate-12.10.0.tar.gz 512998 SHA256 48b64056a3fdffe9f9b3740f349b5e69757bb5d8199995a2e2c714707d500c17 SHA512 261df26eb90e138537ac16489aada741a2f618933e433b00d1ef8f5cb860d6b8831e19d9cc25837f8cf3d0a3688937d75e16296ba466e32cbc8ef9533bd6c1dc WHIRLPOOL 07202e0fc9778f29e109d07e8abb5cffbbc703c7625ac9163f776c8e558a86de3f130f81501e36d7c715aea4dc3a1bfd570db16902c243a826000245e46e71ba
|
||||
DIST libindicate-12.10.1.tar.gz 550378 SHA256 41e0c059e96172975c716aa70dc60f669e21d359c65935c61ac374a9aa075581 SHA512 4dcb5f292153210bc15a05f117101429da77a60b8b05b569baddf0e9043d852c2dccb0d5a6adbdf4d4a1b6f06b33c61e242bb4bcb376e3d96563bda591685c06 WHIRLPOOL f175329bac76581ebc596771794e8e81c4e03b6042cc3508a7743034b7ed1f50b61b9accf78595c3beeed7236801096dfb58d42bd94959b433dfcf92b3114fae
|
||||
|
@ -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/dev-libs/libindicate/libindicate-12.10.0.ebuild,v 1.2 2013/05/04 09:16:20 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
AYATANA_VALA_VERSION=0.16
|
||||
|
||||
inherit autotools eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="A library to raise flags on DBus for other components of the desktop to pick up and visualize"
|
||||
HOMEPAGE="http://launchpad.net/libindicate"
|
||||
SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1 LGPL-3"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk +introspection"
|
||||
|
||||
RESTRICT="test" # consequence of the -no-mono.patch
|
||||
|
||||
RDEPEND=">=dev-libs/dbus-glib-0.100
|
||||
>=dev-libs/glib-2.30
|
||||
>=dev-libs/libdbusmenu-0.6.2:3[gtk?,introspection?]
|
||||
dev-libs/libxml2
|
||||
gtk? ( >=x11-libs/gtk+-3.2:3 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1 )
|
||||
!<${CATEGORY}/${PN}-0.6.1-r201"
|
||||
EAUTORECONF_DEPEND="dev-util/gtk-doc-am
|
||||
gnome-base/gnome-common"
|
||||
DEPEND="${RDEPEND}
|
||||
${EAUTORECONF_DEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen]
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.6.1-no-mono.patch
|
||||
sed -i -e "s:vapigen:vapigen-${AYATANA_VALA_VERSION}:" configure.ac || die
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -Wno-error
|
||||
|
||||
# python bindings are only for GTK+-2.x
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--disable-silent-rules \
|
||||
--disable-static \
|
||||
$(use_enable gtk) \
|
||||
$(use_enable introspection) \
|
||||
--disable-python \
|
||||
--disable-scrollkeeper \
|
||||
--with-gtk=3 \
|
||||
--with-html-dir=/usr/share/doc/${PF}/html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog NEWS
|
||||
|
||||
nonfatal dosym /usr/share/doc/${PF}/html/${PN} /usr/share/gtk-doc/html/${PN}
|
||||
|
||||
prune_libtool_files
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-3.4.1.ebuild,v 1.6 2012/03/05 10:49:04 jlec Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit distutils virtualx
|
||||
|
||||
MY_PN="AppTools"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Enthought Tool Suite: Application tools"
|
||||
HOMEPAGE="http://code.enthought.com/projects/app_tools/ http://pypi.python.org/pypi/AppTools"
|
||||
SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="dev-python/configobj
|
||||
>=dev-python/enthoughtbase-3.1.0
|
||||
dev-python/numpy
|
||||
dev-python/setuptools
|
||||
>=dev-python/traitsgui-3.6.0"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )
|
||||
test? (
|
||||
dev-python/coverage
|
||||
dev-python/nose
|
||||
media-fonts/font-cursor-misc
|
||||
media-fonts/font-misc-misc
|
||||
x11-apps/xhost
|
||||
)"
|
||||
# dev-python/envisagecore depends on dev-python/apptools, so dev-python/envisagecore
|
||||
# cannot be specified in DEPEND/RDEPEND due to circular dependencies.
|
||||
PDEPEND=">=dev-python/envisagecore-3.2.0"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYTHON_MODNAME="enthought integrationtests"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
# Disable failing tests.
|
||||
sed -e "s/test_version_registry/_&/" -i enthought/persistence/tests/test_spawner.py
|
||||
sed -e "s/test_run/_&/" -i enthought/persistence/tests/test_version_registry.py
|
||||
rm -f enthought/persistence/tests/test_state_pickler.py
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
pushd docs > /dev/null
|
||||
emake html || die "Generation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
VIRTUALX_COMMAND="distutils_src_test" virtualmake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
find -name "*LICENSE.txt" -delete
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
pushd docs/build/html > /dev/null
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _static || die "Installation of documentation failed"
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/* || die "Installation of examples failed"
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST ets-4.1.0.tar.gz 23352 SHA256 393e5b90aabb4ea09a26b54f1afce55f55517adbe957a9297199d634c75a4e5b SHA512 af20e244f5eff2dfff092b3e038b630d4c94294a3690823ef3bdec5183fbf0f266d8b6fe05d57ee7f4a192895e13f7745455ecadd4b2002a71339507e9b5b90c WHIRLPOOL 44466e66ea0606c0f255ee123c68f49f592a23dd00dcb70ec06de394b3528e807ca2d1c40bdfa17e84f5397547f6b62960b2e0144a9d774cbd9ff3966bd83eb3
|
||||
DIST ets-4.2.0.tar.gz 23348 SHA256 4292924bb19f33f60dbc38f5605a73137f0cb52a037dbcf9bf02261a9735d208 SHA512 423e1f214a177a42d6196552a681159adbb25dd429e0e764325f99a5dd74f3264aacad86cbca0e0844965e31deeef2172259120e659b3c5fd2949605f61b3e59 WHIRLPOOL 0cd79decf4cbd9b5b61784c0f2e61033c7a41a8e5c63d37080eef2b7bb0646968f2cd0d9797826dd2bef0999ec8b2b12ca2340a1c3dc7ecafd0b237dfcd52b85
|
||||
DIST ets-4.3.0.tar.gz 23307 SHA256 1dba8e7a423765fd1a90a8100ae6c25c341d78572e51f4855521e466c2652ac9 SHA512 2a133b9e2b757cf2af8be8059604689dbad1ce22e8750296ce824c6ca5e0e6a8de8a7f43499f44982ab2bbe0b285b2f883aaa7c8362608f1a398b773782b313c WHIRLPOOL 123593ddcd839ea61190a4cac527be14c2a12ec48eab4157e273d5bc3690835aef8d497942276d1e0e05d78db3933cfab1263532be5225e0e45af9072bba0abc
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/ets/ets-4.0.0-r1.ebuild,v 1.1 2011/08/05 22:18:34 bicatali Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
DESCRIPTION="Meta package for the Enthought Tool Suite"
|
||||
HOMEPAGE="http://code.enthought.com/projects/ http://pypi.python.org/pypi/ets"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/apptools-${PV}[doc?,examples?]
|
||||
>=dev-python/blockcanvas-${PV}[doc?]
|
||||
>=dev-python/chaco-${PV}[doc?,examples?]
|
||||
>=dev-python/codetools-${PV}[doc?,examples?]
|
||||
>=dev-python/enable-${PV}[doc?,examples?]
|
||||
>=dev-python/envisage-${PV}[doc?,examples?]
|
||||
>=dev-python/etsdevtools-${PV}[doc?,examples?]
|
||||
>=dev-python/graphcanvas-${PV}[examples?]
|
||||
>=sci-visualization/mayavi-${PV}[examples?]
|
||||
>=dev-python/scimath-${PV}[doc?]
|
||||
>=dev-python/traits-${PV}[doc?,examples?]
|
||||
>=dev-python/traitsui-${PV}[doc?,examples?]"
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/ets/ets-4.1.0.ebuild,v 1.1 2012/01/17 06:22:22 bicatali Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Meta package for the Enthought Tool Suite"
|
||||
HOMEPAGE="http://code.enthought.com/projects/ http://pypi.python.org/pypi/ets"
|
||||
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
# see the setup_data.py file for version numbers
|
||||
RDEPEND="
|
||||
>=dev-python/apptools-4.0.1[doc?,examples?]
|
||||
>=dev-python/blockcanvas-4.0.1[doc?]
|
||||
>=dev-python/chaco-4.1.0[doc?,examples?]
|
||||
>=dev-python/codetools-4.0.0[doc?,examples?]
|
||||
>=dev-python/enable-4.1.0[doc?,examples?]
|
||||
>=dev-python/envisage-4.1.0[doc?,examples?]
|
||||
>=dev-python/etsdevtools-4.0.0[doc?,examples?]
|
||||
>=dev-python/graphcanvas-4.0.0[examples?]
|
||||
>=sci-visualization/mayavi-4.1.0[doc?,examples?]
|
||||
>=dev-python/pyface-4.1.0[doc?,examples?]
|
||||
>=dev-python/scimath-4.0.1[doc?]
|
||||
>=dev-python/traits-4.1.0[doc?,examples?]
|
||||
>=dev-python/traitsui-4.1.0[doc?,examples?]"
|
||||
|
||||
DEPEND=""
|
@ -0,0 +1 @@
|
||||
DIST falcon-0.1.4.tar.gz 233313 SHA256 39022eda1b3fdb2c291e0e740ef7c54a3b9cf2f9acc759553ed411d9582f00f3 SHA512 05f6876c242ed943b8e32b20f20afa2ca739fed9be580d9073affaac4e49b4539a32c5ce071ef55edd3c4e48dc9d413e091ac9510f12624b6917bbd33ba253dd WHIRLPOOL 5778882c7a02dab156340184544e9ba6e9dfb0579dbc4972f51a621a186e17d6589a9c4966ea2c8a585111fd7f50270f49572999aaecfb95fdd0f9e392764181
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/falcon/falcon-0.1.4.ebuild,v 1.1 2013/05/11 20:49:15 rafaelmartins Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Python 2.6 is supported, but depends on ordereddict, that isn't packaged for
|
||||
# Gentoo, and I don't think it is worth to maintain it. If someone needs it,
|
||||
# please let me know. PyPy also works, but needs testing.
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A supersonic micro-framework for building cloud APIs."
|
||||
HOMEPAGE="http://falconframework.org/ https://pypi.python.org/pypi/falcon"
|
||||
SRC_URI="https://github.com/racker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+cython test"
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
|
||||
cython? (
|
||||
dev-python/cython[${PYTHON_USEDEP}] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/testtools[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use cython; then
|
||||
sed -i -e 's/if with_cython:/if False:/' setup.py \
|
||||
|| die 'sed failed.'
|
||||
fi
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>rafaelmartins@gentoo.org</email>
|
||||
<name>Rafael G. Martins</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="cython">Build cython-based python modules</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST tagpy-0.94.8.tar.gz 151986 SHA256 56eab8dd81510f8af18e19375a0ffd5cd25c8e555104be46a92c3dc08634a0dc SHA512 430ae545065e5358dab6021a47b3b176934bc0901058daace35f98b645f7b087859930566d951c30e0e03d91ad46771a5bddc2a6f48a7196cf66b994699b39f1 WHIRLPOOL 164a2c56f86c7174976c9c5d55cf4097a0b992809812524a63a6c2bf4476d189fdb8dad01431ce2b62337a57d25efea90081a2291bb396345dac15f79a3d3056
|
||||
DIST tagpy-2013.1.tar.gz 151463 SHA256 80481c78ce34878e7a1f3231acd781a3bf1b0b569c70ce0e8d63af58061152f4 SHA512 4068b33fcbee2d5037149fda3ad0b256a31187ee35146392d0e187acb1d8e57c249da5356cb396cb9f027ed47ff44016466a1faaea0912494535c631f8271d58 WHIRLPOOL b47f349bc7f328ee4c18856e7f817f35868529afa0b7a820ec614cb003b3f4c4c84fabc4bd6c5a93ce12d0721e9127cf0dc806df4977fbb505934b9ba5233c20
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/tagpy/tagpy-2013.1.ebuild,v 1.1 2013/05/11 21:44:34 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python Bindings for TagLib"
|
||||
HOMEPAGE="http://mathema.tician.de//software/tagpy http://pypi.python.org/pypi/tagpy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND=">=dev-libs/boost-1.49.0[python]
|
||||
>=media-libs/taglib-1.7.2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_configure() {
|
||||
"${PYTHON}" configure.py \
|
||||
--taglib-inc-dir="${EPREFIX}/usr/include/taglib" \
|
||||
--boost-python-libname="boost_python-${EPYTHON#python}"
|
||||
distutils-r1_python_configure
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( test/* )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST coffee-script-source-1.6.1.gem 50176 SHA256 cbd1aae096a502601beda4389a41dd4a729da3febc4c989371b21c8859627bc1 SHA512 adacbf744c611babdb83ab4305615c2806e980031b1bcb736514e0c25f7fac70073725cd3b75c4fd436350c7bf1360bfef037fed21fbe086e35ca349119bbae9 WHIRLPOOL 85d45a7ecc202ef07aa8cefd360c2998b25a9678e94f5e015e7a616dbc6dcd48fb2ef362f579c050128d820f51aafbc761d59768d86ef3fffcf89c598332f836
|
||||
DIST coffee-script-source-1.6.2.gem 51200 SHA256 6947d2da45dec5d228ee79eed343725f4c92fb671167a8a4a5b83bbe570d5f3d SHA512 3c576d169ffcb940eb516402a2c22c51901c9957713d9da0f1a2920d4a4eb5264008908a56af3984491aba0fc2e3fc1c0c42eb969e2663e09392a3c3dd40ca5f WHIRLPOOL 5856ef7ee9466819ef542f85f8037256603b4ac2f123f20d1b9a1ecc7acb16eee8d7d6a5fb47994902294d4701f5aa1055458a4973c3d83a2fdaea7a2c51be14
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coffee-script-source/coffee-script-source-1.6.2.ebuild,v 1.1 2013/05/12 05:37:37 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby CoffeeScript is a bridge to the official CoffeeScript compiler."
|
||||
HOMEPAGE="https://github.com/rails/coffee-rails"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-solaris"
|
||||
|
||||
IUSE=""
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/sass-3.2.9.ebuild,v 1.1 2013/05/12 05:42:10 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more."
|
||||
HOMEPAGE="http://sass-lang.com/"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/listen-0.7.2:0 !!<dev-ruby/haml-3.1"
|
||||
|
||||
# tests could use `less` if we had it
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm -rf vendor/listen
|
||||
|
||||
# Don't require maruku as markdown provider but let yard decide.
|
||||
sed -i -e '/maruku/d' .yardopts || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Test fails on jruby for us, upstream can't
|
||||
# reproduce. Avoiding it since it only affects debug
|
||||
# information in the CSS file.
|
||||
# https://github.com/nex3/sass/issues/563
|
||||
sed -i -e '24s/filename_fn//' test/sass/plugin_test.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,7 +1 @@
|
||||
DIST svneverever-1.0.2.tar.gz 2193 SHA256 80fed36a25843a9f954f5ffa9443b07adcb1d004d89320ccdedfc8b8c824b259 SHA512 8690e942dc77e9e2aab6560506e27747ff8c2e45a2b0a1162bb128453ee372454ba30a741f0628c44e6ed7e39300527610abe8c62b89a6f1c9a4977eef8a9896 WHIRLPOOL 34fdb71ef80197fa7bd6e0c5051cfe6937d6a7a85897932468566c041dc48dfb9dff2cd82e3c296b9b9291aa592d5c3a12dde78be585bda1244468b09d686a1d
|
||||
DIST svneverever-1.0.3.tar.gz 2222 SHA256 16bed423baeb7580dc016062553c31a2660dbb20383bb6cb7076578b46582bfe SHA512 55ad5ed33a2bfa6b005a28c874f4c899510e86548346cbc028c1b13a2f5a977847e79ce0ce42afe9416f9f2071831d14f7c0c74d6ab76e15f58c5e5ffb3338e4 WHIRLPOOL 631fe2aac80461522f19beca8f3d7cc36b808e29ac32326e36e1cb30d41eed67ef384e259e1f2261772c5801defc362f35f0f1dba47ff560d0caf480a6c516b0
|
||||
DIST svneverever-1.0.4.tar.gz 3096 SHA256 d864ce570b67fdac3b9845ba4570eb82e739ad2aa2b7f5e1502baf34d002c9c1 SHA512 02945c81de86406a177b8e942f2e1ea2195601263c2cc657b0c33e12e91be2f8d754ac2038fe71f811774e932f3848624a17b8d611d434347ec75fcec42481d8 WHIRLPOOL df62148327c0905dbe82538a2a15a70a02d4d3ff8b609ffce70b83943fcbfedde80d743e36aa8e86a354ee0ea5f4dee6c4d3be7b39bb5c6bcc4e242465ab462b
|
||||
DIST svneverever-1.1.0.tar.gz 3789 SHA256 ae781b3e0fd0264dea52c63cdba35261d8a2ec0cf1f7a3d8bbe6429c4c9da037 SHA512 a5d4f31c5608f38ebdeb3630cac6876a977a8db9804b25867e776eb7776317772ce29efde01f5139129fce55883934fc61f73f062b13ba363a73343238df88ba WHIRLPOOL 4d9427d7ca411b83540a1bdfe989380fc08beca5a9363067f8dab08d015712389b175938c9932b2615d75711f1f4deff2801baa85076d87078b6d31f8d9cfad8
|
||||
DIST svneverever-1.2.0.tar.gz 3844 SHA256 c7ede584ba00d29c8dd5ae1f8de3af523cbf442cde2680c847589172e689426d SHA512 eebba0b7d5de63cd94ab2da7e028de4fb412c3ad8d0aa3864285ba706b9955d3783fa217a82ca3e56a550dce503debacde672069d57bce7fc7997b74535ff1be WHIRLPOOL 4f818d8b50b9730a5ca54e4912c5540e52f4b5af7e08b73462a2ccee47559686d5a22e9620462be5540edbea9c0f0448dc013b83324badffb37d80d681d5027a
|
||||
DIST svneverever-1.2.1.tar.gz 3904 SHA256 bb27c608da28a814ef5fa052518d81e456f43758abe9205b29742180f2c7fd53 SHA512 12130e9c484e4245a7146e4d5e519af478a6d54fe8c12052e8261d801579db9d30881bb9307b57a21cf1c49a1b1420577caf7868fd829e629123c12ebad295c6 WHIRLPOOL 3c23f97007275be0c33cc45e3665c81f927e672dc604bfec1ec7c8adcf2618be8be4e935c214fa65b8aa271e8403429b50b52b8836ff0a0700fd59e3f28d495a
|
||||
DIST svneverever-1.2.2.tar.gz 3920 SHA256 a0c9904f7f53c17192e3ee34c5b23f79eb940670d13e22301fe2452668ed2bdb SHA512 b77c258b2846663cd108bd7a7f3b763693e40b15210ba0908138b039702accab22c2575c7dbe330451043488b2ad69ca0230ccf39716055d1d0fc93cfa1cc6f3 WHIRLPOOL 558f3f2f7734c16ce25ec0ec1646fd8cf54d19ece2994e7e3f972b5c32bb14b2569fb5644e8858e61ace629ac70b7b9914b02cb470e93d1f3fbd46f1f27ff695
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svneverever/svneverever-1.0.2.ebuild,v 1.2 2010/10/27 17:18:22 sping Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Tool collecting path entries across SVN history"
|
||||
HOMEPAGE="http://git.goodpoint.de/?p=svneverever.git;a=summary"
|
||||
SRC_URI="http://www.hartwork.org/public/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/pysvn"
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svneverever/svneverever-1.0.3.ebuild,v 1.1 2010/11/03 02:49:57 sping Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Tool collecting path entries across SVN history"
|
||||
HOMEPAGE="http://git.goodpoint.de/?p=svneverever.git;a=summary"
|
||||
SRC_URI="http://www.hartwork.org/public/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/pysvn"
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svneverever/svneverever-1.0.4.ebuild,v 1.1 2011/01/19 00:10:36 sping Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Tool collecting path entries across SVN history"
|
||||
HOMEPAGE="http://git.goodpoint.de/?p=svneverever.git;a=summary"
|
||||
SRC_URI="http://www.hartwork.org/public/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/pysvn"
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svneverever/svneverever-1.1.0.ebuild,v 1.2 2012/10/29 16:38:08 mgorny Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Tool collecting path entries across SVN history"
|
||||
HOMEPAGE="http://git.goodpoint.de/?p=svneverever.git;a=summary"
|
||||
SRC_URI="http://www.hartwork.org/public/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/pysvn
|
||||
virtual/python-argparse"
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svneverever/svneverever-1.2.0.ebuild,v 1.2 2012/10/29 16:38:08 mgorny Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Tool collecting path entries across SVN history"
|
||||
HOMEPAGE="http://git.goodpoint.de/?p=svneverever.git;a=summary"
|
||||
SRC_URI="http://www.hartwork.org/public/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/pysvn
|
||||
virtual/python-argparse"
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svneverever/svneverever-1.2.1.ebuild,v 1.2 2012/10/29 16:38:08 mgorny Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Tool collecting path entries across SVN history"
|
||||
HOMEPAGE="http://git.goodpoint.de/?p=svneverever.git;a=summary"
|
||||
SRC_URI="http://www.hartwork.org/public/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/pysvn
|
||||
virtual/python-argparse"
|
@ -1,3 +1,4 @@
|
||||
DIST gnome-control-center-2.32.1.tar.bz2 2280217 SHA256 7c568b57358e5c08f4d8dd76dbac7df2539135ad081872b60514b7a8ac797e66 SHA512 dc84bd222d1a2db0c4d10c56739e1d9da18945c579ae184f69080aa4b6fa0f0b908c5beafe82a82b6277630d685bed98fe8418421db4275653afbe302d810872 WHIRLPOOL 9b0fe4ed2bb741496642a57e178ca43049d53c71d9a82d311dc5a3ab6dfaf28019a8fa1b41a218b2ede11b4d0ac735034604dd9d952cb215e12327e71d0e69f4
|
||||
DIST gnome-control-center-3.6.3.tar.xz 4877812 SHA256 2ae23972bc64f62b4facd12dd5adce212bda02491eb6e56bbf195332157d21fb SHA512 77cd68349dc7f58714fbd121a34ec73a5c3e67c7a42a08c20a8dfdcfc9cefdec47af0f09130b7e3f0407cb7a786234b2619fdb76462c3bdb2bbc548294bfd444 WHIRLPOOL bf4ba1b6c9cb17f6b5f22003ee89af051ad152dd5671ffe01ba5cc0339d51659a8af7c629755726d305caf75c1fe4629b268fc269862751bc24317d323395697
|
||||
DIST gnome-control-center-3.8.0.tar.xz 6793712 SHA256 154653d45c224eb5daf5a756e145989c2477fc4b448af20a5b62dbb897dd74f7 SHA512 abffd5b5942c02db8ca3263faab2c4e76865f5d3b4666a6d830c6b62e87e3a922bd7564d7c3bca21e2d8394a4efb505035fe685a189a0837cdbd3a81e9a6c970 WHIRLPOOL e50737d74e54eb8675d7ab4b8199306fcb28eaa6c0cb3317f41a68e07ed9b03c3f5b02ad04bbe68e639e72e835f78941f0f4967f86cac0c677c66273fe132eac
|
||||
DIST gnome-control-center-3.8.1.5.tar.xz 6809712 SHA256 6756a97eb8e89fe16bd5e50ab85d7f0e4e0fb7fa4e9df5ab49a97de03033d211 SHA512 344fb8a09b04fdf3714e5d3e7e5f52d73283898ebc1f9de059da900010ae6ab9e4bf1219ed57a2f4a83a1505dd0eaac085ab738efeb54c7047c75792a8f1dd0a WHIRLPOOL d9668827b82f95af9db03677ee32fff6a4f17f4b12be784e3ca7a9400ab084c288478409a012444264052a3f3f7819b11996a659c94de6efabbe57c4d79d2ceb
|
||||
|
@ -0,0 +1,30 @@
|
||||
--- gnome-control-center-3.8.1.5-orig/configure.ac 2013-05-06 18:32:26.000000000 +0200
|
||||
+++ gnome-control-center-3.8.1.5-dev/configure.ac 2013-05-11 22:57:47.955153458 +0200
|
||||
@@ -200,8 +200,25 @@
|
||||
fi
|
||||
|
||||
# Check for libmm-glib for ModemManager1 support
|
||||
-PKG_CHECK_MODULES(MM_GLIB, mm-glib,
|
||||
- [have_libmm_glib=yes], have_libmm_glib=no)
|
||||
+build_modemmanager=false
|
||||
+AC_ARG_ENABLE(modemmanager,
|
||||
+ AC_HELP_STRING([--disable-modemmanager],
|
||||
+ [disable modemmanager support]),
|
||||
+ [case "${enableval}" in
|
||||
+ yes) WANT_MODEMMANAGER=yes ;;
|
||||
+ no) WANT_MODEMMANAGER=no ;;
|
||||
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-modemmanager) ;;
|
||||
+ esac],
|
||||
+ [WANT_MODEMMANAGER=no]) dnl Default value
|
||||
+
|
||||
+if test "x$WANT_MODEMMANAGER" = xyes ; then
|
||||
+ PKG_CHECK_MODULES(MM_GLIB, mm-glib,
|
||||
+ [have_libmm_glib=yes],
|
||||
+ AC_MSG_ERROR(No ModemManager1 support (libmm-glib) not found))
|
||||
+else
|
||||
+ have_libmm_glib=no
|
||||
+fi
|
||||
+
|
||||
if test "x$have_libmm_glib" = xno ; then
|
||||
AC_MSG_WARN(*** Network panel will not be built with ModemManager1 support (libmm-glib not found) ***)
|
||||
else
|
@ -0,0 +1,160 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/gnome-control-center-3.8.1.5.ebuild,v 1.1 2013/05/12 09:02:01 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
GNOME2_LA_PUNT="yes" # gmodule is used, which uses dlopen
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="GNOME Desktop Configuration Tool"
|
||||
HOMEPAGE="https://git.gnome.org/browse/gnome-control-center/"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="2"
|
||||
IUSE="+bluetooth +colord +cups +gnome-online-accounts +i18n input_devices_wacom
|
||||
kerberos modemmanager +socialweb systemd v4l"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
# False positives caused by nested configure scripts
|
||||
QA_CONFIGURE_OPTIONS=".*"
|
||||
|
||||
# gnome-session-2.91.6-r1 is needed so that 10-user-dirs-update is run at login
|
||||
# g-s-d[policykit] needed for bug #403527
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.35.1:2
|
||||
>=x11-libs/gdk-pixbuf-2.23.0:2
|
||||
>=x11-libs/gtk+-3.7.7:3
|
||||
>=gnome-base/gsettings-desktop-schemas-3.7.2.2
|
||||
>=gnome-base/gnome-desktop-3.7.5:3=
|
||||
>=gnome-base/gnome-settings-daemon-3.7.3[colord?,policykit]
|
||||
>=gnome-base/libgnomekbd-2.91.91
|
||||
|
||||
app-text/iso-codes
|
||||
dev-libs/libpwquality
|
||||
dev-libs/libxml2:2
|
||||
gnome-base/gnome-menus:3
|
||||
gnome-base/libgtop:2
|
||||
media-libs/fontconfig
|
||||
|
||||
>=media-libs/libcanberra-0.13[gtk3]
|
||||
>=media-sound/pulseaudio-2[glib]
|
||||
>=sys-auth/polkit-0.97
|
||||
>=sys-power/upower-0.9.1
|
||||
>=x11-libs/libnotify-0.7.3
|
||||
|
||||
>=gnome-extra/nm-applet-0.9.7.995
|
||||
>=net-misc/networkmanager-0.9.8[modemmanager?]
|
||||
|
||||
x11-apps/xmodmap
|
||||
x11-libs/libX11
|
||||
x11-libs/libXxf86misc
|
||||
>=x11-libs/libXi-1.2
|
||||
|
||||
bluetooth? ( >=net-wireless/gnome-bluetooth-3.5.5:= )
|
||||
colord? ( >=x11-misc/colord-0.1.29 )
|
||||
cups? (
|
||||
>=net-print/cups-1.4[dbus]
|
||||
>=net-fs/samba-3.6.14-r1[smbclient] )
|
||||
gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8.1 )
|
||||
i18n? ( >=app-i18n/ibus-1.4.99 )
|
||||
kerberos? ( virtual/krb5 )
|
||||
modemmanager? ( >=net-misc/modemmanager-0.7.990 )
|
||||
socialweb? ( net-libs/libsocialweb )
|
||||
systemd? ( >=sys-apps/systemd-31 )
|
||||
v4l? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/clutter-gtk:1.0
|
||||
>=media-video/cheese-3.5.91 )
|
||||
input_devices_wacom? (
|
||||
>=dev-libs/libwacom-0.6
|
||||
>=x11-libs/libXi-1.2 )
|
||||
"
|
||||
# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
|| ( ( app-admin/openrc-settingsd sys-auth/consolekit ) >=sys-apps/systemd-31 )
|
||||
>=sys-apps/accountsservice-0.6.30
|
||||
x11-themes/gnome-icon-theme-symbolic
|
||||
colord? ( >=gnome-extra/gnome-color-manager-3
|
||||
>=x11-misc/colord-0.1.29 )
|
||||
cups? (
|
||||
>=app-admin/system-config-printer-gnome-1.3.5
|
||||
net-print/cups-pk-helper )
|
||||
input_devices_wacom? ( gnome-base/gnome-settings-daemon[input_devices_wacom] )
|
||||
|
||||
!<gnome-base/gdm-2.91.94
|
||||
!<gnome-extra/gnome-color-manager-3.1.2
|
||||
!gnome-extra/gnome-media[pulseaudio]
|
||||
!<gnome-extra/gnome-media-2.32.0-r300
|
||||
!<net-wireless/gnome-bluetooth-3.3.2
|
||||
"
|
||||
# PDEPEND to avoid circular dependency
|
||||
PDEPEND=">=gnome-base/gnome-session-2.91.6-r1"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
x11-proto/xproto
|
||||
x11-proto/xf86miscproto
|
||||
x11-proto/kbproto
|
||||
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
>=dev-util/intltool-0.40.1
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
|
||||
cups? ( sys-apps/sed )
|
||||
|
||||
gnome-base/gnome-common
|
||||
"
|
||||
# Needed for autoreconf
|
||||
# gnome-base/gnome-common
|
||||
|
||||
src_prepare() {
|
||||
# Gentoo handles completions in a different directory, bug #465094
|
||||
sed -i 's|^completiondir =.*|completiondir = $(datadir)/bash-completion|' \
|
||||
shell/Makefile.am || die "sed completiondir failed"
|
||||
|
||||
# Make some panels optional; requires eautoreconf
|
||||
# https://bugzilla.gnome.org/697478
|
||||
epatch "${FILESDIR}/${PN}-3.8.0-optional-r1.patch"
|
||||
|
||||
# https://bugzilla.gnome.org/686840
|
||||
epatch "${FILESDIR}/${PN}-3.7.4-optional-kerberos.patch"
|
||||
|
||||
# Fix some absolute paths to be appropriate for Gentoo
|
||||
epatch "${FILESDIR}/${PN}-3.8.0-paths-makefiles.patch"
|
||||
epatch "${FILESDIR}/${PN}-3.8.0-paths.patch"
|
||||
|
||||
# Make modemmanager optional, bug 463852, upstream bug #700145
|
||||
epatch "${FILESDIR}/${PN}-3.8.1.5-optional-modemmanager.patch"
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
|
||||
# panels/datetime/Makefile.am gets touched as a result of something in our
|
||||
# src_prepare(). We need to touch timedated{c,h} to prevent them from being
|
||||
# regenerated (bug #415901)
|
||||
[[ -f panels/datetime/timedated.h ]] && touch panels/datetime/timedated.h
|
||||
[[ -f panels/datetime/timedated.c ]] && touch panels/datetime/timedated.c
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME: add $(use_with kerberos) support?
|
||||
! use kerberos && G2CONF+=" KRB5_CONFIG=$(type -P true)"
|
||||
|
||||
gnome2_src_configure \
|
||||
--disable-update-mimedb \
|
||||
--disable-static \
|
||||
--enable-documentation \
|
||||
$(use_enable bluetooth) \
|
||||
$(use_enable colord color) \
|
||||
$(use_enable cups) \
|
||||
$(use_enable gnome-online-accounts goa) \
|
||||
$(use_enable i18n ibus) \
|
||||
$(use_enable modemmanager) \
|
||||
$(use_with socialweb libsocialweb) \
|
||||
$(use_enable systemd) \
|
||||
$(use_with v4l cheese) \
|
||||
$(use_enable input_devices_wacom wacom)
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST gsettings-desktop-schemas-3.4.2.tar.xz 198476 SHA256 ce0a460128d52710b6842ca663690e38374ac921e2f6c1bdf5d54f46aa6eba4f SHA512 09201a0178ebf8644ec9737808751b44d34d454fd580dac97dfc603d2e703acb96583fcaf8f08a39362f56e6c3da2e5aedfc1971462692098453054dd2697ca2 WHIRLPOOL c8c6a7fec2db978dc803df9e79fa70b1cbe87b189bd907aa507c229585675bf21e159077d0236fbfb11c40ca95a1e6255ab3197b928a31ba051dc650fff1c2ca
|
||||
DIST gsettings-desktop-schemas-3.6.1.tar.xz 384248 SHA256 d9a877d209e668845d6cafcd62663b0f6e6154df5a96f581ff36f999050e67e6 SHA512 dc9d9173f4f89ece2f9b36748784d6832d28e73c5c90dabee3e7a4aa99a9f3e9f36986d85e64c9ddea8905d8de41fd5616b727b1a4b1818a30d37e66cf4ba9c4 WHIRLPOOL 87b756c86fd03ca665ec79819a92d7426190feb8ab07304ca7b7895e2de7fc98ed410bcfa494c18b0b162bd11cafa3929a83d71034dcae6025be1c84c8280788
|
||||
DIST gsettings-desktop-schemas-3.8.0.tar.xz 439508 SHA256 9583384299c3b8cc21f99327a84527d3e7e55a26ada35ea81522dc4c05a5ae0c SHA512 a05d2c105418f6bdc84ed11594ba38f9057c8307999122a6adb04b4499e450ae3443c3777d8b2dc58fb08021f5488dd0cf4fdf541e7940808d2212f72cfb510c WHIRLPOOL 030ef6105aeb670484bda90af253126694542935baac84cc12ea3bb469a76a304ae8ce864d51eccc2befe1022dd1fe57ed1bdd751fbc70bad7de89ab815925c2
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue