parent
0673cd6b5c
commit
ec839c9eba
@ -0,0 +1,149 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/brltty-4.2-r1.ebuild,v 1.1 2012/08/11 14:19:22 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
FINDLIB_USE="ocaml"
|
||||
|
||||
inherit findlib eutils multilib toolchain-funcs java-pkg-opt-2 flag-o-matic \
|
||||
autotools
|
||||
|
||||
DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
|
||||
HOMEPAGE="http://mielke.cc/brltty/"
|
||||
SRC_URI="http://mielke.cc/brltty/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="+api +beeper bluetooth +contracted-braille doc +fm gpm iconv icu
|
||||
java +learn-mode +midi nls ocaml +pcm python usb +speech
|
||||
tcl X"
|
||||
REQUIRED_USE="doc? ( api )
|
||||
java? ( api )
|
||||
ocaml? ( api )
|
||||
python? ( api )
|
||||
tcl? ( api )"
|
||||
|
||||
COMMON_DEP="bluetooth? ( net-wireless/bluez )
|
||||
gpm? ( >=sys-libs/gpm-1.20 )
|
||||
iconv? ( virtual/libiconv )
|
||||
icu? ( dev-libs/icu )
|
||||
nls? ( virtual/libintl )
|
||||
python? ( >=dev-python/pyrex-0.9.4.1 )
|
||||
tcl? ( >=dev-lang/tcl-8.4.15 )
|
||||
usb? ( virtual/libusb:0 )
|
||||
X? ( x11-libs/libXaw )"
|
||||
DEPEND="virtual/pkgconfig
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
${COMMON_DEP}"
|
||||
RDEPEND="java? ( >=virtual/jre-1.4 )
|
||||
${COMMON_DEP}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-fix-a2.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-ldflags.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-ocaml-install.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-svnversion.patch
|
||||
epatch "${FILESDIR}"/${P}-glibc-212.patch
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
|
||||
# We run eautoconf instead of using eautoreconf because brltty uses
|
||||
# a custom build system that uses autoconf without the rest of the
|
||||
# autotools.
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# override prefix in order to install into /
|
||||
# braille terminal needs to be available as soon in the boot process as
|
||||
# possible
|
||||
# Also override localstatedir so that the lib/brltty directory is installed
|
||||
# correctly.
|
||||
# Disable stripping since we do that ourselves.
|
||||
econf \
|
||||
--prefix=/ \
|
||||
--includedir=/usr/include \
|
||||
--localstatedir=/var \
|
||||
--disable-stripping \
|
||||
--with-install-root="${D}" \
|
||||
$(use_enable api) \
|
||||
$(use_enable beeper beeper-support) \
|
||||
$(use_enable contracted-braille) \
|
||||
$(use_enable fm fm-support) \
|
||||
$(use_enable gpm) \
|
||||
$(use_enable iconv) \
|
||||
$(use_enable icu) \
|
||||
$(use_enable java java-bindings) \
|
||||
$(use_enable learn-mode) \
|
||||
$(use_enable midi midi-support) \
|
||||
$(use_enable nls i18n) \
|
||||
$(use_enable ocaml caml-bindings) \
|
||||
$(use_enable pcm pcm-support) \
|
||||
$(use_enable python python-bindings) \
|
||||
$(use_enable speech speech-support) \
|
||||
$(use_enable tcl tcl-bindings) \
|
||||
$(use_enable X x) \
|
||||
$(use_with bluetooth bluetooth-package) \
|
||||
$(use_with usb usb-package)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local JAVAC_CONF=""
|
||||
local OUR_JNI_FLAGS=""
|
||||
if use java; then
|
||||
OUR_JNI_FLAGS="$(java-pkg_get-jni-cflags)"
|
||||
JAVAC_CONF="${JAVAC} -encoding UTF-8 $(java-pkg_javac-args)"
|
||||
fi
|
||||
|
||||
# workaround for parallel build failure, bug #340903.
|
||||
emake -j1 JAVA_JNI_FLAGS="${OUR_JNI_FLAGS}" JAVAC="${JAVAC_CONF}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use ocaml; then
|
||||
findlib_src_preinst
|
||||
fi
|
||||
|
||||
emake OCAML_LDCONF= install
|
||||
|
||||
if use java; then
|
||||
# make install puts the _java.so there, and no it's not $(get_libdir)
|
||||
rm -rf "${D}/usr/lib/java"
|
||||
java-pkg_doso Bindings/Java/libbrlapi_java.so
|
||||
java-pkg_dojar Bindings/Java/brlapi.jar
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins Documents/brltty.conf
|
||||
local udevdir=/lib/udev
|
||||
has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
|
||||
insinto "${udevdir}"/rules.d
|
||||
newins Hotplug/udev.rules 70-brltty.rules
|
||||
newinitd "${FILESDIR}"/brltty.rc brltty
|
||||
|
||||
libdir="$(get_libdir)"
|
||||
mkdir -p "${D}"/usr/${libdir}/
|
||||
mv "${D}"/${libdir}/*.a "${D}"/usr/${libdir}/
|
||||
gen_usr_ldscript libbrlapi.so
|
||||
|
||||
cd Documents
|
||||
mv Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt
|
||||
mv Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt
|
||||
mv Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt
|
||||
dodoc CONTRIBUTORS ChangeLog HISTORY README* TODO BRLTTY-*.txt
|
||||
dohtml -r Manual-BRLTTY
|
||||
if use doc; then
|
||||
dohtml -r Manual-BrlAPI
|
||||
dodoc BrlAPI-*.txt
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog please be sure "${ROOT}"etc/brltty.conf is correct for your system.
|
||||
elog
|
||||
elog To make brltty start on boot, type this command as root:
|
||||
elog
|
||||
elog rc-update add brltty boot
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST chef-expander-0.10.10.beta.1.gem 24576 SHA256 4220261a9b53488ac164975e81c647e654f53b6433cd8dd27f06daa6a2dcf74e SHA512 4d31b2687522db866bc11bdda22395860e394b99e7b3d820b346b983890190ce0d0da572a64cedf5d77fa87ca31603243dbc1f1ed9d0bcb1b0c8ed238d6d1a06 WHIRLPOOL 86cd5fbe0ab0420a4d641c0cc57b94e3373bc7d9df77eb93127d5c6331c332cf7e01d3d7b9dbbf884169f211e36332171d63433fc9145bc70ecdbd9e19b39f85
|
||||
DIST chef-expander-0.10.10.gem 24064 SHA256 214da1ab5a947f7dfacc46433c7bf03ef7b242e2a33dc7adf021cc97f2a97b2f SHA512 afc6331c41750341d0a50901fd5a9b17854ccbe7b62f199eded52a489a9194019a690fe757f86c9348b1b09915be3faa838e3fc0a34849ae42c93b0791fe3997 WHIRLPOOL 3ca8f0be1a9044c40dfa222c9e6ed8a9e99a27e03d10950396280ca03bfdfcbfb6bb380ff7a191049e564407cf05e2657e29985d48850d53ed7c48facb536971
|
||||
DIST chef-expander-0.10.2.gem 24064 SHA256 8a6cb36fb04a18806fd76d439cd409aaa455c79f9f50fdf254123ea0febce247 SHA512 f6821c0ed4c01ff093bc49ba40c1e5445b8688d45fd1a4973d41b16dde319c6a9fc1488ce9db99a919d1e2fb7eb07a7ab0cae6443647415281da29ad9555d753 WHIRLPOOL 1a7a8c1e469fd078f2c11c110276cc3a72ace21779266d5fc36a80631d371a1c12dabf81c1480795fa11ef2e7a961545f2a654e338736c443711be96eecb2537
|
||||
DIST chef-expander-0.10.8.gem 24576 SHA256 42f69adf2c7129adab7a39fde974d68195f9ba6cd89c0c201ee47ea2793f1997 SHA512 da0921bec08ff4a23c1badd68ac9f5c0d41efc3a03bc3acb716d1db8283f28bb5cdbd36302459b8a3b554573be93fe315f303ffb4bb04138ea8666acb8e396af WHIRLPOOL 3e9e437c9b0a03fb9feb08874d824940e0c24356d62903b969e05c1820d2859bf5a6bfd8832c6ee5903b8defee0b88968c9be45bb9497c8392542611870065fb
|
||||
DIST chef-expander-10.12.0.gem 24576 SHA256 f6d83fa51394e276e33bbd92d39dd30f0cbe93975409b66faffc56f62c1f8534 SHA512 f8abd430c29fa8488e88a7e9b57726a29420cd5982ea28d6c566a07447a9eb51b95be48469aeb4bbd2b1059c0f77977198b11cc169dbf95cdb46b605c13cc361 WHIRLPOOL fc12051fce34b0a70e77d652a1fb1dcd7994f82975d5aa831e0c5d6c5dfce58cd951bd6a9bf5497026e6146bccc4b4f6bfde692af24250bc13ec1f2151fbcf81
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-expander/chef-expander-0.10.2.ebuild,v 1.2 2011/08/06 14:23:51 graaff Exp $
|
||||
|
||||
EAPI="2"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
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=""
|
||||
|
||||
ruby_add_rdepend "~app-admin/chef-${PV}
|
||||
>=dev-ruby/amqp-0.6.7:0
|
||||
>=dev-ruby/bunny-0.6.0
|
||||
>=dev-ruby/em-http-request-0.2.11
|
||||
>=dev-ruby/eventmachine-0.12.10
|
||||
>=dev-ruby/fast_xs-0.7.3
|
||||
>=dev-ruby/highline-1.6.1
|
||||
>=dev-ruby/mixlib-log-1.2.0
|
||||
>=dev-ruby/uuidtools-2.1.1
|
||||
>=dev-ruby/yajl-ruby-0.7.7"
|
||||
|
||||
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,49 +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-0.10.8.ebuild,v 1.1 2012/01/29 12:17:25 hollow Exp $
|
||||
|
||||
EAPI="4"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
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=""
|
||||
|
||||
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-0.7.7"
|
||||
|
||||
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,2 @@
|
||||
DIST chef-server-api-0.10.10.beta.1.gem 52736 SHA256 cca9730401520e7292aa9372bff9e8c3548f4009c56c7c11156f21fadb6b8c8d SHA512 4c67c51c7d0e5e478cf6d65d4e72c813c394bb5be546fff8fae9e7595a97e54bf23f4983a3b21a3458f76c63e58f2ff18efadacca7170a638a4a65b166282c44 WHIRLPOOL d8468f109e16cf5d0cddb74c10360a38673da096b990bb3f8e0bd5d8244ccb6a6f950f6b08670aae1fabd5cc115fc97b94928d334313b64e5aa682f94e785f88
|
||||
DIST chef-server-api-0.10.10.gem 52736 SHA256 d5c6a9580a07f54ac002050042166a5ac5d40a9246d348a582ab251a8e3282c4 SHA512 ab3b19e193c8306ffb456306e3f09e161666aeba5311629cd6cf18d4389e496f476a92544747f41f8a342369f133a5aca70818a1ea62ec24bc1980fcaa841430 WHIRLPOOL 1280adb74caa35e35915ca953b47286f05aee575b68aad6ddd89045e66fa86f239790abf3b7ea320f05dcc24d12355153d84a396940262269a04870c8fc1597c
|
||||
DIST chef-server-api-0.10.2.gem 51200 SHA256 13a7dcea383c569d124826dcadcb99058761eb255e5793dbc08362265a4ba3e3 SHA512 5ad57175729068e0ab04f5278b89dac4955012e03ee31b76cd695c425fba77a1b2c44575ea201c629137db5dfc999c8b10e06ed7400ebf87359c23a87313dc19 WHIRLPOOL 143e328ba9541b7d64075e5e3a1c9d86eb74bcd9b4f09b89fe3b3f3074b87a85873627cf56d3bac395e5688685330e909de87466b373b84ab470e3a18f8dcb29
|
||||
DIST chef-server-api-0.10.8.gem 52224 SHA256 d35ca109959f70210db2d0fc193503889eb331fc3ec1bac5aed85d9cc47741a3 SHA512 dfa34a12f45fdd98d014ad32e9c31ae0b537199f6a24532461712039f9006765ec51b22e4458aca78df323e92e7ddfdd4de99da0d224bb2b8492c780181972c4 WHIRLPOOL c9324f1de1cd5e85b68fe87c0d464516e0bd1d704db61caffc31911c475a45d9df4e2df466457fd3562ed52ba2491e00100069f8744917988ecae510736bcdb6
|
||||
DIST chef-server-api-10.12.0.gem 52736 SHA256 00f54eb9220cbb56b47a4f0ffa814ae149a2c9e4c3022c1c5da048f719c0b389 SHA512 99fd4eb230232420c65eccdf6ffa35660185e0ad6032cc7d8113a1845ec164c3aa451b5de8ce4d7bd78d4018f7a042cee2575c8a1a79d446e165d182eab94fbc WHIRLPOOL ccb99fd99a402630187d6152a469b3d72917225406e217f5930c4a1168cf6d6c419847d466fd1b9a8a3751a1265fb7391a852c5209d51ae9414483ebc0fa8f30
|
||||
|
@ -1,69 +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-0.10.10_beta1.ebuild,v 1.1 2012/04/29 13:23:57 hollow Exp $
|
||||
|
||||
EAPI="4"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_VERSION=${PV/_beta/.beta.}
|
||||
|
||||
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=">=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,65 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-api/chef-server-api-0.10.2.ebuild,v 1.2 2012/01/29 12:22:49 hollow Exp $
|
||||
|
||||
EAPI="2"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
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=">=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/json-1.4.4
|
||||
<=dev-ruby/json-1.4.6
|
||||
>=dev-ruby/mixlib-authentication-1.1.3
|
||||
>=dev-ruby/merb-assets-1.1.0
|
||||
>=dev-ruby/merb-core-1.1.0
|
||||
>=dev-ruby/merb-helpers-1.1.0
|
||||
>=dev-ruby/merb-param-protection-1.1.0
|
||||
>=dev-ruby/uuidtools-2.1.1
|
||||
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,4 +1,2 @@
|
||||
DIST chef-server-webui-0.10.10.beta.1.gem 181248 SHA256 9a93d737c176272840c20872c772ebaee2da672715214d249b1345901495e58f SHA512 9c30f19f36a35bbad592d4120459f4756deed3989349aa0778f3d373912cc623f45ca473bb23989a30b85ed8fdce39af166d583e039b5172790a7802be5e3bbe WHIRLPOOL 85c375e32396095eac9f6b8667dd8491ada2753a52947d027ecf7d89f954fc02770fee1bc8de778a61ee1603ecbe0b6a5e7c44edc96780046817faf094039b20
|
||||
DIST chef-server-webui-0.10.10.gem 181248 SHA256 58005930fcb1146124fb233fcf12e22bb9b8cd1dcbe68c8173bace7d4bbba93d SHA512 7161dfdbceed76c0dab4ba116ba4a0190821f614ff57835a212c4846adb3e304c8471f35bf97b5d610ca3075213e99f704d03e87ac363e8faa65fcdca3df9e01 WHIRLPOOL 1c34ab3c102d5dbf7ca9771147b0a636332642c71899efb1729553f6da8a633b356ba2b02e009a3a59b9f23ccb43f9c3db3e6f5dda2d8209df0a22b2c5efb5f1
|
||||
DIST chef-server-webui-0.10.2.gem 198144 SHA256 a30d52464c0668e5d6ac59b5af9c8de7082b1c57a4298b9c98864545afca957f SHA512 9ff4f07183b31b35efe4750987109e09ac91654046e8773085ea45c7ee85699fde2bd6d60bda90d8260f453f4297548d7dbb89185f076dfc906635ff360a2149 WHIRLPOOL 5b58925d564d2357f17846e05d95842d7c040bc60f70bb8a858c5f03ec2e12c6edb33aecfb4d9b3f93f8f9467639754c276bfc7bcee1b74ed64c38c5d7392c31
|
||||
DIST chef-server-webui-0.10.8.gem 181248 SHA256 711d53f5c7f99fea18e0110c36d31a3812c614c0f09ffa3ee4e195ca17b7de2a SHA512 9e1a38d25244ff058cfbbaedab6d099fc36b1b3e29d371ba40528f479beaea03eebbafd8c83a158890d57eb20c5569e3bb377952bd22b6ba09cf356d21fda885 WHIRLPOOL f264104edc43ed839b62c38c5bfe10d557712dc4190921f021c763868290d1a8e743c7b39a7afdfa3314bf4680d20efe9f69774367610560b8a92ee4cc9d0c91
|
||||
DIST chef-server-webui-10.12.0.gem 181248 SHA256 5e276b25acd0a1080491f674d4b83983ee7537e195898e4bcb7a1e77dfb53caa SHA512 1217060104ae474ec42c02452f0834e25f0172885def6f19e20424bd24bf2730aeac855b35deac458d15f78176e39bdc7c64179f6fc25955afc5a6ad9582cb0f WHIRLPOOL ba1dc086cee27cb8cc7042da3f98c500a680bf70438f8e1e0aacaa1aee13d3b5ddd1387ce4a3b1a0a8b4570f786b095e650b83941f74189646badc63e05454d5
|
||||
|
@ -1,77 +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-0.10.10_beta1.ebuild,v 1.2 2012/05/31 02:24:30 zmedico Exp $
|
||||
|
||||
EAPI="4"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_VERSION=${PV/_beta/.beta.}
|
||||
|
||||
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,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-webui/chef-server-webui-0.10.2.ebuild,v 1.2 2012/05/31 02:24:30 zmedico Exp $
|
||||
|
||||
EAPI="2"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
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/json-1.4.4
|
||||
<=dev-ruby/json-1.4.6
|
||||
>=dev-ruby/merb-assets-1.1.0
|
||||
>=dev-ruby/merb-core-1.1.0
|
||||
>=dev-ruby/merb-haml-1.1.0
|
||||
>=dev-ruby/merb-helpers-1.1.0
|
||||
>=dev-ruby/merb-param-protection-1.1.0
|
||||
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,9 +1,9 @@
|
||||
# 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-0.10.8.ebuild,v 1.2 2012/05/31 02:24:30 zmedico Exp $
|
||||
# $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"
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
@ -1,4 +1,2 @@
|
||||
DIST chef-server-0.10.10.beta.1.gem 8192 SHA256 3bd509714c9c1f90ae1f5e4a1fdb4a6bdc0fa7631ff57d868dedd43f60dd796f SHA512 147a6ea39a5f83609e6b3b116f939c05c734565df90deb16917b22ef2247e88c40d5f384a6c79d625b10699102ea6a15cb0a1cd2b1715f19271236997676f5c7 WHIRLPOOL e33e142a3a15f2ed9a352de6ce065a7db068473915aa53b1e5b971c0cb5219403c5df6d102ad6e99ab39ff771c162f90fe050bf1e13bfb389f5c5dab6dd6f4b2
|
||||
DIST chef-server-0.10.10.gem 8192 SHA256 083b2e559a7cd52b216d16fd6abbbcbb4eda914d88c581ac66f7481d37d1a6ce SHA512 a456bfebc90bc6a38bdc08b1e57e42d815970e6955e40c2559f7908082a9eb4f8a9998e80f9f883a3c869551752d10ca56695b5d2df518d19cff1829a652c5f0 WHIRLPOOL d9e21a0376e0898af97d919a618014c119dcafeaf5948640dd8fcd35f2632a5975ad2ea8f41c65ce1ee46cb413dfcbf292c0918fe7784269fe44410116c64b62
|
||||
DIST chef-server-0.10.2.gem 8192 SHA256 73ecbd39571f59cd9d71e497c2f1a0649d61d9c582a45f8ae1cb6690b0838fa5 SHA512 b9e12015799c8ab0b1e1aa19b1d39ae52f40baf548fb8859e621994e02e9bcfe856d422dd651ad49afd6ff5a88788c4f70d9b9911246891aa0fdbdca04a9d581 WHIRLPOOL a7cbc812d4a26756b899cff4a5c2ac978596e389b0964256a710b18b1392cc816bc4e6af0647916a5e2e6c0b18a9b5026ef3956b4691723809411fe7aff9bbda
|
||||
DIST chef-server-0.10.8.gem 8192 SHA256 ba73e99a4d7259358356213b287d9bdfedfa293933a762d6557faaeeb4e28f31 SHA512 4a787123a8247af7bd19db422cfa34cec1570465d1a149f7dbdfddd030a158c457dce0d6defd03110b26b3f5ab04ec5c293021a1c30cf9b4ec4e6813d03a626a WHIRLPOOL 694767ad1bc27f44c69aed0d7a63dccd9b507b2065f6ae0dfa170d2e1529beadb2687a91731a24e958865c4d4469999c8f49adc9bed39c64b43a471359ae946f
|
||||
DIST chef-server-10.12.0.gem 8192 SHA256 546393cf70898c79211c4a2fa32a87a69c4514d7e6860684dc037a5ddbcac16d SHA512 c5b927342dce9d5559f1613a3a18ec4db89ae31f63317264a6b791e001e8e5a66ba1a023dd6e05c3d86659f7aaec582da0161c8123ff4e57bb8626c74f6e6e50 WHIRLPOOL 024ac12950d9455f1b782e225ce5f27ad065bb0ee54689b2398774027390cf335badf4b504e4691a381fa78891b5afb0f353249e9223fd03ba5fc52062d5ef70
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server/chef-server-0.10.10_beta1.ebuild,v 1.1 2012/04/29 13:26:30 hollow Exp $
|
||||
|
||||
EAPI="4"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_VERSION=${PV/_beta/.beta.}
|
||||
|
||||
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,23 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server/chef-server-0.10.2.ebuild,v 1.1 2011/07/25 09:18:19 hollow Exp $
|
||||
|
||||
EAPI="2"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
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,13 +1,15 @@
|
||||
# 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-0.10.8.ebuild,v 1.1 2012/01/29 12:36:59 hollow Exp $
|
||||
# $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"
|
||||
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)"
|
@ -1,4 +1,2 @@
|
||||
DIST chef-solr-0.10.10.beta.1.gem 10217472 SHA256 0a52f7b95e1011994ce3aaa152293b191daf7e0d4bc835f0d5b944d8f8a293c7 SHA512 a93f31c702912c20f762382d67e9f85c3ff331c15ac821ca036a38e9fad0be50a886b37fc5002d23bf657c89ac40fca57d04adb5bf5bcdbecee7f579eef0ab89 WHIRLPOOL 8a3117458c070f8ad439775614b2995623eedb5f6ec1ac16fff84821a096e5b41838e84264bbfbf6c818eda41c41cbe6b527aff5c372b4d34a59719ae90758d8
|
||||
DIST chef-solr-0.10.10.gem 10217472 SHA256 5d46e1d44435939bb5790e41134089fd5ce0c35bba25e47f6e602e4540c3ea02 SHA512 3cec65850c5659e38fd1ee1b7609c3d17ce2ab7236ad128634ab12b51fb7b97a20be5a1cbb04ba71329fde313cf07603368ed5b5d8425254b3ddc1d1aae18440 WHIRLPOOL 9487a3b8bf600c465d2bb9a73a1cac5442a4bafb5920204631255bbf96cd3a3426f13bee3902f703003eaa0a5f730233ba54e777a815d284a7f0230b07761f6f
|
||||
DIST chef-solr-0.10.2.gem 10223104 SHA256 29fba89983ef43e20a29261b2b1154458c59c039c6a1813594a96d43c5d8b721 SHA512 36567476f02f5e8e030ccf9a96764296cc41f86954b67aef7c5d207f44359c8a13f5f3ec51b18d2d57549d9694a81dd7ade389e239115d0d95bf3fc4a4a34153 WHIRLPOOL 345d2f914ffcadca9bc492a64b4fee25080c13a2b6e16a664e26c434474185f6827754fee0c8253848529f370c525d5eaf79a99bb3d2baf89062085d8ed843b5
|
||||
DIST chef-solr-0.10.8.gem 10214400 SHA256 820b8a694b3b96c7758b6b03a20af687d12bca5e839f9963af84ecb5946ea446 SHA512 eb683b3a37c835aa440adcef7bb844e19d37a45de23e6a1612191801c60893a2d9e5d29a1d586ddd1c6c176d3857b3e22d91ff6cb17aff1f510bba4d2f8b9daa WHIRLPOOL 1c8cef74b5d1c3520a2c398043a994ddc72a01f3ba0afa91a41b438377d3f2c2eefa3f050d181deec20d6f653e0f5a755ef4e31548a57499b5bef2fc7bc8a368
|
||||
DIST chef-solr-10.12.0.gem 10217472 SHA256 12cc7afad56869fba3d1659cd8154ab89860b24895676385104e36e1faa6f962 SHA512 116ecc5b52a62d0bbd23883dbaf8f049b00b84add3e15eda817f3777bd6a6b4b49e40d64090e70d003931bf6fac36f5fcd2752f4c60ecdb25995795c7ba6735c WHIRLPOOL fa1484746b40df2812c51138668b5d967b866aedcc5e2cb34943394dcae8f7fa3b3ecdcf3749cde7f4997f063676faf2e6d891df36868c63f3cb29c0f474f99d
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-solr/chef-solr-0.10.2-r1.ebuild,v 1.1 2011/12/31 20:07:50 idl0r Exp $
|
||||
|
||||
EAPI="2"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
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}
|
||||
>=dev-ruby/libxml-1.1.3
|
||||
>=dev-ruby/uuidtools-2.0.0"
|
||||
|
||||
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
|
||||
}
|
@ -1,44 +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-0.10.8.ebuild,v 1.1 2012/01/29 12:11:53 hollow Exp $
|
||||
|
||||
EAPI="4"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
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_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
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST chef-0.10.10.beta.1.gem 423424 SHA256 b6c10bb6e503f5dd4f7d897b72e1e93d053a9c9018ea77329c78ee82822e0da0 SHA512 ae3d706a6f37b53f171fa6a59401193fdfb04e0a0fb86c12711e6aafb6b20bf397b2903e9ddf28095b635e93e12fd5d9044b7a650112af6f0d553543e546b739 WHIRLPOOL 4773d228b439d137d28bdc1b7a7b4c7745441e26f0e49401256d1f89f8dd6f3804ff1f585f762c408da42ff1cf7860ee9ed4ec0980fce33d9033a70abb94d3ea
|
||||
DIST chef-0.10.10.gem 424960 SHA256 144409014cced8d8a69a45a3e14145d2ea8e0845193629fd1ac36181bbd1dc92 SHA512 c250defea56b61e868da4ee28d268a925f09f583a6e0a49ed55f378ef318e55c17a7b7060e69dad4eaa8fc07d3a5076a14f3e54a2a8a3ee97626b010e7bf2ace WHIRLPOOL 3e004df819353306c15a3926ff2faa30caba5d16ed213d5e32a88684f10ab79b886aef109d8c01476b04294d07aadd21204fb5b16af4f91238cd269998c245f9
|
||||
DIST chef-0.10.2.gem 347648 SHA256 350bad2d596d0a3ebe555909480a7e9f50900497413b558c0a74ad2a7da5f2a0 SHA512 31e627e8ce5e9c7202782387708e197e9a6791a4e75e2bfdbabb1b793f97b9f6803b94ef0ff153c3eb5593900fedbeb5ac043c0c10916bd532a0db2624193f5f WHIRLPOOL 8753034aa06282f66a12ee1824782e4acfc83567fe0f73dbd29bd51ff9798b2545a1c7b24d12eaac70829d7c7b6de60fa6a72dfe58682568491c05371b18d81d
|
||||
DIST chef-0.10.8.gem 381952 SHA256 0a1ea2ee4b22a2933d2ab60164fec21b41425abb6bb4d36e558ae91c857e1a0c SHA512 2b7cf643b027c9d58f4f6e435c4cf9b6b2bbed1ae5dae78126ef8ef4e1afc39e1b8d20497eeff5d1f5a3e80e94ab284eedb4a1bb20aad96e1244908c5c4dfb03 WHIRLPOOL 7a27a6eb8d8ef691b84e6bba99672373943409fe6189f741f066599324ba2a70505d1cf29f000485910565b83d45390fa434d208069238f0f4c2df9d705d0f30
|
||||
DIST chef-10.12.0.gem 429056 SHA256 dac132f5b91f90f37b95b964ee213bb936ee07aaceb23cb24b9c7a9fcb20377b SHA512 fd227a325874013ce764d79a3eb250626c0370b50447caa445c2a7e502121c3cbf29832c96ad266b1730fe0cdcac86767d7b55e2594ccbb57c09fee4f395ee0c WHIRLPOOL bfd03dcc4a15e3cc4f141d31af441123a0653e7cb0fa26cc46ccfbe7bda0633c2ecf503b99ad2b7608dab90e9dbe2d7e3e44b00ce9b42d57225359dd7422c091
|
||||
|
@ -1,64 +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-0.10.2.ebuild,v 1.2 2012/05/31 02:23:21 zmedico Exp $
|
||||
|
||||
EAPI="2"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
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=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/bunny-0.6.0
|
||||
dev-ruby/erubis
|
||||
dev-ruby/extlib
|
||||
dev-ruby/highline
|
||||
>=dev-ruby/json-1.4.4
|
||||
<=dev-ruby/json-1.5.2
|
||||
>=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/moneta
|
||||
>=dev-ruby/net-ssh-2.1.3
|
||||
>=dev-ruby/net-ssh-multi-1.0.1
|
||||
>=dev-ruby/ohai-0.6.0
|
||||
>=dev-ruby/rest-client-1.0.4
|
||||
<dev-ruby/rest-client-1.7.0
|
||||
dev-ruby/ruby-shadow
|
||||
>=dev-ruby/treetop-1.4.9
|
||||
dev-ruby/uuidtools"
|
||||
|
||||
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"
|
||||
}
|
||||
|
||||
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,62 +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-0.10.8.ebuild,v 1.3 2012/05/31 02:23:21 zmedico Exp $
|
||||
|
||||
EAPI="4"
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
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=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/bunny-0.6.0
|
||||
dev-ruby/erubis
|
||||
dev-ruby/highline
|
||||
>=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/moneta
|
||||
>=dev-ruby/net-ssh-2.1.3
|
||||
>=dev-ruby/net-ssh-multi-1.1
|
||||
>=dev-ruby/ohai-0.6.0
|
||||
>=dev-ruby/rest-client-1.0.4
|
||||
dev-ruby/ruby-shadow
|
||||
>=dev-ruby/treetop-1.4.9
|
||||
dev-ruby/uuidtools"
|
||||
|
||||
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"
|
||||
}
|
||||
|
||||
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,5 +1 @@
|
||||
DIST tarsnap-autoconf-1.0.28.tgz 583652 SHA256 4e36b57496a0682ec896aac753e028d9d6a34efbb23fbe2032c0e04d1be51675 SHA512 d1a99657585f09013b87147d5d1fe1eb8352ed76336f953c5f2432f4b6419e10d310bf2a2e7c6dcb786a65a919e1a951357c542773e31473fec436858303505b WHIRLPOOL 96284277147dd3a44da7e27d63f3e35074c48f79d1019e7d638a1ae1fd253d49b6bd7a4ec120f842faceb829cf1d72b0ab1e9cf3cac4d8f5e2da55a9b561415d
|
||||
DIST tarsnap-autoconf-1.0.29.tgz 595483 SHA256 747510459e4af0ebbb6e267c159aa019f9337d1e07bd9a94f1aa1498081b7598 SHA512 3d0b182c95d511719b338eaf961a4bf1765fd73b0b136f1d59a134f64e182868a5aeaa6a68a727e2e3dda9cf06548236c05ea8bcc6c4330aecf40de890963f40 WHIRLPOOL 6296c32548cc7fc0333502e7b65c005816a9f9715afbf22a33980f4deaf4692968ff2d035038ab0e78aeb0b178a3e3f9490bcdcc25bde5ddf77561caa468758f
|
||||
DIST tarsnap-autoconf-1.0.30.tgz 567693 SHA256 ad663922064a98bce9c085a53ecd83eb839457b49d7cd22cff7c069e9b7e522e SHA512 0cc7987c68c858c3cbc0acc211342e371a7076089f244167ec1226cc15ff4525b990a4a3f446115d809c83ba8377eea4f7e14ad64e414931f095e5a93748a6cb WHIRLPOOL 13f1835ecbd9c5d20da367a06f054b700883b9b7271ccc8e9df524a76e8fa818a17e93fd62af49fdf8869585a0c66a26493f01b66d5b1eb152cc8d988bf734de
|
||||
DIST tarsnap-autoconf-1.0.31.tgz 563896 SHA256 3b461e1e76b92c1538a6322d8dbaa8e5285dae2029b4470357cb57e321625d95 SHA512 4ce13185f966586c9d4bbc69dc7f37ddf3c286802e6cc2615f3909fa1b46e0adb468c9eb7f03a7ca11860841574ecdd8bf9c3d1a41b5f9ca2c075901ec56f181 WHIRLPOOL 106b6c8ac38490a15be508c59667bfb87a924cc8575eceaa878c0fee29f267a6a96a9b3d00ff0043b79ea182c33580137ad1bdf7ef5481bd5dc61488cfe16878
|
||||
DIST tarsnap-autoconf-1.0.32.tgz 564007 SHA256 8b7c7de5277e6cac55040e0d0e0c8b0952aa77278f7e14f05f00d6aef46d265d SHA512 bb1273bd5e0f85d2f059bea858c34f26ef1bee67accab9afca7567541a9edceeeb8dc00372947fbaa4e0640abe752ca42e230dce466e9ee58ffa6685649bc655 WHIRLPOOL d075de86d44594935aa82aeeeca31b1da284a10d298d242dd35614e7caa54d5cbfdce63b4e5556976d3b10bb45f4e61d9ab5f0ebb4e56ec5ef0966d14661db04
|
||||
DIST tarsnap-autoconf-1.0.33.tgz 569831 SHA256 0c0d825a8c9695fc8d44c5d8c3cd17299c248377c9c7b91fdb49d73e54ae0b7d SHA512 630cc975ee43b3ebc595a8ca7bcc5600488e2c0612ef4002053f040c8b012d9a7ff17d72ac788118d7ab71a4195eb8c828daabd9bda29dfce3889899aadf01f5 WHIRLPOOL 274157105f18af145ea1e7df79c760d3e85e3d2bafae2c8f29694008da619896c918a4abd15c2139ad45ca183781061dc58907fb6795b5ec87ab6acf530bd176
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/tarsnap/tarsnap-1.0.28.ebuild,v 1.1 2011/01/19 16:35:57 gregkh Exp $
|
||||
|
||||
DESCRIPTION="Online backups for the truly paranoid"
|
||||
HOMEPAGE="http://www.tarsnap.com/"
|
||||
SRC_URI="https://www.tarsnap.com/download/tarsnap-autoconf-${PV}.tgz"
|
||||
|
||||
LICENSE="tarsnap"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="sys-libs/zlib dev-libs/openssl sys-libs/e2fsprogs-libs"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/tarsnap-autoconf-${PV}"
|
||||
|
||||
src_install() {
|
||||
einstall || die "tarsnap could not be installed"
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/tarsnap/tarsnap-1.0.29.ebuild,v 1.1 2011/03/10 19:41:30 rafaelmartins Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Online backups for the truly paranoid"
|
||||
HOMEPAGE="http://www.tarsnap.com/"
|
||||
SRC_URI="https://www.tarsnap.com/download/tarsnap-autoconf-${PV}.tgz"
|
||||
|
||||
LICENSE="tarsnap"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="sys-libs/zlib dev-libs/openssl sys-libs/e2fsprogs-libs"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/tarsnap-autoconf-${PV}"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/tarsnap/tarsnap-1.0.30.ebuild,v 1.1 2011/09/26 17:10:27 gregkh Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Online backups for the truly paranoid"
|
||||
HOMEPAGE="http://www.tarsnap.com/"
|
||||
SRC_URI="https://www.tarsnap.com/download/tarsnap-autoconf-${PV}.tgz"
|
||||
|
||||
LICENSE="tarsnap"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="sys-libs/zlib dev-libs/openssl sys-libs/e2fsprogs-libs"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/tarsnap-autoconf-${PV}"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/tarsnap/tarsnap-1.0.31.ebuild,v 1.1 2012/02/11 19:31:11 rafaelmartins Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Online backups for the truly paranoid"
|
||||
HOMEPAGE="http://www.tarsnap.com/"
|
||||
SRC_URI="https://www.tarsnap.com/download/tarsnap-autoconf-${PV}.tgz"
|
||||
|
||||
LICENSE="tarsnap"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="sys-libs/zlib dev-libs/openssl sys-libs/e2fsprogs-libs"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/tarsnap-autoconf-${PV}"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/tarsnap/tarsnap-1.0.32.ebuild,v 1.1 2012/03/05 17:09:24 gregkh Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Online backups for the truly paranoid"
|
||||
HOMEPAGE="http://www.tarsnap.com/"
|
||||
SRC_URI="https://www.tarsnap.com/download/tarsnap-autoconf-${PV}.tgz"
|
||||
|
||||
LICENSE="tarsnap"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="sys-libs/zlib dev-libs/openssl sys-libs/e2fsprogs-libs"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/tarsnap-autoconf-${PV}"
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/tarsnap/tarsnap-1.0.33.ebuild,v 1.2 2012/08/12 09:07:47 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Online backups for the truly paranoid"
|
||||
HOMEPAGE="http://www.tarsnap.com/"
|
||||
SRC_URI="https://www.tarsnap.com/download/${PN}-autoconf-${PV}.tgz"
|
||||
|
||||
LICENSE="tarsnap"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="acl bzip2 lzma sse2 xattr"
|
||||
|
||||
RDEPEND="dev-libs/openssl:0
|
||||
sys-libs/e2fsprogs-libs
|
||||
sys-libs/zlib
|
||||
acl? ( sys-apps/acl )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
xattr? ( sys-apps/attr )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/os-headers" # Required for "magic.h"
|
||||
|
||||
S=${WORKDIR}/${PN}-autoconf-${PV}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable sse2) \
|
||||
$(use_enable xattr) \
|
||||
$(use_enable acl) \
|
||||
$(use_with bzip2 bz2lib) \
|
||||
--without-lzmadec \
|
||||
$(use_with lzma)
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/acr38u/acr38u-1.7.11-r1.ebuild,v 1.1 2012/08/12 07:50:39 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib eutils versionator autotools toolchain-funcs
|
||||
|
||||
MY_P=ACR38_LINUX_$(get_version_component_range 1)00$(get_version_component_range 2)$(get_version_component_range 3)_P
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
DESCRIPTION="Non CCID driver for ACR38 AC1038-based Smart Card Reader."
|
||||
|
||||
#SRC_URI="http://www.acs.com.hk/drivers/eng/${MY_P}.tar.bz2"
|
||||
# tarball release is encapsuled in a .zip file :-(
|
||||
# http://www.acs.com.hk/drivers/eng/ACR38_Driver_Lnx_101_P.zip
|
||||
# I'm waiting an answer from info@acs.com.hk about that !
|
||||
SRC_URI="http://www.linuxunderground.be/${MY_P}.tar.bz2"
|
||||
HOMEPAGE="http://www.acs.com.hk"
|
||||
|
||||
# Make this safe from collisions, require a version of pcsc-lite that
|
||||
# uses libusb-1.0 and use the wrapper library instead.
|
||||
# Changed back from dev-libs/libusb-compat to virtual/libusb:0 because
|
||||
# libusb-compat is marked stable and primary in the virtual. -ssuominen
|
||||
RDEPEND=">=sys-apps/pcsc-lite-1.6.4
|
||||
virtual/libusb:0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
|
||||
sed -i -e '/pcdir/s:@prefix@/lib:$(libdir):' src/controllib/Makefile.am
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-static=false \
|
||||
--enable-usbdropdir="${D}/usr/$(get_libdir)/readers/usb"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
local udevdir=/lib/udev
|
||||
has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
|
||||
insinto "${udevdir}"/rules.d
|
||||
newins "${FILESDIR}"/${PV}.rules 92-pcscd-acr38u.rules
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ccid-1.4.7-r1.ebuild,v 1.1 2012/08/12 07:57:43 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
STUPID_NUM="3730"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="CCID free software driver"
|
||||
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
|
||||
SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="twinserial +usb"
|
||||
|
||||
RDEPEND=">=sys-apps/pcsc-lite-1.8.3
|
||||
usb? ( virtual/libusb:1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
kernel_linux? ( virtual/pkgconfig )"
|
||||
|
||||
DOCS=( README AUTHORS )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:GROUP="pcscd":ENV{PCSCD}="1":' \
|
||||
src/92_pcscd_ccid.rules || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
LEX=: \
|
||||
--docdir="/usr/share/doc/${PF}" \
|
||||
$(use_enable twinserial) \
|
||||
$(use_enable usb libusb)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use kernel_linux; then
|
||||
local udevdir=/lib/udev
|
||||
has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
|
||||
insinto "${udevdir}"/rules.d
|
||||
newins src/92_pcscd_ccid.rules 92-pcsc-ccid.rules
|
||||
fi
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-emulator/tpm-emulator-0.5.1-r1.ebuild,v 1.1 2012/08/11 16:43:01 ssuominen Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit toolchain-funcs linux-mod eutils multilib user
|
||||
|
||||
MY_P=${P/-/_}
|
||||
DESCRIPTION="Emulator driver for tpm"
|
||||
HOMEPAGE="https://developer.berlios.de/projects/tpm-emulator"
|
||||
|
||||
SRC_URI="mirror://berlios/tpm-emulator/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="modules"
|
||||
DEPEND="dev-libs/gmp
|
||||
virtual/pkgconfig"
|
||||
RDEPEND=""
|
||||
S=${WORKDIR}/${P/-/_}
|
||||
|
||||
#fixups at:
|
||||
#https://developer.berlios.de/feature/index.php?func=detailfeature&feature_id=3304&group_id=2491
|
||||
|
||||
pkg_setup() {
|
||||
use modules && linux-mod_pkg_setup
|
||||
MODULE_NAMES="tpmd_dev(crypt::${S}/tpmd_dev)"
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_PARAMS="CC=$(tc-getCC)"
|
||||
enewuser tss -1 -1 /var/lib/tpm tss
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/LDFLAGS :=/override LDFLAGS +=/g' tpmd/Makefile
|
||||
sed -i 's#/var/tpm#/var/run/tpm#g' tpmd/tpmd.c tddl/tddl.c tpmd_dev/tpmd_dev.c
|
||||
|
||||
# use kernel object directory found by linux-info getversion() (bug 241956)
|
||||
sed -i 's#/lib/modules/\$(KERNEL_RELEASE)/build#'"${KV_OUT_DIR}#" tpmd_dev/Makefile
|
||||
|
||||
# reorder -lgmp so --as-needed works (bug 264073)
|
||||
sed -i 's/LDFLAGS/LDLIBS/' tpmd/Makefile
|
||||
|
||||
# fix parallel make
|
||||
epatch "${FILESDIR}"/${P}-parallel-make.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake user || die "Failed to build userspace"
|
||||
if use modules; then
|
||||
linux-mod_src_compile || die "Failed to build kernelspace"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [ -x /usr/bin/scanelf -a -f tpm_emulator.ko ]; then
|
||||
[ -z "$(/usr/bin/scanelf -qs __guard tpm_emulator.ko)" ] || \
|
||||
die 'cannot have gmp compiled with hardened flags'
|
||||
[ -z "$(/usr/bin/scanelf -qs __stack_smash_handler tpm_emulator.ko)" ] || \
|
||||
die 'cannot have gmp compiled with hardened flags'
|
||||
fi
|
||||
|
||||
use modules && linux-mod_src_install
|
||||
dodoc README
|
||||
|
||||
emake user_install DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" \
|
||||
|| die "Failed to install userspace"
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.initd-0.5.1 ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd-0.5.1 ${PN}
|
||||
|
||||
local udevdir=/lib/udev
|
||||
has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
|
||||
insinto "${udevdir}"/rules.d
|
||||
newins "${FILESDIR}"/${PN}.udev 60-${PN}.rules
|
||||
|
||||
keepdir /var/run/tpm
|
||||
fowners tss /var/run/tpm
|
||||
|
||||
keepdir /var/log/tpm
|
||||
fowners tss:tss /var/log/tpm
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/trousers-0.3.6-r1.ebuild,v 1.1 2012/08/11 16:55:36 ssuominen Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit autotools eutils linux-info user toolchain-funcs
|
||||
|
||||
#MY_P="${PN}-${PV%.*}-${PV##*.}"
|
||||
|
||||
DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation"
|
||||
HOMEPAGE="http://trousers.sf.net"
|
||||
SRC_URI="mirror://sourceforge/trousers/${P}.tar.gz"
|
||||
LICENSE="CPL-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc" # gtk
|
||||
|
||||
# gtk support presently does NOT compile.
|
||||
# gtk? ( >=x11-libs/gtk+-2 )
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2
|
||||
>=dev-libs/openssl-0.9.7:0"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
# S="${WORKDIR}/${P}git"
|
||||
|
||||
pkg_setup() {
|
||||
# Check for driver (not sure it can be an rdep, because ot depends on the
|
||||
# version of virtual/linux-sources... Is that supported by portage?)
|
||||
linux-info_pkg_setup
|
||||
local tpm_kernel_version tpm_kernel_present tpm_module
|
||||
kernel_is ge 2 6 12 && tpm_kernel_version="yes"
|
||||
if linux_config_exists; then
|
||||
linux_chkconfig_present TCG_TPM && tpm_kernel_present="yes"
|
||||
else
|
||||
ewarn "No kernel configuration could be found."
|
||||
fi
|
||||
has_version app-crypt/tpm-emulator && tpm_module="yes"
|
||||
if [[ -n "${tpm_kernel_present}" ]]; then
|
||||
einfo "Good, you seem to have in-kernel TPM support."
|
||||
elif [[ -n "${tpm_module}" ]]; then
|
||||
einfo "Good, you seem to have TPM support with the external module."
|
||||
if [[ -n "${tpm_kernel_version}" ]]; then
|
||||
elog
|
||||
elog "Note that since you have a >=2.6.12 kernel, you could use"
|
||||
elog "the in-kernel driver instead of (CONFIG_TCG_TPM)."
|
||||
fi
|
||||
elif [[ -n "${tpm_kernel_version}" ]]; then
|
||||
eerror
|
||||
eerror "To use this package, you will have to activate TPM support"
|
||||
eerror "in your kernel configuration. That's at least CONFIG_TCG_TPM,"
|
||||
eerror "plus probably a chip specific driver (like CONFIG_TCG_ATMEL)."
|
||||
eerror
|
||||
else
|
||||
eerror
|
||||
eerror "To use this package, you should install a TPM driver."
|
||||
eerror "You can have the following options:"
|
||||
eerror " - install app-crypt/tpm-emulator"
|
||||
eerror " - switch to a >=2.6.12 kernel and compile the kernel module"
|
||||
eerror
|
||||
fi
|
||||
|
||||
# New user/group for the daemon
|
||||
enewgroup tss
|
||||
enewuser tss -1 -1 /var/lib/tpm tss
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-0.3.5-nouseradd.patch"
|
||||
|
||||
sed -e "s/ -Werror//" -i configure.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
#econf --with-gui=$(usev gtk || echo openssl) || die "econf failed"
|
||||
econf --with-gui=openssl || die "econf failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/lib/tpm
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NICETOHAVES README TODO
|
||||
use doc && dodoc doc/*
|
||||
newinitd "${FILESDIR}/tcsd.initd" tcsd
|
||||
newconfd "${FILESDIR}/tcsd.confd" tcsd
|
||||
local udevdir=/lib/udev
|
||||
has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
|
||||
insinto "${udevdir}"/rules.d
|
||||
doins "${FILESDIR}"/61-trousers.rules
|
||||
fowners tss:tss /var/lib/tpm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you have problems starting tcsd, please check permissions and"
|
||||
elog "ownership on /dev/tpm* and ~tss/system.data"
|
||||
}
|
@ -1,168 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.6.3.ebuild,v 1.6 2012/05/31 03:38:35 zmedico Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs qt4-r2 fdo-mime
|
||||
|
||||
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages"
|
||||
HOMEPAGE="http://www.doxygen.org/"
|
||||
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
|
||||
http://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc nodot qt4 latex elibc_FreeBSD"
|
||||
|
||||
RDEPEND="qt4? ( x11-libs/qt-gui:4 )
|
||||
latex? ( >=app-text/texlive-2008[extra] )
|
||||
dev-lang/python
|
||||
virtual/libiconv
|
||||
media-libs/libpng
|
||||
app-text/ghostscript-gpl
|
||||
!nodot? ( >=media-gfx/graphviz-2.20.0
|
||||
media-libs/freetype )"
|
||||
DEPEND=">=sys-apps/sed-4
|
||||
sys-devel/flex
|
||||
${RDEPEND}"
|
||||
|
||||
EPATCH_SUFFIX="patch"
|
||||
|
||||
src_prepare() {
|
||||
# use CFLAGS, CXXFLAGS, LDFLAGS
|
||||
sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \
|
||||
-e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \
|
||||
-e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \
|
||||
tmake/lib/{{linux,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++}/tmake.conf \
|
||||
|| die "sed 1 failed"
|
||||
|
||||
# Ensure we link to -liconv
|
||||
if use elibc_FreeBSD; then
|
||||
for pro in */*.pro.in */*/*.pro.in; do
|
||||
echo "unix:LIBS += -liconv" >> "${pro}"
|
||||
done
|
||||
fi
|
||||
|
||||
# Call dot with -Teps instead of -Tps for EPS generation - bug #282150
|
||||
epatch "${FILESDIR}/${PN}-1.6.2-dot-eps.patch"
|
||||
|
||||
# prefix search tools patch, plus OSX fixes
|
||||
epatch "${FILESDIR}"/${PN}-1.5.6-prefix-misc-alt.patch
|
||||
|
||||
# fix final DESTDIR issue
|
||||
sed -i.orig -e "s:\$(INSTALL):\$(DESTDIR)/\$(INSTALL):g" \
|
||||
addon/doxywizard/Makefile.in || die "sed 2 failed"
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}"
|
||||
# set ./configure options (prefix, Qt based wizard, docdir)
|
||||
|
||||
local my_conf=""
|
||||
use debug && my_conf="--debug"
|
||||
|
||||
export CC="${QMAKE_CC}"
|
||||
export CXX="${QMAKE_CXX}"
|
||||
export LINK="${QMAKE_LINK}"
|
||||
export LINK_SHLIB="${QMAKE_CXX}"
|
||||
|
||||
if use qt4; then
|
||||
export QTDIR="${EPREFIX}/usr"
|
||||
einfo "using QTDIR: '$QTDIR'."
|
||||
export LIBRARY_PATH="${QTDIR}/$(get_libdir)${LIBRARY_PATH:+:}${LIBRARY_PATH}"
|
||||
export LD_LIBRARY_PATH="${QTDIR}/$(get_libdir)${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
|
||||
einfo "using QT LIBRARY_PATH: '$LIBRARY_PATH'."
|
||||
einfo "using QT LD_LIBRARY_PATH: '$LD_LIBRARY_PATH'."
|
||||
./configure --prefix "${EPREFIX}/usr" ${my_conf} $(use_with qt4 doxywizard) \
|
||||
|| die 'configure with qt4 failed'
|
||||
else
|
||||
./configure --prefix "${EPREFIX}/usr" ${my_conf} || die 'configure failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all || die 'emake failed'
|
||||
|
||||
# generate html and pdf (if tetex in use) documents.
|
||||
# errors here are not considered fatal, hence the ewarn message
|
||||
# TeX's font caching in /var/cache/fonts causes sandbox warnings,
|
||||
# so we allow it.
|
||||
if use doc; then
|
||||
if use nodot; then
|
||||
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
|
||||
{Doxyfile,doc/Doxyfile} \
|
||||
|| ewarn "disabling dot failed"
|
||||
fi
|
||||
if use latex; then
|
||||
addwrite /var/cache/fonts
|
||||
addwrite /var/cache/fontconfig
|
||||
addwrite /usr/share/texmf/fonts/pk
|
||||
addwrite /usr/share/texmf/ls-R
|
||||
make pdf || ewarn '"make pdf docs" failed.'
|
||||
else
|
||||
cp doc/Doxyfile doc/Doxyfile.orig
|
||||
cp doc/Makefile doc/Makefile.orig
|
||||
sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" \
|
||||
doc/Doxyfile
|
||||
sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
|
||||
-e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
|
||||
-e "s/@sed/# @sed/" doc/Makefile
|
||||
make docs || ewarn '"make html docs" failed.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" MAN1DIR=share/man/man1 \
|
||||
install || die '"make install" failed.'
|
||||
|
||||
if use qt4; then
|
||||
doicon "${DISTDIR}/doxywizard.png"
|
||||
make_desktop_entry doxywizard "DoxyWizard ${PV}" \
|
||||
"doxywizard.png" "Application;Development"
|
||||
fi
|
||||
|
||||
dodoc INSTALL LANGUAGE.HOWTO README
|
||||
|
||||
# pdf and html manuals
|
||||
if use doc; then
|
||||
dohtml -r html/*
|
||||
if use latex; then
|
||||
insinto /usr/share/doc/"${PF}"
|
||||
doins latex/doxygen_manual.pdf
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
elog
|
||||
elog "The USE flags qt4, doc, and latex will enable doxywizard, or"
|
||||
elog "the html and pdf documentation, respectively. For examples"
|
||||
elog "and other goodies, see the source tarball. For some example"
|
||||
elog "output, run doxygen on the doxygen source using the Doxyfile"
|
||||
elog "provided in the top-level source dir."
|
||||
elog
|
||||
elog "Enabling the nodot USE flag will remove the GraphViz dependency,"
|
||||
elog "along with Doxygen's ability to generate diagrams in the docs."
|
||||
elog "See the Doxygen homepage for additional helper tools to parse"
|
||||
elog "more languages."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,182 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.7.2.ebuild,v 1.15 2012/05/31 03:38:35 zmedico Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs qt4-r2 fdo-mime
|
||||
|
||||
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages"
|
||||
HOMEPAGE="http://www.doxygen.org/"
|
||||
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
|
||||
http://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png
|
||||
tcl? ( mirror://gentoo/${PN}-1.7-tcl_support.patch.bz2 )"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
|
||||
IUSE="debug doc nodot qt4 latex tcl elibc_FreeBSD"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="qt4? ( x11-libs/qt-gui:4 )
|
||||
latex? ( >=app-text/texlive-2008[extra] )
|
||||
dev-lang/python
|
||||
virtual/libiconv
|
||||
media-libs/libpng
|
||||
app-text/ghostscript-gpl
|
||||
!nodot? ( >=media-gfx/graphviz-2.20.0
|
||||
media-libs/freetype )"
|
||||
DEPEND=">=sys-apps/sed-4
|
||||
sys-devel/flex
|
||||
${RDEPEND}"
|
||||
|
||||
EPATCH_SUFFIX="patch"
|
||||
|
||||
src_prepare() {
|
||||
# use CFLAGS, CXXFLAGS, LDFLAGS
|
||||
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}"
|
||||
|
||||
sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \
|
||||
-e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \
|
||||
-e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \
|
||||
tmake/lib/{{linux,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++}/tmake.conf \
|
||||
|| die "sed 1 failed"
|
||||
|
||||
# Ensure we link to -liconv
|
||||
if use elibc_FreeBSD; then
|
||||
for pro in */*.pro.in */*/*.pro.in; do
|
||||
echo "unix:LIBS += -liconv" >> "${pro}"
|
||||
done
|
||||
fi
|
||||
|
||||
# Call dot with -Teps instead of -Tps for EPS generation - bug #282150
|
||||
epatch "${FILESDIR}/${PN}-1.7.1-dot-eps.patch"
|
||||
|
||||
# prefix search tools patch, plus OSX fixes
|
||||
epatch "${FILESDIR}"/${PN}-1.5.6-prefix-misc-alt.patch
|
||||
|
||||
# fix final DESTDIR issue
|
||||
sed -i.orig -e "s:\$(INSTALL):\$(DESTDIR)/\$(INSTALL):g" \
|
||||
addon/doxywizard/Makefile.in || die "sed 2 failed"
|
||||
|
||||
# fix pdf doc
|
||||
sed -i.orig -e "s:g_kowal:g kowal:" \
|
||||
doc/maintainers.txt || die "sed 3 failed"
|
||||
|
||||
# add native TCL support
|
||||
use tcl && epatch "${WORKDIR}"/${PN}-1.7-tcl_support.patch
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# set ./configure options (prefix, Qt based wizard, docdir)
|
||||
|
||||
local my_conf=""
|
||||
use debug && my_conf="--debug"
|
||||
use ppc64 && my_conf="${my_conf} --english-only" #263641
|
||||
|
||||
export CC="${QMAKE_CC}"
|
||||
export CXX="${QMAKE_CXX}"
|
||||
export LINK="${QMAKE_LINK}"
|
||||
export LINK_SHLIB="${QMAKE_CXX}"
|
||||
|
||||
if use qt4; then
|
||||
export QTDIR="${EPREFIX}/usr"
|
||||
einfo "using QTDIR: '$QTDIR'."
|
||||
export LIBRARY_PATH="${QTDIR}/$(get_libdir)${LIBRARY_PATH:+:}${LIBRARY_PATH}"
|
||||
export LD_LIBRARY_PATH="${QTDIR}/$(get_libdir)${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
|
||||
einfo "using QT LIBRARY_PATH: '$LIBRARY_PATH'."
|
||||
einfo "using QT LD_LIBRARY_PATH: '$LD_LIBRARY_PATH'."
|
||||
|
||||
./configure --prefix "${EPREFIX}/usr" ${my_conf} $(use_with qt4 doxywizard) \
|
||||
|| die 'configure with qt4 failed'
|
||||
else
|
||||
./configure --prefix "${EPREFIX}/usr" ${my_conf} || die 'configure failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CFLAGS+="${ECFLAGS}" CXXFLAGS+="${ECXXFLAGS}" LFLAGS+="${ELDFLAGS}" \
|
||||
emake all || die 'emake failed'
|
||||
|
||||
# generate html and pdf (if tetex in use) documents.
|
||||
# errors here are not considered fatal, hence the ewarn message
|
||||
# TeX's font caching in /var/cache/fonts causes sandbox warnings,
|
||||
# so we allow it.
|
||||
if use doc; then
|
||||
if use nodot; then
|
||||
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
|
||||
{Doxyfile,doc/Doxyfile} \
|
||||
|| ewarn "disabling dot failed"
|
||||
fi
|
||||
if use latex; then
|
||||
addwrite /var/cache/fonts
|
||||
addwrite /var/cache/fontconfig
|
||||
addwrite /usr/share/texmf/fonts/pk
|
||||
addwrite /usr/share/texmf/ls-R
|
||||
make pdf || ewarn '"make pdf docs" failed.'
|
||||
else
|
||||
cp doc/Doxyfile doc/Doxyfile.orig
|
||||
cp doc/Makefile doc/Makefile.orig
|
||||
sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" \
|
||||
doc/Doxyfile
|
||||
sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
|
||||
-e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
|
||||
-e "s/@sed/# @sed/" doc/Makefile
|
||||
make docs || ewarn '"make html docs" failed.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" MAN1DIR=share/man/man1 \
|
||||
install || die '"make install" failed.'
|
||||
|
||||
if use qt4; then
|
||||
doicon "${DISTDIR}/doxywizard.png"
|
||||
make_desktop_entry doxywizard "DoxyWizard ${PV}" \
|
||||
"/usr/share/pixmaps/doxywizard.png" \
|
||||
"Application;Development"
|
||||
fi
|
||||
|
||||
dodoc INSTALL LANGUAGE.HOWTO README
|
||||
|
||||
# pdf and html manuals
|
||||
if use doc; then
|
||||
dohtml -r html/*
|
||||
if use latex; then
|
||||
insinto /usr/share/doc/"${PF}"
|
||||
doins latex/doxygen_manual.pdf
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
elog
|
||||
elog "The USE flags qt4, doc, and latex will enable doxywizard, or"
|
||||
elog "the html and pdf documentation, respectively. For examples"
|
||||
elog "and other goodies, see the source tarball. For some example"
|
||||
elog "output, run doxygen on the doxygen source using the Doxyfile"
|
||||
elog "provided in the top-level source dir."
|
||||
elog
|
||||
elog "Enabling the nodot USE flag will remove the GraphViz dependency,"
|
||||
elog "along with Doxygen's ability to generate diagrams in the docs."
|
||||
elog "See the Doxygen homepage for additional helper tools to parse"
|
||||
elog "more languages."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,189 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.7.3.ebuild,v 1.10 2012/05/31 03:38:35 zmedico Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs qt4-r2 fdo-mime
|
||||
|
||||
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages"
|
||||
HOMEPAGE="http://www.doxygen.org/"
|
||||
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
|
||||
tcl? ( mirror://gentoo/${PN}-1.7-tcl_support.patch.bz2 )"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
|
||||
IUSE="debug doc nodot qt4 latex tcl elibc_FreeBSD"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="qt4? ( x11-libs/qt-gui:4 )
|
||||
latex? ( >=app-text/texlive-2008[extra] )
|
||||
dev-lang/python
|
||||
virtual/libiconv
|
||||
media-libs/libpng
|
||||
app-text/ghostscript-gpl
|
||||
!nodot? ( >=media-gfx/graphviz-2.20.0
|
||||
media-libs/freetype )"
|
||||
DEPEND=">=sys-apps/sed-4
|
||||
sys-devel/flex
|
||||
${RDEPEND}"
|
||||
|
||||
EPATCH_SUFFIX="patch"
|
||||
|
||||
src_prepare() {
|
||||
# use CFLAGS, CXXFLAGS, LDFLAGS
|
||||
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}"
|
||||
|
||||
sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \
|
||||
-e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \
|
||||
-e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \
|
||||
tmake/lib/{{linux,gnu,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++,linux-64}/tmake.conf \
|
||||
|| die "sed 1 failed"
|
||||
|
||||
# Ensure we link to -liconv
|
||||
if use elibc_FreeBSD; then
|
||||
for pro in */*.pro.in */*/*.pro.in; do
|
||||
echo "unix:LIBS += -liconv" >> "${pro}"
|
||||
done
|
||||
fi
|
||||
|
||||
# Call dot with -Teps instead of -Tps for EPS generation - bug #282150
|
||||
epatch "${FILESDIR}/${PN}-1.7.1-dot-eps.patch"
|
||||
|
||||
# prefix search tools patch, plus OSX fixes
|
||||
epatch "${FILESDIR}"/${PN}-1.5.6-prefix-misc-alt.patch
|
||||
|
||||
# fix final DESTDIR issue
|
||||
sed -i.orig -e "s:\$(INSTALL):\$(DESTDIR)/\$(INSTALL):g" \
|
||||
addon/doxywizard/Makefile.in || die "sed 2 failed"
|
||||
|
||||
# fix pdf doc
|
||||
sed -i.orig -e "s:g_kowal:g kowal:" \
|
||||
doc/maintainers.txt || die "sed 3 failed"
|
||||
|
||||
# add native TCL support
|
||||
use tcl && epatch "${WORKDIR}"/${PN}-1.7-tcl_support.patch
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# set ./configure options (prefix, Qt based wizard, docdir)
|
||||
|
||||
local my_conf=""
|
||||
use debug && my_conf="--debug"
|
||||
use ppc64 && my_conf="${my_conf} --english-only" #263641
|
||||
|
||||
export CC="${QMAKE_CC}"
|
||||
export CXX="${QMAKE_CXX}"
|
||||
export LINK="${QMAKE_LINK}"
|
||||
export LINK_SHLIB="${QMAKE_CXX}"
|
||||
|
||||
if use qt4; then
|
||||
export QTDIR="${EPREFIX}/usr"
|
||||
einfo "using QTDIR: '$QTDIR'."
|
||||
export LIBRARY_PATH="${QTDIR}/$(get_libdir)${LIBRARY_PATH:+:}${LIBRARY_PATH}"
|
||||
export LD_LIBRARY_PATH="${QTDIR}/$(get_libdir)${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
|
||||
einfo "using QT LIBRARY_PATH: '$LIBRARY_PATH'."
|
||||
einfo "using QT LD_LIBRARY_PATH: '$LD_LIBRARY_PATH'."
|
||||
|
||||
./configure --prefix "${EPREFIX}/usr" ${my_conf} $(use_with qt4 doxywizard) \
|
||||
|| die 'configure with qt4 failed'
|
||||
else
|
||||
./configure --prefix "${EPREFIX}/usr" ${my_conf} || die 'configure failed'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CFLAGS+="${ECFLAGS}" CXXFLAGS+="${ECXXFLAGS}" LFLAGS+="${ELDFLAGS}" \
|
||||
emake all || die 'emake failed'
|
||||
|
||||
# force stupid qmake to use LDFLAGS - yes, it's a big kluge...
|
||||
if use qt4 ; then
|
||||
rm -f bin/doxywizard
|
||||
sed -i -e "s|\-Wl,\-O1 |\-Wl,\-O1 ${ELDFLAGS} |" \
|
||||
addon/doxywizard/Makefile.doxywizard
|
||||
make -C addon/doxywizard
|
||||
fi
|
||||
|
||||
# generate html and pdf (if tetex in use) documents.
|
||||
# errors here are not considered fatal, hence the ewarn message
|
||||
# TeX's font caching in /var/cache/fonts causes sandbox warnings,
|
||||
# so we allow it.
|
||||
if use doc; then
|
||||
if use nodot; then
|
||||
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
|
||||
{Doxyfile,doc/Doxyfile} \
|
||||
|| ewarn "disabling dot failed"
|
||||
fi
|
||||
if use latex; then
|
||||
addwrite /var/cache/fonts
|
||||
addwrite /var/cache/fontconfig
|
||||
addwrite /usr/share/texmf/fonts/pk
|
||||
addwrite /usr/share/texmf/ls-R
|
||||
make pdf || ewarn '"make pdf docs" failed.'
|
||||
else
|
||||
cp doc/Doxyfile doc/Doxyfile.orig
|
||||
cp doc/Makefile doc/Makefile.orig
|
||||
sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" \
|
||||
doc/Doxyfile
|
||||
sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
|
||||
-e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
|
||||
-e "s/@sed/# @sed/" doc/Makefile
|
||||
make docs || ewarn '"make html docs" failed.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" MAN1DIR=share/man/man1 \
|
||||
install || die '"make install" failed.'
|
||||
|
||||
if use qt4; then
|
||||
doicon "${DISTDIR}/doxywizard.png"
|
||||
make_desktop_entry doxywizard "DoxyWizard ${PV}" \
|
||||
"/usr/share/pixmaps/doxywizard.png" \
|
||||
"Application;Development"
|
||||
fi
|
||||
|
||||
dodoc INSTALL LANGUAGE.HOWTO README
|
||||
|
||||
# pdf and html manuals
|
||||
if use doc; then
|
||||
dohtml -r html/*
|
||||
if use latex; then
|
||||
insinto /usr/share/doc/"${PF}"
|
||||
doins latex/doxygen_manual.pdf
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
elog
|
||||
elog "The USE flags qt4, doc, and latex will enable doxywizard, or"
|
||||
elog "the html and pdf documentation, respectively. For examples"
|
||||
elog "and other goodies, see the source tarball. For some example"
|
||||
elog "output, run doxygen on the doxygen source using the Doxyfile"
|
||||
elog "provided in the top-level source dir."
|
||||
elog
|
||||
elog "Enabling the nodot USE flag will remove the GraphViz dependency,"
|
||||
elog "along with Doxygen's ability to generate diagrams in the docs."
|
||||
elog "See the Doxygen homepage for additional helper tools to parse"
|
||||
elog "more languages."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,182 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.7.5.1.ebuild,v 1.5 2012/05/08 10:27:47 xarthisius Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs qt4-r2 fdo-mime
|
||||
|
||||
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages"
|
||||
HOMEPAGE="http://www.doxygen.org/"
|
||||
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
|
||||
http://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc nodot qt4 latex elibc_FreeBSD"
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="qt4? ( x11-libs/qt-gui:4 )
|
||||
latex? ( >=app-text/texlive-2008[extra] )
|
||||
dev-lang/python
|
||||
virtual/libiconv
|
||||
media-libs/libpng
|
||||
app-text/ghostscript-gpl
|
||||
!nodot? ( >=media-gfx/graphviz-2.20.0
|
||||
media-libs/freetype )"
|
||||
|
||||
DEPEND=">=sys-apps/sed-4
|
||||
sys-devel/flex
|
||||
${RDEPEND}"
|
||||
|
||||
EPATCH_SUFFIX="patch"
|
||||
|
||||
src_prepare() {
|
||||
# use CFLAGS, CXXFLAGS, LDFLAGS
|
||||
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}"
|
||||
|
||||
sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \
|
||||
-e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \
|
||||
-e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \
|
||||
tmake/lib/{{linux,gnu,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++,linux-64}/tmake.conf \
|
||||
|| die "sed 1 failed"
|
||||
|
||||
# Ensure we link to -liconv
|
||||
if use elibc_FreeBSD; then
|
||||
for pro in */*.pro.in */*/*.pro.in; do
|
||||
echo "unix:LIBS += -liconv" >> "${pro}"
|
||||
done
|
||||
fi
|
||||
|
||||
# Call dot with -Teps instead of -Tps for EPS generation - bug #282150
|
||||
epatch "${FILESDIR}"/${P}-dot-eps.patch
|
||||
|
||||
# prefix search tools patch, plus OSX fixes
|
||||
epatch "${FILESDIR}"/${PN}-1.5.6-prefix-misc-alt.patch
|
||||
|
||||
# fix final DESTDIR issue
|
||||
sed -i.orig -e "s:\$(INSTALL):\$(DESTDIR)/\$(INSTALL):g" \
|
||||
addon/doxywizard/Makefile.in || die "sed 2 failed"
|
||||
|
||||
# fix pdf doc
|
||||
sed -i.orig -e "s:g_kowal:g kowal:" \
|
||||
doc/maintainers.txt || die "sed 3 failed"
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# set ./configure options (prefix, Qt based wizard, docdir)
|
||||
|
||||
local my_conf="--shared"
|
||||
|
||||
if use debug ; then
|
||||
my_conf="${my_conf} --debug"
|
||||
else
|
||||
my_conf="${my_conf} --release "
|
||||
fi
|
||||
|
||||
use ppc64 && my_conf="${my_conf} --english-only" #263641
|
||||
|
||||
use qt4 && my_conf="${my_conf} --with-doxywizard"
|
||||
|
||||
export CC="${QMAKE_CC}"
|
||||
export CXX="${QMAKE_CXX}"
|
||||
export LINK="${QMAKE_LINK}"
|
||||
export LINK_SHLIB="${QMAKE_CXX}"
|
||||
|
||||
./configure --prefix "${EPREFIX}/usr" ${my_conf} \
|
||||
|| die 'configure failed'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
# force stupid qmake to behave - if it works...
|
||||
if use qt4 ; then
|
||||
qt4-r2_src_compile
|
||||
else
|
||||
CFLAGS+="${ECFLAGS}" CXXFLAGS+="${ECXXFLAGS}" LFLAGS+="${ELDFLAGS}" \
|
||||
emake all || die 'emake failed'
|
||||
fi
|
||||
|
||||
# generate html and pdf (if tetex in use) documents.
|
||||
# errors here are not considered fatal, hence the ewarn message
|
||||
# TeX's font caching in /var/cache/fonts causes sandbox warnings,
|
||||
# so we allow it.
|
||||
if use doc; then
|
||||
if use nodot; then
|
||||
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
|
||||
{Doxyfile,doc/Doxyfile} \
|
||||
|| ewarn "disabling dot failed"
|
||||
fi
|
||||
if use latex; then
|
||||
addwrite /var/cache/fonts
|
||||
addwrite /var/cache/fontconfig
|
||||
addwrite /usr/share/texmf/fonts/pk
|
||||
addwrite /usr/share/texmf/ls-R
|
||||
make pdf || ewarn '"make pdf docs" failed.'
|
||||
else
|
||||
cp doc/Doxyfile doc/Doxyfile.orig
|
||||
cp doc/Makefile doc/Makefile.orig
|
||||
sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" \
|
||||
doc/Doxyfile
|
||||
sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
|
||||
-e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
|
||||
-e "s/@sed/# @sed/" doc/Makefile
|
||||
make docs || ewarn '"make docs" failed.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" MAN1DIR=share/man/man1 \
|
||||
install || die '"make install" failed.'
|
||||
|
||||
if use qt4; then
|
||||
doicon "${DISTDIR}/doxywizard.png"
|
||||
make_desktop_entry doxywizard "DoxyWizard ${PV}" \
|
||||
"/usr/share/pixmaps/doxywizard.png" \
|
||||
"Application;Development"
|
||||
fi
|
||||
|
||||
dodoc INSTALL LANGUAGE.HOWTO README
|
||||
|
||||
# pdf and html manuals
|
||||
if use doc; then
|
||||
dohtml -r html/*
|
||||
if use latex; then
|
||||
insinto /usr/share/doc/"${PF}"
|
||||
doins latex/doxygen_manual.pdf
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
elog
|
||||
elog "The USE flags qt4, doc, and latex will enable doxywizard, or"
|
||||
elog "the html and pdf documentation, respectively. For examples"
|
||||
elog "and other goodies, see the source tarball. For some example"
|
||||
elog "output, run doxygen on the doxygen source using the Doxyfile"
|
||||
elog "provided in the top-level source dir."
|
||||
elog
|
||||
elog "Enabling the nodot USE flag will remove the GraphViz dependency,"
|
||||
elog "along with Doxygen's ability to generate diagrams in the docs."
|
||||
elog "See the Doxygen homepage for additional helper tools to parse"
|
||||
elog "more languages."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,234 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.8.1.ebuild,v 1.1 2012/05/29 20:17:08 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils fdo-mime flag-o-matic python qt4-r2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Documentation system for most programming languages"
|
||||
HOMEPAGE="http://www.doxygen.org/"
|
||||
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
|
||||
http://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc dot qt4 latex elibc_FreeBSD userland_GNU"
|
||||
|
||||
#missing SerbianCyrilic, JapaneseEn, KoreanEn, Chinesetraditional
|
||||
|
||||
LANGS=(hy ar pt_BR ca zh cs de da eo es fa fi fr el hr hu id it ja ko lt mk
|
||||
nl nb pl pt ro ru sl sk sr sv tr uk vi af)
|
||||
for X in "${LANGS[@]}" ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
RDEPEND="qt4? ( x11-libs/qt-gui:4 )
|
||||
latex? ( app-text/texlive[extra] )
|
||||
dev-lang/perl
|
||||
virtual/libiconv
|
||||
media-libs/libpng
|
||||
app-text/ghostscript-gpl
|
||||
dot? (
|
||||
media-gfx/graphviz
|
||||
media-libs/freetype
|
||||
)"
|
||||
|
||||
DEPEND="sys-apps/sed
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
doc? ( =dev-lang/python-2* )
|
||||
${RDEPEND}"
|
||||
|
||||
RESTRICT="mirror"
|
||||
EPATCH_SUFFIX="patch"
|
||||
|
||||
get_langs() {
|
||||
# using only user set linguas also fixes #263641
|
||||
my_linguas=()
|
||||
for lingua in ${LINGUAS}; do
|
||||
if has ${lingua} "${LANGS[@]}"; then
|
||||
case ${lingua} in
|
||||
hy) lingua=am ;;
|
||||
pt_BR) lingua=br ;;
|
||||
zh*) lingua=cn ;;
|
||||
cs) lingua=cz ;;
|
||||
da) lingua=dk ;;
|
||||
el*) lingua=gr ;;
|
||||
ja*) lingua=jp ;;
|
||||
ko) lingua=kr ;;
|
||||
nb) lingua=no ;;
|
||||
sl) lingua=si ;;
|
||||
tr*) lingua=tr ;;
|
||||
uk) lingua=ua ;;
|
||||
af) lingua=za ;;
|
||||
esac
|
||||
has ${lingua} "${my_linguas[@]}" ||
|
||||
my_linguas+=(${lingua})
|
||||
fi
|
||||
done
|
||||
f_langs="${my_linguas[@]}"
|
||||
echo ${f_langs// /,}
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC CXX
|
||||
if use doc; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# use CFLAGS, CXXFLAGS, LDFLAGS
|
||||
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}"
|
||||
|
||||
sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \
|
||||
-e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \
|
||||
-e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \
|
||||
-e "s:^\(TMAKE_CXX\s*\)=.*$:\1= $(tc-getCXX):" \
|
||||
-e "s:^\(TMAKE_LINK\s*\)=.*$:\1= $(tc-getCXX):" \
|
||||
-e "s:^\(TMAKE_LINK_SHLIB\s*\)=.*$:\1= $(tc-getCXX):" \
|
||||
-e "s:^\(TMAKE_CXX\s*\)=.*$:\1= $(tc-getCC):" \
|
||||
tmake/lib/{{linux,gnu,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++,linux-64}/tmake.conf \
|
||||
|| die
|
||||
|
||||
# Ensure we link to -liconv
|
||||
if use elibc_FreeBSD; then
|
||||
for pro in */*.pro.in */*/*.pro.in; do
|
||||
echo "unix:LIBS += -liconv" >> "${pro}"
|
||||
done
|
||||
fi
|
||||
|
||||
# Call dot with -Teps instead of -Tps for EPS generation - bug #282150
|
||||
sed -i -e '/addJob("ps"/ s/"ps"/"eps"/g' src/dot.cpp || die
|
||||
|
||||
# prefix search tools patch, plus OSX fixes
|
||||
epatch "${FILESDIR}"/${P}-prefix-misc-alt.patch
|
||||
|
||||
# fix final DESTDIR issue
|
||||
sed -i.orig -e "s:\$(INSTALL):\$(DESTDIR)/\$(INSTALL):g" \
|
||||
-e "s/all: Makefile.doxywizard/all:/g" \
|
||||
addon/doxywizard/Makefile.in || die
|
||||
|
||||
# fix pdf doc
|
||||
sed -i.orig -e "s:g_kowal:g kowal:" \
|
||||
doc/maintainers.txt || die
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# set ./configure options (prefix, Qt based wizard, docdir)
|
||||
|
||||
local my_conf="--shared --enable-langs $(get_langs)"
|
||||
|
||||
if use debug ; then
|
||||
my_conf="${my_conf} --debug"
|
||||
else
|
||||
my_conf="${my_conf} --release "
|
||||
fi
|
||||
|
||||
use ppc64 && my_conf="${my_conf} --english-only" #263641
|
||||
|
||||
use qt4 && my_conf="${my_conf} --with-doxywizard"
|
||||
|
||||
# On non GNU userland (e.g. BSD), configure script picks up make and bails
|
||||
# out because it is not GNU make, so we force the right value.
|
||||
use userland_GNU || my_conf="${my_conf} --make ${MAKE} --install install"
|
||||
|
||||
export LINK="${QMAKE_LINK}"
|
||||
export LINK_SHLIB="${QMAKE_CXX}"
|
||||
|
||||
if use qt4 ; then
|
||||
pushd addon/doxywizard &> /dev/null
|
||||
eqmake4 doxywizard.pro -o Makefile.doxywizard
|
||||
popd &> /dev/null
|
||||
fi
|
||||
|
||||
./configure --prefix "${EPREFIX}/usr" ${my_conf} \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
emake CFLAGS+="${ECFLAGS}" CXXFLAGS+="${ECXXFLAGS}" \
|
||||
LFLAGS+="${ELDFLAGS}" all
|
||||
|
||||
# generate html and pdf (if tetex in use) documents.
|
||||
# errors here are not considered fatal, hence the ewarn message
|
||||
# TeX's font caching in /var/cache/fonts causes sandbox warnings,
|
||||
# so we allow it.
|
||||
if use doc; then
|
||||
if ! use dot; then
|
||||
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
|
||||
{Doxyfile,doc/Doxyfile} \
|
||||
|| ewarn "disabling dot failed"
|
||||
fi
|
||||
if use latex; then
|
||||
addwrite /var/cache/fonts
|
||||
addwrite /var/cache/fontconfig
|
||||
addwrite /usr/share/texmf/fonts/pk
|
||||
addwrite /usr/share/texmf/ls-R
|
||||
make pdf || ewarn '"make pdf docs" failed.'
|
||||
else
|
||||
cp doc/Doxyfile doc/Doxyfile.orig
|
||||
cp doc/Makefile doc/Makefile.orig
|
||||
sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" \
|
||||
doc/Doxyfile
|
||||
sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
|
||||
-e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
|
||||
-e "s/@sed/# @sed/" doc/Makefile
|
||||
make docs || ewarn '"make docs" failed.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" MAN1DIR=share/man/man1 install
|
||||
|
||||
if use qt4; then
|
||||
doicon "${DISTDIR}/doxywizard.png"
|
||||
make_desktop_entry doxywizard "DoxyWizard ${PV}" \
|
||||
"/usr/share/pixmaps/doxywizard.png" \
|
||||
"Application;Development"
|
||||
fi
|
||||
|
||||
dodoc INSTALL LANGUAGE.HOWTO README
|
||||
|
||||
# pdf and html manuals
|
||||
if use doc; then
|
||||
dohtml -r html/*
|
||||
use latex && dodoc latex/doxygen_manual.pdf
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
elog
|
||||
elog "The USE flags qt4, doc, and latex will enable doxywizard, or"
|
||||
elog "the html and pdf documentation, respectively. For examples"
|
||||
elog "and other goodies, see the source tarball. For some example"
|
||||
elog "output, run doxygen on the doxygen source using the Doxyfile"
|
||||
elog "provided in the top-level source dir."
|
||||
elog
|
||||
elog "Disabling the dot USE flag will remove the GraphViz dependency,"
|
||||
elog "along with Doxygen's ability to generate diagrams in the docs."
|
||||
elog "See the Doxygen homepage for additional helper tools to parse"
|
||||
elog "more languages."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
--- doxygen-1.5.7.1-orig/src/util.cpp 2008-10-04 14:28:00.000000000 +0200
|
||||
+++ doxygen-1.5.7.1/src/util.cpp 2008-12-18 20:55:15.000000000 +0100
|
||||
@@ -4447,10 +4447,10 @@
|
||||
|
||||
QCString substitute(const char *s,const char *src,const char *dst)
|
||||
{
|
||||
- if (s==0 || src==0 || dst==0) return s;
|
||||
+ if (s==0 || src==0) return s;
|
||||
const char *p, *q;
|
||||
int srcLen = strlen(src);
|
||||
- int dstLen = strlen(dst);
|
||||
+ int dstLen = dst ? strlen(dst) : 0;
|
||||
int resLen;
|
||||
if (srcLen!=dstLen)
|
||||
{
|
||||
@@ -4469,7 +4469,7 @@
|
||||
int l = (int)(q-p);
|
||||
memcpy(r,p,l);
|
||||
r+=l;
|
||||
- memcpy(r,dst,dstLen);
|
||||
+ if (dst) memcpy(r,dst,dstLen);
|
||||
r+=dstLen;
|
||||
}
|
||||
strcpy(r,p);
|
@ -1,67 +0,0 @@
|
||||
Pass -Teps instead of -Tps to graphviz dot.
|
||||
Supposed to work with graphviz version 2.20.0 and later.
|
||||
|
||||
2009-08-20 Martin von Gagern
|
||||
|
||||
References:
|
||||
http://bugs.gentoo.org/282150
|
||||
http://bugzilla.gnome.org/show_bug.cgi?id=592516
|
||||
|
||||
Index: doxygen-1.6.2/src/dot.cpp
|
||||
===================================================================
|
||||
--- doxygen-1.6.2.orig/src/dot.cpp 2010-01-21 03:05:09.000000000 +0100
|
||||
+++ doxygen-1.6.2/src/dot.cpp 2010-01-21 03:06:35.000000000 +0100
|
||||
@@ -1932,7 +1932,7 @@ QCString DotClassGraph::writeGraph(QText
|
||||
else if (format==EPS) // run dot to create a .eps image
|
||||
{
|
||||
DotRunner dotRun(absBaseName+".dot");
|
||||
- dotRun.addJob("ps",absBaseName+".eps");
|
||||
+ dotRun.addJob("eps",absBaseName+".eps");
|
||||
|
||||
if (Config_getBool("USE_PDFLATEX"))
|
||||
{
|
||||
@@ -2261,7 +2261,7 @@ QCString DotInclDepGraph::writeGraph(QTe
|
||||
{
|
||||
// run dot to create a .eps image
|
||||
DotRunner dotRun(absBaseName+".dot");
|
||||
- dotRun.addJob("ps",absBaseName+".eps");
|
||||
+ dotRun.addJob("eps",absBaseName+".eps");
|
||||
if (Config_getBool("USE_PDFLATEX"))
|
||||
{
|
||||
QCString epstopdfArgs(maxCmdLine);
|
||||
@@ -2547,7 +2547,7 @@ QCString DotCallGraph::writeGraph(QTextS
|
||||
{
|
||||
// run dot to create a .eps image
|
||||
DotRunner dotRun(absBaseName+".dot");
|
||||
- dotRun.addJob("ps",absBaseName+".eps");
|
||||
+ dotRun.addJob("eps",absBaseName+".eps");
|
||||
if (Config_getBool("USE_PDFLATEX"))
|
||||
{
|
||||
QCString epstopdfArgs(maxCmdLine);
|
||||
@@ -2682,7 +2682,7 @@ QCString DotDirDeps::writeGraph(QTextStr
|
||||
{
|
||||
// run dot to create a .eps image
|
||||
DotRunner dotRun(absBaseName+".dot");
|
||||
- dotRun.addJob("ps",absBaseName+".eps");
|
||||
+ dotRun.addJob("eps",absBaseName+".eps");
|
||||
if (Config_getBool("USE_PDFLATEX"))
|
||||
{
|
||||
QCString epstopdfArgs(maxCmdLine);
|
||||
@@ -2832,7 +2832,7 @@ void writeDotGraphFromFile(const char *i
|
||||
if (format==BITMAP)
|
||||
dotRun.addJob(imgExt,absImgName);
|
||||
else // format==EPS
|
||||
- dotRun.addJob("ps",absOutFile+".eps");
|
||||
+ dotRun.addJob("eps",absOutFile+".eps");
|
||||
|
||||
if ( (format==EPS) && (Config_getBool("USE_PDFLATEX")) )
|
||||
{
|
||||
@@ -3186,7 +3186,7 @@ QCString DotGroupCollaboration::writeGra
|
||||
else if (format==EPS)
|
||||
{
|
||||
DotRunner dotRun(absBaseName+".dot");
|
||||
- dotRun.addJob("ps",absBaseName+".eps");
|
||||
+ dotRun.addJob("eps",absBaseName+".eps");
|
||||
if (Config_getBool("USE_PDFLATEX"))
|
||||
{
|
||||
QCString epstopdfArgs(maxCmdLine);
|
@ -1,57 +0,0 @@
|
||||
diff -ruN doxygen-1.7.0.orig/src/dot.cpp doxygen-1.7.0/src/dot.cpp
|
||||
--- doxygen-1.7.0.orig/src/dot.cpp 2010-06-22 16:00:16.043394153 +0800
|
||||
+++ doxygen-1.7.0/src/dot.cpp 2010-06-22 16:00:52.509648230 +0800
|
||||
@@ -2366,7 +2366,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun->addJob("ps",absEpsName);
|
||||
+ dotRun->addJob("eps",absEpsName);
|
||||
}
|
||||
DotManager::instance()->addRun(dotRun);
|
||||
}
|
||||
@@ -2662,7 +2662,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun->addJob("ps",absEpsName);
|
||||
+ dotRun->addJob("eps",absEpsName);
|
||||
}
|
||||
DotManager::instance()->addRun(dotRun);
|
||||
|
||||
@@ -2935,7 +2935,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun->addJob("ps",absEpsName);
|
||||
+ dotRun->addJob("eps",absEpsName);
|
||||
}
|
||||
DotManager::instance()->addRun(dotRun);
|
||||
|
||||
@@ -3063,7 +3063,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun->addJob("ps",absEpsName);
|
||||
+ dotRun->addJob("eps",absEpsName);
|
||||
}
|
||||
DotManager::instance()->addRun(dotRun);
|
||||
}
|
||||
@@ -3193,7 +3193,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun.addJob("ps",absOutFile+".eps");
|
||||
+ dotRun.addJob("eps",absOutFile+".eps");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3552,7 +3552,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun->addJob("ps",absEpsName);
|
||||
+ dotRun->addJob("eps",absEpsName);
|
||||
}
|
||||
DotManager::instance()->addRun(dotRun);
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
--- src/dot.cpp.old 2011-10-29 17:52:54.000000000 +0200
|
||||
+++ src/dot.cpp 2011-10-29 17:53:15.000000000 +0200
|
||||
@@ -2894,7 +2894,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun->addJob("ps",absEpsName);
|
||||
+ dotRun->addJob("eps",absEpsName);
|
||||
}
|
||||
DotManager::instance()->addRun(dotRun);
|
||||
}
|
||||
@@ -3212,7 +3212,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun->addJob("ps",absEpsName);
|
||||
+ dotRun->addJob("eps",absEpsName);
|
||||
}
|
||||
DotManager::instance()->addRun(dotRun);
|
||||
|
||||
@@ -3503,7 +3503,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun->addJob("ps",absEpsName);
|
||||
+ dotRun->addJob("eps",absEpsName);
|
||||
}
|
||||
DotManager::instance()->addRun(dotRun);
|
||||
|
||||
@@ -3649,7 +3649,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun->addJob("ps",absEpsName);
|
||||
+ dotRun->addJob("eps",absEpsName);
|
||||
}
|
||||
DotManager::instance()->addRun(dotRun);
|
||||
}
|
||||
@@ -3810,7 +3810,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun.addJob("ps",absOutFile+".eps");
|
||||
+ dotRun.addJob("eps",absOutFile+".eps");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4190,7 +4190,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- dotRun->addJob("ps",absEpsName);
|
||||
+ dotRun->addJob("eps",absEpsName);
|
||||
}
|
||||
DotManager::instance()->addRun(dotRun);
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST python-mode-5.2.0.tgz 73566 SHA256 84ee977fb7c639bc96cd4e8db0145c7a182489456e4d95a71c3612258b5013ac SHA512 cc31962bd99f76d5a250418ce53a88d6b06282810389d737c383637fba867716a8845a72390c0f87213963647315af34de857e5beb674b921461bf02212b62ca WHIRLPOOL 38e2097f65737bcf0e208bd50b2e34b8d2478160344806b8fcbddebb74f7622ffda97014be551515b996235900a7973fae912930853b1fb362dbb3d763de449d
|
||||
DIST python-mode.el-6.0.3.tar.gz 134816 SHA256 ea58b4aa944ee4c81041b5124cd552800a694b90bed9ba38f5dde673eaad06fa SHA512 f8306c31607ab24238647e0b300d2f4a0bfa20b1289bf9af03b126af82bf7709b121e7f34c791a0bdbd0e31f4a1fcd2336387e25347a597ff1bff0faec46c0c7 WHIRLPOOL 7b4fea0888895cee1bced4fe5cc8f542581f74ef2f5a47792b4f379631c0f82346e2691315167236537cc8097bf6b9266d90e5d398cf6b93e556c4bfb8e95093
|
||||
DIST python-mode.el-6.0.4.tar.gz 152308 SHA256 7b8c4b059d630b294d1a3ae8228c0bfb22a6a6239b362aaa3b36af1ad63869a6 SHA512 f97d87fc941ee48c60b72e604780062c92cd632c0d97eadc6ad9bb6598e8b7da66a0f8987c871f46b9480dddd6ca241315319d9be94d01c24ac8bac4cdae588a WHIRLPOOL 0491104e5ccd9b2813642f9d65621d8cb15b925200109057087a3e1cd589aaee2d6efbc5bab784e87eab2f5310abca08d4e4f88718225b8303c2593fcf1a4601
|
||||
DIST python-mode.el-6.0.10.tar.gz 200815 SHA256 6ace5ed34169516c80969249d78739df527aad023694eb7a81256e608fef3630 SHA512 470655591814b71d1d7dcea03c2e700bc68f3ca38b86b625dedcdfc403cd98e33e8040ba04d94274a3b52abb1c896a9254482018ae16c12117de7f75ed2ada3f WHIRLPOOL 30bf4a76a29bb8d89b07aa3258280db4aeb00c741f9122277e72339146970ca23128f1627abdb35bd51c14eb595c0f349e265e82d330f94ff882d4e1b8cf89ce
|
||||
DIST python-mode.el-6.0.5.tar.gz 178565 SHA256 468af8fc5c37cdbcb942bc5dc9562024f2f7d7725da3032d009bae424a53e026 SHA512 3c67ce545f49835dfb22850f05719f2535028b853fcb2561e3613f2d3bd5123275f9d86a4e398d45e59c6a19bca95a378d789c352cf8b6553be12216f035dd51 WHIRLPOOL 670c5f56a1362af91f0cd62b70bb3f6a58eb04365f387343f9925a89552a5fd48de10544478220496fa4018b8cb5b5167c6f2fbf888a69ea86054c226bf10456
|
||||
|
@ -1,21 +0,0 @@
|
||||
https://bugs.gentoo.org/391403
|
||||
|
||||
--- python-mode.el-6.0.3-orig/python-mode.el
|
||||
+++ python-mode.el-6.0.3/python-mode.el
|
||||
@@ -163,11 +163,11 @@
|
||||
;; Execute stuff start
|
||||
|
||||
;; backward compatibility
|
||||
-(defalias 'py-python-command 'py-shell-name)
|
||||
-(defalias 'py-jpython-command 'py-shell-name)
|
||||
-(defalias 'py-jython-command 'py-shell-name)
|
||||
-(defalias 'py-default-interpreter 'py-shell-name)
|
||||
-(defalias 'python-command 'py-shell-name)
|
||||
+(defvaralias 'py-python-command 'py-shell-name)
|
||||
+(defvaralias 'py-jpython-command 'py-shell-name)
|
||||
+(defvaralias 'py-jython-command 'py-shell-name)
|
||||
+(defvaralias 'py-default-interpreter 'py-shell-name)
|
||||
+(defvaralias 'python-command 'py-shell-name)
|
||||
|
||||
(defcustom py-encoding-string " # -*- coding: utf-8 -*-"
|
||||
"Default string specifying encoding in the heading of file. "
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/python-mode/python-mode-6.0.3-r1.ebuild,v 1.2 2011/12/03 23:47:54 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp
|
||||
|
||||
MY_P="${PN}.el-${PV}"
|
||||
DESCRIPTION="An Emacs major mode for editing Python source"
|
||||
HOMEPAGE="https://launchpad.net/python-mode"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
ELISP_PATCHES="${P}-obsolete-vars.patch"
|
||||
# remove XEmacs specific file
|
||||
ELISP_REMOVE="highlight-indentation.el"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="NEWS"
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
elog "Note that doctest support is split out to app-emacs/doctest-mode."
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST sml-mode-4.1.tar.gz 69599 SHA256 2453cc2190ca2d73f6ec31ec70558cee3378a7982bff70867eaa65742c0b0975 SHA512 0fd43740c49729f1dc2a56dc9a7b0ba9bd6d5fd6596bcb72eb32e546bfdc44947309e5d4605e3ee6e86e151d889dec1991a32763e02313a28fe0e4ad339f7732 WHIRLPOOL f9255f4cd2fa454403dd009dcf5cacc5ae895296f936c997cbfafe7538090818c2b24c5539dc656bc5ef704ecef0e3f1e8eb598e5c07092226bcfc2fde68656f
|
||||
DIST sml-mode-5.0beta1.tar.gz 73324 SHA256 4aecb081ef839e94345aec31840a9c3805771c857298e87d8c153ec52ddb9fb5 SHA512 250dd6a25e8e456fc0c002e77b2bd27a5de6f13d7c6f530a71213853fcca0bda340474f68411c7bba237282d47d1e91334e05b521ee4990f0bda1daf8966b2ee WHIRLPOOL 8f7c004f82a663c97a647461d0dd2842e739f54d0fceab5fcfa3295eb1749443d18f585edfd07435a702deaa4094bca38531404abc5c186d16fb76874621ef69
|
||||
DIST sml-mode-5.0.tar.gz 73324 SHA256 4aecb081ef839e94345aec31840a9c3805771c857298e87d8c153ec52ddb9fb5 SHA512 250dd6a25e8e456fc0c002e77b2bd27a5de6f13d7c6f530a71213853fcca0bda340474f68411c7bba237282d47d1e91334e05b521ee4990f0bda1daf8966b2ee WHIRLPOOL 8f7c004f82a663c97a647461d0dd2842e739f54d0fceab5fcfa3295eb1749443d18f585edfd07435a702deaa4094bca38531404abc5c186d16fb76874621ef69
|
||||
|
@ -1,15 +1,15 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/sml-mode/sml-mode-5.0_beta1.ebuild,v 1.1 2012/06/02 11:18:16 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/sml-mode/sml-mode-5.0.ebuild,v 1.1 2012/08/10 23:25:02 fauli Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${P}beta1
|
||||
DESCRIPTION="Emacs major mode for editing Standard ML"
|
||||
HOMEPAGE="http://www.iro.umontreal.ca/~monnier/elisp/"
|
||||
SRC_URI="http://www.iro.umontreal.ca/~monnier/elisp/${MY_P}.tar.gz"
|
||||
SRC_URI="http://www.iro.umontreal.ca/~monnier/elisp/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
@ -1 +1,2 @@
|
||||
DIST geoclue-0.12.0_p20110307.tar.bz2 1019929 SHA256 f6980afaaadf47b89b2dee639c322947f8097000f72509d5f8af993de78d7d99 SHA512 0aa4bea17a3bd63fb53515a4791d589efcc7b9cbf6dc7e4d424efc9ab6f920929c324b1bb248563ab9a65f3100f088cb69360c2b2d49847b6172a7acfd630fcb WHIRLPOOL 37522f63ec8633295a32d9e52f8be74a9a2afecc77f3a60685bdca5e42aa75fc39093087a91445171f46a60a376ca184672576fbbb2b3118975e742c42e5c6e4
|
||||
DIST geoclue-0.12.99.tar.gz 608074 SHA256 fe396c91cb52de4219281f4d9223156338fc03670d34700281e86d1399b80a72 SHA512 32f946c9ee66cff2a6564b275d5f7bdf0d42832166c9fbeccb0aa55f3c3370fd8de114ad26477df6a2ee9d22250a5b104ec384032b28c3a62c356baea05d1bc2 WHIRLPOOL fc7e96d6646a7fa527807db2a3375a714243fb935f064b9acbb84f8652cc64e19d2655979c053e2f1b433c69a47a393123bc4bb2f8f16395a3ecbba668c9f1bd
|
||||
|
@ -0,0 +1,73 @@
|
||||
Description: Refactoring to support new libgps API
|
||||
Author: James Page <james.page@ubuntu.com>
|
||||
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40996
|
||||
Forwarded: no
|
||||
|
||||
--- providers/gpsd/geoclue-gpsd.c
|
||||
+++ providers/gpsd/geoclue-gpsd.c
|
||||
@@ -40,7 +40,12 @@
|
||||
#include <geoclue/gc-iface-position.h>
|
||||
#include <geoclue/gc-iface-velocity.h>
|
||||
|
||||
+#if GPSD_API_MAJOR_VERSION >= 5
|
||||
+/* gps_data conflicts with gps_data function */
|
||||
+typedef struct gps_data_t gps_data_l;
|
||||
+#else
|
||||
typedef struct gps_data_t gps_data;
|
||||
+#endif
|
||||
typedef struct gps_fix_t gps_fix;
|
||||
|
||||
/* only listing used tags */
|
||||
@@ -59,7 +64,11 @@
|
||||
char *host;
|
||||
char *port;
|
||||
|
||||
+#if GPSD_API_MAJOR_VERSION >= 5
|
||||
+ gps_data_l *gpsdata;
|
||||
+#else
|
||||
gps_data *gpsdata;
|
||||
+#endif
|
||||
|
||||
gps_fix *last_fix;
|
||||
|
||||
@@ -394,10 +403,16 @@
|
||||
static gboolean
|
||||
geoclue_gpsd_start_gpsd (GeoclueGpsd *self)
|
||||
{
|
||||
+#if GPSD_API_MAJOR_VERSION >= 5
|
||||
+ int status = gps_open (self->host, self->port, self->gpsdata);
|
||||
+ if (status == 0) {
|
||||
+ gps_stream(self->gpsdata, WATCH_ENABLE | WATCH_NMEA, NULL);
|
||||
+#else
|
||||
self->gpsdata = gps_open (self->host, self->port);
|
||||
if (self->gpsdata) {
|
||||
gps_stream(self->gpsdata, WATCH_ENABLE | WATCH_NMEA | POLL_NONBLOCK, NULL);
|
||||
gps_set_raw_hook (self->gpsdata, gpsd_raw_hook);
|
||||
+#endif
|
||||
return TRUE;
|
||||
} else {
|
||||
g_warning ("gps_open() failed, is gpsd running (host=%s,port=%s)?", self->host, self->port);
|
||||
@@ -410,10 +425,23 @@
|
||||
{
|
||||
GeoclueGpsd *self = (GeoclueGpsd*)data;
|
||||
if (self->gpsdata) {
|
||||
+#if GPSD_API_MAJOR_VERSION >= 5
|
||||
+ /* gps_poll and gps_set_raw_hook no longer present in this API version */
|
||||
+ if (gps_waiting(self->gpsdata, 500)) {
|
||||
+ if (gps_read(self->gpsdata) == -1) {
|
||||
+ geoclue_gpsd_set_status (self, GEOCLUE_STATUS_ERROR);
|
||||
+ geoclue_gpsd_stop_gpsd(self);
|
||||
+ return FALSE;
|
||||
+ } else {
|
||||
+ /* Call existing raw_hook to process the data */
|
||||
+ gpsd_raw_hook(self->gpsdata, NULL, 0);
|
||||
+ }
|
||||
+#else
|
||||
if (gps_poll(self->gpsdata) < 0) {
|
||||
geoclue_gpsd_set_status (self, GEOCLUE_STATUS_ERROR);
|
||||
geoclue_gpsd_stop_gpsd(self);
|
||||
return FALSE;
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
return TRUE;
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/geoclue-0.12.99.ebuild,v 1.3 2012/08/11 19:08:59 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="A geoinformation D-Bus service"
|
||||
HOMEPAGE="http://freedesktop.org/wiki/Software/GeoClue"
|
||||
SRC_URI="http://freedesktop.org/~hadess/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd"
|
||||
IUSE="connman geonames gps gsmloc gtk hostip manual networkmanager nominatim plazes skyhook static-libs yahoo-geo"
|
||||
|
||||
REQUIRED_USE="skyhook? ( networkmanager )"
|
||||
|
||||
RDEPEND=">=dev-libs/dbus-glib-0.100
|
||||
>=dev-libs/glib-2
|
||||
dev-libs/libxml2
|
||||
sys-apps/dbus
|
||||
gps? ( sci-geosciences/gpsd )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
networkmanager? ( net-misc/networkmanager )
|
||||
skyhook? ( net-libs/libsoup )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.12.0_p20110307-use-flag.patch \
|
||||
"${FILESDIR}"/${PN}-0.12.0_p20110307-use-fallback-mac.patch \
|
||||
"${FILESDIR}"/${P}-gpsd.patch
|
||||
|
||||
sed -i -e '/CFLAGS/s:-g ::' configure.ac || die #399177
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Conic is only for Maemo. Don't enable.
|
||||
# Gypsy has multiple vulnerabilities:
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=33431
|
||||
econf \
|
||||
--disable-silent-rules \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-schemas-compile \
|
||||
$(use_enable gtk tests) \
|
||||
$(use_enable gtk) \
|
||||
--disable-conic \
|
||||
$(use_enable connman) \
|
||||
$(use_enable networkmanager) \
|
||||
--disable-gypsy \
|
||||
$(use_enable gps gpsd) \
|
||||
$(use_enable skyhook) \
|
||||
$(use_enable geonames) \
|
||||
$(use_enable gsmloc) \
|
||||
$(use_enable hostip) \
|
||||
$(use_enable manual) \
|
||||
$(use_enable nominatim) \
|
||||
$(use_enable plazes) \
|
||||
$(use_enable yahoo-geo yahoo) \
|
||||
--with-html-dir=/usr/share/doc/${PF}/html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
use gtk && dobin test/.libs/geoclue-test-gui
|
||||
prune_libtool_files
|
||||
}
|
@ -1,100 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.6.0.ebuild,v 1.2 2012/08/08 15:54:27 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PV="3.6.0"
|
||||
|
||||
RC_VERSION=".4" # CHECK ME WITH EVERY BUMP!
|
||||
BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm"
|
||||
|
||||
inherit rpm eutils multilib versionator
|
||||
|
||||
DESCRIPTION="Translations for the Libreoffice suite."
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="offlinehelp"
|
||||
|
||||
LANGUAGES_HELP="ast bg bn_IN bn bo bs ca_XV ca cs da de dz el en_GB en en_ZA eo
|
||||
es et eu fi fr gl gu he hi hr hu id is it ja ka km ko lb mk nb ne nl nn om pl
|
||||
pt_BR pt ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW"
|
||||
LANGUAGES="${LANGUAGES_HELP} af am ar as be br brx cy dgo fa ga gd kk kn kok ks
|
||||
ku lo lt lv mai ml mn mni mr my nr nso oc or pa_IN ro rw sa_IN sat sd sh sr ss
|
||||
st sw_TZ ta te th tn ts tt uz ve xh zu"
|
||||
|
||||
for lang in ${LANGUAGES_HELP}; do
|
||||
helppack=""
|
||||
[[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang}
|
||||
helppack=" offlinehelp? ( ${BASE_SRC_URI}/x86/LibO_${MY_PV}_Linux_x86_helppack-rpm_${lang2/_/-}.tar.gz ) "
|
||||
SRC_URI+=" linguas_${lang}? ( ${helppack} )"
|
||||
done
|
||||
|
||||
for lang in ${LANGUAGES}; do
|
||||
langpack=""
|
||||
[[ ${lang} == en ]] \
|
||||
|| langpack=" ${BASE_SRC_URI}/x86/LibO_${MY_PV}_Linux_x86_langpack-rpm_${lang/_/-}.tar.gz "
|
||||
[[ -z ${langpack} ]] || SRC_URI+=" linguas_${lang}? ( ${langpack} )"
|
||||
IUSE+=" linguas_${lang}"
|
||||
done
|
||||
unset lang helppack langpack lang2 i
|
||||
|
||||
RDEPEND+="
|
||||
app-text/hunspell
|
||||
|| (
|
||||
>=app-office/libreoffice-$(get_version_component_range 1-2 ${MY_PV})
|
||||
>=app-office/libreoffice-bin-$(get_version_component_range 1-2 ${MY_PV})
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
local lang dir rpmdir i
|
||||
local ooextused=()
|
||||
|
||||
for lang in ${LANGUAGES}; do
|
||||
# break away if not enabled; paludis support
|
||||
use_if_iuse linguas_${lang} || continue
|
||||
|
||||
dir=${lang/_/-}
|
||||
|
||||
# for english we provide just helppack, as translation is always there
|
||||
if [[ ${lang} != en ]]; then
|
||||
rpmdir="LibO_${MY_PV}${RC_VERSION}_Linux_x86_langpack-rpm_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
|
||||
# First remove dictionaries, we want to use system ones.
|
||||
rm -rf "${S}/${rpmdir}/"*dict*.rpm
|
||||
rpm_unpack "./${rpmdir}/"*.rpm
|
||||
fi
|
||||
if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]] && use offlinehelp; then
|
||||
[[ ${lang} == en ]] && dir="en-US"
|
||||
rpmdir="LibO_${MY_PV}${RC_VERSION}_Linux_x86_helppack-rpm_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
|
||||
rpm_unpack ./"${rpmdir}/"*.rpm
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() { :; }
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2 ${MY_PV})/
|
||||
# Condition required for people that do not install anything eg no linguas
|
||||
# or just english with no offlinehelp.
|
||||
if [[ -d "${dir}" ]] ; then
|
||||
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
||||
doins -r "${dir}"/*
|
||||
fi
|
||||
# remove extensions that are in the l10n for some weird reason
|
||||
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/
|
||||
}
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/barry-0.17.1-r1.ebuild,v 1.1 2012/08/11 16:45:51 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools-utils bash-completion eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Sync, backup, program management, and charging for BlackBerry devices"
|
||||
HOMEPAGE="http://www.netdirect.ca/software/packages/barry/"
|
||||
SRC_URI="mirror://sourceforge/barry/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="boost doc gui opensync nls static-libs"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
virtual/libusb:0
|
||||
dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
>=dev-cpp/libxmlpp-2.6
|
||||
>=dev-libs/libtar-1.2.11-r2
|
||||
boost? ( >=dev-libs/boost-1.33 )
|
||||
gui? ( dev-cpp/glibmm:2
|
||||
dev-cpp/gtkmm:2.4
|
||||
dev-cpp/libglademm:2.4 )
|
||||
opensync? ( ~app-pda/libopensync-0.22 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( >=app-doc/doxygen-1.5.6 )
|
||||
nls? ( >=sys-devel/gettext-0.17 )"
|
||||
|
||||
DOCS=(AUTHORS DEPUTY ChangeLog NEWS README TODO)
|
||||
|
||||
src_configure() {
|
||||
myeconfargs=(
|
||||
$(use_enable boost)
|
||||
$(use_enable gui)
|
||||
$(use_enable nls)
|
||||
$(use_enable opensync opensync-plugin)
|
||||
--disable-rpath
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
if use doc ; then
|
||||
cd "${S}"
|
||||
doxygen || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
# docs
|
||||
rm -rf "${S}"/doc/www/*.php
|
||||
rm -rf "${S}"/doc/www/*.sh
|
||||
find "${S}"/doc/www/doxygen/html -name "*.map" -size 0 -exec rm -f {} +
|
||||
|
||||
if use doc; then
|
||||
dohtml "${S}"/doc/www/doxygen/html/*
|
||||
fi
|
||||
|
||||
rm -rf "${S}"/doc/www
|
||||
dodoc -r "${S}"/doc/*
|
||||
|
||||
# udev rules
|
||||
local udevdir=/lib/udev
|
||||
has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
|
||||
insinto "${udevdir}"/rules.d
|
||||
doins "${S}"/udev/10-blackberry.rules
|
||||
# doins "${S}"/udev/69-blackberry.rules
|
||||
sed -i -e 's:plugdev:usb:g' "${S}"/udev/99-blackberry-perms.rules || die
|
||||
doins "${S}"/udev/99-blackberry-perms.rules
|
||||
|
||||
# blacklist for BERRY_CHARGE kernel module
|
||||
insinto /etc/modprobe.d
|
||||
doins "${S}"/modprobe/blacklist-berry_charge.conf
|
||||
|
||||
# pppd options files
|
||||
docinto "${DOCDIR}"/ppp/
|
||||
dodoc "${S}"/ppp/*
|
||||
|
||||
BASHCOMPFILES="${S}/bash/btool ${S}/bash/bjavaloader"
|
||||
dobashcompletion
|
||||
|
||||
if use gui; then
|
||||
domenu "${S}"/menu/barrybackup.desktop || die
|
||||
doicon "${S}"/logo/barry_logo_icon.png || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
elog "Barry requires you to be a member of the \"usb\" group."
|
||||
einfo
|
||||
bash-completion_pkg_postinst
|
||||
ewarn
|
||||
ewarn "Barry and the in-kernel module 'BERRY_CHARGE' are incompatible."
|
||||
ewarn
|
||||
ewarn "Kernel-based USB suspending can discharge your blackberry."
|
||||
ewarn "Use at least kernel 2.6.22 and/or disable CONFIG_USB_SUSPEND."
|
||||
ewarn
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-pda/usbmuxd/usbmuxd-1.0.8-r1.ebuild,v 1.1 2012/08/10 17:41:50 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit cmake-utils user toolchain-funcs
|
||||
|
||||
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
|
||||
HOMEPAGE="http://www.libimobiledevice.org/"
|
||||
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 GPL-3 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-pda/libplist-1.8-r1
|
||||
virtual/libusb:1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/os-headers
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup plugdev
|
||||
enewuser usbmux -1 -1 -1 "usb,plugdev"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if has_version sys-fs/udev; then
|
||||
local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
|
||||
sed -i -e "/rules/s:/lib/udev:${udevdir}:" udev/CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
DOCS="AUTHORS README README.devel"
|
@ -0,0 +1,14 @@
|
||||
http://bugs.gentoo.org/427862
|
||||
http://bugs.gentoo.org/431064
|
||||
|
||||
--- Portage.pm
|
||||
+++ Portage.pm
|
||||
@@ -150,7 +150,7 @@
|
||||
}
|
||||
|
||||
sub read_make_globals() {
|
||||
- for my $dir(@profiles, '/etc') {
|
||||
+ for my $dir(@profiles, '/usr/share/portage/config') {
|
||||
read_sh "$dir/make.globals";
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ufed-0.40.1-r1.ebuild,v 1.1 2012/08/12 11:44:53 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Gentoo Linux USE flags editor"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2
|
||||
http://dev.gentoo.org/~truedfx/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-make.globals-path.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --libexecdir=/usr/$(get_libdir)/ufed
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST calibre-0.8.62.tar.xz 25090932 SHA256 5da54282959e86f288dbb3e275ab403db5a66c74c7ab384adeeb24c459612159 SHA512 2d129b49b3b6daa2a5c85c02a57e70c8ac1ca8b102bca6f708c9094b9f04fb97abed62b4b00e2876473e887492cffbda3247be6021dfb6fe869f878b335c213d WHIRLPOOL c2b90f76b21dda70902dfcdda7fc698f1dcdb5397724f409745530be3f891e556806aab10a3d9328ad695455a6e0ad04084182f63af55fb4328ba60fab228cfc
|
||||
DIST calibre-0.8.63.tar.xz 25233888 SHA256 08aa63e7a2392ffce2409aa35b22797dfa48e86e9f6e719c908c774eb24faf96 SHA512 57c2ebf71cbdb6319ecce0548d63cbcfc8c3ff3345ba746d543ae3c7c9d4a8da3cc6b7110569fdbaa679f1f7fc9b8dfc1c2774b655e461a04ad97768c22fb2c2 WHIRLPOOL bac2b51696d91e9bca083bcafb5469ba3ff6b393627f546c7a84e11927daeb0f1a08e50e8a6f7f989c0af788f3d5c6f6db4b89aa7dfc49e6ea6e6bdcdf7701ce
|
||||
DIST calibre-0.8.64.tar.xz 25299108 SHA256 afb214051b89c4fb9a78c7183f721764d4869e3a2d078be54c23ce8e3baf3195 SHA512 a9184b33a17ebcdf776ed4c209cb3e222a6e9857b75e1827983d472e0a83a94e6800294ea10713df30a8330a0a7149484819459a1b072a386d1210f906df161e WHIRLPOOL dbfccdfc0214c19eced4ae84c06687f4c871c2b8be738a65f454c596663ac563d319dff76ec1f891b59055c280c31186726f20ce6667e94011ae81af12286c46
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue