parent
bf90206cbb
commit
6367cc73cc
@ -1,8 +1,5 @@
|
||||
DIST puppet-2.7.21-CVE-2013-3567.patch 185961 SHA256 33fe47facdd5b8c32e8fc870c70733a76fd6b1df7e9f320d1ba7de3b78aa835b SHA512 53f71e7dbd313d06a90af357f9b1cf4f9ef0f0b4f7b3da0fde2d4ba38394dbd1dbff9efc1a71bc999689efb0b1bc1489d9650e79ce3088039624eea6d222737a WHIRLPOOL 5daab2075a39556b7b34ed477ad6bd6e369eb7f7d5ddaa75e10f8fbb067e2b5aa0464fa64129bf97c94182b142d5874fa2ee5ccfa7a5f61ee9add1542f05c09a
|
||||
DIST puppet-2.7.21.gem 2031616 SHA256 a5eecdbe68cde5ebfd576a9af5ddb0c8c17dae224a7d0b3ec240ef54e6bd88a1 SHA512 638c188b945791fe86c1657343f9d7ec3ef7e86342c35e03dacfae4e99e63d8c09160dd1faf840f244b275e6a0aea3b969668debe9dc1b60cef68cb2513068b5 WHIRLPOOL a4bcb4181e57bda6aaf79fdd484903114e94dcf5196105203538d6d8a1bfefcd6db44f74cbef1c209b086d7b2bfab53d62069da1be034e6c35fe686fd00898bc
|
||||
DIST puppet-2.7.21.tar.gz 1998848 SHA256 c18b426457d023e87745f0a98b7dd257f8e94722b5b0d3cafb6048ef2499273f SHA512 ec5db3b829e146741ebbbde0e5f8128dd0f372dee1216bef8df36f5ac371332e1d0a37e0d6ff45a8e82ca762945060ce33cb9b65e835e243705e8c56ca0f3fc5 WHIRLPOOL 6576248721bdea18871004884c4191288b354bc56fa159ce51c3014a5bb798e00c90f390df73373f12dd227430394f47be1d4daceed27f8dc7356e037a725729
|
||||
DIST puppet-2.7.22.tar.gz 2023230 SHA256 bfd79c0aecdeea4e1a8573e9325fbcb48778603d908180e88897458f01fe06de SHA512 534f40d57e57d6b16fbac6e097cccc888e12cda648f9fa8fb74e4add9be49c1733d488d13375a712e9f160d8ccfb314d4f48ee7e604388cfd5456750a2627c94 WHIRLPOOL e5a7a773a5af2dd222c5726c3dbe3a622ed60c148dc0fc88fc7568ad3f1d422a08f49a6d5f5592b218418163526fc7effe48168309024232137919e11ac40a11
|
||||
DIST puppet-2.7.23.tar.gz 2025639 SHA256 73bc0d5a2334dc484148141a32274703b65b78bf87ca41f7e2da1c38518ba490 SHA512 d6173b596744b438a132a3772ed39195670d509481b5fbd30b098e8df3fceb31097369e6670587303b490f35842a39955d77ad500ab88535d43f08cc8d9dc86c WHIRLPOOL 65164214bc421b78359858258fa1e4242161ec406a20d73e5f44a5b14e74a6ed5973fcd4cd752a8817698aee8840ce67b92b12dfe487f964a736a68ae158ae80
|
||||
DIST puppet-3.1.1-CVE-2013-3567.patch 177845 SHA256 48b8998182a6d84fcf10847183feefb4b198b8421bd46d82fb8c45577bc0c5f7 SHA512 fe3e8ad8fecf374b9ebe67f38bc49980891121134fee560d7c2e5c43d8ccda772b4ec5b26f69c0928eb35804eb47fdb29654b065b997cc8f5c190fc3e2cca7f8 WHIRLPOOL bc93d1958b2c31d76a0f5b3fb0a33224e6304b72a0875e1ca3de0516212dccf44b760899ffbc29ed179be741560ff7b16516f5b7b65cd6f6a45414edd4eedda8
|
||||
DIST puppet-3.1.1.tar.gz 1587190 SHA256 4401f6388bb96b1301a107f247af6fa558127d78467bb5cef1a1e0ff66b4463d SHA512 48759776b68f83a125a0c703ecc9ad3efe34f10e6cfd9ddcd9e596ff082c9f40bdb7e0489bf7eb0bb0ce8bdb4ad0ae87049d2ad3133e839d0a5a6caa8419074e WHIRLPOOL d7152ba5397edadba9784f3c1800c8cf31ddd547691b35567ad52a42e82e741256326d2ee0bccec0642e82f533ffb74babcaddf3a0ee54361626b875cc618b2f
|
||||
DIST puppet-3.2.2.tar.gz 1784340 SHA256 c47745aa73912b2cb1a20b07e8741b8af37a920b9bc8dc8afb14b23d8df7d13d SHA512 e794aa7632a03ff4e6c9b96d577c0c17b096d95ecd840473c43ddba1ea403ecf76652cb99ca2976d3d932be3305d9413cb7c9ac3435ac9ecb118f2eaa2c2974a WHIRLPOOL 8873ff2e32b778e171d7910c6b84b12a23b9f952a565455fc2949c2359e8b65005b57987345a7719409fbb5e5a3393162d01b94ba337ce0538d656d76e9ee5bb
|
||||
DIST puppet-3.2.3.tar.gz 1782059 SHA256 6a19927d6126b9f6f40e94997c0896a618da8983178ca0e30264122b70edf819 SHA512 5f599a33322dcd96aaec78180ff6f5022fa6f536a5e37641fbae1e6b6d9fe2491d54021668aa9971b9951d526caa5215f89ceae2bcd4f0c9be31a1e6479aabb5 WHIRLPOOL 9fec0bb8375346187d07996d80d6b2315b7d5b9531cb5332ccf0d47da9abd81853fcf8ca2fc7d4357648a9cad32db42c861b513d2a73e5113489b56b58443a63
|
||||
DIST puppet-3.2.4.tar.gz 1786216 SHA256 8b38f4adee6237b8dd7b1956d90af97f2d0091245d6e30b708bbc8e333001358 SHA512 31a22cf926c6fe866e7ed1ca294dd78228bfb34b0465d44cc985dc6f737879710b5c27e1519f53c9fd9622320386950f290d774d709559b66be79e43dac1dd5e WHIRLPOOL 86bb44bd6ee5a4c31892e909a95fcea52ced289b891281bae5535dac891006d9c1a5d4613210a0ba550ab6428f206dcf9ab3fafb3c90297a64e8bad3c06509be
|
||||
|
@ -1,6 +0,0 @@
|
||||
|
||||
;;; puppet-mode site-lisp configuration
|
||||
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'puppet-mode "puppet-mode" "Major mode for editing puppet manifests")
|
||||
(add-to-list 'auto-mode-alist '("\\.pp$" . puppet-mode))
|
@ -1,23 +0,0 @@
|
||||
diff -Naur puppet-2.7.18.orig/lib/puppet/provider/package/portage.rb puppet-2.7.18/lib/puppet/provider/package/portage.rb
|
||||
--- puppet-2.7.18.orig/lib/puppet/provider/package/portage.rb 2012-08-26 03:32:53.646824966 -0400
|
||||
+++ puppet-2.7.18/lib/puppet/provider/package/portage.rb 2012-08-26 03:37:25.333824967 -0400
|
||||
@@ -20,7 +20,8 @@
|
||||
search_format = "<category> <name> [<installedversions:LASTVERSION>] [<bestversion:LASTVERSION>] <homepage> <description>\n"
|
||||
|
||||
begin
|
||||
- update_eix if !FileUtils.uptodate?("/var/cache/eix", %w{/usr/bin/eix /usr/portage/metadata/timestamp})
|
||||
+ eix_file = File.directory?("/var/cache/eix") ? "/var/cache/eix/portage.eix" : "/var/cache/eix"
|
||||
+ update_eix if !FileUtils.uptodate?(eix_file, %w{/usr/bin/eix /usr/portage/metadata/timestamp})
|
||||
|
||||
search_output = nil
|
||||
Puppet::Util::Execution.withenv :LASTVERSION => version_format do
|
||||
@@ -81,7 +82,8 @@
|
||||
search_value = package_name
|
||||
|
||||
begin
|
||||
- update_eix if !FileUtils.uptodate?("/var/cache/eix", %w{/usr/bin/eix /usr/portage/metadata/timestamp})
|
||||
+ eix_file = File.directory?("/var/cache/eix") ? "/var/cache/eix/portage.eix" : "/var/cache/eix"
|
||||
+ update_eix if !FileUtils.uptodate?(eix_file, %w{/usr/bin/eix /usr/portage/metadata/timestamp})
|
||||
|
||||
search_output = nil
|
||||
Puppet::Util::Execution.withenv :LASTVERSION => version_format do
|
@ -1,43 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
PUPPET_LOG_DIR="/var/log/puppet"
|
||||
|
||||
depend() {
|
||||
need localmount net
|
||||
use dns logger puppetmaster netmount nfsmount
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -d "${PUPPET_PID_DIR}" ] ; then
|
||||
eerror "Please make sure PUPPET_PID_DIR is defined and points to a existing directory"
|
||||
return 1
|
||||
fi
|
||||
checkpath --directory --owner puppet:puppet --mode 750 ${PUPPET_LOG_DIR}
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return $?
|
||||
|
||||
local options=""
|
||||
[ -n "${PUPPET_EXTRA_OPTS}" ] && options="${options} ${PUPPET_EXTRA_OPTS}"
|
||||
|
||||
ebegin "Starting puppet"
|
||||
start-stop-daemon --start --quiet \
|
||||
--pidfile "${PUPPET_PID_DIR}/agent.pid" \
|
||||
--exec /usr/bin/puppetd -- ${options}
|
||||
eend $? "Failed to start puppet"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping puppet"
|
||||
start-stop-daemon --stop --quiet \
|
||||
--pidfile "${PUPPET_PID_DIR}/agent.pid"
|
||||
local ret=$?
|
||||
eend ${ret} "Failed to stop puppet"
|
||||
rm -f "${PUPPET_PID_DIR}/agent.pid"
|
||||
return ${ret}
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
# Location of PID files
|
||||
PUPPETMASTER_PID_DIR="/var/run/puppet"
|
||||
|
||||
# Where to log general messages to.
|
||||
# Specify syslog to send log messages to the system log.
|
||||
#PUPPETMASTER_LOG="syslog"
|
||||
|
||||
# You may specify other parameters to the puppetmaster here
|
||||
#PUPPETMASTER_EXTRA_OPTS="--noca"
|
||||
|
||||
# You may specify an alternate port on which puppetmaster should listen.
|
||||
# Default is: 8140
|
||||
#PUPPETMASTER_PORT="8140"
|
||||
|
||||
# To start multiple servers:
|
||||
# # cp /etc/conf.d/puppetmaster /etc/conf.d/puppetmaster.master_8141
|
||||
# # ln -s puppetmaster /etc/init.d/puppetmaster.master_8141
|
||||
# # ${EDITOR} /etc/conf.d/puppetmaster.master_8141 (set 8141 to PUPPETMASTER_PORT)
|
@ -1,34 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
if [ "${SVCNAME}" = "puppetmaster" ] ; then
|
||||
PUPPETMASTER_PID="master"
|
||||
else
|
||||
PUPPETMASTER_PID="${SVCNAME#*.}"
|
||||
fi
|
||||
pidfile="${PUPPETMASTER_PID_DIR}/${PUPPETMASTER_PID}.pid"
|
||||
|
||||
command_args="--pidfile ${pidfile}"
|
||||
if [ -n "${PUPPETMASTER_PORT}" ] ; then
|
||||
command_args="${command_args} --masterport ${PUPPETMASTER_PORT}"
|
||||
fi
|
||||
command_args="${command_args} ${PUPPETMASTER_EXTRA_OPTS}"
|
||||
|
||||
command="/usr/bin/puppetmasterd"
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
need localmount net
|
||||
use dns logger slapd netmount nfsmount
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath --directory --owner puppet:puppet "${PUPPETMASTER_PID_DIR}"
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading ${SVCNAME}"
|
||||
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||
eend $? "Failed to stop ${SVCNAME}"
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
if [ "${SVCNAME}" = "puppetmaster" ] ; then
|
||||
PUPPETMASTER_PID="master"
|
||||
else
|
||||
PUPPETMASTER_PID="${SVCNAME#*.}"
|
||||
fi
|
||||
pidfile="${PUPPETMASTER_PID_DIR}/${PUPPETMASTER_PID}.pid"
|
||||
PUPPET_LOG_DIR="/var/log/puppet"
|
||||
|
||||
command_args="--pidfile ${pidfile}"
|
||||
if [ -n "${PUPPETMASTER_PORT}" ] ; then
|
||||
command_args="${command_args} --masterport ${PUPPETMASTER_PORT}"
|
||||
fi
|
||||
command_args="${command_args} ${PUPPETMASTER_EXTRA_OPTS}"
|
||||
|
||||
command="/usr/bin/puppetmasterd"
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
need localmount net
|
||||
use dns logger slapd netmount nfsmount
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath --directory --owner puppet:puppet "${PUPPETMASTER_PID_DIR}"
|
||||
checkpath --directory --owner puppet:puppet --mode 750 ${PUPPET_LOG_DIR}
|
||||
checkpath --file --owner puppet:puppet --mode 640 "${PUPPET_LOG_DIR}/masterhttp.log"
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading ${SVCNAME}"
|
||||
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||
eend $? "Failed to stop ${SVCNAME}"
|
||||
}
|
@ -1,182 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.7.21-r1.ebuild,v 1.1 2013/06/18 17:32:57 prometheanfire Exp $
|
||||
|
||||
EAPI="4"
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG* README*"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils ruby-fakegem user
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://www.puppetlabs.com/downloads/puppet/${P}.tar.gz
|
||||
https://dev.gentoo.org/~prometheanfire/dist/patches/CVEs/puppet-2.7.21-CVE-2013-3567.patch"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite3 vim-syntax xemacs"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/facter-1.5.6
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite3? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl"
|
||||
# couchdb? ( dev-ruby/couchrest )
|
||||
# mongrel? ( www-servers/mongrel )
|
||||
# rack? ( >=dev-ruby/rack-1 )
|
||||
# rails? (
|
||||
# dev-ruby/rails
|
||||
# >=dev-ruby/activerecord-2.1
|
||||
# )
|
||||
# stomp? ( dev-ruby/stomp )
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )
|
||||
selinux? ( sec-policy/selinux-puppet )"
|
||||
RDEPEND="${RDEPEND}
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
>=app-portage/eix-0.18.0"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
RUBY_PATCHES=( "${DISTDIR}/puppet-2.7.21-CVE-2013-3567.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
each_fakegem_install() {
|
||||
${RUBY} install.rb --destdir="${D}" install
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
newinitd "${FILESDIR}"/puppet.init-r1 puppet
|
||||
doconfd conf/gentoo/conf.d/puppet
|
||||
|
||||
# Initial configuration files
|
||||
insinto /etc/puppet
|
||||
# Bug #338439
|
||||
#doins conf/gentoo/puppet/*
|
||||
doins conf/redhat/puppet.conf
|
||||
|
||||
# Location of log and data files
|
||||
keepdir /var/{run,log}/puppet
|
||||
fowners -R puppet:puppet /var/{run,log}/puppet
|
||||
|
||||
if use minimal ; then
|
||||
rm "${ED}/usr/bin/puppetmasterd"
|
||||
rm "${ED}/etc/puppet/auth.conf"
|
||||
else
|
||||
newinitd "${FILESDIR}"/puppetmaster.init puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
|
||||
|
||||
insinto /etc/puppet
|
||||
doins conf/redhat/fileserver.conf
|
||||
|
||||
keepdir /etc/puppet/manifests
|
||||
keepdir /etc/puppet/modules
|
||||
|
||||
keepdir /var/lib/puppet/ssl
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/{run,log,lib}/puppet
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
if use vim-syntax ; then
|
||||
insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim
|
||||
insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"; dodoc "${f}"
|
||||
done
|
||||
docinto conf; dodoc conf/namespaceauth.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Puppet uses eix to get information about currently installed packages,"
|
||||
elog "so please keep the eix metadata cache updated so puppet is able to properly"
|
||||
elog "handle package installations."
|
||||
elog
|
||||
elog "Currently puppet only supports adding and removing services to the default"
|
||||
elog "runlevel, if you want to add/remove a service from another runlevel you may"
|
||||
elog "do so using symlinking."
|
||||
elog
|
||||
|
||||
if [ \
|
||||
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetca.conf" \
|
||||
] ; then
|
||||
elog
|
||||
elog "Please remove deprecated config files."
|
||||
elog " /etc/puppet/puppetca.conf"
|
||||
elog " /etc/puppet/puppetd.conf"
|
||||
elog " /etc/puppet/puppetmasterd.conf"
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -1,160 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.2.2.ebuild,v 1.1 2013/06/18 17:32:57 prometheanfire Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils user ruby-ng versionator
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://www.puppetlabs.com/downloads/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite3 vim-syntax xemacs"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
>=dev-ruby/facter-1.6.2
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite3? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )"
|
||||
RDEPEND="${RDEPEND}
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
RUBY_PATCHES=( "${FILESDIR}/puppet-openrc-status-fix.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
${RUBY} install.rb --destdir="${D}" install || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
newinitd "${FILESDIR}"/puppet.init-r1 puppet
|
||||
|
||||
# Initial configuration files
|
||||
insinto /etc/puppet
|
||||
|
||||
# Location of log and data files
|
||||
keepdir /var/log/puppet
|
||||
fowners -R puppet:puppet /var/log/puppet
|
||||
|
||||
if use minimal ; then
|
||||
rm "${ED}/etc/puppet/auth.conf"
|
||||
else
|
||||
newinitd "${FILESDIR}"/puppetmaster.init-r1 puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
|
||||
|
||||
insinto /etc/puppet
|
||||
|
||||
keepdir /etc/puppet/manifests
|
||||
keepdir /etc/puppet/modules
|
||||
|
||||
keepdir /var/lib/puppet/ssl
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"; dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Puppet uses eix to get information about currently installed packages,"
|
||||
elog "so please keep the eix metadata cache updated so puppet is able to properly"
|
||||
elog "handle package installations."
|
||||
elog
|
||||
elog "Currently puppet only supports adding and removing services to the default"
|
||||
elog "runlevel, if you want to add/remove a service from another runlevel you may"
|
||||
elog "do so using symlinking."
|
||||
elog
|
||||
|
||||
if [ \
|
||||
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetca.conf" \
|
||||
] ; then
|
||||
elog
|
||||
elog "Please remove deprecated config files."
|
||||
elog " /etc/puppet/puppetca.conf"
|
||||
elog " /etc/puppet/puppetd.conf"
|
||||
elog " /etc/puppet/puppetmasterd.conf"
|
||||
elog
|
||||
fi
|
||||
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
|
||||
elog
|
||||
elog "If you're upgrading from 2.x then we strongly suggest you to read:"
|
||||
elog "http://docs.puppetlabs.com/guides/upgrading.html"
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.2.3.ebuild,v 1.1 2013/07/16 14:35:30 prometheanfire Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.2.4.ebuild,v 1.1 2013/08/15 15:43:32 prometheanfire Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1,6 +1,2 @@
|
||||
DIST byobu_5.39.orig.tar.gz 603622 SHA256 93337318c977455ac1227d74d748e3a12ecec4863d7162ee6413d46b9285b465 SHA512 e7393c7238b6b082c338537d6e2f7acc8165cd71f7ff3b85108a7bf4200d497703e784e34b8541939e66e31fcafd7d4f8d16afd07d63dc9d886a5fcb1b752c8c WHIRLPOOL 01f8af0b0a4c8bb2d5756ede538274dd3f14801088e785c92d07ce8cf95aafc0c0663423e6bbf8afbf22880f667db1f38623f5b259935c785ffb4cb205bac4f1
|
||||
DIST byobu_5.41.orig.tar.gz 603878 SHA256 d81222475d9f51e8bb4cc00593e8d1386d94e4440ed4126ea365f33bea81856f SHA512 04c16b2c5585a45428ebaf6afe0fbf04cbea18f2fda97906cd0211ed83de08ba5b2d830ea7a84305caa250520a68a9b182076db290d748edcf1f9d48dfbe5725 WHIRLPOOL 2c39e95f71384328ab4213d8a837cd3e6ebb2c903506640584ba5e3f788ce913dd8227656f8fdeb2400943a2cb5c2991c7ca46280a29d6bc7be37df4423f7c8f
|
||||
DIST byobu_5.43.orig.tar.gz 604092 SHA256 0e115dd834053ce68e2f0e33f11f942c3e6321576c9cb47f45694b09f9f77823 SHA512 bbcbf5b4d290c73f7fc786120f0e5c373b25b15542f37f9e4845a8ae8eb61cd62297e9c861ae76841805d3c44b5eaf87a3f05ce6fd0a2c01c86f1271037eb11a WHIRLPOOL 01abde79e688ded68c01999b4fa1479897450d911ff537917a07ab499d76f46a75d1cf51dcaab8c307d134b1204ffc84893cd3e99d4ba9a5072c89e299691858
|
||||
DIST byobu_5.45.orig.tar.gz 598626 SHA256 98c4f658fcff90b4e800eac478202ed199cd757b7e0e2e4c821864c4446c0414 SHA512 e9186bf908eb6da28cf7da57e58eaf8843dcb9525ea4704ad9541b688441d2386ab1944c972ecbc0c11c83984bea23292e63e06a935e77df9a13f1fc217ab0e0 WHIRLPOOL 2dfdbaf778501fa6836b306a8ca81b085e799757b9d1cf6558d9bce6419ecb831391620b063f7db77d274950b084cf63c2e8268714187155f8764d98b86f9075
|
||||
DIST byobu_5.47.orig.tar.gz 599237 SHA256 a36ddc1a52ba21892d7d15d855bac698f59c6f406e0e7645a3ba099df697f466 SHA512 9952106bbab8482d95deaa9b7565a392b7de4d5f728caceafc60ca5a003a0e5686745fa4764476a526810756a986b702e140496e779b22525d4481cd140a6ac5 WHIRLPOOL c1551e43837fac5f6f4a690607364c41a1bef79f8687e022e4207254e1854a0cdb263ee52cf7cb5ff5b1f06771a49c595f1925e7c0015fde173dc020af4be407
|
||||
DIST byobu_5.49.orig.tar.gz 603524 SHA256 7bd8d1de30de56c1541c581585baf370941d8e907d157fe071976bbbbfa2c66f SHA512 009e1a0a9689b29a34ed80f5a74e24169d2755fa2d6f851599a4fb1f8d9ff7282d38be39f4dff9d596cc10a837d8c7a64cb160037fa9b990854d1b91d715115c WHIRLPOOL 424cf01d62b28f393f7d28a3d3e70d76e595627e5f7ee6d4fb5828304242f13aefb55b7a278f903aa0d6681e1a1d9df2581cbb0c2f509422516678126b90e808
|
||||
DIST byobu_5.55.orig.tar.gz 604844 SHA256 372ce92426971bed38bf1db9169e6307142c084daddba5c67914982116a5f802 SHA512 adb84dd2295280d1eb43da79c67dacc174de046e53a09c67b7f34f690a9ce519cb15a9b783b198c8ad9160bc98cc5fafb3a517578bc2aad3455d3f08d85d6c8c WHIRLPOOL d47fca7f5033330ba7d6ea7e981bca9dc66cfd29f576ddc13132ad144601d470f8c58063c1c38561f0023f2a2f9493ac10692a3b14f75629588751928dbdd56c
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.39.ebuild,v 1.2 2013/05/29 15:28:17 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.41-r1.ebuild,v 1.3 2013/05/29 15:28:17 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.41.ebuild,v 1.2 2013/05/29 15:28:17 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.43.ebuild,v 1.1 2013/06/05 09:02:24 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.47.ebuild,v 1.1 2013/07/21 09:21:46 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.45.ebuild,v 1.1 2013/07/16 09:54:58 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.55.ebuild,v 1.1 2013/08/16 04:14:02 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/bcmail-1.38-r2.ebuild,v 1.1 2013/08/15 10:11:10 tomwij Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="${PN}-jdk14-${PV/./}"
|
||||
DESCRIPTION="Java cryptography APIs"
|
||||
HOMEPAGE="http://www.bouncycastle.org/java.html"
|
||||
SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="1.38"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEPEND="~dev-java/bcprov-${PV}:0
|
||||
=dev-java/junit-3.8*
|
||||
dev-java/sun-jaf
|
||||
java-virtuals/javamail"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEPEND}"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
unpack ./src.zip
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir "${S}/classes"
|
||||
|
||||
find org -name "*.java" > "${T}/src.list"
|
||||
ejavac -d "${S}/classes" \
|
||||
-classpath $(java-pkg_getjars bcprov,junit,sun-jaf,javamail) \
|
||||
"@${T}/src.list"
|
||||
|
||||
cd "${S}/classes"
|
||||
jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}/${PN}.jar"
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/bcprov-1.40-r1.ebuild,v 1.1 2013/08/15 12:07:13 tomwij Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="${PN}-jdk15-${PV/./}"
|
||||
DESCRIPTION="Java cryptography APIs"
|
||||
HOMEPAGE="http://www.bouncycastle.org/java.html"
|
||||
SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="1.40"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
|
||||
|
||||
# The src_unpack find needs a new find
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=182276
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
userland_GNU? ( >=sys-apps/findutils-4.3 )
|
||||
app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
IUSE="userland_GNU"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cd "${S}"
|
||||
unpack ./src.zip
|
||||
|
||||
# so that we don't need junit
|
||||
echo "Removing testcases' sources:"
|
||||
find . -path '*test/*.java' -print -delete \
|
||||
|| die "Failed to delete testcases."
|
||||
find . -name '*Test*.java' -print -delete \
|
||||
|| die "Failed to delete testcases."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir "${S}/classes"
|
||||
|
||||
find . -name "*.java" > "${T}/src.list"
|
||||
ejavac -encoding ISO-8859-1 -d "${S}/classes" "@${T}/src.list"
|
||||
|
||||
cd "${S}/classes"
|
||||
jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}/${PN}.jar"
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/bcprov-1.45-r1.ebuild,v 1.1 2013/08/15 10:25:21 tomwij Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="${PN}-jdk15-${PV/./}"
|
||||
DESCRIPTION="Java cryptography APIs"
|
||||
HOMEPAGE="http://www.bouncycastle.org/java.html"
|
||||
SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="1.45"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
# The src_unpack find needs a new find
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=182276
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
userland_GNU? ( >=sys-apps/findutils-4.3 )
|
||||
app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
IUSE="userland_GNU"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cd "${S}"
|
||||
unpack ./src.zip
|
||||
|
||||
# so that we don't need junit
|
||||
echo "Removing testcases' sources:"
|
||||
find . -path '*test/*.java' -print -delete \
|
||||
|| die "Failed to delete testcases."
|
||||
find . -name '*Test*.java' -print -delete \
|
||||
|| die "Failed to delete testcases."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir "${S}/classes"
|
||||
|
||||
find . -name "*.java" > "${T}/src.list"
|
||||
ejavac -encoding ISO-8859-1 -d "${S}/classes" "@${T}/src.list"
|
||||
|
||||
cd "${S}/classes"
|
||||
jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}/${PN}.jar"
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/jaxen-1.1.4-r1.ebuild,v 1.1 2013/08/15 08:53:59 tomwij Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A Java XPath Engine"
|
||||
HOMEPAGE="http://jaxen.codehaus.org/"
|
||||
SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="JDOM"
|
||||
SLOT="1.1"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
# jdom-jaxen is a PDEPEND of jdom that we explicitly list such that it is
|
||||
# emerged before emerging this package; for more details, see bug #481112.
|
||||
COMMON_DEP="
|
||||
dev-java/dom4j:1
|
||||
dev-java/jdom:1.0
|
||||
dev-java/jdom-jaxen:1.0
|
||||
dev-java/xom:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
test? ( dev-java/ant-junit:0 )
|
||||
${COMMON_DEP}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_GENTOO_CLASSPATH="dom4j-1,jdom-1.0,xom"
|
||||
EANT_TEST_EXTRA_ARGS="-DJunit.present=true"
|
||||
|
||||
java_prepare() {
|
||||
cp -v "${FILESDIR}"/${P}_maven1-build.xml build.xml || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use examples && java-pkg_doexamples src/java/samples
|
||||
use source && java-pkg_dosrc src/java/main/*
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/pdfbox/pdfbox-0.7.3-r3.ebuild,v 1.1 2013/08/15 14:55:00 tomwij Exp $
|
||||
|
||||
EAPI=1
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="PDFBox"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Java library and utilities for working with PDF documents"
|
||||
HOMEPAGE="http://www.pdfbox.org"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/fontbox:0
|
||||
dev-java/bcprov:1.38
|
||||
dev-java/bcmail:1.38
|
||||
dev-java/lucene:2.1
|
||||
dev-java/ant-core:0"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
${CDEPEND}"
|
||||
|
||||
JAVA_PKG_FILTER_COMPILER="jikes"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# missing needed files
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
rm -v external/*.jar lib/*.jar || die
|
||||
rm -rf docs/javadoc
|
||||
|
||||
# the pdf files used in test cases are not included
|
||||
rm -rf src/test
|
||||
|
||||
cd external
|
||||
java-pkg_jar-from fontbox
|
||||
java-pkg_jar-from bcprov-1.38
|
||||
java-pkg_jar-from bcmail-1.38
|
||||
java-pkg_jar-from lucene-2.1
|
||||
java-pkg_jar-from ant-core ant.jar
|
||||
}
|
||||
|
||||
EANT_BUILD_TARGET="package"
|
||||
|
||||
my_launcher() {
|
||||
java-pkg_dolauncher ${1} --main org.pdfbox.${2}
|
||||
echo "${2} -> ${1}" >> "${T}"/launcher.list
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar lib/${MY_P}-dev.jar
|
||||
|
||||
my_launcher pdfconvertcolorspace ConvertColorspace
|
||||
my_launcher pdfdecrypt Decrypt
|
||||
my_launcher pdfencrypt Encrypt
|
||||
my_launcher pdfexportfdf ExportFDF
|
||||
my_launcher pdfexportxfdf ExportXFDF
|
||||
my_launcher pdfextractimages ExtractImages
|
||||
my_launcher pdfextracttext ExtractText
|
||||
my_launcher pdfimportfdf ImportFDF
|
||||
my_launcher pdfimportxfdf ImportXFDF
|
||||
my_launcher pdfoverlay Overlay
|
||||
my_launcher pdfdebugger PDFDebugger
|
||||
my_launcher pdfmerger PDFMerger
|
||||
my_launcher pdfreader PDFReader
|
||||
my_launcher pdfsplit PDFSplit
|
||||
my_launcher pdftoimage PDFToImage
|
||||
my_launcher printpdf PrintPDF
|
||||
my_launcher texttopdf TextToPDF
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/*
|
||||
java-pkg_dojavadoc website/build/site/javadoc
|
||||
fi
|
||||
|
||||
use source && java-pkg_dosrc src/org
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "This package installs several command line tools for manipulating"
|
||||
elog "PDF files. Some of their names were changed from upstream to"
|
||||
elog "be less ambigous, and not collide with other packages. For"
|
||||
elog "detailed information refer to the html documentation installed with"
|
||||
elog "USE=doc, or ${HOMEPAGE}"
|
||||
|
||||
while read line
|
||||
do
|
||||
elog ${line}
|
||||
done < "${T}"/launcher.list
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST go1.1.1.src.tar.gz 9045336 SHA256 257f74b8d812bbdec695e842de587a1495e7728b4e63d280586a14786adbb5af SHA512 0e990eb8fcbbad29650e2773e483b72084a9846d6f0651c862efdea8168e8d36a6ba02cfacbb8793d0e2624718c65825edaa32dd7d0aec009f97c070d4c6ea02 WHIRLPOOL 937c1c7ab9c86e0e8ca1abe69a3454ac3660ac41e6ebbbab92334f5760424a6a13f5b5dbe902c5ebdcbbd1bc940ae4cef2c81c1032ca4093d0f5997bee7dcca7
|
||||
DIST go1.1.src.tar.gz 9041413 SHA256 bf1d057d8386e840f9cd3f787252e26d8ee196852e9232a6f9ce762337b19cb6 SHA512 5ae241f2893a39f872214a1b008d28a19d68ece81700422dc917160a69a8388b6fcb27442ea10b533a3c6f94ef09e24425727d2a315c3457ce076bbe42fd033a WHIRLPOOL b3cde4ab5ecb5697c195c33f4bbe11ede0428910f208ded11f4a7fc567697be7af62153fc16105a5f33dcbb84bfcdd182ec44ea1a0722a0bce74b2adc2328d03
|
||||
DIST go1.1.2.src.tar.gz 9049357 SHA256 ffc7b3b46909add09cad8213d76dba34e92cc8f8e64a3ebe1a052cb22064eb70 SHA512 e8cf7e557e57f7707ac0f58bcff8bfb989e14b5271928a025a9d3eb32fc7c876271e912875f0e9efd3478a4c74d7671f24b7fee538b082fd72cd2577ad24f65c WHIRLPOOL 57c58822031882754d288e7a0267eba80af1db296e783abf10bfc85550afd991cf2f5a5f8f232e22f5a8b0fb02f45488ee1dbdf58aa6796b66f67e54e2a07dba
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.1.ebuild,v 1.2 2013/05/20 16:52:33 williamh Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.1.2.ebuild,v 1.1 2013/08/15 22:21:58 williamh Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,125 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-4.01.0_beta1.ebuild,v 1.1 2013/08/16 00:28:28 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit flag-o-matic eutils multilib versionator toolchain-funcs
|
||||
|
||||
PATCHLEVEL="6"
|
||||
MY_P="${P/_/+}"
|
||||
DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family"
|
||||
HOMEPAGE="http://www.ocaml.org/"
|
||||
SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.bz2
|
||||
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
|
||||
|
||||
LICENSE="QPL-1.0 LGPL-2"
|
||||
# Everytime ocaml is updated to a new version, everything ocaml must be rebuilt,
|
||||
# so here we go with the subslot.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="emacs latex ncurses +ocamlopt tk X xemacs"
|
||||
|
||||
DEPEND="tk? ( >=dev-lang/tk-3.3.3 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
X? ( x11-libs/libX11 x11-proto/xproto )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PDEPEND="emacs? ( app-emacs/ocaml-mode )
|
||||
xemacs? ( app-xemacs/ocaml )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
pkg_setup() {
|
||||
# dev-lang/ocaml creates its own objects but calls gcc for linking, which will
|
||||
# results in relocations if gcc wants to create a PIE executable
|
||||
if gcc-specs-pie ; then
|
||||
append-ldflags -nopie
|
||||
ewarn "Ocaml generates its own native asm, you're using a PIE compiler"
|
||||
ewarn "We have appended -nopie to ocaml build options"
|
||||
ewarn "because linking an executable with pie while the objects are not pic will not work"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LC_ALL=C
|
||||
local myconf=""
|
||||
|
||||
# Causes build failures because it builds some programs with -pg,
|
||||
# bug #270920
|
||||
filter-flags -fomit-frame-pointer
|
||||
# Bug #285993
|
||||
filter-mfpmath sse
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
use tk || myconf="${myconf} -no-tk"
|
||||
use ncurses || myconf="${myconf} -no-curses"
|
||||
use X || myconf="${myconf} -no-graph"
|
||||
|
||||
# ocaml uses a home-brewn configure script, preventing it to use econf.
|
||||
RAW_LDFLAGS="$(raw-ldflags)" ./configure -prefix /usr \
|
||||
--bindir /usr/bin \
|
||||
--libdir /usr/$(get_libdir)/ocaml \
|
||||
--mandir /usr/share/man \
|
||||
-host "${CHOST}" \
|
||||
-cc "$(tc-getCC)" \
|
||||
-as "$(tc-getAS)" \
|
||||
-aspp "$(tc-getCC) -c" \
|
||||
-partialld "$(tc-getLD) -r" \
|
||||
--with-pthread ${myconf} || die "configure failed!"
|
||||
|
||||
# http://caml.inria.fr/mantis/view.php?id=4698
|
||||
export CCLINKFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 world
|
||||
|
||||
# Native code generation can be disabled now
|
||||
if use ocamlopt ; then
|
||||
# bug #279968
|
||||
emake -j1 opt
|
||||
emake -j1 opt.opt
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make BINDIR="${D}"/usr/bin \
|
||||
LIBDIR="${D}"/usr/$(get_libdir)/ocaml \
|
||||
MANDIR="${D}"/usr/share/man \
|
||||
install
|
||||
|
||||
# Symlink the headers to the right place
|
||||
dodir /usr/include
|
||||
dosym /usr/$(get_libdir)/ocaml/caml /usr/include/caml
|
||||
|
||||
dodoc Changes INSTALL README
|
||||
|
||||
# Create and envd entry for latex input files
|
||||
if use latex ; then
|
||||
echo "TEXINPUTS=/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc
|
||||
doenvd "${T}"/99ocamldoc
|
||||
fi
|
||||
|
||||
# Install ocaml-rebuild portage set
|
||||
insinto /usr/share/portage/config/sets
|
||||
doins "${FILESDIR}/ocaml.conf"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
ewarn "OCaml is not binary compatible from version to version, so you"
|
||||
ewarn "need to rebuild all packages depending on it, that are actually"
|
||||
ewarn "installed on your system. To do so, you can run:"
|
||||
if has_version '>=sys-apps/portage-2.2' ; then
|
||||
ewarn "emerge @ocaml-rebuild"
|
||||
else
|
||||
ewarn "emerge -1 /usr/$(get_libdir)/ocaml"
|
||||
fi
|
||||
echo
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
From 86bc94d3783ba53a944451f4eba4c78130eeef3b Mon Sep 17 00:00:00 2001
|
||||
From: Priit Laes <plaes@plaes.org>
|
||||
Date: Tue, 3 Jul 2012 12:50:44 +0300
|
||||
Subject: [PATCH] Gentoo: skip over gdbus-auth /gdbus/auth/*/DBUS_COOKIE_SHA1
|
||||
tests
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=679308
|
||||
---
|
||||
gio/tests/gdbus-auth.c | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/gio/tests/gdbus-auth.c b/gio/tests/gdbus-auth.c
|
||||
index 737770e..d528c6b 100644
|
||||
--- a/gio/tests/gdbus-auth.c
|
||||
+++ b/gio/tests/gdbus-auth.c
|
||||
@@ -89,11 +89,14 @@ auth_client_external (void)
|
||||
auth_client_mechanism ("EXTERNAL");
|
||||
}
|
||||
|
||||
+#if 0
|
||||
+// https://bugzilla.gnome.org/show_bug.cgi?id=679308
|
||||
static void
|
||||
auth_client_dbus_cookie_sha1 (void)
|
||||
{
|
||||
auth_client_mechanism ("DBUS_COOKIE_SHA1");
|
||||
}
|
||||
+#endif
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
||||
@@ -250,11 +253,13 @@ auth_server_external (void)
|
||||
auth_server_mechanism ("EXTERNAL");
|
||||
}
|
||||
|
||||
+#if 0
|
||||
static void
|
||||
auth_server_dbus_cookie_sha1 (void)
|
||||
{
|
||||
auth_server_mechanism ("DBUS_COOKIE_SHA1");
|
||||
}
|
||||
+#endif
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
||||
@@ -272,10 +277,14 @@ main (int argc,
|
||||
session_bus_up ();
|
||||
|
||||
g_test_add_func ("/gdbus/auth/client/EXTERNAL", auth_client_external);
|
||||
+#if 0
|
||||
g_test_add_func ("/gdbus/auth/client/DBUS_COOKIE_SHA1", auth_client_dbus_cookie_sha1);
|
||||
+#endif
|
||||
g_test_add_func ("/gdbus/auth/server/ANONYMOUS", auth_server_anonymous);
|
||||
+#if 0
|
||||
g_test_add_func ("/gdbus/auth/server/EXTERNAL", auth_server_external);
|
||||
g_test_add_func ("/gdbus/auth/server/DBUS_COOKIE_SHA1", auth_server_dbus_cookie_sha1);
|
||||
+#endif
|
||||
|
||||
ret = g_test_run();
|
||||
|
||||
--
|
||||
1.8.3.2
|
||||
|
@ -0,0 +1,243 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.34.3-r1.ebuild,v 1.1 2013/08/15 13:01:15 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{5,6,7} )
|
||||
# Avoid runtime dependency on python when USE=test
|
||||
|
||||
inherit autotools bash-completion-r1 gnome.org libtool eutils flag-o-matic gnome2-utils multilib pax-utils python toolchain-funcs versionator virtualx linux-info
|
||||
|
||||
DESCRIPTION="The GLib library of C routines"
|
||||
HOMEPAGE="http://www.gtk.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz" # pkg.m4 for eautoreconf
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="2"
|
||||
IUSE="debug fam kernel_linux selinux static-libs systemtap test utils xattr"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
|
||||
|
||||
RDEPEND="virtual/libiconv
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
|| (
|
||||
>=dev-libs/elfutils-0.142
|
||||
>=dev-libs/libelf-0.8.12
|
||||
>=sys-freebsd/freebsd-lib-9.2_rc1
|
||||
)
|
||||
selinux? ( sys-libs/libselinux )
|
||||
xattr? ( sys-apps/attr )
|
||||
fam? ( virtual/fam )
|
||||
utils? (
|
||||
${PYTHON_DEPS}
|
||||
>=dev-util/gdbus-codegen-${PV}
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-libs/libxslt-1.0
|
||||
>=sys-devel/gettext-0.11
|
||||
>=dev-util/gtk-doc-am-1.15
|
||||
systemtap? ( >=dev-util/systemtap-1.3 )
|
||||
test? (
|
||||
sys-devel/gdb
|
||||
${PYTHON_DEPS}
|
||||
>=dev-util/gdbus-codegen-${PV}
|
||||
>=sys-apps/dbus-1.2.14 )
|
||||
!<dev-libs/gobject-introspection-1.$(get_version_component_range 2)
|
||||
!<dev-util/gtk-doc-1.15-r2
|
||||
"
|
||||
# gobject-introspection blocker to ensure people don't mix
|
||||
# different g-i and glib major versions
|
||||
|
||||
PDEPEND="x11-misc/shared-mime-info
|
||||
!<gnome-base/gvfs-1.6.4-r990"
|
||||
# shared-mime-info needed for gio/xdgmime, bug #409481
|
||||
# Earlier versions of gvfs do not work with glib
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux ; then
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Prevent build failure in stage3 where pkgconfig is not available, bug #481056
|
||||
mv -f "${WORKDIR}"/pkg-config-*/pkg.m4 "${S}"/m4macros/ || die
|
||||
|
||||
# Fix gmodule issues on fbsd; bug #184301, upstream bug #107626
|
||||
epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
|
||||
|
||||
if use test; then
|
||||
# Do not try to remove files on live filesystem, upstream bug #619274
|
||||
sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \
|
||||
-i "${S}"/gio/tests/desktop-app-info.c || die "sed failed"
|
||||
|
||||
# Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629, upstream bug #629163
|
||||
if ! has_version dev-util/desktop-file-utils ; then
|
||||
ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
|
||||
ewarn "think on installing it to get these tests run."
|
||||
sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
|
||||
sed -i -e "/desktop-app-info\/default/d" gio/tests/desktop-app-info.c || die
|
||||
sed -i -e "/desktop-app-info\/fallback/d" gio/tests/desktop-app-info.c || die
|
||||
sed -i -e "/desktop-app-info\/lastused/d" gio/tests/desktop-app-info.c || die
|
||||
fi
|
||||
|
||||
# Disable tests requiring dbus-python and pygobject; bugs #349236, #377549, #384853
|
||||
if ! has_version dev-python/dbus-python || ! has_version 'dev-python/pygobject:3' ; then
|
||||
ewarn "Some tests will be skipped due to dev-python/dbus-python or dev-python/pygobject:3"
|
||||
ewarn "not being present on your system, think on installing them to get these tests run."
|
||||
sed -i -e "/connection\/filter/d" gio/tests/gdbus-connection.c || die
|
||||
sed -i -e "/connection\/large_message/d" gio/tests/gdbus-connection-slow.c || die
|
||||
sed -i -e "/gdbus\/proxy/d" gio/tests/gdbus-proxy.c || die
|
||||
sed -i -e "/gdbus\/proxy-well-known-name/d" gio/tests/gdbus-proxy-well-known-name.c || die
|
||||
sed -i -e "/gdbus\/introspection-parser/d" gio/tests/gdbus-introspection.c || die
|
||||
sed -i -e "/g_test_add_func/d" gio/tests/gdbus-threading.c || die
|
||||
sed -i -e "/gdbus\/method-calls-in-thread/d" gio/tests/gdbus-threading.c || die
|
||||
# needed to prevent gdbus-threading from asserting
|
||||
ln -sfn $(type -P true) gio/tests/gdbus-testserver.py
|
||||
fi
|
||||
fi
|
||||
|
||||
# gdbus-codegen is a separate package
|
||||
epatch "${FILESDIR}/${PN}-2.31.x-external-gdbus-codegen.patch"
|
||||
|
||||
# leave python shebang alone
|
||||
sed -e '/${PYTHON}/d' \
|
||||
-i glib/Makefile.{am,in} || die
|
||||
|
||||
# Gentoo handles completions in a different directory
|
||||
sed -i "s|^completiondir =.*|completiondir = $(get_bashcompdir)|" \
|
||||
gio/Makefile.am || die
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=679306
|
||||
epatch "${FILESDIR}/${PN}-2.34.0-testsuite-skip-thread4.patch"
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=679308
|
||||
epatch "${FILESDIR}/${PN}-2.34.3-testsuite-skip-gdbus-auth-tests.patch"
|
||||
|
||||
# build failure with automake-1.13; fixed upstream in 2.36
|
||||
epatch "${FILESDIR}/${PN}-2.34.3-automake-1.13.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
# Needed for the punt-python-check patch, disabling timeout test
|
||||
# Also needed to prevent croscompile failures, see bug #267603
|
||||
# Also needed for the no-gdbus-codegen patch
|
||||
eautoreconf
|
||||
|
||||
[[ ${CHOST} == *-freebsd* ]] && elibtoolize
|
||||
|
||||
epunt_cxx
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Avoid circular depend with dev-util/pkgconfig and
|
||||
# native builds (cross-compiles won't need pkg-config
|
||||
# in the target ROOT to work here)
|
||||
if ! tc-is-cross-compiler && ! $(tc-getPKG_CONFIG) --version >& /dev/null; then
|
||||
if has_version sys-apps/dbus; then
|
||||
export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include"
|
||||
export DBUS1_LIBS="-ldbus-1"
|
||||
fi
|
||||
export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)"
|
||||
export LIBFFI_LIBS="-lffi"
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
# Building with --disable-debug highly unrecommended. It will build glib in
|
||||
# an unusable form as it disables some commonly used API. Please do not
|
||||
# convert this to the use_enable form, as it results in a broken build.
|
||||
use debug && myconf="--enable-debug"
|
||||
|
||||
if use test; then
|
||||
myconf="${myconf} --enable-modular-tests"
|
||||
else
|
||||
if [[ ${PV} = 9999 ]] && use doc; then
|
||||
# need to build tests if USE=doc for bug #387385
|
||||
myconf="${myconf} --enable-modular-tests"
|
||||
else
|
||||
myconf="${myconf} --disable-modular-tests"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Always use internal libpcre, bug #254659
|
||||
econf ${myconf} \
|
||||
$(use_enable xattr) \
|
||||
$(use_enable fam) \
|
||||
$(use_enable selinux) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable systemtap dtrace) \
|
||||
$(use_enable systemtap systemtap) \
|
||||
--enable-man \
|
||||
--with-pcre=internal \
|
||||
--with-threads=posix \
|
||||
--with-xml-catalog="${EPREFIX}/etc/xml/catalog"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use utils ; then
|
||||
python_replicate_script "${ED}"/usr/bin/gtester-report
|
||||
else
|
||||
rm "${ED}usr/bin/gtester-report"
|
||||
rm "${ED}usr/share/man/man1/gtester-report.1"
|
||||
fi
|
||||
|
||||
# Do not install charset.alias even if generated, leave it to libiconv
|
||||
rm -f "${ED}/usr/lib/charset.alias"
|
||||
|
||||
# Don't install gdb python macros, bug 291328
|
||||
rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/"
|
||||
|
||||
dodoc AUTHORS ChangeLog* NEWS* README
|
||||
|
||||
# Completely useless with or without USE static-libs, people need to use
|
||||
# pkg-config
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
src_test() {
|
||||
gnome2_environment_reset
|
||||
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
export XDG_CONFIG_DIRS=/etc/xdg
|
||||
export XDG_DATA_DIRS=/usr/local/share:/usr/share
|
||||
export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
|
||||
unset GSETTINGS_BACKEND # bug 352451
|
||||
export LC_TIME=C # bug #411967
|
||||
python_export_best
|
||||
|
||||
# Related test is a bit nitpicking
|
||||
mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
|
||||
chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
|
||||
|
||||
# Hardened: gdb needs this, bug #338891
|
||||
if host-is-pax ; then
|
||||
pax-mark -mr "${S}"/tests/.libs/assert-msg-test \
|
||||
|| die "Hardened adjustment failed"
|
||||
fi
|
||||
|
||||
# Need X for dbus-launch session X11 initialization
|
||||
Xemake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Inform users about possible breakage when updating glib and not dbus-glib, bug #297483
|
||||
# TODO: add a subslotted virtual to trigger this automatically
|
||||
if has_version dev-libs/dbus-glib; then
|
||||
ewarn "If you experience a breakage after updating dev-libs/glib try"
|
||||
ewarn "rebuilding dev-libs/dbus-glib"
|
||||
fi
|
||||
|
||||
if has_version '<x11-libs/gtk+-3.0.12:3'; then
|
||||
# To have a clear upgrade path for gtk+-3.0.x users, have to resort to
|
||||
# a warning instead of a blocker
|
||||
ewarn
|
||||
ewarn "Using <gtk+-3.0.12:3 with ${P} results in frequent crashes."
|
||||
ewarn "You should upgrade to a newer version of gtk+:3 immediately."
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST camlp5-6.02.3.tgz 653958 SHA256 329f8e577a6f9ac749a0d6fd22acb8385ae17dda3942ba415e27846304e42bfd SHA512 caef8ac0146c8d2fff798cba43e0bc1d90b0ea54b1f15eceeb202912ae4446dc6ad10af12f32ea166aabfe3f406334b133fcc82009411de922038e7a6306f467 WHIRLPOOL 4fd94119ee12575a14c0ad9019c6300bd58cae14949e19cef20d21e38987f945805e9301bf782a6de4add7bb9b10b6988feba9014caffc0d76b1381960c2dba4
|
||||
DIST camlp5-6.07-patch-1.patch 1008 SHA256 a2c77cb617bf5f212bcd344b7e4e3c55cc9ae2a44af82dd86359a209184f4d57 SHA512 d7249daf60fdd5a94db2d0692bb88078ec0d83ec94dae94db40ae43e68ec50e047213bbcfb0d6b2bdb368896c2d5f798610894f573ace7dc82bc65ab04a83432 WHIRLPOOL 0d25024cae0666cdf838a0537e8829e6446e99eadf3192a8e2551f205b0dda65eb820ed6cb09a07b837a08babea9d0857e60d2267afe81c6a67ac880b8feb5e0
|
||||
DIST camlp5-6.07.tgz 682883 SHA256 be8282958acd8af8cc7c8c1065bfee12e1dac27b5eef76f54376d795fb16b689 SHA512 ae22f6a610fc5946c160ce612efdf8a95d8d527aa882b3879a551d99c4bb429d6e8302de07ae623711d86cf9a84a8ff3a5f37fc7774c32f156bdecc42446c72d WHIRLPOOL 2be069c1c72f77d64f1a825280c1d20254cf88a2169d0176c772c10500b60d01632fbeb9d89de903c071e6c1e70df878727892018ed75314c905809b87a1602c
|
||||
DIST camlp5-6.11.tgz 686711 SHA256 65521c1d316ea6c0e794d07bd331bdb091840d3ab41c16b50005d7685a2cab37 SHA512 e9a4393810d677d2bfea264f43b2cfa1f86956f3f201dbeec04d864f051c652420488562fa5b3da54455bc939374a32e1ee87d9b868a4e7b18245e14dbe14e91 WHIRLPOOL 6e5482d3f9f44f21b82e3413402fc8032d570908bacb8d184a9d0a6ad005b84b6db1f353bd0da9d5d59c11637b81b4f8a8fd0705b2840935b63671a6e90bf4dd
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlp5/camlp5-6.11.ebuild,v 1.1 2013/08/15 23:57:35 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit multilib findlib eutils
|
||||
|
||||
MY_P=${P%_p*}
|
||||
DESCRIPTION="A preprocessor-pretty-printer of ocaml"
|
||||
HOMEPAGE="http://pauillac.inria.fr/~ddr/camlp5/"
|
||||
SRC_URI="http://pauillac.inria.fr/~ddr/camlp5/distrib/src/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="doc +ocamlopt"
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHLEVEL=${PV#*_p}
|
||||
PATCHLIST=""
|
||||
|
||||
if [ "${PATCHLEVEL}" != "${PV}" ] ; then
|
||||
for (( i=1; i<=PATCHLEVEL; i++ )) ; do
|
||||
SRC_URI="${SRC_URI}
|
||||
http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-${PV%_p*}-${i} -> ${MY_P}-patch-${i}.patch"
|
||||
PATCHLIST="${PATCHLIST} ${MY_P}-patch-${i}.patch"
|
||||
done
|
||||
fi
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
for i in ${PATCHLIST} ; do
|
||||
epatch "${DISTDIR}/${i}"
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--strict \
|
||||
-prefix /usr \
|
||||
-bindir /usr/bin \
|
||||
-libdir /usr/$(get_libdir)/ocaml \
|
||||
-mandir /usr/share/man || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
emake out
|
||||
if use ocamlopt; then
|
||||
emake opt
|
||||
emake opt.opt
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
# findlib support
|
||||
insinto "$(ocamlfind printconf destdir)/${PN}"
|
||||
doins etc/META
|
||||
|
||||
use doc && dohtml -r doc/*
|
||||
|
||||
dodoc CHANGES DEVEL ICHANGES README UPGRADING MODE
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Net-IMAP-Simple-1.2034.tar.gz 77541 SHA256 80e51d037a4bcea5d3a0b8cca5292fe5956527fdf41adc17c8b7c36d1ea71ef8 SHA512 c8af7fee345bd2e5dc8e975c09bc141df509dd600f092e962dba264cc49f7ee10d65802af8861343fad5533b4cccdce77347feec20dc0964985b4e8ee7857181 WHIRLPOOL 1fddaf4895f98a3ad14fa39857f2583753569fcf5f307f353e67ceb0e7583349c5c4826de9d473af6ec113fb49db3e12477d2d12174b3e237283a6ad7ac45aed
|
||||
DIST Net-IMAP-Simple-1.2201.tar.gz 44932 SHA256 a62680a8020fa353f17d921626e27c628caa44e0e94c79987901d29d3946c1ac SHA512 bf837d956fbfca975e15c59bdb933ff07ad121fbd65f9de80d3eab0b077b90995990e0421624a9d0494893df651de290a0e1dc0ec2e7a212942cdcd1a2f529e1 WHIRLPOOL 1442403c55ca57194e708ccfb35ff80c0de5d7d47f747934e00f013b30ebdb79efb2e1ca55cdb3edf8f17979ec8dc6cbddf14485cb9f1c99001b1de8a45712b0
|
||||
|
@ -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-perl/Net-IMAP-Simple/Net-IMAP-Simple-1.220.100.ebuild,v 1.1 2013/08/16 06:48:42 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=JETTERO
|
||||
MODULE_VERSION=1.2201
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl extension for simple IMAP account handling."
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/Class-Accessor
|
||||
dev-perl/Coro
|
||||
dev-perl/DateTime
|
||||
dev-perl/DateTime-Format-Mail
|
||||
dev-perl/DateTime-Format-Natural
|
||||
dev-perl/Email-Address
|
||||
dev-perl/Email-MIME
|
||||
dev-perl/Email-MIME-ContentType
|
||||
dev-perl/Email-Simple
|
||||
dev-perl/Encode-IMAPUTF7
|
||||
virtual/perl-MIME-Base64
|
||||
dev-perl/List-MoreUtils
|
||||
dev-perl/Net-SSLeay
|
||||
dev-perl/Net-Server-Coro
|
||||
dev-perl/regexp-common
|
||||
dev-perl/DateTime-Format-Strptime
|
||||
dev-perl/Parse-RecDescent"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-libevent/pecl-libevent-0.1.0-r1.ebuild,v 1.1 2013/08/15 13:35:53 olemarkus Exp $
|
||||
|
||||
EAPI=5
|
||||
PHP_EXT_NAME="libevent"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
USE_PHP="php5-5 php5-4"
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP wrapper for libevent"
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libevent-1.4.0"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-yaml/pecl-yaml-1.1.0-r1.ebuild,v 1.1 2013/08/15 13:36:40 olemarkus Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PHP_EXT_NAME="yaml"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="CREDITS EXPERIMENTAL README"
|
||||
|
||||
USE_PHP="php5-5 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Support for YAML 1.1 (YAML Ain't Markup Language) serialization
|
||||
using the LibYAML library."
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libyaml-0.1.0"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,5 +1,6 @@
|
||||
DIST kombu-1.0.4.tar.gz 201925 SHA256 a876b9dd923e2d719afa7491e6d7a90829ebc9d836d8c4f71332984042693140 SHA512 fd321400c8b28d445f7665322671f2311b336d8ef94ca26ebcaf2d30b02a81d312564b863a873cda2df9b5f0f62a28bfe10b52fc21ffa89b3e66a4caa9fb1df7 WHIRLPOOL 0f1d4e918d194860798292d28e6f9a21b5ee6939a5ad2bd6966aaa2d77c171d5531006ba206fcef8fdd264e53799a7aa2ff7958158b69076796f9cd4489ae5a5
|
||||
DIST kombu-2.4.10.tar.gz 291204 SHA256 211cb68b133578338aac0990d31d9255ed54b5f1861fb2cd54c1bb28bdbc8a6e SHA512 e2d10d2d3c13072b079e29f12094b9a88e55f58e1368da1ebc0eedface3c1e0bdd5d3d7ac00469027051b61c3285a30f7b6d47a0fe8345d8bf04cb2a7b1f8748 WHIRLPOOL 6e4324dbabc1a61c7f4596e6bd54d750fc6f39f28e364c13213f130149a070153bd36fd76e2fef3ceaea4ded4cd79b3cc1c3708a2da20be4c5f1d06a2fa3bc6c
|
||||
DIST kombu-2.5.10.tar.gz 304810 SHA256 01c1e56fe88053b6e7801682277c4cc8318c485d8bd47c830c08567bfac680e2 SHA512 f42c8b1dc2e5b39c5a6bad4e69d4cd532bac978d7f9ec6e6337032228aada3c4fc2d6f434c6d2ac6b2f4e0a806223b24bb592d8ddaee20ab723bb7b6db6cfe0f WHIRLPOOL 05b0057775e1fd2b34b10e46950ba3455b5d1716a6d50f5fdff0d2b8f343e34517b65611a21eb15936deeb9d9324c878bbc2959344230e1d0111f3a5ebc5bb4f
|
||||
DIST kombu-2.5.12.tar.gz 306807 SHA256 cc5b33eb96fd2d3846bd0b2fec34cfacf8205b69a1669a17c97af77bc6f1aa09 SHA512 730ab4d134995af07491ca5186c54fe2db26036ee12f881c16199f8e024e83b55284f8c3e33b194b04564c03247afee30073697c5707b01c902369717b772fa2 WHIRLPOOL 03c9e58e9498521327590e1ee5e77a8e4108dbd5fbbfb63aaa6f9b9efb24e2fcaebfb7e15408f20a8781beafb21e3ee81829b20a57d2b8a8c30c81db730a6cb5
|
||||
DIST kombu-2.5.4.tar.gz 300506 SHA256 92cfb82af1d3e8753258d660003769461b75abe0f1a03d720709a211042f358b SHA512 5b6ba84de66f3b86b68778d1473cae4ddbab96f27aedb0906d258b496be3180fcd72c387bf76e46f98f899090cd1f9d25e38a8278b903759127a3e411c581604 WHIRLPOOL c94b54b35536a287ebd16b7f18634a918cba03702d38ccc70391671cce3e29e1a1ef7218bb853bad205eaa58740a3f990af80df8d71fed7f3e507f345dc358c7
|
||||
DIST kombu-2.5.6.tar.gz 301670 SHA256 01c0ba72782535df913b519d6509835f8210b4dbfde652d3a1c6f545d737beb9 SHA512 f67354d71ce5f187aa7e914e3e1336ec7b1deb2cba376784b7c9998eb5d12daf4510d0071670f4d3039e8b0b570fed772558b28a37d1680af29721e7aafa7791 WHIRLPOOL 3057c8835cab3dc6ac3ecce8cd36279c61d1b1a40b44cf506fc61d82b41d5d0c3b57cb514d33640010ca313a8d5a4efa60f4bb4a326e0e2b2effed44738d8571
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/kombu-2.5.12.ebuild,v 1.1 2013/08/15 11:54:14 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="amqplib doc examples test"
|
||||
|
||||
RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
=dev-python/py-amqp-1.0.12[${PYTHON_USEDEP}]
|
||||
amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/redis-py[${PYTHON_USEDEP}]
|
||||
dev-python/pymongo[$(python_gen_usedep python2_7)]
|
||||
dev-python/msgpack[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/beanstalkc[$(python_gen_usedep python2_7)]
|
||||
dev-python/couchdb-python[$(python_gen_usedep python2_7)]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
# Req'd for tests
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
https://github.com/celery/kombu/issues/246
|
||||
sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html || die "kombu docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://github.com/celery/kombu/issues/246; 'test_serialization.py' errors only in py3.2
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
if [[ "${EPYTHON}" == python3* ]]; then
|
||||
nosetests --py3where=build/lib \
|
||||
-e test_produce_consume -e test_produce_consume_noack -e test_msgpack_decode kombu/tests \
|
||||
|| die "Tests failed under ${EPYTHON}"
|
||||
else
|
||||
# funtests appears to be coded only for py2, a kind of 2nd tier.
|
||||
nosetests "${S}"/kombu/tests -e test_msgpack_decode || die "Tests failed under ${EPYTHON}"
|
||||
nosetests funtests || die "Tests failed under ${EPYTHON}"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pyside-qt4.8+1.1.2.tar.bz2 3758918 SHA256 e15efc67feeda6cfdd9574673fd30f769d9b6529dfd64d53efc80224aecb107a SHA512 16651b13f5ab096313fe4fc1ff9580f241c61ff98167018459720eca6faeed7af3dc6918c85913ee07c4cd27f0070c7c1c204d81a5538754ce7b9dc2b79c41b1 WHIRLPOOL a086b4dc09c1b1a376363c0f3858d8bccd39d083bbdd484ec8b833ddd21fc6502174c2382bd10cbfe99ec4cadee740e3e16ff745ccad30ed0b611275e54049b9
|
||||
DIST pyside-qt4.8+1.2.0.tar.bz2 3763751 SHA256 5de3976f9623b1d1b7f3906a27b5c4bff26179c427aefe80f56f5cf43618d1c1 SHA512 a7006c4da0856412a8aac6877e5b827214a171c20688fa6527daf45838a0e7167b1a8d144cadbafeb220be0eeb7aee83c009e355dfb1b7ef59e5d215fa486bc8 WHIRLPOOL 9fa3fea64340e2900052a76a5bbfc66d2bad086276696ce25947eaa198f9cc4c507355a602746e098107d82b43988ed3434e3369d313acb4970c6d011c61c1aa
|
||||
|
@ -0,0 +1,131 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.2.0.ebuild,v 1.1 2013/08/15 10:19:36 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} )
|
||||
|
||||
inherit multilib cmake-utils python-r1 virtualx
|
||||
|
||||
MY_P="${PN}-qt4.8+${PV}"
|
||||
|
||||
DESCRIPTION="Python bindings for the Qt framework"
|
||||
HOMEPAGE="http://qt-project.org/wiki/PySide"
|
||||
SRC_URI="http://download.qt-project.org/official_releases/${PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="X declarative designer help kde multimedia opengl phonon script scripttools sql svg test webkit xmlpatterns"
|
||||
|
||||
REQUIRED_USE="
|
||||
declarative? ( X )
|
||||
designer? ( X )
|
||||
help? ( X )
|
||||
multimedia? ( X )
|
||||
opengl? ( X )
|
||||
phonon? ( X )
|
||||
scripttools? ( X script )
|
||||
sql? ( X )
|
||||
svg? ( X )
|
||||
test? ( X )
|
||||
webkit? ( X )
|
||||
"
|
||||
|
||||
# Minimal supported version of Qt.
|
||||
QT_PV="4.7.0:4"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/shiboken-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
X? (
|
||||
>=dev-qt/qtgui-${QT_PV}[accessibility]
|
||||
>=dev-qt/qttest-${QT_PV}
|
||||
)
|
||||
declarative? ( >=dev-qt/qtdeclarative-${QT_PV} )
|
||||
designer? ( || ( dev-qt/designer:4 <dev-qt/qtgui-4.8.5:4 ) )
|
||||
help? ( >=dev-qt/qthelp-${QT_PV} )
|
||||
multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} )
|
||||
opengl? ( >=dev-qt/qtopengl-${QT_PV} )
|
||||
phonon? (
|
||||
kde? ( media-libs/phonon )
|
||||
!kde? ( || ( >=dev-qt/qtphonon-${QT_PV} media-libs/phonon ) )
|
||||
)
|
||||
script? ( >=dev-qt/qtscript-${QT_PV} )
|
||||
sql? ( >=dev-qt/qtsql-${QT_PV} )
|
||||
svg? ( >=dev-qt/qtsvg-${QT_PV}[accessibility] )
|
||||
webkit? ( >=dev-qt/qtwebkit-${QT_PV} )
|
||||
xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( ChangeLog )
|
||||
|
||||
src_prepare() {
|
||||
# Fix generated pkgconfig file to require the shiboken
|
||||
# library suffixed with the correct python version.
|
||||
sed -i -e '/^Requires:/ s/shiboken$/&@SHIBOKEN_PYTHON_SUFFIX@/' \
|
||||
libpyside/pyside.pc.in || die
|
||||
|
||||
if use prefix; then
|
||||
cp "${FILESDIR}"/rpath.cmake .
|
||||
sed \
|
||||
-i '1iinclude(rpath.cmake)' \
|
||||
CMakeLists.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_build test TESTS)
|
||||
$(cmake-utils_use_disable X QtGui)
|
||||
$(cmake-utils_use_disable X QtTest)
|
||||
$(cmake-utils_use_disable declarative QtDeclarative)
|
||||
$(cmake-utils_use_disable designer QtDesigner)
|
||||
$(cmake-utils_use_disable designer QtUiTools)
|
||||
$(cmake-utils_use_disable help QtHelp)
|
||||
$(cmake-utils_use_disable multimedia QtMultimedia)
|
||||
$(cmake-utils_use_disable opengl QtOpenGL)
|
||||
$(cmake-utils_use_disable phonon)
|
||||
$(cmake-utils_use_disable script QtScript)
|
||||
$(cmake-utils_use_disable scripttools QtScriptTools)
|
||||
$(cmake-utils_use_disable sql QtSql)
|
||||
$(cmake-utils_use_disable svg QtSvg)
|
||||
$(cmake-utils_use_disable webkit QtWebKit)
|
||||
$(cmake-utils_use_disable xmlpatterns QtXmlPatterns)
|
||||
)
|
||||
|
||||
configuration() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_SUFFIX="-${EPYTHON}"
|
||||
"${mycmakeargs[@]}"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
python_foreach_impl configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl cmake-utils_src_make
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
local VIRTUALX_COMMAND="cmake-utils_src_test"
|
||||
python_foreach_impl virtualmake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
cmake-utils_src_install
|
||||
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-${EPYTHON}}.pc || die
|
||||
}
|
||||
python_foreach_impl installation
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST shiboken-1.1.2.tar.bz2 1067457 SHA256 8f9e8fbe7b3667aafdf6bc88663d28f43999d7ccbfdc3e63aa791db1a554a9dd SHA512 520818743497d82ca2e111a617176068d9daf47b96e8a545949ca644f000d2281dac4d0bd1c12af7822a4895b4019a6e1a76eca47121e792669be0f5ba6f6bd6 WHIRLPOOL b85747663a969c8bac711d55ca4b20de03715777289ef453d6c88354e1ede39f1a3f9c1286ddbcb130570cd49bbfd4f299b46aca822b6f6edcf23e039db9c126
|
||||
DIST shiboken-1.2.0.tar.bz2 1065040 SHA256 057756eb22c4aa047adc74e99cc30a4afcca6ee36d3d61e9247fa3cc4f84c86c SHA512 0bc54a55db028bb32bb66ea1bda1be9c5fdb46eeaa73b834881bb0770c52870340a02172e3830eeb97cceba9a6a01c2ea6b46591e63ce81cb8e31f56babd1457 WHIRLPOOL 9996a73308c5291d6b7e154b882d46b3678c345d734fb8eb4604336b31b6ed9dc598a01571c931782788d47055f06718ab7a48afe295baf0c6ad2cf46ccf7650
|
||||
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.2.0.ebuild,v 1.1 2013/08/15 09:45:01 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} )
|
||||
|
||||
inherit multilib cmake-utils python-r1
|
||||
|
||||
DESCRIPTION="A tool for creating Python bindings for C++ libraries"
|
||||
HOMEPAGE="http://qt-project.org/wiki/PySide"
|
||||
SRC_URI="http://download.qt-project.org/official_releases/pyside/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.6.32
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
>=dev-qt/qtcore-4.7.0:4
|
||||
>=dev-qt/qtxmlpatterns-4.7.0:4
|
||||
!dev-python/apiextractor
|
||||
!dev-python/generatorrunner
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtgui-4.7.0:4
|
||||
>=dev-qt/qttest-4.7.0:4
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog )
|
||||
|
||||
src_prepare() {
|
||||
# Fix inconsistent naming of libshiboken.so and ShibokenConfig.cmake,
|
||||
# caused by the usage of a different version suffix with python >= 3.2
|
||||
sed -i -e "/get_config_var('SOABI')/d" \
|
||||
cmake/Modules/FindPython3InterpWithDebug.cmake || die
|
||||
|
||||
if use prefix; then
|
||||
cp "${FILESDIR}"/rpath.cmake .
|
||||
sed \
|
||||
-i '1iinclude(rpath.cmake)' \
|
||||
CMakeLists.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
-DPYTHON_SITE_PACKAGES="$(python_get_sitedir)"
|
||||
-DPYTHON_SUFFIX="-${EPYTHON}"
|
||||
$(cmake-utils_use_build test TESTS)
|
||||
)
|
||||
|
||||
if [[ ${EPYTHON} == python3* ]]; then
|
||||
mycmakeargs+=(
|
||||
-DUSE_PYTHON3=ON
|
||||
-DPYTHON3_INCLUDE_DIR="$(python_get_includedir)"
|
||||
-DPYTHON3_LIBRARY="$(python_get_library_path)"
|
||||
)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
python_foreach_impl configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl cmake-utils_src_make
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
cmake-utils_src_install
|
||||
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-${EPYTHON}}.pc || die
|
||||
}
|
||||
python_foreach_impl installation
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST addressable-2.3.3.gem 92160 SHA256 10961d0e3e621365d4ed9d2af7817a156452efff2253922f84044fa4d640c55a SHA512 d3b4ade60a0b92b8ac6c7d8848bc2bbe05d28491167bdf6b79da48a2e9dae10f8ec111d5909d63fecf4506e5526663253157c6ab841e10f1749c26b39abc88ab WHIRLPOOL 1fb006007e0f178688fe11368a559ec7b4aa8a0c5972b3e25df2e4ae9591e7dc93eb80ce184726cf273813b01842c588e704408d07917a67c5664135476fd87b
|
||||
DIST addressable-2.3.4.gem 94720 SHA256 786b58ea02a08caefe15802bb64a7d35b025d39cc082de10330c279ffbe63e17 SHA512 43d1f33bcccc02cfc1e70e1da0817d55b8907dcc314344134533abe03ef2c9c70dc9b3b39e383b76fdb8df19d20ee04dbfdadfa86f663cee8e5fbd429d2207ad WHIRLPOOL 7ceeb157187f07267ff06fb78039711608f7fa726c0287cb727b2901a6ec9eb8c939ba645e75f118d302165ee3cfa282765553218a289747845aee29b051ae9b
|
||||
DIST addressable-2.3.5.gem 96768 SHA256 e74d0e825fe79b12943c7e3cbd3a5c92f7e3ebb94485b2493d320d6876321b86 SHA512 bd0268417e5b66928bf2ef8bd3dce65b3be8fba8a37b1c0e867b68108256323e588b0edeb358cdb37ea576f6e830f360383b2557fa0c9d195f27366f7c26f263 WHIRLPOOL 3c687fb6b330eedc6fd4f7f5a21712d574d2c4158f48eb542cbbff82c01566540602b6ba42a8acfd3b3a2cd7c49a2d350d4b4fff8008976b11eaed425e653a36
|
||||
|
@ -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-ruby/addressable/addressable-2.3.5.ebuild,v 1.1 2013/08/16 05:07:03 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:yard"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RAKE_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A replacement for the URI implementation that is part of Ruby's standard library."
|
||||
HOMEPAGE="http://addressable.rubyforge.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove spec-related tasks so that we don't need to require rspec
|
||||
# just to build the documentation, bug 383611.
|
||||
sed -i -e '/spectask/d' Rakefile || die
|
||||
rm tasks/rspec.rake || die
|
||||
sed -i -e '/[Cc]overalls/d' spec/spec_helper.rb || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST atomic-1.1.10.gem 16384 SHA256 508a337c2d14fd514fc6cc45adf4129e4c7a3a172a0790ae5a4646989c584657 SHA512 57b2e433f71ac7cb46ee6ae6c3ee7e71500a6aff7fcf193120136659ec9e777fa7aa23f7365e9d1461d09cdc469b52bffa0cc0c6a17da24ead6ae8533adeacd5 WHIRLPOOL 8c81708e98e7887ecac00d188e094a66533f762e4344707ecaa73afa6564785bbb1e460d8485a633743dbd0b34024d3016e3d2a3f43405c14f5c1cfc4001d5b1
|
||||
DIST atomic-1.1.12.gem 16384 SHA256 7b0cf12e2d481a7aa218df8a29b9a7e53538c12b0f8f6c12d39ffeca358c130d SHA512 c43e529fcfec3f5648f1b373d7f4978130858a49130530dde46ce05bf3563332cee149b2c68569f213cc0f4ce8f7c0edbfe202ed0b1afbfc4541ccf5e2869739 WHIRLPOOL 9c3c0cfe70b9442a151133443cd27a1e1b8f60454c7d2db328051ac47b616cd0e7f7571d26574d3812aa0f165873532a9020d9163511074a5e42de6ef467def8
|
||||
DIST atomic-1.1.8.gem 17408 SHA256 a4d40ae51332a4c4af8a917dbd639d95f90a23e7b01598b4ec178cbdc290e7d5 SHA512 1c00f57da7d9aa4a0ea6de5f4b73c246c940561181c1c73415dcdbe10a186be6831a23b1be74d475369e6ab5a1c58a5bad1f3c0d4fb2f070112d18537088a8a5 WHIRLPOOL cdeb385b606d9879061d3585ff403be16e9f2e7e993700fc2a233632d116923500d74c3cfe08ecca01e7473d38def1e815f51cadd5d825b720b25bb4efa2d736
|
||||
DIST atomic-1.1.13.gem 16896 SHA256 1ac09cbb3ad811e72b682d68465c209f28bd6c3b1bdda11613d754669943be69 SHA512 bfc65fe334b72ab24fe93e2a4ac21db297607d256006b115dd7ab44e39eb03ef4748160df0e0e9a98be91a3c59633324c1e48c1938159455f132c7799a5d37d1 WHIRLPOOL cb29a7592b6504eb9aef05b534c8dfb2625fdf1935b66833b02240c71cabd52632fa8ec689c836cf3a1c5bbc03df8003ca1b4e29313f6a8a4767dd5fc6c479b4
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/atomic/atomic-1.1.10.ebuild,v 1.1 2013/07/12 05:03:51 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/atomic/atomic-1.1.13.ebuild,v 1.1 2013/08/16 06:12:06 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
# jruby → there is code for this in ext but that requires compiling java.
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/atomic/atomic-1.1.8.ebuild,v 1.1 2013/04/28 06:27:02 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
# jruby → there is code for this in ext but that requires compiling java.
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="An atomic reference implementation for JRuby, Rubinius, and MRI"
|
||||
HOMEPAGE="https://github.com/headius/ruby-atomic"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext
|
||||
cp ext/atomic_reference$(get_modname) lib/ || die
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-expectations/rspec-expectations-2.14.2.ebuild,v 1.1 2013/08/16 05:09:29 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.3"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/rspec-core-2.11.0:2
|
||||
>=dev-ruby/rspec-mocks-2.14.0:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
|
||||
# Remove .rspec options to avoid dependency on newer rspec when
|
||||
# bootstrapping.
|
||||
rm .rspec || die
|
||||
|
||||
# fix up the gemspecs
|
||||
sed -i \
|
||||
-e '/git ls/d' \
|
||||
-e '/add_development_dependency/d' \
|
||||
"${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/selenium-webdriver/selenium-webdriver-2.35.0.ebuild,v 1.1 2013/08/16 06:02:46 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
# NOTE: this package contains precompiled code. It appears that all
|
||||
# source code can be found at http://code.google.com/p/selenium/ but the
|
||||
# repository is not organized in a way so that we can easily rebuild the
|
||||
# suited shared object. We'll just try our luck with the precompiled
|
||||
# objects for now.
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README.md"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_QA_ALLOWED_LIBS="x_ignore_nofocus.so"
|
||||
QA_PREBUILT="*/x_ignore_nofocus.so"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="This gem provides Ruby bindings for WebDriver."
|
||||
HOMEPAGE="http://gemcutter.org/gems/selenium-webdriver"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/childprocess-0.2.5
|
||||
>=dev-ruby/multi_json-1.0.4
|
||||
dev-ruby/rubyzip"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Make websocket a development dependency since it is only needed
|
||||
# for the safari driver which we don't support on Gentoo.
|
||||
sed -i -e '/websocket/,/version_requirements/ s/runtime/development/' ../metadata || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST plan9port-20130320.tgz 54184719 SHA256 d08fd032edc9c27bc549ee9076963812f210476d0d1f21f5300e9d867699ff55 SHA512 fae40eae76a0f3121f47a3895809f2433beed91fc9e879c8cde25e493ec91dfdfc89fe59e3fe3a8aab7c33a2537a02b30857edb3af7f202df4a98e02cee8ecb7 WHIRLPOOL 5b707c8d18c8f1fa8e3d36e8f14a20213cad9ab3344f088f18942034dce3356ba88675c5817a7d50b66275d71d95e6d5fd3fdefbd18bcca9089790e258dbb60f
|
||||
DIST plan9port-20130801.tgz 54187813 SHA256 f6bbf7f8959c908ebcb03395f7ac84904196cd5f8321aa966cc859ae4496b639 SHA512 3595f50da2965437247bca703e7202bbcd68c1d59844b09474c9347fcd2726945b9614ceddc2fdb41724d6e47c7ce812fe125b08bd99ad3a5124e29c296e7466 WHIRLPOOL 0852b99db5d8cd169867edbfa4a2a4cd0869d065bcf79605e13ee99509bee576bc377d5c56d83b17f239903d9852bed7f8f694feeb88432daa82c580068f5ac1
|
||||
DIST plan9port-20130807.tgz 54195491 SHA256 742ea4a4bec8b60116ca4c6bd629eb3882a86ddae26f1ef26415fbd8c5395698 SHA512 2499133a32b14059df49e12177f1b55cbb39aa172a2a43ef6b16a96a267b5ab6da0ff842f89101cc19782e0632fe025c534e32ae36954e05a9b7a0c965f8fab0 WHIRLPOOL ff3526468f38f08036e0c13bb4323e8a1086ac62c6b16c36f278eb51c912ecbfe82609612de3265fdcf1c3dbf6343732ea56dbdb10580f49fedfe42b41be997b
|
||||
DIST plan9port-20130814.tgz 54196312 SHA256 d5b2067a4622e84beb06399d67f4b2eb7a4686014ccfe3e25dba2d4f5962f268 SHA512 c92f0de0be1c90747d578d4cb1a3cd76e76388d1e2332c032260efbcd836d3e06f9892ca46503b400606b5b194c537f4512dccb2b7c65fffaccac50ae273b6e4 WHIRLPOOL 638f262593afb819d614e0c397bba16755055c72508a7c7e40ac0b2318b668fd53197b05ad47a143a0a624701e4b267018fbc0f0a3c86cb6f7eb173751b274d8
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/plan9port/plan9port-20130801.ebuild,v 1.1 2013/08/02 12:19:50 blueness Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/plan9port/plan9port-20130814.ebuild,v 1.1 2013/08/15 12:15:13 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1 +1,2 @@
|
||||
DIST CGenius-1.4.2-Release-Source.tar.gz 872776 SHA256 720d874c38bd27fdc0aa29e753d6382b2d05d5461bcfa56b9ed5efd400f3eb00 SHA512 24d0bc2110e0d2946193df3a048919dfbcfb41410a01adfc57503a2572ee3e42d4a1f513e13aefbf858135b3226e669e1a50343ee50107c280c69703a45f6556 WHIRLPOOL 5c9e6df7364105ce982d5a1aebe92942cd180f51bb687dee2200779fd1e3c2e7dd781e6ad8850315611ab6b4368357abc5a32353076bf055294c17ee77991ff0
|
||||
DIST CGenius-1.6.0-Release-Source.tar.gz 22017212 SHA256 4ca1437321f8eecaaf3198e2e7d204a033549780d795212a3184c7f761f0d3e3 SHA512 84545d4b8db0fe504032d1f3ed988234f68abfbdbb3e8444aafc2c9bad818b7e480b1b2af497429319a838ebe57e1d7cb1d6bf3ed102e04779dc2f591fcd7904 WHIRLPOOL e05dd2a27c53baec9378a34aff5f450d91f39f4fb3b26031f2450ce6b6eb445902e18345c5e3cd4710a2484af301b67fab56bb101b336872c7aed228f8a69c34
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/commandergenius-1.6.0.ebuild,v 1.1 2013/08/16 00:11:22 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils eutils games
|
||||
|
||||
MY_P=CGenius-${PV}-Release-Source
|
||||
DESCRIPTION="Open Source Commander Keen clone (needs original game files)"
|
||||
HOMEPAGE="http://clonekeenplus.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/clonekeenplus/CGenius/V${PV:0:3}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="opengl tremor"
|
||||
RESTRICT="mirror" # tarball contains non-free data which we do not install
|
||||
|
||||
RDEPEND="media-libs/libsdl[X,audio,opengl?,video]
|
||||
media-libs/sdl-image
|
||||
opengl? ( virtual/opengl )
|
||||
tremor? ( media-libs/tremor )
|
||||
!tremor? ( media-libs/libvorbis )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
rm -r vfsroot || die "failed removing non-free game data"
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DAPPDIR="${GAMES_BINDIR}"
|
||||
-DSHAREDIR="/usr/share"
|
||||
-DGAMES_SHAREDIR="${GAMES_DATADIR}"
|
||||
-DDOCDIR="/usr/share/doc/${PF}"
|
||||
-DBUILD_TARGET="LINUX"
|
||||
$(cmake-utils_use opengl OPENGL)
|
||||
$(cmake-utils_use tremor TREMOR)
|
||||
$(cmake-utils_use !tremor OGG)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
newicon CGLogo.png ${PN}.png
|
||||
newgamesbin "${FILESDIR}"/commandergenius-wrapper commandergenius
|
||||
make_desktop_entry commandergenius
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
elog "Check your settings in ~/.CommanderGenius/cgenius.cfg"
|
||||
elog "after you have started the game for the first time."
|
||||
use opengl && elog "You may also want to set \"OpenGL = true\""
|
||||
elog
|
||||
elog "Run the game via:"
|
||||
elog " 'commandergenius [path-to-keen-data]'"
|
||||
elog "or add your keen data dir to the search paths in cgenius.cfg"
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Thu May 9 11:51:38 UTC 2013
|
||||
Subject: fix build
|
||||
|
||||
--- CGenius-1.4.2-Release-Source/install.cmake
|
||||
+++ CGenius-1.4.2-Release-Source/install.cmake
|
||||
@@ -20,11 +20,13 @@
|
||||
DESTINATION ${APPDIR})
|
||||
|
||||
# This will copy the resources files to the proper directory
|
||||
-INSTALL(DIRECTORY vfsroot/
|
||||
- DESTINATION ${DATADIR})
|
||||
+IF(IS_DIRECTORY "${CMAKE_SOURCE_DIR}/vfsroot")
|
||||
+ INSTALL(DIRECTORY vfsroot/
|
||||
+ DESTINATION ${DATADIR})
|
||||
+ENDIF(IS_DIRECTORY "${CMAKE_SOURCE_DIR}/vfsroot")
|
||||
|
||||
# This will copy the readme file.
|
||||
-INSTALL(FILES README
|
||||
+INSTALL(FILES "${CMAKE_BINARY_DIR}/README"
|
||||
DESTINATION ${DOCDIR})
|
||||
|
||||
# This will copy the readme file.
|
@ -0,0 +1,118 @@
|
||||
Originally from https://github.com/mate-desktop/mate-desktop/commit/fcede97471263b7f145ceeb988f569d4aa9129b8
|
||||
Ported to gnome-desktop by Matthew Turnbull <sparky@bluefang-logic.com>
|
||||
|
||||
Fixes nautilus-2 thumbnailing with >=glib-2.34
|
||||
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=450930
|
||||
|
||||
diff -rupN a/libgnome-desktop/gnome-desktop-thumbnail.c b/libgnome-desktop/gnome-desktop-thumbnail.c
|
||||
--- a/libgnome-desktop/gnome-desktop-thumbnail.c
|
||||
+++ b/libgnome-desktop/gnome-desktop-thumbnail.c
|
||||
@@ -526,8 +526,13 @@ gnome_desktop_thumbnail_factory_lookup (
|
||||
|
||||
file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
|
||||
|
||||
+#if GLIB_CHECK_VERSION (2, 34, 0)
|
||||
+ path = g_build_filename (g_get_user_cache_dir (),
|
||||
+ "thumbnails",
|
||||
+#else
|
||||
path = g_build_filename (g_get_home_dir (),
|
||||
".thumbnails",
|
||||
+#endif
|
||||
(priv->size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large",
|
||||
file,
|
||||
NULL);
|
||||
@@ -587,8 +592,13 @@ gnome_desktop_thumbnail_factory_has_vali
|
||||
|
||||
file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
|
||||
|
||||
+#if GLIB_CHECK_VERSION (2, 34, 0)
|
||||
+ path = g_build_filename (g_get_user_cache_dir (),
|
||||
+ "thumbnails/fail",
|
||||
+#else
|
||||
path = g_build_filename (g_get_home_dir (),
|
||||
".thumbnails/fail",
|
||||
+#endif
|
||||
appname,
|
||||
file,
|
||||
NULL);
|
||||
@@ -917,12 +927,17 @@ make_thumbnail_dirs (GnomeDesktopThumbna
|
||||
|
||||
res = FALSE;
|
||||
|
||||
+#if GLIB_CHECK_VERSION (2, 34, 0)
|
||||
+ thumbnail_dir = g_build_filename (g_get_user_cache_dir (),
|
||||
+ "thumbnails",
|
||||
+#else
|
||||
thumbnail_dir = g_build_filename (g_get_home_dir (),
|
||||
".thumbnails",
|
||||
+#endif
|
||||
NULL);
|
||||
if (!g_file_test (thumbnail_dir, G_FILE_TEST_IS_DIR))
|
||||
{
|
||||
- g_mkdir (thumbnail_dir, 0700);
|
||||
+ g_mkdir_with_parents (thumbnail_dir, 0700);
|
||||
res = TRUE;
|
||||
}
|
||||
|
||||
@@ -951,12 +966,17 @@ make_thumbnail_fail_dirs (GnomeDesktopTh
|
||||
|
||||
res = FALSE;
|
||||
|
||||
+#if GLIB_CHECK_VERSION (2, 34, 0)
|
||||
+ thumbnail_dir = g_build_filename (g_get_user_cache_dir (),
|
||||
+ "thumbnails",
|
||||
+#else
|
||||
thumbnail_dir = g_build_filename (g_get_home_dir (),
|
||||
".thumbnails",
|
||||
+#endif
|
||||
NULL);
|
||||
if (!g_file_test (thumbnail_dir, G_FILE_TEST_IS_DIR))
|
||||
{
|
||||
- g_mkdir (thumbnail_dir, 0700);
|
||||
+ g_mkdir_with_parents (thumbnail_dir, 0700);
|
||||
res = TRUE;
|
||||
}
|
||||
|
||||
@@ -1025,8 +1045,13 @@ gnome_desktop_thumbnail_factory_save_thu
|
||||
|
||||
file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
|
||||
|
||||
+#if GLIB_CHECK_VERSION (2, 34, 0)
|
||||
+ path = g_build_filename (g_get_user_cache_dir (),
|
||||
+ "thumbnails",
|
||||
+#else
|
||||
path = g_build_filename (g_get_home_dir (),
|
||||
".thumbnails",
|
||||
+#endif
|
||||
(priv->size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large",
|
||||
file,
|
||||
NULL);
|
||||
@@ -1129,8 +1154,13 @@ gnome_desktop_thumbnail_factory_create_f
|
||||
|
||||
file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
|
||||
|
||||
+#if GLIB_CHECK_VERSION (2, 34, 0)
|
||||
+ path = g_build_filename (g_get_user_cache_dir (),
|
||||
+ "thumbnails/fail",
|
||||
+#else
|
||||
path = g_build_filename (g_get_home_dir (),
|
||||
".thumbnails/fail",
|
||||
+#endif
|
||||
appname,
|
||||
file,
|
||||
NULL);
|
||||
@@ -1221,8 +1251,13 @@ gnome_desktop_thumbnail_path_for_uri (co
|
||||
file = g_strconcat (md5, ".png", NULL);
|
||||
g_free (md5);
|
||||
|
||||
+#if GLIB_CHECK_VERSION (2, 34, 0)
|
||||
+ path = g_build_filename (g_get_user_cache_dir (),
|
||||
+ "thumbnails",
|
||||
+#else
|
||||
path = g_build_filename (g_get_home_dir (),
|
||||
".thumbnails",
|
||||
+#endif
|
||||
(size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large",
|
||||
file,
|
||||
NULL);
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-desktop/gnome-desktop-2.32.1-r2.ebuild,v 1.1 2013/08/15 11:40:05 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit gnome2 python-r1
|
||||
|
||||
DESCRIPTION="Libraries for the gnome desktop that are not part of the UI"
|
||||
HOMEPAGE="http://www.gnome.org/"
|
||||
|
||||
LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="license-docs"
|
||||
|
||||
# Note: gnome-desktop:2 and :3 install identical files in /usr/share/gnome/help
|
||||
# and /usr/share/omf when --enable-desktop-docs is passed to configure. To avoid
|
||||
# file conflict and pointless duplication, gnome-desktop:2[doc] will simply use
|
||||
# the files that are installed by :3[doc]
|
||||
# Note: depend on glib-2.34 to make sure users upgrade glib before gnome-desktop
|
||||
# to get a fix for bug #450930
|
||||
RDEPEND=">=x11-libs/gtk+-2.18:2
|
||||
>=dev-libs/glib-2.34:2
|
||||
>=x11-libs/libXrandr-1.2
|
||||
>=gnome-base/gconf-2:2
|
||||
>=x11-libs/startup-notification-0.5
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
>=dev-util/intltool-0.40
|
||||
virtual/pkgconfig
|
||||
>=app-text/gnome-doc-utils-0.3.2
|
||||
~app-text/docbook-xml-dtd-4.1.2
|
||||
x11-proto/xproto
|
||||
>=x11-proto/randrproto-1.2
|
||||
"
|
||||
PDEPEND=">=dev-python/pygtk-2.8:2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-2.14:2[${PYTHON_USEDEP}]
|
||||
license-docs? ( gnome-base/gnome-desktop:3[doc(+)] )
|
||||
"
|
||||
|
||||
# Includes X11/Xatom.h in libgnome-desktop/gnome-bg.c which comes from xproto
|
||||
# Includes X11/extensions/Xrandr.h that includes randr.h from randrproto (and
|
||||
# eventually libXrandr shouldn't RDEPEND on randrproto)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gold.patch
|
||||
epatch "${FILESDIR}"/${P}-thumbnails.patch #450930
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_export_best
|
||||
gnome2_src_configure \
|
||||
--with-gnome-distributor=Gentoo \
|
||||
--disable-scrollkeeper \
|
||||
--disable-static \
|
||||
--disable-deprecations \
|
||||
--disable-desktop-docs
|
||||
# desktop-docs will be built by gnome-desktop:3
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS ChangeLog HACKING NEWS README"
|
||||
gnome2_src_install
|
||||
# python-r1.eclass doesn't like versioned python shebangs
|
||||
sed -e 's@#!\(.*python.*\)@#!/usr/bin/env python@' -i gnome-about/gnome-about
|
||||
python_doscript gnome-about/gnome-about
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST asymptote-2.21.src.tgz 1797507 SHA256 5fe6cfa880a9dba36105d45e5c2bcd0491240da760d455997656dd6e3b90931e SHA512 10341674f0b88611a341d2cb8abd1dfaec1d2711111bb66fb3cd00442427b432107c6c6deeec548b4c7cf114b77a764f0efe627bf421f990e64626d3bb60a91a WHIRLPOOL d30d88eac92e1e4ea411a54e0bd0149d5146db484113cbbc990cbb5250ef46fac804668929f652fddfc87a094f150692abb5f0f2b2719801fe424eb6e31f4d77
|
||||
DIST asymptote-2.23.src.tgz 1802730 SHA256 f6445523cfcd69805d3b04e91ff823b5caf64b38d32e788141b0fc58a1bc44b7 SHA512 b81c2b99086223b55ff6abbe211600251e5bced91fb8e92784c12a9fafee6335409553d56b8a07baece369af5d6105f5907b64f1c182dcd3c8542a390d302c89 WHIRLPOOL 1123eefc2e11ceb6bdeaf854e969063169b9901f1608939a557326d8b0fe22980f57a371a924a47627eb2d7417273cd656e3849797caa251f21ecd7b9fb4c83e
|
||||
DIST asymptote-2.24.src.tgz 1803089 SHA256 74c79dbffada754dfc27d4a58d5c77e7d54601d57530b00ce915c184ecd8d747 SHA512 0515ca241aec8663d612b790003184f662efe4aa20c14ea84757b7fa6b320e2291145fc8c1bdae624d7d1cf6e8590981e5919aa3ac5868c5b249194ea2b151f7 WHIRLPOOL 31469e42fe8e119e38c5b2c5f247b1e04a8aa06a701e1becc8b390b650ea3c8e323ffc21cad441f634fb1c35099994a1b43835f3928ca09dd1a4ccee935c4e62
|
||||
|
@ -0,0 +1,200 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-2.24.ebuild,v 1.1 2013/08/15 17:38:07 grozin Exp $
|
||||
|
||||
EAPI=4
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
PYTHON_DEPEND="python? 2"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
inherit eutils autotools elisp-common latex-package multilib python
|
||||
|
||||
DESCRIPTION="A vector graphics language that provides a framework for technical drawing"
|
||||
HOMEPAGE="http://asymptote.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex offscreen +opengl python sigsegv svg vim-syntax X"
|
||||
REQUIRED_USE="offscreen? ( opengl )"
|
||||
|
||||
RDEPEND=">=sys-libs/readline-4.3-r5
|
||||
>=sys-libs/ncurses-5.4-r5
|
||||
imagemagick? ( media-gfx/imagemagick[png] )
|
||||
opengl? ( >=media-libs/mesa-8 )
|
||||
offscreen? ( media-libs/mesa[osmesa] )
|
||||
svg? ( app-text/dvisvgm )
|
||||
sigsegv? ( dev-libs/libsigsegv )
|
||||
boehm-gc? ( >=dev-libs/boehm-gc-7.0[cxx,threads] )
|
||||
fftw? ( >=sci-libs/fftw-3.0.1 )
|
||||
gsl? ( sci-libs/gsl )
|
||||
X? ( x11-misc/xdg-utils dev-lang/python virtual/python-imaging[tk] )
|
||||
latex? ( virtual/latex-base dev-texlive/texlive-latexextra )
|
||||
emacs? ( virtual/emacs )
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-lang/perl virtual/texi2dvi virtual/latex-base media-gfx/imagemagick[png] )"
|
||||
|
||||
TEXMF=/usr/share/texmf-site
|
||||
|
||||
src_prepare() {
|
||||
# Fixing sigsegv enabling
|
||||
epatch "${FILESDIR}/${P}-configure-ac.patch"
|
||||
einfo "Patching configure.ac"
|
||||
sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
|
||||
-i configure.ac \
|
||||
|| die "sed configure.ac failed"
|
||||
|
||||
# Changing pdf, ps, image viewers to xdg-open
|
||||
epatch "${FILESDIR}/${P}-xdg-utils.patch"
|
||||
|
||||
# Bug #322473
|
||||
epatch "${FILESDIR}/${P}-info.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# for the CPPFLAGS see
|
||||
# http://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
|
||||
econf CPPFLAGS=-DHAVE_SYS_TYPES_H \
|
||||
CFLAGS="${CXXFLAGS}" \
|
||||
--disable-gc-debug \
|
||||
$(use_enable boehm-gc gc system) \
|
||||
$(use_enable fftw) \
|
||||
$(use_enable gsl) \
|
||||
$(use_enable opengl gl) \
|
||||
$(use_enable offscreen) \
|
||||
$(use_with sigsegv)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd doc
|
||||
emake asy.1
|
||||
if use doc; then
|
||||
# info
|
||||
einfo "Making info"
|
||||
emake ${PN}.info
|
||||
cd FAQ
|
||||
emake
|
||||
cd ..
|
||||
# pdf
|
||||
einfo "Making pdf docs"
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
# see bug #260606
|
||||
emake -j1 asymptote.pdf
|
||||
emake CAD.pdf
|
||||
fi
|
||||
cd ..
|
||||
|
||||
if use emacs; then
|
||||
einfo "Compiling emacs lisp files"
|
||||
elisp-compile base/*.el
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# the program
|
||||
exeinto /usr/bin
|
||||
doexe asy
|
||||
|
||||
# .asy files
|
||||
insinto /usr/share/${PN}
|
||||
doins base/*.asy
|
||||
|
||||
# documentation
|
||||
dodoc BUGS ChangeLog README ReleaseNotes TODO
|
||||
doman doc/asy.1
|
||||
|
||||
# X GUI
|
||||
if use X; then
|
||||
exeinto /usr/share/${PN}/GUI
|
||||
doexe GUI/xasy.py
|
||||
rm GUI/xasy.py
|
||||
insinto /usr/share/${PN}/GUI
|
||||
doins GUI/*.py
|
||||
dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy
|
||||
doman doc/xasy.1x
|
||||
fi
|
||||
|
||||
# examples
|
||||
if use examples; then
|
||||
insinto /usr/share/${PN}/examples
|
||||
doins examples/*.asy \
|
||||
examples/*.eps \
|
||||
doc/*.asy \
|
||||
doc/*.csv \
|
||||
doc/*.dat \
|
||||
doc/extra/*.asy
|
||||
if use X; then
|
||||
doins GUI/*.asy
|
||||
fi
|
||||
insinto /usr/share/${PN}/examples/animations
|
||||
doins examples/animations/*.asy
|
||||
fi
|
||||
|
||||
# LaTeX style
|
||||
if use latex; then
|
||||
cd doc
|
||||
insinto "${TEXMF}"/tex/latex/${PN}
|
||||
doins ${PN}.sty asycolors.sty
|
||||
if use examples; then
|
||||
insinto /usr/share/${PN}/examples
|
||||
doins latexusage.tex
|
||||
fi
|
||||
cd ..
|
||||
fi
|
||||
|
||||
# asymptote.py
|
||||
if use python; then
|
||||
python_install() {
|
||||
insinto "$(python_get_sitedir)"
|
||||
doins base/${PN}.py
|
||||
}
|
||||
python_execute_function python_install
|
||||
fi
|
||||
|
||||
# emacs mode
|
||||
if use emacs; then
|
||||
elisp-install ${PN} base/*.el base/*.elc
|
||||
elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
|
||||
fi
|
||||
|
||||
# vim syntax
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins base/asy.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}"/asy-ftd.vim
|
||||
fi
|
||||
|
||||
# extra documentation
|
||||
if use doc; then
|
||||
cd doc
|
||||
doinfo ${PN}.info*
|
||||
cd FAQ
|
||||
dodoc asy-faq.ascii
|
||||
doinfo asy-faq.info
|
||||
insinto /usr/share/doc/${PF}/html/FAQ
|
||||
doins asy-faq.html/*
|
||||
cd ..
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins ${PN}.pdf CAD.pdf
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize ${PN}.py
|
||||
use latex && latex-package_rehash
|
||||
use emacs && elisp-site-regen
|
||||
|
||||
elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
|
||||
elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup ${PN}.py
|
||||
use latex && latex-package_rehash
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
Index: asymptote-2.24/configure.ac
|
||||
===================================================================
|
||||
--- asymptote-2.24.orig/configure.ac
|
||||
+++ asymptote-2.24/configure.ac
|
||||
@@ -154,7 +154,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then
|
||||
fi
|
||||
CPPFLAGS_SAVE=$CPPFLAGS
|
||||
CPPFLAGS=$CPPFLAGS" $INCL"
|
||||
- AC_CHECK_HEADER(gc.h,
|
||||
+ AC_CHECK_HEADER([gc/gc.h],
|
||||
AC_CHECK_LIB([gc],[GC_malloc],[
|
||||
LIBS=$LIBS"-lgc "
|
||||
AC_MSG_NOTICE([enabling system $GCNAME])],[
|
||||
@@ -227,7 +227,17 @@ AC_MSG_ERROR([*** Please install libm on
|
||||
AC_CHECK_LIB([z], [deflate],,
|
||||
AC_MSG_ERROR([*** Please install libz on your system ***]))
|
||||
AX_PTHREAD
|
||||
-AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler])
|
||||
+
|
||||
+AC_ARG_WITH(sigsegv,
|
||||
+ [ --with-sigsegv use libsigsegv],
|
||||
+ [with_sigsegv=$withval],
|
||||
+ [with_sigsegv="no"])
|
||||
+if test "$with_sigsegv" = "yes"; then
|
||||
+AC_CHECK_HEADER([sigsegv.h],
|
||||
+ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]),
|
||||
+ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***]))
|
||||
+fi
|
||||
+
|
||||
AC_CHECK_LIB([rt], [sched_yield])
|
||||
|
||||
AC_ARG_ENABLE(readline,
|
@ -0,0 +1,13 @@
|
||||
Index: asymptote-2.24/doc/asymptote.texi
|
||||
===================================================================
|
||||
--- asymptote-2.24.orig/doc/asymptote.texi
|
||||
+++ asymptote-2.24/doc/asymptote.texi
|
||||
@@ -21,7 +21,7 @@ file LICENSE in the top-level source dir
|
||||
|
||||
@dircategory Languages
|
||||
@direntry
|
||||
-* asymptote: (asymptote/asymptote). Vector graphics language.
|
||||
+* asymptote: (asymptote). Vector graphics language.
|
||||
@end direntry
|
||||
|
||||
@titlepage
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue