diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2011-11-02 18:23:01 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2011-11-02 18:23:01 +0000 |
commit | 3e614ec96ba585016fd3d1151cb1234eb7671362 (patch) | |
tree | 2d144b3992e288233e6675f01c28fb07d6d78848 /dev-libs | |
parent | Translate toolkit is no longer required. (diff) | |
download | gentoo-2-3e614ec96ba585016fd3d1151cb1234eb7671362.tar.gz gentoo-2-3e614ec96ba585016fd3d1151cb1234eb7671362.tar.bz2 gentoo-2-3e614ec96ba585016fd3d1151cb1234eb7671362.zip |
Version bump, also fix bug 389299 (largefile support)
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/soprano/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/soprano/files/soprano-2.7.3-largefile-support.patch | 13 | ||||
-rw-r--r-- | dev-libs/soprano/soprano-2.7.3.ebuild | 92 |
3 files changed, 112 insertions, 1 deletions
diff --git a/dev-libs/soprano/ChangeLog b/dev-libs/soprano/ChangeLog index 683f2a3e3daa..aebc3f7a0e21 100644 --- a/dev-libs/soprano/ChangeLog +++ b/dev-libs/soprano/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/soprano # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.82 2011/10/18 17:01:47 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.83 2011/11/02 18:23:01 reavertm Exp $ + +*soprano-2.7.3 (02 Nov 2011) + + 02 Nov 2011; Maciej Mrozowski <reavertm@gentoo.org> + +files/soprano-2.7.3-largefile-support.patch, +soprano-2.7.3.ebuild: + Version bump, also fix bug 389299 (largefile support) 18 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> metadata.xml: Remove unused description for USE="java" diff --git a/dev-libs/soprano/files/soprano-2.7.3-largefile-support.patch b/dev-libs/soprano/files/soprano-2.7.3-largefile-support.patch new file mode 100644 index 000000000000..79910ef0af6d --- /dev/null +++ b/dev-libs/soprano/files/soprano-2.7.3-largefile-support.patch @@ -0,0 +1,13 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -170,6 +170,9 @@ else(WINCE) + set(LIBRARY_TYPE SHARED) + endif(WINCE) + ++# Soprano will handle large files in LockFile (Virtuoso DB files) ++add_definitions(-D_FILE_OFFSET_BITS=64) ++ + + ################## add subdirectories ################################ + if(BUILD_CLUCENE_INDEX) + diff --git a/dev-libs/soprano/soprano-2.7.3.ebuild b/dev-libs/soprano/soprano-2.7.3.ebuild new file mode 100644 index 000000000000..8c776be4edc8 --- /dev/null +++ b/dev-libs/soprano/soprano-2.7.3.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.7.3.ebuild,v 1.1 2011/11/02 18:23:01 reavertm Exp $ + +EAPI=4 + +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 ~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 solutions" +HOMEPAGE="http://sourceforge.net/projects/soprano" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="clucene +dbus debug doc elibc_FreeBSD +raptor +redland test +virtuoso" + +RESTRICT=test +# bug 281712 + +COMMON_DEPEND=" + >=x11-libs/qt-core-4.5.0:4 + clucene? ( dev-cpp/clucene ) + dbus? ( >=x11-libs/qt-dbus-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? ( >=x11-libs/qt-test-4.5.0:4 ) +" +RDEPEND="${COMMON_DEPEND} + virtuoso? ( >=dev-db/virtuoso-server-6.1.0 ) +" + +CMAKE_IN_SOURCE_BUILD="1" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.4-make-broken-redland-fatal.cmake" + "${FILESDIR}/${P}-largefile-support.patch" +) + +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 + $(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_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 +} |