diff options
| -rw-r--r-- | app-misc/strigi/Manifest | 7 | ||||
| -rw-r--r-- | app-misc/strigi/files/strigi-0.6.4-gcc44.patch | 40 | ||||
| -rw-r--r-- | app-misc/strigi/files/strigi-0.6.5-gcc4.4-missing-headers.patch | 22 | ||||
| -rw-r--r-- | app-misc/strigi/files/strigi-disable_java.patch | 19 | ||||
| -rw-r--r-- | app-misc/strigi/strigi-0.6.5.ebuild | 101 | ||||
| -rw-r--r-- | app-misc/strigi/strigi-0.7.0.ebuild | 101 | ||||
| -rw-r--r-- | dev-cpp/eigen/Manifest | 5 | ||||
| -rw-r--r-- | dev-cpp/eigen/eigen-2.0.5.ebuild | 75 | ||||
| -rw-r--r-- | dev-cpp/eigen/eigen-2.0.9.ebuild | 70 | ||||
| -rw-r--r-- | dev-cpp/eigen/files/eigen-ppc-define.patch | 11 | ||||
| -rw-r--r-- | dev-libs/soprano/Manifest | 2 | ||||
| -rw-r--r-- | dev-libs/soprano/soprano-2.3.1-r1.ebuild | 104 | ||||
| -rw-r--r-- | eclass/cmake-utils.eclass | 457 |
13 files changed, 0 insertions, 1014 deletions
diff --git a/app-misc/strigi/Manifest b/app-misc/strigi/Manifest index 81652ccf2e4..047d8e97278 100644 --- a/app-misc/strigi/Manifest +++ b/app-misc/strigi/Manifest @@ -1,9 +1,2 @@ -AUX strigi-0.6.4-gcc44.patch 1024 RMD160 194d69ba906c4da9ead9349545f26567dadc8ed2 SHA1 37c4622dd3b3b96de268e8ef15f52d8dea284d49 SHA256 94c594b16c0189706d0b0d565648b685a53910721f2340251ce7197ad5c213df -AUX strigi-0.6.5-gcc4.4-missing-headers.patch 1020 RMD160 91e447323303315a1f8fe282afce6add0f4c802a SHA1 308c03e5fd1b1671ea2690ceaff2426050390f92 SHA256 a16029a8caaede0c0427865a06a308fd6de0f526840b88274fab5ada0233c3c8 -AUX strigi-disable_java.patch 784 RMD160 870decf02f7bda63bae9a6f7df0b26caed753fdc SHA1 09dc828ecef7287e7286277713d07f84d6ff72bf SHA256 f267a0a804d96e9ef4cac1138f98572bec17906021282b4db905b804c33b956d -DIST strigi-0.6.5.tar.bz2 905721 RMD160 d10a3f9fa491f6aef6eba5066969cdcd48b9e09a SHA1 a7594eabd192c75506e8929aafa66195791019a0 SHA256 da9c746c342d645161b906716d82c0b81da069d5e1d40b5a347d91abeef716e9 -DIST strigi-0.7.0.tar.bz2 937446 RMD160 f96faa83c0955e3a665a38b1d84dff1b3ace9405 SHA1 c8f299ae3b5778c6891b58a1966b7342fb5e9e32 SHA256 2b31d24e1de57b82c391af8a6eefb87d40fff06a5c1b43c14aa91f75eaba7efa -EBUILD strigi-0.6.5.ebuild 2582 RMD160 0fab2edf81bdeef3ef48e541ed9074ddfa3cf28f SHA1 90252f7d1a31d7945d9754cb45331fd52f1577ab SHA256 809086b140eb6ea3b1a68b1affa3f88f3266caa0e5b146fe111d4241773119af -EBUILD strigi-0.7.0.ebuild 2589 RMD160 fd77c8c978615f8b11eb34fd5bb2752aa5b199a8 SHA1 ef96786c793d5db731b391b8ec22b0c9f6e4bcfe SHA256 49b7082c339575df7ec23d1f2f06440cf42c902ec02f866f311d4e4752b1cfe3 EBUILD strigi-9999.ebuild 2509 RMD160 4bf4953128a546b2ccf9bbb91f627073458a1f0d SHA1 822a26895da5913278d07c36f36656c29e0ec7e8 SHA256 697457de592fbb2388cb76199d2c45d707527532aa7eab96b13328eea9503465 MISC metadata.xml 486 RMD160 6eb5e37e0646dc21260e2938d9aa6286489e10cd SHA1 d600420837886e1d487266009b803ca76643c571 SHA256 2a4f8b7f0572075a608b0a3fb2e62321b4dbdd61b231cf72218246f0351cda12 diff --git a/app-misc/strigi/files/strigi-0.6.4-gcc44.patch b/app-misc/strigi/files/strigi-0.6.4-gcc44.patch deleted file mode 100644 index e209a930f65..00000000000 --- a/app-misc/strigi/files/strigi-0.6.4-gcc44.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- strigi-0.6.4.orig/src/daemon/dbus/dbuscpp/dbusmessagereader.h -+++ strigi-0.6.4/src/daemon/dbus/dbuscpp/dbusmessagereader.h -@@ -23,6 +23,7 @@ - #define DBUS_API_SUBJECT_TO_CHANGE 1 - #include <dbus/dbus.h> - -+#include <stdint.h> - #include <set> - #include <map> - #include <string> ---- strigi-0.6.4.orig/src/daemon/eventlistener/inotifylistener.h -+++ strigi-0.6.4/src/daemon/eventlistener/inotifylistener.h -@@ -24,6 +24,7 @@ - #include "strigi_thread.h" - #include <map> - #include <vector> -+#include <stdio.h> - - class Event; - class PollingListener; ---- strigi-0.6.4.orig/src/daemon/strigithread.h -+++ strigi-0.6.4/src/daemon/strigithread.h -@@ -22,6 +22,7 @@ - - #include <strigi_thread.h> - #include <string> -+#include <stdio.h> - - extern "C" void *threadstarter(void *); - ---- strigi-0.6.4.orig/src/streamanalyzer/indexpluginloader.h -+++ strigi-0.6.4/src/streamanalyzer/indexpluginloader.h -@@ -25,6 +25,7 @@ - #include <vector> - #include <map> - #include <string> -+#include <stdio.h> - - namespace Strigi { - class IndexManager; diff --git a/app-misc/strigi/files/strigi-0.6.5-gcc4.4-missing-headers.patch b/app-misc/strigi/files/strigi-0.6.5-gcc4.4-missing-headers.patch deleted file mode 100644 index c4eef570f46..00000000000 --- a/app-misc/strigi/files/strigi-0.6.5-gcc4.4-missing-headers.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Nuar strigi-0.6.5.orig/src/estraierindexer/estraierindexmanager.cpp strigi-0.6.5/src/estraierindexer/estraierindexmanager.cpp ---- strigi-0.6.5.orig/src/estraierindexer/estraierindexmanager.cpp 2008-05-19 22:30:35.000000000 +0200 -+++ strigi-0.6.5/src/estraierindexer/estraierindexmanager.cpp 2009-05-18 11:06:21.296581521 +0200 -@@ -23,6 +23,7 @@ - #include "estraierindexwriter.h" - #include "strigi_thread.h" - #include "indexplugin.h" -+#include <cstdio> - #include <cstring> - #include <iostream> - #include <assert.h> -diff -Nuar strigi-0.6.5.orig/src/estraierindexer/estraierindexreader.cpp strigi-0.6.5/src/estraierindexer/estraierindexreader.cpp ---- strigi-0.6.5.orig/src/estraierindexer/estraierindexreader.cpp 2008-05-19 22:30:35.000000000 +0200 -+++ strigi-0.6.5/src/estraierindexer/estraierindexreader.cpp 2009-05-18 11:17:30.476583471 +0200 -@@ -21,6 +21,7 @@ - #include "estraierindexmanager.h" - #include "query.h" - #include <estraier.h> -+#include <cstdio> - #include <cstring> - #include <set> - #include <sstream> diff --git a/app-misc/strigi/files/strigi-disable_java.patch b/app-misc/strigi/files/strigi-disable_java.patch deleted file mode 100644 index 496ef577b18..00000000000 --- a/app-misc/strigi/files/strigi-disable_java.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- src/xsd/CMakeLists.txt.orig 2009-02-28 23:23:33.000000000 +0300 -+++ src/xsd/CMakeLists.txt 2009-03-01 00:08:08.000000000 +0300 -@@ -22,6 +22,8 @@ endif (LIBXML2_FOUND) - # javac >= 1.5 is required to compile the xsd parser - OPTION(ENABLE_REGENERATEXSD - "regenerate xsd parser from *.xsd files(not normally required)" ON) -+ -+if(${ENABLE_REGENERATEXSD}) - find_package(Java) - if (JAVA_COMPILE) - execute_process(COMMAND ${JAVA_COMPILE} "-version" ERROR_VARIABLE -@@ -31,6 +33,7 @@ if (JAVA_COMPILE) - endif (JAVAC_VERSION MATCHES " 1\\.[56]" AND NOT JAVAC_VERSION MATCHES "g[ci]j") - MESSAGE("Java5 found ${JAVAC5_FOUND}") - endif (JAVA_COMPILE) -+endif(${ENABLE_REGENERATEXSD}) - - # loop over all xsd files - set(XSDFILES "${CMAKE_CURRENT_SOURCE_DIR}/strigidaemonconfiguration.xsd" diff --git a/app-misc/strigi/strigi-0.6.5.ebuild b/app-misc/strigi/strigi-0.6.5.ebuild deleted file mode 100644 index 73f9a58b9ad..00000000000 --- a/app-misc/strigi/strigi-0.6.5.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit base cmake-utils - -DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI" -HOMEPAGE="http://strigi.sourceforge.net/" -SRC_URI="http://www.vandenoever.info/software/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" -IUSE="+clucene +dbus debug exif fam hyperestraier inotify log +qt4 test" - -COMMONDEPEND=" - dev-libs/libxml2 - virtual/libiconv - >=virtual/poppler-utils-0.8 - clucene? ( >=dev-cpp/clucene-0.9.19[-debug] ) - dbus? ( - x11-libs/qt-dbus:4 - x11-libs/qt-gui:4 - ) - exif? ( >=media-gfx/exiv2-0.17 ) - fam? ( virtual/fam ) - hyperestraier? ( app-text/hyperestraier ) - log? ( >=dev-libs/log4cxx-0.10.0 ) - qt4? ( - x11-libs/qt-core:4 - x11-libs/qt-gui:4 - x11-libs/qt-dbus:4 - ) - !clucene? ( - !hyperestraier? ( - >=dev-cpp/clucene-0.9.19[-debug] - ) - ) -" -DEPEND="${COMMONDEPEND} - test? ( dev-util/cppunit )" -RDEPEND="${COMMONDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-0.6.4-gcc44.patch" - "${FILESDIR}/${P}-gcc4.4-missing-headers.patch" - "${FILESDIR}/${PN}-disable_java.patch" -) - -src_configure() { - # Strigi needs either expat or libxml2. - # However libxml2 seems to be required in both cases, linking to 2 xml parsers - # is just silly, so we forcefully disable linking to expat. - # Enabled: POLLING (only reliable way to check for files changed.) - - mycmakeargs=( - -DENABLE_EXPAT=OFF -DENABLE_POLLING=ON - -DFORCE_DEPS=ON -DENABLE_CPPUNIT=OFF - -DENABLE_REGENERATEXSD=OFF - $(cmake-utils_use_enable clucene) - $(cmake-utils_use_enable dbus) - $(cmake-utils_use_enable exif EXIV2) - $(cmake-utils_use_enable fam) - $(cmake-utils_use_enable hyperestraier) - $(cmake-utils_use_enable inotify) - $(cmake-utils_use_enable log LOG4CXX) - $(cmake-utils_use_enable qt4) - ) - - if use qt4; then - mycmakeargs+=(-DENABLE_DBUS=ON) - fi - - if ! use clucene && ! use hyperestraier; then - mycmakeargs+=(-DENABLE_CLUCENE=ON) - fi - - cmake-utils_src_configure -} - -src_test() { - mycmakeargs+=(-DENABLE_CPPUNIT=ON) - cmake-utils_src_configure - cmake-utils_src_compile - - pushd "${CMAKE_BUILD_DIR}" > /dev/null - ctest --extra-verbose || die "Tests failed." - popd > /dev/null -} - -pkg_postinst() { - if ! use clucene && ! use hyperestraier; then - elog "Because you didn't enable any of the supported backends:" - elog "clucene, hyperestraier and sqlite" - elog "clucene support was silently installed." - elog "If you prefer another backend, be sure to reinstall strigi" - elog "and to enable that backend use flag" - fi -} diff --git a/app-misc/strigi/strigi-0.7.0.ebuild b/app-misc/strigi/strigi-0.7.0.ebuild deleted file mode 100644 index be6c357fdc8..00000000000 --- a/app-misc/strigi/strigi-0.7.0.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit base cmake-utils - -DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI" -HOMEPAGE="http://strigi.sourceforge.net/" -SRC_URI="http://www.vandenoever.info/software/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86" -IUSE="+clucene +dbus debug exif fam hyperestraier inotify log +qt4 test" - -COMMONDEPEND=" - dev-libs/libxml2 - virtual/libiconv - >=virtual/poppler-utils-0.8 - clucene? ( >=dev-cpp/clucene-0.9.19[-debug] ) - dbus? ( - x11-libs/qt-dbus:4 - x11-libs/qt-gui:4 - ) - exif? ( >=media-gfx/exiv2-0.17 ) - fam? ( virtual/fam ) - hyperestraier? ( app-text/hyperestraier ) - log? ( >=dev-libs/log4cxx-0.10.0 ) - qt4? ( - x11-libs/qt-core:4 - x11-libs/qt-gui:4 - x11-libs/qt-dbus:4 - ) - !clucene? ( - !hyperestraier? ( - >=dev-cpp/clucene-0.9.19[-debug] - ) - ) -" -DEPEND="${COMMONDEPEND} - test? ( dev-util/cppunit )" -RDEPEND="${COMMONDEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-0.6.4-gcc44.patch" - "${FILESDIR}/${PN}-0.6.5-gcc4.4-missing-headers.patch" - "${FILESDIR}/${PN}-disable_java.patch" -) - -src_configure() { - # Strigi needs either expat or libxml2. - # However libxml2 seems to be required in both cases, linking to 2 xml parsers - # is just silly, so we forcefully disable linking to expat. - # Enabled: POLLING (only reliable way to check for files changed.) - - mycmakeargs=( - -DENABLE_EXPAT=OFF -DENABLE_POLLING=ON - -DFORCE_DEPS=ON -DENABLE_CPPUNIT=OFF - -DENABLE_REGENERATEXSD=OFF - $(cmake-utils_use_enable clucene) - $(cmake-utils_use_enable dbus) - $(cmake-utils_use_enable exif EXIV2) - $(cmake-utils_use_enable fam) - $(cmake-utils_use_enable hyperestraier) - $(cmake-utils_use_enable inotify) - $(cmake-utils_use_enable log LOG4CXX) - $(cmake-utils_use_enable qt4) - ) - - if use qt4; then - mycmakeargs+=(-DENABLE_DBUS) - fi - - if ! use clucene && ! use hyperestraier; then - mycmakeargs+=(-DENABLE_CLUCENE=ON) - fi - - cmake-utils_src_configure -} - -src_test() { - mycmakeargs+=(-DENABLE_CPPUNIT=ON) - cmake-utils_src_configure - cmake-utils_src_compile - - pushd "${CMAKE_BUILD_DIR}" > /dev/null - ctest --extra-verbose || die "Tests failed." - popd > /dev/null -} - -pkg_postinst() { - if ! use clucene && ! use hyperestraier; then - elog "Because you didn't enable any of the supported backends:" - elog "clucene, hyperestraier and sqlite" - elog "clucene support was silently installed." - elog "If you prefer another backend, be sure to reinstall strigi" - elog "and to enable that backend use flag" - fi -} diff --git a/dev-cpp/eigen/Manifest b/dev-cpp/eigen/Manifest index 376117c6cc0..431df89e1cc 100644 --- a/dev-cpp/eigen/Manifest +++ b/dev-cpp/eigen/Manifest @@ -1,7 +1,2 @@ -AUX eigen-ppc-define.patch 730 RMD160 ae5bdfbccd15c8b1bc401d34e2c98beffca7fa5f SHA1 0df8892dea5d0e119d94216bb12dd7e6956a5320 SHA256 7d8cbc4897db6cb652f34494c93d0da8a288978b3f211019b69033bd4191bfab -DIST 2.0.5.tar.bz2 357732 RMD160 e06f0772de5ae9f52ee3392601b6c6c9456c6fd4 SHA1 21567d0d8994409598725613d566cc660e2f2323 SHA256 eee17d9542496bb941beb52b3145dbb0df20876d6c0ba891ad1b4097c0ebf173 -DIST 2.0.9.tar.bz2 361622 RMD160 a55d9b4784d901b0d0bf645d2fb4d2c3bd92aa18 SHA1 1dd3d8363666b10c347114ef25109c1295b2ac3a SHA256 2ea2fba08c2fc72bfbddafde84fe7da924f195163c885299441346704a1ec0c3 -EBUILD eigen-2.0.5.ebuild 1591 RMD160 5ff5f3076a904a19feabc362b4ab500255fef4f4 SHA1 135ccacbfdf5a71a00849f33302fec2bb97aafbd SHA256 82a405b9e22bb471abdc6fe8c97cc5e2e90fc1b7ade0937e2bd7f1e7212eb3a4 -EBUILD eigen-2.0.9.ebuild 1485 RMD160 b08cdb7fbbeead3f76b3e657fd9a9ff7f0e46902 SHA1 7d293da4316d2e5faa8b6126ec54cfe19a716f82 SHA256 57ef81dc840a5f6485b44a8e2c8d5a55c59b6cfa6b200583046e767b33dde033 EBUILD eigen-9999.ebuild 1476 RMD160 ec952f8ac32b471b5e555cc913881987756a12da SHA1 2e50c5110a0cca50b7e03a670c026333fd907986 SHA256 155c056e1bbbf14745435789f26c898529c0c997fa195cc5116668bbddc87a6b MISC metadata.xml 620 RMD160 5e24e438e3a9501381b1cab57dcaf29f8cff8374 SHA1 419bbd39ba071fb7ed3588903419ceadf9833a36 SHA256 35dc30130eccec1771de4dd1392b86fc2d6451bcac10babb0ccf5a5e71aad593 diff --git a/dev-cpp/eigen/eigen-2.0.5.ebuild b/dev-cpp/eigen/eigen-2.0.5.ebuild deleted file mode 100644 index 092ffbc9ea1..00000000000 --- a/dev-cpp/eigen/eigen-2.0.5.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit cmake-utils - -DESCRIPTION="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra" -HOMEPAGE="http://eigen.tuxfamily.org/" -SRC_URI="http://bitbucket.org/eigen/eigen2/get/${PV}.tar.bz2" - -LICENSE="GPL-3" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 x86" -SLOT="2" -IUSE="debug doc examples" - -DEPEND=" - examples? ( - x11-libs/qt-gui:4 - x11-libs/qt-opengl:4 - ) -" -RDEPEND="${DEPEND} - !dev-cpp/eigen:0 -" - -S="${WORKDIR}/eigen2" - -src_prepare() { - # fix compilation agains eigen on the PPC platform: - epatch "${FILESDIR}/${PN}-ppc-define.patch" -} - -src_configure() { - # benchmarks (BTL) brings up damn load of external deps including fortran - # compiler - # library hangs up complete compilation proccess, test later - mycmakeargs=( - -DEIGEN_BUILD_LIB=OFF - -DEIGEN_BUILD_BTL=OFF - $(cmake-utils_use examples EIGEN_BUILD_DEMOS) - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - if use doc; then - cd "${CMAKE_BUILD_DIR}" - emake doc || die "building documentation failed" - fi -} - -src_test() { - mycmakeargs+=( - -DEIGEN_BUILD_TESTS=ON - -DEIGEN_TEST_NO_FORTRAN=ON - ) - cmake-utils_src_configure - cmake-utils_src_compile - cmake-utils_src_test -} - -src_install() { - cmake-utils_src_install - if use doc; then - cd "${CMAKE_BUILD_DIR}"/doc - dohtml -r html/* || die "dohtml failed" - fi - if use examples; then - cd "${CMAKE_BUILD_DIR}"/demos - dobin mandelbrot/mandelbrot opengl/quaternion_demo || die "dobin failed" - fi -} diff --git a/dev-cpp/eigen/eigen-2.0.9.ebuild b/dev-cpp/eigen/eigen-2.0.9.ebuild deleted file mode 100644 index 120ca371136..00000000000 --- a/dev-cpp/eigen/eigen-2.0.9.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit cmake-utils - -DESCRIPTION="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra" -HOMEPAGE="http://eigen.tuxfamily.org/" -SRC_URI="http://bitbucket.org/eigen/eigen2/get/${PV}.tar.bz2" - -LICENSE="GPL-3" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -SLOT="2" -IUSE="debug doc examples" - -DEPEND=" - examples? ( - x11-libs/qt-gui:4 - x11-libs/qt-opengl:4 - ) -" -RDEPEND="${DEPEND} - !dev-cpp/eigen:0 -" - -S="${WORKDIR}/eigen2" - -src_configure() { - # benchmarks (BTL) brings up damn load of external deps including fortran - # compiler - # library hangs up complete compilation proccess, test later - mycmakeargs=( - -DEIGEN_BUILD_LIB=OFF - -DEIGEN_BUILD_BTL=OFF - $(cmake-utils_use examples EIGEN_BUILD_DEMOS) - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - if use doc; then - cd "${CMAKE_BUILD_DIR}" - emake doc || die "building documentation failed" - fi -} - -src_install() { - cmake-utils_src_install - if use doc; then - cd "${CMAKE_BUILD_DIR}"/doc - dohtml -r html/* || die "dohtml failed" - fi - if use examples; then - cd "${CMAKE_BUILD_DIR}"/demos - dobin mandelbrot/mandelbrot opengl/quaternion_demo || die "dobin failed" - fi -} - -src_test() { - mycmakeargs+=( - -DEIGEN_BUILD_TESTS=ON - -DEIGEN_TEST_NO_FORTRAN=ON - ) - cmake-utils_src_configure - cmake-utils_src_compile - cmake-utils_src_test -} diff --git a/dev-cpp/eigen/files/eigen-ppc-define.patch b/dev-cpp/eigen/files/eigen-ppc-define.patch deleted file mode 100644 index 6481f10bdbd..00000000000 --- a/dev-cpp/eigen/files/eigen-ppc-define.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Eigen/src/Core/util/Macros.h.orig 2009-06-26 11:58:16.000000000 +0200 -+++ Eigen/src/Core/util/Macros.h 2009-06-26 11:59:04.000000000 +0200 -@@ -41,7 +41,7 @@ - // because extra memory must be allocated for bookkeeping). - // if the compiler is not GNUC, just cross fingers that the architecture isn't too exotic, because we don't want - // to keep track of all the different preprocessor symbols for all compilers. --#if !defined(__GNUC__) || defined(__i386__) || defined(__x86_64__) || defined(__ppc__) || defined(__ia64__) -+#if !defined(__GNUC__) || defined(__i386__) || defined(__x86_64__) || defined(__ppc__) || defined(__powerpc__) || defined(__ia64__) - #define EIGEN_ARCH_WANTS_ALIGNMENT 1 - #else - #ifdef EIGEN_VECTORIZE diff --git a/dev-libs/soprano/Manifest b/dev-libs/soprano/Manifest index 5ecc2379ade..fa2bbdbe32c 100644 --- a/dev-libs/soprano/Manifest +++ b/dev-libs/soprano/Manifest @@ -1,6 +1,4 @@ -DIST soprano-2.3.1.tar.bz2 1919103 RMD160 51d36d21241423da1766b876dee6acd5ef4cc5d8 SHA1 25871876ed83a4a3863585deee4d63b882ff7c9e SHA256 13e8b123bbbaea55f0a89495de6b08bb09945cd983f525a63c60f3345726be95 DIST soprano-2.3.70.tar.bz2 1941306 RMD160 7c77ba320da10814317ab2dd44d508ffc298892b SHA1 2f730b384237ec9096e2dbc16073e085833f5db4 SHA256 5442f0f46c54e9e7229bdc5770272ba29b296f7bd277c18e029b2e30a9d7bdff -EBUILD soprano-2.3.1-r1.ebuild 2730 RMD160 e3b267d1bd9cab35e3c9a13a570e914d4e7714ea SHA1 df679c203cdd6852ba36f64d69ac3a5996f14392 SHA256 a46c4bccb7660ca1d3baf50ed635319369d5bd444636ec372e4861e1a63b58ee EBUILD soprano-2.3.70.ebuild 2844 RMD160 75d2bee651cba014bac12df5ac0bc4c427de313c SHA1 d2896a1cb6c9bf5c8827d13ecd26350ffaff32ee SHA256 60cb75aa80a7d182b0a6c28d904f5e6797602e9d7fe8dc92b19eb7b59aca8749 EBUILD soprano-9999.ebuild 2814 RMD160 40dfe21576f916b32963f3fab7340fcf62439de1 SHA1 02861c24c0b9e0a6374ec7ce2084dc2304a35847 SHA256 208cde67f9403c7a6f78635b64b3861660c5c5ca8f36915e2f5ed67e46f84d87 MISC metadata.xml 661 RMD160 4cc052a1f0507d9ea45b3dc36c0d1319cd5d6801 SHA1 ccb365c5b898290244b5ea3c66fa938fb327cce6 SHA256 e06e233e003c202ac8257cdc080eb6380dc6b78166554c54fe72cee5ba39619b diff --git a/dev-libs/soprano/soprano-2.3.1-r1.ebuild b/dev-libs/soprano/soprano-2.3.1-r1.ebuild deleted file mode 100644 index cd7fc6ccacd..00000000000 --- a/dev-libs/soprano/soprano-2.3.1-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -JAVA_PKG_OPT_USE="java" -inherit base cmake-utils flag-o-matic java-pkg-opt-2 - -DESCRIPTION="Library that provides a nice Qt interface to RDF storage solutions" -HOMEPAGE="http://sourceforge.net/projects/soprano" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="LGPL-2" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86" -SLOT="0" -IUSE="+clucene +dbus debug doc elibc_FreeBSD +java +raptor redland" - -COMMON_DEPEND=" - x11-libs/qt-core:4 - clucene? ( dev-cpp/clucene ) - dbus? ( x11-libs/qt-dbus:4 ) - raptor? ( >=media-libs/raptor-1.4.16 ) - redland? ( - >=dev-libs/rasqal-0.9.15 - >=dev-libs/redland-1.0.6 - ) - java? ( >=virtual/jdk-1.6.0 ) -" - -DEPEND="${COMMON_DEPEND} - doc? ( app-doc/doxygen ) -" -RDEPEND="${COMMON_DEPEND} -" - -CMAKE_IN_SOURCE_BUILD="1" - -pkg_setup() { - java-pkg-opt-2_pkg_setup - - if [[ ${PV} = *9999* && -z $I_KNOW_WHAT_I_AM_DOING ]]; then - echo - ewarn "WARNING! This is an experimental ebuild of ${PN} SVN tree. Use at your own risk." - ewarn "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!" - echo - fi - - if ! use java; then - if ! use redland; then - echo - ewarn "You explicitly disabled default soprano backend and haven't chosen other one." - ewarn "Applications using soprano may need at least one backend functional." - ewarn "If you experience any problems, enable any of those USE flags:" - ewarn "java (recommended), redland" - echo - else - echo - ewarn "You selected redland as default backend for soprano." - ewarn "Be advised that it's known to be broken (bug #275326)." - echo - fi - fi -} - -src_prepare() { - # Temporarily disable raptor serializer automagic - if ! use redland; then - sed -e '/set(BUILD_RAPTOR_SERIALIZER TRUE)/d' \ - -i CMakeLists.txt || die "failed to disable raptor serializer" - fi - - base_src_prepare -} - -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 - - mycmakeargs=( - -DSOPRANO_BUILD_TESTS=OFF - -DCMAKE_SKIP_RPATH=OFF - $(cmake-utils_use !clucene SOPRANO_DISABLE_CLUCENE_INDEX) - $(cmake-utils_use !dbus SOPRANO_DISABLE_DBUS) - $(cmake-utils_use !raptor SOPRANO_DISABLE_RAPTOR_PARSER) - $(cmake-utils_use !redland SOPRANO_DISABLE_REDLAND_BACKEND) - $(cmake-utils_use !java SOPRANO_DISABLE_SESAME2_BACKEND) - $(cmake-utils_use doc SOPRANO_BUILD_API_DOCS) - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_test() { - mycmakeargs+=(-DSOPRANO_BUILD_TESTS=ON) - cmake-utils_src_configure - cmake-utils_src_compile - ctest --extra-verbose || die "Tests failed." -} diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass deleted file mode 100644 index 08b6cdd818e..00000000000 --- a/eclass/cmake-utils.eclass +++ /dev/null @@ -1,457 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -# @ECLASS: cmake-utils.eclass -# @MAINTAINER: -# kde@gentoo.org -# -# @CODE -# Tomáš Chvátal <scarabeus@gentoo.org> -# Maciej Mrozowski <reavertm@poczta.fm> -# (undisclosed contributors) -# Original author: Zephyrus (zephyrus@mirach.it) -# @CODE -# @BLURB: common ebuild functions for cmake-based packages -# @DESCRIPTION: -# The cmake-utils eclass contains functions that make creating ebuilds for -# cmake-based packages much easier. -# Its main features are support of out-of-source builds as well as in-source -# builds and an implementation of the well-known use_enable and use_with -# functions for CMake. - -# @ECLASS-VARIABLE: WANT_CMAKE -# @DESCRIPTION: -# Specify if cmake-utils eclass should depend on cmake optionaly or not. -# This is usefull when only part of aplication is using cmake build system. -# Valid values are: always [default], optional (where the value is the useflag -# used for optionality) -WANT_CMAKE="${WANT_CMAKE:-always}" -CMAKEDEPEND="" -case ${WANT_CMAKE} in - always) - ;; - *) - IUSE+=" ${WANT_CMAKE}" - CMAKEDEPEND+="${WANT_CMAKE}? ( " - ;; -esac -inherit toolchain-funcs multilib flag-o-matic base - -CMAKE_EXPF="src_compile src_test src_install" -case ${EAPI:-0} in - 3|2) CMAKE_EXPF+=" src_configure" ;; - 1|0) ;; - *) die "Unknown EAPI, Bug eclass maintainers." ;; -esac -EXPORT_FUNCTIONS ${CMAKE_EXPF} - -: ${DESCRIPTION:="Based on the ${ECLASS} eclass"} - -if [[ ${PN} != cmake ]]; then - CMAKEDEPEND+=">=dev-util/cmake-2.6.2-r1" -fi - -CMAKEDEPEND+=" userland_GNU? ( >=sys-apps/findutils-4.4.0 )" - -[[ ${WANT_CMAKE} = always ]] || CMAKEDEPEND+=" )" - -DEPEND="${CMAKEDEPEND}" -unset CMAKEDEPEND - -# Internal functions used by cmake-utils_use_* -_use_me_now() { - debug-print-function ${FUNCNAME} "$@" - - local uper capitalised x - [[ -z $2 ]] && die "cmake-utils_use-$1 <USE flag> [<flag name>]" - if [[ ! -z $3 ]]; then - # user specified the use name so use it - echo "-D$1$3=$(use $2 && echo ON || echo OFF)" - else - # use all various most used combinations - uper=$(echo ${2} | tr '[:lower:]' '[:upper:]') - capitalised=$(echo ${2} | sed 's/\<\(.\)\([^ ]*\)/\u\1\L\2/g') - for x in $2 $uper $capitalised; do - echo "-D$1$x=$(use $2 && echo ON || echo OFF) " - done - fi -} -_use_me_now_inverted() { - debug-print-function ${FUNCNAME} "$@" - - local uper capitalised x - [[ -z $2 ]] && die "cmake-utils_use-$1 <USE flag> [<flag name>]" - if [[ ! -z $3 ]]; then - # user specified the use name so use it - echo "-D$1$3=$(use $2 && echo OFF || echo ON)" - else - # use all various most used combinations - uper=$(echo ${2} | tr '[:lower:]' '[:upper:]') - capitalised=$(echo ${2} | sed 's/\<\(.\)\([^ ]*\)/\u\1\L\2/g') - for x in $2 $uper $capitalised; do - echo "-D$1$x=$(use $2 && echo OFF || echo ON) " - done - fi -} - -# @ECLASS-VARIABLE: DOCS -# @DESCRIPTION: -# Documents passed to dodoc command. - -# @ECLASS-VARIABLE: HTML_DOCS -# @DESCRIPTION: -# Documents passed to dohtml command. - -# @ECLASS-VARIABLE: PREFIX -# @DESCRIPTION: -# Eclass respects PREFIX variable, though it's not recommended way to set -# install/lib/bin prefixes. -# Use -DCMAKE_INSTALL_PREFIX=... CMake variable instead. - -# @ECLASS-VARIABLE: CMAKE_IN_SOURCE_BUILD -# @DESCRIPTION: -# Set to enable in-source build. - -# @ECLASS-VARIABLE: CMAKE_NO_COLOR -# @DESCRIPTION: -# Set to disable cmake output coloring. - -# @ECLASS-VARIABLE: CMAKE_VERBOSE -# @DESCRIPTION: -# Set to enable verbose messages during compilation. - -# @ECLASS-VARIABLE: CMAKE_BUILD_TYPE -# @DESCRIPTION: -# Set to override default CMAKE_BUILD_TYPE. Only useful for packages -# known to make use of "if (CMAKE_BUILD_TYPE MATCHES xxx)". -# If about to be set - needs to be set before invoking cmake-utils_src_configure. -# You usualy do *NOT* want nor need to set it as it pulls CMake default build-type -# specific compiler flags overriding make.conf. -: ${CMAKE_BUILD_TYPE:=Gentoo} - -# @FUNCTION: _check_build_dir -# @DESCRIPTION: -# Determine using IN or OUT source build -_check_build_dir() { - # @ECLASS-VARIABLE: CMAKE_USE_DIR - # @DESCRIPTION: - # Sets the directory where we are working with cmake. - # For example when application uses autotools and only one - # plugin needs to be done by cmake. - # By default it uses ${S}. - : ${CMAKE_USE_DIR:=${S}} - - # @ECLASS-VARIABLE: CMAKE_BUILD_DIR - # @DESCRIPTION: - # Specify the build directory where all cmake processed - # files should be located. - # - # For installing binary doins "${CMAKE_BUILD_DIR}/${PN}" - if [[ -n ${CMAKE_IN_SOURCE_BUILD} ]]; then - # we build in source dir - CMAKE_BUILD_DIR="${CMAKE_USE_DIR}" - elif [[ ${CMAKE_USE_DIR} = ${WORKDIR} ]]; then - # out of tree build, but with $S=$WORKDIR, see bug #273949 for reason. - CMAKE_BUILD_DIR="${CMAKE_USE_DIR}/build" - else - # regular out of tree build - [[ ${1} = init || -d ${CMAKE_USE_DIR}_build ]] && SUF="_build" || SUF="" - CMAKE_BUILD_DIR="${CMAKE_USE_DIR}${SUF}" - - fi - echo ">>> Working in BUILD_DIR: \"$CMAKE_BUILD_DIR\"" -} -# @FUNCTION: cmake-utils_use_with -# @USAGE: <USE flag> [flag name] -# @DESCRIPTION: -# Based on use_with. See ebuild(5). -# -# `cmake-utils_use_with foo FOO` echoes -DWITH_FOO=ON if foo is enabled -# and -DWITH_FOO=OFF if it is disabled. -cmake-utils_use_with() { _use_me_now WITH_ "$@" ; } - -# @FUNCTION: cmake-utils_use_enable -# @USAGE: <USE flag> [flag name] -# @DESCRIPTION: -# Based on use_enable. See ebuild(5). -# -# `cmake-utils_use_enable foo FOO` echoes -DENABLE_FOO=ON if foo is enabled -# and -DENABLE_FOO=OFF if it is disabled. -cmake-utils_use_enable() { _use_me_now ENABLE_ "$@" ; } - -# @FUNCTION: cmake-utils_use_disable -# @USAGE: <USE flag> [flag name] -# @DESCRIPTION: -# Based on inversion of use_enable. See ebuild(5). -# -# `cmake-utils_use_enable foo FOO` echoes -DDISABLE_FOO=OFF if foo is enabled -# and -DDISABLE_FOO=ON if it is disabled. -cmake-utils_use_disable() { _use_me_now_inverted DISABLE_ "$@" ; } - -# @FUNCTION: cmake-utils_use_no -# @USAGE: <USE flag> [flag name] -# @DESCRIPTION: -# Based on use_disable. See ebuild(5). -# -# `cmake-utils_use_no foo FOO` echoes -DNO_FOO=OFF if foo is enabled -# and -DNO_FOO=ON if it is disabled. -cmake-utils_use_no() { _use_me_now_inverted NO_ "$@" ; } - -# @FUNCTION: cmake-utils_use_want -# @USAGE: <USE flag> [flag name] -# @DESCRIPTION: -# Based on use_enable. See ebuild(5). -# -# `cmake-utils_use_want foo FOO` echoes -DWANT_FOO=ON if foo is enabled -# and -DWANT_FOO=OFF if it is disabled. -cmake-utils_use_want() { _use_me_now WANT_ "$@" ; } - -# @FUNCTION: cmake-utils_use_build -# @USAGE: <USE flag> [flag name] -# @DESCRIPTION: -# Based on use_enable. See ebuild(5). -# -# `cmake-utils_use_build foo FOO` echoes -DBUILD_FOO=ON if foo is enabled -# and -DBUILD_FOO=OFF if it is disabled. -cmake-utils_use_build() { _use_me_now BUILD_ "$@" ; } - -# @FUNCTION: cmake-utils_use_has -# @USAGE: <USE flag> [flag name] -# @DESCRIPTION: -# Based on use_enable. See ebuild(5). -# -# `cmake-utils_use_has foo FOO` echoes -DHAVE_FOO=ON if foo is enabled -# and -DHAVE_FOO=OFF if it is disabled. -cmake-utils_use_has() { _use_me_now HAVE_ "$@" ; } - -# @FUNCTION: cmake-utils_use -# @USAGE: <USE flag> [flag name] -# @DESCRIPTION: -# Based on use_enable. See ebuild(5). -# -# `cmake-utils_use foo FOO` echoes -DFOO=ON if foo is enabled -# and -DFOO=OFF if it is disabled. -cmake-utils_use() { _use_me_now "" "$@" ; } - -# Internal function for modifying hardcoded definitions. -# Removes dangerous definitionts that override Gentoo settings. -_modify-cmakelists() { - debug-print-function ${FUNCNAME} "$@" - - # Comment out all set (<some_should_be_user_defined_variable> value) - # TODO Add QA checker - inform when variable being checked for below is set in CMakeLists.txt - find "${CMAKE_USE_DIR}" -name CMakeLists.txt \ - -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_BUILD_TYPE.*)/{s/^/#IGNORE /g}' {} + \ - -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_INSTALL_PREFIX.*)/{s/^/#IGNORE /g}' {} + \ - || die "${LINENO}: failed to disable hardcoded settings" - - # NOTE Append some useful summary here - cat >> CMakeLists.txt <<- _EOF_ - MESSAGE(STATUS "<<< Gentoo configuration >>> - Build type: ${CMAKE_BUILD_TYPE} - Install path: ${CMAKE_INSTALL_PREFIX}\n") - _EOF_ -} - -# @FUNCTION: enable_cmake-utils_src_configure -# @DESCRIPTION: -# General function for configuring with cmake. Default behaviour is to start an -# out-of-source build. -enable_cmake-utils_src_configure() { - debug-print-function ${FUNCNAME} "$@" - - _check_build_dir init - - # check if CMakeLists.txt exist and if no then die - if [[ ! -e ${CMAKE_USE_DIR}/CMakeLists.txt ]] ; then - eerror "I was unable to locate CMakeLists.txt under:" - eerror "\"${CMAKE_USE_DIR}/CMakeLists.txt\"" - eerror "You should consider not inheriting the cmake eclass." - die "FATAL: Unable to find CMakeLists.txt" - fi - - # Remove dangerous things. - _modify-cmakelists - - # Fix xdg collision with sandbox - export XDG_CONFIG_HOME="${T}" - - # @SEE CMAKE_BUILD_TYPE - if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then - # Handle release builds - if ! has debug ${IUSE//+} || ! use debug; then - append-cppflags -DNDEBUG - fi - fi - - # Prepare Gentoo override rules (set valid compiler, append CPPFLAGS) - local build_rules=${T}/gentoo_rules.cmake - cat > "${build_rules}" <<- _EOF_ - SET (CMAKE_C_COMPILER $(type -P $(tc-getCC)) CACHE FILEPATH "C compiler" FORCE) - SET (CMAKE_C_COMPILE_OBJECT "<CMAKE_C_COMPILER> <DEFINES> ${CPPFLAGS} <FLAGS> -o <OBJECT> -c <SOURCE>" CACHE STRING "C compile command" FORCE) - SET (CMAKE_CXX_COMPILER $(type -P $(tc-getCXX)) CACHE FILEPATH "C++ compiler" FORCE) - SET (CMAKE_CXX_COMPILE_OBJECT "<CMAKE_CXX_COMPILER> <DEFINES> ${CPPFLAGS} <FLAGS> -o <OBJECT> -c <SOURCE>" CACHE STRING "C++ compile command" FORCE) - _EOF_ - - if use prefix; then - cat >> "${build_rules}" <<- _EOF_ - # in Prefix we need rpath and must ensure cmake gets our default linker path - # right ... except for Darwin hosts - IF (NOT APPLE) - SET (CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE) - SET (CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH "${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)" - CACHE STRING "" FORCE) - ENDIF (NOT APPLE) - _EOF_ - fi - - # Common configure parameters (invariants) - local common_config=${T}/gentoo_common_config.cmake - local libdir=$(get_libdir) - cat > "${common_config}" <<- _EOF_ - SET (LIB_SUFFIX ${libdir/lib} CACHE STRING "library path suffix" FORCE) - _EOF_ - [[ -n ${CMAKE_NO_COLOR} ]] && echo 'SET (CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}" - - # Convert mycmakeargs to an array, for backwar |
