parent
cd7906764a
commit
d6db12e1a6
@ -1,3 +1,2 @@
|
|||||||
DIST duplicity-0.6.06.tar.gz 274888 RMD160 7867fba4fc5a250a0030034dd89fef74df3dfbbd SHA1 45bc382f5d1b05960d3b45492b3e2c44a0ea7688 SHA256 0f9cdda2fe6f5827d37435bc0315e4961dbd8f2edda0a15fcc331840842748bc
|
DIST duplicity-0.6.06.tar.gz 274888 RMD160 7867fba4fc5a250a0030034dd89fef74df3dfbbd SHA1 45bc382f5d1b05960d3b45492b3e2c44a0ea7688 SHA256 0f9cdda2fe6f5827d37435bc0315e4961dbd8f2edda0a15fcc331840842748bc
|
||||||
DIST duplicity-0.6.15.tar.gz 304916 RMD160 a01098d48e64908ac05155037e749c4b679a9109 SHA1 716801fffa349276e7b444de7cd5f248b3c02113 SHA256 69f30388334b84db43ed4eb7838896a73cf53d62718c692a88ab3d3963e1dfad
|
|
||||||
DIST duplicity-0.6.16.tar.gz 524358 RMD160 1e8f4967113e55ad64d770cbe9f882dc0f2fddc0 SHA1 d134e56150969030ac391851cbe3d8b1a4ebfcee SHA256 488c5de5ff0495409e2d92ee07e42a4daf336e2bc1dc934c3cd862ae4f41c358
|
DIST duplicity-0.6.16.tar.gz 524358 RMD160 1e8f4967113e55ad64d770cbe9f882dc0f2fddc0 SHA1 d134e56150969030ac391851cbe3d8b1a4ebfcee SHA256 488c5de5ff0495409e2d92ee07e42a4daf336e2bc1dc934c3cd862ae4f41c358
|
||||||
|
@ -1,35 +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/duplicity/duplicity-0.6.15.ebuild,v 1.1 2011/09/06 19:33:01 patrick Exp $
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
|
|
||||||
PYTHON_DEPEND="2"
|
|
||||||
SUPPORT_PYTHON_ABIS="1"
|
|
||||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
|
||||||
|
|
||||||
inherit distutils
|
|
||||||
|
|
||||||
DESCRIPTION="duplicity is a secure backup system using gnupg to encrypt data"
|
|
||||||
HOMEPAGE="http://www.nongnu.org/duplicity/"
|
|
||||||
SRC_URI="http://code.launchpad.net/${PN}/0.6-series/${PV}/+download/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
|
||||||
IUSE="s3"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=net-libs/librsync-0.9.6
|
|
||||||
app-crypt/gnupg
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
>=dev-python/py-gnupg-0.3.2
|
|
||||||
>=dev-python/pexpect-2.1
|
|
||||||
s3? ( dev-python/boto )
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
distutils_src_prepare
|
|
||||||
sed -i -r "s/'COPYING',//" setup.py || die "Couldn't remove unnecessary COPYING file."
|
|
||||||
}
|
|
@ -0,0 +1 @@
|
|||||||
|
DIST remind-03.01.10.tar.gz 357033 RMD160 1210a9a577fefb7540906889eb1e5352201e5a86 SHA1 6b575a410df7b426371de25ff76a5fdc7cb633c7 SHA256 c62bea8db26b08704c1d7bc33f6775509ea649a4ff69316334639e4cdd9ed53e
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
# Copyright 1999-2011 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/x11-misc/remind/remind-03.01.10.ebuild,v 1.5 2011/03/27 20:02:53 ranger Exp $
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/remind/remind-03.01.10.ebuild,v 1.1 2011/11/22 18:48:36 tove Exp $
|
||||||
|
|
||||||
MY_P=${P/_beta/-BETA-}
|
MY_P=${P/_beta/-BETA-}
|
||||||
S=${WORKDIR}/${MY_P}
|
S=${WORKDIR}/${MY_P}
|
@ -1,2 +1 @@
|
|||||||
DIST ots-0.4.2.tar.gz 275178 RMD160 be56f29c8dbc53063564a5cabca61acf7152ebc1 SHA1 9d1bb228d4c224884f018ef79308740584f732cf SHA256 1adf0bee8a9837a3c3b8152f79ccb14605075b302f74000bf9836d3a7a5eeb56
|
|
||||||
DIST ots-0.5.0.tar.gz 371126 RMD160 e413267fc81ab9bf3da5f3787757ce20c7e0304e SHA1 4468bc06470734848c2369a37c84f76ca4ac3f9a SHA256 ea908d22256166d1200fef55a82dd3ea8e096a249eaaf0b926f3577f1a63e137
|
DIST ots-0.5.0.tar.gz 371126 RMD160 e413267fc81ab9bf3da5f3787757ce20c7e0304e SHA1 4468bc06470734848c2369a37c84f76ca4ac3f9a SHA256 ea908d22256166d1200fef55a82dd3ea8e096a249eaaf0b926f3577f1a63e137
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-text/ots/ots-0.4.2.ebuild,v 1.9 2008/07/14 16:55:56 mr_bones_ Exp $
|
|
||||||
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
DESCRIPTION="Open source Text Summarizer, as used in newer releases of abiword and kword."
|
|
||||||
HOMEPAGE="http://libots.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/libots/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 hppa ~mips ppc ~sparc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="=dev-libs/glib-2*
|
|
||||||
>=dev-libs/libxml2-2.4.23
|
|
||||||
>=dev-libs/popt-1.5"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-util/pkgconfig"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}; cd "${S}"
|
|
||||||
epatch "${FILESDIR}"/${P}-gcc4.diff
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# bug 97448
|
|
||||||
econf --disable-gtk-doc || die
|
|
||||||
# parallel make fails, bug 112932
|
|
||||||
emake -j1 || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
make DESTDIR="${D}" install || die
|
|
||||||
rm -rf "${D}"/usr/share/doc/libots
|
|
||||||
dodoc AUTHORS BUGS ChangeLog HACKING NEWS README TODO
|
|
||||||
cd "${S}"/doc/html
|
|
||||||
dohtml -r ./
|
|
||||||
}
|
|
@ -1,4 +1,2 @@
|
|||||||
DIST libnl-1.1.tar.gz 288932 RMD160 ebfc660302f31e5a94f03683f1ba85a3e057cf30 SHA1 54c7d02f93b09b43338e5cbf42f1373e83566577 SHA256 35cea4cfb6cd8af0cafa0f34fff81def5a1f193b8b8384299b4b21883e22edc3
|
DIST libnl-1.1.tar.gz 288932 RMD160 ebfc660302f31e5a94f03683f1ba85a3e057cf30 SHA1 54c7d02f93b09b43338e5cbf42f1373e83566577 SHA256 35cea4cfb6cd8af0cafa0f34fff81def5a1f193b8b8384299b4b21883e22edc3
|
||||||
DIST libnl-3.2.1.tar.gz 1122313 RMD160 1adbeafe9b8aa536a17aa290c1aa5538f249828a SHA1 5d11f2f7abcb20de371b25621524a544e4cd3d19 SHA256 ab73a9c90e13ae39f0a3e8bf6c5255f9ed01d6164074b3ee5cedd8ae3d0b25e3
|
|
||||||
DIST libnl-3.2.2.tar.gz 1123102 RMD160 5b260b9874566ceac14dca32ea6c806eccd2d7b8 SHA1 5a8ac5dfba49c267f59253e0759f4e6c64566cd2 SHA256 3476f13b43b7cb15179101caafd01a674aadbc2eedcb61b636082eae89315643
|
|
||||||
DIST libnl-3.2.3.tar.gz 1123915 RMD160 97eff52f603930c350e2cd093f8c6141d3c3aedf SHA1 a6485f2e2cebde833c678d4541e8c4c7c1776be3 SHA256 69f4a360350ea61f2c988f947c251995c04093c74743eae9eeffba85846ef007
|
DIST libnl-3.2.3.tar.gz 1123915 RMD160 97eff52f603930c350e2cd093f8c6141d3c3aedf SHA1 a6485f2e2cebde833c678d4541e8c4c7c1776be3 SHA256 69f4a360350ea61f2c988f947c251995c04093c74743eae9eeffba85846ef007
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.1.ebuild,v 1.4 2011/11/17 16:52:22 jer Exp $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit eutils multilib autotools-utils
|
|
||||||
|
|
||||||
DESCRIPTION="A library for applications dealing with netlink socket"
|
|
||||||
HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
|
|
||||||
SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz"
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch \
|
|
||||||
"${FILESDIR}"/${PN}-1.1-vlan-header.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
use static-libs || remove_libtool_files
|
|
||||||
|
|
||||||
dodoc ChangeLog
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.2.ebuild,v 1.3 2011/11/17 16:52:22 jer Exp $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit eutils multilib autotools-utils
|
|
||||||
|
|
||||||
DESCRIPTION="A library for applications dealing with netlink socket"
|
|
||||||
HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
|
|
||||||
SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz"
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch \
|
|
||||||
"${FILESDIR}"/${PN}-1.1-vlan-header.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
use static-libs || remove_libtool_files
|
|
||||||
|
|
||||||
dodoc ChangeLog
|
|
||||||
}
|
|
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 1999-2011 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/mysql2-0.2.17.ebuild,v 1.1 2011/11/22 14:58:57 graaff Exp $
|
||||||
|
|
||||||
|
EAPI="3"
|
||||||
|
USE_RUBY="ruby18 ruby19 ree18"
|
||||||
|
|
||||||
|
# Tests require a live MySQL database.
|
||||||
|
RUBY_FAKEGEM_TASK_TEST=""
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_TASK_DOC=""
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
|
||||||
|
|
||||||
|
inherit multilib ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql."
|
||||||
|
HOMEPAGE="https://github.com/brianmario/mysql2"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0.2"
|
||||||
|
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="${DEPEND} virtual/mysql[-static]"
|
||||||
|
RDEPEND="${RDEPEND} virtual/mysql[-static]"
|
||||||
|
|
||||||
|
each_ruby_configure() {
|
||||||
|
${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
each_ruby_compile() {
|
||||||
|
emake -Cext/mysql2 || die
|
||||||
|
cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
|
||||||
|
}
|
@ -1,170 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.8.6-r2.ebuild,v 1.1 2011/10/29 21:49:29 dilfridge Exp $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
CMAKE_REMOVE_MODULES="no"
|
|
||||||
inherit elisp-common toolchain-funcs eutils versionator flag-o-matic base cmake-utils virtualx
|
|
||||||
|
|
||||||
MY_P="${PN}-$(replace_version_separator 3 - ${MY_PV})"
|
|
||||||
|
|
||||||
DESCRIPTION="Cross platform Make"
|
|
||||||
HOMEPAGE="http://www.cmake.org/"
|
|
||||||
SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="CMake"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="emacs ncurses qt4 vim-syntax"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=app-arch/libarchive-2.8.0
|
|
||||||
>=net-misc/curl-7.20.0-r1[ssl]
|
|
||||||
>=dev-libs/expat-2.0.1
|
|
||||||
dev-util/pkgconfig
|
|
||||||
sys-libs/zlib
|
|
||||||
ncurses? ( sys-libs/ncurses )
|
|
||||||
qt4? ( x11-libs/qt-gui:4 )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
emacs? ( virtual/emacs )
|
|
||||||
vim-syntax? (
|
|
||||||
|| (
|
|
||||||
app-editors/vim
|
|
||||||
app-editors/gvim
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
||||||
VIMFILE="${PN}.vim"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
CMAKE_BINARY="${S}/Bootstrap.cmk/cmake"
|
|
||||||
|
|
||||||
# Fixme:
|
|
||||||
# Boost patchset is foobared and should respect eselect / slotting
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-2.6.3-darwin-bundle.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.6.3-no-duplicates-in-rpath.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.6.3-fix_broken_lfs_on_aix.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.8.0-darwin-default-install_name.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.8.1-libform.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.8.4-FindPythonLibs.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.8.3-more-no_host_paths.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.8.3-ruby_libname.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.8.4-FindBoost.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.8.6-FindBLAS.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.8.6-FindLAPACK-2.patch
|
|
||||||
)
|
|
||||||
cmake_src_bootstrap() {
|
|
||||||
# Cleanup args to extract only JOBS.
|
|
||||||
# Because bootstrap does not know anything else.
|
|
||||||
echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' > /dev/null
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
par_arg=$(echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' | egrep -o '[[:digit:]]+')
|
|
||||||
par_arg="--parallel=${par_arg}"
|
|
||||||
else
|
|
||||||
par_arg="--parallel=1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
tc-export CC CXX LD
|
|
||||||
|
|
||||||
./bootstrap \
|
|
||||||
--prefix="${T}/cmakestrap/" \
|
|
||||||
${par_arg} \
|
|
||||||
|| die "Bootstrap failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
cmake_src_test() {
|
|
||||||
# fix OutDir test
|
|
||||||
# this is altered thanks to our eclass
|
|
||||||
sed -i -e 's:#IGNORE ::g' "${S}"/Tests/OutDir/CMakeLists.txt || die
|
|
||||||
pushd "${CMAKE_BUILD_DIR}" > /dev/null
|
|
||||||
# Excluded tests:
|
|
||||||
# BootstrapTest: we actualy bootstrap it every time so why test it.
|
|
||||||
# SimpleCOnly_sdcc: sdcc choke on global cflags so just skip the test
|
|
||||||
# as it was never intended to be used this way.
|
|
||||||
"${CMAKE_BUILD_DIR}"/bin/ctest \
|
|
||||||
-E BootstrapTest SimpleCOnly_sdcc \
|
|
||||||
|| die "Tests failed"
|
|
||||||
popd > /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
einfo "Fixing java access violations ..."
|
|
||||||
# bug 387227
|
|
||||||
addpredict /proc/self/coredump_filter
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
base_src_prepare
|
|
||||||
|
|
||||||
# disable running of cmake in boostrap command
|
|
||||||
sed -i \
|
|
||||||
-e '/"${cmake_bootstrap_dir}\/cmake"/s/^/#DONOTRUN /' \
|
|
||||||
bootstrap || die "sed failed"
|
|
||||||
|
|
||||||
# Add gcc libs to the default link paths
|
|
||||||
sed -i \
|
|
||||||
-e "s|@GENTOO_PORTAGE_GCCLIBDIR@|${EPREFIX}/usr/${CHOST}/lib/|g" \
|
|
||||||
-e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}/|g" \
|
|
||||||
Modules/Platform/{UnixPaths,Darwin}.cmake || die "sed failed"
|
|
||||||
|
|
||||||
cmake_src_bootstrap
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# make things work with gentoo java setup
|
|
||||||
# in case java-config cannot be run, the variable just becomes unset
|
|
||||||
# per bug #315229
|
|
||||||
export JAVA_HOME=$(java-config -g JAVA_HOME 2> /dev/null)
|
|
||||||
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCMAKE_USE_SYSTEM_LIBRARIES=ON
|
|
||||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
|
|
||||||
-DCMAKE_DOC_DIR=/share/doc/${PF}
|
|
||||||
-DCMAKE_MAN_DIR=/share/man
|
|
||||||
-DCMAKE_DATA_DIR=/share/${PN}
|
|
||||||
$(cmake-utils_use_build ncurses CursesDialog)
|
|
||||||
$(cmake-utils_use_build qt4 QtDialog)
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake-utils_src_compile
|
|
||||||
use emacs && elisp-compile Docs/cmake-mode.el
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
VIRTUALX_COMMAND="cmake_src_test" virtualmake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
if use emacs; then
|
|
||||||
elisp-install ${PN} Docs/cmake-mode.el Docs/cmake-mode.elc
|
|
||||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
|
||||||
fi
|
|
||||||
if use vim-syntax; then
|
|
||||||
insinto /usr/share/vim/vimfiles/syntax
|
|
||||||
doins Docs/cmake-syntax.vim
|
|
||||||
|
|
||||||
insinto /usr/share/vim/vimfiles/indent
|
|
||||||
doins Docs/cmake-indent.vim
|
|
||||||
|
|
||||||
insinto /usr/share/vim/vimfiles/ftdetect
|
|
||||||
doins "${FILESDIR}/${VIMFILE}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
use emacs && elisp-site-regen
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
use emacs && elisp-site-regen
|
|
||||||
}
|
|
@ -1,35 +0,0 @@
|
|||||||
diff -ruN cmake-2.8.5.orig/Modules/FindBLAS.cmake cmake-2.8.5/Modules/FindBLAS.cmake
|
|
||||||
--- cmake-2.8.5.orig/Modules/FindBLAS.cmake 2011-07-08 14:21:44.000000000 +0200
|
|
||||||
+++ cmake-2.8.5/Modules/FindBLAS.cmake 2011-07-17 17:34:45.384557963 +0200
|
|
||||||
@@ -1,3 +1,9 @@
|
|
||||||
+#
|
|
||||||
+# Version modified for Gentoo Linux
|
|
||||||
+# If a valid PkgConfig configuration for blas is found, this overrides and cancels
|
|
||||||
+# all further checks.
|
|
||||||
+#
|
|
||||||
+
|
|
||||||
# - Find BLAS library
|
|
||||||
# This module finds an installed fortran library that implements the BLAS
|
|
||||||
# linear-algebra interface (see http://www.netlib.org/blas/).
|
|
||||||
@@ -39,6 +45,14 @@
|
|
||||||
# (To distribute this file outside of CMake, substitute the full
|
|
||||||
# License text for the above reference.)
|
|
||||||
|
|
||||||
+#
|
|
||||||
+# first, try PkgConfig
|
|
||||||
+#
|
|
||||||
+find_package(PkgConfig REQUIRED)
|
|
||||||
+pkg_check_modules(BLAS blas)
|
|
||||||
+if(NOT BLAS_FOUND)
|
|
||||||
+message(STATUS "No PkgConfig configuration for BLAS found; starting more extensive search.")
|
|
||||||
+
|
|
||||||
include(CheckFunctionExists)
|
|
||||||
include(CheckFortranFunctionExists)
|
|
||||||
|
|
||||||
@@ -559,3 +573,6 @@
|
|
||||||
endif(BLAS_FOUND)
|
|
||||||
endif(NOT BLAS_FIND_QUIETLY)
|
|
||||||
endif(BLA_F95)
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+endif(NOT BLAS_FOUND)
|
|
@ -1,34 +0,0 @@
|
|||||||
diff -ruN cmake-2.8.5.orig/Modules/FindLAPACK.cmake cmake-2.8.5/Modules/FindLAPACK.cmake
|
|
||||||
--- cmake-2.8.5.orig/Modules/FindLAPACK.cmake 2011-07-08 14:21:44.000000000 +0200
|
|
||||||
+++ cmake-2.8.5/Modules/FindLAPACK.cmake 2011-07-17 19:46:57.865560858 +0200
|
|
||||||
@@ -1,3 +1,9 @@
|
|
||||||
+#
|
|
||||||
+# Version modified for Gentoo Linux
|
|
||||||
+# If a valid PkgConfig configuration is found, this overrides and cancels
|
|
||||||
+# all further checks.
|
|
||||||
+#
|
|
||||||
+
|
|
||||||
# - Find LAPACK library
|
|
||||||
# This module finds an installed fortran library that implements the LAPACK
|
|
||||||
# linear-algebra interface (see http://www.netlib.org/lapack/).
|
|
||||||
@@ -36,6 +42,14 @@
|
|
||||||
# (To distribute this file outside of CMake, substitute the full
|
|
||||||
# License text for the above reference.)
|
|
||||||
|
|
||||||
+#
|
|
||||||
+# first, try PkgConfig
|
|
||||||
+#
|
|
||||||
+find_package(PkgConfig REQUIRED)
|
|
||||||
+pkg_check_modules(LAPACK lapack)
|
|
||||||
+if(NOT LAPACK_FOUND)
|
|
||||||
+message(STATUS "No PkgConfig configuration for LAPACK found; starting more extensive search.")
|
|
||||||
+
|
|
||||||
get_property(_LANGUAGES_ GLOBAL PROPERTY ENABLED_LANGUAGES)
|
|
||||||
if (NOT _LANGUAGES_ MATCHES Fortran)
|
|
||||||
include(CheckFunctionExists)
|
|
||||||
@@ -300,3 +314,5 @@
|
|
||||||
endif(LAPACK_FOUND)
|
|
||||||
endif(NOT LAPACK_FIND_QUIETLY)
|
|
||||||
endif(BLA_F95)
|
|
||||||
+
|
|
||||||
+endif(NOT LAPACK_FOUND)
|
|
@ -1,34 +0,0 @@
|
|||||||
--- cmake-2.8.6.orig/Modules/FindLAPACK.cmake 2011-10-09 23:38:48.956933106 +0800
|
|
||||||
+++ cmake-2.8.6/Modules/FindLAPACK.cmake 2011-10-09 23:39:52.002144646 +0800
|
|
||||||
@@ -1,3 +1,9 @@
|
|
||||||
+#
|
|
||||||
+# Version modified for Gentoo Linux
|
|
||||||
+# If a valid PkgConfig configuration is found, this overrides and cancels
|
|
||||||
+# all further checks.
|
|
||||||
+#
|
|
||||||
+
|
|
||||||
# - Find LAPACK library
|
|
||||||
# This module finds an installed fortran library that implements the LAPACK
|
|
||||||
# linear-algebra interface (see http://www.netlib.org/lapack/).
|
|
||||||
@@ -36,6 +42,14 @@
|
|
||||||
# (To distribute this file outside of CMake, substitute the full
|
|
||||||
# License text for the above reference.)
|
|
||||||
|
|
||||||
+#
|
|
||||||
+# first, try PkgConfig
|
|
||||||
+#
|
|
||||||
+find_package(PkgConfig REQUIRED)
|
|
||||||
+pkg_check_modules(LAPACK lapack)
|
|
||||||
+if(NOT LAPACK_FOUND)
|
|
||||||
+message(STATUS "No PkgConfig configuration for LAPACK found; starting more extensive search.")
|
|
||||||
+
|
|
||||||
set(_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
|
||||||
|
|
||||||
get_property(_LANGUAGES_ GLOBAL PROPERTY ENABLED_LANGUAGES)
|
|
||||||
@@ -304,4 +318,6 @@
|
|
||||||
endif(NOT LAPACK_FIND_QUIETLY)
|
|
||||||
endif(BLA_F95)
|
|
||||||
|
|
||||||
+endif(NOT LAPACK_FOUND)
|
|
||||||
+
|
|
||||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ${_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES})
|
|
@ -1,3 +1 @@
|
|||||||
DIST scanmem-0.05.tar.gz 13956 RMD160 bffe1e1eeb9af6228e2d13a7956ce39efa0c4c6a SHA1 d7b9688da762720cfb4da4de7ef71f2506f76225 SHA256 788e5462ae40e1f860e358a17ec4c2e121f81238b9889af7774b141f9381dc9d
|
|
||||||
DIST scanmem-0.06.tar.gz 32160 RMD160 2478cfb02412297cca2c187e1f7514fed63d80ef SHA1 52a1302d046fa491674b6bf49c4b75737a809175 SHA256 3a6bcd372861d0a523e52f0076c4501dabf773cc7207e5a19e58c44a6ae9e9a0
|
|
||||||
DIST scanmem-0.07.tar.gz 119242 RMD160 2470afaaaec41e9ab80d03ceacb9fbed143deee0 SHA1 bdd41ecd4a9e38a9880540a6b619ab3133c89400 SHA256 44bd22c61ed65710477b6652aa6e23d5c8d3a873bd3e1f66fb5281fc138bd398
|
DIST scanmem-0.07.tar.gz 119242 RMD160 2470afaaaec41e9ab80d03ceacb9fbed143deee0 SHA1 bdd41ecd4a9e38a9880540a6b619ab3133c89400 SHA256 44bd22c61ed65710477b6652aa6e23d5c8d3a873bd3e1f66fb5281fc138bd398
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
# Copyright 1999-2007 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/scanmem/scanmem-0.05.ebuild,v 1.3 2007/03/06 17:00:37 taviso Exp $
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Locate and modify variables in executing processes"
|
|
||||||
HOMEPAGE="http://taviso.decsystem.org/scanmem.html"
|
|
||||||
SRC_URI="http://taviso.decsystem.org/files/scanmem/${P}.tar.gz"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="sys-libs/readline"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin scanmem
|
|
||||||
doman scanmem.1
|
|
||||||
dodoc README TODO ChangeLog
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
# Copyright 1999-2007 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/scanmem/scanmem-0.06.ebuild,v 1.2 2007/04/10 06:29:07 opfer Exp $
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Locate and modify variables in executing processes"
|
|
||||||
HOMEPAGE="http://taviso.decsystem.org/scanmem.html"
|
|
||||||
SRC_URI="http://taviso.decsystem.org/files/scanmem/${P}.tar.gz"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="sys-libs/readline"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin scanmem
|
|
||||||
doman scanmem.1
|
|
||||||
dodoc README TODO ChangeLog
|
|
||||||
}
|
|
@ -1 +1 @@
|
|||||||
DIST svnmailer-1.0.8.tar.bz2 253483 RMD160 551e716e55f48c69b9f7dd6703fdedbc51c2a452 SHA1 792acbb340055fbf232d5fcd6c35fe932e0f6d46 SHA256 21e214e8b9d649ed5f24921d2034a01bb39cf0109e989c3803fe71c6e8fd3081
|
DIST svnmailer-1.0.9.tar.bz2 354935 RMD160 37b72ea2f739ebfdce680a8a815e3f124b8cf226 SHA1 a71db83988598fc401b1e9b4be70b2232e8098bf SHA256 bb4cc681a8486bfb80a29f4f1470ccfe6eb804a12ea53c231decd96c2c003217
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
Index: src/lib/svnmailer/notifier/_base.py
|
|
||||||
===================================================================
|
|
||||||
--- src/lib/svnmailer/notifier/_base.py
|
|
||||||
+++ src/lib/svnmailer/notifier/_base.py 2007-05-01 00:54:23.000000000 +0200
|
|
||||||
@@ -345,7 +345,6 @@
|
|
||||||
@return: The two encodings
|
|
||||||
@rtype: C{tuple} of C{str}
|
|
||||||
"""
|
|
||||||
- from encodings import exceptions
|
|
||||||
|
|
||||||
enc1 = enc2 = default
|
|
||||||
if not change.wasAdded() or change.wasCopied():
|
|
||||||
@@ -353,7 +352,7 @@
|
|
||||||
enc1 = self._getContentEncoding(
|
|
||||||
change.getBasePath(), change.getBaseRevision()
|
|
||||||
)
|
|
||||||
- except exceptions.LookupError:
|
|
||||||
+ except LookupError:
|
|
||||||
# fall back
|
|
||||||
pass
|
|
||||||
|
|
||||||
@@ -364,7 +363,7 @@
|
|
||||||
enc2 = self._getContentEncoding(
|
|
||||||
change.path, change.revision
|
|
||||||
)
|
|
||||||
- except exceptions.LookupError:
|
|
||||||
+ except LookupError:
|
|
||||||
# fall back
|
|
||||||
pass
|
|
||||||
|
|
||||||
@@ -389,7 +388,6 @@
|
|
||||||
@exception encodings.exception.LookupError: The specified encoding
|
|
||||||
is not implemented or no encoding was specified
|
|
||||||
"""
|
|
||||||
- from encodings import exceptions
|
|
||||||
|
|
||||||
# first try the svn:mime-type
|
|
||||||
enc = self.getEncodingFromMimeType(path, revision)
|
|
||||||
@@ -427,7 +425,7 @@
|
|
||||||
codecs.lookup(enc)
|
|
||||||
return enc
|
|
||||||
|
|
||||||
- raise exceptions.LookupError("No Encoding configured")
|
|
||||||
+ raise LookupError("No Encoding configured")
|
|
||||||
|
|
||||||
|
|
||||||
def getEncodingFromMimeType(self, path, revision):
|
|
@ -1 +1 @@
|
|||||||
DIST gnome-packagekit-3.0.3.tar.bz2 4716341 RMD160 6ed6ba9a0d11ee71cbf59b8362d53f994b45aa61 SHA1 7778d2dbe310f432c3b84ad30b576b08bc3eb92f SHA256 9bf29bfb1de8eace9241f21132907676a8f50fda82fe4bd0c973736148cb8771
|
DIST gnome-packagekit-3.2.1.tar.xz 4303912 RMD160 233bcea1611bcab27808daca2d22889c9c940f5a SHA1 680f353b3ab355a686448ba5a58b36bdf8a8bfda SHA256 7a6383a2a91fd29c0b6fd9b8900d498efd2e38b89149470433748d989926c341
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
From 553df35a405fccd679bdb16e65c79deb84928865 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alexandre Rostovtsev <tetromino@gmail.com>
|
||||||
|
Date: Wed, 7 Sep 2011 03:21:42 -0400
|
||||||
|
Subject: [PATCH] Disable tests that cannot be run from portage
|
||||||
|
|
||||||
|
Disable tests with modal dialogs and the tasks test that requires for
|
||||||
|
packagekit to preferentially use the dummy backend.
|
||||||
|
---
|
||||||
|
src/gpk-self-test.c | 6 +++---
|
||||||
|
1 files changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/gpk-self-test.c b/src/gpk-self-test.c
|
||||||
|
index f12ce73..ba01649 100644
|
||||||
|
--- a/src/gpk-self-test.c
|
||||||
|
+++ b/src/gpk-self-test.c
|
||||||
|
@@ -53,10 +53,10 @@ main (int argc, char **argv)
|
||||||
|
gpk_common_test (test);
|
||||||
|
// gpk_dbus_test (test);
|
||||||
|
gpk_language_test (test);
|
||||||
|
- gpk_error_test (test);
|
||||||
|
+// gpk_error_test (test);
|
||||||
|
// gpk_client_test (test);
|
||||||
|
- gpk_modal_dialog_test (test);
|
||||||
|
- gpk_task_test (test);
|
||||||
|
+// gpk_modal_dialog_test (test);
|
||||||
|
+// gpk_task_test (test);
|
||||||
|
|
||||||
|
return egg_test_finish (test);
|
||||||
|
}
|
||||||
|
--
|
||||||
|
1.7.6.1
|
||||||
|
|
@ -0,0 +1,52 @@
|
|||||||
|
commit 44a9c26b9eb27df8297618764f988972d476dc84
|
||||||
|
Author: David E. Narváez <david.narvaez@computer.org>
|
||||||
|
Date: Sun Nov 20 16:31:15 2011 -0500
|
||||||
|
|
||||||
|
Drop InvisibleCollectionFetch in Favor of KDescendantsProxyModel
|
||||||
|
|
||||||
|
As the InvisibleCollectionFetch fetch strategy is currently broken, I
|
||||||
|
implemented a suggestion by Christian Mollekopf of working around the
|
||||||
|
issues by flatting the model through a KDescendantsProxyModel to fix
|
||||||
|
crashes in Plasma related to calendars.
|
||||||
|
|
||||||
|
BUG: 279322
|
||||||
|
FIXED-IN: 4.7.4
|
||||||
|
|
||||||
|
CCMAIL: chrigi_1@fastmail.fm
|
||||||
|
REVIEW: 103088
|
||||||
|
|
||||||
|
diff --git a/plasma/generic/dataengines/calendar/calendarengine.cpp b/plasma/generic/dataengines/calendar/calendarengine.cpp
|
||||||
|
index 53f98c0..f8b3a90 100644
|
||||||
|
--- a/plasma/generic/dataengines/calendar/calendarengine.cpp
|
||||||
|
+++ b/plasma/generic/dataengines/calendar/calendarengine.cpp
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
#include <KCalCore/Event>
|
||||||
|
#include <KCalCore/Todo>
|
||||||
|
#include <KCalCore/Journal>
|
||||||
|
+#include <kdescendantsproxymodel.h>
|
||||||
|
|
||||||
|
#ifdef AKONADI_FOUND
|
||||||
|
#include <Akonadi/ChangeRecorder>
|
||||||
|
@@ -38,6 +39,7 @@
|
||||||
|
#include <Akonadi/Collection>
|
||||||
|
#include <Akonadi/ItemFetchScope>
|
||||||
|
#include <Akonadi/EntityDisplayAttribute>
|
||||||
|
+#include <Akonadi/EntityMimeTypeFilterModel>
|
||||||
|
|
||||||
|
#include "akonadi/calendar.h"
|
||||||
|
#include "akonadi/calendarmodel.h"
|
||||||
|
@@ -341,8 +343,12 @@ void CalendarEngine::initAkonadiCalendar()
|
||||||
|
|
||||||
|
// create the models that contain the data. they will be updated automatically from akonadi.
|
||||||
|
CalendarSupport::CalendarModel *calendarModel = new CalendarSupport::CalendarModel(monitor, this);
|
||||||
|
- calendarModel->setCollectionFetchStrategy(Akonadi::EntityTreeModel::InvisibleCollectionFetch);
|
||||||
|
- m_calendar = new CalendarSupport::Calendar(calendarModel, calendarModel, KSystemTimeZones::local());
|
||||||
|
+ KDescendantsProxyModel *flatModel = new KDescendantsProxyModel(this);
|
||||||
|
+ flatModel->setSourceModel(calendarModel);
|
||||||
|
+ Akonadi::EntityMimeTypeFilterModel *mimeFilteredModel = new Akonadi::EntityMimeTypeFilterModel(this);
|
||||||
|
+ mimeFilteredModel->addMimeTypeExclusionFilter(Akonadi::Collection::mimeType());
|
||||||
|
+ mimeFilteredModel->setSourceModel(flatModel);
|
||||||
|
+ m_calendar = new CalendarSupport::Calendar(mimeFilteredModel, mimeFilteredModel, KSystemTimeZones::local());
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,2 +1 @@
|
|||||||
DIST viewnior-1.0.tar.gz 485993 RMD160 47d0979304fce446cdd5bdd1acbafde3ab28a393 SHA1 91d75f03b8ec24dc5a5c686f32409c720b0fd35c SHA256 dd4aa9ff76710bb75d69dd7f2e9984ba629e6a6faaf562df85a1e2bea9fdbbb5
|
|
||||||
DIST viewnior-1.1.tar.gz 512101 RMD160 af8030e89ea90339d3c38f63f7ecdb69b1fb6717 SHA1 177506883aa5f711dcd9e7aa826d9c7c8dece9bd SHA256 f3826003bae241c068aa469c2d0dec6849da8b973815f570dd6d7addc7c2735d
|
DIST viewnior-1.1.tar.gz 512101 RMD160 af8030e89ea90339d3c38f63f7ecdb69b1fb6717 SHA1 177506883aa5f711dcd9e7aa826d9c7c8dece9bd SHA256 f3826003bae241c068aa469c2d0dec6849da8b973815f570dd6d7addc7c2735d
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer>
|
<maintainer>
|
||||||
<email>ricmm@gentoo.org</email>
|
<email>wired@gentoo.org</email>
|
||||||
<name>Ricardo Mendoza</name>
|
<name>Alex Alexander</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<longdescription lang="en">
|
<longdescription lang="en">
|
||||||
</longdescription>
|
</longdescription>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|
||||||
|
@ -1,39 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/viewnior/viewnior-1.0.ebuild,v 1.3 2010/06/29 08:30:53 fauli Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
inherit fdo-mime gnome2-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Fast and simple image viewer"
|
|
||||||
HOMEPAGE="http://xsisqox.github.com/Viewnior/index.html"
|
|
||||||
SRC_URI="http://cloud.github.com/downloads/xsisqox/Viewnior/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="dev-libs/glib:2
|
|
||||||
x11-libs/gtk+:2
|
|
||||||
x11-misc/shared-mime-info"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "emake install failed"
|
|
||||||
dodoc AUTHORS ChangeLog* TODO README NEWS || die "dodoc failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
}
|
|
@ -1,168 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/opencv-2.3.0-r1.ebuild,v 1.3 2011/10/15 14:29:46 ssuominen Exp $
|
|
||||||
|
|
||||||
EAPI=3
|
|
||||||
|
|
||||||
PYTHON_DEPEND="python? 2:2.6"
|
|
||||||
|
|
||||||
inherit base cmake-utils fortran-2 python
|
|
||||||
|
|
||||||
MY_P=OpenCV-${PV}
|
|
||||||
|
|
||||||
DESCRIPTION="A collection of algorithms and sample code for various computer vision problems"
|
|
||||||
HOMEPAGE="http://opencv.willowgarage.com"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}library/${MY_P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE="cuda doc eigen examples ffmpeg gstreamer gtk ieee1394 ipp jpeg jpeg2k openexr opengl png python qt4 sse sse2 sse3 ssse3 tiff v4l xine"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-arch/bzip2
|
|
||||||
sys-libs/zlib
|
|
||||||
cuda? ( >=dev-util/nvidia-cuda-toolkit-4 )
|
|
||||||
eigen? ( dev-cpp/eigen:2 )
|
|
||||||
ffmpeg? ( virtual/ffmpeg )
|
|
||||||
gstreamer? (
|
|
||||||
media-libs/gstreamer
|
|
||||||
media-libs/gst-plugins-base
|
|
||||||
)
|
|
||||||
gtk? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
x11-libs/gtk+:2
|
|
||||||
)
|
|
||||||
jpeg? ( virtual/jpeg )
|
|
||||||
jpeg2k? ( media-libs/jasper )
|
|
||||||
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
|
||||||
ipp? ( sci-libs/ipp )
|
|
||||||
openexr? ( media-libs/openexr )
|
|
||||||
png? ( media-libs/libpng )
|
|
||||||
python? ( dev-python/numpy )
|
|
||||||
qt4? (
|
|
||||||
x11-libs/qt-gui:4
|
|
||||||
x11-libs/qt-test:4
|
|
||||||
opengl? ( x11-libs/qt-opengl:4 )
|
|
||||||
)
|
|
||||||
tiff? ( media-libs/tiff )
|
|
||||||
v4l? ( >=media-libs/libv4l-0.8.3 )
|
|
||||||
xine? ( media-libs/xine-lib )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( virtual/latex-base )
|
|
||||||
dev-util/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
# REQUIRED_USE="opengl? ( qt )"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-2.3.0-convert_sets_to_options.patch"
|
|
||||||
"${FILESDIR}/${PN}-2.3.0-ffmpeg.patch"
|
|
||||||
"${FILESDIR}/${PN}-2.3.0-numpy.patch"
|
|
||||||
"${FILESDIR}/${PN}-2.3.0-symlink.patch"
|
|
||||||
"${FILESDIR}/${PN}-2.3.0-libpng15.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
CMAKE_BUILD_TYPE="Release"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
fortran-2_pkg_setup
|
|
||||||
if use python; then
|
|
||||||
python_set_active_version 2
|
|
||||||
python_pkg_setup
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
base_src_prepare
|
|
||||||
|
|
||||||
# remove bundled stuff
|
|
||||||
rm -rf 3rdparty
|
|
||||||
sed -i \
|
|
||||||
-e '/add_subdirectory(3rdparty)/ d' \
|
|
||||||
CMakeLists.txt || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
$(cmake-utils_use_build doc DOCS)
|
|
||||||
$(cmake-utils_use_build examples)
|
|
||||||
$(cmake-utils_use examples INSTALL_C_EXAMPLES)
|
|
||||||
$(cmake-utils_use_build python NEW_PYTHON_SUPPORT)
|
|
||||||
$(cmake-utils_use_enable sse SSE)
|
|
||||||
$(cmake-utils_use_enable sse2 SSE2)
|
|
||||||
$(cmake-utils_use_enable sse3 SSE3)
|
|
||||||
$(cmake-utils_use_enable ssse3 SSSE3)
|
|
||||||
$(cmake-utils_use_with ipp)
|
|
||||||
$(cmake-utils_use_with ieee1394 1394)
|
|
||||||
$(cmake-utils_use_with eigen)
|
|
||||||
$(cmake-utils_use_with ffmpeg)
|
|
||||||
$(cmake-utils_use_with gstreamer)
|
|
||||||
$(cmake-utils_use_with gtk)
|
|
||||||
$(cmake-utils_use_with jpeg)
|
|
||||||
$(cmake-utils_use_with jpeg2k JASPER)
|
|
||||||
$(cmake-utils_use_with openexr)
|
|
||||||
$(cmake-utils_use_with png)
|
|
||||||
$(cmake-utils_use_with qt4 QT)
|
|
||||||
$(cmake-utils_use_with opengl QT_OPENGL)
|
|
||||||
$(cmake-utils_use_with tiff)
|
|
||||||
$(cmake-utils_use_with v4l V4L)
|
|
||||||
$(cmake-utils_use_with xine)
|
|
||||||
)
|
|
||||||
|
|
||||||
if use cuda; then
|
|
||||||
if [ "$(gcc-version)" > "4.4" ]; then
|
|
||||||
ewarn "CUDA and >=sys-devel/gcc-4.5 do not play well together. Disabling CUDA support."
|
|
||||||
mycmakeargs+=( "-DWITH_CUDA=OFF" )
|
|
||||||
else
|
|
||||||
mycmakeargs+=( "-DWITH_CUDA=ON" )
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
mycmakeargs+=( "-DWITH_CUDA=OFF" )
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use python && use examples; then
|
|
||||||
mycmakeargs+=( "-DINSTALL_PYTHON_EXAMPLES=ON" )
|
|
||||||
else
|
|
||||||
mycmakeargs+=( "-DINSTALL_PYTHON_EXAMPLES=OFF" )
|
|
||||||
fi
|
|
||||||
|
|
||||||
# things we want to be hard off or not yet figured out
|
|
||||||
# unicap: https://bugs.gentoo.org/show_bug.cgi?id=175881
|
|
||||||
# openni: ???
|
|
||||||
mycmakeargs+=(
|
|
||||||
"-DUSE_OMIT_FRAME_POINTER=OFF"
|
|
||||||
"-DOPENCV_BUILD_3RDPARTY_LIBS=OFF"
|
|
||||||
"-DOPENCV_WARNINGS_ARE_ERRORS=OFF"
|
|
||||||
"-DBUILD_LATEX_DOCS=OFF"
|
|
||||||
"-DENABLE_POWERPC=OFF"
|
|
||||||
"-DBUILD_PACKAGE=OFF"
|
|
||||||
"-DENABLE_PROFILING=OFF"
|
|
||||||
"-DUSE_O2=OFF"
|
|
||||||
"-DUSE_O3=OFF"
|
|
||||||
"-DUSE_FAST_MATH=OFF"
|
|
||||||
"-DENABLE_SSE41=OFF"
|
|
||||||
"-DENABLE_SSE42=OFF"
|
|
||||||
"-DWITH_PVAPI=OFF"
|
|
||||||
"-DWITH_UNICAP=OFF"
|
|
||||||
"-DWITH_TBB=OFF"
|
|
||||||
"-DWITH_OPENNI=OFF"
|
|
||||||
)
|
|
||||||
|
|
||||||
# things we want to be hard enabled not worth useflag
|
|
||||||
mycmakeargs+=(
|
|
||||||
"-DCMAKE_SKIP_RPATH=ON"
|
|
||||||
"-DBUILD_SHARED_LIBS=ON"
|
|
||||||
"-DOPENCV_DOC_INSTALL_PATH=${EPREFIX}/usr/share/doc/${PF}"
|
|
||||||
)
|
|
||||||
|
|
||||||
# hardcode cuda paths
|
|
||||||
mycmakeargs+=(
|
|
||||||
"-DCUDA_NPP_LIBRARY_ROOT_DIR=/opt/cuda"
|
|
||||||
)
|
|
||||||
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue