parent
e63b33355c
commit
dfd9d55f3d
@ -0,0 +1,20 @@
|
||||
--- slime-2.15-orig/slime.el 2015-08-31 07:46:47.000000000 +1000
|
||||
+++ slime-2.15/slime.el 2015-09-17 17:05:53.616659817 +1000
|
||||
@@ -138,16 +138,7 @@
|
||||
"Return the datestring of the latest entry in the ChangeLog file.
|
||||
Return nil if the ChangeLog file cannot be found."
|
||||
(interactive "p")
|
||||
- (let ((changelog (slime--changelog-file-name))
|
||||
- (date nil))
|
||||
- (when (file-exists-p changelog)
|
||||
- (with-temp-buffer
|
||||
- (insert-file-contents-literally changelog nil 0 100)
|
||||
- (goto-char (point-min))
|
||||
- (setq date (symbol-name (read (current-buffer))))))
|
||||
- (when interactivep
|
||||
- (message "Slime ChangeLog dates %s." date))
|
||||
- date)))
|
||||
+ "@SLIME-CHANGELOG-DATE@"))
|
||||
|
||||
(defvar slime-protocol-version nil)
|
||||
(setq slime-protocol-version
|
@ -0,0 +1,126 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
[[ ${PV} = *9999* ]] && GIT_ECLASS="git-r3" || GIT_ECLASS=""
|
||||
|
||||
inherit common-lisp-3 ${GIT_ECLASS} elisp eutils
|
||||
|
||||
DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
|
||||
HOMEPAGE="http://common-lisp.net/project/slime/"
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2 xref? ( xref.lisp )"
|
||||
SLOT="0"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
fi
|
||||
IUSE="doc xref"
|
||||
RESTRICT=test # tests fail to contact sbcl
|
||||
|
||||
RDEPEND="virtual/commonlisp
|
||||
dev-lisp/asdf"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/texinfo-5.1
|
||||
doc? ( virtual/texi2dvi )"
|
||||
|
||||
CLPACKAGE=swank
|
||||
CLSYSTEMS=swank
|
||||
SITEFILE=70${PN}-gentoo.el
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/slime/slime.git"
|
||||
${GIT_ECLASS}_src_unpack
|
||||
fi
|
||||
elisp_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ "${PV}" == "2.11" ]]; then
|
||||
epatch "${FILESDIR}"/2.11/dont-load-sbcl-pprint.patch
|
||||
fi
|
||||
epatch "${FILESDIR}"/2.0_p20130214/gentoo-module-load.patch
|
||||
epatch "${FILESDIR}"/2.0_p20110617/gentoo-dont-call-init.patch
|
||||
has_version ">=app-editors/emacs-24" && rm -f lib/cl-lib.el
|
||||
|
||||
# extract date of last update from ChangeLog, bug 233270
|
||||
SLIME_CHANGELOG_DATE=$(awk '/^[-0-9]+ / { print $1; exit; }' ChangeLog)
|
||||
[ -n "${SLIME_CHANGELOG_DATE}" ] || die "cannot determine ChangeLog date"
|
||||
|
||||
if [[ "${PV}" == "2.11" ]] || [[ "${PV}" == "2.12" ]]; then
|
||||
# SLIME uses the changelog date to make sure that the emacs side and the CL side
|
||||
# are in sync. We hardcode it instead of letting slime determine it at runtime
|
||||
# because ChangeLog doesn't get installed to $EMACSDIR
|
||||
epatch "${FILESDIR}"/2.11/gentoo-changelog-date.patch
|
||||
else
|
||||
epatch "${FILESDIR}"/2.15/gentoo-changelog-date.patch
|
||||
fi
|
||||
|
||||
# When starting slime in emacs, slime looks for ${S}/swank/backend.lisp as
|
||||
# /usr/share/common-lisp/source/swank/swank-backend.lisp
|
||||
pushd swank || die
|
||||
for i in *.lisp
|
||||
do
|
||||
mv ${i} ../swank-${i}
|
||||
done
|
||||
popd
|
||||
|
||||
sed -i "/(defvar \*swank-wire-protocol-version\*/s:nil:\"${SLIME_CHANGELOG_DATE}\":" swank.lisp \
|
||||
|| die "sed swank.lisp failed"
|
||||
sed -i "s:@SLIME-CHANGELOG-DATE@:${SLIME_CHANGELOG_DATE}:" slime.el \
|
||||
|| die "sed slime.el failed"
|
||||
sed -i "s/@itemx INIT-FUNCTION/@item INIT-FUNCTION/" doc/slime.texi \
|
||||
|| die "sed doc/slime.texi failed"
|
||||
|
||||
# Remove xref.lisp (which is non-free) unless USE flag is set
|
||||
use xref || rm -f xref.lisp
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
elisp-compile *.el || die
|
||||
BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
|
||||
elisp-compile contrib/*.el lib/*.el || die
|
||||
emake -j1 -C doc slime.info || die "Cannot build info docs"
|
||||
|
||||
if use doc; then
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
emake -j1 -C doc slime.pdf || die "emake doc failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
## install core
|
||||
elisp-install ${PN} *.{el,elc} "${FILESDIR}"/swank-loader.lisp \
|
||||
|| die "Cannot install SLIME core"
|
||||
sed "s:/usr/:${EPREFIX}&:g" "${FILESDIR}"/2.0_p20110617/${SITEFILE} \
|
||||
>"${T}"/${SITEFILE} || die "sed failed"
|
||||
elisp-site-file-install "${T}"/${SITEFILE} || die
|
||||
cp "${FILESDIR}"/2.0_p20110617/swank.asd "${S}"
|
||||
# remove upstream swank-loader, since it won't be used
|
||||
rm "${S}"/swank-loader.lisp
|
||||
common-lisp-install-sources *.lisp
|
||||
common-lisp-install-asdf swank.asd
|
||||
|
||||
## install contribs
|
||||
elisp-install ${PN}/contrib/ contrib/*.{el,elc,scm,goo} \
|
||||
|| die "Cannot install contribs"
|
||||
common-lisp-install-sources contrib/*.lisp
|
||||
|
||||
## install lib
|
||||
elisp-install ${PN}/lib/ lib/*.{el,elc} \
|
||||
|| die "Cannot install libs"
|
||||
|
||||
## install docs
|
||||
dodoc README.md ChangeLog CONTRIBUTING.md NEWS PROBLEMS
|
||||
newdoc contrib/README.md README-contrib.md
|
||||
newdoc contrib/ChangeLog ChangeLog.contrib
|
||||
doinfo doc/slime.info
|
||||
use doc && dodoc doc/*.pdf
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST texstudio-2.10.0.tar.gz 25674717 SHA256 cb055b5c5d40e129ff6fc87362501f45bdf11a6ee24bd733d9f7f28ae69169e8 SHA512 c8df9f8176e4d776b76efcf9abe1ff56b87e8ea7093b04f1d5766f8c8b4e5aafbdb6f40c811e7e08d3c5c8ae030327767beca2f1e79ff712c2a2a281fe8a6543 WHIRLPOOL 1eef24c4b923cda51a99fb63aa216df59e4605df81dff5bfc86b1a49c1e50f7f46173d38a4965a8640e636beff4a38971a4c6786b125067353a62d5d0a222ed8
|
||||
DIST texstudio-2.10.2.tar.gz 25669897 SHA256 0cf97c752ba30aba8a0536492893b71ed454c62e6a6e34cff65a8a4eeb308e64 SHA512 3c29b2ef0bb8ed290c66802ffc9419f39d5ff5c4905523ee3adb7177f1159739639d5e4eb9d038fd28472c6618e68b7839b9c816da462dd24046691ebcd9796c WHIRLPOOL e66da4486fa17aa940557af75a098cd03eeaefabe2bf16d38589a37fd065c313c911f76d44b7b81054ae8460a93da323d3472139445fa67df21bb661143ba607
|
||||
DIST texstudio-2.8.8.tar.gz 25198033 SHA256 5d00c42425c0d1464438c0c1701508fef281f5dbdd0fbcebdbba9de60ac6db95 SHA512 b4f50368ac4a145ad6cb6c764d2d84ac0c3b0b08903b53390e34fb3a8d2e2c12b72cdf77cf97ea22df94a29438be6db3004f8663e04c5254ae40bf28bc2be152 WHIRLPOOL 08d4af41163ebfa85539001fe540a5f48b86e341d93983a42da03015d00460b30280f5fa08c50c90c97d7e1ed38d324efea666c6640b6bba421cffd832031e27
|
||||
DIST texstudio-2.9.4.tar.gz 25292627 SHA256 dc71590e3745ac193a640667737befd665d549e642e268eec7a8238d3b61b5ea SHA512 6fd35a6490451f9cc3292245857e66d6b0d18d2fb06e0482a8e9bbb8695923c8d3da32a6aa6b8ec591c74ccd81f797ddb958e85db26c90d0096cc678a5f14a49 WHIRLPOOL 9ca5ad727d0096bd986b39b34691167bfafe6ae44c4193fdd1f6f02bdd8c4b8b0cd4ac31af3c1c2833c1ba13f0acf814d3ba14fb0709dc3bbd5ee50729968cdf
|
||||
|
@ -0,0 +1,212 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3 autotools
|
||||
EGIT_REPO_URI="git://git.code.sf.net/p/zsh/code"
|
||||
else
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SRC_URI="http://www.zsh.org/pub/${P}.tar.xz
|
||||
doc? ( http://www.zsh.org/pub/${P}-doc.tar.xz )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="UNIX Shell similar to the Korn shell"
|
||||
HOMEPAGE="http://www.zsh.org/"
|
||||
|
||||
LICENSE="ZSH gdbm? ( GPL-2 )"
|
||||
SLOT="0"
|
||||
IUSE="caps debug doc examples gdbm maildir pcre static unicode"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/ncurses-5.1:0
|
||||
static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
|
||||
caps? ( sys-libs/libcap )
|
||||
pcre? (
|
||||
>=dev-libs/libpcre-3.9
|
||||
static? ( >=dev-libs/libpcre-3.9[static-libs] )
|
||||
)
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
"
|
||||
DEPEND="sys-apps/groff
|
||||
${RDEPEND}"
|
||||
PDEPEND="
|
||||
examples? ( app-doc/zsh-lovers )
|
||||
"
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
DEPEND+=" app-text/yodl
|
||||
doc? (
|
||||
sys-apps/texinfo
|
||||
app-text/texi2html
|
||||
virtual/latex-base
|
||||
)"
|
||||
fi
|
||||
|
||||
src_prepare() {
|
||||
# fix zshall problem with soelim
|
||||
ln -s Doc man1
|
||||
mv Doc/zshall.1 Doc/zshall.1.soelim
|
||||
soelim Doc/zshall.1.soelim > Doc/zshall.1
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-init.d-gentoo-r1.diff
|
||||
|
||||
cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die
|
||||
eprefixify "${T}"/zprofile || die
|
||||
if use prefix ; then
|
||||
sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
|
||||
else
|
||||
sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
|
||||
fi
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
if use static ; then
|
||||
myconf+=( --disable-dynamic )
|
||||
append-ldflags -static
|
||||
fi
|
||||
if use debug ; then
|
||||
myconf+=(
|
||||
--enable-zsh-debug
|
||||
--enable-zsh-mem-debug
|
||||
--enable-zsh-mem-warning
|
||||
--enable-zsh-secure-free
|
||||
--enable-zsh-hash-debug
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
myconf+=( --enable-libs=-liconv )
|
||||
append-ldflags -Wl,-x
|
||||
fi
|
||||
|
||||
econf \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--enable-etcdir="${EPREFIX}"/etc/zsh \
|
||||
--enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help \
|
||||
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
|
||||
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
|
||||
--enable-function-subdirs \
|
||||
--with-tcsetpgrp \
|
||||
$(use_enable maildir maildir-support) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable caps cap) \
|
||||
$(use_enable unicode multibyte) \
|
||||
$(use_enable gdbm ) \
|
||||
"${myconf[@]}"
|
||||
|
||||
if use static ; then
|
||||
# compile all modules statically, see Bug #27392
|
||||
# removed cap and curses because linking failes
|
||||
sed -e "s,link=no,link=static,g" \
|
||||
-e "/^name=zsh\/cap/s,link=static,link=no," \
|
||||
-e "/^name=zsh\/curses/s,link=static,link=no," \
|
||||
-i "${S}"/config.modules || die
|
||||
if ! use gdbm ; then
|
||||
sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
|
||||
"${S}"/config.modules || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999* ]] && use doc ; then
|
||||
emake -C Doc everything
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
addpredict /dev/ptmx
|
||||
local i
|
||||
for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
|
||||
rm "${S}"/Test/${i} || die
|
||||
done
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install.info
|
||||
|
||||
insinto /etc/zsh
|
||||
doins "${T}"/zprofile
|
||||
|
||||
keepdir /usr/share/zsh/site-functions
|
||||
insinto /usr/share/zsh/${PV%_*}/functions/Prompts
|
||||
newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
|
||||
|
||||
local i
|
||||
|
||||
# install miscellaneous scripts (bug #54520)
|
||||
sed -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
|
||||
-e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" \
|
||||
-i {Util,Misc}/* || die
|
||||
for i in Util Misc ; do
|
||||
insinto /usr/share/zsh/${PV%_*}/${i}
|
||||
doins ${i}/*
|
||||
done
|
||||
|
||||
# install header files (bug #538684)
|
||||
insinto /usr/include/zsh
|
||||
doins config.h Src/*.epro
|
||||
for i in Src/{zsh.mdh,*.h} ; do
|
||||
sed -e 's@\.\./config\.h@config.h@' \
|
||||
-e 's@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' \
|
||||
-i "${i}"
|
||||
doins "${i}"
|
||||
done
|
||||
|
||||
dodoc ChangeLog* META-FAQ NEWS README config.modules
|
||||
|
||||
if use doc ; then
|
||||
pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
|
||||
dohtml -r Doc/*
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins Doc/zsh.{dvi,pdf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
docinto StartupFiles
|
||||
dodoc StartupFiles/z*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
echo
|
||||
elog "If you want to enable Portage completions and Gentoo prompt,"
|
||||
elog "emerge app-shells/gentoo-zsh-completions and add"
|
||||
elog " autoload -U compinit promptinit"
|
||||
elog " compinit"
|
||||
elog " promptinit; prompt gentoo"
|
||||
elog "to your ~/.zshrc"
|
||||
echo
|
||||
elog "Also, if you want to enable cache for the completions, add"
|
||||
elog " zstyle ':completion::complete:*' use-cache 1"
|
||||
elog "to your ~/.zshrc"
|
||||
echo
|
||||
elog "Note that a system zprofile startup file is installed. This will override"
|
||||
elog "PATH and possibly other variables that a user may set in ~/.zshenv."
|
||||
elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
|
||||
elog "or other user startup files that are sourced after the system zprofile."
|
||||
echo
|
||||
elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
|
||||
elog "one method is to use a separate path-setting file that is conditionally sourced"
|
||||
elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
|
||||
elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
|
||||
echo
|
||||
elog "See https://wiki.gentoo.org/wiki/Zsh/HOWTO for more introduction documentation."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
CMAKE_MIN_VERSION="2.8.12"
|
||||
|
||||
inherit cmake-multilib eutils multilib
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS+=(
|
||||
/usr/include/mysql/my_config.h
|
||||
)
|
||||
|
||||
# wrap the config script
|
||||
MULTILIB_CHOST_TOOLS=( /usr/bin/mysql_config )
|
||||
|
||||
DESCRIPTION="C client library for MariaDB/MySQL"
|
||||
HOMEPAGE="https://dev.mysql.com/downloads/connector/c/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SRC_URI="mirror://mysql/Downloads/Connector-C/${P}-src.tar.gz"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc64 ~x86"
|
||||
|
||||
SUBSLOT="18"
|
||||
SLOT="0/${SUBSLOT}"
|
||||
IUSE="+ssl static-libs"
|
||||
|
||||
CDEPEND="
|
||||
sys-libs/zlib:=[${MULTILIB_USEDEP}]
|
||||
ssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/mysql[client-libs(+)]
|
||||
!dev-db/mysql-cluster[client-libs(+)]
|
||||
!dev-db/mariadb[client-libs(+)]
|
||||
!dev-db/mariadb-connector-c[mysqlcompat]
|
||||
!dev-db/mariadb-galera[client-libs(+)]
|
||||
!dev-db/percona-server[client-libs(+)]
|
||||
"
|
||||
DEPEND="${CDEPEND}"
|
||||
|
||||
DOCS=( README Docs/ChangeLog )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/openssl-cmake-detection.patch" \
|
||||
"${FILESDIR}/conn-c-includes.patch" \
|
||||
"${FILESDIR}/mysql_com.patch"
|
||||
epatch_user
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
mycmakeargs+=(
|
||||
-DINSTALL_LAYOUT=RPM
|
||||
-DINSTALL_LIBDIR=$(get_libdir)
|
||||
-DWITH_DEFAULT_COMPILER_OPTIONS=OFF
|
||||
-DWITH_DEFAULT_FEATURE_SET=OFF
|
||||
-DENABLED_LOCAL_INFILE=ON
|
||||
-DMYSQL_UNIX_ADDR="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
-DWITH_ZLIB=system
|
||||
-DENABLE_DTRACE=OFF
|
||||
-DWITH_SSL=$(usex ssl system bundled)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.a" -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} && -e "${EROOT}usr/$(get_libdir)/libmysqlclient.so" ]] ; then
|
||||
elog "Due to ABI changes when switching between different client libraries,"
|
||||
elog "revdep-rebuild must find and rebuild all packages linking to libmysqlclient."
|
||||
elog "Please run: revdep-rebuild --library libmysqlclient.so.${SUBSLOT}"
|
||||
ewarn "Failure to run revdep-rebuild may cause issues with other programs or libraries"
|
||||
fi
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
DIST VOS-genpatches-6.1.6.tar.bz2 1224 SHA256 005d960017363d7f0c9807da6f706ec991e48d2c479f92798ee7df9003b7848a SHA512 f99429da6fd4c92252d183b6d1b8caae4910ac93d775c120d67c12925a0eb6ef2ce13a77b27944a2203047965431682a392a2731fc1690cb3f223a65823471c5 WHIRLPOOL 985ad05b55c7ebd1859e1233cb0546247b2ceca0f85b0ffc9212cc8393fbdd4c94af05b521beae08f3c11a838f64bc5b802c5f46dade8568de651929595cdf21
|
||||
DIST VOS-genpatches-6.1.8.tar.bz2 1224 SHA256 005d960017363d7f0c9807da6f706ec991e48d2c479f92798ee7df9003b7848a SHA512 f99429da6fd4c92252d183b6d1b8caae4910ac93d775c120d67c12925a0eb6ef2ce13a77b27944a2203047965431682a392a2731fc1690cb3f223a65823471c5 WHIRLPOOL 985ad05b55c7ebd1859e1233cb0546247b2ceca0f85b0ffc9212cc8393fbdd4c94af05b521beae08f3c11a838f64bc5b802c5f46dade8568de651929595cdf21
|
||||
DIST virtuoso-opensource-6.1.6.tar.gz 113255048 SHA256 c6bfa6817b3dad5f87577b68f4cf554d1bfbff48178a734084ac3dcbcea5a037 SHA512 d423e872bce8737f60a348c89e24f20de5581e7b943856df534b4c86015e50969cbe46fe0c73eb0f1a29a1a45f2d7cebca98564ab38044f1f731f661635ded55 WHIRLPOOL e44df5c484a92d3197c06fb4a3e338bbabfb49e0b087126799bfe0415cd6335dd61fa664f6b50cb4300d554b1519d70b51a1b27a3837faee2dc9df18459b68b1
|
||||
DIST virtuoso-opensource-6.1.8.tar.gz 117756529 SHA256 08d05c6165117de0370e81aa89ddab618e645b5110be301f72e6ffea7044ca50 SHA512 34812406eaa087fa200548c678de748a552a4189f6818df335d80e7680f0376c949cf1d0a2c4caddeafd0d79fac52d21b57b2150297368a7268fc3b83bc0af6b WHIRLPOOL 10bba34ee9a66fa46e3e60defbed7767df23e1bf826d8684c2cf2f7da87c05feb9798fdef85958d3ac81fb66208bed33dbd147d826ccc7b7d3b896133bc332c6
|
@ -1,12 +0,0 @@
|
||||
+++ a/configure.in
|
||||
--- b/configure.in
|
||||
@@ -36,7 +36,7 @@
|
||||
AC_INIT([Virtuoso Open Source Edition],
|
||||
AC_CONFIG_SRCDIR([libsrc/Dk.h])
|
||||
AC_CONFIG_AUX_DIR([binsrc/config])
|
||||
AC_CONFIG_MACRO_DIR([binsrc/config])
|
||||
-AM_CONFIG_HEADER([libsrc/Dk/config.h])
|
||||
+AC_CONFIG_HEADER([libsrc/Dk/config.h])
|
||||
|
||||
dnl
|
||||
dnl You may need to change the next macro for older versions of automake:
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<maintainer>
|
||||
<email>reavertm@gentoo.org</email>
|
||||
<name>Maciej Mrozowski</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>creffett@gentoo.org</email>
|
||||
<name>Chris Reffett</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit virtuoso
|
||||
|
||||
DESCRIPTION="ODBC driver for OpenLink Virtuoso Open-Source Edition"
|
||||
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/openssl-0.9.7i:0
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-6.1.6-am_config_header.patch" )
|
||||
|
||||
VOS_EXTRACT="
|
||||
libsrc/Dk
|
||||
libsrc/Thread
|
||||
libsrc/odbcsdk
|
||||
libsrc/util
|
||||
binsrc/driver
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
myconf+="
|
||||
--disable-static
|
||||
--without-iodbc
|
||||
"
|
||||
|
||||
virtuoso_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default_src_install
|
||||
|
||||
# Remove libtool files
|
||||
find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit virtuoso
|
||||
|
||||
DESCRIPTION="ODBC driver for OpenLink Virtuoso Open-Source Edition"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/openssl-0.9.7i:0
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
VOS_EXTRACT="
|
||||
libsrc/Dk
|
||||
libsrc/Thread
|
||||
libsrc/odbcsdk
|
||||
libsrc/util
|
||||
binsrc/driver
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
myconf+="
|
||||
--disable-static
|
||||
--without-iodbc
|
||||
"
|
||||
|
||||
virtuoso_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default_src_install
|
||||
|
||||
# Remove libtool files
|
||||
find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
DIST VOS-genpatches-6.1.6.tar.bz2 1224 SHA256 005d960017363d7f0c9807da6f706ec991e48d2c479f92798ee7df9003b7848a SHA512 f99429da6fd4c92252d183b6d1b8caae4910ac93d775c120d67c12925a0eb6ef2ce13a77b27944a2203047965431682a392a2731fc1690cb3f223a65823471c5 WHIRLPOOL 985ad05b55c7ebd1859e1233cb0546247b2ceca0f85b0ffc9212cc8393fbdd4c94af05b521beae08f3c11a838f64bc5b802c5f46dade8568de651929595cdf21
|
||||
DIST VOS-genpatches-6.1.8.tar.bz2 1224 SHA256 005d960017363d7f0c9807da6f706ec991e48d2c479f92798ee7df9003b7848a SHA512 f99429da6fd4c92252d183b6d1b8caae4910ac93d775c120d67c12925a0eb6ef2ce13a77b27944a2203047965431682a392a2731fc1690cb3f223a65823471c5 WHIRLPOOL 985ad05b55c7ebd1859e1233cb0546247b2ceca0f85b0ffc9212cc8393fbdd4c94af05b521beae08f3c11a838f64bc5b802c5f46dade8568de651929595cdf21
|
||||
DIST virtuoso-opensource-6.1.6.tar.gz 113255048 SHA256 c6bfa6817b3dad5f87577b68f4cf554d1bfbff48178a734084ac3dcbcea5a037 SHA512 d423e872bce8737f60a348c89e24f20de5581e7b943856df534b4c86015e50969cbe46fe0c73eb0f1a29a1a45f2d7cebca98564ab38044f1f731f661635ded55 WHIRLPOOL e44df5c484a92d3197c06fb4a3e338bbabfb49e0b087126799bfe0415cd6335dd61fa664f6b50cb4300d554b1519d70b51a1b27a3837faee2dc9df18459b68b1
|
||||
DIST virtuoso-opensource-6.1.8.tar.gz 117756529 SHA256 08d05c6165117de0370e81aa89ddab618e645b5110be301f72e6ffea7044ca50 SHA512 34812406eaa087fa200548c678de748a552a4189f6818df335d80e7680f0376c949cf1d0a2c4caddeafd0d79fac52d21b57b2150297368a7268fc3b83bc0af6b WHIRLPOOL 10bba34ee9a66fa46e3e60defbed7767df23e1bf826d8684c2cf2f7da87c05feb9798fdef85958d3ac81fb66208bed33dbd147d826ccc7b7d3b896133bc332c6
|
@ -1,36 +0,0 @@
|
||||
diff -urN virtuoso-opensource-6.1.4.orig/configure.in virtuoso-opensource-6.1.4/configure.in
|
||||
--- virtuoso-opensource-6.1.4.orig/configure.in 2011-11-20 03:38:18.000000000 +0400
|
||||
+++ virtuoso-opensource-6.1.4/configure.in 2011-11-20 03:42:44.000000000 +0400
|
||||
@@ -1550,14 +1550,15 @@
|
||||
then
|
||||
AC_CHECK_HEADER(zlib.h)
|
||||
AC_CHECK_LIB(z, main, [with_zlib=yes], [with_zlib=internal])
|
||||
+ AC_CHECK_LIB(minizip, main, [with_zlib=yes], [with_zlib=internal])
|
||||
fi
|
||||
if test "x$with_zlib" = "xinternal"
|
||||
then
|
||||
ZLIB_INC='-I$(top_srcdir)/libsrc/zlib'
|
||||
ZLIB_LIB='$(top_builddir)/libsrc/zlib/libz.la'
|
||||
else
|
||||
- ZLIB_INC=""
|
||||
- ZLIB_LIB="-lz"
|
||||
+ ZLIB_INC=`pkg-config --cflags zlib minizip`
|
||||
+ ZLIB_LIB=`pkg-config --libs zlib minizip`
|
||||
fi
|
||||
AC_SUBST(ZLIB_INC)
|
||||
AC_SUBST(ZLIB_LIB)
|
||||
diff -urN virtuoso-opensource-6.1.4.orig/libsrc/Wi/bif_file.c virtuoso-opensource-6.1.4/libsrc/Wi/bif_file.c
|
||||
--- virtuoso-opensource-6.1.4.orig/libsrc/Wi/bif_file.c 2011-10-26 17:54:19.000000000 +0400
|
||||
+++ virtuoso-opensource-6.1.4/libsrc/Wi/bif_file.c 2011-11-20 03:44:36.000000000 +0400
|
||||
@@ -6167,10 +6167,7 @@
|
||||
#define fopen64 fopen
|
||||
#endif
|
||||
|
||||
-#include "zlib/contrib/minizip/unzip.h"
|
||||
-#include "zlib/contrib/minizip/ioapi.h"
|
||||
-#include "zlib/contrib/minizip/ioapi.c"
|
||||
-#include "zlib/contrib/minizip/unzip.c"
|
||||
+#include "unzip.h"
|
||||
|
||||
static caddr_t
|
||||
bif_unzip_file (caddr_t * qst, caddr_t * err_ret, state_slot_t ** args)
|
@ -1,12 +0,0 @@
|
||||
+++ a/configure.in
|
||||
--- b/configure.in
|
||||
@@ -36,7 +36,7 @@
|
||||
AC_INIT([Virtuoso Open Source Edition],
|
||||
AC_CONFIG_SRCDIR([libsrc/Dk.h])
|
||||
AC_CONFIG_AUX_DIR([binsrc/config])
|
||||
AC_CONFIG_MACRO_DIR([binsrc/config])
|
||||
-AM_CONFIG_HEADER([libsrc/Dk/config.h])
|
||||
+AC_CONFIG_HEADER([libsrc/Dk/config.h])
|
||||
|
||||
dnl
|
||||
dnl You may need to change the next macro for older versions of automake:
|
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<maintainer>
|
||||
<email>reavertm@gentoo.org</email>
|
||||
<name>Maciej Mrozowski</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>creffett@gentoo.org</email>
|
||||
<name>Chris Reffett</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
OpenLink Virtuoso Open-Source Edition is a new generation of hybrid data server
|
||||
product called a "Universal Server". It implements a wide range of industry
|
||||
standard APIs and protocols, covering a broad range of functionality realms
|
||||
that include: Object-Relational Data Managemtent, Virtualization of
|
||||
Heterogeneous Data Sources (SQL, XML, RDF), Document Web Server (WebDAV/HTTP),
|
||||
Data Web Server (RDF Linked Data Deployment), Web Services Platform, Discussion
|
||||
Server, and many more.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit virtuoso
|
||||
|
||||
DESCRIPTION="Server binaries for Virtuoso, high-performance object-relational SQL database"
|
||||
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="kerberos ldap readline"
|
||||
|
||||
# Bug 305077
|
||||
RESTRICT="test"
|
||||
|
||||
# zeroconf support looks like broken - disabling - last checked around 5.0.12
|
||||
# mono support fetches mono source and compiles it manually - disabling for now
|
||||
# mono? ( dev-lang/mono )
|
||||
COMMON_DEPEND="
|
||||
dev-libs/libxml2:2
|
||||
>=dev-libs/openssl-0.9.7i:0
|
||||
>=sys-libs/zlib-1.2.5.1-r2:0[minizip]
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/gperf-2.7.2
|
||||
sys-apps/gawk
|
||||
>=sys-devel/bison-2.3
|
||||
>=sys-devel/flex-2.5.33
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
~dev-db/virtuoso-odbc-${PV}:${SLOT}
|
||||
"
|
||||
|
||||
VOS_EXTRACT="
|
||||
libsrc/Dk
|
||||
libsrc/Thread
|
||||
libsrc/Tidy
|
||||
libsrc/Wi
|
||||
libsrc/Xml.new
|
||||
libsrc/langfunc
|
||||
libsrc/odbcsdk
|
||||
libsrc/plugin
|
||||
libsrc/util
|
||||
binsrc/virtuoso
|
||||
binsrc/tests
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog CREDITS INSTALL NEWS README )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-6.1.4-unbundle-minizip.patch"
|
||||
"${FILESDIR}/${PN}-6.1.6-am_config_header.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -e '/^lib_LTLIBRARIES\s*=.*/s/lib_/noinst_/' -i binsrc/virtuoso/Makefile.am \
|
||||
|| die "failed to disable installation of static lib"
|
||||
|
||||
virtuoso_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf+="
|
||||
$(use_enable kerberos krb)
|
||||
$(use_enable ldap openldap)
|
||||
$(use_with readline)
|
||||
--disable-static
|
||||
--disable-hslookup
|
||||
--disable-rendezvous
|
||||
--without-iodbc
|
||||
--program-transform-name="s/isql/isql-v/"
|
||||
"
|
||||
|
||||
virtuoso_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default_src_install
|
||||
|
||||
keepdir /var/lib/virtuoso/db
|
||||
}
|
@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit virtuoso
|
||||
|
||||
DESCRIPTION="Server binaries for Virtuoso, high-performance object-relational SQL database"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="kerberos ldap readline"
|
||||
|
||||
# Bug 305077
|
||||
RESTRICT="test"
|
||||
|
||||
# zeroconf support looks like broken - disabling - last checked around 5.0.12
|
||||
# mono support fetches mono source and compiles it manually - disabling for now
|
||||
# mono? ( dev-lang/mono )
|
||||
COMMON_DEPEND="
|
||||
dev-libs/libxml2:2
|
||||
>=dev-libs/openssl-0.9.7i:0
|
||||
>=sys-libs/zlib-1.2.5.1-r2:0[minizip]
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/gperf-2.7.2
|
||||
sys-apps/gawk
|
||||
>=sys-devel/bison-2.3
|
||||
>=sys-devel/flex-2.5.33
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
~dev-db/virtuoso-odbc-${PV}:${SLOT}
|
||||
"
|
||||
|
||||
VOS_EXTRACT="
|
||||
libsrc/Dk
|
||||
libsrc/Thread
|
||||
libsrc/Tidy
|
||||
libsrc/Wi
|
||||
libsrc/Xml.new
|
||||
libsrc/langfunc
|
||||
libsrc/odbcsdk
|
||||
libsrc/plugin
|
||||
libsrc/util
|
||||
binsrc/virtuoso
|
||||
binsrc/tests
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog CREDITS INSTALL NEWS README )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-6.1.4-unbundle-minizip.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -e '/^lib_LTLIBRARIES\s*=.*/s/lib_/noinst_/' -i binsrc/virtuoso/Makefile.am \
|
||||
|| die "failed to disable installation of static lib"
|
||||
|
||||
virtuoso_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf+="
|
||||
$(use_enable kerberos krb)
|
||||
$(use_enable ldap openldap)
|
||||
$(use_with readline)
|
||||
--disable-static
|
||||
--disable-hslookup
|
||||
--disable-rendezvous
|
||||
--without-iodbc
|
||||
--program-transform-name="s/isql/isql-v/"
|
||||
"
|
||||
|
||||
virtuoso_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default_src_install
|
||||
|
||||
keepdir /var/lib/virtuoso/db
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST clojure-1.5.1.tar.gz 540021 SHA256 ee6cc9360e3545a35cdd6a9ae48b5f4034ef2eb2aaa19721df976078952a805b SHA512 8bc4b7098ec11a3cd4d077f32607c5d23118d5f84b88af69b2051c4dd5b17f28f092b77206fba87e23f1163d2d0f7a2c37b1b1ffa1bcfef3ad4c8f74695d71cd WHIRLPOOL e77d13a771903100a3fe6b0ade84375217c5b150498e727a7cef2d856a4004e640e0c95717fb67be6cae1fbab7611189a1f3999726f7bbec43968eef646dcb32
|
||||
DIST clojure-1.6.0.tar.gz 579154 SHA256 70b664b24bd8cc7bf0b5519cfa5fa98424eb3e23303fec04b24a03b8bc4f0b4a SHA512 52bf54d157dae77e71e53bac421daa1bca7ef55b837600c8b04751a545cbed0f04d3718543031d1e5b8ca43e2518d356082b9f8c029c2e318996450cfaee9c81 WHIRLPOOL b79b008773ad678e6418a719183c5b240ad0629d3a32384ec6e5979f0377ba2bd39768f27b71da815342bffbd8bdfa5b66cb24e90cf4f489273b33515f591509
|
||||
DIST clojure-1.7.0.tar.gz 614331 SHA256 51a950b5b67575869a52debbafe52967759757f2e302a0bd42fb56b0e9859a74 SHA512 243d3120fa1a0f559c1f6b4724d0f7ba72e6f6dd009d0849377087e890aa04dba7c119862001d0c543eb0e35ef5c13cc8967ad494ffa9522daa9f8b1dfc77ef1 WHIRLPOOL 6c002d736968bc5af91eb2f8f593ded5ac14582aeecac67d62a9125c1911986313fece4a19e946b742292df1673b787cc1506c7ff22abe3e534e433e1403e35b
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Clojure is a dynamic programming language that targets the Java Virtual Machine"
|
||||
HOMEPAGE="http://clojure.org/"
|
||||
SRC_URI="https://github.com/clojure/clojure/tarball/${P} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0 Apache-2.0 BSD"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
IUSE=""
|
||||
RESTRICT="test" # patches welcome to fix the test
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
|
||||
S=${WORKDIR}/clojure-clojure-147f19e
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P/_/-}.jar
|
||||
java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
|
||||
dodoc changes.md CONTRIBUTING.md readme.txt
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST shared-desktop-ontologies-0.11.0.tar.bz2 3967786 SHA256 82afe6c24cf574f242c1fa85a5daff8c3631cc9b4cbcb80379dce6f364b4bbd4 SHA512 5dfaf0b28ed4ffe8beadac137decf6ce5d881353df5efeedd8f328e6ba8e7d2f02bbae920356abb4baa61388c30f50464eaac1d14b650880b35ac0aa6bd3ecce WHIRLPOOL 833b11c684e42736e029baaf1ea11beffc6517725f76304f1f44674bb0506cfcca72aacf526570c0ff4e0ba28d414ae9e5b7b32b0203b7d98bc19be543b77f16
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
SCM_ECLASS="git-2"
|
||||
fi
|
||||
EGIT_REPO_URI="git://oscaf.git.sourceforge.net/gitroot/oscaf/shared-desktop-ontologies"
|
||||
inherit cmake-utils ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="Shared OSCAF desktop ontologies"
|
||||
HOMEPAGE="http://sourceforge.net/projects/oscaf"
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
SRC_URI="mirror://sourceforge/oscaf/${PN}/${P}.tar.bz2"
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( BSD CC-BY-SA-3.0 )"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DOCS=(AUTHORS ChangeLog README)
|
@ -1 +0,0 @@
|
||||
DIST soprano-2.9.4.tar.bz2 1958856 SHA256 64066fbd54e71d7ae4c8a4116997448a72808a2813cff3bb5d2c28f0fce9e0e5 SHA512 3a907d7fa564cc5641e6d620a46efb3c01f8a141fb3a1afdf72422727d968baf00268c2dce420db24de2e86d3373fdd3473eeabaa736170f76bb2672c8ad80b0 WHIRLPOOL 9d823734f3f983bbc362e13827c0144620422dcb2f54708d3ff2bbae378b2fd17abcb011d3d42c75d5e634a17afdb06fd7840b051827bd6ab030cdec79abfa93
|
@ -1,12 +0,0 @@
|
||||
diff -ru cmake/modules/FindRedland.cmake cmake/modules/FindRedland.cmake
|
||||
--- cmake/modules/FindRedland.cmake 2009-12-18 15:33:44.000000000 +0100
|
||||
+++ cmake/modules/FindRedland.cmake 2010-07-06 03:25:55.421484970 +0200
|
||||
@@ -108,7 +108,7 @@
|
||||
if(NOT "${_TEST_EXITCODE}" EQUAL 0)
|
||||
set(_REDLAND_VERSION_OK)
|
||||
message(STATUS "${_OUTPUT}")
|
||||
- message(STATUS "Redland with broken NEEDED section detected, disabling")
|
||||
+ message(SEND_ERROR "Broken Redland detected, rebuild it now. If problem persists, report bug at bugs.gentoo.org.")
|
||||
endif(NOT "${_TEST_EXITCODE}" EQUAL 0)
|
||||
endif(_REDLAND_STORAGE_LIBS)
|
||||
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<use>
|
||||
<flag name="raptor">Enables support for <pkg>media-libs/raptor</pkg> RDF parser/serializer.</flag>
|
||||
<flag name="redland">Enables support for the <pkg>dev-libs/redland</pkg> storage backend (really slow one).</flag>
|
||||
<flag name="virtuoso">Enables support for <pkg>dev-db/virtuoso</pkg> storage backend.</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">soprano</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
git_eclass="git-2"
|
||||
EGIT_REPO_URI="git://anongit.kde.org/soprano"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
inherit base cmake-utils flag-o-matic ${git_eclass}
|
||||
|
||||
DESCRIPTION="Library that provides a nice Qt interface to RDF storage solution"
|
||||
HOMEPAGE="http://soprano.sourceforge.net"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+dbus debug doc elibc_FreeBSD +raptor +redland test +virtuoso"
|
||||
|
||||
RESTRICT="test"
|
||||
# bug 281712
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-qt/qtcore-4.5.0:4
|
||||
dbus? ( >=dev-qt/qtdbus-4.5.0:4 )
|
||||
raptor? ( >=media-libs/raptor-2.0.4:2 )
|
||||
redland? (
|
||||
>=dev-libs/rasqal-0.9.26
|
||||
>=dev-libs/redland-1.0.14
|
||||
)
|
||||
virtuoso? ( dev-db/libiodbc:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( >=dev-qt/qttest-4.5.0:4 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtuoso? ( >=dev-db/virtuoso-server-6.1.6 )
|
||||
"
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD="1"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.4.4-make-broken-redland-fatal.cmake"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${PV} = *9999* && -z $I_KNOW_WHAT_I_AM_DOING ]]; then
|
||||
echo
|
||||
ewarn "WARNING! This is an experimental ebuild of ${PN} Git tree. Use at your own risk."
|
||||
ewarn "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!"
|
||||
echo
|
||||
fi
|
||||
|
||||
if ! use virtuoso; then
|
||||
echo
|
||||
ewarn "You have explicitly disabled the default soprano backend."
|
||||
ewarn "Applications using soprano may need at least one backend"
|
||||
ewarn "to be functional. If you experience any problems, enable"
|
||||
ewarn "the virtuoso USE flag."
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Fix for missing pthread.h linking
|
||||
# NOTE: temporarily fix until a better cmake files patch will be provided.
|
||||
use elibc_FreeBSD && append-flags -pthread
|
||||
|
||||
local mycmakeargs=(
|
||||
-DSOPRANO_BUILD_TESTS=OFF
|
||||
-DCMAKE_SKIP_RPATH=OFF
|
||||
-DSOPRANO_DISABLE_SESAME2_BACKEND=ON
|
||||
-DSOPRANO_DISABLE_CLUCENE_INDEX=ON
|
||||
$(cmake-utils_use !dbus SOPRANO_DISABLE_DBUS)
|
||||
$(cmake-utils_use !raptor SOPRANO_DISABLE_RAPTOR_PARSER)
|
||||
$(cmake-utils_use !redland SOPRANO_DISABLE_RAPTOR_SERIALIZER)
|
||||
$(cmake-utils_use !redland SOPRANO_DISABLE_REDLAND_BACKEND)
|
||||
$(cmake-utils_use !virtuoso SOPRANO_DISABLE_VIRTUOSO_BACKEND)
|
||||
$(cmake-utils_use doc SOPRANO_BUILD_API_DOCS)
|
||||
$(cmake-utils_use test SOPRANO_BUILD_TESTS)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
newdoc backends/virtuoso/README README.virtuoso
|
||||
newdoc backends/sesame2/README README.sesame2
|
||||
if use doc ; then
|
||||
dohtml -r docs/html/
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST catkin_pkg-0.2.10.tar.gz 44290 SHA256 df4a5e81dbcb42530cb7ccb4007e352f00ee4059de801f868e79949151e96403 SHA512 fe3fb8297319d410c4aa3f86c52ede5eabae4f51e70181b7ee2c6c4db9a576466d9d39970d410c95dd24900c6d9287cf64185aa267891bdb884b37d397807f7e WHIRLPOOL eac3196a9b00938eedb64710683951a3ca7d1d61110aeea5f82b3a863055e25861a8c61b89617d26a68f42a2573630c63e91423bff0e11c86b4f07076090d418
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="http://github.com/ros-infrastructure/catkin_pkg"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Standalone Python library for the catkin package system"
|
||||
HOMEPAGE="http://wiki.ros.org/catkin_pkg"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="
|
||||
http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/ros-infrastructure/catkin_pkg/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] )
|
||||
"
|
||||
PATCHES=( "${FILESDIR}/catkin_prefix.patch" )
|
||||
|
||||
python_test() {
|
||||
nosetests -s --tests test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
# Avoid recursing in the whole hierarchy
|
||||
dodir /usr/
|
||||
touch "${ED}/usr/CATKIN_IGNORE"
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="http://github.com/ros-infrastructure/catkin_pkg"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Standalone Python library for the catkin package system"
|
||||
HOMEPAGE="http://wiki.ros.org/catkin_pkg"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="
|
||||
http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/ros-infrastructure/catkin_pkg/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] )
|
||||
"
|
||||
PATCHES=( "${FILESDIR}/catkin_prefix.patch" )
|
||||
|
||||
python_test() {
|
||||
nosetests -s --tests test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
# Avoid recursing in the whole hierarchy
|
||||
dodir /usr/
|
||||
touch "${ED}/usr/CATKIN_IGNORE"
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
Allow CATKIN_PREFIX_PATH to work as CMAKE_PREFIX_PATH:
|
||||
When building with SYSROOT!=/, CMAKE_PREFIX_PATH is the same as with SYSROOT=/
|
||||
but we need to find packages in SYSROOT.
|
||||
|
||||
Index: catkin_pkg-0.2.8/src/catkin_pkg/workspaces.py
|
||||
===================================================================
|
||||
--- catkin_pkg-0.2.8.orig/src/catkin_pkg/workspaces.py
|
||||
+++ catkin_pkg-0.2.8/src/catkin_pkg/workspaces.py
|
||||
@@ -42,15 +42,16 @@ CATKIN_WORKSPACE_MARKER_FILE = '.catkin_
|
||||
|
||||
def get_spaces(paths=None):
|
||||
"""
|
||||
- Return a list of spaces based on the CMAKE_PREFIX_PATH or passed in list of workspaces.
|
||||
+ Return a list of spaces based on the CMAKE_PREFIX_PATH/CATKIN_PREFIX_PATH or passed in list of workspaces.
|
||||
It resolves the source space for each devel space and ignores non-catkin paths.
|
||||
:param paths_to_order: list of paths
|
||||
:param prefix_paths: list of prefixes, must not end with '/'
|
||||
"""
|
||||
if paths is None:
|
||||
- if 'CMAKE_PREFIX_PATH' not in os.environ:
|
||||
- raise RuntimeError('Neither the environment variable CMAKE_PREFIX_PATH is set nor was a list of paths passed.')
|
||||
+ if 'CMAKE_PREFIX_PATH' not in os.environ and 'CATKIN_PREFIX_PATH' not in os.environ :
|
||||
+ raise RuntimeError('None of the environment variables CMAKE_PREFIX_PATH or CATKIN_PREFIX_PATH are set nor was a list of paths passed.')
|
||||
paths = os.environ['CMAKE_PREFIX_PATH'].split(os.pathsep) if os.environ['CMAKE_PREFIX_PATH'] else []
|
||||
+ paths += os.environ['CATKIN_PREFIX_PATH'].split(os.pathsep) if os.environ['CATKIN_PREFIX_PATH'] else []
|
||||
|
||||
spaces = []
|
||||
for path in paths:
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<herd>ros</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST django-grappelli-2.7.1.tar.gz 1971448 SHA256 81a5dc24fd8e540d5acdb3cfecb44b6787bce328a0e9bd9581b77f7821d256cb SHA512 18afdb0c06360fda2fadb8af7918eb9a18372c964ac14a0faf350424fcd5f945a409adbf972d93ff7d7e89a3c6cda95f9d5e658b5980531e00363655ab2e07be WHIRLPOOL 377240b4fa4af8e9f700bfb6d52939cb4f273a4482b2a13678599d1ebc035a9a3505945a33d3e143949a99ad6f30e38d9a54c0daf4dea6255d606c85a9c755f4
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A jazzy skin for the Django Admin-Interface"
|
||||
HOMEPAGE="
|
||||
https://pypi.python.org/pypi/django-grappelli
|
||||
https://django-grappelli.readthedocs.org
|
||||
https://github.com/sehmaschine/django-grappelli"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
@ -1,8 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">oscaf</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
<name>Justin Lecher</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST rosdistro-0.4.2.tar.gz 50857 SHA256 3d5bf062bd0ecbfef272456f1862a6bb7a4100d8f2ac9b4ce7792dbdcfed7a84 SHA512 24dd08a959918fa44faa465acd22bd8d157b792391a2701ee40997028ea90dd13848f72abf1098930cd4e7b8a162cea1ab28ceb0d82df74167c85c0ef014ad65 WHIRLPOOL 8207d60268282d9075655ec3676179b1e6a7d8b1ee571c5df90d4680f54c345175788d7abbf3c2b78504c491a7453193490574f8e68ca2bdba270b5db8983e2b
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<herd>ros</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdistro"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to work with catkinized rosdistro files"
|
||||
HOMEPAGE="http://wiki.ros.org/rosdistro"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/ros-infrastructure/rosdistro/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
nosetests --with-xunit test || die
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdistro"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to work with catkinized rosdistro files"
|
||||
HOMEPAGE="http://wiki.ros.org/rosdistro"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/ros-infrastructure/rosdistro/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
nosetests --with-xunit test || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST rospkg-1.0.35.tar.gz 88589 SHA256 9ce13cb1d0f470f24cdb7f665d53948fcd0db19be7c8946ad998cbcf3998da30 SHA512 01e59dc3eb8290af661dc54902da950649a81b3caa0b65ad7dba18c0c6d0ba1ed08bec802edbced49f65515f20f1b8db719bfb576eb38c87982386aac22a2e31 WHIRLPOOL 20ebafd588c6cf8598d155cdd6ec76a9f1b7ce1bb9f1a545159a75d4fe5c3621005ea5abb5b15080716439bdec91a943855a564014eee295999126caed5c34e3
|
@ -0,0 +1,64 @@
|
||||
commit c2e06e0ea0b4a1cbb67049ab77a80f53646fb0b2
|
||||
Author: Alexis Ballier <aballier@gentoo.org>
|
||||
Date: Tue Dec 23 12:27:19 2014 +0100
|
||||
|
||||
Add support for rospack_norecurse to avoid recursing into all subdirectories when looking for a package.
|
||||
|
||||
I am installing ros into /usr, hence this searches in /usr/share. I have a lot of directories, not ROS related, into /usr/share (e.g. a full TeX Live install), and I get these timings:
|
||||
|
||||
Without rospack_norecurse in /usr/share:
|
||||
$ time rosversion rospack
|
||||
2.2.5
|
||||
|
||||
real 0m2.861s
|
||||
user 0m1.588s
|
||||
sys 0m1.267s
|
||||
|
||||
With rospack_norecurse in /usr/share:
|
||||
$ time rosversion rospack
|
||||
2.2.5
|
||||
|
||||
real 0m0.135s
|
||||
user 0m0.100s
|
||||
sys 0m0.034s
|
||||
|
||||
This is on a desktop with a SSD drive. On an arm board, with much less packages in /usr/share but way much slower I/O I remember hitting the 10 seconds timeout for roscore to start.
|
||||
|
||||
diff --git a/src/rospkg/rospack.py b/src/rospkg/rospack.py
|
||||
index e55acec..7ed98de 100644
|
||||
--- a/src/rospkg/rospack.py
|
||||
+++ b/src/rospkg/rospack.py
|
||||
@@ -42,7 +42,7 @@ from .stack import parse_stack_file, InvalidStack
|
||||
_cache_lock = Lock()
|
||||
|
||||
|
||||
-def list_by_path(manifest_name, path, cache):
|
||||
+def list_by_path(manifest_name, path, cache, recurse=True):
|
||||
"""
|
||||
List ROS stacks or packages within the specified path.
|
||||
|
||||
@@ -53,6 +53,7 @@ def list_by_path(manifest_name, path, cache):
|
||||
:param manifest_name: MANIFEST_FILE or STACK_FILE, ``str``
|
||||
:param path: path to list resources in, ``str``
|
||||
:param cache: path cache to update. Maps resource name to directory path, ``{str: str}``
|
||||
+ :param recurse: search recursively in subdirectories ``bool``
|
||||
:returns: complete list of resources in ROS environment, ``[str]``
|
||||
"""
|
||||
resources = []
|
||||
@@ -89,9 +90,15 @@ def list_by_path(manifest_name, path, cache):
|
||||
# optimization for stacks.
|
||||
del dirs[:]
|
||||
continue #leaf
|
||||
- elif 'rospack_nosubdirs' in files:
|
||||
+ elif 'rospack_nosubdirs' in files or not recurse:
|
||||
del dirs[:]
|
||||
continue #leaf
|
||||
+ elif 'rospack_norecurse' in files:
|
||||
+ for sd in dirs:
|
||||
+ spath = os.path.join(d, sd)
|
||||
+ resources += list_by_path(manifest_name, spath, cache, False)
|
||||
+ del dirs[:]
|
||||
+ continue
|
||||
# remove hidden dirs (esp. .svn/.git)
|
||||
[dirs.remove(di) for di in dirs if di[0] == '.']
|
||||
return resources
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<herd>ros</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="http://github.com/ros-infrastructure/rospkg"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Standalone Python library for the ROS package system"
|
||||
HOMEPAGE="http://wiki.ros.org/rospkg"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
# Needed for tests
|
||||
S="${WORKDIR}/${PN}"
|
||||
EGIT_CHECKOUT_DIR="${S}"
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/norecurse.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
nosetests --with-coverage --cover-package=rospkg --with-xunit test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
# Avoid recursing into /usr/share when looking for packages.
|
||||
dodir /usr/share
|
||||
touch "${ED}/usr/share/rospack_norecurse"
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="http://github.com/ros-infrastructure/rospkg"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Standalone Python library for the ROS package system"
|
||||
HOMEPAGE="http://wiki.ros.org/rospkg"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
# Needed for tests
|
||||
S="${WORKDIR}/${PN}"
|
||||
EGIT_CHECKOUT_DIR="${S}"
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/norecurse.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
nosetests --with-coverage --cover-package=rospkg --with-xunit test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
# Avoid recursing into /usr/share when looking for packages.
|
||||
dodir /usr/share
|
||||
touch "${ED}/usr/share/rospack_norecurse"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST vcstools-0.1.37.tar.gz 54213 SHA256 8d66379c5e5772a42b9680c9120a718bdc904745be22096d1f2bd5934cd625fc SHA512 c2992fd9977dd5cb0090319b828add26f60769bb7649d873e8edcac45c23a913667cde31f7ab658d5ce7de82930a5eb0ea9083994ea93b6ee9433966e70ee7b2 WHIRLPOOL aea89a863217ad09e2d183aa04f5c5173f6e7330ff2bfa1e713ab910f3ad0017e95fbf69c1cd94c10e20b7baa5974ad40fe9efda546860ef2a35f100808eb09e
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<herd>ros</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/vcstools/vcstools"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Python library for interacting with various VCS systems"
|
||||
HOMEPAGE="http://wiki.ros.org/vcstools"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/vcstools/vcstools/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
dev-vcs/bzr
|
||||
dev-vcs/mercurial
|
||||
dev-vcs/subversion
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
# From travis.yml
|
||||
# Set git config to silence some stuff in the tests
|
||||
git config --global user.email "foo@example.com"
|
||||
git config --global user.name "Foo Bar"
|
||||
# Set the hg user
|
||||
echo -e "[ui]\nusername = Your Name <your@mail.com>" >> ~/.hgrc
|
||||
# Set the bzr user
|
||||
bzr whoami "Your Name <name@example.com>"
|
||||
#git config --global user.email "you@example.com"
|
||||
#git config --global user.name "Your Name"
|
||||
|
||||
nosetests --with-coverage --cover-package vcstools || die
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/vcstools/vcstools"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Python library for interacting with various VCS systems"
|
||||
HOMEPAGE="http://wiki.ros.org/vcstools"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/vcstools/vcstools/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
dev-vcs/bzr
|
||||
dev-vcs/mercurial
|
||||
dev-vcs/subversion
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
# From travis.yml
|
||||
# Set git config to silence some stuff in the tests
|
||||
git config --global user.email "foo@example.com"
|
||||
git config --global user.name "Foo Bar"
|
||||
# Set the hg user
|
||||
echo -e "[ui]\nusername = Your Name <your@mail.com>" >> ~/.hgrc
|
||||
# Set the bzr user
|
||||
bzr whoami "Your Name <name@example.com>"
|
||||
#git config --global user.email "you@example.com"
|
||||
#git config --global user.name "Your Name"
|
||||
|
||||
nosetests --with-coverage --cover-package vcstools || die
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Ruby library for compiling and serving web assets"
|
||||
HOMEPAGE="https://github.com/rails/sprockets"
|
||||
SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
=dev-ruby/rack-1*:*
|
||||
!!<dev-ruby/sprockets-2.12.3-r1:2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/json
|
||||
dev-ruby/rack-test
|
||||
=dev-ruby/coffee-script-2*
|
||||
=dev-ruby/execjs-2*
|
||||
=dev-ruby/sass-3* >=dev-ruby/sass-3.1
|
||||
dev-ruby/uglifier
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid tests for template types that we currently don't package:
|
||||
# eco and ejs.
|
||||
sed -i -e '/eco templates/,/end/ s:^:#:' \
|
||||
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
|
||||
sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die
|
||||
rm -f test/test_require.rb test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Make sure we have completely separate copies. Hardlinks won't work
|
||||
# for this test suite.
|
||||
cp -R test test-new || die
|
||||
rm -rf test || die
|
||||
mv test-new test || die
|
||||
|
||||
each_fakegem_test
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST catkin-0.6.14.tar.gz 197628 SHA256 0ca265803be8a2c1b6036d67ed63505551f4bbc02fa6cb8180dc3167b9f3afc9 SHA512 e2aec7bfbef0f103d96c71408917823cd80e205c021bcd78c018eb2aaaabff04bc268f661ada52963929726e0a986115cbe2c4d791cfa4542a20f7841cd74372 WHIRLPOOL 18a4173b5536da3ec6f7395c39f382b03d173e878b81ffef7d224d2828d6930099a74e08a6299b09a68bd56de87e4be225a735cc8a423b8a0b810cd92b1a5e1d
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="http://github.com/ros/catkin"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit ${SCM} cmake-utils python-r1 python-utils-r1
|
||||
|
||||
DESCRIPTION="Cmake macros and associated python code used to build some parts of ROS"
|
||||
HOMEPAGE="http://wiki.ros.org/catkin"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://github.com/ros/catkin/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/empy[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/tests.patch"
|
||||
"${FILESDIR}/distutils.patch"
|
||||
"${FILESDIR}/catkin_prefix_path.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fix libdir
|
||||
sed -i \
|
||||
-e 's:LIBEXEC_DESTINATION lib:LIBEXEC_DESTINATION libexec:' \
|
||||
-e 's:}/lib:}/${CMAKE_INSTALL_LIBDIR}:' \
|
||||
-e 's:DESTINATION lib):DESTINATION ${CMAKE_INSTALL_LIBDIR}):' \
|
||||
-e 's:DESTINATION lib/:DESTINATION ${CMAKE_INSTALL_LIBDIR}/:' \
|
||||
-e 's:PYTHON_INSTALL_DIR lib:PYTHON_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}:' \
|
||||
cmake/*.cmake || die
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
catkin_src_configure_internal() {
|
||||
mycmakeargs+=( -DPYTHON_EXECUTABLE="${PYTHON}" )
|
||||
python_export PYTHON_SCRIPTDIR
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"$(cmake-utils_use test CATKIN_ENABLE_TESTING)"
|
||||
"-DCATKIN_BUILD_BINARY_PACKAGE=ON"
|
||||
)
|
||||
python_foreach_impl catkin_src_configure_internal
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset PYTHON_SCRIPTDIR
|
||||
python_foreach_impl cmake-utils_src_test
|
||||
}
|
||||
|
||||
catkin_src_install_internal() {
|
||||
python_export PYTHON_SCRIPTDIR
|
||||
cmake-utils_src_install
|
||||
if [ ! -f "${T}/.catkin_python_symlinks_generated" ]; then
|
||||
dodir /usr/bin
|
||||
for i in "${D}/${PYTHON_SCRIPTDIR}"/* ; do
|
||||
dosym ../lib/python-exec/python-exec2 "/usr/bin/${i##*/}" || die
|
||||
done
|
||||
touch "${T}/.catkin_python_symlinks_generated"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl catkin_src_install_internal
|
||||
# needed to be considered as a workspace
|
||||
touch "${ED}/usr/.catkin"
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="http://github.com/ros/catkin"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit ${SCM} cmake-utils python-r1 python-utils-r1
|
||||
|
||||
DESCRIPTION="Cmake macros and associated python code used to build some parts of ROS"
|
||||
HOMEPAGE="http://wiki.ros.org/catkin"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://github.com/ros/catkin/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/empy[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/tests.patch"
|
||||
"${FILESDIR}/distutils.patch"
|
||||
"${FILESDIR}/catkin_prefix_path.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fix libdir
|
||||
sed -i \
|
||||
-e 's:LIBEXEC_DESTINATION lib:LIBEXEC_DESTINATION libexec:' \
|
||||
-e 's:}/lib:}/${CMAKE_INSTALL_LIBDIR}:' \
|
||||
-e 's:DESTINATION lib):DESTINATION ${CMAKE_INSTALL_LIBDIR}):' \
|
||||
-e 's:DESTINATION lib/:DESTINATION ${CMAKE_INSTALL_LIBDIR}/:' \
|
||||
-e 's:PYTHON_INSTALL_DIR lib:PYTHON_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}:' \
|
||||
cmake/*.cmake || die
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
catkin_src_configure_internal() {
|
||||
mycmakeargs+=( -DPYTHON_EXECUTABLE="${PYTHON}" )
|
||||
python_export PYTHON_SCRIPTDIR
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"$(cmake-utils_use test CATKIN_ENABLE_TESTING)"
|
||||
"-DCATKIN_BUILD_BINARY_PACKAGE=ON"
|
||||
)
|
||||
python_foreach_impl catkin_src_configure_internal
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset PYTHON_SCRIPTDIR
|
||||
python_foreach_impl cmake-utils_src_test
|
||||
}
|
||||
|
||||
catkin_src_install_internal() {
|
||||
python_export PYTHON_SCRIPTDIR
|
||||
cmake-utils_src_install
|
||||
if [ ! -f "${T}/.catkin_python_symlinks_generated" ]; then
|
||||
dodir /usr/bin
|
||||
for i in "${D}/${PYTHON_SCRIPTDIR}"/* ; do
|
||||
dosym ../lib/python-exec/python-exec2 "/usr/bin/${i##*/}" || die
|
||||
done
|
||||
touch "${T}/.catkin_python_symlinks_generated"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl catkin_src_install_internal
|
||||
# needed to be considered as a workspace
|
||||
touch "${ED}/usr/.catkin"
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
Allow CATKIN_PREFIX_PATH to override/complement CMAKE_PREFIX_PATH.
|
||||
This serves two goals: when SYSROOT!=/, CMAKE_PREFIX_PATH is the same as when
|
||||
SYSROOT=/ but we need to find packages in SYSROOT/CMAKE_PREFIX_PATH.
|
||||
|
||||
Moreover, this allows to set CATKIN_PREFIX_PATH in global environment so that
|
||||
ROS packages are properly configured without needed to source a shellrc file in
|
||||
every shell session. This can't be done with CMAKE_PREFIX_PATH which is way too
|
||||
generic.
|
||||
|
||||
Index: catkin-0.6.9/cmake/all.cmake
|
||||
===================================================================
|
||||
--- catkin-0.6.9.orig/cmake/all.cmake
|
||||
+++ catkin-0.6.9/cmake/all.cmake
|
||||
@@ -52,7 +52,11 @@ set(CMAKE_PREFIX_PATH_AS_IS ${CMAKE_PREF
|
||||
|
||||
# list of unique catkin workspaces based on CMAKE_PREFIX_PATH
|
||||
set(CATKIN_WORKSPACES "")
|
||||
-foreach(path ${CMAKE_PREFIX_PATH})
|
||||
+if(NOT DEFINED CATKIN_PREFIX_PATH)
|
||||
+ set(CATKIN_PREFIX_PATH ${CMAKE_PREFIX_PATH})
|
||||
+endif()
|
||||
+
|
||||
+foreach(path ${CATKIN_PREFIX_PATH})
|
||||
if(EXISTS "${path}/.catkin")
|
||||
list(FIND CATKIN_WORKSPACES ${path} _index)
|
||||
if(_index EQUAL -1)
|
||||
Index: catkin-0.6.11/python/catkin/workspace.py
|
||||
===================================================================
|
||||
--- catkin-0.6.11.orig/python/catkin/workspace.py
|
||||
+++ catkin-0.6.11/python/catkin/workspace.py
|
||||
@@ -44,7 +44,7 @@ def get_workspaces():
|
||||
"""
|
||||
# get all cmake prefix paths
|
||||
env_name = 'CMAKE_PREFIX_PATH'
|
||||
- paths = [path for path in os.environ.get(env_name, '').split(os.pathsep) if path]
|
||||
+ paths = [path for path in os.environ.get(env_name, '').split(os.pathsep) + os.environ.get('CATKIN_PREFIX_PATH', '').split(os.pathsep) if path]
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))]
|
||||
return workspaces
|
||||
Index: catkin-0.6.9/cmake/catkinConfig.cmake.in
|
||||
===================================================================
|
||||
--- catkin-0.6.9.orig/cmake/catkinConfig.cmake.in
|
||||
+++ catkin-0.6.9/cmake/catkinConfig.cmake.in
|
||||
@@ -64,6 +64,11 @@ if(catkin_FIND_COMPONENTS)
|
||||
|
||||
# get search paths from CMAKE_PREFIX_PATH (which includes devel space)
|
||||
set(paths "")
|
||||
+ foreach(path ${CATKIN_PREFIX_PATH})
|
||||
+ if(IS_DIRECTORY ${path}/share/${component}/cmake)
|
||||
+ list(APPEND paths ${path}/share/${component}/cmake)
|
||||
+ endif()
|
||||
+ endforeach()
|
||||
foreach(path ${CMAKE_PREFIX_PATH})
|
||||
if(IS_DIRECTORY ${path}/share/${component}/cmake)
|
||||
list(APPEND paths ${path}/share/${component}/cmake)
|
@ -0,0 +1,13 @@
|
||||
Allow to install scripts in PYTHON_SCRIPTDIR.
|
||||
Needed for Gentoo multi-python support.
|
||||
|
||||
Index: catkin-0.6.11/cmake/templates/python_distutils_install.sh.in
|
||||
===================================================================
|
||||
--- catkin-0.6.11.orig/cmake/templates/python_distutils_install.sh.in
|
||||
+++ catkin-0.6.11/cmake/templates/python_distutils_install.sh.in
|
||||
@@ -25,4 +25,4 @@ cd "@INSTALL_CMD_WORKING_DIRECTORY@"
|
||||
build --build-base "@CMAKE_CURRENT_BINARY_DIR@" \
|
||||
install \
|
||||
$DESTDIR_ARG \
|
||||
- @SETUPTOOLS_ARG_EXTRA@ --prefix="@CMAKE_INSTALL_PREFIX@" --install-scripts="@CMAKE_INSTALL_PREFIX@/@CATKIN_GLOBAL_BIN_DESTINATION@"
|
||||
+ @SETUPTOOLS_ARG_EXTRA@ --prefix="@CMAKE_INSTALL_PREFIX@" --install-scripts="${PYTHON_SCRIPTDIR:-@CMAKE_INSTALL_PREFIX@/@CATKIN_GLOBAL_BIN_DESTINATION@}"
|
@ -0,0 +1,40 @@
|
||||
Fix tests.
|
||||
Allow them to run even with CATKIN_BUILD_BINARY_PACKAGE set.
|
||||
|
||||
Index: catkin-0.6.9/cmake/test/tests.cmake
|
||||
===================================================================
|
||||
--- catkin-0.6.9.orig/cmake/test/tests.cmake
|
||||
+++ catkin-0.6.9/cmake/test/tests.cmake
|
||||
@@ -40,9 +40,6 @@ if(DEFINED CATKIN_ENABLE_TESTING AND NOT
|
||||
return()
|
||||
endif()
|
||||
|
||||
-# do not enable ctest's on the farm, since they are automatically executed by the current rules files
|
||||
-# and since the tests have not been build rostests would hang forever
|
||||
-if(NOT CATKIN_BUILD_BINARY_PACKAGE)
|
||||
# do not enable ctest's for dry packages, since they have a custom test target which must not be overwritten
|
||||
if(NOT ROSBUILD_init_called)
|
||||
message(STATUS "Call enable_testing()")
|
||||
@@ -50,9 +47,6 @@ if(NOT CATKIN_BUILD_BINARY_PACKAGE)
|
||||
else()
|
||||
message(STATUS "Skip enable_testing() for dry packages")
|
||||
endif()
|
||||
-else()
|
||||
- message(STATUS "Skip enable_testing() when building binary package")
|
||||
-endif()
|
||||
|
||||
# allow overriding CATKIN_TEST_RESULTS_DIR when explicitly passed to CMake as a command line argument
|
||||
if(DEFINED CATKIN_TEST_RESULTS_DIR)
|
||||
Index: catkin-9999/test/utils.py
|
||||
===================================================================
|
||||
--- catkin-9999.orig/test/utils.py
|
||||
+++ catkin-9999/test/utils.py
|
||||
@@ -189,6 +189,8 @@ class AbstractCatkinWorkspaceTest(unitte
|
||||
prefix_path = self.installdir
|
||||
args += ["-DCMAKE_PREFIX_PATH=%s" % (prefix_path)]
|
||||
|
||||
+ args += ["-DCMAKE_INSTALL_LIBDIR=lib"]
|
||||
+
|
||||
if not os.path.isdir(this_builddir):
|
||||
os.makedirs(this_builddir)
|
||||
cmd = ["cmake", this_srcdir] + args
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
</pkgmetadata>
|
@ -1,8 +1,3 @@
|
||||
DIST cuda_5.5.22_linux_32.run 686412076 SHA256 0e7aad303807bb0ede8f6f6e825cfcd0f9ddb677bc8cc898ec38990b8226778d SHA512 e2e4fbc78c2e6373b3f81778d8044b299429459e8e27632e86c0d97e6fe7f4db7cd5652044beb0ce7ee3c7abaa7dcec7d85639a2de4b9cc213ab52a2d204aa6b WHIRLPOOL e5df7de03aaec8488a7fa093e272d64b5d3adaedca1458c550d4ae9c6bf2a0ead71496c8a0c9aac966500aa01401e95cc57a951e3a2554e8d823b97c10336850
|
||||
DIST cuda_5.5.22_linux_64.run 849417929 SHA256 b997e1dbe95704e0e806e0cedc5fd370a385351fef565c7bae0917baf3a29aa4 SHA512 25233b34a35fdb5ee3479a87c89484a00dcd760837436c263c3eb8731cbd24a9ed3fb57ce2d4e5bf7cd31abb9b0d990b45720a5f6a376b2488de4506a7c57c20 WHIRLPOOL 550594121a53feae4e74a4dc9ba40c4cd2ac91305f23397cd7ea421fcb801e3ce8fcf90f439c966accca44d586bc51d85ef3e211f35fd751dc9299dd07d65175
|
||||
DIST cuda_6.5.14_linux_32.run 76788277 SHA256 63fa1fe5d013e9944d6c1a3a71768fa4dcb35d6a157c1b06765bb56198c205c5 SHA512 89649ee0f4543b37037b7c8f5ed0b8bd502512afb4d93e3158b3df4786123be05a5288986b5abbfe15c14eb010777d2527b715225bea96a354a898c34e4a2fcc WHIRLPOOL c1094dd84883ef08d91c6eec3634a285496418db1e76b70f449f833dcb01069a620af504b6df7fe2752559688ed1f60f4adda8c97d849d648cba1be0f8196954
|
||||
DIST cuda_6.5.14_linux_64.run 972320904 SHA256 f3e527f34f317314fe8fcd8c85f10560729069298c0f73105ba89225db69da48 SHA512 fecca731b86955f5bc7b09d88b02951e3ee5d4b1f1cf5f92658227a029b87cd35d6ac22956a5fa0afe62dcdc57191f1d12bb08c9f7cc05128727cd8455947b1e WHIRLPOOL 0b890771dcca352168fed1b1df9b29504b03f8c29da59cec29914c541283998edf65f5ca6a41362143a2d5d7359822b036894f563c56b39583b1ac4c64e35180
|
||||
DIST cuda_6.5.19_linux_32.run 81882112 SHA256 9f767f38b84f52c097bec81669f99e4a6c4c9c09b5da1bc09fe49e0f804bc7a6 SHA512 1ce9bd6b472b7e4f1fb181eb340dfcb757714d59a89aaa02146cfe1a97c8ccb7eb7699b4ec823276f277eb4d82d95050eaba17e7ed5fd2e47b9b5d78531c5d4e WHIRLPOOL ac94b4e7f29811b4240623fb69b3c54214e7f0c60a286d899944dbab9da7fd3c122760199a3357667e33879bd48fbf352d5d39029acca6021e7caf21785557ed
|
||||
DIST cuda_6.5.19_linux_64.run 982446238 SHA256 5279bc159b72b7445d8aae5f289d24bb4042c35422ef32da68049d8f666d3ff5 SHA512 06854f020a5f72cf4bd714859e6966248ac2f589284113674e869fdaa1254cae27d4101940758ecda5df4724ad3e448a1f6d0c053b6cbc28107750872b6a5797 WHIRLPOOL 6ae8e53719e12997de60ec3688167f3fe33b1145d01217182e39ac386c25b358c8ba6cee45ad6c80e33ef66fd9a511338dce4589f10a31635b8437b6e528fd7a
|
||||
DIST cuda_7.0.28_linux.run 1118797679 SHA256 d1292e9c2bbaddad24c46e0b0d15a7130831bfac0382f7159321f41ae385a5ce SHA512 f002433133e40000cbb78283e08c25f7397612957c0440605311f8921bcebd54a808069ca36b218be66a054e8afab4871b2bf1bd4d419c6f98a0d74b00a9bc78 WHIRLPOOL dcf21d2e356a1797b9e79ac9edfb3924a1d4a2914382dbe21b2172c200dd4f7d93905ac44fbc2e994ce14b7ab28e78163f4c81ddcc6cbb97e4ce085efd2d8475
|
||||
DIST cuda_7.5.18_linux.run 1195431560 SHA256 245ffb6c1e2b69d323f8ae3a1b63d3384fec3934222e56e9d801ecc0d6e919c5 SHA512 cb933512fde09376b1d6040c72d24c4f91dc44f73322ca87aa7d1f34156c9c87feea41f9a00f1a403cfb89645b5e7a6a5f2bfe4933703ba81f0cf94968d430fd WHIRLPOOL b1a06acba02043fabf496ba683fb984b1c90df2cd71396457f664beb8cb26b2e3074c8568ec6ce0cfe565721986670c7a40351a29a4856a7e03268c14d545247
|
||||
|
@ -1,111 +0,0 @@
|
||||
diff -Naurp sdk/common/inc/cmd_arg_reader.h sdk-fixed/common/inc/cmd_arg_reader.h
|
||||
--- sdk/common/inc/cmd_arg_reader.h 2008-09-02 22:17:26.000000000 +0200
|
||||
+++ sdk-fixed/common/inc/cmd_arg_reader.h 2008-10-15 22:10:45.000000000 +0200
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
+#include <typeinfo>
|
||||
|
||||
// includes, project
|
||||
#include <exception.h>
|
||||
diff -Naurp sdk/common/inc/exception.h sdk-fixed/common/inc/exception.h
|
||||
--- sdk/common/inc/exception.h 2008-09-02 22:17:26.000000000 +0200
|
||||
+++ sdk-fixed/common/inc/exception.h 2008-10-15 23:57:46.000000000 +0200
|
||||
@@ -32,6 +32,7 @@
|
||||
#define _EXCEPTION_H_
|
||||
|
||||
// includes, system
|
||||
+#include <cstdlib>
|
||||
#include <exception>
|
||||
#include <stdexcept>
|
||||
#include <iostream>
|
||||
diff -Naurp sdk/common/src/cmd_arg_reader.cpp sdk-fixed/common/src/cmd_arg_reader.cpp
|
||||
--- sdk/common/src/cmd_arg_reader.cpp 2008-09-02 22:17:26.000000000 +0200
|
||||
+++ sdk-fixed/common/src/cmd_arg_reader.cpp 2008-10-15 22:10:23.000000000 +0200
|
||||
@@ -35,6 +35,8 @@
|
||||
// includes, system
|
||||
#include <vector>
|
||||
|
||||
+#include <typeinfo>
|
||||
+
|
||||
// internal unnamed namespace
|
||||
|
||||
namespace
|
||||
diff -Naurp sdk/common/src/cutil.cpp sdk-fixed/common/src/cutil.cpp
|
||||
--- sdk/common/src/cutil.cpp 2008-09-02 22:17:26.000000000 +0200
|
||||
+++ sdk-fixed/common/src/cutil.cpp 2008-10-15 23:56:15.000000000 +0200
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <cutil.h>
|
||||
|
||||
// includes, system
|
||||
+#include <cstring>
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
diff -Naurp sdk/common/src/paramgl.cpp sdk-fixed/common/src/paramgl.cpp
|
||||
--- sdk/common/src/paramgl.cpp 2008-09-02 22:17:26.000000000 +0200
|
||||
+++ sdk-fixed/common/src/paramgl.cpp 2008-10-15 23:58:10.000000000 +0200
|
||||
@@ -4,6 +4,7 @@
|
||||
sgg 8/2001
|
||||
*/
|
||||
|
||||
+#include <cstring>
|
||||
#include <param.h>
|
||||
#include <paramgl.h>
|
||||
|
||||
diff -Naurp sdk/Makefile sdk-fixed/Makefile
|
||||
--- sdk/Makefile 2008-09-02 22:17:26.000000000 +0200
|
||||
+++ sdk-fixed/Makefile 2008-10-16 13:42:42.000000000 +0200
|
||||
@@ -2,32 +2,32 @@
|
||||
PROJECTS := $(shell find projects -name Makefile)
|
||||
|
||||
%.ph_build : lib/libcutil.so lib/libparamgl.so lib/librendercheckgl.so
|
||||
- make -C $(dir $*) $(MAKECMDGOALS)
|
||||
+ $(MAKE) -C $(dir $*) $(MAKECMDGOALS)
|
||||
|
||||
%.ph_clean :
|
||||
- make -C $(dir $*) clean $(USE_DEVICE)
|
||||
+ $(MAKE) -C $(dir $*) clean $(USE_DEVICE)
|
||||
|
||||
%.ph_clobber :
|
||||
- make -C $(dir $*) clobber $(USE_DEVICE)
|
||||
+ $(MAKE) -C $(dir $*) clobber $(USE_DEVICE)
|
||||
|
||||
all: $(addsuffix .ph_build,$(PROJECTS))
|
||||
@echo "Finished building all"
|
||||
|
||||
lib/libcutil.so:
|
||||
- @make -C common
|
||||
+ @$(MAKE) -C common
|
||||
|
||||
lib/libparamgl.so:
|
||||
- @make -C common -f Makefile_paramgl
|
||||
+ @$(MAKE) -C common -f Makefile_paramgl
|
||||
|
||||
lib/librendercheckgl.so:
|
||||
- @make -C common -f Makefile_rendercheckgl
|
||||
+ @$(MAKE) -C common -f Makefile_rendercheckgl
|
||||
|
||||
tidy:
|
||||
@find | egrep "#" | xargs rm -f
|
||||
@find | egrep "\~" | xargs rm -f
|
||||
|
||||
clean: tidy $(addsuffix .ph_clean,$(PROJECTS))
|
||||
- @make -C common clean
|
||||
+ @$(MAKE) -C common clean
|
||||
|
||||
clobber: clean $(addsuffix .ph_clobber,$(PROJECTS))
|
||||
- @make -C common clobber
|
||||
+ @$(MAKE) -C common clobber
|
||||
diff -Naurp sdk/projects/cppIntegration/main.cpp sdk-fixed/projects/cppIntegration/main.cpp
|
||||
--- sdk/projects/cppIntegration/main.cpp 2008-09-02 22:17:33.000000000 +0200
|
||||
+++ sdk-fixed/projects/cppIntegration/main.cpp 2008-10-15 23:59:14.000000000 +0200
|
||||
@@ -41,6 +41,7 @@
|
||||
|
||||
// includes, system
|
||||
#include <iostream>
|
||||
+#include <cstdlib>
|
||||
|
||||
// Required to include CUDA vector types
|
||||
#include <vector_types.h>
|
@ -1,21 +0,0 @@
|
||||
diff -Naurp cuda-orig/sdk/common/common.mk cuda/sdk/common/common.mk
|
||||
--- cuda-orig/sdk/common/common.mk 2009-03-22 10:59:39.000000000 +0100
|
||||
+++ cuda/sdk/common/common.mk 2009-03-22 11:31:55.000000000 +0100
|
||||
@@ -100,6 +99,8 @@ NVCCFLAGS :=
|
||||
CXXFLAGS := $(CXXWARN_FLAGS)
|
||||
CFLAGS := $(CWARN_FLAGS)
|
||||
|
||||
+NVCCFLAGS += -include=vararg-fix.h
|
||||
+
|
||||
# Common flags
|
||||
COMMONFLAGS += $(INCLUDES) -DUNIX
|
||||
|
||||
diff -Naurp cuda-orig/sdk/common/inc/vararg-fix.h cuda/sdk/common/inc/vararg-fix.h
|
||||
--- cuda-orig/sdk/common/inc/vararg-fix.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ cuda/sdk/common/inc/vararg-fix.h 2009-03-22 11:17:11.000000000 +0100
|
||||
@@ -0,0 +1,5 @@
|
||||
+#ifndef __CUDA_VARARG_FIX
|
||||
+#define __CUDA_VARARG_FIX
|
||||
+// HACK: avoid compilation errors with GCC 4.3.3+
|
||||
+int __builtin_va_arg_pack();
|
||||
+#endif
|
@ -1,89 +0,0 @@
|
||||
--- a/sdk/C/common/common.mk
|
||||
+++ b/sdk/C/common/common.mk
|
||||
@@ -268,18 +268,18 @@ endif
|
||||
|
||||
# If dynamically linking to CUDA and CUDART, we exclude the libraries from the LIB
|
||||
ifeq ($(USECUDADYNLIB),1)
|
||||
- LIB += ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB} -ldl -rdynamic
|
||||
+ LIB += $(RENDERCHECKGLLIB) ${OPENGLLIB} $(PARAMGLLIB) ${LIB} -ldl -rdynamic
|
||||
else
|
||||
# static linking, we will statically link against CUDA and CUDART
|
||||
ifeq ($(USEDRVAPI),1)
|
||||
- LIB += -lcuda ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB}
|
||||
+ LIB += -lcuda $(RENDERCHECKGLLIB) ${OPENGLLIB} $(PARAMGLLIB) ${LIB}
|
||||
else
|
||||
ifeq ($(emu),1)
|
||||
LIB += -lcudartemu
|
||||
else
|
||||
LIB += -lcudart
|
||||
endif
|
||||
- LIB += ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB}
|
||||
+ LIB += $(RENDERCHECKGLLIB) ${OPENGLLIB} $(PARAMGLLIB) ${LIB}
|
||||
endif
|
||||
endif
|
||||
|
||||
--- a/sdk/CUDALibraries/common/common_cudalib.mk
|
||||
+++ b/sdk/CUDALibraries/common/common_cudalib.mk
|
||||
@@ -253,7 +253,7 @@ ifeq ($(USEPARAMGL),1)
|
||||
endif
|
||||
|
||||
ifeq ($(USERENDERCHECKGL),1)
|
||||
- RENDERCHECKGLLIB := -lrendercheckgl_$(LIB_ARCH)$(LIBSUFFIX)
|
||||
+ RENDERCHECKGLLIB := -L../../../C/lib -lrendercheckgl_$(LIB_ARCH)$(LIBSUFFIX)
|
||||
endif
|
||||
|
||||
ifeq ($(USENVCUVID), 1)
|
||||
--- a/sdk/CUDALibraries/src/boxFilterNPP/Makefile
|
||||
+++ b/sdk/CUDALibraries/src/boxFilterNPP/Makefile
|
||||
@@ -38,7 +38,7 @@ include ../../common/common_npplib.mk
|
||||
# Targets
|
||||
################################################################################
|
||||
all:
|
||||
- $(CXX) $(INC) $(LIB) -o boxFilterNPP boxFilterNPP.cpp -lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH)
|
||||
+ $(CXX) $(INC) -o boxFilterNPP boxFilterNPP.cpp -lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH) $(LIB)
|
||||
mkdir -p ../../bin
|
||||
mkdir -p ../../bin/$(OSLOWER)/
|
||||
mkdir -p ../../bin/$(OSLOWER)/debug
|
||||
--- a/sdk/CUDALibraries/src/freeImageInteropNPP/Makefile
|
||||
+++ b/sdk/CUDALibraries/src/freeImageInteropNPP/Makefile
|
||||
@@ -38,7 +38,7 @@ include ../../common/common_npplib.mk
|
||||
# Targets
|
||||
################################################################################
|
||||
all:
|
||||
- $(CXX) $(INC) $(LIB) -o freeImageInteropNPP freeImageInteropNPP.cpp -lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH)
|
||||
+ $(CXX) $(INC) -o freeImageInteropNPP freeImageInteropNPP.cpp -lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH) $(LIB)
|
||||
mkdir -p ../../bin
|
||||
mkdir -p ../../bin/$(OSLOWER)
|
||||
mkdir -p ../../bin/$(OSLOWER)/release
|
||||
--- a/sdk/CUDALibraries/src/histEqualizationNPP/Makefile
|
||||
+++ b/sdk/CUDALibraries/src/histEqualizationNPP/Makefile
|
||||
@@ -38,7 +38,7 @@ include ../../common/common_npplib.mk
|
||||
# Targets
|
||||
################################################################################
|
||||
all:
|
||||
- $(CXX) $(INC) $(LIB) -o histEqualizationNPP histEqualizationNPP.cpp -lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH)
|
||||
+ $(CXX) $(INC) -o histEqualizationNPP histEqualizationNPP.cpp -lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH) $(LIB)
|
||||
mkdir -p ../../bin
|
||||
mkdir -p ../../bin/$(OSLOWER)
|
||||
mkdir -p ../../bin/$(OSLOWER)/release
|
||||
--- a/sdk/CUDALibraries/src/imageSegmentationNPP/Makefile
|
||||
+++ b/sdk/CUDALibraries/src/imageSegmentationNPP/Makefile
|
||||
@@ -38,7 +38,7 @@ include ../../common/common_npplib.mk
|
||||
# Targets
|
||||
################################################################################
|
||||
all:
|
||||
- $(CXX) $(INC) $(LIB) -o imageSegmentationNPP imageSegmentationNPP.cpp -lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH)
|
||||
+ $(CXX) $(INC) -o imageSegmentationNPP imageSegmentationNPP.cpp -lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH) $(LIB)
|
||||
mkdir -p ../../bin
|
||||
mkdir -p ../../bin/$(OSLOWER)
|
||||
mkdir -p ../../bin/$(OSLOWER)/release
|
||||
--- a/sdk/CUDALibraries/src/randomFog/Makefile
|
||||
+++ b/sdk/CUDALibraries/src/randomFog/Makefile
|
||||
@@ -45,6 +45,7 @@ CCFILES := randomFog.cpp rng.cpp
|
||||
USECURAND := 1
|
||||
USEGLLIB := 1
|
||||
USEGLUT := 1
|
||||
+USERENDERCHECKGL := 1
|
||||
|
||||
################################################################################
|
||||
# Rules and targets
|
@ -1,22 +0,0 @@
|
||||
--- a/cuda-samples/0_Simple/cudaOpenMP/Makefile
|
||||
+++ b/cuda-samples/0_Simple/cudaOpenMP/Makefile
|
||||
@@ -166,7 +166,7 @@
|
||||
endif
|
||||
endif
|
||||
|
||||
-GOMPLIB ?= $(shell find $(OPENMPDIR)/libgomp* 2>/dev/null)
|
||||
+GOMPLIB ?= $(shell find $(OPENMPDIR) -type f -name libgomp* 2>/dev/null)
|
||||
|
||||
ifeq ($(GOMPLIB),)
|
||||
$(info -----------------------------------------------------------------------------------------------)
|
||||
--- a/cuda-samples/0_Simple/UnifiedMemoryStreams/Makefile
|
||||
+++ b/cuda-samples/0_Simple/UnifiedMemoryStreams/Makefile
|
||||
@@ -166,7 +166,7 @@
|
||||
endif
|
||||
endif
|
||||
|
||||
-GOMPLIB ?= $(shell find $(OPENMPDIR)/libgomp* 2>/dev/null)
|
||||
+GOMPLIB ?= $(shell find $(OPENMPDIR) -type f -name libgomp* 2>/dev/null)
|
||||
|
||||
ifeq ($(GOMPLIB),)
|
||||
$(info -----------------------------------------------------------------------------------------------)
|
@ -1,146 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cuda eutils flag-o-matic toolchain-funcs unpacker versionator
|
||||
|
||||
MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Software Development Kit"
|
||||
HOMEPAGE="http://developer.nvidia.com/cuda"
|
||||
CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers"
|
||||
SRC_URI="
|
||||
amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
|
||||
x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
|
||||
|
||||
LICENSE="CUDPP"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug +doc +examples opencl +cuda"
|
||||
|
||||
RDEPEND="
|
||||
~dev-util/nvidia-cuda-toolkit-${PV}
|
||||
media-libs/freeglut
|
||||
examples? (
|
||||
media-libs/freeimage
|
||||
media-libs/glew
|
||||
virtual/mpi
|
||||
>=x11-drivers/nvidia-drivers-304.54
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/cuda-samples
|
||||
|
||||
QA_EXECSTACK=(
|
||||
opt/cuda/sdk/0_Simple/cdpSimplePrint/cdpSimplePrint
|
||||
opt/cuda/sdk/0_Simple/cdpSimpleQuicksort/cdpSimpleQuicksort
|
||||
opt/cuda/sdk/bin/x86_64/linux/release/cdpSimplePrint
|
||||
opt/cuda/sdk/bin/x86_64/linux/release/cdpSimpleQuicksort
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpacker
|
||||
unpacker run_files/cuda-samples*run
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use cuda || use opencl; then
|
||||
cuda_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
export RAWLDFLAGS="$(raw-ldflags)"
|
||||
|
||||
sed \
|
||||
-e 's:-O2::g' \
|
||||
-e 's:-O3::g' \
|
||||
-e "/LINK/s:gcc:$(tc-getCC) ${LDFLAGS}:g" \
|
||||
-e "/LINK/s:g++:$(tc-getCXX) ${LDFLAGS}:g" \
|
||||
-e "/CC/s:gcc:$(tc-getCC):g" \
|
||||
-e "/GCC/s:g++:$(tc-getCXX):g" \
|
||||
-e "/ CFLAGS/s|\(:=\)|\1 ${CFLAGS}|g" \
|
||||
-e "/ CXXFLAGS/s|\(:=\)|\1 ${CXXFLAGS}|g" \
|
||||
-e "/NVCCFLAGS/s|\(:=\)|\1 ${NVCCFLAGS} |g" \
|
||||
-e 's:-Wimplicit::g' \
|
||||
-e "s|../../common/lib/linux/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-e "s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-i $(find . -type f -name "Makefile") || die
|
||||
|
||||
sed \
|
||||
-e "/^LDFLAGS/s|\(:=\)$|\1 ${LDFLAGS}|g" \
|
||||
-i 0_Simple/simpleMPI/Makefile || die
|
||||
|
||||
# -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \
|
||||
find common/inc/GL -delete || die
|
||||
find . -type f -name "*\.a" -delete || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use examples || return
|
||||
local myopts verbose="verbose=1"
|
||||
use debug && myopts+=" dbg=1"
|
||||
export FAKEROOTKEY=1 # Workaround sandbox issue in #462602
|
||||
emake \
|
||||
cuda-install="${EPREFIX}/opt/cuda" \
|
||||
CUDA_PATH="${EPREFIX}/opt/cuda/" \
|
||||
${myopts} ${verbose}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _dir _subdir
|
||||
|
||||
addwrite /dev/nvidiactl
|
||||
addwrite /dev/nvidia0
|
||||
|
||||
for _dir in {0..9}*; do
|
||||
pushd ${_dir} > /dev/null
|
||||
for _subdir in *; do
|
||||
emake -C ${_subdir} run
|
||||
done
|
||||
popd > /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i j f t crap=""
|
||||
if use doc; then
|
||||
ebegin "Installing docs ..."
|
||||
dodoc -r doc releaseNotesData
|
||||
dohtml *htm*
|
||||
eend
|
||||
fi
|
||||
|
||||
crap+=" *.txt doc Samples.htm* releaseNotesData"
|
||||
|
||||
ebegin "Cleaning before installation..."
|
||||
for i in ${crap}; do
|
||||
if [[ -e ${i} ]]; then
|
||||
find ${i} -delete || die
|
||||
fi
|
||||
done
|
||||
eend
|
||||
|
||||
ebegin "Moving files..."
|
||||
for f in $(find .); do
|
||||
local t="$(dirname ${f})"
|
||||
if [[ ${t/obj\/} != ${t} || ${t##*.} == a ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ ! -d ${f} ]]; then
|
||||
if [[ -x ${f} ]]; then
|
||||
exeinto /opt/cuda/sdk/${t}
|
||||
doexe ${f}
|
||||
else
|
||||
insinto /opt/cuda/sdk/${t}
|
||||
doins ${f}
|
||||
fi
|
||||
fi
|
||||
done
|
||||
eend
|
||||
}
|
@ -1,155 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cuda eutils flag-o-matic portability toolchain-funcs unpacker versionator
|
||||
|
||||
MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Software Development Kit"
|
||||
HOMEPAGE="http://developer.nvidia.com/cuda"
|
||||
CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers"
|
||||
SRC_URI="
|
||||
amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
|
||||
x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
|
||||
|
||||
LICENSE="CUDPP"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug +doc +examples opencl +cuda"
|
||||
|
||||
RDEPEND="
|
||||
~dev-util/nvidia-cuda-toolkit-${PV}
|
||||
media-libs/freeglut
|
||||
examples? (
|
||||
media-libs/freeimage
|
||||
media-libs/glew
|
||||
virtual/mpi
|
||||
>=x11-drivers/nvidia-drivers-340.32[uvm]
|
||||
x86? ( <x11-drivers/nvidia-drivers-346.35[uvm] )
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/cuda-samples
|
||||
|
||||
QA_EXECSTACK=(
|
||||
opt/cuda/sdk/0_Simple/cdpSimplePrint/cdpSimplePrint
|
||||
opt/cuda/sdk/0_Simple/cdpSimpleQuicksort/cdpSimpleQuicksort
|
||||
opt/cuda/sdk/bin/x86_64/linux/release/cdpSimplePrint
|
||||
opt/cuda/sdk/bin/x86_64/linux/release/cdpSimpleQuicksort
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpacker
|
||||
unpacker run_files/cuda-samples*run
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use cuda || use opencl; then
|
||||
cuda_pkg_setup
|
||||
fi
|
||||
|
||||
if use x86; then
|
||||
ewarn "Starting with version 6.5 NVIDIA dropped more and more"
|
||||
ewarn "the support for 32bit linux."
|
||||
ewarn "Be aware that bugfixes and new features may not be available."
|
||||
ewarn "https://dev.gentoo.org/~jlec/distfiles/CUDA_Toolkit_Release_Notes.pdf"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
export RAWLDFLAGS="$(raw-ldflags)"
|
||||
# epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
|
||||
sed \
|
||||
-e 's:-O2::g' \
|
||||
-e 's:-O3::g' \
|
||||
-e "/LINK/s:gcc:$(tc-getCC) ${LDFLAGS}:g" \
|
||||
-e "/LINK/s:g++:$(tc-getCXX) ${LDFLAGS}:g" \
|
||||
-e "/CC/s:gcc:$(tc-getCC):g" \
|
||||
-e "/GCC/s:g++:$(tc-getCXX):g" \
|
||||
-e "/NVCC /s|\(:=\).*|:= ${EPREFIX}/opt/cuda/bin/nvcc|g" \
|
||||
-e "/ CFLAGS/s|\(:=\)|\1 ${CFLAGS}|g" \
|
||||
-e "/ CXXFLAGS/s|\(:=\)|\1 ${CXXFLAGS}|g" \
|
||||
-e "/NVCCFLAGS/s|\(:=\)|\1 ${NVCCFLAGS} |g" \
|
||||
-e 's:-Wimplicit::g' \
|
||||
-e "s|../../common/lib/linux/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-e "s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-i $(find . -type f -name "Makefile") || die
|
||||
|
||||
# -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \
|
||||
find common/inc/GL -delete || die
|
||||
find . -type f -name "*\.a" -delete || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use examples || return
|
||||
local myopts verbose="verbose=1"
|
||||
use debug && myopts+=" dbg=1"
|
||||
export FAKEROOTKEY=1 # Workaround sandbox issue in #462602
|
||||
emake \
|
||||
cuda-install="${EPREFIX}/opt/cuda" \
|
||||
CUDA_PATH="${EPREFIX}/opt/cuda/" \
|
||||
MPI_GCC=10 \
|
||||
${myopts} ${verbose}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _dir _subdir
|
||||
|
||||
addwrite /dev/nvidiactl
|
||||
addwrite /dev/nvidia0
|
||||
|
||||
for _dir in {0..9}*; do
|
||||
pushd ${_dir} > /dev/null
|
||||
for _subdir in *; do
|
||||
emake -C ${_subdir} run
|
||||
done
|
||||
popd > /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i j f t crap=""
|
||||
|
||||
if use doc; then
|
||||
ebegin "Installing docs ..."
|
||||
treecopy $(find -type f \( -name readme.txt -o -name "*.pdf" \)) "${ED}"/usr/share/doc/${PF}/
|
||||
docompress -x $(find "${ED}"/usr/share/doc/${PF}/ -type f -name readme.txt | sed -e "s:${ED}::")
|
||||
eend
|
||||
fi
|
||||
|
||||
crap+=" *.txt Samples.htm*"
|
||||
|
||||
ebegin "Cleaning before installation..."
|
||||
for i in ${crap}; do
|
||||
if [[ -e ${i} ]]; then
|
||||
find ${i} -delete || die
|
||||
fi
|
||||
done
|
||||
find -type f \( -name "*.o" -o -name "*.pdf" -o -name "readme.txt" \) -delete || die
|
||||
eend
|
||||
|
||||
ebegin "Moving files..."
|
||||
for f in $(find .); do
|
||||
local t="$(dirname ${f})"
|
||||
if [[ ${t/obj\/} != ${t} || ${t##*.} == a ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ ! -d ${f} ]]; then
|
||||
if [[ -x ${f} ]]; then
|
||||
exeinto /opt/cuda/sdk/${t}
|
||||
doexe ${f}
|
||||
else
|
||||
insinto /opt/cuda/sdk/${t}
|
||||
doins ${f}
|
||||
fi
|
||||
fi
|
||||
done
|
||||
eend
|
||||
}
|
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cuda eutils flag-o-matic portability toolchain-funcs unpacker versionator
|
||||
|
||||
MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Software Development Kit"
|
||||
HOMEPAGE="https://developer.nvidia.com/cuda-downloads"
|
||||
SRC_URI="http://developer.download.nvidia.com/compute/cuda/${MYD}/Prod/local_installers/cuda_${PV}_linux.run"
|
||||
|
||||
LICENSE="CUDPP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~amd64-linux"
|
||||
IUSE="debug +doc +examples opencl +cuda"
|
||||
|
||||
RDEPEND="
|
||||
~dev-util/nvidia-cuda-toolkit-${PV}
|
||||
media-libs/freeglut
|
||||
examples? (
|
||||
media-libs/freeimage
|
||||
media-libs/glew
|
||||
virtual/mpi
|
||||
>=x11-drivers/nvidia-drivers-346.35[uvm]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/samples
|
||||
|
||||
QA_EXECSTACK=(
|
||||
opt/cuda/sdk/0_Simple/cdpSimplePrint/cdpSimplePrint
|
||||
opt/cuda/sdk/0_Simple/cdpSimpleQuicksort/cdpSimpleQuicksort
|
||||
opt/cuda/sdk/bin/x86_64/linux/release/cdpSimplePrint
|
||||
opt/cuda/sdk/bin/x86_64/linux/release/cdpSimpleQuicksort
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpacker
|
||||
unpacker run_files/cuda-samples*run
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use cuda || use opencl; then
|
||||
cuda_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
export RAWLDFLAGS="$(raw-ldflags)"
|
||||
# epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
|
||||
sed \
|
||||
-e 's:-O2::g' \
|
||||
-e 's:-O3::g' \
|
||||
-e "/LINK/s:gcc:$(tc-getCC) ${LDFLAGS}:g" \
|
||||
-e "/LINK/s:g++:$(tc-getCXX) ${LDFLAGS}:g" \
|
||||
-e "/CC/s:gcc:$(tc-getCC):g" \
|
||||
-e "/GCC/s:g++:$(tc-getCXX):g" \
|
||||
-e "/NVCC /s|\(:=\).*|:= ${EPREFIX}/opt/cuda/bin/nvcc|g" \
|
||||
-e "/ CFLAGS/s|\(:=\)|\1 ${CFLAGS}|g" \
|
||||
-e "/ CXXFLAGS/s|\(:=\)|\1 ${CXXFLAGS}|g" \
|
||||
-e "/NVCCFLAGS/s|\(:=\)|\1 ${NVCCFLAGS} |g" \
|
||||
-e 's:-Wimplicit::g' \
|
||||
-e "s|../../common/lib/linux/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-e "s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs glew)|g" \
|
||||
-i $(find . -type f -name "Makefile") || die
|
||||
|
||||
# -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \
|
||||
find common/inc/GL -delete || die
|
||||
find . -type f -name "*\.a" -delete || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use examples || return
|
||||
local myopts verbose="verbose=1"
|
||||
use debug && myopts+=" dbg=1"
|
||||
export FAKEROOTKEY=1 # Workaround sandbox issue in #462602
|
||||
emake \
|
||||
cuda-install="${EPREFIX}/opt/cuda" \
|
||||
CUDA_PATH="${EPREFIX}/opt/cuda/" \
|
||||
MPI_GCC=10 \
|
||||
${myopts} ${verbose}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _dir _subdir
|
||||
|
||||
addwrite /dev/nvidiactl
|
||||
addwrite /dev/nvidia0
|
||||
|
||||
for _dir in {0..9}*; do
|
||||
pushd ${_dir} > /dev/null
|
||||
for _subdir in *; do
|
||||
emake -C ${_subdir} run
|
||||
done
|
||||
popd > /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i j f t crap=""
|
||||
|
||||
if use doc; then
|
||||
ebegin "Installing docs ..."
|
||||
treecopy $(find -type f \( -name readme.txt -o -name "*.pdf" \)) "${ED}"/usr/share/doc/${PF}/
|
||||
docompress -x $(find "${ED}"/usr/share/doc/${PF}/ -type f -name readme.txt | sed -e "s:${ED}::")
|
||||
eend
|
||||
fi
|
||||
|
||||
crap+=" *.txt Samples.htm*"
|
||||
|
||||
ebegin "Cleaning before installation..."
|
||||
for i in ${crap}; do
|
||||
if [[ -e ${i} ]]; then
|
||||
find ${i} -delete || die
|
||||
fi
|
||||
done
|
||||
find -type f \( -name "*.o" -o -name "*.pdf" -o -name "readme.txt" \) -delete || die
|
||||
eend
|
||||
|
||||
ebegin "Moving files..."
|
||||
for f in $(find .); do
|
||||
local t="$(dirname ${f})"
|
||||
if [[ ${t/obj\/} != ${t} || ${t##*.} == a ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ ! -d ${f} ]]; then
|
||||
if [[ -x ${f} ]]; then
|
||||
exeinto /opt/cuda/sdk/${t}
|
||||
doexe ${f}
|
||||
else
|
||||
insinto /opt/cuda/sdk/${t}
|
||||
doins ${f}
|
||||
fi
|
||||
fi
|
||||
done
|
||||
eend
|
||||
}
|
@ -1,8 +1,3 @@
|
||||
DIST cuda_5.5.22_linux_32.run 686412076 SHA256 0e7aad303807bb0ede8f6f6e825cfcd0f9ddb677bc8cc898ec38990b8226778d SHA512 e2e4fbc78c2e6373b3f81778d8044b299429459e8e27632e86c0d97e6fe7f4db7cd5652044beb0ce7ee3c7abaa7dcec7d85639a2de4b9cc213ab52a2d204aa6b WHIRLPOOL e5df7de03aaec8488a7fa093e272d64b5d3adaedca1458c550d4ae9c6bf2a0ead71496c8a0c9aac966500aa01401e95cc57a951e3a2554e8d823b97c10336850
|
||||
DIST cuda_5.5.22_linux_64.run 849417929 SHA256 b997e1dbe95704e0e806e0cedc5fd370a385351fef565c7bae0917baf3a29aa4 SHA512 25233b34a35fdb5ee3479a87c89484a00dcd760837436c263c3eb8731cbd24a9ed3fb57ce2d4e5bf7cd31abb9b0d990b45720a5f6a376b2488de4506a7c57c20 WHIRLPOOL 550594121a53feae4e74a4dc9ba40c4cd2ac91305f23397cd7ea421fcb801e3ce8fcf90f439c966accca44d586bc51d85ef3e211f35fd751dc9299dd07d65175
|
||||
DIST cuda_6.5.14_linux_32.run 76788277 SHA256 63fa1fe5d013e9944d6c1a3a71768fa4dcb35d6a157c1b06765bb56198c205c5 SHA512 89649ee0f4543b37037b7c8f5ed0b8bd502512afb4d93e3158b3df4786123be05a5288986b5abbfe15c14eb010777d2527b715225bea96a354a898c34e4a2fcc WHIRLPOOL c1094dd84883ef08d91c6eec3634a285496418db1e76b70f449f833dcb01069a620af504b6df7fe2752559688ed1f60f4adda8c97d849d648cba1be0f8196954
|
||||
DIST cuda_6.5.14_linux_64.run 972320904 SHA256 f3e527f34f317314fe8fcd8c85f10560729069298c0f73105ba89225db69da48 SHA512 fecca731b86955f5bc7b09d88b02951e3ee5d4b1f1cf5f92658227a029b87cd35d6ac22956a5fa0afe62dcdc57191f1d12bb08c9f7cc05128727cd8455947b1e WHIRLPOOL 0b890771dcca352168fed1b1df9b29504b03f8c29da59cec29914c541283998edf65f5ca6a41362143a2d5d7359822b036894f563c56b39583b1ac4c64e35180
|
||||
DIST cuda_6.5.19_linux_32.run 81882112 SHA256 9f767f38b84f52c097bec81669f99e4a6c4c9c09b5da1bc09fe49e0f804bc7a6 SHA512 1ce9bd6b472b7e4f1fb181eb340dfcb757714d59a89aaa02146cfe1a97c8ccb7eb7699b4ec823276f277eb4d82d95050eaba17e7ed5fd2e47b9b5d78531c5d4e WHIRLPOOL ac94b4e7f29811b4240623fb69b3c54214e7f0c60a286d899944dbab9da7fd3c122760199a3357667e33879bd48fbf352d5d39029acca6021e7caf21785557ed
|
||||
DIST cuda_6.5.19_linux_64.run 982446238 SHA256 5279bc159b72b7445d8aae5f289d24bb4042c35422ef32da68049d8f666d3ff5 SHA512 06854f020a5f72cf4bd714859e6966248ac2f589284113674e869fdaa1254cae27d4101940758ecda5df4724ad3e448a1f6d0c053b6cbc28107750872b6a5797 WHIRLPOOL 6ae8e53719e12997de60ec3688167f3fe33b1145d01217182e39ac386c25b358c8ba6cee45ad6c80e33ef66fd9a511338dce4589f10a31635b8437b6e528fd7a
|
||||
DIST cuda_7.0.28_linux.run 1118797679 SHA256 d1292e9c2bbaddad24c46e0b0d15a7130831bfac0382f7159321f41ae385a5ce SHA512 f002433133e40000cbb78283e08c25f7397612957c0440605311f8921bcebd54a808069ca36b218be66a054e8afab4871b2bf1bd4d419c6f98a0d74b00a9bc78 WHIRLPOOL dcf21d2e356a1797b9e79ac9edfb3924a1d4a2914382dbe21b2172c200dd4f7d93905ac44fbc2e994ce14b7ab28e78163f4c81ddcc6cbb97e4ce085efd2d8475
|
||||
DIST cuda_7.5.18_linux.run 1195431560 SHA256 245ffb6c1e2b69d323f8ae3a1b63d3384fec3934222e56e9d801ecc0d6e919c5 SHA512 cb933512fde09376b1d6040c72d24c4f91dc44f73322ca87aa7d1f34156c9c87feea41f9a00f1a403cfb89645b5e7a6a5f2bfe4933703ba81f0cf94968d430fd WHIRLPOOL b1a06acba02043fabf496ba683fb984b1c90df2cd71396457f664beb8cb26b2e3074c8568ec6ce0cfe565721986670c7a40351a29a4856a7e03268c14d545247
|
||||
|
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit check-reqs cuda unpacker versionator
|
||||
|
||||
MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
|
||||
HOMEPAGE="http://developer.nvidia.com/cuda"
|
||||
CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers"
|
||||
SRC_URI="
|
||||
amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
|
||||
x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
LICENSE="NVIDIA-CUDA"
|
||||
KEYWORDS="-* amd64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debugger doc eclipse profiler"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
=sys-devel/gcc-4.7*[cxx]
|
||||
!<=x11-drivers/nvidia-drivers-270.41
|
||||
|| (
|
||||
>=x11-drivers/nvidia-drivers-331[uvm]
|
||||
<x11-drivers/nvidia-drivers-331
|
||||
)
|
||||
debugger? (
|
||||
sys-libs/libtermcap-compat
|
||||
sys-libs/ncurses[tinfo]
|
||||
)
|
||||
eclipse? ( >=virtual/jre-1.6 )
|
||||
profiler? ( >=virtual/jre-1.6 )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="opt/cuda/*"
|
||||
|
||||
CHECKREQS_DISK_BUILD="1500M"
|
||||
|
||||
pkg_setup() {
|
||||
# We don't like to run cuda_pkg_setup as it depends on us
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpacker
|
||||
unpacker run_files/cuda-linux*.run
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local cuda_supported_gcc
|
||||
|
||||
cuda_supported_gcc="4.7"
|
||||
|
||||
sed \
|
||||
-e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
|
||||
"${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i j
|
||||
local remove="doc jre run_files install-linux.pl "
|
||||
local cudadir=/opt/cuda
|
||||
local ecudadir="${EPREFIX}"${cudadir}
|
||||
|
||||
# dodoc doc/*txt
|
||||
if use doc; then
|
||||
dodoc doc/pdf/*
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
|
||||
use debugger || remove+=" bin/cuda-gdb extras/Debugger"
|
||||
( use profiler || use eclipse ) || remove+=" libnsight"
|
||||
use amd64 || remove+=" cuda-installer.pl"
|
||||
|
||||
if use profiler; then
|
||||
# hack found in install-linux.pl
|
||||
for j in nvvp nsight; do
|
||||
cat > bin/${j} <<- EOF
|
||||
#!${EPREFIX}/bin/sh
|
||||
LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \
|
||||
UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 \
|
||||
${ecudadir}/lib${j}/${j} -vm ${EPREFIX}/usr/bin/java
|
||||
EOF
|
||||
chmod a+x bin/${j}
|
||||
done
|
||||
else
|
||||
use eclipse || remove+=" libnvvp"
|
||||
remove+=" extras/CUPTI"
|
||||
fi
|
||||
|
||||
for i in ${remove}; do
|
||||
ebegin "Cleaning ${i}..."
|
||||
if [[ -e ${i} ]]; then
|
||||
find ${i} -delete || die
|
||||
eend
|
||||
else
|
||||
eend $1
|
||||
fi
|
||||
done
|
||||
|
||||
dodir ${cudadir}
|
||||
mv * "${ED}"${cudadir}
|
||||
|
||||
cat > "${T}"/99cuda <<- EOF
|
||||
PATH=${ecudadir}/bin:${ecudadir}/libnvvp
|
||||
ROOTPATH=${ecudadir}/bin
|
||||
LDPATH=${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib")
|
||||
EOF
|
||||
doenvd "${T}"/99cuda
|
||||
|
||||
make_wrapper nvprof "${EPREFIX}"${cudadir}/bin/nvprof "." ${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib")
|
||||
|
||||
dobin "${T}"/cuda-config
|
||||
}
|
||||
|
||||
pkg_postinst_check() {
|
||||
local a b
|
||||
a="$(version_sort $(cuda-config -s))"; a=( $a )
|
||||
# greatest supported version
|
||||
b=${a[${#a[@]}-1]}
|
||||
|
||||
# if gcc and if not gcc-version is at least greatesst supported
|
||||
if [[ $(tc-getCC) == *gcc* ]] && \
|
||||
! version_is_at_least $(gcc-version) ${b}; then
|
||||
echo
|
||||
ewarn "gcc >= ${b} will not work with CUDA"
|
||||
ewarn "Make sure you set an earlier version of gcc with gcc-config"
|
||||
ewarn "or append --compiler-bindir= pointing to a gcc bindir like"
|
||||
ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}"
|
||||
ewarn "to the nvcc compiler flags"
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
pkg_postinst_check
|
||||
fi
|
||||
}
|
@ -1,157 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit check-reqs cuda unpacker versionator
|
||||
|
||||
MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
|
||||
HOMEPAGE="http://developer.nvidia.com/cuda"
|
||||
CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers"
|
||||
SRC_URI="
|
||||
amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
|
||||
x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
LICENSE="NVIDIA-CUDA"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debugger doc eclipse profiler"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
<sys-devel/gcc-4.9[cxx]
|
||||
>=x11-drivers/nvidia-drivers-343.22[uvm]
|
||||
debugger? (
|
||||
sys-libs/libtermcap-compat
|
||||
sys-libs/ncurses[tinfo]
|
||||
)
|
||||
eclipse? ( >=virtual/jre-1.6 )
|
||||
profiler? ( >=virtual/jre-1.6 )
|
||||
x86? ( <x11-drivers/nvidia-drivers-346.35[uvm] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="opt/cuda/*"
|
||||
|
||||
CHECKREQS_DISK_BUILD="1500M"
|
||||
|
||||
pkg_setup() {
|
||||
# We don't like to run cuda_pkg_setup as it depends on us
|
||||
check-reqs_pkg_setup
|
||||
|
||||
if use x86; then
|
||||
ewarn "Starting with version 6.5 NVIDIA dropped more and more"
|
||||
ewarn "the support for 32bit linux."
|
||||
ewarn "Be aware that bugfixes and new features may not be available."
|
||||
ewarn "https://dev.gentoo.org/~jlec/distfiles/CUDA_Toolkit_Release_Notes.pdf"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpacker
|
||||
unpacker run_files/cuda-linux*.run
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local cuda_supported_gcc
|
||||
|
||||
cuda_supported_gcc="4.7 4.8"
|
||||
|
||||
sed \
|
||||
-e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
|
||||
"${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i j
|
||||
local remove="doc jre run_files install-linux.pl "
|
||||
local cudadir=/opt/cuda
|
||||
local ecudadir="${EPREFIX}"${cudadir}
|
||||
|
||||
# dodoc doc/*txt
|
||||
if use doc; then
|
||||
dodoc doc/pdf/*
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
|
||||
if use amd64; then
|
||||
mv doc/man/man3/{,cuda-}deprecated.3 || die
|
||||
doman doc/man/man*/*
|
||||
fi
|
||||
|
||||
use debugger || remove+=" bin/cuda-gdb extras/Debugger"
|
||||
( use profiler || use eclipse ) || remove+=" libnsight"
|
||||
use amd64 || remove+=" cuda-installer.pl"
|
||||
|
||||
if use profiler; then
|
||||
# hack found in install-linux.pl
|
||||
for j in nvvp nsight; do
|
||||
cat > bin/${j} <<- EOF
|
||||
#!${EPREFIX}/bin/sh
|
||||
LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \
|
||||
UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 \
|
||||
${ecudadir}/lib${j}/${j} -vm ${EPREFIX}/usr/bin/java
|
||||
EOF
|
||||
chmod a+x bin/${j}
|
||||
done
|
||||
else
|
||||
use eclipse || remove+=" libnvvp"
|
||||
remove+=" extras/CUPTI"
|
||||
fi
|
||||
|
||||
for i in ${remove}; do
|
||||
ebegin "Cleaning ${i}..."
|
||||
if [[ -e ${i} ]]; then
|
||||
find ${i} -delete || die
|
||||
eend
|
||||
else
|
||||
eend $1
|
||||
fi
|
||||
done
|
||||
|
||||
ln -sf lib lib32 || die
|
||||
|
||||
dodir ${cudadir}
|
||||
mv * "${ED}"${cudadir} || die
|
||||
|
||||
cat > "${T}"/99cuda <<- EOF
|
||||
PATH=${ecudadir}/bin$(use profiler && echo ":${ecudadir}/libnvvp")
|
||||
ROOTPATH=${ecudadir}/bin
|
||||
LDPATH=${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib")
|
||||
EOF
|
||||
doenvd "${T}"/99cuda
|
||||
|
||||
use profiler && \
|
||||
make_wrapper nvprof "${EPREFIX}"${cudadir}/bin/nvprof "." ${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib")
|
||||
|
||||
dobin "${T}"/cuda-config
|
||||
}
|
||||
|
||||
pkg_postinst_check() {
|
||||
local a b
|
||||
a="$(version_sort $(cuda-config -s))"; a=( $a )
|
||||
# greatest supported version
|
||||
b=${a[${#a[@]}-1]}
|
||||
|
||||
# if gcc and if not gcc-version is at least greatesst supported
|
||||
if [[ $(tc-getCC) == *gcc* ]] && \
|
||||
! version_is_at_least $(gcc-version) ${b}; then
|
||||
echo
|
||||
ewarn "gcc >= ${b} will not work with CUDA"
|
||||
ewarn "Make sure you set an earlier version of gcc with gcc-config"
|
||||
ewarn "or append --compiler-bindir= pointing to a gcc bindir like"
|
||||
ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}"
|
||||
ewarn "to the nvcc compiler flags"
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
pkg_postinst_check
|
||||
fi
|
||||
}
|
@ -1,155 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit check-reqs cuda unpacker versionator
|
||||
|
||||
MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
|
||||
HOMEPAGE="http://developer.nvidia.com/cuda"
|
||||
CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers"
|
||||
SRC_URI="
|
||||
amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
|
||||
x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
LICENSE="NVIDIA-CUDA"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debugger doc eclipse profiler"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
<sys-devel/gcc-4.9[cxx]
|
||||
>=x11-drivers/nvidia-drivers-343.22[uvm]
|
||||
debugger? (
|
||||
sys-libs/libtermcap-compat
|
||||
sys-libs/ncurses[tinfo]
|
||||
)
|
||||
eclipse? ( >=virtual/jre-1.6 )
|
||||
profiler? ( >=virtual/jre-1.6 )
|
||||
x86? ( <x11-drivers/nvidia-drivers-346.35[uvm] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="opt/cuda/*"
|
||||
|
||||
CHECKREQS_DISK_BUILD="1500M"
|
||||
|
||||
pkg_setup() {
|
||||
# We don't like to run cuda_pkg_setup as it depends on us
|
||||
check-reqs_pkg_setup
|
||||
|
||||
if use x86; then
|
||||
ewarn "Starting with version 6.5 NVIDIA dropped more and more"
|
||||
ewarn "the support for 32bit linux."
|
||||
ewarn "Be aware that bugfixes and new features may not be available."
|
||||
ewarn "https://dev.gentoo.org/~jlec/distfiles/CUDA_Toolkit_Release_Notes.pdf"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpacker
|
||||
unpacker run_files/cuda-linux*.run
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local cuda_supported_gcc
|
||||
|
||||
cuda_supported_gcc="4.7 4.8"
|
||||
|
||||
sed \
|
||||
-e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
|
||||
"${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i j
|
||||
local remove="doc jre run_files install-linux.pl "
|
||||
local cudadir=/opt/cuda
|
||||
local ecudadir="${EPREFIX}"${cudadir}
|
||||
|
||||
# dodoc doc/*txt
|
||||
if use doc; then
|
||||
dodoc doc/pdf/*
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
|
||||
if use amd64; then
|
||||
mv doc/man/man3/{,cuda-}deprecated.3 || die
|
||||
doman doc/man/man*/*
|
||||
fi
|
||||
|
||||
use debugger || remove+=" bin/cuda-gdb extras/Debugger"
|
||||
( use profiler || use eclipse ) || remove+=" libnsight"
|
||||
use amd64 || remove+=" cuda-installer.pl"
|
||||
|
||||
if use profiler; then
|
||||
# hack found in install-linux.pl
|
||||
for j in nvvp nsight; do
|
||||
cat > bin/${j} <<- EOF
|
||||
#!${EPREFIX}/bin/sh
|
||||
LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \
|
||||
UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 \
|
||||
${ecudadir}/lib${j}/${j} -vm ${EPREFIX}/usr/bin/java
|
||||
EOF
|
||||
chmod a+x bin/${j}
|
||||
done
|
||||
else
|
||||
use eclipse || remove+=" libnvvp"
|
||||
remove+=" extras/CUPTI"
|
||||
fi
|
||||
|
||||
for i in ${remove}; do
|
||||
ebegin "Cleaning ${i}..."
|
||||
if [[ -e ${i} ]]; then
|
||||
find ${i} -delete || die
|
||||
eend
|
||||
else
|
||||
eend $1
|
||||
fi
|
||||
done
|
||||
|
||||
dodir ${cudadir}
|
||||
mv * "${ED}"${cudadir} || die
|
||||
|
||||
cat > "${T}"/99cuda <<- EOF
|
||||
PATH=${ecudadir}/bin$(use profiler && echo ":${ecudadir}/libnvvp")
|
||||
ROOTPATH=${ecudadir}/bin
|
||||
LDPATH=${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib")
|
||||
EOF
|
||||
doenvd "${T}"/99cuda
|
||||
|
||||
use profiler && \
|
||||
make_wrapper nvprof "${EPREFIX}"${cudadir}/bin/nvprof "." ${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib")
|
||||
|
||||
dobin "${T}"/cuda-config
|
||||
}
|
||||
|
||||
pkg_postinst_check() {
|
||||
local a b
|
||||
a="$(version_sort $(cuda-config -s))"; a=( $a )
|
||||
# greatest supported version
|
||||
b=${a[${#a[@]}-1]}
|
||||
|
||||
# if gcc and if not gcc-version is at least greatesst supported
|
||||
if [[ $(tc-getCC) == *gcc* ]] && \
|
||||
! version_is_at_least $(gcc-version) ${b}; then
|
||||
echo
|
||||
ewarn "gcc >= ${b} will not work with CUDA"
|
||||
ewarn "Make sure you set an earlier version of gcc with gcc-config"
|
||||
ewarn "or append --compiler-bindir= pointing to a gcc bindir like"
|
||||
ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}"
|
||||
ewarn "to the nvcc compiler flags"
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
pkg_postinst_check
|
||||
fi
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit check-reqs cuda unpacker versionator
|
||||
|
||||
MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
|
||||
HOMEPAGE="http://developer.nvidia.com/cuda"
|
||||
SRC_URI="http://developer.download.nvidia.com/compute/cuda/${MYD}/Prod/local_installers/cuda_${PV}_linux.run"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
LICENSE="NVIDIA-CUDA"
|
||||
KEYWORDS="-* ~amd64 ~amd64-linux"
|
||||
IUSE="debugger doc eclipse profiler"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
>=sys-devel/gcc-4.7[cxx]
|
||||
>=x11-drivers/nvidia-drivers-346.35[uvm]
|
||||
debugger? (
|
||||
sys-libs/libtermcap-compat
|
||||
sys-libs/ncurses[tinfo]
|
||||
)
|
||||
eclipse? ( >=virtual/jre-1.6 )
|
||||
profiler? ( >=virtual/jre-1.6 )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="opt/cuda/*"
|
||||
|
||||
CHECKREQS_DISK_BUILD="1500M"
|
||||
|
||||
pkg_setup() {
|
||||
# We don't like to run cuda_pkg_setup as it depends on us
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpacker
|
||||
unpacker run_files/cuda-linux*.run
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local cuda_supported_gcc
|
||||
|
||||
cuda_supported_gcc="4.7 4.8 4.9"
|
||||
|
||||
sed \
|
||||
-e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
|
||||
"${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i j
|
||||
local remove="doc jre run_files install-linux.pl "
|
||||
local cudadir=/opt/cuda
|
||||
local ecudadir="${EPREFIX}"${cudadir}
|
||||
|
||||
# dodoc doc/*txt
|
||||
if use doc; then
|
||||
dodoc doc/pdf/*
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
|
||||
mv doc/man/man3/{,cuda-}deprecated.3 || die
|
||||
doman doc/man/man*/*
|
||||
|
||||
use debugger || remove+=" bin/cuda-gdb extras/Debugger"
|
||||
( use profiler || use eclipse ) || remove+=" libnsight"
|
||||
remove+=" cuda-installer.pl"
|
||||
|
||||
if use profiler; then
|
||||
# hack found in install-linux.pl
|
||||
for j in nvvp nsight; do
|
||||
cat > bin/${j} <<- EOF
|
||||
#!${EPREFIX}/bin/sh
|
||||
LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \
|
||||
UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 \
|
||||
${ecudadir}/lib${j}/${j} -vm ${EPREFIX}/usr/bin/java
|
||||
EOF
|
||||
chmod a+x bin/${j}
|
||||
done
|
||||
else
|
||||
use eclipse || remove+=" libnvvp"
|
||||
remove+=" extras/CUPTI"
|
||||
fi
|
||||
|
||||
for i in ${remove}; do
|
||||
ebegin "Cleaning ${i}..."
|
||||
if [[ -e ${i} ]]; then
|
||||
find ${i} -delete || die
|
||||
eend
|
||||
else
|
||||
eend $1
|
||||
fi
|
||||
done
|
||||
|
||||
ln -sf lib lib32 || die
|
||||
|
||||
dodir ${cudadir}
|
||||
mv * "${ED}"${cudadir} || die
|
||||
|
||||
cat > "${T}"/99cuda <<- EOF
|
||||
PATH=${ecudadir}/bin$(use profiler && echo ":${ecudadir}/libnvvp")
|
||||
ROOTPATH=${ecudadir}/bin
|
||||
LDPATH=${ecudadir}/lib64:${ecudadir}/lib
|
||||
EOF
|
||||
doenvd "${T}"/99cuda
|
||||
|
||||
use profiler && \
|
||||
make_wrapper nvprof "${EPREFIX}"${cudadir}/bin/nvprof "." ${ecudadir}/lib64:${ecudadir}/lib
|
||||
|
||||
dobin "${T}"/cuda-config
|
||||
}
|
||||
|
||||
pkg_postinst_check() {
|
||||
local a b
|
||||
a="$(version_sort $(cuda-config -s))"; a=( $a )
|
||||
# greatest supported version
|
||||
b=${a[${#a[@]}-1]}
|
||||
|
||||
# if gcc and if not gcc-version is at least greatesst supported
|
||||
if [[ $(tc-getCC) == *gcc* ]] && \
|
||||
! version_is_at_least $(gcc-version) ${b}; then
|
||||
echo
|
||||
ewarn "gcc >= ${b} will not work with CUDA"
|
||||
ewarn "Make sure you set an earlier version of gcc with gcc-config"
|
||||
ewarn "or append --compiler-bindir= pointing to a gcc bindir like"
|
||||
ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}"
|
||||
ewarn "to the nvcc compiler flags"
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
pkg_postinst_check
|
||||
fi
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST plasmate-1.0.tar.gz 288285 SHA256 5e9486a76faf7fbf11ac0a9c8275eea7b037662508217928f052434d65611e28 SHA512 6e61e3274ee5cc74ea18e64484077e609d146f10ff0a82cdbd9776657487724fdfc0ace09dfa36ae8d46e7c03f67411eb92e38e065b6c750d5ca5f91a91901d2 WHIRLPOOL 3bc5edaf48e48c46c4aa4ba1a82c7ed9be3d301bfc9a6d433443d7953ed78600ece76fb778d47be2908260000aeb91dbc8a747a82a5af173873d20fcff9c2fd7
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<maintainer>
|
||||
<email>terietor@gmail.com</email>
|
||||
<name>Giorgos Tsiapaliwkas</name>
|
||||
<description>A small IDE taylored for development of Plasma components.</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DECLARATIVE_REQUIRED="always"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="IDE for writing KDE Plasma/KWin components (themes, Plasmoids, runners, data engines)"
|
||||
HOMEPAGE="https://projects.kde.org/projects/extragear/sdk/plasmate"
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/gpgme
|
||||
dev-libs/libattica
|
||||
dev-libs/soprano
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
$(add_kdeapps_dep knewstuff)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-vcs/git
|
||||
"
|
@ -0,0 +1 @@
|
||||
DIST rosdep-0.11.2.tar.gz 106456 SHA256 89da05bdc082005815a9679dc34509a16647374d746a9e636c4238dd8f7aed9e SHA512 55057bb478dce1a7be3025d52fa6fb616b2de95017981ead934d7965282fa6ceb81780b7825d914531f87af492f3b5ce91ecf2607e6bddb65e13744e8a8d6743 WHIRLPOOL 37407d99d58f62c00a54b94a5820cab599c7700be355132e5d7b9d277faa220f89d68c9950cd386e984c64a1f0c493d53db15b31082f485d4786aff232f73d34
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdep"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Command-line tool for installing ROS system dependencies"
|
||||
HOMEPAGE="http://wiki.ros.org/rosdep"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/ros-infrastructure/rosdep/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/rosdistro[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
nosetests --with-coverage --cover-package=rosdep2 --with-xunit test || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [ "${ROOT:-/}" = "/" ] ; then
|
||||
einfo "Removing rosdep default sources list."
|
||||
rm -f "${EPREFIX}/etc/ros/rosdep/sources.list.d/20-default.list"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ "${ROOT:-/}" = "/" -a ! -f "${EPREFIX}/etc/ros/rosdep/sources.list.d/20-default.list" ] ; then
|
||||
einfo "Initializing rosdep"
|
||||
rosdep init
|
||||
fi
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdep"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Command-line tool for installing ROS system dependencies"
|
||||
HOMEPAGE="http://wiki.ros.org/rosdep"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/ros-infrastructure/rosdep/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/rosdistro[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
nosetests --with-coverage --cover-package=rosdep2 --with-xunit test || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [ "${ROOT:-/}" = "/" ] ; then
|
||||
einfo "Removing rosdep default sources list."
|
||||
rm -f "${EPREFIX}/etc/ros/rosdep/sources.list.d/20-default.list"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ "${ROOT:-/}" = "/" -a ! -f "${EPREFIX}/etc/ros/rosdep/sources.list.d/20-default.list" ] ; then
|
||||
einfo "Initializing rosdep"
|
||||
rosdep init
|
||||
fi
|
||||
}
|
@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# @ECLASS: virtuoso.eclass
|
||||
# @MAINTAINER:
|
||||
# Maciej Mrozowski <reavertm@gentoo.org>
|
||||
# Chris Reffett <creffett@gentoo.org>
|
||||
#
|
||||
# @BLURB: Provides splitting functionality for Virtuoso
|
||||
# @DESCRIPTION:
|
||||
# This eclass provides common code for splitting Virtuoso OpenSource database
|
||||
|
||||
case ${EAPI:-0} in
|
||||
2|3|4|5) : ;;
|
||||
*) die "EAPI=${EAPI} is not supported" ;;
|
||||
esac
|
||||
|
||||
inherit autotools multilib eutils
|
||||
|
||||
MY_P="virtuoso-opensource-${PV}"
|
||||
|
||||
case ${PV} in
|
||||
*9999*)
|
||||
ECVS_SERVER="virtuoso.cvs.sourceforge.net:/cvsroot/virtuoso"
|
||||
ECVS_PROJECT='virtuoso'
|
||||
SRC_URI=""
|
||||
inherit cvs
|
||||
;;
|
||||
*)
|
||||
# Use this variable to determine distribution method (live or tarball)
|
||||
TARBALL="${MY_P}.tar.gz"
|
||||
SRC_URI="mirror://sourceforge/virtuoso/${TARBALL} mirror://gentoo/VOS-genpatches-${PV}.tar.bz2"
|
||||
;;
|
||||
esac
|
||||
|
||||
EXPORT_FUNCTIONS src_prepare src_configure
|
||||
|
||||
# Set some defaults
|
||||
HOMEPAGE='http://virtuoso.openlinksw.com/wiki/main/Main/'
|
||||
LICENSE='GPL-2'
|
||||
SLOT='0'
|
||||
|
||||
DEPEND='
|
||||
>=sys-devel/libtool-2.2.6a
|
||||
'
|
||||
RDEPEND=''
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# @FUNCTION: virtuoso_src_prepare
|
||||
# @DESCRIPTION:
|
||||
# 1. Applies common release patches
|
||||
# 2. Applies package-specific patches (from ${FILESDIR}/, PATCHES can be used)
|
||||
# 3. Applies user patches from /etc/portage/patches/${CATEGORY}/${PN}/
|
||||
# 4. Modifies makefiles for split build. Uses VOS_EXTRACT
|
||||
# 5. eautoreconf
|
||||
virtuoso_src_prepare() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
EPATCH_SUFFIX='patch' EPATCH_FORCE='yes' epatch
|
||||
pushd "${S}" >/dev/null
|
||||
[[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
|
||||
|
||||
debug-print "$FUNCNAME: applying user patches"
|
||||
epatch_user
|
||||
|
||||
|
||||
# @ECLASS-VARIABLE: VOS_EXTRACT
|
||||
# @DESCRIPTION:
|
||||
# Lists any subdirectories that are required to be extracted
|
||||
# and enabled in Makefile.am's for current package.
|
||||
if [[ -n ${VOS_EXTRACT} ]]; then
|
||||
# Comment out everything
|
||||
find . -name Makefile.am -exec \
|
||||
sed -e '/SUBDIRS\s*=/s/^/# DISABLED /g' -i {} + \
|
||||
|| die 'failed to disable subdirs'
|
||||
|
||||
# Uncomment specified
|
||||
local path
|
||||
for path in ${VOS_EXTRACT}; do
|
||||
if [[ -d "${path}" ]]; then
|
||||
# Uncomment leaf
|
||||
if [[ -f "${path}"/Makefile.am ]]; then
|
||||
sed -e '/^# DISABLED \s*SUBDIRS\s*=/s/# DISABLED //g' \
|
||||
-i "${path}"/Makefile.am || die "failed to uncomment leaf in ${path}/Makefile.am"
|
||||
fi
|
||||
# Process remaining path elements
|
||||
while true; do
|
||||
local subdir=`basename "${path}"`
|
||||
path=`dirname "${path}"`
|
||||
if [[ -f "${path}"/Makefile.am ]]; then
|
||||
# Uncomment if necessary
|
||||
sed -e '/^# DISABLED \s*SUBDIRS\s*=/s/.*/SUBDIRS =/g' \
|
||||
-i "${path}"/Makefile.am
|
||||
# Append subdirs if not there already
|
||||
if [[ -z `sed -ne "/SUBDIRS\s*=.*${subdir}\b/p" "${path}"/Makefile.am` ]]; then
|
||||
sed -e "/^SUBDIRS\s*=/s|$| ${subdir}|" \
|
||||
-i "${path}"/Makefile.am || die "failed to append ${subdir}"
|
||||
fi
|
||||
fi
|
||||
[[ "${path}" = . ]] && break
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
# @FUNCTION: virtuoso_src_configure
|
||||
# @DESCRIPTION:
|
||||
# Runs ./configure with common and user options specified via myconf variable
|
||||
virtuoso_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
# Override some variables to make tests work
|
||||
if [[ ${PN} != virtuoso-server ]]; then
|
||||
[[ ${EAPI} == 2 ]] && ! use prefix && EPREFIX=
|
||||
export ISQL="${EPREFIX}"/usr/bin/isql-v
|
||||
export SERVER="${EPREFIX}"/usr/bin/virtuoso-t
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-layout=gentoo \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-shared \
|
||||
--with-pthreads \
|
||||
--without-internal-zlib \
|
||||
${myconf}
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST kde-runtime-4.14.3.tar.xz 7867308 SHA256 78a74e519b4e897ffcee14be98eebd7b672ad2bb6e71a4aa2fe77682b5bc8605 SHA512 63b13f947915bb2eca5b85886610d1af480956b9e95a1ae77ce7c10b11576883a71bebf519335323a1f6c5dfcebe2ee0561b727cea6243756d412d9323feb244 WHIRLPOOL 4d021d826eb2ba553bb6fa320f71ed3d1f1614aef29f2d9e26285eabb9c015e6577e85ee6b0874cd1f8b89ef33cfa3dde5a6002e2178a11ede38cb8bf471a5a2
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kde-runtime"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="Nepomuk KDE4 client"
|
||||
HOMEPAGE+=" https://userbase.kde.org/Nepomuk"
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/soprano-2.9.0[dbus,raptor,redland,virtuoso]
|
||||
$(add_kdebase_dep kdelibs 'nepomuk')
|
||||
$(add_kdebase_dep nepomuk-core)
|
||||
!kde-misc/nepomukcontroller
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
kde4-meta_src_prepare
|
||||
|
||||
# Collides with baloo
|
||||
pushd nepomuk/kioslaves > /dev/null
|
||||
comment_add_subdirectory timeline
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DKDERUNTIME_BUILD_NEPOMUK=true
|
||||
)
|
||||
|
||||
kde4-meta_src_configure
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST kdepim-4.4.11.1.tar.bz2 8964708 SHA256 a2fa237a3d880cc55a6c94450b93a7918bb0d5e3943eb7a759c8789de1ed41bf SHA512 7450ba9985c5583847d1fc3d214940cef130150a3591c3cbb73bc15624ee0298805d5dc25f3cd3a135091c1d0491b865961d52aa8feef623219eed9364dd86bf WHIRLPOOL 349a72c5c6859c7cafb1aefdf80b80482102c8b1d6e0123c6c410d262c3908b9572daa1950e2fb41e6bc727430fc91bb57b7276e345553ed15d792fa63aba5ec
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KMNAME="kdepim"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="An extensible cross-desktop storage service for PIM data and meta data"
|
||||
HOMEPAGE="https://pim.kde.org/akonadi"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
>=app-office/akonadi-server-1.3.1[soprano(+)]
|
||||
$(add_kdebase_dep kdelibs 'nepomuk' 4.13.1)
|
||||
$(add_kdebase_dep kdepimlibs '' 4.13.1)
|
||||
$(add_kdebase_dep libkdepim)
|
||||
!kde-base/akonadiconsole
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep kdepim-runtime)
|
||||
"
|
||||
|
||||
KMEXTRA="
|
||||
akonadiconsole/
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
# Set the dbus dirs, otherwise it searches in KDEDIR
|
||||
-DAKONADI_DBUS_INTERFACES_INSTALL_DIR="${EPREFIX}/usr/share/dbus-1/interfaces"
|
||||
-DAKONADI_DBUS_SERVICES_INSTALL_DIR="${EPREFIX}/usr/share/dbus-1/services"
|
||||
)
|
||||
|
||||
kde4-meta_src_configure
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<!--
|
||||
<use>
|
||||
<flag name="opensync">Enables OpenSync data synchronization protocol support.</flag>
|
||||
</use>
|
||||
-->
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST kdepim-4.4.11.1.tar.bz2 8964708 SHA256 a2fa237a3d880cc55a6c94450b93a7918bb0d5e3943eb7a759c8789de1ed41bf SHA512 7450ba9985c5583847d1fc3d214940cef130150a3591c3cbb73bc15624ee0298805d5dc25f3cd3a135091c1d0491b865961d52aa8feef623219eed9364dd86bf WHIRLPOOL 349a72c5c6859c7cafb1aefdf80b80482102c8b1d6e0123c6c410d262c3908b9572daa1950e2fb41e6bc727430fc91bb57b7276e345553ed15d792fa63aba5ec
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KMNAME="kdepim"
|
||||
KMMODULE="strigi-analyzer"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="kdepim: strigi plugins"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
app-misc/strigi
|
||||
$(add_kdebase_dep kdelibs 'nepomuk' 4.13.1)
|
||||
$(add_kdebase_dep kdepimlibs '' 4.6)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
@ -1 +0,0 @@
|
||||
DIST nepomuk-core-4.14.3.tar.xz 383516 SHA256 74e725577f2f513c577c138e395448c3ca451cd894e35e14017b4b3ce63eab3d SHA512 e7e4eb999e34c14e30465b69eb312fad9ecd28ff349fa8c9c50c7deeebeda42d3ccfc7104ec35c568a1bbeec23e79878c8cc96e3fc85fa409ea1cd327fb6675f WHIRLPOOL fe99a7d6404cf2acd762c91c4fe3e65b8a268f9d7cdd88a5ae8ccdcde47dfbb87c9031d8e7ede6c034f79f0454050067e65eefcf5e972f78a96791d07835064e
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue