parent
dfd9d55f3d
commit
84472206fe
@ -1,2 +1,3 @@
|
||||
DIST libbson-0.98.0.tar.gz 4451923 SHA256 5e792a3c4d296a8b9e4316f1c58e94819223c4512ba4a790cf9e7086ef614995 SHA512 9bae7593198c8ac358978bd6a065d65fb872a15fd43d11839ad5dff1ffbe0362b06cd4bde08032a2c11e8633789328b5d504cd032b7636dc525f6df3e6fd641d WHIRLPOOL ed6350ef59fa596f6414010362999896648c491a906b4ad9f5e11bac549acf975083d3b6ea8d4e0eff0e3ae35a7db784303120d3855b7f2bb21373a318f44516
|
||||
DIST libbson-1.1.10.tar.gz 4431658 SHA256 211a62a7a6f93ba21b85afc1522c3a367a264be09626ea15f7be3a0fbe084a70 SHA512 636178bafb19e7b103b5192866dbda0c70b8d7173560b0466f88b3a85cce3292a7caac9521808fa8c09d187f8c96564dcd9fb787e855d1619610f813583379bc WHIRLPOOL 8b29882ce3ebe0da4b0ce952d2b79fff2ce4c211047ff7c05e15f6263546258c134974fdf539ed6173f286c501085e575cebde806f6578ea9fb843f1b92da4f3
|
||||
DIST libbson-1.1.2.tar.gz 4492014 SHA256 acd8026d4e5bf5034b699af136236a8a38c06613d1800fdf54721fe66280b6ae SHA512 03e2ee337445286c14b846cd7545707959b1d351fa466c6292379a85e48ea1a171dae37dd7aff092212239ad59aac6f1ab216ee5de74ef00a8a2a124559e34da WHIRLPOOL 10a4fee34bcc12a730899553d62405784673ee5beecf63a624fb1527c9dddd0403d855a7557f6a35167bffee2b2ebb9f7d3b7ddc64d2e12cc39d95afe89e0db6
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="A BSON utility library"
|
||||
HOMEPAGE="https://github.com/mongodb/libbson"
|
||||
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
IUSE="debug examples static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
# https://github.com/mongodb/mongo-c-driver/issues/54
|
||||
sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/bson/Makefile.am \
|
||||
tests/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-hardening \
|
||||
--disable-optimizations \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doman doc/*.3
|
||||
|
||||
use static-libs || find "${D}" -name '*.la' -delete
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/${PF}/examples
|
||||
doins examples/*.c
|
||||
fi
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST mongo-c-driver-0.7.1.tar.gz 108537 SHA256 6670b50bb4232cc617a114d1320ea97abc55f9570b4ebf53e1e6c22671ffc328 SHA512 5c6996dc47ecbe4d77971e3aa983a877e7de736bf358c467808eceba8b1a5eea342376249cdc682a034fc7ec39290d234527cec3c3732686f184281a72aec724 WHIRLPOOL c3aadbb61bd7bd295398b4510708f95c0a05383e80baba510609870aa39f5442d4bbfb6441889f605578e07e2c97d44d2e2d75b5a2ec6950a362825c6110fbd3
|
||||
DIST mongo-c-driver-0.8.1.tar.gz 124053 SHA256 9575f05fa87fe1f7c6562b1ec9202fd4b8a98950a4d65ea44c1c62fadc2b48b0 SHA512 7b61ac4b1b154ee1f518eddb2bbc0cdafe0da8786eed4475e5703c2a735ec5a09efde59f5bfa45fb226cbce24d8c0ba0de403d8fc3e561c0e48507dfb07962b1 WHIRLPOOL 1474a7b5fced35b511cedd97f558f284d70135c591bd6d671c34519f68097a1e2e6a32a6323acfa4ea3d0146529d3be79f2f91d1187ba3d01a7da6aaacaabf2d
|
||||
DIST mongo-c-driver-0.98.2.tar.gz 5342760 SHA256 ac0edebd6ee55ac5c63047addc67d1801440586e6a9388cb3938c5bb0319afc5 SHA512 6e3abc31b1e0e02d3bb864882444a95aa01ec4a85ee77abdc52675a730790be7f1924f3c6ea36405ff0f2066e332302ca567bbfa35ba7b918bce81fb409600eb WHIRLPOOL 931a20b916778fcff0d419a73e1263b72b3293ce320254b050ed2211b56449e5e8dcd608459dcce8af98922e64a4aefc2908883f12a590d9e3e754573aed17c1
|
||||
DIST mongo-c-driver-1.1.10.tar.gz 5321144 SHA256 19c076fcca1e7b22a731f10b757a049fd94b4aee6bbd0d7b7a0bcbd454e9dee8 SHA512 10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df WHIRLPOOL ee42e78fbab15b964a04ec70c4a782bb7cd0c46275619b46d32b2c00094df90e3de4a756e6f8496fec87a596af23a403d3cf33b391309e8a044334cbaec58a06
|
||||
DIST mongo-c-driver-1.1.2.tar.gz 5443153 SHA256 ba97f4304883abf6d57ac96751260c4b413b871b0779c12e67136320bee5f118 SHA512 d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95 WHIRLPOOL d72bdd7e449e8437bc9742e5f0330e6f6c47d40e3fc07a17d95a9967ecb2ae5961f5c7c155e2d8a12e733139ffbf30091dfa283f6f6a694e05c9c9fb7a03bd2b
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="A high-performance MongoDB driver for C"
|
||||
HOMEPAGE="https://github.com/mongodb/mongo-c-driver"
|
||||
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
IUSE="debug examples sasl ssl static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/libbson-1.1.10
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
ssl? ( dev-libs/openssl:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-db/mongodb )"
|
||||
|
||||
DOCS=( NEWS README.rst TUTORIAL.md )
|
||||
|
||||
src_prepare() {
|
||||
rm -r src/libbson || die
|
||||
sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die
|
||||
|
||||
# https://github.com/mongodb/mongo-c-driver/issues/54
|
||||
sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \
|
||||
tests/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-libbson=system \
|
||||
--disable-hardening \
|
||||
--disable-optimizations \
|
||||
--disable-examples \
|
||||
$(use_enable sasl) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doman doc/*.3
|
||||
|
||||
use static-libs || find "${D}" -name '*.la' -delete
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/${PF}/examples
|
||||
doins -r examples/*.c examples/aggregation examples/bulk
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Avoid allocating too much disk space by using server.smallFiles = 1
|
||||
echo -e "storage:\n smallFiles: true" > "${T}/mongod.conf"
|
||||
local PORT=27099
|
||||
mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
|
||||
-f "${T}/mongod.conf" --dbpath="${T}" \
|
||||
--logpath="${T}/mongod.log" || die
|
||||
MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test
|
||||
kill `cat "${T}/mongod.lock"`
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST legacy-0.0-26compat-2.6.7.tar.gz 1512331 SHA256 a77165e7ad0c1ff8e246adc5e60b9ebb18eec7f0cc18682a33498c12d7cab0ba SHA512 edf13d5b7802c3b2e9772f08949fd0c412f2cd25ec6d05ff4e8c1f25c3e3506da6ebbd7b017ceec5478585c84e9fa44c66a5094ad3e7a7373187d3fb3c1c1222 WHIRLPOOL f64cfded6a02e241b4b59b3394bcec1cf7df4bc175aba261893d8b24106760eb3899b85b520c5f9af9d929d93ad29ed6d2ef1e11d662b7a331f143f2b88d637c
|
||||
DIST legacy-1.0.0.tar.gz 1569156 SHA256 1350dfdcdb3969e472bf83eec08378f771196c47e70b474e7349c816acb0cca4 SHA512 e161972715fe45b777ee3d9c7e788ee3a808af789e2c1248af1dde3d3f3936e29f619e039f53210cdd3fc6a6bd8a02c101facf49c61759c6f108d25c5c03b59b WHIRLPOOL 7d5c8fc6d011f219652bc6cc5a8dd59fac899a95ca3bde22fc76a2505cb7393a1762681f77cfc9295028a427e875c0155ee7046fa9d1c2e4e52d340a19e2c925
|
||||
DIST legacy-1.0.5.tar.gz 1573929 SHA256 7e83927285f294ef5b98c4bad022c3dc8e0af5628595abfb676f3d027a8bbebe SHA512 e904d73f78ffbc1ce18ffa11dd7e3dddd67c730b6e79bace0e48c0be4e8ffd7b5fe12e1373e42ad941d8fc239ef031a47d39ff04aaf3f0a5ecf88115c816bc70 WHIRLPOOL 8512c9a694288d71d0ad3383457a021a905d384c29c1cdbe426adf3aee9d59406518657d263f9b7d6dcb943ad1268dfd1ac007318139ac409254039a29d62c7c
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
SCONS_MIN_VERSION="2.3.0"
|
||||
|
||||
inherit eutils flag-o-matic multilib scons-utils
|
||||
|
||||
DESCRIPTION="C++ Driver for MongoDB"
|
||||
HOMEPAGE="https://github.com/mongodb/mongo-cxx-driver"
|
||||
SRC_URI="https://github.com/mongodb/${PN}/archive/legacy-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug sasl ssl static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/boost-1.50[threads(+)]
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
ssl? ( dev-libs/openssl:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# Maintainer notes
|
||||
# TODO: enable test in IUSE with
|
||||
# test? ( >=dev-cpp/gtest-1.7.0 dev-db/mongodb )
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
S="${WORKDIR}/${PN}-legacy-${PV}"
|
||||
|
||||
pkg_setup() {
|
||||
scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
|
||||
scons_opts+=" --disable-warnings-as-errors --sharedclient"
|
||||
|
||||
if use debug; then
|
||||
scons_opts+=" --dbg=on"
|
||||
fi
|
||||
|
||||
if use prefix; then
|
||||
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
|
||||
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
|
||||
fi
|
||||
|
||||
if use sasl; then
|
||||
scons_opts+=" --use-sasl-client"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
scons_opts+=" --ssl"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.0.0-fix-scons.patch"
|
||||
|
||||
# respect mongoDB upstream's basic recommendations
|
||||
# see bug #536688 and #526114
|
||||
if ! use debug; then
|
||||
filter-flags '-m*'
|
||||
filter-flags '-O?'
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} install --prefix="${ED}"/usr
|
||||
|
||||
use static-libs || find "${D}" -name '*.a' -delete
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST orocos_kinematics_dynamics-1.3.0.tar.gz 200229 SHA256 7be2dd5e4f4c1ceac2cdf1f4fae3d94d4ffd9fc1af8d483c05f04e80ef84b3f9 SHA512 09ff63f74f1eac3ee8b1090364e0d95b4ae96c9d4435ca34adacb3ded7385f948ddca9be2c1c2c2214c9342b17bbffb7da89ba9b7cd402e7fd4f2c6dbd06a930 WHIRLPOOL 4085fa4aba77e0c24a3c1aab4ab5f98e8b349037525e6a596ff027075ea1dcd33c4f13fa3abd61bbe6a2a3bd13b62616d7b614c030ecda8343be3ed59406bae6
|
@ -0,0 +1,58 @@
|
||||
Upstream status: Pending.
|
||||
https://github.com/orocos/orocos_kinematics_dynamics/pull/44
|
||||
|
||||
Index: orocos_kinematics_dynamics-1.3.0/python_orocos_kdl/CMakeLists.txt
|
||||
===================================================================
|
||||
--- orocos_kinematics_dynamics-1.3.0.orig/python_orocos_kdl/CMakeLists.txt
|
||||
+++ orocos_kinematics_dynamics-1.3.0/python_orocos_kdl/CMakeLists.txt
|
||||
@@ -8,7 +8,7 @@ link_directories(${orocos_kdl_LIBRARY_DI
|
||||
|
||||
find_package(PythonInterp REQUIRED)
|
||||
find_package(PythonLibs ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} REQUIRED)
|
||||
-execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=True, prefix='')" OUTPUT_VARIABLE PYTHON_SITE_PACKAGES OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
+execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(plat_specific=True, prefix=''))" OUTPUT_VARIABLE PYTHON_SITE_PACKAGES OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
||||
find_package(SIP REQUIRED)
|
||||
include(SIPMacros)
|
||||
Index: orocos_kinematics_dynamics-1.3.0/python_orocos_kdl/PyKDL/std_string.sip
|
||||
===================================================================
|
||||
--- orocos_kinematics_dynamics-1.3.0.orig/python_orocos_kdl/PyKDL/std_string.sip
|
||||
+++ orocos_kinematics_dynamics-1.3.0/python_orocos_kdl/PyKDL/std_string.sip
|
||||
@@ -27,7 +27,7 @@
|
||||
newstring = PyUnicode_DecodeUTF8(sipCpp->c_str(), sipCpp->length(), NULL);
|
||||
if(newstring == NULL) {
|
||||
PyErr_Clear();
|
||||
- newstring = PyString_FromString(sipCpp->c_str());
|
||||
+ newstring = PyUnicode_FromString(sipCpp->c_str());
|
||||
}
|
||||
return newstring;
|
||||
%End
|
||||
@@ -38,21 +38,27 @@
|
||||
// If argument is a Unicode string, just decode it to UTF-8
|
||||
// If argument is a Python string, assume it's UTF-8
|
||||
if (sipIsErr == NULL)
|
||||
+#if PY_MAJOR_VERSION < 3
|
||||
return (PyString_Check(sipPy) || PyUnicode_Check(sipPy));
|
||||
+#else
|
||||
+ return PyUnicode_Check(sipPy);
|
||||
+#endif
|
||||
if (sipPy == Py_None) {
|
||||
*sipCppPtr = new std::string;
|
||||
return 1;
|
||||
}
|
||||
if (PyUnicode_Check(sipPy)) {
|
||||
PyObject* s = PyUnicode_AsEncodedString(sipPy, "UTF-8", "");
|
||||
- *sipCppPtr = new std::string(PyString_AS_STRING(s));
|
||||
+ *sipCppPtr = new std::string(PyUnicode_AS_DATA(s));
|
||||
Py_DECREF(s);
|
||||
return 1;
|
||||
}
|
||||
+#if PY_MAJOR_VERSION < 3
|
||||
if (PyString_Check(sipPy)) {
|
||||
*sipCppPtr = new std::string(PyString_AS_STRING(sipPy));
|
||||
return 1;
|
||||
}
|
||||
+#endif
|
||||
|
||||
return 0;
|
||||
%End
|
@ -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,57 @@
|
||||
# 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/orocos/orocos_kinematics_dynamics"
|
||||
fi
|
||||
|
||||
inherit ${SCM} python-r1 cmake-utils
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
SRC_URI="http://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Python bindings for KDL"
|
||||
HOMEPAGE="http://www.orocos.org/kdl"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/orocos_kdl
|
||||
dev-python/sip[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/py3.patch" )
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
S=${WORKDIR}/${P}/python_orocos_kdl
|
||||
else
|
||||
S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/python_orocos_kdl
|
||||
fi
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl cmake-utils_src_install
|
||||
}
|
@ -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/orocos/orocos_kinematics_dynamics"
|
||||
fi
|
||||
|
||||
inherit ${SCM} python-r1 cmake-utils
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
SRC_URI="http://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Python bindings for KDL"
|
||||
HOMEPAGE="http://www.orocos.org/kdl"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/orocos_kdl
|
||||
dev-python/sip[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
S=${WORKDIR}/${P}/python_orocos_kdl
|
||||
else
|
||||
S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/python_orocos_kdl
|
||||
fi
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl cmake-utils_src_install
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST rosinstall-0.7.6.tar.gz 64788 SHA256 e5abe3ddb34a84cb77ce926a71112ccda985ed95462f757a24cb67f0e6aa3d9e SHA512 e7e480995e612557e146c9f8c5158aa3109dbc3a3b324f67d9a533cae75a10bae45bdd1573e63bb8bda2b3d7d1ef494c2de3eb06e8ee4f1e05d50f10e5015997 WHIRLPOOL 3affdbb949906007382bd1e2f59b48d0cb8d842d3f93ce6027066dbe644954b1ba337e44ea2d02acd26e9381a308452f84dd2d8ff3993eeb3d180ee82431e734
|
@ -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/vcstools/rosinstall"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Command-line tools for maintaining a workspace of projects for ROS"
|
||||
HOMEPAGE="http://wiki.ros.org/rosinstall http://wiki.ros.org/roslocate"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
https://github.com/vcstools/rosinstall/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/vcstools[${PYTHON_USEDEP}]
|
||||
dev-python/rosdistro[${PYTHON_USEDEP}]
|
||||
dev-util/wstool[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
dev-vcs/bzr
|
||||
dev-vcs/mercurial
|
||||
app-shells/zsh
|
||||
)
|
||||
"
|
||||
|
||||
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>"
|
||||
# command to run tests
|
||||
# Local tests work even if ros.org is down
|
||||
export ROSINSTALL_SKIP_PYTHON3=1
|
||||
nosetests test || die
|
||||
}
|
@ -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/vcstools/rosinstall"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Command-line tools for maintaining a workspace of projects for ROS"
|
||||
HOMEPAGE="http://wiki.ros.org/rosinstall http://wiki.ros.org/roslocate"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
https://github.com/vcstools/rosinstall/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/vcstools[${PYTHON_USEDEP}]
|
||||
dev-python/rosdistro[${PYTHON_USEDEP}]
|
||||
dev-util/wstool[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
dev-vcs/bzr
|
||||
dev-vcs/mercurial
|
||||
app-shells/zsh
|
||||
)
|
||||
"
|
||||
|
||||
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>"
|
||||
# command to run tests
|
||||
# Local tests work even if ros.org is down
|
||||
export ROSINSTALL_SKIP_PYTHON3=1
|
||||
nosetests test || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST rosinstall_generator-0.1.11.tar.gz 10230 SHA256 cbb87d76a35d14d9dc5728c53e0027fe855830daacf6b4aa78b336fad03a297d SHA512 ec94feaf05f105cc19715824937c96a505bcff1236a445f8eb85cd68dfa70fd8e146d6e8c67a5f1d54b1579a8f432ecbf042acd7c0a78a104c27281433afb2f6 WHIRLPOOL e78320c5134f6645ab168695b4a5291fda8348a38f0b5f3a27618e0c6a9eac04381a843f1eb083db9e1f4edb149e8ac767e6ded6691894dec604504e582fce34
|
@ -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,36 @@
|
||||
# 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/rosinstall_generator"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Generates rosinstall files containing information about repositories with ROS packages/stacks"
|
||||
HOMEPAGE="http://wiki.ros.org/rosinstall_generator"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/ros-infrastructure/rosinstall_generator/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/catkin_pkg-0.1.28[${PYTHON_USEDEP}]
|
||||
dev-python/rosdistro[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -0,0 +1,36 @@
|
||||
# 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/rosinstall_generator"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Generates rosinstall files containing information about repositories with ROS packages/stacks"
|
||||
HOMEPAGE="http://wiki.ros.org/rosinstall_generator"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/ros-infrastructure/rosinstall_generator/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/catkin_pkg-0.1.28[${PYTHON_USEDEP}]
|
||||
dev-python/rosdistro[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -0,0 +1 @@
|
||||
DIST wstool-0.1.10.tar.gz 73404 SHA256 2810f7f384b45bc653e006e0d473ed66a3ba88e237792a92955bc61fcef61b7c SHA512 8b5924844e8ff0ddcce3302b550493a9bbe525c7c7d7f5a23e49d4734649f50893ca0f2e5dbd05b20ee73d31666d61a4c3035e7d30e6053bfe8ff5c6aa9aafde WHIRLPOOL b9a6399e0dfb894685b7ed83210fe2920bdcfb2a426684829c65fec33b3963eb6cde3f7c35f9f16194306731bb366ba54ce48ba10805ff70c7eaf0a094d7f15c
|
@ -0,0 +1,22 @@
|
||||
Index: wstool-0.1.10/setup.py
|
||||
===================================================================
|
||||
--- wstool-0.1.10.orig/setup.py
|
||||
+++ wstool-0.1.10/setup.py
|
||||
@@ -23,15 +23,9 @@ def get_version():
|
||||
def _resolve_prefix(prefix, type):
|
||||
osx_system_prefix = '/System/Library/Frameworks/Python.framework/Versions'
|
||||
if type == 'man':
|
||||
- if prefix == '/usr':
|
||||
- return '/usr/share'
|
||||
- if sys.prefix.startswith(osx_system_prefix):
|
||||
- return '/usr/share'
|
||||
+ return os.path.join(prefix, 'share')
|
||||
elif type == 'bash_comp':
|
||||
- if prefix == '/usr':
|
||||
- return '/'
|
||||
- if sys.prefix.startswith(osx_system_prefix):
|
||||
- return '/'
|
||||
+ return os.path.join(prefix, '../')
|
||||
elif type == 'zsh_comp':
|
||||
if sys.prefix.startswith(osx_system_prefix):
|
||||
return '/usr'
|
@ -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,62 @@
|
||||
# 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/wstool"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Commands to manage several local SCM repositories for ROS"
|
||||
HOMEPAGE="http://wiki.ros.org/wstool"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/vcstools/wstool/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/vcstools[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/sphinx
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
dev-vcs/bzr
|
||||
dev-vcs/mercurial
|
||||
dev-vcs/subversion
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/prefix.patch" )
|
||||
DISTUTILS_IN_SOURCE_BUILD="yes"
|
||||
|
||||
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>"
|
||||
# command to run tests
|
||||
nosetests --with-coverage --cover-package=wstool || die
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# 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/wstool"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Commands to manage several local SCM repositories for ROS"
|
||||
HOMEPAGE="http://wiki.ros.org/wstool"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/vcstools/wstool/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/vcstools[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/sphinx
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
dev-vcs/bzr
|
||||
dev-vcs/mercurial
|
||||
dev-vcs/subversion
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/prefix.patch" )
|
||||
DISTUTILS_IN_SOURCE_BUILD="yes"
|
||||
|
||||
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>"
|
||||
# command to run tests
|
||||
nosetests --with-coverage --cover-package=wstool || die
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST tortoisehg-3.3.2.tar.gz 8226128 SHA256 779beb06588897d1c42fc463fecc4b61498f7cac76681fe1c1f017ecd811719a SHA512 4b7e1422731507aa8947b0e8e7746a6daa004186833db200122927c4e5a2f2cb1fbbf12f89089e3ee82d1a22fdb3c7745465188cbf3e14d73d831b953f2b2d9f WHIRLPOOL 34fce6c6383ae94eb4d6fbca854068535ac39b50746dbcc3ee9460976231dc68c3c5f824dc31082838505bdaeaf3620306ceea867d8ac5571d00ee1f1192e867
|
||||
DIST tortoisehg-3.3.3.tar.gz 8230380 SHA256 a22ec794b0152b25b085447a253594dde27f71863149b9471ec70669687fb47f SHA512 ed15a2ce76647f6c2d9df2daebc62f983eec6a27ea15a808060d83968cfee2c22f643b2ed6fb48bf06dd5d7cb9f4178e756e539eec2ca43e74fe4c8cfc7da4cf WHIRLPOOL d069dbe4ca109aaf2ebf9dd73f2d87343c2c71a8d5a894a5b7278a5edc878aa7eda56f9d53dca8968d1e730eea94a9f814a5cd76fb4af522a506753a5342cb47
|
||||
DIST tortoisehg-3.4.2.tar.gz 8205349 SHA256 d22692166dc6ff61c9d12bfe5ceb77fbf87e7dd52222c956976e7987d84145a1 SHA512 f771536508f1c72c15b1fe7fbf5b3ef6dafbb14314db45776632231dd2d74b46b862476fe78505a08b2271c2ce6419926e6090a2e0a6451da60314ba154fe9f4 WHIRLPOOL cfe0db33da10b2fcafff3e831937488a276924420cfff8a50396e0109c3edef7fb182036d38b72ff8fbf6aafae714eb1b6c4caf109938361babf04eed3addce4
|
||||
DIST tortoisehg-3.5.1.tar.gz 7396361 SHA256 49ce7b492f38b54b0095d79b8122fb4f4d60947e2d5ac68072a70526ef0a6450 SHA512 24706bbc8eb92380b643488066b922b8c6fc460caedac447e9fb6803b22ffc4039e918a892052a0b2fcdc2d22e5b334d338728076f89a1d4fbc8699ac1f721eb WHIRLPOOL 523ae72ba483dc171f8b9de92500ca71d6e22c9e485aec0d33a3d710b7fad899a9b4342eab4938d2cb40e9b1350b42f7a5f8921444cc97a1225161bd6762e48f
|
||||
DIST tortoisehg-3.5.tar.gz 7395688 SHA256 b072180ad851c6c04b003a75ee995a6e1a6cbe7d7a26e86398fd0b32f55194de SHA512 83c6243cb186abec78a63787afb13005effde24f30b00e75cfa66103c5511b4491022916cc5765393f361643a1fbb5c810597b3b114be07a4fd5204736564486 WHIRLPOOL 4d2e61ab87ced1211f52a6ba8c342bd7bc0431c2494baab2e288520d2f9cdcaf8d04e27490c6425712a07516521087e753708ef87784d3a00b25490ace133c00
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://www.bitbucket.org/${PN}/targz/downloads/${P}.tar.gz"
|
||||
HG_DEPEND=">=dev-vcs/mercurial-3.4 <dev-vcs/mercurial-3.6"
|
||||
else
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
|
||||
EHG_REVISION="stable"
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
HG_DEPEND="dev-vcs/mercurial"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Set of graphical tools for Mercurial"
|
||||
HOMEPAGE="https://tortoisehg.bitbucket.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="${HG_DEPEND}
|
||||
dev-python/iniparse[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[svg,${PYTHON_USEDEP}]
|
||||
dev-python/qscintilla-python[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=dev-python/sphinx-1.0.3 )"
|
||||
|
||||
# Workaround race condition in build_qt
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
if [[ ${LINGUAS+set} ]]; then
|
||||
cd i18n/tortoisehg || die
|
||||
local x y keep
|
||||
for x in *.po; do
|
||||
keep=false
|
||||
for y in ${LINGUAS}; do
|
||||
if [[ ${y} == ${x%.po}* ]]; then
|
||||
keep=true
|
||||
break
|
||||
fi
|
||||
done
|
||||
${keep} || rm "${x}" || die
|
||||
done
|
||||
cd "${S}" || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
|
||||
if use doc ; then
|
||||
dohtml -r doc/build/html/
|
||||
fi
|
||||
newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg
|
||||
domenu contrib/thg.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "When startup of ${PN} fails with an API version mismatch error"
|
||||
elog "between dev-python/sip and dev-python/PyQt4 please rebuild"
|
||||
elog "dev-python/qscintilla-python."
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST kdelibs-4.14.10.tar.xz 11644204 SHA256 00f5a7bdb0b2bcb786ea630844c639ebe89c45eb1e88443dde421baa0895ca94 SHA512 051322f6ee24e09f7b705e17aa8cc755bc6728855afe5b310910e976737167d7902f01a6a8ca51b60b1f0904429522d35eeec1b09ac6cfbdcab97e0fdd5429df WHIRLPOOL 4d4b8d6c25af95e4074606f5ffa7f33134a6a625a22ba7912b1b1a5af3474702d9adc12e71da86cedf46ac150678e53dd7a8bafb444a3b687f1efb633af7ff2d
|
||||
DIST kdelibs-4.14.11.tar.xz 11631188 SHA256 981274f1e34c9a73593faf347bdb524b476391ddb1919c5ab39365d7f1aa573c SHA512 f0d634a7b4475d32c68f4b04cd032c45de200343349d2880ef625434ce6df17c6b6f040db6fcff29bbfd98df6f2d6540cd4d3e5d977490dbbe28f038a0ffa561 WHIRLPOOL 3865c46dde6da33ddd26765545d6919f69813330f38fe7ec50e6f2885191f45b224cc33abcebb2350df0ffbce7e252d83cfcb04c28742c351dbfbdfbeaf5fb70
|
||||
DIST kdelibs-4.14.12.tar.xz 11633140 SHA256 2f17d34af6bc7383625df5562239418c808afd7df462073331bd82a84b1f97e8 SHA512 f04b69bffa67ab76457e56c784604e59270bab081694aa5d19d7b19cc190b9c49c25de2ac8f05c49b2dd09b6c47efc091976d2845c4f3eedecda15feffedb20d WHIRLPOOL 7b9474387bad9e1929cbde352c4b30368dca50d7d7d4862b47fb8b1452528655f3fa4461843dcc26c5b704f3a0d87f2637e4a167c1ae75a4d67833f36bc02115
|
||||
DIST kdelibs-4.14.3.tar.xz 11600500 SHA256 f8206da1106184ef0bd031b82701c4910b8dade331c4cdaf1cd9c6c5208cfd9e SHA512 7713cec4851fd4d7d5376afd905515902395ca469cefe1924c05ac0cd4499c28ab6a3c3e7bee10c4cfb3584f2fe93cfb6129d5b550d56d18217866f5fde748cf WHIRLPOOL 9b6d525136cee8e43b832dbbe7451494cc30e15cc58cc34eeab8c9040a9cbe893dc8ba794be50cdb3462e20279bfb41bee22385d3d106a353ef738da510f5c04
|
||||
DIST kdelibs-4.14.8.tar.xz 11648060 SHA256 705fa8a9b3b3c962aa99d040eb32e68863ba4c2f567b82b9513379defbc39bbb SHA512 0cd5e8dd5cec7cf84bc66c6732f4967610211e521898da41601d24174f909043bafacbb9bd9775666cebb132747e2861c6c8ff07de61be708975f44dbbfb856e WHIRLPOOL 6405ee6b273899a26c39fa005c18be7270888113f93302990003b92ca96c52303ce853c5378c812f4ddf53f40c7b6ff9e2a958bc86a676d1e3abbfe4f3d96bd4
|
||||
|
@ -0,0 +1,299 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
CMAKE_MIN_VERSION="3.3.1-r1"
|
||||
CPPUNIT_REQUIRED="optional"
|
||||
DECLARATIVE_REQUIRED="always"
|
||||
OPENGL_REQUIRED="optional"
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base fdo-mime multilib toolchain-funcs flag-o-matic
|
||||
|
||||
EGIT_BRANCH="KDE/4.14"
|
||||
|
||||
DESCRIPTION="KDE libraries needed by all KDE programs"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="cpu_flags_x86_3dnow acl alsa altivec +bzip2 +crypt debug doc fam jpeg2k
|
||||
kerberos lzma cpu_flags_x86_mmx nls openexr +policykit spell cpu_flags_x86_sse
|
||||
cpu_flags_x86_sse2 ssl +udev +udisks +upower zeroconf"
|
||||
|
||||
REQUIRED_USE="
|
||||
udisks? ( udev )
|
||||
upower? ( udev )
|
||||
"
|
||||
|
||||
# needs the kate regression testsuite from svn
|
||||
RESTRICT="test"
|
||||
|
||||
COMMONDEPEND="
|
||||
>=app-misc/strigi-0.7.7
|
||||
app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xsl-stylesheets
|
||||
>=dev-libs/libattica-0.4.2
|
||||
>=dev-libs/libdbusmenu-qt-0.3.2[qt4(+)]
|
||||
dev-libs/libpcre[unicode]
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/giflib
|
||||
media-libs/libpng:0=
|
||||
media-libs/phonon[qt4]
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0
|
||||
>=x11-misc/shared-mime-info-0.60
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
!aqua? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
!kernel_SunOS? (
|
||||
|| (
|
||||
sys-libs/libutempter
|
||||
>=sys-freebsd/freebsd-lib-9.0
|
||||
)
|
||||
)
|
||||
)
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
crypt? ( app-crypt/qca:2[qt4(+)] )
|
||||
fam? ( virtual/fam )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
kerberos? ( virtual/krb5 )
|
||||
openexr? (
|
||||
media-libs/openexr:=
|
||||
media-libs/ilmbase:=
|
||||
)
|
||||
policykit? ( >=sys-auth/polkit-qt-0.103.0[qt4(+)] )
|
||||
spell? ( app-text/enchant )
|
||||
ssl? ( dev-libs/openssl:0 )
|
||||
udev? ( virtual/udev )
|
||||
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
!dev-qt/qtphonon
|
||||
!<=kde-base/plasma-workspace-4.7.1:4
|
||||
!<=kde-base/kcontrol-4.4.50:4
|
||||
>=app-crypt/gnupg-2.0.11
|
||||
app-misc/ca-certificates
|
||||
$(add_kdebase_dep kde-env '' 4.14.3)
|
||||
sys-apps/dbus[X]
|
||||
!aqua? (
|
||||
udisks? ( sys-fs/udisks:2 )
|
||||
x11-apps/iceauth
|
||||
x11-apps/rgb
|
||||
>=x11-misc/xdg-utils-1.0.2-r3
|
||||
upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )
|
||||
)
|
||||
udev? ( app-misc/media-player-info )
|
||||
"
|
||||
PDEPEND="
|
||||
$(add_kdebase_dep katepart '' 4.14.3)
|
||||
|| (
|
||||
$(add_kdeapps_dep kfmclient '' 4.14.3)
|
||||
x11-misc/xdg-utils
|
||||
)
|
||||
handbook? (
|
||||
|| (
|
||||
$(add_kdebase_dep khelpcenter '' 4.14.3)
|
||||
kde-plasma/khelpcenter:5[compat(+)]
|
||||
)
|
||||
)
|
||||
policykit? ( || (
|
||||
>=sys-auth/polkit-kde-agent-0.99
|
||||
kde-plasma/polkit-kde-agent
|
||||
) )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/dist/01_gentoo_set_xdg_menu_prefix-1.patch"
|
||||
"${FILESDIR}/dist/02_gentoo_append_xdg_config_dirs-1.patch"
|
||||
"${FILESDIR}/${PN}-4.14.5-fatalwarnings.patch"
|
||||
"${FILESDIR}/${PN}-4.14.5-mimetypes.patch"
|
||||
"${FILESDIR}/${PN}-4.4.90-xslt.patch"
|
||||
"${FILESDIR}/${PN}-4.6.3-no_suid_kdeinit.patch"
|
||||
"${FILESDIR}/${PN}-4.8.1-norpath.patch"
|
||||
"${FILESDIR}/${PN}-4.9.3-werror.patch"
|
||||
"${FILESDIR}/${PN}-4.10.0-udisks.patch"
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
[[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
|
||||
&& die "Sorry, but gcc-4.3 and earlier won't work for KDE SC 4.6 (see bug #354837)."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
kde4-base_src_prepare
|
||||
|
||||
# Rename applications.menu (needs 01_gentoo_set_xdg_menu_prefix-1.patch to work)
|
||||
sed -e 's|FILES[[:space:]]applications.menu|FILES applications.menu RENAME kde-4-applications.menu|g' \
|
||||
-i kded/CMakeLists.txt || die "Sed on CMakeLists.txt for applications.menu failed."
|
||||
|
||||
if use aqua; then
|
||||
sed -i -e \
|
||||
"s:BUNDLE_INSTALL_DIR \"/Applications:BUNDLE_INSTALL_DIR \"${EPREFIX}/${APP_BUNDLE_DIR}:g" \
|
||||
cmake/modules/FindKDE4Internal.cmake || die "failed to sed FindKDE4Internal.cmake"
|
||||
|
||||
#if [[ ${CHOST} == *-darwin8 ]]; then
|
||||
sed -i -e \
|
||||
"s:set(_add_executable_param MACOSX_BUNDLE):remove(_add_executable_param MACOSX_BUNDLE):g" \
|
||||
cmake/modules/KDE4Macros.cmake || die "failed to sed KDE4Macros.cmake"
|
||||
#fi
|
||||
|
||||
# solid/solid/backends/iokit doesn't properly link, so disable it.
|
||||
sed -e "s|\(APPLE\)|(FALSE)|g" -i solid/solid/CMakeLists.txt \
|
||||
|| die "disabling solid/solid/backends/iokit failed"
|
||||
sed -e "s|m_backend = .*Backends::IOKit.*;|m_backend = 0;|g" -i solid/solid/managerbase.cpp \
|
||||
|| die "disabling solid/solid/backends/iokit failed"
|
||||
|
||||
# There's no fdatasync on OSX and the check fails to detect that.
|
||||
sed -e "/HAVE_FDATASYNC/ d" -i config.h.cmake \
|
||||
|| die "disabling fdatasync failed"
|
||||
|
||||
# Fix nameser include to nameser8_compat
|
||||
sed -e "s|nameser8_compat.h|nameser_compat.h|g" -i kio/misc/kpac/discovery.cpp \
|
||||
|| die "fixing nameser include failed"
|
||||
append-flags -DHAVE_ARPA_NAMESER8_COMPAT_H=1
|
||||
|
||||
# Try to fix kkeyserver_mac
|
||||
epatch "${FILESDIR}"/${PN}-4.3.80-kdeui_util_kkeyserver_mac.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_HSPELL=OFF
|
||||
-DWITH_ASPELL=OFF
|
||||
-DWITH_DNSSD=OFF
|
||||
-DKDE_DEFAULT_HOME=.kde4
|
||||
-DKAUTH_BACKEND=POLKITQT-1
|
||||
-DBUILD_libkactivities=OFF
|
||||
-DWITH_Soprano=OFF
|
||||
-DWITH_SharedDesktopOntologies=OFF
|
||||
$(cmake-utils_use_build handbook doc)
|
||||
$(cmake-utils_use_has cpu_flags_x86_3dnow X86_3DNOW)
|
||||
$(cmake-utils_use_has altivec PPC_ALTIVEC)
|
||||
$(cmake-utils_use_has cpu_flags_x86_mmx X86_MMX)
|
||||
$(cmake-utils_use_has cpu_flags_x86_sse X86_SSE)
|
||||
$(cmake-utils_use_has cpu_flags_x86_sse2 X86_SSE2)
|
||||
$(cmake-utils_use_with acl)
|
||||
$(cmake-utils_use_with alsa)
|
||||
$(cmake-utils_use_with bzip2 BZip2)
|
||||
$(cmake-utils_use_with crypt QCA2)
|
||||
$(cmake-utils_use_with fam)
|
||||
$(cmake-utils_use_with jpeg2k Jasper)
|
||||
$(cmake-utils_use_with kerberos GSSAPI)
|
||||
$(cmake-utils_use_with lzma LibLZMA)
|
||||
$(cmake-utils_use_with nls Libintl)
|
||||
$(cmake-utils_use_with openexr OpenEXR)
|
||||
$(cmake-utils_use_with opengl OpenGL)
|
||||
$(cmake-utils_use_with policykit PolkitQt-1)
|
||||
$(cmake-utils_use_with spell ENCHANT)
|
||||
$(cmake-utils_use_with ssl OpenSSL)
|
||||
$(cmake-utils_use_with udev UDev)
|
||||
$(cmake-utils_use_with udisks SOLID_UDISKS2)
|
||||
$(cmake-utils_use_with zeroconf Avahi)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
kde4-base_src_compile
|
||||
|
||||
# The building of apidox is not managed anymore by the build system
|
||||
if use doc; then
|
||||
einfo "Building API documentation"
|
||||
cd "${S}"/doc/api/
|
||||
./doxygen.sh "${S}" || die "APIDOX generation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kde4-base_src_install
|
||||
|
||||
# use system certificates
|
||||
rm -f "${ED}"/usr/share/apps/kssl/ca-bundle.crt || die
|
||||
dosym /etc/ssl/certs/ca-certificates.crt /usr/share/apps/kssl/ca-bundle.crt
|
||||
|
||||
if use doc; then
|
||||
einfo "Installing API documentation. This could take a bit of time."
|
||||
cd "${S}"/doc/api/
|
||||
docinto /HTML/en/kdelibs-apidox
|
||||
dohtml -r ${P}-apidocs/*
|
||||
fi
|
||||
|
||||
if use aqua; then
|
||||
einfo "fixing ${PN} plugins"
|
||||
|
||||
local _PV=${PV:0:3}.0
|
||||
local _dir=${EPREFIX}/usr/$(get_libdir)/kde4/plugins/script
|
||||
|
||||
install_name_tool -id \
|
||||
"${_dir}/libkrossqtsplugin.${_PV}.dylib" \
|
||||
"${D}/${_dir}/libkrossqtsplugin.${_PV}.dylib" \
|
||||
|| die "failed fixing libkrossqtsplugin.${_PV}.dylib"
|
||||
|
||||
einfo "fixing ${PN} cmake detection files"
|
||||
#sed -i -e \
|
||||
# "s:if (HAVE_XKB):if (HAVE_XKB AND NOT APPLE):g" \
|
||||
echo -e "set(XKB_FOUND FALSE)\nset(HAVE_XKB FALSE)" > \
|
||||
"${ED}"/usr/share/apps/cmake/modules/FindXKB.cmake \
|
||||
|| die "failed fixing FindXKB.cmake"
|
||||
fi
|
||||
|
||||
einfo Installing environment file.
|
||||
# Since 44qt4 is sourced earlier QT_PLUGIN_PATH is defined.
|
||||
echo "COLON_SEPARATED=QT_PLUGIN_PATH" > "${T}/77kde"
|
||||
echo "QT_PLUGIN_PATH=${EPREFIX}/usr/$(get_libdir)/kde4/plugins" >> "${T}/77kde"
|
||||
doenvd "${T}/77kde"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
if use zeroconf; then
|
||||
echo
|
||||
elog "To make zeroconf support available in KDE make sure that the avahi daemon"
|
||||
elog "is running."
|
||||
echo
|
||||
einfo "If you also want to use zeroconf for hostname resolution, emerge sys-auth/nss-mdns"
|
||||
einfo "and enable multicast dns lookups by editing the 'hosts:' line in /etc/nsswitch.conf"
|
||||
einfo "to include 'mdns', e.g.:"
|
||||
einfo " hosts: files mdns dns"
|
||||
echo
|
||||
fi
|
||||
|
||||
kde4-base_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# Remove ksycoca4 global database
|
||||
rm -f "${EROOT}${PREFIX}"/share/kde4/services/ksycoca4
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
kde4-base_pkg_postrm
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue