parent
260b9ec007
commit
6f6d35ff7a
@ -1,4 +1,2 @@
|
||||
DIST puppet-2.7.18.gem 1920000 SHA256 147cd18ec39d2768bbc40f2735a84f770d9dde1b5679ba21f37edd6f7db19089 SHA512 e51c09baf2eee908f3b4ad1d90c252eb0eca3a1eb550522d0b612db919de305b724a13fdcc7abac51da31291b4a703b2478d2fc9ebfc5aa995ad677aabc42c83 WHIRLPOOL 9f2f4d30acfddd78f0d57ab0a58f400d6c1218e6f5e6541a5f224b9243f5ef5c2dee64bde5a69dff16df42242fa3f44ee226b4aa411a249fc8acafdd1ae17bf3
|
||||
DIST puppet-2.7.19.gem 1936384 SHA256 aaa225d83a8fe545a6bcd1b1b6c10373f9cec7c41e38caf56bd0d956892cf2f3 SHA512 3d003c22663226996aa6422d18af446768bd81b67e76e8d1aedf18430bb85df73c3695de9d49340e51f948f661f4c6e24bc83d9d428c9f10634219e01fd641b6 WHIRLPOOL 0ffd63338cc55c13f6bb49bf1487f3b890be04a5ce83939848bace35dd51ff4b01b93ddde146197888455cc65cf8fb4228056c749c7802cd471d9b43dcca5c8c
|
||||
DIST puppet-2.7.21.gem 2031616 SHA256 a5eecdbe68cde5ebfd576a9af5ddb0c8c17dae224a7d0b3ec240ef54e6bd88a1 SHA512 638c188b945791fe86c1657343f9d7ec3ef7e86342c35e03dacfae4e99e63d8c09160dd1faf840f244b275e6a0aea3b969668debe9dc1b60cef68cb2513068b5 WHIRLPOOL a4bcb4181e57bda6aaf79fdd484903114e94dcf5196105203538d6d8a1bfefcd6db44f74cbef1c209b086d7b2bfab53d62069da1be034e6c35fe686fd00898bc
|
||||
DIST puppet-3.1.1.tar.gz 1587190 SHA256 4401f6388bb96b1301a107f247af6fa558127d78467bb5cef1a1e0ff66b4463d SHA512 48759776b68f83a125a0c703ecc9ad3efe34f10e6cfd9ddcd9e596ff082c9f40bdb7e0489bf7eb0bb0ce8bdb4ad0ae87049d2ad3133e839d0a5a6caa8419074e WHIRLPOOL d7152ba5397edadba9784f3c1800c8cf31ddd547691b35567ad52a42e82e741256326d2ee0bccec0642e82f533ffb74babcaddf3a0ee54361626b875cc618b2f
|
||||
|
@ -1,178 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.7.18.ebuild,v 1.7 2012/08/26 14:32:00 armin76 Exp $
|
||||
|
||||
EAPI="4"
|
||||
# ruby19: dev-ruby/ruby-ldap has no ruby19
|
||||
#USE_RUBY="ruby18 ruby19 ree18"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
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/"
|
||||
|
||||
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}
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )
|
||||
selinux? ( sec-policy/selinux-puppet )"
|
||||
RDEPEND="${RDEPEND}
|
||||
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"
|
||||
|
||||
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 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-2.7.6.init puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster-2.7.6.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,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.19-r1.ebuild,v 1.7 2013/02/24 18:47:14 ago 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/"
|
||||
|
||||
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=(
|
||||
"${PN}-2.7.18-eix_fix.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,4 +1,2 @@
|
||||
DIST vagrant-1.0.3.gem 1005568 SHA256 bac078af86b5a64e1ea71be68827af051c62d0ec39a2784b2615051fe0d331d9 SHA512 3559942295a0f88d35dc69cc700e4b2da58589c78d1b943f4fde04e4b711752d2dc93740b4277197d0d7dd84eaa68d41f6f64a10407902eaeaad52ddc8f6b0e2 WHIRLPOOL 5b87b5f63b8329e2598d9aa00f1c27807e60a9ee873b803ba4687eebc23b33b1bce47183329a1e376caa2bf69d4f576b0413d25289b23ef2a1e4ed9d9b04b3f6
|
||||
DIST vagrant-1.0.4.gem 1006080 SHA256 a826ecf187ef5f818bce907053152f678b77c636a4a950d341f6db05cc0e41d7 SHA512 f6df89718fd128400df78ab7ee15de3f292d4729a3ea22a97b979e9925d609739f9be41c6adc5cf84db88597b59da84285b3a1e925a9434b81cca22f6c6e9c7d WHIRLPOOL 63f0e8e2592f3f9f4793bf2d3be21c5d9b3ca72d73fac21d648d41ec5d562040f637c86c7622c4402c811562956a16e216ae2a7851374f6880d829c33749f5d0
|
||||
DIST vagrant-1.0.5.gem 1007616 SHA256 7ff4ad6ff4b565c64663b57972e2eb42bf67d6ea95b8e5f34d5d0c5242fe3fc2 SHA512 cb3a5ea53108d00e8f4f7d0a3a395ec26f20b35786a9fe6fb7a507638b1038b10923c62aa03e6a7a9515a2562df3d6983429494b292c610246d3d4d43f23c3dc WHIRLPOOL d84a38f982ccdfc93ba1a541df13143442cb283af2fc7562d38a685e77158b77beea19ab6c806ba0105811fdc196dc4770abc990cab423d09e11d213cf7e5b73
|
||||
DIST vagrant-1.0.6.tar.gz 1005588 SHA256 e3ca4301bc8a1cf3cb0e55931a817d6e6432500ec0c9131095364ddda62bc82f SHA512 b6fcf583d204a3d145e6daa7445038a174b6541580235acf17a058b4ac2e1c71f924a35120a3de507417f72e0fa47d83f3a2d4c7affee3164fca2096defcad5d WHIRLPOOL 677c1081c4df4c21c695b2c03a0d8f4bfaf72f23094e94e128c48717f1bf23825774c85e1a6cfd92ac53e0e1fc90a19871e3cc73d7c911c36608aca68fce38ed
|
||||
DIST vagrant-1.0.7.tar.gz 1005940 SHA256 aebbf855420974f8165019786034f12e3392d5aee7a982242b0d3c9d4cce891a SHA512 351fd08ce97ea0e7623f216900189ec25417173e92103ff7491cd7be38c3549bb8aaa88fd45ef589ed7c2ee64df48373f37e733bed571cac6c9fba69e374f577 WHIRLPOOL f4914ea81dd560e08415a4a3fa15aa3a138de574f9cf14d8196c8a80e1bcbe2ee0910e253a18cea9c57e2f1dd6f5d002397be228f6463b3b7050ee7262b8fbce
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/vagrant-1.0.3.ebuild,v 1.2 2012/06/02 21:02:55 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="config keys templates"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A tool for building and distributing virtual machines using VirtualBox"
|
||||
HOMEPAGE="http://vagrantup.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
# Missing ebuild for contest
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/archive-tar-minitar-0.5.2
|
||||
>=dev-ruby/childprocess-0.3.1
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
>=dev-ruby/i18n-0.6.0
|
||||
>=dev-ruby/json-1.5.1
|
||||
>=dev-ruby/log4r-1.1.9
|
||||
>=dev-ruby/net-scp-1.0.4
|
||||
>=dev-ruby/net-ssh-2.2.2
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake
|
||||
test? ( dev-ruby/mocha virtual/ruby-minitest )
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove bundler support
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
rm Gemfile || die
|
||||
|
||||
# loosen unslotted dependencies
|
||||
sed -i -e '/json\|net-ssh/s/~>/>=/' ${PN}.gemspec || die
|
||||
|
||||
# avoid calling git
|
||||
sed -i -e '/git ls-files/d' ${PN}.gemspec || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use x64-macos ; then
|
||||
ewarn
|
||||
ewarn "For Mac OS X prefixes, you must install the virtualbox"
|
||||
ewarn "package specifically for OS X which can be found at:"
|
||||
ewarn "https://www.virtualbox.org/wiki/Downloads"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/vagrant-1.0.4.ebuild,v 1.1 2012/09/15 20:51:22 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="config keys templates"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A tool for building and distributing virtual machines using VirtualBox"
|
||||
HOMEPAGE="http://vagrantup.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
# Missing ebuild for contest
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/archive-tar-minitar-0.5.2
|
||||
>=dev-ruby/childprocess-0.3.1
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
dev-ruby/i18n:0.6
|
||||
>=dev-ruby/json-1.5.1
|
||||
>=dev-ruby/log4r-1.1.9
|
||||
>=dev-ruby/net-scp-1.0.4
|
||||
>=dev-ruby/net-ssh-2.2.2
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake
|
||||
test? ( dev-ruby/mocha virtual/ruby-minitest )
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove bundler support
|
||||
sed -i '/[Bb]undler/d' Rakefile || die
|
||||
rm Gemfile || die
|
||||
|
||||
# loosen unslotted dependencies
|
||||
sed -i -e '/childprocess\|erubis\|json\|log4r\|net-scp\|net-ssh/s/~>/>=/' \
|
||||
-e '/archive-tar-minitar/s/=/>=/' \
|
||||
${PN}.gemspec || die
|
||||
|
||||
# avoid calling git
|
||||
sed -i '/git ls-files/d' ${PN}.gemspec || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use x64-macos ; then
|
||||
ewarn
|
||||
ewarn "For Mac OS X prefixes, you must install the virtualbox"
|
||||
ewarn "package specifically for OS X which can be found at:"
|
||||
ewarn "https://www.virtualbox.org/wiki/Downloads"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
http://bugs.gentoo.org/260726
|
||||
|
||||
diff --git a/tools/winebuild/main.c b/tools/winebuild/main.c
|
||||
index 16b4165..5c77267 100644
|
||||
--- a/tools/winebuild/main.c
|
||||
+++ b/tools/winebuild/main.c
|
||||
@@ -48,10 +48,13 @@ int link_ext_symbols = 0;
|
||||
int force_pointer_size = 0;
|
||||
int unwind_tables = 0;
|
||||
|
||||
+#undef FORCE_POINTER_SIZE
|
||||
#ifdef __i386__
|
||||
enum target_cpu target_cpu = CPU_x86;
|
||||
+#define FORCE_POINTER_SIZE
|
||||
#elif defined(__x86_64__)
|
||||
enum target_cpu target_cpu = CPU_x86_64;
|
||||
+#define FORCE_POINTER_SIZE
|
||||
#elif defined(__powerpc__)
|
||||
enum target_cpu target_cpu = CPU_POWERPC;
|
||||
#elif defined(__arm__)
|
||||
@@ -611,6 +614,10 @@ int main(int argc, char **argv)
|
||||
signal( SIGTERM, exit_on_signal );
|
||||
signal( SIGINT, exit_on_signal );
|
||||
|
||||
+#ifdef FORCE_POINTER_SIZE
|
||||
+ force_pointer_size = sizeof(size_t);
|
||||
+#endif
|
||||
+
|
||||
output_file = stdout;
|
||||
argv = parse_options( argc, argv, spec );
|
||||
|
||||
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
|
||||
index 06aa200..c44d2e3 100644
|
||||
--- a/tools/winegcc/winegcc.c
|
||||
+++ b/tools/winegcc/winegcc.c
|
||||
@@ -213,10 +213,13 @@ struct options
|
||||
strarray* files;
|
||||
};
|
||||
|
||||
+#undef FORCE_POINTER_SIZE
|
||||
#ifdef __i386__
|
||||
static const enum target_cpu build_cpu = CPU_x86;
|
||||
+#define FORCE_POINTER_SIZE
|
||||
#elif defined(__x86_64__)
|
||||
static const enum target_cpu build_cpu = CPU_x86_64;
|
||||
+#define FORCE_POINTER_SIZE
|
||||
#elif defined(__powerpc__)
|
||||
static const enum target_cpu build_cpu = CPU_POWERPC;
|
||||
#elif defined(__arm__)
|
||||
@@ -1258,6 +1261,9 @@ int main(int argc, char **argv)
|
||||
opts.linker_args = strarray_alloc();
|
||||
opts.compiler_args = strarray_alloc();
|
||||
opts.winebuild_args = strarray_alloc();
|
||||
+#ifdef FORCE_POINTER_SIZE
|
||||
+ opts.force_pointer_size = sizeof(size_t);
|
||||
+#endif
|
||||
|
||||
/* determine the processor type */
|
||||
if (strendswith(argv[0], "winecpp")) opts.processor = proc_cpp;
|
@ -0,0 +1,305 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.26.ebuild,v 1.1 2013/03/18 03:28:57 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-multilib eutils flag-o-matic gnome2-utils multilib pax-utils toolchain-funcs virtualx
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="1.9"
|
||||
MV="0.0.8"
|
||||
PULSE_PATCHES="winepulse-patches-1.5.25"
|
||||
WINE_GENTOO="wine-gentoo-2012.11.24"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gphoto2 gsm gstreamer jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png +prelink samba scanner selinux ssl test +threads +truetype udisks v4l +X xcomposite xinerama xml"
|
||||
[[ ${PV} == "9999" ]] || IUSE="${IUSE} pulseaudio"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
test? ( abi_x86_32 )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
osmesa? ( opengl )" #286560
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
fontconfig? ( media-libs/fontconfig:= )
|
||||
gphoto2? ( media-libs/libgphoto2:= )
|
||||
openal? ( media-libs/openal:= )
|
||||
udisks? (
|
||||
sys-apps/dbus
|
||||
sys-fs/udisks:2
|
||||
)
|
||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups:= )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gsm? ( media-sound/gsm:= )
|
||||
jpeg? ( virtual/jpeg:= )
|
||||
ldap? ( net-nds/openldap:= )
|
||||
lcms? ( media-libs/lcms:0= )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC:= )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends:= )
|
||||
ssl? (
|
||||
dev-libs/openssl:0=
|
||||
net-libs/gnutls:= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
v4l? ( media-libs/libv4l )
|
||||
xcomposite? ( x11-libs/libXcomposite )
|
||||
amd64? (
|
||||
abi_x86_32? (
|
||||
gstreamer? ( app-emulation/emul-linux-x86-gstplugins )
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1[development] )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development]
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1[development]
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs[development] )
|
||||
odbc? ( app-emulation/emul-linux-x86-db[development] )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl[development] )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl[development] )
|
||||
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028[development] )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development]
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
)
|
||||
)"
|
||||
[[ ${PV} == "9999" ]] || RDEPEND="${RDEPEND}
|
||||
pulseaudio? (
|
||||
media-sound/pulseaudio
|
||||
sys-auth/rtkit
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
prelink? ( sys-devel/prelink )
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
src_unpack() {
|
||||
if use abi_x86_64; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl; then
|
||||
[[ x$(eselect opencl show) = "xintel" ]] &&
|
||||
die "Cannot build wine[opencl,abi_x86_32]: intel-ocl-sdk is 64-bit only" # 403947
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
|
||||
unpack "${PULSE_PATCHES}.tar.bz2"
|
||||
unpack "${WINE_GENTOO}.tar.bz2"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${PN}-1.5.17-osmesa-check.patch #429386
|
||||
"${FILESDIR}"/${PN}-1.5.23-winebuild-CCAS.patch #455308
|
||||
)
|
||||
[[ ${PV} == "9999" ]] || PATCHES+=(
|
||||
"../${PULSE_PATCHES}"/*.patch #421365
|
||||
)
|
||||
|
||||
autotools-utils_src_prepare
|
||||
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local myeconfargs=(
|
||||
"${myeconfargs[@]}"
|
||||
CCAS="$(tc-getAS)"
|
||||
)
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myeconfargs+=( --enable-win64 )
|
||||
else
|
||||
myeconfargs+=( --disable-win64 )
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
local myeconfargs=( # common
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with ssl openssl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with png)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
[[ ${PV} == "9999" ]] || myeconfargs+=( $(use_with pulseaudio pulse) )
|
||||
|
||||
multilib_parallel_foreach_abi do_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-multilib_src_compile depend
|
||||
autotools-multilib_src_compile all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
multilib_toolchain_setup x86
|
||||
local BUILD_DIR="${S}-${ABI}"
|
||||
cd "${BUILD_DIR}" || die
|
||||
WINEPREFIX="${T}/.wine-${ABI}" Xemake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
autotools-multilib_src_install
|
||||
|
||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST when-1.1.30.tar.gz 46846 SHA256 374a6ce94547bc7024a7bedf01545c10ebd62f7c1ddfd2c45099b3bed237b466 SHA512 acb6db7986beceb796e09254293c84bef2d1809005c7b4fca4d52f68dafb0619a91445ba6c4824571bbbcb59bfb8acc7a1c97660e927c95bc8d23e8bda5f4400 WHIRLPOOL 84fa75d43c93db6ffd66e9bdca1a2eb614f1271b0110300bfb253d91a9ae692102e8c1398841981d3a0eaa157a04254cade2989a867a312d7ba12f40e0111089
|
||||
DIST when-1.1.31.tar.gz 47113 SHA256 5b76a660bc234e53d19a1ba6024364394ee57e8b843acc5e43d73be091a8e49b SHA512 55a8a5bc22e04f3ea830de76ac3cc1ef3e4d1a2c496b6138f8aab90c86fb4dec20478723e6351463a834dde1d10d937715f3c0df874da4f6192bd90ea9674690 WHIRLPOOL e843d4baed349027ada660f539453ad599a0ade43b2125cd8f1a70e18ad62f36c2fae1a5141e0c294ece7c5b1e7213b55adef343a9ea425b77a8ed2412b9e87c
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/when/when-1.1.31.ebuild,v 1.1 2013/03/17 23:54:19 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Extremely simple personal calendar program aimed at the Unix geek who wants something minimalistic"
|
||||
HOMEPAGE="http://www.lightandmatter.com/when/when.html"
|
||||
SRC_URI="http://www.lightandmatter.com/when/when.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/when_dist
|
||||
|
||||
src_prepare() {
|
||||
# Fix path for tests
|
||||
sed -i 's,^ when, ./when,' Makefile || die 'sed failed'
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
# The when command requires these files, or attempts to run setup function.
|
||||
mkdir "${HOME}"/.when || die 'mkdir failed'
|
||||
touch "${HOME}"/.when/{calendar,preferences} || die 'touch failed'
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
doman ${PN}.1
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,157 @@
|
||||
--- libreoffice-4.0.1.2-orig/sw/source/core/inc/bookmrk.hxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/sw/source/core/inc/bookmrk.hxx 2013-03-17 12:37:03.452642148 +1100
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
virtual bool IsCoveringPosition(const SwPosition& rPos) const;
|
||||
virtual bool IsExpanded() const
|
||||
- { return m_pPos2; }
|
||||
+ { return static_cast< bool >(m_pPos2); }
|
||||
|
||||
virtual void SetName(const ::rtl::OUString& rName)
|
||||
{ m_aName = rName; }
|
||||
--- libreoffice-4.0.1.2-orig/sc/source/filter/inc/xichart.hxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/sc/source/filter/inc/xichart.hxx 2013-03-17 13:57:07.129596337 +1100
|
||||
@@ -1230,9 +1230,9 @@
|
||||
/** Returns true, if the axis contains caption labels. */
|
||||
inline bool HasLabels() const { return !mxTick || mxTick->HasLabels(); }
|
||||
/** Returns true, if the axis shows its major grid lines. */
|
||||
- inline bool HasMajorGrid() const { return mxMajorGrid; }
|
||||
+ inline bool HasMajorGrid() const { return static_cast< bool >(mxMajorGrid); }
|
||||
/** Returns true, if the axis shows its minor grid lines. */
|
||||
- inline bool HasMinorGrid() const { return mxMinorGrid; }
|
||||
+ inline bool HasMinorGrid() const { return static_cast< bool >(mxMinorGrid); }
|
||||
|
||||
/** Creates an API axis object. */
|
||||
XAxisRef CreateAxis( const XclImpChTypeGroup& rTypeGroup, const XclImpChAxis* pCrossingAxis ) const;
|
||||
--- libreoffice-4.0.1.2-orig/sc/source/filter/excel/xichart.cxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/sc/source/filter/excel/xichart.cxx 2013-03-17 13:57:07.897596329 +1100
|
||||
@@ -2688,7 +2688,7 @@
|
||||
maType.Finalize( bStockChart );
|
||||
|
||||
// extended type info
|
||||
- maTypeInfo.Set( maType.GetTypeInfo(), mxChart3d, false );
|
||||
+ maTypeInfo.Set( maType.GetTypeInfo(), static_cast< bool >(mxChart3d), false );
|
||||
|
||||
// reverse series order for some unstacked 2D chart types
|
||||
if( maTypeInfo.mbReverseSeries && !Is3dChart() && !maType.IsStacked() && !maType.IsPercent() )
|
||||
--- libreoffice-4.0.1.2-orig/sc/source/filter/excel/xehelper.cxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/sc/source/filter/excel/xehelper.cxx 2013-03-17 13:08:11.384624334 +1100
|
||||
@@ -303,7 +303,7 @@
|
||||
if( GetBiff() == EXC_BIFF8 ) // no HLINK records in BIFF2-BIFF7
|
||||
{
|
||||
// there was/is already a HLINK record
|
||||
- mbMultipleUrls = mxLinkRec;
|
||||
+ mbMultipleUrls = static_cast< bool >(mxLinkRec);
|
||||
|
||||
mxLinkRec.reset( new XclExpHyperlink( GetRoot(), rUrlField, maScPos ) );
|
||||
|
||||
--- libreoffice-4.0.1.2-orig/sc/source/filter/excel/xechart.cxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/sc/source/filter/excel/xechart.cxx 2013-03-17 13:07:50.392624534 +1100
|
||||
@@ -682,7 +682,7 @@
|
||||
|
||||
bool XclExpChEscherFormat::IsValid() const
|
||||
{
|
||||
- return maData.mxEscherSet;
|
||||
+ return static_cast< bool >(maData.mxEscherSet);
|
||||
}
|
||||
|
||||
void XclExpChEscherFormat::Save( XclExpStream& rStrm )
|
||||
--- libreoffice-4.0.1.2-orig/slideshow/source/engine/slide/slideanimations.cxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/slideshow/source/engine/slide/slideanimations.cxx 2013-03-17 12:27:11.738647791 +1100
|
||||
@@ -74,7 +74,7 @@
|
||||
|
||||
SHOW_NODE_TREE( mpRootNode );
|
||||
|
||||
- return mpRootNode;
|
||||
+ return static_cast< bool >(mpRootNode);
|
||||
}
|
||||
|
||||
bool SlideAnimations::isAnimated() const
|
||||
--- libreoffice-4.0.1.2-orig/editeng/source/editeng/eerdll.cxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/editeng/source/editeng/eerdll.cxx 2013-03-17 10:57:01.036699391 +1100
|
||||
@@ -195,7 +195,7 @@
|
||||
|
||||
OutputDevice* GlobalEditData::GetStdRefDevice()
|
||||
{
|
||||
- if ( !m_aStdRefDevice )
|
||||
+ if ( !static_cast< bool >(m_aStdRefDevice) )
|
||||
{
|
||||
m_aStdRefDevice.reset(new VirtualDevice);
|
||||
m_aStdRefDevice->SetMapMode( MAP_TWIP );
|
||||
--- libreoffice-4.0.1.2-orig/slideshow/source/engine/shapes/viewshape.cxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/slideshow/source/engine/shapes/viewshape.cxx 2013-03-17 12:18:21.453652848 +1100
|
||||
@@ -178,7 +178,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- return io_rCacheEntry.mpRenderer;
|
||||
+ return static_cast< bool >(io_rCacheEntry.mpRenderer);
|
||||
}
|
||||
|
||||
bool ViewShape::draw( const ::cppcanvas::CanvasSharedPtr& rDestinationCanvas,
|
||||
--- libreoffice-4.0.1.2-orig/slideshow/source/engine/shapesubset.cxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/slideshow/source/engine/shapesubset.cxx 2013-03-17 12:18:07.405652982 +1100
|
||||
@@ -104,7 +104,7 @@
|
||||
maTreeNode );
|
||||
}
|
||||
|
||||
- return mpSubsetShape;
|
||||
+ return static_cast< bool >(mpSubsetShape);
|
||||
}
|
||||
|
||||
void ShapeSubset::disableSubsetShape()
|
||||
--- libreoffice-4.0.1.2-orig/slideshow/source/inc/shapeattributelayerholder.hxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/slideshow/source/inc/shapeattributelayerholder.hxx 2013-03-17 12:13:31.544655613 +1100
|
||||
@@ -83,7 +83,7 @@
|
||||
if( mpShape )
|
||||
mpAttributeLayer = mpShape->createAttributeLayer();
|
||||
|
||||
- return mpAttributeLayer;
|
||||
+ return static_cast< bool >(mpAttributeLayer);
|
||||
}
|
||||
|
||||
ShapeAttributeLayerSharedPtr get() const
|
||||
--- libreoffice-4.0.1.2-orig/slideshow/source/engine/animatedsprite.cxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/slideshow/source/engine/animatedsprite.cxx 2013-03-17 11:58:29.991664211 +1100
|
||||
@@ -151,7 +151,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- return mpSprite;
|
||||
+ return static_cast< bool >(mpSprite);
|
||||
}
|
||||
|
||||
void AnimatedSprite::setPixelOffset( const ::basegfx::B2DSize& rPixelOffset )
|
||||
--- libreoffice-4.0.1.2-orig/slideshow/source/inc/shapeattributelayer.hxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/slideshow/source/inc/shapeattributelayer.hxx 2013-03-17 11:16:36.685688180 +1100
|
||||
@@ -467,7 +467,7 @@
|
||||
// ShapeAttributeLayer(const ShapeAttributeLayer&);
|
||||
// ShapeAttributeLayer& operator=( const ShapeAttributeLayer& );
|
||||
|
||||
- bool haveChild() const { return mpChild; }
|
||||
+ bool haveChild() const { return static_cast< bool >(mpChild); }
|
||||
void updateStateIds();
|
||||
|
||||
template< typename T > T calcValue( const T& rCurrValue,
|
||||
--- libreoffice-4.0.1.2-orig/comphelper/inc/comphelper/scoped_disposing_ptr.hxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/comphelper/inc/comphelper/scoped_disposing_ptr.hxx 2013-03-17 10:57:51.543698910 +1100
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
operator bool () const
|
||||
{
|
||||
- return m_aItem;
|
||||
+ return static_cast< bool >(m_aItem);
|
||||
}
|
||||
|
||||
virtual ~scoped_disposing_ptr()
|
||||
--- libreoffice-4.0.1.2-orig/vcl/source/gdi/svgdata.cxx 2013-02-28 01:02:37.000000000 +1100
|
||||
+++ libreoffice-4.0.1.2/vcl/source/gdi/svgdata.cxx 2013-03-17 10:37:49.026710378 +1100
|
||||
@@ -166,7 +166,7 @@
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
SvgData::SvgData(const OUString& rPath):
|
||||
- maSvgDataArray(NULL),
|
||||
+ maSvgDataArray(static_cast< unsigned char * >(NULL)),
|
||||
mnSvgDataArrayLength(0),
|
||||
maPath(rPath),
|
||||
maRange(),
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue