Version bump, also fix bug 389299 (largefile support)
authorMaciej Mrozowski <reavertm@gentoo.org>
Wed, 2 Nov 2011 18:23:01 +0000 (18:23 +0000)
committerMaciej Mrozowski <reavertm@gentoo.org>
Wed, 2 Nov 2011 18:23:01 +0000 (18:23 +0000)
Package-Manager: portage-2.2.0_alpha72/cvs/Linux x86_64

dev-libs/soprano/ChangeLog
dev-libs/soprano/Manifest
dev-libs/soprano/files/soprano-2.7.3-largefile-support.patch [new file with mode: 0644]
dev-libs/soprano/soprano-2.7.3.ebuild [new file with mode: 0644]

index 683f2a3e3daaec187035c6daec243c728f985063..aebc3f7a0e21a6a71183b306e470e032b8dce71f 100644 (file)
@@ -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"
index 27c7601cd52860f2dec041836c077143fcf33a79..02a8edb62238c545bd8fa2d330c0ecc33533661f 100644 (file)
@@ -2,18 +2,17 @@
 Hash: SHA1
 
 AUX soprano-2.4.4-make-broken-redland-fatal.cmake 626 RMD160 1e66eee8b51c408d2fdb1ee34d9b4b9aeea42379 SHA1 5bd1adc38db7547631d6ebd55a41b5fbdfe40335 SHA256 654292d68cbc6d511d7b0db0387e3f1f426484934b6a5e9355c63e7606ead051
+AUX soprano-2.7.3-largefile-support.patch 329 RMD160 3e7e88bd8b6210d2be8b6a6f1848277682a0bcfc SHA1 62c8914520050195699020f543bf25756d468ce9 SHA256 c87a51c8cac08cc57b9f692211da71af55c9edb17db57e6f62746004c404ab3d
 DIST soprano-2.7.0.tar.bz2 1950793 RMD160 a23d3b6c81324b0c6548152580a0026ef4d51c00 SHA1 dada6fe40db5f230054e0dbd1c7ad7344838cf4e SHA256 5fecda00ffa713fd94b6da985ca67074c0048ba6acd5025db0d0a6081e1729ce
+DIST soprano-2.7.3.tar.bz2 1953606 RMD160 43af7e951b2779e5ada813b4c84ef6bf0c760fea SHA1 dd65c5aafa0cf33b537b5c7e1e4d9466f63056e9 SHA256 f0c5202f472f64b66e3a734f5b2cba36442dd39a5196049337cbee524f05f82b
 EBUILD soprano-2.7.0.ebuild 2625 RMD160 ad22f57dc6e79e13574769a8334939f04262c1ff SHA1 2355c43deb6ebb52b6f6f57975a5e034de171b90 SHA256 58854487068b4fc0d90441882f92b44c4931f6e16ce1683c5d9758ab6151e1cf
-MISC ChangeLog 11649 RMD160 1e68a322654bb794a7fb87d79721738a5932b6cb SHA1 baa50b1195d3c0c7208f4a1d1ceb6739ae805b4d SHA256 34ba0cd0e11368c2aedddafabaa4546f4a73697277f54957786d63ce2a3025dc
+EBUILD soprano-2.7.3.ebuild 2672 RMD160 47190a97aa54f5c9b34a63f8f9b432711be3d5bd SHA1 c518e4be66bfed5e54abda6a35a5cba8f00b7557 SHA256 b4bfcdbba02a57ba90a064be44746dab6fdc4a119a8137df1ca6c4b7ed7eaa84
+MISC ChangeLog 11860 RMD160 27535ea7629e6423a2d7ab72aeac82fbe175586c SHA1 34c2c531e867ab06b92031bd8741c45d9624b655 SHA256 8280f735c9419b53df8528f6c688682111958a0790a2d216176741b7c9937a35
 MISC metadata.xml 559 RMD160 b045ab65b4cbffa13c91653aec94ae9991cc9245 SHA1 bcb25e059bba95e91facdcf2386626cf9d39a1bf SHA256 9a0ba3898e768e65e1e9ea29c799b92ac27adc25bf7b1b0c77830799e8fa1061
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
 
-iQEcBAEBAgAGBQJOnbDmAAoJEEdUh39IaPFN8LgH/RppmTDI4i4yxSo+0aBpyrut
-nVPQHamkHi70PK20JrwuqWH8sykqie1hBJ/Xnsoz4axF7vwaNHxf9AlEUyRcb/S4
-ra/IJv/xWRRNbwLXd+e8A19E+i/eVvKRUq0WF1MwjzU1Uh7uhOJqpn0V42gMPZ7M
-YGogNMvReCiAqPE6E/LmwiZJROxG0f95HWie/bu4AwNl4bhYcrwLbZZRTAlUE3kH
-TfnmSFIKPmF82HktFRbVZNpOxBcF/4TrT4jYg2y9WBvKAp01xSMpoBr4m5wmZycY
-ScWepdz9g4paufjrsL9HPyvO8XwWJWqxyRnxOyI8LSaht+HGV/Fi4ZIIWscqCmw=
-=b2DB
+iEYEARECAAYFAk6xiooACgkQFuHa/bHpVdsRcQCgxRoGZueoCBILrkpBTav3zyo4
+DosAnjIc7dq40815ZLoBiSG5cSs9FWES
+=U7TR
 -----END PGP SIGNATURE-----
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 (file)
index 0000000..79910ef
--- /dev/null
@@ -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 (file)
index 0000000..8c776be
--- /dev/null
@@ -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
+}