Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/soprano: ChangeLog soprano-2.4.0-r1.ebuild
Date: Thu, 11 Feb 2010 12:47:56
Message-Id: E1NfYSX-00024s-Rq@stork.gentoo.org
1 ssuominen 10/02/11 12:47:53
2
3 Modified: ChangeLog
4 Added: soprano-2.4.0-r1.ebuild
5 Log:
6 Apply upstream "unlock the mutex before deleting it" patch.
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.41 dev-libs/soprano/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/soprano/ChangeLog?rev=1.41&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/soprano/ChangeLog?rev=1.41&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/soprano/ChangeLog?r1=1.40&r2=1.41
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v
19 retrieving revision 1.40
20 retrieving revision 1.41
21 diff -u -r1.40 -r1.41
22 --- ChangeLog 9 Feb 2010 23:32:33 -0000 1.40
23 +++ ChangeLog 11 Feb 2010 12:47:53 -0000 1.41
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/soprano
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.40 2010/02/09 23:32:33 reavertm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.41 2010/02/11 12:47:53 ssuominen Exp $
29 +
30 +*soprano-2.4.0-r1 (11 Feb 2010)
31 +
32 + 11 Feb 2010; Samuli Suominen <ssuominen@g.o>
33 + +soprano-2.4.0-r1.ebuild, +files/soprano-2.4.0-socketMutex.unlock.patch:
34 + Apply upstream "unlock the mutex before deleting it" patch.
35
36 *soprano-2.4.0 (09 Feb 2010)
37
38
39
40
41 1.1 dev-libs/soprano/soprano-2.4.0-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/soprano/soprano-2.4.0-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/soprano/soprano-2.4.0-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: soprano-2.4.0-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.4.0-r1.ebuild,v 1.1 2010/02/11 12:47:53 ssuominen Exp $
51
52 EAPI="2"
53
54 JAVA_PKG_OPT_USE="java"
55 inherit base cmake-utils flag-o-matic java-pkg-opt-2
56
57 DESCRIPTION="Library that provides a nice Qt interface to RDF storage solutions"
58 HOMEPAGE="http://sourceforge.net/projects/soprano"
59 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
60
61 LICENSE="LGPL-2"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
63 SLOT="0"
64 IUSE="clucene +dbus debug doc elibc_FreeBSD java +raptor +redland +virtuoso"
65
66 COMMON_DEPEND="
67 >=x11-libs/qt-core-4.5.0:4
68 clucene? ( dev-cpp/clucene )
69 dbus? ( >=x11-libs/qt-dbus-4.5.0:4 )
70 raptor? ( >=media-libs/raptor-1.4.16 )
71 redland? (
72 >=dev-libs/rasqal-0.9.15
73 >=dev-libs/redland-1.0.10
74 )
75 java? ( >=virtual/jdk-1.6.0 )
76 virtuoso? ( dev-db/libiodbc:0 )
77 "
78 DEPEND="${COMMON_DEPEND}
79 doc? ( app-doc/doxygen )
80 "
81 RDEPEND="${COMMON_DEPEND}
82 virtuoso? ( >=dev-db/virtuoso-server-6.1.0 )
83 "
84
85 CMAKE_IN_SOURCE_BUILD="1"
86
87 PATCHES=( "${FILESDIR}/${P}-socketMutex.unlock.patch" )
88
89 pkg_setup() {
90 java-pkg-opt-2_pkg_setup
91
92 if [[ ${PV} = *9999* && -z $I_KNOW_WHAT_I_AM_DOING ]]; then
93 echo
94 ewarn "WARNING! This is an experimental ebuild of ${PN} SVN tree. Use at your own risk."
95 ewarn "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!"
96 echo
97 fi
98
99 if ! use java && ! use virtuoso; then
100 if ! use redland; then
101 echo
102 ewarn "You have explicitly disabled the default soprano backend and haven't chosen"
103 ewarn "a different one. Applications using soprano may need at least one backend"
104 ewarn "to be functional. If you experience any problems, enable any of those USE"
105 ewarn "flags:"
106 ewarn "java, redland, virtuoso (recommended)"
107 echo
108 else
109 echo
110 ewarn "You selected redland as the only backend for soprano."
111 ewarn "Be advised that it's known to be broken (bug #275326)."
112 echo
113 fi
114 fi
115 }
116
117 src_prepare() {
118 base_src_prepare
119 }
120
121 src_configure() {
122 # Fix for missing pthread.h linking
123 # NOTE: temporarily fix until a better cmake files patch will be provided.
124 use elibc_FreeBSD && append-flags -pthread
125
126 mycmakeargs=(
127 -DSOPRANO_BUILD_TESTS=OFF
128 -DCMAKE_SKIP_RPATH=OFF
129 $(cmake-utils_use !clucene SOPRANO_DISABLE_CLUCENE_INDEX)
130 $(cmake-utils_use !dbus SOPRANO_DISABLE_DBUS)
131 $(cmake-utils_use !raptor SOPRANO_DISABLE_RAPTOR_PARSER)
132 $(cmake-utils_use !redland SOPRANO_DISABLE_RAPTOR_SERIALIZER)
133 $(cmake-utils_use !redland SOPRANO_DISABLE_REDLAND_BACKEND)
134 $(cmake-utils_use !java SOPRANO_DISABLE_SESAME2_BACKEND)
135 $(cmake-utils_use !virtuoso SOPRANO_DISABLE_VIRTUOSO_BACKEND)
136 $(cmake-utils_use doc SOPRANO_BUILD_API_DOCS)
137 )
138
139 cmake-utils_src_configure
140 }
141
142 src_compile() {
143 cmake-utils_src_compile
144 }
145
146 src_test() {
147 mycmakeargs+=(-DSOPRANO_BUILD_TESTS=ON)
148 cmake-utils_src_configure
149 cmake-utils_src_compile
150 ctest --extra-verbose || die "Tests failed."
151 }