parent
73fe122154
commit
c7338a3fdd
@ -1,4 +1 @@
|
||||
DIST chef-expander-10.12.0.gem 24576 SHA256 f6d83fa51394e276e33bbd92d39dd30f0cbe93975409b66faffc56f62c1f8534 SHA512 f8abd430c29fa8488e88a7e9b57726a29420cd5982ea28d6c566a07447a9eb51b95be48469aeb4bbd2b1059c0f77977198b11cc169dbf95cdb46b605c13cc361 WHIRLPOOL fc12051fce34b0a70e77d652a1fb1dcd7994f82975d5aa831e0c5d6c5dfce58cd951bd6a9bf5497026e6146bccc4b4f6bfde692af24250bc13ec1f2151fbcf81
|
||||
DIST chef-expander-10.16.4.gem 24576 SHA256 104b878569f5eec5d7f8f1378a4a4bda91b11487f2b4f762ccc2697e3c2f1cd4 SHA512 9d2c4c39c61ec6ba419e1c816f766480aff68168462ea3244b2368cba6150a851dbf0e6803f32672220c2107e801c02bb4c2f230f6ee0eaeecaa85297eb6c1e2 WHIRLPOOL 03a9acac043305dbd02d4bd0406a0f297e1910fbe16c92e1e0a834348b8133c2cdc05cd7ccd9338ef8e05912ae16365b8faafa326fd35080115a64d6fbb52736
|
||||
DIST chef-expander-10.20.0.gem 24576 SHA256 5cf5464595849471d4bbccac0ec681b89d485e9e752130bdd1f4c84b3770ce30 SHA512 c7ad2db6be3fb4b7161612abb88d6a21a1b4c8d8eb63eb24791048ee5f2a38d5ba08e473ca394c3d0d42197430c708428984be6517728b122d2876c73c7736ea WHIRLPOOL c904fd9140542d1ab0d5ca112ba48b05c131d7233fed89364fde5b494418844a119b40c5b11db08420d33bcd1d37a1fff8db1073a4bdb866b988472f683a3150
|
||||
DIST chef-expander-10.22.0.gem 24576 SHA256 99553d2fc1e4af0421143fef86b1926be95a68a4a4f36d11979d9cc8ad860c5b SHA512 953d0e39eb87d4233d045bc67e8f8f6e232e7de6449c0fb83bad530d047593576cc593e329c5e474d7f521996957d466a840be1829e6126625e0a31f1f0edeb3 WHIRLPOOL 092f8928481659a9ba1b67dee7932b042777e9e69ced53c408c75a93fd6ccbb1ca657f7912696ce90e66c07dcdcb0cabffbda408507ce964cbf03624a71d8d75
|
||||
DIST chef-expander-10.24.0.gem 24576 SHA256 5ec3bd3081a428a2ac5fd422d69a2b5ded08abdee524f3e8fa3bf343d0055b7e SHA512 6fe50d641b49fc5114d7a24a0ba14b9b840f9c1a76afed4cd93c327b72007d0cf06ec68c326d23cb8da882239270eeab82ffb4620b04922692c6060bb917d1ad WHIRLPOOL 3a4a53cf1dd3efc80aca3317a04a2bef947aad66ac6e17d1972ff667b1315967e85567ec3ae99f37969dcc3f93d33b3487a806aa17ad4956e5e57f548762d57d
|
||||
|
@ -1,53 +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/chef-expander/chef-expander-10.12.0.ebuild,v 1.1 2012/08/11 12:25:35 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# specs require a live rabbitmq server
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-${PV}
|
||||
>=dev-ruby/amqp-0.6.7
|
||||
<dev-ruby/amqp-0.7
|
||||
>=dev-ruby/bunny-0.6.0
|
||||
<dev-ruby/bunny-0.7
|
||||
>=dev-ruby/em-http-request-0.2.11
|
||||
<dev-ruby/em-http-request-0.3
|
||||
>=dev-ruby/eventmachine-0.12.10
|
||||
<dev-ruby/eventmachine-0.13
|
||||
>=dev-ruby/fast_xs-0.7.3
|
||||
<dev-ruby/fast_xs-0.8
|
||||
>=dev-ruby/highline-1.6.1
|
||||
<dev-ruby/highline-1.7
|
||||
>=dev-ruby/mixlib-log-1.2.0
|
||||
>=dev-ruby/uuidtools-2.1.1
|
||||
<dev-ruby/uuidtools-2.2
|
||||
>=dev-ruby/yajl-ruby-1.0
|
||||
<dev-ruby/yajl-ruby-2"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-expander"
|
||||
doconfd "${FILESDIR}/confd/chef-expander"
|
||||
|
||||
keepdir /etc/chef /var/{lib,log,run}/chef
|
||||
fowners chef:chef /var/{lib,log,run}/chef
|
||||
}
|
@ -1,50 +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/chef-expander/chef-expander-10.16.4.ebuild,v 1.1 2012/12/27 07:07:17 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# specs require a live rabbitmq server
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-${PV}
|
||||
>=dev-ruby/amqp-0.6.7
|
||||
<dev-ruby/amqp-0.7
|
||||
>=dev-ruby/bunny-0.6.0
|
||||
>=dev-ruby/em-http-request-0.2.11
|
||||
<dev-ruby/em-http-request-0.3
|
||||
>=dev-ruby/eventmachine-0.12.10
|
||||
>=dev-ruby/fast_xs-0.7.3
|
||||
>=dev-ruby/highline-1.6.1
|
||||
<dev-ruby/highline-1.7
|
||||
>=dev-ruby/mixlib-log-1.2.0
|
||||
>=dev-ruby/uuidtools-2.1.1
|
||||
<dev-ruby/uuidtools-2.2
|
||||
>=dev-ruby/yajl-ruby-1.0
|
||||
<dev-ruby/yajl-ruby-2"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-expander"
|
||||
doconfd "${FILESDIR}/confd/chef-expander"
|
||||
|
||||
keepdir /etc/chef /var/{lib,log,run}/chef
|
||||
fowners chef:chef /var/{lib,log,run}/chef
|
||||
}
|
@ -1,50 +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/chef-expander/chef-expander-10.22.0.ebuild,v 1.1 2013/02/14 08:24:06 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# specs require a live rabbitmq server
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-${PV}
|
||||
>=dev-ruby/amqp-0.6.7
|
||||
<dev-ruby/amqp-0.7
|
||||
>=dev-ruby/bunny-0.6.0
|
||||
>=dev-ruby/em-http-request-0.2.11
|
||||
<dev-ruby/em-http-request-0.3
|
||||
>=dev-ruby/eventmachine-0.12.10
|
||||
>=dev-ruby/fast_xs-0.7.3
|
||||
>=dev-ruby/highline-1.6.1
|
||||
<dev-ruby/highline-1.7
|
||||
>=dev-ruby/mixlib-log-1.2.0
|
||||
>=dev-ruby/uuidtools-2.1.1
|
||||
<dev-ruby/uuidtools-2.2
|
||||
>=dev-ruby/yajl-ruby-1.0
|
||||
<dev-ruby/yajl-ruby-2"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-expander"
|
||||
doconfd "${FILESDIR}/confd/chef-expander"
|
||||
|
||||
keepdir /etc/chef /var/{lib,log,run}/chef
|
||||
fowners chef:chef /var/{lib,log,run}/chef
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST chef-server-api-10.12.0.gem 52736 SHA256 00f54eb9220cbb56b47a4f0ffa814ae149a2c9e4c3022c1c5da048f719c0b389 SHA512 99fd4eb230232420c65eccdf6ffa35660185e0ad6032cc7d8113a1845ec164c3aa451b5de8ce4d7bd78d4018f7a042cee2575c8a1a79d446e165d182eab94fbc WHIRLPOOL ccb99fd99a402630187d6152a469b3d72917225406e217f5930c4a1168cf6d6c419847d466fd1b9a8a3751a1265fb7391a852c5209d51ae9414483ebc0fa8f30
|
||||
DIST chef-server-api-10.16.4.gem 52736 SHA256 0f2300f80ec8d2c13a197339598d7f32d69abb0e9223bdba8023dc2f727d286f SHA512 7b51a35b160efeb620069ad69896044c3c124774af8551733411af00e687f0fbf0b1680f5d69ec103a271c1d493025cc5ec9b5c29802ca512c6b84e40d24e6e2 WHIRLPOOL 023d52f2e88b4da021a71a0bc02f7daa523182a5a7c85b4b7267e4d5815bf27cacfcc86c929bb58af28d8e045539b5585b9cd5f0dbd9c73215dd5f6670fdd645
|
||||
DIST chef-server-api-10.20.0.gem 52736 SHA256 9292da4541f091f68614483e78f824e7c169fb8d53085b29c8aee34b886173a4 SHA512 d2278f229aff50c3f671cb21ccfafdd75e1350200e3db96b3683527a9e26944a23850ae0f55f95621b5a1ac2fcd78d7c27a29baf1d9759a1ab3531114772fcf6 WHIRLPOOL d5e9af5d9cac126c5a4300d477b8d2e1a2a38e45bfea72d09db1e47b2dbc6857ef604a0419543ea4e877253db0ba437746c4a2291513405ada2eb688f23f0da5
|
||||
DIST chef-server-api-10.22.0.gem 52736 SHA256 f9149c956ac65d9fd29e4d2bd83ffad0ee0a726ae12d153c7df1a674c4456621 SHA512 3561151aaa34e0e8838dd41e4a1c1c3b86890e5ad4ea74c6c246aaa3b8ff84a8bf1099f01f88823fad018e1f4f132e37a9f0168fe4c9cd310306f3d73e570042 WHIRLPOOL 6b4f3116cb9d0a6b9e01fd6b00b1fe8324e53280c925b26375edc53716671f6f9c58283977837808cb8307aafb36e751fb009887ae35ee30dd269fbec6cdd5e0
|
||||
DIST chef-server-api-10.24.0.gem 52736 SHA256 fb8bab62bb29fb5e4f81d8a961c6530ce386fff546ac7f215998f6c6ab045693 SHA512 b226aeeef354fa285546b76f0ecb4fe752504a5e5f9879879e57addf8beb90f4c0470f64004831faffbb96f0ba1caf8c12516149a9edf0660ed1c2cf07f70909 WHIRLPOOL ab20a6fa6d4bc03daa5884f125a59eb6c9ba032dcd2bae6a5a37d38feab75d65a4386ec220cfdb242f817a1128e6d4884228e3e6fd12bb7230edbb84de63de18
|
||||
|
@ -1,73 +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/chef-server-api/chef-server-api-10.12.0.ebuild,v 1.1 2012/08/11 12:47:54 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# specs require root access
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-db/couchdb-0.10.0
|
||||
>=net-misc/rabbitmq-server-1.7.0"
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-${PV}
|
||||
>=dev-ruby/dep_selector-0.0.3
|
||||
>=dev-ruby/merb-assets-1.1.0
|
||||
<dev-ruby/merb-assets-1.2
|
||||
>=dev-ruby/merb-core-1.1.0
|
||||
<dev-ruby/merb-core-1.2
|
||||
>=dev-ruby/merb-helpers-1.1.0
|
||||
<dev-ruby/merb-helpers-1.2
|
||||
>=dev-ruby/merb-param-protection-1.1.0
|
||||
<dev-ruby/merb-param-protection-1.2
|
||||
>=dev-ruby/mixlib-authentication-1.1.3
|
||||
>=dev-ruby/uuidtools-2.1.1
|
||||
<dev-ruby/uuidtools-2.2
|
||||
www-servers/thin"
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_doins -r app
|
||||
ruby_fakegem_doins -r config
|
||||
ruby_fakegem_doins -r public
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-server-api"
|
||||
doconfd "${FILESDIR}/confd/chef-server-api"
|
||||
|
||||
keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef \
|
||||
/etc/chef/certificates
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/server.rb"
|
||||
|
||||
fperms 0700 /etc/chef/certificates
|
||||
fowners chef:chef /etc/chef/{,server.rb,certificates}
|
||||
fowners chef:chef /var/{lib,log,run}/chef
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You should edit /etc/chef/server.rb before starting the service with"
|
||||
elog "/etc/init.d/chef-server-api start"
|
||||
elog
|
||||
}
|
@ -1,73 +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/chef-server-api/chef-server-api-10.16.4.ebuild,v 1.1 2012/12/27 07:11:41 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# specs require root access
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-db/couchdb-0.10.0
|
||||
>=net-misc/rabbitmq-server-1.7.0"
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-${PV}
|
||||
>=dev-ruby/dep_selector-0.0.3
|
||||
>=dev-ruby/merb-assets-1.1.0
|
||||
<dev-ruby/merb-assets-1.2
|
||||
>=dev-ruby/merb-core-1.1.0
|
||||
<dev-ruby/merb-core-1.2
|
||||
>=dev-ruby/merb-helpers-1.1.0
|
||||
<dev-ruby/merb-helpers-1.2
|
||||
>=dev-ruby/merb-param-protection-1.1.0
|
||||
<dev-ruby/merb-param-protection-1.2
|
||||
>=dev-ruby/mixlib-authentication-1.1.3
|
||||
>=dev-ruby/uuidtools-2.1.1
|
||||
<dev-ruby/uuidtools-2.2
|
||||
www-servers/thin"
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_doins -r app
|
||||
ruby_fakegem_doins -r config
|
||||
ruby_fakegem_doins -r public
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-server-api"
|
||||
doconfd "${FILESDIR}/confd/chef-server-api"
|
||||
|
||||
keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef \
|
||||
/etc/chef/certificates
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/server.rb"
|
||||
|
||||
fperms 0700 /etc/chef/certificates
|
||||
fowners chef:chef /etc/chef/{,server.rb,certificates}
|
||||
fowners chef:chef /var/{lib,log,run}/chef
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You should edit /etc/chef/server.rb before starting the service with"
|
||||
elog "/etc/init.d/chef-server-api start"
|
||||
elog
|
||||
}
|
@ -1,66 +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/chef-server-api/chef-server-api-10.22.0.ebuild,v 1.1 2013/02/14 08:26:37 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# specs require root access
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-db/couchdb-0.10.0
|
||||
>=net-misc/rabbitmq-server-1.7.0"
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-${PV}
|
||||
>=dev-ruby/dep_selector-0.0.3
|
||||
>=dev-ruby/merb-assets-1.1.0
|
||||
<dev-ruby/merb-assets-1.2
|
||||
>=dev-ruby/merb-core-1.1.0
|
||||
<dev-ruby/merb-core-1.2
|
||||
>=dev-ruby/merb-helpers-1.1.0
|
||||
<dev-ruby/merb-helpers-1.2
|
||||
>=dev-ruby/merb-param-protection-1.1.0
|
||||
<dev-ruby/merb-param-protection-1.2
|
||||
>=dev-ruby/mixlib-authentication-1.1.3
|
||||
>=dev-ruby/uuidtools-2.1.1
|
||||
<dev-ruby/uuidtools-2.2
|
||||
www-servers/thin"
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_doins -r app
|
||||
ruby_fakegem_doins -r config
|
||||
ruby_fakegem_doins -r public
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-server-api"
|
||||
doconfd "${FILESDIR}/confd/chef-server-api"
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/server.rb"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You should edit /etc/chef/server.rb before starting the service with"
|
||||
elog "/etc/init.d/chef-server-api start"
|
||||
elog
|
||||
}
|
@ -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/chef-server-api/chef-server-api-10.20.0.ebuild,v 1.1 2013/02/10 20:07:33 hollow Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-api/chef-server-api-10.24.0.ebuild,v 1.1 2013/03/01 19:24:25 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
@ -1,4 +1 @@
|
||||
DIST chef-server-webui-10.12.0.gem 181248 SHA256 5e276b25acd0a1080491f674d4b83983ee7537e195898e4bcb7a1e77dfb53caa SHA512 1217060104ae474ec42c02452f0834e25f0172885def6f19e20424bd24bf2730aeac855b35deac458d15f78176e39bdc7c64179f6fc25955afc5a6ad9582cb0f WHIRLPOOL ba1dc086cee27cb8cc7042da3f98c500a680bf70438f8e1e0aacaa1aee13d3b5ddd1387ce4a3b1a0a8b4570f786b095e650b83941f74189646badc63e05454d5
|
||||
DIST chef-server-webui-10.16.4.gem 184832 SHA256 578cdea697dcc328e3451e2f4ec2e0d20886b34b74bc1ad4a4ba139401fb42ed SHA512 c1bba3c0ed273f0bf5eda9e0f01d51d21402f6e6ddd6890d4eea4c5e07d07454db3d3d40870df10802b30a3e5a54e11ec1c84491b4f3ca24950baee8e9b7f5c2 WHIRLPOOL b5d5cae58a4da697539c12c2ee8602f2d0e8c8f00007832a6921e7e29d77cc5c45ff4325850a3e5d524750dd382d877a63946cb7b978fe3e3bf94e65b4aa3006
|
||||
DIST chef-server-webui-10.20.0.gem 184832 SHA256 34c58fc358e49bd349c191698a54d6ae27909744457f677c145ecad75405bc53 SHA512 435c788074258e9bccee1c1ce06c2b63c0cc1408148cd538ce37ecc37276c88f1c4255d476df996ce60de7fbea537a00c6256d0951cef4a360c4dcff6563a0d0 WHIRLPOOL 84d5abc267dbccdac681a4ef568303f89e4b268c7a0d550f75f95f9c598c7518193232b2a0fbb00d4b21501e35a0f72b3bbf5f57f20d75ec1324bace1a9def00
|
||||
DIST chef-server-webui-10.22.0.gem 184832 SHA256 dcb229cc1997418c59406c083bc294547b008b4018f2e9232f28e0a81e4cb7db SHA512 0776869738f853f098e98ed859a2269dc216b8e8209565bcbb20e25ccfcb331ec611580249a59a129f023a94b5a2e645f52e121d7be024201ec40add8d1cfb49 WHIRLPOOL 74758c8e7ce3f71eb5aba7d3879406ac3a63363125df129545b8fffcfb46165d81ae48c9b906dcb5abfe38815b785109b08ea397abf0c1b07b12340eef1f10f7
|
||||
DIST chef-server-webui-10.24.0.gem 184832 SHA256 9fb6b9d8ed022e4b4bf0c5990496760d548951c1be2fc1cc29774d17faec1e35 SHA512 226c876e447af48c5b9009447d62ec37c3a500759113c019c949b6bfdf6c9f7643f87a052273c5c29fcc88ac50a4b71888e88258120ce53256d5a5b40003271a WHIRLPOOL 5e578d64c81507803ecdd97c773e1e3552cf63bf239622b9661f67d92b9bf6e3938c474eb209f34c6c437a29e95ef2e8414dc44198a87ed048ffb3c58f2c2595
|
||||
|
@ -1,76 +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/chef-server-webui/chef-server-webui-10.12.0.ebuild,v 1.1 2012/08/11 12:46:54 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem user
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-db/couchdb-0.10.0
|
||||
>=net-misc/rabbitmq-server-1.7.0"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/coderay
|
||||
dev-ruby/haml
|
||||
>=dev-ruby/merb-assets-1.1.0
|
||||
<dev-ruby/merb-assets-1.2
|
||||
>=dev-ruby/merb-core-1.1.0
|
||||
<dev-ruby/merb-core-1.2
|
||||
>=dev-ruby/merb-haml-1.1.0
|
||||
<dev-ruby/merb-haml-1.2
|
||||
>=dev-ruby/merb-helpers-1.1.0
|
||||
<dev-ruby/merb-helpers-1.2
|
||||
>=dev-ruby/merb-param-protection-1.1.0
|
||||
<dev-ruby/merb-param-protection-1.2
|
||||
dev-ruby/ruby-openid
|
||||
www-servers/thin"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup chef
|
||||
enewuser chef -1 -1 /var/lib/chef chef
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_doins -r app
|
||||
ruby_fakegem_doins -r config
|
||||
ruby_fakegem_doins config.ru
|
||||
ruby_fakegem_doins -r public
|
||||
|
||||
# create unversioned path for passenger/rack integration
|
||||
dodir /var/lib/chef/rack
|
||||
dosym $(ruby_fakegem_gemsdir)/gems/${P} /var/lib/chef/rack/webui
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-server-webui"
|
||||
doconfd "${FILESDIR}/confd/chef-server-webui"
|
||||
|
||||
keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/webui.rb"
|
||||
|
||||
fowners chef:chef /etc/chef/{,webui.rb}
|
||||
fowners chef:chef /var/{lib,log,run}/chef
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You should edit or create /etc/chef/webui.rb before starting the service"
|
||||
elog "with /etc/init.d/chef-server-webui start"
|
||||
elog
|
||||
}
|
@ -1,76 +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/chef-server-webui/chef-server-webui-10.16.4.ebuild,v 1.1 2012/12/27 07:10:17 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem user
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-db/couchdb-0.10.0
|
||||
>=net-misc/rabbitmq-server-1.7.0"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/coderay
|
||||
dev-ruby/haml
|
||||
>=dev-ruby/merb-assets-1.1.0
|
||||
<dev-ruby/merb-assets-1.2
|
||||
>=dev-ruby/merb-core-1.1.0
|
||||
<dev-ruby/merb-core-1.2
|
||||
>=dev-ruby/merb-haml-1.1.0
|
||||
<dev-ruby/merb-haml-1.2
|
||||
>=dev-ruby/merb-helpers-1.1.0
|
||||
<dev-ruby/merb-helpers-1.2
|
||||
>=dev-ruby/merb-param-protection-1.1.0
|
||||
<dev-ruby/merb-param-protection-1.2
|
||||
dev-ruby/ruby-openid
|
||||
www-servers/thin"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup chef
|
||||
enewuser chef -1 -1 /var/lib/chef chef
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_doins -r app
|
||||
ruby_fakegem_doins -r config
|
||||
ruby_fakegem_doins config.ru
|
||||
ruby_fakegem_doins -r public
|
||||
|
||||
# create unversioned path for passenger/rack integration
|
||||
dodir /var/lib/chef/rack
|
||||
dosym $(ruby_fakegem_gemsdir)/gems/${P} /var/lib/chef/rack/webui
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-server-webui"
|
||||
doconfd "${FILESDIR}/confd/chef-server-webui"
|
||||
|
||||
keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/webui.rb"
|
||||
|
||||
fowners chef:chef /etc/chef/{,webui.rb}
|
||||
fowners chef:chef /var/{lib,log,run}/chef
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You should edit or create /etc/chef/webui.rb before starting the service"
|
||||
elog "with /etc/init.d/chef-server-webui start"
|
||||
elog
|
||||
}
|
@ -1,71 +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/chef-server-webui/chef-server-webui-10.22.0.ebuild,v 1.1 2013/02/14 08:25:52 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem user
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-db/couchdb-0.10.0
|
||||
>=net-misc/rabbitmq-server-1.7.0"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/coderay
|
||||
dev-ruby/haml
|
||||
>=dev-ruby/merb-assets-1.1.0
|
||||
<dev-ruby/merb-assets-1.2
|
||||
>=dev-ruby/merb-core-1.1.0
|
||||
<dev-ruby/merb-core-1.2
|
||||
>=dev-ruby/merb-haml-1.1.0
|
||||
<dev-ruby/merb-haml-1.2
|
||||
>=dev-ruby/merb-helpers-1.1.0
|
||||
<dev-ruby/merb-helpers-1.2
|
||||
>=dev-ruby/merb-param-protection-1.1.0
|
||||
<dev-ruby/merb-param-protection-1.2
|
||||
dev-ruby/ruby-openid
|
||||
www-servers/thin"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup chef
|
||||
enewuser chef -1 -1 /var/lib/chef chef
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_doins -r app
|
||||
ruby_fakegem_doins -r config
|
||||
ruby_fakegem_doins config.ru
|
||||
ruby_fakegem_doins -r public
|
||||
|
||||
# create unversioned path for passenger/rack integration
|
||||
dodir /var/lib/chef/rack
|
||||
dosym $(ruby_fakegem_gemsdir)/gems/${P} /var/lib/chef/rack/webui
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-server-webui"
|
||||
doconfd "${FILESDIR}/confd/chef-server-webui"
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/webui.rb"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You should edit or create /etc/chef/webui.rb before starting the service"
|
||||
elog "with /etc/init.d/chef-server-webui start"
|
||||
elog
|
||||
}
|
@ -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/chef-server-webui/chef-server-webui-10.20.0.ebuild,v 1.1 2013/02/10 20:08:31 hollow Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/chef-server-webui-10.24.0.ebuild,v 1.1 2013/03/01 19:25:42 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
@ -1,4 +1 @@
|
||||
DIST chef-server-10.12.0.gem 8192 SHA256 546393cf70898c79211c4a2fa32a87a69c4514d7e6860684dc037a5ddbcac16d SHA512 c5b927342dce9d5559f1613a3a18ec4db89ae31f63317264a6b791e001e8e5a66ba1a023dd6e05c3d86659f7aaec582da0161c8123ff4e57bb8626c74f6e6e50 WHIRLPOOL 024ac12950d9455f1b782e225ce5f27ad065bb0ee54689b2398774027390cf335badf4b504e4691a381fa78891b5afb0f353249e9223fd03ba5fc52062d5ef70
|
||||
DIST chef-server-10.16.4.gem 8192 SHA256 f7bff4c75afbac857714941f31c6158905cc7dc94c970157aec226d445f72c8a SHA512 ff79624df75e97a0f7b6a82ac8004b0b773c969db4b142eb94e6edacb349a83f0790c7b7c74345ae80019c1e3061b241b4ae9e045132a4611b697bf383dbe6f5 WHIRLPOOL ab6256d33b01bb321320f33c6154481d94329fbfbcfaa283d7bcb006f12374a310c7719a84952b516f962197e2e45dfd8da38d0c3e2ca6e0d6485a99aed3bbde
|
||||
DIST chef-server-10.20.0.gem 8192 SHA256 0f026a7a8d9743c7fed1108a2f4f6b796f2c1267b587081b40f7759f9f6ce28e SHA512 9ccf5a5abd7910df3646b4305f1d2f0c0a759e14c03e6f48f667992759cbd657d1521b6eeff4c615de4d0ff1abb9807b2c27bfc423844d2502b2dd105e0efbb7 WHIRLPOOL 3453b243cd7710c2894437fff4906027d227da798f43f5cdfef9cbf472dad192aeefdc42286a630ca5e8d85a4e4363f430c2809d4c187dcd1d0605320beedf20
|
||||
DIST chef-server-10.22.0.gem 8192 SHA256 0198ab43d72890bc4b0c8a93fbda606a35c622c97b58fb358c27d64155fe89e4 SHA512 afa30322063036453f0637fb3d2cf2666d504626f51ad7d684e8e513271829a5fbe0fcbac50ccd7d517490c90675850782bbd82bd6843fbac344467d30fb83d7 WHIRLPOOL 3faf15ad5d4e7e2dd522bf22be4da1a2433113db251e417db50f8249c83be19a97673a1d5765dee45a8873d090e25f852b699de40d3e20952e65a84b40be93f3
|
||||
DIST chef-server-10.24.0.gem 8192 SHA256 4b072426181694f2069a396e5d42174352a7b3d5a6d5b475964322d6b027d97d SHA512 1367b762f4340b3ea93599ddbc0429214fb5f898c57d657b0c57e4e15afa40a8f040e890418d3945f7b992cf20f45abd0645c1bba4413e388672151041bc6091 WHIRLPOOL 5175d4f565d793f87b30e9246ccab4aefb41702d26fce36349dfdec6c14ddb2eafee33cde8e11bc9efda02ed046e5c43e03ef3bf05212a397f00f7e2e973a29b
|
||||
|
@ -1,25 +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/chef-server/chef-server-10.12.0.ebuild,v 1.1 2012/08/11 12:49:45 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool (meta package)"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-server-api-${PV}
|
||||
~app-admin/chef-solr-${PV}
|
||||
~app-admin/chef-expander-${PV}"
|
@ -1,25 +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/chef-server/chef-server-10.16.4.ebuild,v 1.1 2012/12/27 07:18:51 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool (meta package)"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-server-api-${PV}
|
||||
~app-admin/chef-solr-${PV}
|
||||
~app-admin/chef-expander-${PV}"
|
@ -1,25 +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/chef-server/chef-server-10.22.0.ebuild,v 1.1 2013/02/14 08:27:20 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool (meta package)"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-server-api-${PV}
|
||||
~app-admin/chef-solr-${PV}
|
||||
~app-admin/chef-expander-${PV}"
|
@ -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/chef-server/chef-server-10.20.0.ebuild,v 1.1 2013/02/10 20:09:44 hollow Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server/chef-server-10.24.0.ebuild,v 1.1 2013/03/01 19:26:36 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
@ -1,4 +1 @@
|
||||
DIST chef-solr-10.12.0.gem 10217472 SHA256 12cc7afad56869fba3d1659cd8154ab89860b24895676385104e36e1faa6f962 SHA512 116ecc5b52a62d0bbd23883dbaf8f049b00b84add3e15eda817f3777bd6a6b4b49e40d64090e70d003931bf6fac36f5fcd2752f4c60ecdb25995795c7ba6735c WHIRLPOOL fa1484746b40df2812c51138668b5d967b866aedcc5e2cb34943394dcae8f7fa3b3ecdcf3749cde7f4997f063676faf2e6d891df36868c63f3cb29c0f474f99d
|
||||
DIST chef-solr-10.16.4.gem 10217472 SHA256 ee52fc77ccc681d00de9c30fbbdf5c67db5440491011d06e6bb0931d5344e963 SHA512 74e8107ddd272f13092459bf198662d86141d48fab1ed6b0eb305c1c7bad906e9eba83660f2e474d9095d7a5b294ebe39cab8e86b64edc9a14e3ee0a318c1e15 WHIRLPOOL 3e3cfe7eef7bcc9016774fc38d12553b5a2695f9b9c35ce3272b192f8b45699e8c73c90da2a0c86487485dfe70f87cb822dc63593f00156b46123dfac4f983a6
|
||||
DIST chef-solr-10.20.0.gem 10217472 SHA256 45d1da34e377dc7e2a10d36312a2a140158bbdfb2b0a9c9f5673fa727780bb49 SHA512 1b0841b234f98e7071f0ae779db2fc709409909aea47dc39dd8896127dd4a8ac1b0d8af733da54b97ea4e497d3cd0132058eba2df74fb31f0a548a7be4200867 WHIRLPOOL 8f211f900a712111aef1634d7fdf4092198a0c05353ab426a0523c9bb516a6ae6783d86363afd548a58df055272126bde76fc728afe564de0a666a98982b0ff1
|
||||
DIST chef-solr-10.22.0.gem 10217472 SHA256 5347cab89958600eb25fd257b013c258eb1bf61efb0a3082d686d3683165c57c SHA512 7f1e1a913b93dc1e572791caa1b6477d627376e13743f068606661a0b8b4e8618d72b5fd27e326b257a843d2118adf6fb1f83efdf02a152fb09ecf63a6f236a6 WHIRLPOOL a76f17ce457db9f38cb9c013ac9d9d48facde3e6156ecc6a52416ff4a0d78b8d3016f3eb5ca7c4a85dcc45cd61a47d006b4f2cc32000efa34b44bd51dd382182
|
||||
DIST chef-solr-10.24.0.gem 10217472 SHA256 8db6e6a1859304f4c990ee3d0b50046da730e900b0e74b225cdd2dfed4bef361 SHA512 099450600084b4076bce9325c6d8eae16765f944cdf45fa0f5805f9fc11f591e0bd40483f8b4cc88be52963a632ccddf89cb75c1675390ecc1e2aa3431424927 WHIRLPOOL edbee0fee265ab00ee0f59244a93f4c316024a1835d5b10f5843a92f457de03df10cf6629fdabc916da6a96e845d356e85612cb1b169e95ff8f77d1ddfba3bbb
|
||||
|
@ -1,56 +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/chef-solr/chef-solr-10.12.0.ebuild,v 1.1 2012/08/11 12:45:49 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=net-misc/rabbitmq-server-1.7.2
|
||||
virtual/jre:1.6"
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-${PV}"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S rspec spec || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_doins -r solr
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-solr"
|
||||
doconfd "${FILESDIR}/confd/chef-solr"
|
||||
|
||||
keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/solr.rb"
|
||||
|
||||
fowners chef:chef /etc/chef/{,solr.rb}
|
||||
fowners chef:chef /var/{lib,log,run}/chef
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You need to run the chef-solr-installer script to setup the SOLR instance:"
|
||||
elog
|
||||
elog " chef-solr-installer -c /etc/chef/solr.rb -u chef -g chef -f"
|
||||
elog
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-solr/chef-solr-10.16.4.ebuild,v 1.2 2013/02/10 20:04:56 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=net-misc/rabbitmq-server-1.7.2
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-${PV}"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S rspec spec || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_doins -r solr
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-solr"
|
||||
doconfd "${FILESDIR}/confd/chef-solr"
|
||||
|
||||
keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/solr.rb"
|
||||
|
||||
fowners chef:chef /etc/chef/{,solr.rb}
|
||||
fowners chef:chef /var/{lib,log,run}/chef
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You need to run the chef-solr-installer script to setup the SOLR instance:"
|
||||
elog
|
||||
elog " chef-solr-installer -c /etc/chef/solr.rb -u chef -g chef -f"
|
||||
elog
|
||||
}
|
@ -1,51 +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/chef-solr/chef-solr-10.22.0.ebuild,v 1.1 2013/02/14 08:25:03 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Configuration management tool"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=net-misc/rabbitmq-server-1.7.2
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-${PV}"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S rspec spec || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
ruby_fakegem_doins -r solr
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-solr"
|
||||
doconfd "${FILESDIR}/confd/chef-solr"
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/solr.rb"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You need to run the chef-solr-installer script to setup the SOLR instance:"
|
||||
elog
|
||||
elog " chef-solr-installer -c /etc/chef/solr.rb -u chef -g chef -f"
|
||||
elog
|
||||
}
|
@ -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/chef-solr/chef-solr-10.20.0.ebuild,v 1.1 2013/02/10 20:04:57 hollow Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-solr/chef-solr-10.24.0.ebuild,v 1.1 2013/03/01 19:19:45 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
@ -1,4 +1 @@
|
||||
DIST chef-10.12.0.gem 429056 SHA256 dac132f5b91f90f37b95b964ee213bb936ee07aaceb23cb24b9c7a9fcb20377b SHA512 fd227a325874013ce764d79a3eb250626c0370b50447caa445c2a7e502121c3cbf29832c96ad266b1730fe0cdcac86767d7b55e2594ccbb57c09fee4f395ee0c WHIRLPOOL bfd03dcc4a15e3cc4f141d31af441123a0653e7cb0fa26cc46ccfbe7bda0633c2ecf503b99ad2b7608dab90e9dbe2d7e3e44b00ce9b42d57225359dd7422c091
|
||||
DIST chef-10.16.4.gem 811008 SHA256 42424ddbcbed716ffc1863d033a1e4f5446b3922f5cd31280423f9779f54bd7f SHA512 250899a274d2324cc713c2dab416a6926188434b9115650c1f64e23fbec410aedc16391f3b3b8198830c3f71430d261dfb5c2beb2627bb04411145d47232ee87 WHIRLPOOL 0b35decc41cad676ab826d8078f1e774df672455999032ccf46a77fd1ec55b98fd8d6c56d528941da68e5d32bc8e379e08d18b3f5b41ac753297bc738ba13237
|
||||
DIST chef-10.20.0.gem 820736 SHA256 c195f936760ac2e2f20b5833bc76f19eb1b6f8e0839033bf7cdc41031d51a1ab SHA512 0fe80a9210ad63bc9c4e14b5d638dc427517179971230f9a86b693575b7cc57ca50995832019327ecf9fac7ac9b4bd747f176b93ecee87480580a2a9775f1633 WHIRLPOOL 89c9d8574bec15c4982fd574d81e1f4fd6bc4b2b91d21dbc02619574a87f121f7b12eab9eaf2cb11b7275305405b17d7f2c43f96783edfad3c26cbf7640c43dc
|
||||
DIST chef-10.22.0.gem 822784 SHA256 80e285cef0f8668b13e51888cf763f537042e2b30e8b6f710b1e4d7248e433bc SHA512 b490279302629e00e0d228cbe9d18fbd470d61169774d945253e1ac40652d4b75e530c232ba239e5c608fd0558dcd6b5286e76a9c5e2baf748bbfe20e4ca9289 WHIRLPOOL 031acabc90b4b7cfec28eb3c28d586777e6858aabd29429df182933f1a6027d4f666dbd2a786ba0bd31ed2bed41f3a2b0b704b588d17b5641cd93f4c2e373268
|
||||
DIST chef-10.24.0.gem 823296 SHA256 896945deb09cb35ea370186e7f5380e7b61728ce85dfd7ee79de50506a516a89 SHA512 6027a4cd96da418dc18061611ff8c3461f236a088c3213f54f8828d63abe3575962fcb94ae91b5285f6f2168ef4204738d327781c3195151cf708b82cb9666d6 WHIRLPOOL a34e15688e99116909e326b40bd96246234e9c1eae592d34cc1cfa8396b56f7bfb54cfcd3917b1b21853f7a9d6dc143cf55bc4c899131a240f00a2d8249e8ef9
|
||||
|
@ -1,78 +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/chef/chef-10.12.0.ebuild,v 1.1 2012/08/11 12:16:13 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem user
|
||||
|
||||
DESCRIPTION="Chef is a systems integration framework"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# specs have various indempotency issues which result in the global Chef::Config
|
||||
# object to be replaced and subsequently fails other specs. Revisit this later.
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/bunny-0.6.0
|
||||
dev-ruby/erubis
|
||||
>=dev-ruby/highline-1.6.9
|
||||
>=dev-ruby/json-1.4.4
|
||||
<=dev-ruby/json-1.6.1
|
||||
>=dev-ruby/mixlib-authentication-1.1.0
|
||||
>=dev-ruby/mixlib-cli-1.1.0
|
||||
>=dev-ruby/mixlib-config-1.1.2
|
||||
>=dev-ruby/mixlib-log-1.3.0
|
||||
dev-ruby/mixlib-shellout
|
||||
dev-ruby/moneta
|
||||
>=dev-ruby/net-ssh-2.2.2
|
||||
<dev-ruby/net-ssh-2.3
|
||||
>=dev-ruby/net-ssh-multi-1.1
|
||||
<dev-ruby/net-ssh-multi-1.2
|
||||
>=dev-ruby/ohai-0.6.0
|
||||
>=dev-ruby/rest-client-1.0.4
|
||||
<dev-ruby/rest-client-1.7
|
||||
dev-ruby/ruby-shadow
|
||||
>=dev-ruby/treetop-1.4.9
|
||||
<dev-ruby/treetop-1.5
|
||||
dev-ruby/uuidtools
|
||||
>=dev-ruby/yajl-ruby-1.1
|
||||
<dev-ruby/yajl-ruby-2"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-client"
|
||||
doconfd "${FILESDIR}/confd/chef-client"
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/client.rb"
|
||||
doins "${FILESDIR}/solo.rb"
|
||||
|
||||
doman distro/common/man/man1/*.1
|
||||
doman distro/common/man/man8/*.8
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup chef
|
||||
enewuser chef -1 -1 /var/lib/chef chef
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You should edit /etc/chef/client.rb before starting the service with"
|
||||
elog "/etc/init.d/chef-client start"
|
||||
elog
|
||||
}
|
@ -1,89 +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/chef/chef-10.16.4.ebuild,v 1.2 2012/12/27 07:13:11 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC=${RUBY_FAKEGEM_NAME}.gemspec
|
||||
|
||||
inherit ruby-fakegem user
|
||||
|
||||
DESCRIPTION="Chef is a systems integration framework"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# specs have various indempotency issues which result in the global Chef::Config
|
||||
# object to be replaced and subsequently fails other specs. Revisit this later.
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/bunny-0.6.0
|
||||
dev-ruby/erubis
|
||||
>=dev-ruby/highline-1.6.9
|
||||
>=dev-ruby/json-1.4.4
|
||||
>=dev-ruby/mixlib-authentication-1.3.0
|
||||
>=dev-ruby/mixlib-cli-1.1.0
|
||||
>=dev-ruby/mixlib-config-1.1.2
|
||||
>=dev-ruby/mixlib-log-1.3.0
|
||||
dev-ruby/mixlib-shellout
|
||||
<dev-ruby/moneta-0.7.0
|
||||
>=dev-ruby/net-ssh-2.2.2
|
||||
<dev-ruby/net-ssh-2.3
|
||||
>=dev-ruby/net-ssh-multi-1.1
|
||||
<dev-ruby/net-ssh-multi-1.2
|
||||
>=dev-ruby/ohai-0.6.0
|
||||
>=dev-ruby/rest-client-1.0.4
|
||||
<dev-ruby/rest-client-1.7
|
||||
dev-ruby/ruby-shadow
|
||||
>=dev-ruby/treetop-1.4.9
|
||||
<dev-ruby/treetop-1.5
|
||||
dev-ruby/uuidtools
|
||||
>=dev-ruby/yajl-ruby-1.1
|
||||
<dev-ruby/yajl-ruby-2"
|
||||
|
||||
each_ruby_prepare() {
|
||||
ruby_fakegem_metadata_gemspec ../metadata ${RUBY_FAKEGEM_GEMSPEC}
|
||||
|
||||
# bunny
|
||||
sed -i -e 's/"< 0.8.0", //' ${RUBY_FAKEGEM_GEMSPEC} || die "Unable to fix up dependencies."
|
||||
|
||||
# json
|
||||
sed -i -e 's/"<= 1.6.1", //' ${RUBY_FAKEGEM_GEMSPEC} || die "Unable to fix up dependencies."
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-client"
|
||||
doconfd "${FILESDIR}/confd/chef-client"
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/client.rb"
|
||||
doins "${FILESDIR}/solo.rb"
|
||||
|
||||
doman distro/common/man/man1/*.1
|
||||
doman distro/common/man/man8/*.8
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup chef
|
||||
enewuser chef -1 -1 /var/lib/chef chef
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You should edit /etc/chef/client.rb before starting the service with"
|
||||
elog "/etc/init.d/chef-client start"
|
||||
elog
|
||||
}
|
@ -1,89 +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/chef/chef-10.20.0.ebuild,v 1.2 2013/02/10 21:08:24 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC=${RUBY_FAKEGEM_NAME}.gemspec
|
||||
|
||||
inherit ruby-fakegem user
|
||||
|
||||
DESCRIPTION="Chef is a systems integration framework"
|
||||
HOMEPAGE="http://wiki.opscode.com/display/chef"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# specs have various indempotency issues which result in the global Chef::Config
|
||||
# object to be replaced and subsequently fails other specs. Revisit this later.
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/bunny-0.6.0
|
||||
dev-ruby/erubis
|
||||
>=dev-ruby/highline-1.6.9
|
||||
>=dev-ruby/json-1.4.4
|
||||
>=dev-ruby/mixlib-authentication-1.3.0
|
||||
>=dev-ruby/mixlib-cli-1.1.0
|
||||
>=dev-ruby/mixlib-config-1.1.2
|
||||
>=dev-ruby/mixlib-log-1.3.0
|
||||
dev-ruby/mixlib-shellout
|
||||
<dev-ruby/moneta-0.7.0
|
||||
>=dev-ruby/net-ssh-2.6
|
||||
<dev-ruby/net-ssh-2.7
|
||||
>=dev-ruby/net-ssh-multi-1.1
|
||||
<dev-ruby/net-ssh-multi-1.2
|
||||
>=dev-ruby/ohai-0.6.0
|
||||
>=dev-ruby/rest-client-1.0.4
|
||||
<dev-ruby/rest-client-1.7
|
||||
dev-ruby/ruby-shadow
|
||||
>=dev-ruby/treetop-1.4.9
|
||||
<dev-ruby/treetop-1.5
|
||||
dev-ruby/uuidtools
|
||||
>=dev-ruby/yajl-ruby-1.1
|
||||
<dev-ruby/yajl-ruby-2"
|
||||
|
||||
each_ruby_prepare() {
|
||||
ruby_fakegem_metadata_gemspec ../metadata ${RUBY_FAKEGEM_GEMSPEC}
|
||||
|
||||
# bunny
|
||||
sed -i -e 's/"< 0.8.0", //' ${RUBY_FAKEGEM_GEMSPEC} || die "Unable to fix up dependencies."
|
||||
|
||||
# json
|
||||
sed -i -e 's/"<= 1.6.1", //' ${RUBY_FAKEGEM_GEMSPEC} || die "Unable to fix up dependencies."
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
keepdir /etc/chef /var/lib/chef /var/log/chef
|
||||
|
||||
doinitd "${FILESDIR}/initd/chef-client"
|
||||
doconfd "${FILESDIR}/confd/chef-client"
|
||||
|
||||
insinto /etc/chef
|
||||
doins "${FILESDIR}/client.rb"
|
||||
doins "${FILESDIR}/solo.rb"
|
||||
|
||||
doman distro/common/man/man1/*.1
|
||||
doman distro/common/man/man8/*.8
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup chef
|
||||
enewuser chef -1 -1 /var/lib/chef chef
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You should edit /etc/chef/client.rb before starting the service with"
|
||||
elog "/etc/init.d/chef-client start"
|
||||
elog
|
||||
}
|
@ -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/chef/chef-10.22.0.ebuild,v 1.1 2013/02/14 08:23:19 hollow Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef/chef-10.24.0.ebuild,v 1.1 2013/03/01 19:17:14 hollow Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
@ -1,2 +1,3 @@
|
||||
DIST cdrtools-3.00.tar.bz2 1978563 SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d SHA512 93887afd6c244814b7f6a623f0ac5b551934626163065a6f32aefe82aa7438450fd7a42737ef3cdaad3f18841c066d25e72e37891531dd0be5be328692712cec WHIRLPOOL a02750131e4ec55df10387a01dab3881afee669cd8b8ea65eaed4fdd82e6bd11040c6d79fc64ccc9377e787f5903ec92ea3ae81db1945554b65a8636737cc931
|
||||
DIST cdrtools-3.01a12.tar.bz2 2050364 SHA256 6b2bc91b4dd3bb5dc0ff10a3a858f68edff5a230500f40496ffbce406e7dfff8 SHA512 7906521fc94d8488cf3b2c476e4603106f9c6d4af120ced4f409beecf6bd1bf0b1e6b45685672f481ac4de9eb9ea58a579ef0296b86346d974809a90d2129730 WHIRLPOOL a0d41a2fc55c6d383ed9373a0426155a889fbc28f5658d43004fd437555b4f65e87aada4b21a588aea785ec689842ac7d94a459d87f8075e558a7fcc2ddce3a9
|
||||
DIST cdrtools-3.01a13.tar.bz2 2053012 SHA256 43d0a271f398851b1692b0a3f481c7238649090b4497752024a6d090816e09f5 SHA512 f5a33375be0002f6ec8d5fc77af8a1e5de65b67218139cd1064dbf2c7a8b3d0d0012c5e062e9976581b4684946a08ee0d4d980e83a38eadb8992003b7f343892 WHIRLPOOL 5ea0f786d839c7050b1820252ca8f638c65d322e35a04765dabb91c0a395de879f2fab1f60e0c7a1568eb5b8a63b7b890525333f17448fa428ad0f5f7bcc7e40
|
||||
|
@ -0,0 +1,145 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha13.ebuild,v 1.1 2013/03/01 20:04:37 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib eutils toolchain-funcs flag-o-matic
|
||||
|
||||
MY_P="${P/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
|
||||
HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html"
|
||||
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="acl nls unicode"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
nls? ( virtual/libintl )
|
||||
!app-cdr/cdrkit"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.18.1.1 )"
|
||||
|
||||
S=${WORKDIR}/${P/_alpha[0-9][0-9]}
|
||||
|
||||
src_prepare() {
|
||||
# Remove profiled make files.
|
||||
rm -f $(find . -name '*_p.mk') || die "rm profiled"
|
||||
|
||||
# Adjusting hardcoded paths.
|
||||
sed -i -e 's:opt/schily:usr:' \
|
||||
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
|
||||
|| die "sed opt/schily"
|
||||
|
||||
sed -i -e "s:\(^INSDIR=\t\tshare/doc/\):\1${PF}/:" \
|
||||
$(find ./ -type f -exec grep -l 'INSDIR.\+doc' '{}' '+') \
|
||||
|| die "sed doc"
|
||||
|
||||
# Respect libdir.
|
||||
sed -i -e "s:\(^INSDIR=\t\t\)lib:\1$(get_libdir):" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
|
||||
|| die "sed multilib"
|
||||
|
||||
# Do not install static libraries.
|
||||
sed -i -e 's:include\t\t.*rules.lib::' \
|
||||
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
|
||||
|| die "sed rules"
|
||||
|
||||
# Respect CC/CXX variables.
|
||||
cd "${S}"/RULES
|
||||
local tcCC=$(tc-getCC)
|
||||
local tcCXX=$(tc-getCXX)
|
||||
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
|
||||
rules1.top || die "sed rules1.top"
|
||||
sed -i -e "/^\(CC\|DYNLD\|LDCC\|MKDEP\)/s|gcc|${tcCC}|" \
|
||||
-e "/^\(CC++\|DYNLDC++\|LDCC++\|MKC++DEP\)/s|g++|${tcCXX}|" \
|
||||
-e "/COPTOPT=/s/-O//" \
|
||||
-e 's/$(GCCOPTOPT)//' \
|
||||
cc-gcc.rul || die "sed cc-gcc.rul"
|
||||
sed -i -e "s|^#CONFFLAGS +=\t-cc=\$(XCC_COM)$|CONFFLAGS +=\t-cc=${tcCC}|g" \
|
||||
rules.cnf || die "sed rules.cnf"
|
||||
|
||||
# Create additional symlinks needed for some archs (armv4l already created)
|
||||
local t
|
||||
for t in armv4tl armv5l armv5tel armv6l armv7l ppc64 s390x; do
|
||||
ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
|
||||
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
|
||||
done
|
||||
|
||||
# Schily make setup.
|
||||
cd "${S}"/DEFAULTS
|
||||
local os="linux"
|
||||
[[ ${CHOST} == *-darwin* ]] && os="mac-os10"
|
||||
|
||||
sed -i \
|
||||
-e "s:/opt/schily:/usr:g" \
|
||||
-e "s:/usr/src/linux/include::g" \
|
||||
-e "s:bin:root:g" \
|
||||
Defaults.${os} || die "sed Schily make setup"
|
||||
}
|
||||
|
||||
# skip obsolete configure script
|
||||
src_configure() { : ; }
|
||||
|
||||
src_compile() {
|
||||
if use unicode; then
|
||||
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
|
||||
if [[ -n ${flags} ]]; then
|
||||
append-flags ${flags}
|
||||
else
|
||||
ewarn "Your compiler does not support the options required to build"
|
||||
ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use acl; then
|
||||
CFLAGS="${CFLAGS} -DNO_ACL"
|
||||
fi
|
||||
|
||||
# LIB_ACL_TEST removed to support x86-fbsd
|
||||
# If not built with -j1, "sometimes" cdda2wav will not be built.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# If not built with -j1, "sometimes" manpages are not installed.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true" install
|
||||
|
||||
# These symlinks are for compat with cdrkit.
|
||||
dosym schily /usr/include/scsilib
|
||||
dosym ../scg /usr/include/schily/scg
|
||||
|
||||
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
|
||||
|
||||
cd "${S}"/cdda2wav
|
||||
docinto cdda2wav
|
||||
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
|
||||
|
||||
cd "${S}"/mkisofs
|
||||
docinto mkisofs
|
||||
dodoc ChangeLog* TODO
|
||||
|
||||
# Remove man pages related to the build system
|
||||
rm -rvf "${ED}"/usr/share/man/man5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
einfo
|
||||
einfo "Darwin/OS X use the following device names:"
|
||||
einfo
|
||||
einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
|
||||
einfo
|
||||
einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libsecret-0.11.tar.xz 474716 SHA256 e5399dfb61376a7500d20cb22715152780aa3a2c8a64281ec6bc8f0ebeb8b689 SHA512 a4fa9e8e661f8165dacfc15fbe41a8429070c036ce64a7bfbd79ffc0c18ddf16d31518d25298de8e640f3b581e7d8915537ecca85a182b9bad8c03fe1d287122 WHIRLPOOL 02eef41a600597f3348b859895a62e200277e23a752071e222e87ff8229b4bc71f8ecd201b4ae118ceebd0179db3c1593c812d7c4b9f6bf6040af72b3205d419
|
||||
DIST libsecret-0.12.tar.xz 476552 SHA256 323db75a5e73058d3eb95597d9f798fd715ec7d58f500be84628b8f9a0617c01 SHA512 920da07b8674816b9f139dc71e79721d1767025e799e99dea7458c3c3b54c81ae2f4aa55ad55194e0c151fa23d13eae12928c9bbfac1c67d9ae6eed3d8a1efa4 WHIRLPOOL 1bcc96a175519f2d24ec8c5f8ee61ae0ca851511c540d69230ab05a67d7192ac5827d407c06aa054820ee1ea714efee7ee15927b4fcc152fae73ef66bb768f24
|
||||
DIST libsecret-0.13.tar.xz 480260 SHA256 bb5d8825f045a635444cb52233e0674f7dac89b7700568cf7ef4cc6dc5cbfbc9 SHA512 17916036c184ae6fe2c019141a9cb205c910e2352f3eba53a55503a3e8a31b90fd203f8f129039b4b157ba0a715bc7bc38fd213d1f9ffdf87cfcf19e563cc703 WHIRLPOOL 0f67a16efccdd11bf974d24dcf0ea255d0d5e6a8e8b2d67bca2769e84815690c7d96ebe595c6b6da67fcdb65185f2c2527f6d7bbd8bbddcbdaae6ead3169ab25
|
||||
|
@ -0,0 +1,94 @@
|
||||
From ddd9bdd2e9fcc6009e54a17751d1002a039d180a Mon Sep 17 00:00:00 2001
|
||||
From: Stef Walter <stefw@gnome.org>
|
||||
Date: Mon, 25 Feb 2013 13:56:32 +0100
|
||||
Subject: [PATCH] Fix introspection for secret_value_get() to return a uint8
|
||||
|
||||
This works around a crash in pygobject.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=694448
|
||||
---
|
||||
libsecret/secret-value.c | 4 ++--
|
||||
libsecret/tests/test-unstable.py | 34 +++++++++++++++++++++++++++++++---
|
||||
2 files changed, 33 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/libsecret/secret-value.c b/libsecret/secret-value.c
|
||||
index 7bd7bc2..a6fc5b8 100644
|
||||
--- a/libsecret/secret-value.c
|
||||
+++ b/libsecret/secret-value.c
|
||||
@@ -151,13 +151,13 @@ secret_value_new_full (gchar *secret,
|
||||
/**
|
||||
* secret_value_get:
|
||||
* @value: the value
|
||||
- * @length: (out): the length of the secret
|
||||
+ * @length: the length of the secret
|
||||
*
|
||||
* Get the secret data in the #SecretValue. The value is not necessarily
|
||||
* null-terminated unless it was created with secret_value_new() or a
|
||||
* null-terminated string was passed to secret_value_new_full().
|
||||
*
|
||||
- * Returns: (array length=length): the secret data
|
||||
+ * Returns: (array length=length) (element-type guint8): the secret data
|
||||
*/
|
||||
const gchar *
|
||||
secret_value_get (SecretValue *value,
|
||||
diff --git a/libsecret/tests/test-unstable.py b/libsecret/tests/test-unstable.py
|
||||
index 7f611e7..2aa6d2b 100644
|
||||
--- a/libsecret/tests/test-unstable.py
|
||||
+++ b/libsecret/tests/test-unstable.py
|
||||
@@ -14,22 +14,50 @@
|
||||
import unittest
|
||||
|
||||
from gi.repository import MockService as Mock
|
||||
-from gi.repository import SecretUnstable as Secret, GLib
|
||||
+from gi.repository import SecretUnstable, Secret, GLib
|
||||
+
|
||||
+EXAMPLE_SCHEMA = Secret.Schema.new('org.mock.type.Store',
|
||||
+ Secret.SchemaFlags.NONE,
|
||||
+ {
|
||||
+ 'number': Secret.SchemaAttributeType.INTEGER,
|
||||
+ 'string': Secret.SchemaAttributeType.STRING,
|
||||
+ 'even': Secret.SchemaAttributeType.BOOLEAN,
|
||||
+ }
|
||||
+)
|
||||
+
|
||||
+attributes = {
|
||||
+ 'number': '8',
|
||||
+ 'string': 'eight',
|
||||
+ 'even': 'true'
|
||||
+}
|
||||
|
||||
class TestStore(unittest.TestCase):
|
||||
def setUp(self):
|
||||
Mock.start("mock-service-normal.py")
|
||||
|
||||
def tearDown(self):
|
||||
- Secret.Service.disconnect()
|
||||
+ SecretUnstable.Service.disconnect()
|
||||
Mock.stop()
|
||||
|
||||
def testSynchronous(self):
|
||||
- service = Secret.Service.get_sync(Secret.ServiceFlags.NONE, None);
|
||||
+ service = SecretUnstable.Service.get_sync(SecretUnstable.ServiceFlags.NONE, None);
|
||||
path = service.read_alias_dbus_path_sync("default", None);
|
||||
|
||||
# Just running this without error is good enough for us to test the unstable gir
|
||||
self.assertNotEqual(path, None);
|
||||
|
||||
+ def testValueGet(self):
|
||||
+ Secret.password_store_sync(EXAMPLE_SCHEMA, attributes, Secret.COLLECTION_DEFAULT,
|
||||
+ 'the label', 'the password', None)
|
||||
+
|
||||
+ service = SecretUnstable.Service.get_sync(SecretUnstable.ServiceFlags.NONE, None)
|
||||
+ items = service.search_sync(EXAMPLE_SCHEMA, { 'even': 'true' },
|
||||
+ SecretUnstable.SearchFlags.ALL | SecretUnstable.SearchFlags.LOAD_SECRETS,
|
||||
+ None)
|
||||
+
|
||||
+ item = items[0]
|
||||
+ item_secret = item.get_secret()
|
||||
+ self.assertEqual(item_secret.get(), "the password")
|
||||
+
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
--
|
||||
1.7.12.4
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/libsecret/libsecret-0.13.ebuild,v 1.1 2013/03/02 08:51:22 nirbheek Exp $
|
||||
|
||||
EAPI="5"
|
||||
VALA_MIN_API_VERSION=0.18
|
||||
VALA_USE_DEPEND=vapigen
|
||||
|
||||
inherit eutils gnome2 python vala virtualx
|
||||
|
||||
DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API"
|
||||
HOMEPAGE="https://live.gnome.org/Libsecret"
|
||||
|
||||
LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only
|
||||
SLOT="0"
|
||||
IUSE="+crypt debug +introspection test vala"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.32.0:2
|
||||
crypt? ( >=dev-libs/libgcrypt-1.2.2:= )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.29 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=gnome-base/gnome-keyring-3"
|
||||
# Add ksecrets to RDEPEND when it's added to portage
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-libs/libxslt
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/gtk-doc-am
|
||||
>=dev-util/intltool-0.35.0
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-python/mock
|
||||
introspection? (
|
||||
=dev-lang/python-2*
|
||||
>=dev-libs/gjs-1.32
|
||||
dev-python/pygobject:3 )
|
||||
)
|
||||
vala? ( $(vala_depend) )"
|
||||
|
||||
pkg_setup() {
|
||||
# python is only needed for tests
|
||||
if use test && use introspection; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="${G2CONF}
|
||||
--enable-manpages
|
||||
--disable-strict
|
||||
--disable-coverage
|
||||
--disable-static
|
||||
$(use_enable crypt gcrypt)
|
||||
$(use_enable introspection)
|
||||
$(use_enable vala)"
|
||||
|
||||
# FIXME: disable failing test
|
||||
sed -e '/test_get_sync);/d' \
|
||||
-e '/test_get_async);/d' \
|
||||
-i libsecret/tests/test-service.c || die
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=694448
|
||||
epatch "${FILESDIR}/${P}-fix-secretvalue-get.patch"
|
||||
|
||||
use vala && vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake check
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/g15daemon/files/g15daemon-1.9.5.3.initd,v 1.1 2013/03/01 23:16:50 polynomial-c Exp $
|
||||
|
||||
# Init script for g15daemon
|
||||
|
||||
pidfile="/var/run/g15daemon.pid"
|
||||
command="/usr/sbin/g15daemon"
|
||||
command_args=""
|
||||
start_stop_daemon_args="--background --pidfile ${pidfile}"
|
||||
|
||||
depend() {
|
||||
after hotplug
|
||||
after usb
|
||||
after modules
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
# Does the input device already exist?
|
||||
if [ -e "/proc/modules" ] ; then
|
||||
if [ ! -e "/dev/input/uinput" ] || [ ! -e "/dev/uinput" ] ; then
|
||||
# We can load modules, but uinput device does not exist
|
||||
einfo "Loading uinput module"
|
||||
/sbin/modprobe uinput > /dev/null 2> /dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
local SWITCHKEY=""
|
||||
[ "${CLIENT_SWITCH_L1}" = "yes" ] && command_args="--switch"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping g15daemon"
|
||||
local KILLOPT="-k"
|
||||
if [ $BACKLIGHT_OFF = "yes" ]; then
|
||||
KILLOPT="-K"
|
||||
fi
|
||||
start-stop-daemon -R 5 --exec ${command} -- ${KILLOPT}
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,179 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/g15daemon/g15daemon-1.9.5.3-r7.ebuild,v 1.1 2013/03/01 23:16:49 polynomial-c Exp $
|
||||
|
||||
EAPI=4
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
PYTHON_DEPEND="python? *"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils linux-info perl-module python base
|
||||
|
||||
DESCRIPTION="G15daemon takes control of the G15 keyboard, through the linux kernel uinput device driver"
|
||||
HOMEPAGE="http://g15daemon.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="perl python static-libs"
|
||||
|
||||
DEPEND="virtual/libusb:0
|
||||
>=dev-libs/libg15-9999
|
||||
>=dev-libs/libg15render-1.2
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/GDGraph
|
||||
>=dev-perl/Inline-0.4
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-forgotten-open-mode.patch"
|
||||
"${FILESDIR}/${P}-overflow-fix.patch"
|
||||
"${FILESDIR}/${P}-g510-keys.patch"
|
||||
)
|
||||
|
||||
uinput_check() {
|
||||
ebegin "Checking for uinput support"
|
||||
local rc=1
|
||||
linux_config_exists && linux_chkconfig_present INPUT_UINPUT
|
||||
rc=$?
|
||||
|
||||
if [[ $rc -ne 0 ]] ; then
|
||||
eerror "To use g15daemon, you need to compile your kernel with uinput support."
|
||||
eerror "Please enable uinput support in your kernel config, found at:"
|
||||
eerror
|
||||
eerror "Device Drivers -> Input Device ... -> Miscellaneous devices -> User level driver support."
|
||||
eerror
|
||||
eerror "Once enabled, you should have the /dev/input/uinput device."
|
||||
eerror "g15daemon will not work without the uinput device."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
uinput_check
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
if use perl; then
|
||||
unpack "./${P}/lang-bindings/perl-G15Daemon-0.2.tar.gz"
|
||||
fi
|
||||
if use python; then
|
||||
unpack "./${P}/lang-bindings/pyg15daemon-0.0.tar.bz2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use perl; then
|
||||
perl-module_src_prepare
|
||||
sed -i \
|
||||
-e '1i#!/usr/bin/perl' \
|
||||
"${S}"/contrib/testbindings.pl
|
||||
else
|
||||
# perl-module_src_prepare always calls base_src_prepare
|
||||
base_src_prepare
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable static-libs static)
|
||||
|
||||
if use perl; then
|
||||
cd "${WORKDIR}/G15Daemon-0.2"
|
||||
perl-module_src_configure
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use perl; then
|
||||
cd "${WORKDIR}/G15Daemon-0.2"
|
||||
perl-module_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
|
||||
# remove odd docs installed my make
|
||||
rm "${ED}/usr/share/doc/${PF}/"{LICENSE,README.usage}
|
||||
|
||||
insinto /usr/share/${PN}/contrib
|
||||
doins contrib/xmodmaprc
|
||||
doins contrib/xmodmap.sh
|
||||
if use perl; then
|
||||
doins contrib/testbindings.pl
|
||||
fi
|
||||
|
||||
newconfd "${FILESDIR}/${PN}-1.2.7.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}-1.9.5.3.initd" ${PN}
|
||||
dobin "${FILESDIR}/g15daemon-hotplug"
|
||||
insinto /lib/udev/rules.d
|
||||
doins "${FILESDIR}/99-g15daemon.rules"
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/g15daemon.conf
|
||||
|
||||
# Gentoo bug #301340, debian bug #611649
|
||||
exeinto /usr/lib/pm-utils/sleep.d
|
||||
doexe "${FILESDIR}"/20g15daemon
|
||||
|
||||
if use perl; then
|
||||
ebegin "Installing Perl Bindings (G15Daemon.pm)"
|
||||
cd "${WORKDIR}/G15Daemon-0.2"
|
||||
docinto perl
|
||||
perl-module_src_install
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
ebegin "Installing Python Bindings (g15daemon.py)"
|
||||
cd "${WORKDIR}/pyg15daemon"
|
||||
|
||||
installation() {
|
||||
insinto $(python_get_sitedir)
|
||||
doins g15daemon.py
|
||||
}
|
||||
python_execute_function installation
|
||||
|
||||
docinto python
|
||||
dodoc AUTHORS
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize g15daemon.py
|
||||
echo ""
|
||||
fi
|
||||
|
||||
elog "To use g15daemon, you need to add g15daemon to the default runlevel."
|
||||
elog "This can be done with:"
|
||||
elog "# /sbin/rc-update add g15daemon default"
|
||||
elog "You can edit some g15daemon options at /etc/conf.d/g15daemon"
|
||||
elog ""
|
||||
elog "To have all new keys working in X11, you'll need create a "
|
||||
elog "specific xmodmap in your home directory or edit the existent one."
|
||||
elog ""
|
||||
elog "Create the xmodmap:"
|
||||
elog "cp /usr/share/g15daemon/contrib/xmodmaprc ~/.Xmodmap"
|
||||
elog ""
|
||||
elog "Adding keycodes to an existing xmodmap:"
|
||||
elog "cat /usr/share/g15daemon/contrib/xmodmaprc >> ~/.Xmodmap"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup g15daemon.py
|
||||
fi
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST ranger-1.5.4.tar.gz 126735 SHA256 e58a23ed8c2ae075a668446c3e16246b69d2f37934ef88bc473e5a552fb0d98d SHA512 b939e66d310cf8ad7ed314db885ab9edc0c6b331f103ce156ee6f599697022fd1d3373142609ef47c45701b9c0d83d8a405cebc3b22b261cc8371f113b26f9fe WHIRLPOOL 932b65bf1e34a2b1cd389b9cf91cb109cba65c79daaacc260bd431a1554fed26115a86b7e62cbc842d3f8cbb0d6e0c4a887b5f66427975a82671e929a826821e
|
||||
DIST ranger-1.5.5.tar.gz 126769 SHA256 7445e00ee84055982df2b8511672923db778b9ee24b606beb61d084b38baa9d3 SHA512 d0125d768011ad099a72d4590cbb81d46141391000b7586e59667db2bc55d26e4a7949b827b895d4aeb601546a5c42faafb395f22c3e9dae9e596b500cc31059 WHIRLPOOL 12117e00bc7b0af4663084fdcfbe493425690c33daf3c9e3c0f18d3f857d0cac4d2bb5f96dfe39f480e1d2cc35318510cd317911f5ca2b0e225d8fa87ce80e2f
|
||||
DIST ranger-1.6.0.tar.gz 154775 SHA256 65eaef4710b15133298b363a38277d8319d5327840c42f5a87639a7e3cd7a8a3 SHA512 b44065048049eb66df4654674e851d135244fd5cf0c5e9c1a37807b25ed39b4fa9950fdcda72b16e77debe10f207c34ca6e4e468c2b1e11642dccf85c0ab86f5 WHIRLPOOL e525fccbedb99584cebdf638bb28a3535a2e7f340a029b33f7e24044690952e4526d02f750f661de6e3cd94e448f3efc01bd4f5f2d1e072e61b6231190496ed1
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ranger/ranger-1.5.4.ebuild,v 1.3 2012/06/24 03:42:49 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.6 3:3.1"
|
||||
PYTHON_USE_WITH="ncurses"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A vim-inspired file manager for the console"
|
||||
HOMEPAGE="http://ranger.nongnu.org/"
|
||||
SRC_URI="http://nongnu.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/pager"
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
elog "Ranger has many optional dependencies to support enhanced file previews."
|
||||
elog "See the README or homepage for more details."
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ranger/ranger-1.5.5.ebuild,v 1.1 2012/08/13 19:07:06 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.6 3:3.1"
|
||||
PYTHON_USE_WITH="ncurses"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A vim-inspired file manager for the console"
|
||||
HOMEPAGE="http://ranger.nongnu.org/"
|
||||
SRC_URI="http://nongnu.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/pager"
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
elog "Ranger has many optional dependencies to support enhanced file previews."
|
||||
elog "See the README or homepage for more details."
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ranger/ranger-1.6.0.ebuild,v 1.2 2013/03/02 06:41:49 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.savannah.nongnu.org/ranger.git"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="http://nongnu.org/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A vim-inspired file manager for the console"
|
||||
HOMEPAGE="http://ranger.nongnu.org/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="virtual/pager"
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version ${CATEGORY}/${PN} ; then
|
||||
elog "Ranger has many optional dependencies to support enhanced file previews."
|
||||
elog "See the README or homepage for more details."
|
||||
fi
|
||||
}
|
@ -1,26 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ranger/ranger-9999.ebuild,v 1.3 2013/01/11 22:25:09 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ranger/ranger-9999.ebuild,v 1.4 2013/03/02 06:41:49 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
|
||||
inherit distutils-r1 git-2
|
||||
inherit distutils-r1
|
||||
|
||||
EGIT_REPO_URI="git://git.savannah.nongnu.org/ranger.git"
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.savannah.nongnu.org/ranger.git"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="http://nongnu.org/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A vim-inspired file manager for the console"
|
||||
HOMEPAGE="http://ranger.nongnu.org/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/pager"
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Ranger has many optional dependencies to support enhanced file previews."
|
||||
elog "See the README or homepage for more details."
|
||||
if ! has_version ${CATEGORY}/${PN} ; then
|
||||
elog "Ranger has many optional dependencies to support enhanced file previews."
|
||||
elog "See the README or homepage for more details."
|
||||
fi
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
DIST xmind-portable-3.3.1.201212250029.zip 87936800 SHA256 5cbb9ad6d0e25ef350738fcd781818add76e36694fa0ede00d725658126cb810 SHA512 ffca509f86182c1693a4ab01cd36e7e8e1642813880db8afbd11b4ca6fb78fc7015b8aca5e5add9e3d8e430897a24a981361fb14fe406f30229180dfa0009016 WHIRLPOOL 5357ac3c9042086d8cd0f2746341dbb888e112e3becb9e5ae1371900f610a008f7a1c41fbb0597b40ada75fc3b33d0a4814c4868f54fd71b305eee66f868f940
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/x-xmind">
|
||||
<sub-class-of type="application/zip"/>
|
||||
<comment>XMind Workbook</comment>
|
||||
<alias type="application/vnd.xmind.workbook"/>
|
||||
<generic-icon name="package-x-generic"/>
|
||||
<glob pattern="*.xmind"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
@ -0,0 +1,78 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import gnomevfs
|
||||
import os
|
||||
import sys
|
||||
import zipfile
|
||||
from PIL import Image, ImageEnhance
|
||||
|
||||
# Alter these varibles to change thumbnail look
|
||||
ICON_PATH = "/usr/share/icons/hicolor/32x32/apps/xmind.png" # Change this path to alter icons
|
||||
ICON_OPACITY = 0.6 #Opacity of the icon (between 0.0 and 1.0)
|
||||
THUMBNAIL_BACKGROUND_COLOR = "white" # Color of the background
|
||||
|
||||
in_file_path = gnomevfs.get_local_path_from_uri(sys.argv[1])
|
||||
out_file_path = sys.argv[2]
|
||||
path_without_thumbs = os.getenv("HOME")+"/Templates"
|
||||
|
||||
def get_icon(thumbnail_size):
|
||||
#Load icon
|
||||
icon = Image.open(ICON_PATH).convert("RGBA")
|
||||
#Set it's opacity
|
||||
icon = set_icon_opacity(icon,ICON_OPACITY)
|
||||
#And set it's position in thumbnail
|
||||
icon_posx=thumbnail_size[0]-icon.size[0]
|
||||
icon_posy=thumbnail_size[1]-icon.size[1]
|
||||
icon_width=thumbnail_size[0]
|
||||
icon_height=thumbnail_size[1]
|
||||
return {"image":icon,"position":(icon_posx,icon_posy,icon_width,icon_height)}
|
||||
|
||||
def get_basic_thumbnail():
|
||||
#Find out if the file is not in Templates directory
|
||||
if in_file_path.find(path_without_thumbs)!=0:
|
||||
try:
|
||||
#Extract thumbnail from Xmind file and save it
|
||||
zip=zipfile.ZipFile(in_file_path,mode="r")
|
||||
picture=zip.read("Thumbnails/thumbnail.jpg")
|
||||
zip.close()
|
||||
thumbnail=open(out_file_path,"w")
|
||||
thumbnail.write(picture)
|
||||
thumbnail.write("/n")
|
||||
thumbnail.close()
|
||||
#Open saved thumbnail
|
||||
image=Image.open(out_file_path).convert("RGBA")
|
||||
if image.size[0]>200:
|
||||
image = image.resize((200,image.size[1]*200/image.size[0]))
|
||||
if image.size[1]>200:
|
||||
image = image.resize((image.size[0]*200/image.size[1],200))
|
||||
return {"suceeded":True,"image":image,"size":(image.size[0],image.size[1])}
|
||||
|
||||
except:
|
||||
return {"suceeded":False}
|
||||
else:
|
||||
return {"suceeded":False}
|
||||
|
||||
# Nicked from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362879
|
||||
def set_icon_opacity(icon,opacity):
|
||||
#Returns an image with reduced opacity.
|
||||
assert opacity >= 0 and opacity <= 1
|
||||
if icon.mode != 'RGBA':
|
||||
icon = icon.convert('RGBA')
|
||||
else:
|
||||
icon = icon.copy()
|
||||
alpha = icon.split()[3]
|
||||
alpha = ImageEnhance.Brightness(alpha).enhance(opacity)
|
||||
icon.putalpha(alpha)
|
||||
return icon
|
||||
|
||||
thumbnail=get_basic_thumbnail()
|
||||
if thumbnail["suceeded"]:
|
||||
background=Image.new("RGB", thumbnail["size"], THUMBNAIL_BACKGROUND_COLOR)
|
||||
icon=get_icon(thumbnail["size"])
|
||||
thumbnail=thumbnail["image"]
|
||||
# Add thumbnail
|
||||
background.paste(thumbnail, None, thumbnail)
|
||||
# Add icon
|
||||
background.paste(icon["image"],icon["position"],icon["image"])
|
||||
# Save thumbnail
|
||||
background.save(out_file_path,"PNG")
|
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.5 KiB |
@ -0,0 +1,30 @@
|
||||
<gconfschemafile>
|
||||
<schemalist>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/thumbnailers/application@x-xmind/enable</key>
|
||||
<applyto>/desktop/gnome/thumbnailers/application@x-xmind/enable</applyto>
|
||||
<owner>xmind-thumb</owner>
|
||||
<type>bool</type>
|
||||
<default>true</default>
|
||||
<locale name="C">
|
||||
<short></short>
|
||||
<long></long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/thumbnailers/application@x-xmind/command</key>
|
||||
<applyto>/desktop/gnome/thumbnailers/application@x-xmind/command</applyto>
|
||||
<owner>xmind-thumb</owner>
|
||||
<type>string</type>
|
||||
<default>/usr/bin/xmind-thumbnailer %u %o</default>
|
||||
<locale name="C">
|
||||
<short></short>
|
||||
<long></long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
</schemalist>
|
||||
</gconfschemafile>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>creffett@gentoo.org</email>
|
||||
<name>Chris Reffett</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/xmind/xmind-3.3.1.201212250029.ebuild,v 1.1 2013/03/02 03:32:55 creffett Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib fdo-mime gnome2-utils
|
||||
|
||||
MY_PN="${PN}-portable"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A brainstorming and mind mapping software tool."
|
||||
HOMEPAGE="http://www.xmind.net"
|
||||
SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip"
|
||||
LICENSE="EPL-1.0 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jre-1.5
|
||||
x11-libs/gtk+:2
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PRESTRIPPED="/usr/$(get_libdir)/xmind/XMind/libcairo-swt.so"
|
||||
|
||||
src_configure() {
|
||||
if use amd64; then
|
||||
XDIR="XMind_Linux_64bit"
|
||||
else
|
||||
XDIR="XMind_Linux"
|
||||
fi
|
||||
mv -v "$XDIR" XMind
|
||||
mv -v XMind/.eclipseproduct XMind/configuration Commons
|
||||
|
||||
# force data instance & config area to be at home/.xmind directory
|
||||
sed -i -e '/-configuration/d' XMind/XMind.ini || die
|
||||
sed -i -e '/\.\/configuration/d' XMind/XMind.ini || die
|
||||
sed -i -e '/-data/d' XMind/XMind.ini || die
|
||||
sed -i -e '/\.\.\/Commons\/data\/workspace-cathy/d' XMind/XMind.ini || die
|
||||
echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die
|
||||
echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
libdir="$(get_libdir)"
|
||||
dodir "/usr/${libdir}/xmind"
|
||||
insinto "/usr/${libdir}/xmind"
|
||||
doins -r Commons
|
||||
doins -r XMind
|
||||
|
||||
exeinto "/usr/${libdir}/xmind/XMind"
|
||||
doexe XMind/XMind
|
||||
dosym "/usr/${libdir}/xmind/XMind/XMind" /usr/bin/xmind
|
||||
|
||||
# insall icons
|
||||
local res
|
||||
for res in 16 32 48; do
|
||||
insinto /usr/share/icons/hicolor/${res}x${res}/apps
|
||||
newins "${FILESDIR}/xmind.${res}.png" xmind.png
|
||||
done
|
||||
|
||||
# insall MIME type
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}/x-xmind.xml"
|
||||
|
||||
# make desktop entry
|
||||
make_desktop_entry xmind XMind xmind Office "MimeType=application/x-xmind;"
|
||||
sed -i -e "/^Exec/s/$/ %F/" "${ED}"/usr/share/applications/*.desktop
|
||||
|
||||
insinto /etc/gconf/schemas
|
||||
doins "${FILESDIR}/xmind.schemas"
|
||||
dobin "${FILESDIR}/xmind-thumbnailer"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
elog "For audio notes support, install media-sound/lame"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1 @@
|
||||
DIST kuroo4-0.90.2.tar.gz 325914 SHA256 2f6519481e6477f04f9651225241482112ebddd3ffbf1699b85a7cb5da724b16 SHA512 80640791e99da994bad9503f4d6b80d283a82bb237b4ec5415205c8e524bb722d96418a7777a137e40750a63405a088a31bf00a38e4873294d3069ad7068db2d WHIRLPOOL 5a2102608bd0f44c12798d82a7ac52eb4f2a2b4a4266a07f0a0f306a8930488adac480876ac485e89d127f62ab987e474ce3ca1e845e6dae82f4136c3c42844f
|
||||
DIST kuroo4-0.90.3.tar.gz 325913 SHA256 c46dca954923c43eadbc1bbcfa15aae175a5051f2c2d2a6c6df0dad0b9ec08d4 SHA512 a4348ac442c77d34952323656dae1e0577001dd515ef6b0a9b5f5dccbe94c761489e48ee8503ac0b20a3612aba9517a98e71f3e70a0b23e9ec52f2b1d7e12a2f WHIRLPOOL 774d0859d4b68f0ac60007eb383245f6a48a5bfd0fb6128438f77cf03819db5357ac859c5ee944164e370a63f5c73d95cd974e89ee8a8215462378c5d18376e1
|
||||
|
@ -1,51 +0,0 @@
|
||||
Index: src/kurooinit.cpp
|
||||
===================================================================
|
||||
--- src/kurooinit.cpp (revision 1608)
|
||||
+++ src/kurooinit.cpp (revision 1609)
|
||||
@@ -81,7 +81,7 @@
|
||||
exit(0);
|
||||
} else {
|
||||
chmod( kurooDir.toAscii(), 0770 );
|
||||
- chown( kurooDir.toAscii(), portageGid->gr_gid, portageUid->pw_uid );
|
||||
+ KIO::chown( KUrl(kurooDir), portageGid->gr_name, portageUid->pw_name);
|
||||
}
|
||||
|
||||
d.setCurrent( kurooDir );
|
||||
@@ -99,7 +99,7 @@
|
||||
}
|
||||
else {
|
||||
chmod( backupDir.toAscii(), 0770 );
|
||||
- chown( backupDir.toAscii(), portageGid->gr_gid, portageUid->pw_uid );
|
||||
+ KIO::chown( KUrl(backupDir), portageGid->gr_name, portageUid->pw_name);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
QString logFile = LogSingleton::Instance()->init( this );
|
||||
if ( !logFile.isEmpty() ) {
|
||||
chmod( logFile.toAscii(), 0660 );
|
||||
- chown( logFile.toAscii(), portageGid->gr_gid, portageUid->pw_uid );
|
||||
+ KIO::chown( KUrl(logFile), portageGid->gr_name, portageUid->pw_name );
|
||||
}
|
||||
|
||||
// Initialize the database
|
||||
@@ -136,7 +136,7 @@
|
||||
|
||||
// Give permissions to portage:portage to access the db also
|
||||
chmod( databaseFile.toAscii(), 0660 );
|
||||
- chown( databaseFile.toAscii(), portageGid->gr_gid, portageUid->pw_uid );
|
||||
+ KIO::chown( KUrl(databaseFile), portageGid->gr_name, portageUid->pw_name );
|
||||
|
||||
// Initialize singletons objects
|
||||
SignalistSingleton::Instance()->init( this );
|
||||
@@ -149,7 +149,7 @@
|
||||
FileWatcherSingleton::Instance()->init( this );
|
||||
|
||||
//Load packages in case /etc/portage.* changed
|
||||
- //PortageFilesSingleton::Instance()->loadPackageFiles();
|
||||
+ PortageFilesSingleton::Instance()->loadPackageFiles();
|
||||
}
|
||||
|
||||
KurooInit::~KurooInit()
|
||||
|
||||
------------------------------------------------------------------------
|
@ -1 +1,2 @@
|
||||
DIST taglist-4.5.tar.bz2 39272 SHA256 94170e61c3a05f5d1ed8e8475ab2e3eeafc264629d245f1a8717ec2ddc8ca84c SHA512 71b9fe005753e1a211db0f264cd48a4aa3a2fbccfe97bab392c5ecc68db317c591aecdd7586cbecdf11950fd4dcc56d6f94f15599df7aec020924fa6f064035e WHIRLPOOL 7cd850668152f1516501f63361b3206ce79fe9fce2dfe6f78f42cd294e9eaf4db093674c1ad05db874aef83da2ecb1b7527b0e0c5bf79494d9e120f5564cff1b
|
||||
DIST taglist-4.6.tar.bz2 40344 SHA256 30716a97b4667a862849dee122b843c2522c649e60553e8cbe2277bb93ccb6a3 SHA512 64686f2685cf4f9b09eeb7e1981a1b9d514cce2f6ea4bdf3e3613037d9818556ad6ed95740a84b4d73eba3fa1d5d58a41f15e1bc0a1403c50a810f5a704f3073 WHIRLPOOL 4e7b154e1c693cfee821e55e9b4d8f2b26f1c5dbacce6015757ee4b13586927ba5dca2ab726e23ad090944e55e0cce9676c01c8c21efa9ece967cb24d8bd5acd
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/taglist/taglist-4.6.ebuild,v 1.1 2013/03/02 10:08:13 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin eutils
|
||||
|
||||
DESCRIPTION="vim plugin: ctags-based source code browser"
|
||||
HOMEPAGE="http://vim-taglist.sourceforge.net/"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
|
||||
RDEPEND="dev-util/ctags"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-3.4-ebuilds.patch
|
||||
}
|
@ -0,0 +1,265 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-2.0.3.ebuild,v 1.1 2013/03/02 17:03:40 titanofold Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils versionator
|
||||
|
||||
DESCRIPTION="Geographic Objects for PostgreSQL"
|
||||
HOMEPAGE="http://postgis.net"
|
||||
SRC_URI="http://download.osgeo.org/postgis/source/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc gtk"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
dev-db/postgresql-server:9.2
|
||||
dev-db/postgresql-server:9.1
|
||||
dev-db/postgresql-server:9.0
|
||||
dev-db/postgresql-server:8.4
|
||||
)
|
||||
dev-libs/json-c
|
||||
dev-libs/libxml2:2
|
||||
>=sci-libs/geos-3.3.8
|
||||
>=sci-libs/proj-4.6.0
|
||||
>=sci-libs/gdal-1.9
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
dev-libs/libxslt
|
||||
|| (
|
||||
media-gfx/imagemagick[png]
|
||||
media-gfx/graphicsmagick[imagemagick,png]
|
||||
)
|
||||
)
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PGIS="$(get_version_component_range 1-2)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# These modules are built using the same *FLAGS that were used to build
|
||||
# dev-db/postgresql. The right thing to do is to ignore the current
|
||||
# *FLAGS settings.
|
||||
QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so"
|
||||
|
||||
# Because developers have been fooled into thinking recursive make is a
|
||||
# good thing.
|
||||
MAKEOPTS="-j1"
|
||||
|
||||
pkg_setup() {
|
||||
export PGSLOT="$(postgresql-config show)"
|
||||
|
||||
if [[ ${PGSLOT//.} < 84 || ${PGSLOT//.} > 92 ]] ; then
|
||||
eerror "You must build ${CATEGORY}/${P} against PostgreSQL 8.4 - 9.2."
|
||||
eerror "Set an appropriate slot with postgresql-config."
|
||||
die 'Select a PostgreSQL slot between 8.4 and 9.2'
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-${PGIS}-ldflags.patch" \
|
||||
"${FILESDIR}/${PN}-${PGIS}-pkgconfig-json.patch"
|
||||
|
||||
local AT_M4DIR="macros"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myargs=""
|
||||
use gtk && myargs+=" --with-gui"
|
||||
econf ${myargs}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Occasionally, builds fail because of out of order compilation.
|
||||
# Otherwise, it'd be fine.
|
||||
emake
|
||||
emake -C topology
|
||||
|
||||
if use doc ; then
|
||||
emake comments
|
||||
emake cheatsheets
|
||||
emake -C doc html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
use doc && emake DESTDIR="${D}" comments-install
|
||||
emake -C topology DESTDIR="${D}" install
|
||||
dobin ./utils/postgis_restore.pl
|
||||
|
||||
dodoc CREDITS TODO loader/README.* doc/*txt
|
||||
|
||||
use doc && dohtml -r doc/html/*
|
||||
|
||||
docinto topology
|
||||
dodoc topology/{TODO,README}
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/postgis_dbs"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "To finish installing or updating PostGIS edit:"
|
||||
elog " ${EROOT%/}/etc/postgis_dbs"
|
||||
elog
|
||||
elog "Then, run:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_config(){
|
||||
source "${EROOT%/}/etc/conf.d/postgresql-${PGSLOT}"
|
||||
source "${EROOT%/}/etc/postgis_dbs"
|
||||
local postgis_path="${EROOT%/}/usr/share/postgresql-${PGSLOT}/contrib/postgis-${PGIS}"
|
||||
|
||||
if [[ -n ${configured} ]] ; then
|
||||
einfon "Password for PostgreSQL user '${pguser}': "
|
||||
read -s PGPASSWORD
|
||||
export PGPASSWORD
|
||||
echo
|
||||
else
|
||||
eerror "You must edit:"
|
||||
eerror " ${EROOT%/}/etc/postgis_dbs"
|
||||
eerror "Before running 'emerge --config =${CATEGORY}/${PF}'"
|
||||
eerror
|
||||
die "Edit postgis_dbs"
|
||||
fi
|
||||
|
||||
# The server we work with must be the same slot we built against.
|
||||
local server_version
|
||||
server_version=$(psql -U ${pguser} -d postgres -p ${PGPORT} \
|
||||
-Aqwtc 'SELECT version()' 2> /dev/null)
|
||||
if [[ $? = 0 ]] ; then
|
||||
server_version=$(echo ${server_version} | cut -d " " -f 2 | \
|
||||
cut -d "." -f -2 | tr -d .)
|
||||
if [[ $server_version != ${PGSLOT//.} ]] ; then
|
||||
unset PGPASSWORD
|
||||
eerror "Server version must be ${PGSLOT}.x"
|
||||
die "Server version isn't ${PGSLOT}.x"
|
||||
fi
|
||||
else
|
||||
unset PGPASSWORD
|
||||
eerror "Is the server running?"
|
||||
die "Couldn't connect to server."
|
||||
fi
|
||||
|
||||
local retval
|
||||
safe_exit() {
|
||||
unset PGPASSWORD
|
||||
sed -e 's/\(configured\)/#\1/' -i "${EROOT%/}/etc/postgis_dbs"
|
||||
eend $retval
|
||||
eerror "All actions could not be performed."
|
||||
eerror "Read above to see what failed."
|
||||
eerror "Once you fix the issue, you'll need to edit:"
|
||||
eerror " ${EROOT%/}/etc/postgis_dbs"
|
||||
eerror "As some things may have succeeded."
|
||||
eerror
|
||||
die "All actions could not be performed"
|
||||
}
|
||||
|
||||
local db
|
||||
for db in ${databases[@]} ; do
|
||||
ebegin "Performing CREATE LANGUAGE on ${db}"
|
||||
createlang -U ${pguser} -p ${PGPORT} plpgsql ${db}
|
||||
retval=$?
|
||||
# In this case, only error code 1 is fatal
|
||||
[[ $retval == 1 ]] && safe_exit || eend 0
|
||||
|
||||
ebegin "Enabling PostGIS on ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${templates[@]} ; do
|
||||
ebegin "Creating template database '${db}'"
|
||||
createdb -p ${PGPORT} -U ${pguser} -O ${pguser} -T ${from_template} \
|
||||
${db} "PostGIS Template"
|
||||
retval=$?
|
||||
[[ $retval != 0 ]] && safe_exit
|
||||
|
||||
psql -q -U ${pguser} -p ${PGPORT} -c \
|
||||
"UPDATE pg_database \
|
||||
SET datistemplate = TRUE, datallowconn = TRUE \
|
||||
WHERE datname = '${db}'"
|
||||
retval=$?
|
||||
[[ $retval != 0 ]] && safe_exit
|
||||
|
||||
createlang -U ${pguser} -p ${PGPORT} plpgsql ${db}
|
||||
retval=$?
|
||||
# In this case, only error code 1 is fatal
|
||||
[[ $retval == 1 ]] && safe_exit
|
||||
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${epsg_databases[@]} ; do
|
||||
ebegin "Adding EPSG to ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/spatial_ref_sys.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${comment_databases[@]} ; do
|
||||
ebegin "Adding comments on ${db}"
|
||||
local comment_file
|
||||
for comment_file in "${postgis_path}"/*_comments.sql ; do
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} -f "${comment_file}"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && continue || safe_exit
|
||||
done
|
||||
eend 0
|
||||
done
|
||||
|
||||
for db in ${upgrade_from_1_3[@]} ; do
|
||||
ebegin "Upgrading from PostGIS 1.3 to ${PGIS} on ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis_upgrade_13_to_${PGIS//.}.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${upgrade_from_1_4[@]} ; do
|
||||
ebegin "Upgrading from PostGIS 1.4 to ${PGIS} on ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis_upgrade_14_to_${PGIS//.}.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
for db in ${upgrade_from_1_5[@]} ; do
|
||||
ebegin "Minor upgrade for PostGIS ${PGIS} on ${db}"
|
||||
psql -q -U ${pguser} -p ${PGPORT} -d ${db} \
|
||||
-f "${postgis_path}/postgis_upgrade_${PGIS//.}_minor.sql"
|
||||
retval=$?
|
||||
[[ $retval == 0 ]] && eend 0 || safe_exit
|
||||
done
|
||||
|
||||
# Clean up and make it so the user has to edit postgis_dbs again that
|
||||
# way this script won't step on any toes due to user error.
|
||||
unset PGPASSWORD
|
||||
sed -e 's/\(configured\)/#\1/' -i "${EROOT%/}/etc/postgis_dbs"
|
||||
einfo "PostgreSQL ${PGSLOT} is now PostGIS enabled."
|
||||
einfo
|
||||
einfo "To enable other databases, change the default slot:"
|
||||
einfo " postgresql-config set <slot>"
|
||||
einfo "Then, emerge this package again:"
|
||||
einfo " emerge -av =${CATEGORY}/${PF}"
|
||||
}
|
@ -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.00.1-r1.ebuild,v 1.1 2013/03/02 17:30:38 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit flag-o-matic eutils multilib versionator toolchain-funcs
|
||||
|
||||
PATCHLEVEL="5"
|
||||
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/
|
||||
|
||||
dodoc Changes INSTALL README Upgrading
|
||||
|
||||
# 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,118 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.17.5.ebuild,v 1.1 2013/03/01 18:34:47 phajdan.jr Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit eutils multilib pax-utils python-any-r1 toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
soname_version="$(get_version_component_range 1-3)"
|
||||
SLOT="0/${soname_version}"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK=${CXX}
|
||||
|
||||
local hardfp=off
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*) myarch=ia32 ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch=ia32
|
||||
else
|
||||
myarch=x64
|
||||
fi ;;
|
||||
arm*-hardfloat-*)
|
||||
hardfp=on
|
||||
myarch=arm ;;
|
||||
arm*-*) myarch=arm ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
mytarget=${myarch}.release
|
||||
|
||||
# TODO: Add console=readline option once implemented upstream
|
||||
# http://code.google.com/p/v8/issues/detail?id=1781
|
||||
|
||||
# Generate the real Makefile.
|
||||
emake V=1 \
|
||||
library=shared \
|
||||
werror=no \
|
||||
soname_version=${soname_version} \
|
||||
snapshot=on \
|
||||
hardfp=${hardfp} \
|
||||
out/Makefile.${myarch} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeargs=(
|
||||
-C out
|
||||
-f Makefile.${myarch}
|
||||
V=1
|
||||
BUILDTYPE=Release
|
||||
builddir="${S}/out/${mytarget}"
|
||||
)
|
||||
|
||||
# Build mksnapshot so we can pax-mark it.
|
||||
emake "${makeargs[@]}" mksnapshot || die
|
||||
pax-mark m out/${mytarget}/mksnapshot
|
||||
|
||||
# Build everything else.
|
||||
emake "${makeargs[@]}" || die
|
||||
pax-mark m out/${mytarget}/{cctest,d8,shell} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local arg testjobs
|
||||
for arg in ${MAKEOPTS}; do
|
||||
case ${arg} in
|
||||
-j*) testjobs=${arg#-j} ;;
|
||||
--jobs=*) testjobs=${arg#--jobs=} ;;
|
||||
esac
|
||||
done
|
||||
|
||||
tools/test-wrapper-gypbuild.py \
|
||||
-j${testjobs:-1} \
|
||||
--arch-and-mode=${mytarget} \
|
||||
--no-presubmit \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include || die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mkdir -p out/${mytarget}/lib.target
|
||||
mv out/${mytarget}/libv8.so.${soname_version} \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
|
||||
|| die
|
||||
install_name_tool \
|
||||
-change \
|
||||
/usr/local/lib/libv8.so.${soname_version} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/${mytarget}/d8 || die
|
||||
fi
|
||||
|
||||
dobin out/${mytarget}/d8 || die
|
||||
|
||||
dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
|
||||
|
||||
dodoc AUTHORS ChangeLog || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cryptopp561.zip 1069703 SHA256 98e74d8cb17a38033354519ac8ba9c5d98a6dc00bf5d1ec3c533c2e8ec86f268 SHA512 6cc07f36b84a1043e01e458a826d4e3626a2d87b2f606352bc18f607e1c1a68dc3c9b3454659bc1e21e07c9addbf6f4255c5848205fb31c3f445c31a00ebfbf1 WHIRLPOOL 51021ec68fa5b4a988fa343dce1e64455b33c922691a842a2f7801d7359e400bff342f381393aae42114a061cf9ab6365271d7a5c21dd5c26330d41dcb59bfc9
|
||||
DIST cryptopp562.zip 1137964 SHA256 5cbfd2fcb4a6b3aab35902e2e0f3b59d9171fee12b3fc2b363e1801dfec53574 SHA512 016ca7ebad1091d67ad0bc5ccb7549d96d4af6b563d9d5a612cae27b3d1a3514c41b954e319fed91c820e8c701e3aa43da186e0864bf959ce4afd1539248ebbe WHIRLPOOL e31203da48a31b09e6ea48a75aa64fe5fd27fd370a1a609c4387526f09daab7582716563b688c0c81a8c3b200b8ffa7bdb2b981e5911640e5f1c172d6027f6ac
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.6.2.ebuild,v 1.1 2013/03/02 08:27:16 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="C++ class library of cryptographic schemes"
|
||||
HOMEPAGE="http://cryptopp.com"
|
||||
SRC_URI="mirror://sourceforge/cryptopp/cryptopp${PV//.}.zip"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
sys-devel/libtool"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-make.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# higher optimizations cause problems
|
||||
replace-flags -O? -O1
|
||||
filter-flags -fomit-frame-pointer
|
||||
|
||||
emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LIBDIR="$(get_libdir)"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# ensure that all test vectors have Unix line endings
|
||||
local file
|
||||
for file in TestVectors/* ; do
|
||||
edos2unix ${file}
|
||||
done
|
||||
|
||||
if ! emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" test ; then
|
||||
eerror "Crypto++ self-tests failed."
|
||||
eerror "Try to remove some optimization flags and reemerge Crypto++."
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
|
||||
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.{a,la}
|
||||
}
|
@ -0,0 +1,150 @@
|
||||
--- cryptopp562/GNUmakefile
|
||||
+++ cryptopp562/GNUmakefile
|
||||
@@ -1,3 +1,5 @@
|
||||
+LIBTOOL = libtool
|
||||
+LIBDIR = lib
|
||||
CXXFLAGS = -DNDEBUG -g -O2
|
||||
# -O3 fails to link on Cygwin GCC version 4.5.3
|
||||
# -fPIC is supported. Please report any breakage of -fPIC as a bug.
|
||||
@@ -7,8 +9,9 @@
|
||||
# LDFLAGS += -Wl,--gc-sections
|
||||
ARFLAGS = -cr # ar needs the dash on OpenBSD
|
||||
RANLIB = ranlib
|
||||
-CP = cp
|
||||
+LN_S = ln -s
|
||||
MKDIR = mkdir
|
||||
+INSTALL = install
|
||||
EGREP = egrep
|
||||
UNAME = $(shell uname)
|
||||
ISX86 = $(shell uname -m | $(EGREP) -c "i.86|x86|i86|amd64")
|
||||
@@ -79,8 +82,11 @@
|
||||
LDLIBS += -lws2_32
|
||||
endif
|
||||
|
||||
+THREAD_LIBS =
|
||||
+
|
||||
ifeq ($(IS_LINUX),1)
|
||||
LDFLAGS += -pthread
|
||||
+THREAD_LIBS += -lpthread
|
||||
ifneq ($(shell uname -i | $(EGREP) -c "(_64|d64)"),0)
|
||||
M32OR64 = -m64
|
||||
endif
|
||||
@@ -126,54 +132,52 @@
|
||||
SRCS = $(shell echo *.cpp)
|
||||
endif
|
||||
|
||||
-OBJS = $(SRCS:.cpp=.o)
|
||||
-# test.o needs to be after bench.o for cygwin 1.1.4 (possible ld bug?)
|
||||
-TESTOBJS = bench.o bench2.o test.o validat1.o validat2.o validat3.o adhoc.o datatest.o regtest.o fipsalgt.o dlltest.o
|
||||
+OBJS = $(SRCS:.cpp=.lo)
|
||||
+# test.lo needs to be after bench.lo for cygwin 1.1.4 (possible ld bug?)
|
||||
+TESTOBJS = bench.lo bench2.lo test.lo validat1.lo validat2.lo validat3.lo adhoc.lo datatest.lo regtest.lo fipsalgt.lo dlltest.lo
|
||||
LIBOBJS = $(filter-out $(TESTOBJS),$(OBJS))
|
||||
|
||||
DLLSRCS = algebra.cpp algparam.cpp asn.cpp basecode.cpp cbcmac.cpp channels.cpp cryptlib.cpp des.cpp dessp.cpp dh.cpp dll.cpp dsa.cpp ec2n.cpp eccrypto.cpp ecp.cpp eprecomp.cpp files.cpp filters.cpp fips140.cpp fipstest.cpp gf2n.cpp gfpcrypt.cpp hex.cpp hmac.cpp integer.cpp iterhash.cpp misc.cpp modes.cpp modexppc.cpp mqueue.cpp nbtheory.cpp oaep.cpp osrng.cpp pch.cpp pkcspad.cpp pubkey.cpp queue.cpp randpool.cpp rdtables.cpp rijndael.cpp rng.cpp rsa.cpp sha.cpp simple.cpp skipjack.cpp strciphr.cpp trdlocal.cpp
|
||||
-DLLOBJS = $(DLLSRCS:.cpp=.export.o)
|
||||
-LIBIMPORTOBJS = $(LIBOBJS:.o=.import.o)
|
||||
-TESTIMPORTOBJS = $(TESTOBJS:.o=.import.o)
|
||||
-DLLTESTOBJS = dlltest.dllonly.o
|
||||
-
|
||||
-all: cryptest.exe
|
||||
-static: libcryptopp.a
|
||||
-dynamic: libcryptopp.so
|
||||
+DLLOBJS = $(DLLSRCS:.cpp=.export.lo)
|
||||
+LIBIMPORTOBJS = $(LIBOBJS:.lo=.import.lo)
|
||||
+TESTIMPORTOBJS = $(TESTOBJS:.lo=.import.lo)
|
||||
+DLLTESTOBJS = dlltest.dllonly.lo
|
||||
+
|
||||
+all: libcrypto++.la
|
||||
|
||||
-test: cryptest.exe
|
||||
- ./cryptest.exe v
|
||||
+test: cryptest
|
||||
+ ./cryptest v
|
||||
|
||||
clean:
|
||||
- -$(RM) cryptest.exe libcryptopp.a libcryptopp.so $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTI MPORTOBJS) $(DLLTESTOBJS)
|
||||
+ $(RM) -f .libs cryptest libcrypto++.* libcryptopp.* $(LIBOBJS) $(TESTOBJS) cryptopp.dll cryptest.import dlltest $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS)
|
||||
+
|
||||
|
||||
install:
|
||||
- $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin
|
||||
- -$(CP) *.h $(PREFIX)/include/cryptopp
|
||||
- -$(CP) *.a $(PREFIX)/lib
|
||||
- -$(CP) *.so $(PREFIX)/lib
|
||||
- -$(CP) *.exe $(PREFIX)/bin
|
||||
+ $(MKDIR) -p $(DESTDIR)$(PREFIX)/include/crypto++ $(DESTDIR)$(PREFIX)/$(LIBDIR)
|
||||
+ $(INSTALL) -m 644 *.h $(DESTDIR)$(PREFIX)/include/crypto++
|
||||
+ $(LN_S) crypto++ $(DESTDIR)$(PREFIX)/include/cryptopp
|
||||
+ $(LIBTOOL) --mode=install $(INSTALL) libcrypto++.la $(DESTDIR)$(PREFIX)/$(LIBDIR)
|
||||
+ $(LN_S) libcrypto++.a $(DESTDIR)$(PREFIX)/$(LIBDIR)/libcryptopp.a
|
||||
+ $(LN_S) libcrypto++.so.0.0.0 $(DESTDIR)$(PREFIX)/$(LIBDIR)/libcryptopp.so
|
||||
+ $(LN_S) libcrypto++.so.0.0.0 $(DESTDIR)$(PREFIX)/$(LIBDIR)/libcryptopp.so.0
|
||||
+ $(LN_S) libcrypto++.so.0.0.0 $(DESTDIR)$(PREFIX)/$(LIBDIR)/libcryptopp.so.0.0.0
|
||||
|
||||
remove:
|
||||
- -$(RM) -rf $(PREFIX)/include/cryptopp
|
||||
- -$(RM) $(PREFIX)/lib/libcryptopp.a
|
||||
- -$(RM) $(PREFIX)/lib/libcryptopp.so
|
||||
- -$(RM) $(PREFIX)/bin/cryptest.exe
|
||||
-
|
||||
-libcryptopp.a: $(LIBOBJS)
|
||||
- $(AR) $(ARFLAGS) $@ $(LIBOBJS)
|
||||
- $(RANLIB) $@
|
||||
+ $(RM) -rf $(DESTDIR)$(PREFIX)/include/crypto++
|
||||
+ $(RM) $(DESTDIR)$(PREFIX)/$(LIBDIR)/libcryptopp.a
|
||||
+ $(RM) $(DESTDIR)$(PREFIX)/$(LIBDIR)/libcryptopp.so*
|
||||
+ $(RM) $(DESTDIR)$(PREFIX)/bin/cryptest
|
||||
|
||||
-libcryptopp.so: $(LIBOBJS)
|
||||
- $(CXX) -shared -o $@ $(LIBOBJS)
|
||||
+libcrypto++.la: $(LIBOBJS)
|
||||
+ $(LIBTOOL) --tag=CXX --mode=link $(CXX) $(LDFLAGS) -rpath $(PREFIX)/$(LIBDIR) -o $@ $(LIBOBJS) $(THREAD_LIBS)
|
||||
|
||||
-cryptest.exe: libcryptopp.a $(TESTOBJS)
|
||||
- $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) ./libcryptopp.a $(LDFLAGS) $(LDLIBS)
|
||||
+cryptest: libcrypto++.la $(TESTOBJS)
|
||||
+ $(LIBTOOL) --tag=CXX --mode=link $(CXX) $(LDFLAGS) -o $@ $(TESTOBJS) -L. -lcrypto++ $(LDLIBS) $(THREAD_LIBS)
|
||||
|
||||
nolib: $(OBJS) # makes it faster to test changes
|
||||
- $(CXX) -o ct $(CXXFLAGS) $(OBJS) $(LDFLAGS) $(LDLIBS)
|
||||
+ $(LIBTOOL) --tag=CXX --mode=link $(CXX) -o ct $(LDFLAGS) $(OBJS) $(LDLIBS) $(THREAD_LIBS)
|
||||
|
||||
-dll: cryptest.import.exe dlltest.exe
|
||||
+dll: cryptest.import dlltest
|
||||
|
||||
cryptopp.dll: $(DLLOBJS)
|
||||
$(CXX) -shared -o $@ $(CXXFLAGS) $(DLLOBJS) $(LDFLAGS) $(LDLIBS) -Wl,--out-implib=libcryptopp.dll.a
|
||||
@@ -182,10 +186,10 @@
|
||||
$(AR) $(ARFLAGS) $@ $(LIBIMPORTOBJS)
|
||||
$(RANLIB) $@
|
||||
|
||||
-cryptest.import.exe: cryptopp.dll libcryptopp.import.a $(TESTIMPORTOBJS)
|
||||
+cryptest.import: cryptopp.dll libcryptopp.import.a $(TESTIMPORTOBJS)
|
||||
$(CXX) -o $@ $(CXXFLAGS) $(TESTIMPORTOBJS) -L. -lcryptopp.dll -lcryptopp.import $(LDFLAGS) $(LDLIBS)
|
||||
|
||||
-dlltest.exe: cryptopp.dll $(DLLTESTOBJS)
|
||||
+dlltest: cryptopp.dll $(DLLTESTOBJS)
|
||||
$(CXX) -o $@ $(CXXFLAGS) $(DLLTESTOBJS) -L. -lcryptopp.dll $(LDFLAGS) $(LDLIBS)
|
||||
|
||||
adhoc.cpp: adhoc.cpp.proto
|
||||
@@ -195,14 +199,14 @@
|
||||
touch adhoc.cpp
|
||||
endif
|
||||
|
||||
-%.dllonly.o : %.cpp
|
||||
+%.dllonly.lo : %.cpp
|
||||
$(CXX) $(CXXFLAGS) -DCRYPTOPP_DLL_ONLY -c $< -o $@
|
||||
|
||||
-%.import.o : %.cpp
|
||||
+%.import.lo : %.cpp
|
||||
$(CXX) $(CXXFLAGS) -DCRYPTOPP_IMPORTS -c $< -o $@
|
||||
|
||||
-%.export.o : %.cpp
|
||||
+%.export.lo : %.cpp
|
||||
$(CXX) $(CXXFLAGS) -DCRYPTOPP_EXPORTS -c $< -o $@
|
||||
|
||||
-%.o : %.cpp
|
||||
- $(CXX) $(CXXFLAGS) -c $<
|
||||
+%.lo : %.cpp
|
||||
+ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(CXXFLAGS) -c $<
|
@ -1 +0,0 @@
|
||||
DIST Net-Server-2.007.tar.gz 133765 SHA256 1c6fd3145b1bb796e28ebf74c181e4a7bbf5c412b37b51f72ad2707686a80328 SHA512 21a254f8361ad8e1d9816e97138439e8815c79f25665797462de8885731cc75b61891e05a9f3fadb5974238e448f05bc31547fa55fb5444006d7d0530a0022e6 WHIRLPOOL 7d4655e6bf6ebb4208110bbbf5b33dfa2c61033b81bdb34a916e078d21579ef8d28b9e6c8dafa7daa52cc36fa57a504e096656653f4a204accc8600636121427
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-Server/Net-Server-2.007.ebuild,v 1.1 2013/02/28 19:12:15 zx2c4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=RHANDOM
|
||||
MODULE_VERSION=${PV}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Extensible, general Perl server engine"
|
||||
|
||||
LICENSE="GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-libnet
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
"
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
<upstream>
|
||||
<remote-id type="cpan">Net-Server</remote-id>
|
||||
<remote-id type="cpan-module">Net::Server</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,3 +1,4 @@
|
||||
DIST Net-Server-0.97.tar.gz 92158 SHA256 4ebce7e92b8fcfcc127583b1dee49d40726860c080908ea381e619c047d8708f SHA512 855eed9ca1acab0684006a5b9efd46b55579462c9c8162d04379168a8b55758ca7716403a2284f8b8534c4f710c3f30d4b48e303ccd2490a848debe0c63c1396 WHIRLPOOL aa0c057b7817ce11be8e3b7827e8b4390cc6dc00b9f0b7ffbec2a62dd479336bfd4dd3f9d56ad2633ab6117cdecf3ff0a9ea0194589cb5c880828d3dff1ecc14
|
||||
DIST Net-Server-0.99.tar.gz 101559 SHA256 c11ab02942e1848fbcbdc321c1e5667f4fa3e55eb0723e7ecb9d5d3ab713ae5d SHA512 e9d233657a116cab054f269f73e0c341d265871238076850d43e1fbeb9a99e5abedf09a1c5f95834ef14de834c993f772820a380083c8a28b174360b4b8056fe WHIRLPOOL a5577152fbc87895da7393f255c863318c98f03f07be0d756485e018fcf9ec2e1745a188d0bd804f2b9a0346d788de3ef831440565f7f07a029a6e2bb714fc94
|
||||
DIST Net-Server-2.006.tar.gz 132015 SHA256 730f1a29c084c4791a9f4f9e2c6375efe14dbcb2bccd4a0f170e401ffa238a0d SHA512 f4bcdd95b4c2fc6fe273618cef731ace0f5b20da2775d55f93c7ec5657f0852aa498b5f326211ebf1a783e1382c33cbbf608c7411ad514f5aa4c7c8c1cc6d982 WHIRLPOOL 2bf1806300feeba334e2384d2cefe842d120b7d78f60f00267f0530337805cb902d944ec4c40ac45950a09fafb144ce8e3fb4eeed0e853dfea303d48a426d564
|
||||
DIST Net-Server-2.007.tar.gz 133765 SHA256 1c6fd3145b1bb796e28ebf74c181e4a7bbf5c412b37b51f72ad2707686a80328 SHA512 21a254f8361ad8e1d9816e97138439e8815c79f25665797462de8885731cc75b61891e05a9f3fadb5974238e448f05bc31547fa55fb5444006d7d0530a0022e6 WHIRLPOOL 7d4655e6bf6ebb4208110bbbf5b33dfa2c61033b81bdb34a916e078d21579ef8d28b9e6c8dafa7daa52cc36fa57a504e096656653f4a204accc8600636121427
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/net-server/net-server-2.7.0.ebuild,v 1.1 2013/03/02 04:08:46 zx2c4 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=Net-Server
|
||||
MODULE_AUTHOR=RHANDOM
|
||||
MODULE_VERSION=2.007
|
||||
inherit perl-module eutils
|
||||
|
||||
DESCRIPTION="Extensible, general Perl server engine"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="ipv6"
|
||||
|
||||
RDEPEND="dev-perl/IO-Multiplex
|
||||
ipv6? ( dev-perl/IO-Socket-INET6 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1,4 @@
|
||||
DIST libvirt-php-0.4.1.tar.gz 188824 SHA256 46eda278fc296e0abe29f0103f957a75a1dd4c7d6bcee41fe9eeafd61b69886c SHA512 262d91b324aed5ab515d1cfebf419cc0d3408084e509a8c52dd00f0892a6ca7874d76174ad54baf469e68f3dd9cb3f68aaa93f4de2b0a4d2945d892ddbebece1 WHIRLPOOL efc40f65cb8d98892c595faa0a1e6d10196c13201b5bb78b49d5f9d4041f6e7acf5aa9cf74cfe51ea24b5a468d282fb83754853ade2d5fac66c43c1575b42512
|
||||
DIST libvirt-php-0.4.2.tar.gz 221261 SHA256 cd016e25e8eb090c4728eb0c889ed5b0f8bfed284c288d2abbf584e0718ac0ba SHA512 f2e5c6b74f02ba6704f2dce5083e614dde166a4c0372a44bf78718a28fcbc35a87fc93de8b52af799be0d3ee33c11e9fe3230d4e9c42ed78f816756a9d975636 WHIRLPOOL e8a3ed17b00fd3db093adc3949b1de728e4b3c9de0290d01d80070fdc5dd121b464569cad8e2ca5109b51c695d0ad38231788bec02dea52c7d7219b9ff2b6fea
|
||||
DIST libvirt-php-0.4.6.tar.gz 247111 SHA256 36f1dcee8d56b5a1f3c02f7821d2de15c0852784680b94190aa36938ad7e082f SHA512 6559c7ef812da20b5669d017623a44357f3e10e2aeb14f7d32d28d657b2fc80e581b175bc56d9e2e96b9c4e406a6509d156b9d8b6faa71559993c4c9ee65a9d2 WHIRLPOOL 6ebc2053b600571243809cccd1d9d8ec8f53c6ed2614ecf5bac4278e94437f07ac08808ed7088601b271277f8db70ee8b8fb665203eafb266a1aff0051e64eec
|
||||
DIST libvirt-php-0.4.7.tar.gz 249768 SHA256 4a86d99bb139e1bbcdc62634ffc27044004969ac880ab06e6265fc1a42a62a38 SHA512 6e95044541644af936efc69dae27109a233afc65799c7aeb252fae5470431058a78a2b1053e9e10e3098c90e228bba6567a6d3e1ecf629fda2b466d1aaf3e96b WHIRLPOOL 965169faba37828049805b632b17614b766528c24d3383059371f7788daf073cdf9d60abcacc68eda5a8e980b0a9105269033204d2b68a2c676d7593095a71db
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/libvirt-php/libvirt-php-0.4.7.ebuild,v 1.1 2013/03/02 05:12:07 cardoe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PHP_EXT_NAME="libvirt-php"
|
||||
PHP_EXT_SKIP_PHPIZE="yes"
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-source-r2 eutils
|
||||
|
||||
DESCRIPTION="PHP 5 bindings for libvirt."
|
||||
HOMEPAGE="http://libvirt.org/php/"
|
||||
SRC_URI="http://libvirt.org/sources/php/${P}.tar.gz"
|
||||
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="app-emulation/libvirt
|
||||
dev-libs/libxml2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/libxslt
|
||||
doc? ( app-text/xhtml1 )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
# create the default modules directory to be able
|
||||
# to use the php-ext-source-r2 eclass to configure/build
|
||||
ln -s src "${S}/modules"
|
||||
|
||||
for slot in $(php_get_slots); do
|
||||
cp -r "${S}" "${WORKDIR}/${slot}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env ${slot}
|
||||
insinto "${EXT_DIR}"
|
||||
newins "src/${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so"
|
||||
done
|
||||
php-ext-source-r2_createinifiles
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
use doc && dohtml docs/* docs/graphics/*
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST APC-3.1.13.tgz 171591 SHA256 5ef8ba07729e72946e95951672a5378bed98cb5a294e79bf0f0a97ac62829abd SHA512 4ccfa12a61a9276be207c9b70b108b725cf2faa3ed805bab8c9a39b04039fd16a8da6919ab7d5a84592f7b4a7827dcd9adeb154c6a04d208e7071be22268b332 WHIRLPOOL 335020f6ec44ec188b9544fb4132d2c1c62c4d342c3e07f3bfb0266c3827c311316c95ec08517946481724350314a06e7f3b49b13c0cedf2a2dcd1ca5d38149e
|
||||
DIST APC-3.1.14.tgz 181160 SHA256 043eef5e6f884e055af51d3cea6ab20fb3cd3d4804babeaeb783431592db8a49 SHA512 0a2ceae44a86dad9698966b75b0cbb88a36c9b162961f0988d6cef5d498686fdd79ea711c711c5799edfd643a1a93cc5855e1c2ded0748f3fbba086dd0fb0201 WHIRLPOOL 2944698ec02a95d9d2dafb1f5b9f2696ed1a9f4cd8301d35e8433465de498a0a73dec897c9a3d91a7aac0c3640f324bbd397658396650a5898168a0e1c22f8b2
|
||||
DIST APC-3.1.9.tgz 155540 SHA256 47def118d9da1a68521e1c9b3dd6660cf94be638ebecad010bdd7d7ca482d671 SHA512 dd4ab9e1d130e757117bb5a43eb2155dcd58d7e15f94add85834d2d488de9a2f8cacd4d5bee222302a2e651f17ecd750b227dd2d4ae7102932208bbc24a132f0 WHIRLPOOL 63354d4c6836378a211f3f22110dcbd452b58a13431b9d2fe227fd5d0c950ec764420922968d75cb43f4d085c21f7dc26245f1a14a30eb88534df6f6cf128a36
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apc/pecl-apc-3.1.14.ebuild,v 1.1 2013/01/09 12:03:33 olemarkus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PHP_EXT_NAME="apc"
|
||||
PHP_EXT_PECL_PKG="APC"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
|
||||
|
||||
PHP_EXT_INIFILE="${PN}.ini"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2 confutils eutils
|
||||
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
|
||||
|
||||
DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code."
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE="mmap"
|
||||
|
||||
DEPEND="!dev-php/eaccelerator !dev-php/xcache"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
LOCKS="pthreadmutex pthreadrw spinlock semaphore"
|
||||
|
||||
LUSE=""
|
||||
for l in ${LOCKS}; do
|
||||
LUSE+="lock_${l} "
|
||||
done
|
||||
|
||||
IUSE+=" ${LUSE/lock_pthreadmutex/+lock_pthreadmutex}"
|
||||
|
||||
REQUIRED_USE="^^ ( $LUSE )"
|
||||
|
||||
src_configure() {
|
||||
my_conf="--enable-apc"
|
||||
enable_extension_enable "apc-mmap" "mmap" 0
|
||||
|
||||
enable_extension_enable "apc-pthreadmutex" "lock_pthreadmutex" 0
|
||||
enable_extension_enable "apc-pthreadrwlocks" "lock_pthreadrw" 0
|
||||
enable_extension_enable "apc-spinlocks" "lock_spinlock" 0
|
||||
enable_extension_enable "apc-sem" "lock_semaphore" 0
|
||||
|
||||
php-ext-source-r2_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
php-ext-pecl-r2_src_install
|
||||
|
||||
dodir "${PHP_EXT_SHARED_DIR}"
|
||||
insinto "${PHP_EXT_SHARED_DIR}"
|
||||
doins apc.php
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The apc.php file shipped with this release of PECL-APC was"
|
||||
elog "installed into ${PHP_EXT_SHARED_DIR}/."
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST graph-tool-2.2.21.tar.bz2 29557399 SHA256 0b5bb9c4c980f385a88c07c5d0254b780340244f723a065eb04347584ca86696 SHA512 3664a0b3428918a6caced12e95005cb647ee96d1cf0aa6e64ed6d7a5c41f8dba5f019adbf28d521015b8099f55a7f16fcc4b981250f4931b33eac6208e2a373f WHIRLPOOL d70824f999e61b44c44c94c9b5a74233acbaaa857715ef9e8b7406661be7ca8d895ea3a55bf22c819aa046af8718ade84f6603597a4453e49217b57a75842b6c
|
||||
DIST graph-tool-2.2.22.tar.bz2 29564502 SHA256 c889466c82e972688bb2b477a9ab2af9900b8c80451630a275ed0eca34180715 SHA512 2d8326f9acf1fcc4b3c5d6d6dd8ef7a8f880458e57767b8b75b4930d28ab84a264b16fa8b26ffae0e143055e302ebfb6f6ad3f3fef850ac7c5ba9ea14ba09d20 WHIRLPOOL b15aaf7e18766fea9f03ee892c1dd28eb1697e037e8feb600ba9b16cf4714ab9b4f67515402f766f803aef17346a41e4678d9bcc7e08dc69dac5f742d8b02455
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/graph-tool-2.2.22.ebuild,v 1.1 2013/03/02 08:59:30 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
# python3 dropped until scipy reinstates support
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit check-reqs eutils toolchain-funcs python-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.skewed.de/graph-tool"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
|
||||
HOMEPAGE="http://graph-tool.skewed.de/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+cairo openmp"
|
||||
|
||||
CDEPEND=">=dev-libs/boost-1.46.0[python]
|
||||
dev-libs/expat
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
sci-mathematics/cgal
|
||||
cairo? (
|
||||
dev-cpp/cairomm
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz[python]"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-cpp/sparsehash
|
||||
virtual/pkgconfig"
|
||||
|
||||
# most machines don't have enough ram for parallel builds
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
# bug 453544
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
|
||||
pkg_pretend() {
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
>py-compile
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl run_in_build_dir \
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-optimization \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable cairo)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
prune_libtool_files --modules
|
||||
|
||||
# remove unwanted extra docs
|
||||
rm -r "${ED}"/usr/share/doc/${PN} || die
|
||||
}
|
||||
|
||||
run_in_build_dir() {
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
"$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
Tests are set to compulsory fail, cannot be set to expectedFailure
|
||||
diff -ur nose-1.2.1.orig/functional_tests/test_program.py nose-1.2.1/functional_tests/test_program.py
|
||||
--- functional_tests/test_program.py 2011-12-14 22:01:38.000000000 +0800
|
||||
+++ functional_tests/test_program.py 2013-03-02 14:50:28.628004408 +0800
|
||||
@@ -1,5 +1,8 @@
|
||||
-import os
|
||||
-import unittest
|
||||
+import os, sys
|
||||
+if sys.version_info[:2] == (2, 7) or hasattr(sys, 'pypy_version_info'):
|
||||
+ import unittest
|
||||
+else:
|
||||
+ import unittest2 as unittest
|
||||
from cStringIO import StringIO
|
||||
from nose import SkipTest
|
||||
from nose.core import TestProgram
|
||||
@@ -91,6 +91,7 @@
|
||||
assert not res.errors
|
||||
assert not res.failures
|
||||
|
||||
+ @unittest.skip("tests set to exit with compulsory fail, error")
|
||||
def test_run_support_twist(self):
|
||||
"""Collect and run tests in functional/support/twist
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/paramiko/paramiko-1.10.0.ebuild,v 1.1 2013/03/02 06:20:11 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="SSH2 protocol library"
|
||||
HOMEPAGE="https://github.com/paramiko/paramiko/ http://pypi.python.org/pypi/paramiko"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND=">=dev-python/pycrypto-2.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test.py --verbose || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
dodoc -r demos
|
||||
docompress -x /usr/share/doc/${PF}/demos
|
||||
fi
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/py-gnupg/py-gnupg-0.3.2-r1.ebuild,v 1.1 2013/03/02 16:56:58 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="GnuPGInterface-${PV}"
|
||||
|
||||
DESCRIPTION="A Python module to interface with GnuPG."
|
||||
HOMEPAGE="http://py-gnupg.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/py-gnupg/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-crypt/gnupg-1.2.1-r1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" unittests.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<catmetadata>
|
||||
<longdescription lang="en">
|
||||
The dev-qt category contains packages for the Qt framework modules and
|
||||
directly related libraries and development applications from the upstream
|
||||
Qt Project. Do not add other packages to this category.
|
||||
</longdescription>
|
||||
</catmetadata>
|
@ -0,0 +1,4 @@
|
||||
DIST qt-creator-2.5.2-src.tar.gz 22523588 SHA256 04521c642953fcb7a2d4011a60fdf29dca4ac1fffa8c834a21589fa390db2d4a SHA512 db9cf844c78304e6dcd1eb05df109430281eb35294c7993088d1ebab8efe56e3e9ef5d630d520822a54a35e3e1b9bfcf5fd505cac1e23020e185b8d8b85ddaf6 WHIRLPOOL b8338d8bc3c0efa951b2d06921bfd8b4a6e840ee69e404684dc9c0061b6d451b9a228905021b6aa69459a101970e1839cbd094ebc892a0cd9ad02f33729eef00
|
||||
DIST qt-creator-2.6.1-src.tar.gz 21355916 SHA256 8031e81e5e81e398575dd90245defcd29eeaf60d5907861707d85f4325d3d215 SHA512 78063e12385167b583c20fdec9cd22dc3db4aed790c8c10db504b6a56d3b0f966e505ee999554868f344f245bcad38182f31bb72e4fd62ed8c265ae89ffe326d WHIRLPOOL 80b28ccee659b468dd8eace2371768b2771120244d16edb5686ef5ba9a970d58bc0a13e1e207e0e747ee4484eaec02588af27723d93604628c0c4688f9587ce5
|
||||
DIST qt-creator-2.6.2-src.tar.gz 21396937 SHA256 86165159841f2a3c41e6b80af3ed6fb6655a5194de7fe51cbf08b1539a352524 SHA512 62a8def36bd6c10c0fd44977428b518b7111229d1ca847e263d61a39bd6b51eb40c0699dbccdc96a8b8980c453d0cf9c57cd8c59054df0f24c5b5af62ea7091d WHIRLPOOL 81ba71194ca2ec13235a91214d3e22fa1440cfa5d9f9296106351f5bcbe704c324623fac0774826d0ca046299790bb9a74135baf5dc62ef55fb402b571ccb267
|
||||
DIST qt-creator-2.7.0-beta-src.tar.gz 21630612 SHA256 e7db17e14fd181b563b6779c23895e9d5b2ecdade785bc803bd6b8e7386e7768 SHA512 ea1b72a2d5bd1e68a05b693ca0dcae20154e7691d51b0e7299c071e42031db87966cc777cd151cd070ea3b10734a06ed6e0c8dcf311d44dfd08fc6333861a4c5 WHIRLPOOL 9b88e16872e6336f586966d8695238d9549567dd235a89fb802da3a77515c811bd2d8cab14fed2fe1b620a9735b18a7b5093101ecae492554337b0678b1378f3
|
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<maintainer>
|
||||
<email>hwoarang@gentoo.org</email>
|
||||
<name>Markos Chandras</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>pesa@gentoo.org</email>
|
||||
<name>Davide Pesavento</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="android">Build Android plugin</flag>
|
||||
<flag name="autotools">Enable autotools project manager plugin</flag>
|
||||
<flag name="bazaar">Add support for <pkg>dev-vcs/bzr</pkg> version control system</flag>
|
||||
<flag name="botan-bundled">Use the bundled copy of <pkg>dev-libs/botan</pkg></flag>
|
||||
<flag name="clearcase">Add support for IBM ClearCase version control system (requires manual installation of ClearCase client)</flag>
|
||||
<flag name="cmake">Enable cmake project manager plugin</flag>
|
||||
<flag name="fakevim">Enable support for vim-like key bindings</flag>
|
||||
<flag name="git">Add support for <pkg>dev-vcs/git</pkg> version control system</flag>
|
||||
<flag name="madde">Enable integration with MADDE (Maemo Application Development and Debugging Environment)</flag>
|
||||
<flag name="mercurial">Add support for <pkg>dev-vcs/mercurial</pkg> version control system</flag>
|
||||
<flag name="perforce">Add support for Perforce version control system (requires manual installation of Perforce client)</flag>
|
||||
<flag name="qnx">Build QNX/Blackberry plugin</flag>
|
||||
<flag name="valgrind">Add support for memory debugging using <pkg>dev-util/valgrind</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,143 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.5.2.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
LANGS="cs de es fr hu it ja pl ru sl uk zh_CN"
|
||||
|
||||
inherit multilib eutils flag-o-matic qt4-r2
|
||||
|
||||
DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
|
||||
HOMEPAGE="http://qt.nokia.com/products/developer-tools"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
|
||||
https://git.gitorious.org/${PN}/${PN}.git"
|
||||
else
|
||||
MY_P=${PN}-${PV/_/-}-src
|
||||
SRC_URI="http://get.qt.nokia.com/qtcreator/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
|
||||
QTC_PLUGINS=(autotools:autotoolsprojectmanager bazaar cmake:cmakeprojectmanager
|
||||
cvs fakevim git madde mercurial perforce subversion valgrind)
|
||||
IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}"
|
||||
|
||||
QT_PV="4.7.4:4"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-qt/qthelp-${QT_PV}[doc?]
|
||||
>=dev-qt/qtcore-${QT_PV}[private-headers(+),ssl]
|
||||
>=dev-qt/qtdeclarative-${QT_PV}[private-headers(+)]
|
||||
>=dev-qt/qtgui-${QT_PV}[private-headers(+)]
|
||||
>=dev-qt/qtscript-${QT_PV}[private-headers(+)]
|
||||
>=dev-qt/qtsql-${QT_PV}
|
||||
>=dev-qt/qtsvg-${QT_PV}
|
||||
debug? ( >=dev-qt/qttest-${QT_PV} )
|
||||
!botan-bundled? ( =dev-libs/botan-1.8* )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
!botan-bundled? ( virtual/pkgconfig )
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=sys-devel/gdb-7.2[python]
|
||||
examples? ( >=dev-qt/qtdemo-${QT_PV} )
|
||||
"
|
||||
PDEPEND="
|
||||
autotools? ( sys-devel/autoconf )
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
cmake? ( dev-util/cmake )
|
||||
cvs? ( dev-vcs/cvs )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
qt4-r2_src_prepare
|
||||
|
||||
# disable unwanted plugins
|
||||
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
|
||||
if ! use ${plugin%:*}; then
|
||||
einfo "Disabling ${plugin%:*} plugin"
|
||||
sed -i -e "/^[[:space:]]\+plugin_${plugin#*:}/d" src/plugins/plugins.pro \
|
||||
|| die "failed to disable ${plugin} plugin"
|
||||
fi
|
||||
done
|
||||
|
||||
if use perforce; then
|
||||
echo
|
||||
ewarn "You have enabled the perforce plugin."
|
||||
ewarn "In order to use it, you need to manually download the perforce client from"
|
||||
ewarn " http://www.perforce.com/perforce/downloads/index.html"
|
||||
echo
|
||||
fi
|
||||
|
||||
# fix translations
|
||||
sed -i -e "/^LANGUAGES/s:=.*:= ${LANGS}:" \
|
||||
share/qtcreator/translations/translations.pro || die
|
||||
|
||||
if ! use botan-bundled; then
|
||||
# identify system botan and pkg-config file
|
||||
local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
|
||||
local lib_botan=$(pkg-config --libs botan-${botan_version})
|
||||
einfo "Major version of system's botan library to be used: ${botan_version}"
|
||||
|
||||
# drop bundled libBotan. Bug #383033
|
||||
rm -rf "${S}"/src/libs/3rdparty/botan || die
|
||||
# remove references to bundled botan
|
||||
sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
|
||||
for x in testrunner parsertests modeldemo; do
|
||||
sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
|
||||
done
|
||||
sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
|
||||
sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
|
||||
# link to system botan
|
||||
sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
|
||||
sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
|
||||
# append botan refs to compiler flags
|
||||
append-flags $(pkg-config --cflags --libs botan-${botan_version})
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4 qtcreator.pro \
|
||||
IDE_LIBRARY_BASENAME="$(get_libdir)" \
|
||||
IDE_PACKAGE_MODE=true
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake docs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}usr" install
|
||||
|
||||
# Install documentation
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins share/doc/qtcreator/qtcreator{,-dev}.qch
|
||||
docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
|
||||
fi
|
||||
|
||||
# Install icon & desktop file
|
||||
doicon src/plugins/coreplugin/images/logo/128/qtcreator.png
|
||||
make_desktop_entry qtcreator 'Qt Creator' qtcreator 'Qt;Development;IDE'
|
||||
|
||||
# Remove unneeded translations
|
||||
local lang
|
||||
for lang in ${LANGS}; do
|
||||
if ! has ${lang} ${LINGUAS}; then
|
||||
rm "${ED}"usr/share/qtcreator/translations/qtcreator_${lang}.qm \
|
||||
|| eqawarn "Failed to remove ${lang} translation"
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.6.1.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PLOCALES="cs de fr hu ja pl ru sl zh_CN"
|
||||
|
||||
inherit eutils flag-o-matic l10n multilib qt4-r2
|
||||
|
||||
DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
|
||||
HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
|
||||
https://git.gitorious.org/${PN}/${PN}.git"
|
||||
else
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}-src
|
||||
SRC_URI="http://releases.qt-project.org/qtcreator/${MY_PV}/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
|
||||
clearcase cmake:cmakeprojectmanager cvs fakevim git
|
||||
madde mercurial perforce qnx subversion valgrind)
|
||||
IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}"
|
||||
|
||||
# minimum Qt version required
|
||||
QT_PV="4.8.0:4"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-qt/qthelp-${QT_PV}[doc?]
|
||||
>=dev-qt/qtcore-${QT_PV}[ssl]
|
||||
>=dev-qt/qtdeclarative-${QT_PV}
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
>=dev-qt/qtscript-${QT_PV}
|
||||
>=dev-qt/qtsql-${QT_PV}
|
||||
>=dev-qt/qtsvg-${QT_PV}
|
||||
debug? ( >=dev-qt/qttest-${QT_PV} )
|
||||
!botan-bundled? ( >=dev-libs/botan-1.10.2 )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
!botan-bundled? ( virtual/pkgconfig )
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=sys-devel/gdb-7.2[python]
|
||||
examples? ( >=dev-qt/qtdemo-${QT_PV} )
|
||||
"
|
||||
PDEPEND="
|
||||
autotools? ( sys-devel/autoconf )
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
cmake? ( dev-util/cmake )
|
||||
cvs? ( dev-vcs/cvs )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
qt4-r2_src_prepare
|
||||
|
||||
# disable unwanted plugins
|
||||
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
|
||||
if ! use ${plugin%:*}; then
|
||||
einfo "Disabling ${plugin%:*} plugin"
|
||||
sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \
|
||||
|| die "failed to disable ${plugin} plugin"
|
||||
fi
|
||||
done
|
||||
|
||||
# fix translations
|
||||
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
|
||||
share/qtcreator/translations/translations.pro || die
|
||||
|
||||
if ! use botan-bundled; then
|
||||
# identify system botan and pkg-config file
|
||||
local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
|
||||
local lib_botan=$(pkg-config --libs botan-${botan_version})
|
||||
einfo "Major version of system's botan library to be used: ${botan_version}"
|
||||
|
||||
# drop bundled libBotan. Bug #383033
|
||||
rm -rf "${S}"/src/libs/3rdparty/botan || die
|
||||
# remove references to bundled botan
|
||||
sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
|
||||
for x in testrunner parsertests modeldemo; do
|
||||
sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
|
||||
done
|
||||
sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
|
||||
sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
|
||||
# link to system botan
|
||||
sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
|
||||
sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
|
||||
# append botan refs to compiler flags
|
||||
append-flags $(pkg-config --cflags --libs botan-${botan_version})
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4 qtcreator.pro \
|
||||
IDE_LIBRARY_BASENAME="$(get_libdir)" \
|
||||
IDE_PACKAGE_MODE=yes
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake docs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}usr" install
|
||||
|
||||
dodoc dist/{changes-2.*,known-issues}
|
||||
|
||||
# Install documentation
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins share/doc/qtcreator/qtcreator{,-dev}.qch
|
||||
docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
|
||||
fi
|
||||
|
||||
# Install desktop file
|
||||
make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
|
||||
}
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.6.2.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PLOCALES="cs de fr hu ja pl ru sl zh_CN"
|
||||
|
||||
inherit eutils flag-o-matic l10n multilib qt4-r2
|
||||
|
||||
DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
|
||||
HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
|
||||
https://git.gitorious.org/${PN}/${PN}.git"
|
||||
else
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}-src
|
||||
SRC_URI="http://releases.qt-project.org/qtcreator/${MY_PV}/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
|
||||
clearcase cmake:cmakeprojectmanager cvs fakevim git
|
||||
madde mercurial perforce qnx subversion valgrind)
|
||||
IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}"
|
||||
|
||||
# minimum Qt version required
|
||||
QT_PV="4.8.0:4"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-qt/qthelp-${QT_PV}[doc?]
|
||||
>=dev-qt/qtcore-${QT_PV}[ssl]
|
||||
>=dev-qt/qtdeclarative-${QT_PV}
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
>=dev-qt/qtscript-${QT_PV}
|
||||
>=dev-qt/qtsql-${QT_PV}
|
||||
>=dev-qt/qtsvg-${QT_PV}
|
||||
debug? ( >=dev-qt/qttest-${QT_PV} )
|
||||
!botan-bundled? ( >=dev-libs/botan-1.10.2 )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
!botan-bundled? ( virtual/pkgconfig )
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=sys-devel/gdb-7.2[python]
|
||||
examples? ( >=dev-qt/qtdemo-${QT_PV} )
|
||||
"
|
||||
PDEPEND="
|
||||
autotools? ( sys-devel/autoconf )
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
cmake? ( dev-util/cmake )
|
||||
cvs? ( dev-vcs/cvs )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
qt4-r2_src_prepare
|
||||
|
||||
# disable unwanted plugins
|
||||
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
|
||||
if ! use ${plugin%:*}; then
|
||||
einfo "Disabling ${plugin%:*} plugin"
|
||||
sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \
|
||||
|| die "failed to disable ${plugin} plugin"
|
||||
fi
|
||||
done
|
||||
|
||||
# fix translations
|
||||
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
|
||||
share/qtcreator/translations/translations.pro || die
|
||||
|
||||
if ! use botan-bundled; then
|
||||
# identify system botan and pkg-config file
|
||||
local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
|
||||
local lib_botan=$(pkg-config --libs botan-${botan_version})
|
||||
einfo "Major version of system's botan library to be used: ${botan_version}"
|
||||
|
||||
# drop bundled libBotan. Bug #383033
|
||||
rm -rf "${S}"/src/libs/3rdparty/botan || die
|
||||
# remove references to bundled botan
|
||||
sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
|
||||
for x in testrunner parsertests modeldemo; do
|
||||
sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
|
||||
done
|
||||
sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
|
||||
sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
|
||||
# link to system botan
|
||||
sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
|
||||
sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
|
||||
# append botan refs to compiler flags
|
||||
append-flags $(pkg-config --cflags --libs botan-${botan_version})
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4 qtcreator.pro \
|
||||
IDE_LIBRARY_BASENAME="$(get_libdir)" \
|
||||
IDE_PACKAGE_MODE=yes
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake docs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}usr" install
|
||||
|
||||
dodoc dist/{changes-2.*,known-issues}
|
||||
|
||||
# Install documentation
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins share/doc/qtcreator/qtcreator{,-dev}.qch
|
||||
docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
|
||||
fi
|
||||
|
||||
# Install desktop file
|
||||
make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0_beta.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PLOCALES="cs de fr hu ja pl ru sl zh_CN"
|
||||
|
||||
inherit eutils flag-o-matic l10n multilib qt4-r2
|
||||
|
||||
DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
|
||||
HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
|
||||
https://git.gitorious.org/${PN}/${PN}.git"
|
||||
else
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}-src
|
||||
SRC_URI="http://releases.qt-project.org/qtcreator/${MY_PV}/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
|
||||
clearcase cmake:cmakeprojectmanager cvs fakevim git
|
||||
madde mercurial perforce qnx subversion valgrind)
|
||||
IUSE="+botan-bundled debug doc examples test ${QTC_PLUGINS[@]%:*}"
|
||||
|
||||
# minimum Qt version required
|
||||
QT_PV="4.8.0:4"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-qt/qthelp-${QT_PV}[doc?]
|
||||
>=dev-qt/qtcore-${QT_PV}[ssl]
|
||||
>=dev-qt/qtdeclarative-${QT_PV}
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
>=dev-qt/qtscript-${QT_PV}
|
||||
>=dev-qt/qtsql-${QT_PV}
|
||||
>=dev-qt/qtsvg-${QT_PV}
|
||||
!botan-bundled? ( >=dev-libs/botan-1.10.2 )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
!botan-bundled? ( virtual/pkgconfig )
|
||||
test? ( >=dev-qt/qttest-${QT_PV} )
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=sys-devel/gdb-7.2[python]
|
||||
examples? ( >=dev-qt/qtdemo-${QT_PV} )
|
||||
"
|
||||
PDEPEND="
|
||||
autotools? ( sys-devel/autoconf )
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
cmake? ( dev-util/cmake )
|
||||
cvs? ( dev-vcs/cvs )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
qt4-r2_src_prepare
|
||||
|
||||
# disable unwanted plugins
|
||||
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
|
||||
if ! use ${plugin%:*}; then
|
||||
einfo "Disabling ${plugin%:*} plugin"
|
||||
sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \
|
||||
|| die "failed to disable ${plugin} plugin"
|
||||
fi
|
||||
done
|
||||
|
||||
# fix translations
|
||||
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
|
||||
share/qtcreator/translations/translations.pro || die
|
||||
|
||||
if ! use botan-bundled; then
|
||||
# identify system botan and pkg-config file
|
||||
local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
|
||||
local lib_botan=$(pkg-config --libs botan-${botan_version})
|
||||
einfo "Major version of system's botan library to be used: ${botan_version}"
|
||||
|
||||
# drop bundled libBotan. Bug #383033
|
||||
rm -rf "${S}"/src/libs/3rdparty/botan || die
|
||||
# remove references to bundled botan
|
||||
sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
|
||||
for x in testrunner parsertests modeldemo; do
|
||||
sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
|
||||
done
|
||||
sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
|
||||
sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
|
||||
# link to system botan
|
||||
sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
|
||||
sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
|
||||
# append botan refs to compiler flags
|
||||
append-flags $(pkg-config --cflags --libs botan-${botan_version})
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4 qtcreator.pro \
|
||||
IDE_LIBRARY_BASENAME="$(get_libdir)" \
|
||||
IDE_PACKAGE_MODE=1 \
|
||||
TEST=$(use test && echo 1 || echo 0)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [QTest]: ${CATEGORY}/${PF}"
|
||||
cd tests/auto || die
|
||||
eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)"
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}usr" install
|
||||
|
||||
dodoc dist/{changes-2.*,known-issues}
|
||||
|
||||
# Install documentation
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins share/doc/qtcreator/qtcreator{,-dev}.qch
|
||||
docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
|
||||
fi
|
||||
|
||||
# Install desktop file
|
||||
make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<use>
|
||||
<flag name="kde">Select <pkg>media-libs/phonon</pkg> as Phonon variant (needed for KDE)</flag>
|
||||
<flag name="opengl">Enable the QtOpenGL module</flag>
|
||||
<flag name="openvg">Enable the QtOpenVG module</flag>
|
||||
<flag name="qt3support">Enable the Qt3Support library for Qt4</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-meta/qt-meta-4.8.ebuild,v 1.1 2013/03/02 15:24:49 yngwin Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="The Qt toolkit is a comprehensive C++ application development framework"
|
||||
HOMEPAGE="http://qt-project.org/ http://qt.nokia.com/"
|
||||
|
||||
LICENSE="|| ( LGPL-2.1 GPL-3 )"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="dbus kde opengl openvg qt3support"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
>=dev-qt/qthelp-${PV}:4
|
||||
>=dev-qt/qtcore-${PV}:4
|
||||
dbus? ( >=dev-qt/qtdbus-${PV}:4 )
|
||||
>=dev-qt/qtdeclarative-${PV}:4
|
||||
>=dev-qt/qtgui-${PV}:4
|
||||
>=dev-qt/qtmultimedia-${PV}:4
|
||||
opengl? ( >=dev-qt/qtopengl-${PV}:4 )
|
||||
openvg? ( >=dev-qt/qtopenvg-${PV}:4 )
|
||||
kde? ( media-libs/phonon )
|
||||
!kde? ( || ( >=dev-qt/qtphonon-${PV}:4 media-libs/phonon ) )
|
||||
qt3support? ( >=dev-qt/qt3support-${PV}:4 )
|
||||
>=dev-qt/qtscript-${PV}:4
|
||||
>=dev-qt/qtsql-${PV}:4
|
||||
>=dev-qt/qtsvg-${PV}:4
|
||||
>=dev-qt/qttest-${PV}:4
|
||||
>=dev-qt/qtwebkit-${PV}:4
|
||||
>=dev-qt/qtxmlpatterns-${PV}:4
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
einfo "Please note that this meta package is only provided for convenience."
|
||||
einfo "No packages should depend directly on this meta package, but on the"
|
||||
einfo "specific split Qt packages needed."
|
||||
echo
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue