Gentoo Archives: gentoo-commits

From: "Maciej Mrozowski (reavertm)" <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/soprano: soprano-2.4.4.ebuild ChangeLog soprano-2.3.1-r1.ebuild
Date: Tue, 06 Jul 2010 01:40:15
Message-Id: 20100706014005.289DB2CE14@corvid.gentoo.org
1 reavertm 10/07/06 01:40:04
2
3 Modified: ChangeLog soprano-2.3.1-r1.ebuild
4 Added: soprano-2.4.4.ebuild
5 Log:
6 Version bump 2.4.4, backport qt-test deps to 2.3.1, add patch to make broken Redland fatal (bug 318861)
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.52 dev-libs/soprano/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/ChangeLog?rev=1.52&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/ChangeLog?rev=1.52&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/ChangeLog?r1=1.51&r2=1.52
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v
19 retrieving revision 1.51
20 retrieving revision 1.52
21 diff -u -r1.51 -r1.52
22 --- ChangeLog 27 Jun 2010 08:52:40 -0000 1.51
23 +++ ChangeLog 6 Jul 2010 01:40:04 -0000 1.52
24 @@ -1,6 +1,14 @@
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.51 2010/06/27 08:52:40 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.52 2010/07/06 01:40:04 reavertm Exp $
29 +
30 +*soprano-2.4.4 (06 Jul 2010)
31 +
32 + 06 Jul 2010; Maciej Mrozowski <reavertm@g.o>
33 + soprano-2.3.1-r1.ebuild, +soprano-2.4.4.ebuild,
34 + +files/soprano-2.4.4-make-broken-redland-fatal.cmake:
35 + Version bump 2.4.4, backport qt-test deps to 2.3.1, add patch to make
36 + broken Redland fatal (bug 318861)
37
38 27 Jun 2010; Christian Faulhammer <fauli@g.o> soprano-2.4.3.ebuild:
39 x86 stable, bug 322791
40
41
42
43 1.7 dev-libs/soprano/soprano-2.3.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/soprano-2.3.1-r1.ebuild?rev=1.7&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/soprano-2.3.1-r1.ebuild?rev=1.7&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/soprano-2.3.1-r1.ebuild?r1=1.6&r2=1.7
48
49 Index: soprano-2.3.1-r1.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.3.1-r1.ebuild,v
52 retrieving revision 1.6
53 retrieving revision 1.7
54 diff -u -r1.6 -r1.7
55 --- soprano-2.3.1-r1.ebuild 18 Jan 2010 18:52:21 -0000 1.6
56 +++ soprano-2.3.1-r1.ebuild 6 Jul 2010 01:40:04 -0000 1.7
57 @@ -1,6 +1,6 @@
58 # Copyright 1999-2010 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.3.1-r1.ebuild,v 1.6 2010/01/18 18:52:21 abcd Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.3.1-r1.ebuild,v 1.7 2010/07/06 01:40:04 reavertm Exp $
62
63 EAPI="2"
64
65 @@ -27,9 +27,9 @@
66 )
67 java? ( >=virtual/jdk-1.6.0 )
68 "
69 -
70 DEPEND="${COMMON_DEPEND}
71 doc? ( app-doc/doxygen )
72 + test? ( >=x11-libs/qt-test-4.5.0:4 )
73 "
74 RDEPEND="${COMMON_DEPEND}
75 "
76
77
78
79 1.1 dev-libs/soprano/soprano-2.4.4.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/soprano-2.4.4.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/soprano/soprano-2.4.4.ebuild?rev=1.1&content-type=text/plain
83
84 Index: soprano-2.4.4.ebuild
85 ===================================================================
86 # Copyright 1999-2010 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.4.4.ebuild,v 1.1 2010/07/06 01:40:04 reavertm Exp $
89
90 EAPI="2"
91
92 JAVA_PKG_OPT_USE="java"
93 inherit base cmake-utils flag-o-matic java-pkg-opt-2
94
95 DESCRIPTION="Library that provides a nice Qt interface to RDF storage solutions"
96 HOMEPAGE="http://sourceforge.net/projects/soprano"
97 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
98
99 LICENSE="LGPL-2"
100 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
101 SLOT="0"
102 IUSE="clucene +dbus debug doc elibc_FreeBSD java +raptor +redland test +virtuoso"
103
104 COMMON_DEPEND="
105 >=x11-libs/qt-core-4.5.0:4
106 clucene? ( dev-cpp/clucene )
107 dbus? ( >=x11-libs/qt-dbus-4.5.0:4 )
108 raptor? ( >=media-libs/raptor-1.4.16 )
109 redland? (
110 >=dev-libs/rasqal-0.9.15
111 >=dev-libs/redland-1.0.10
112 )
113 java? ( >=virtual/jdk-1.6.0 )
114 virtuoso? ( dev-db/libiodbc:0 )
115 "
116 DEPEND="${COMMON_DEPEND}
117 doc? ( app-doc/doxygen )
118 test? ( >=x11-libs/qt-test-4.5.0:4 )
119 "
120 RDEPEND="${COMMON_DEPEND}
121 virtuoso? ( >=dev-db/virtuoso-server-6.1.0 )
122 "
123
124 CMAKE_IN_SOURCE_BUILD="1"
125
126 PATCHES=(
127 "${FILESDIR}/${PN}-2.4.4-make-broken-redland-fatal.cmake"
128 )
129
130 pkg_setup() {
131 java-pkg-opt-2_pkg_setup
132
133 if [[ ${PV} = *9999* && -z $I_KNOW_WHAT_I_AM_DOING ]]; then
134 echo
135 ewarn "WARNING! This is an experimental ebuild of ${PN} SVN tree. Use at your own risk."
136 ewarn "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!"
137 echo
138 fi
139
140 if ! use java && ! use virtuoso; then
141 if ! use redland; then
142 echo
143 ewarn "You have explicitly disabled the default soprano backend and haven't chosen"
144 ewarn "a different one. Applications using soprano may need at least one backend"
145 ewarn "to be functional. If you experience any problems, enable any of those USE"
146 ewarn "flags:"
147 ewarn "java (deprecated), redland, virtuoso (recommended)"
148 echo
149 else
150 echo
151 ewarn "You selected redland as the only backend for soprano."
152 ewarn "Be advised that it's known to be broken (bug #275326)."
153 echo
154 fi
155 fi
156 }
157
158 src_prepare() {
159 base_src_prepare
160 }
161
162 src_configure() {
163 # Fix for missing pthread.h linking
164 # NOTE: temporarily fix until a better cmake files patch will be provided.
165 use elibc_FreeBSD && append-flags -pthread
166
167 mycmakeargs=(
168 -DSOPRANO_BUILD_TESTS=OFF
169 -DCMAKE_SKIP_RPATH=OFF
170 $(cmake-utils_use !clucene SOPRANO_DISABLE_CLUCENE_INDEX)
171 $(cmake-utils_use !dbus SOPRANO_DISABLE_DBUS)
172 $(cmake-utils_use !raptor SOPRANO_DISABLE_RAPTOR_PARSER)
173 $(cmake-utils_use !redland SOPRANO_DISABLE_RAPTOR_SERIALIZER)
174 $(cmake-utils_use !redland SOPRANO_DISABLE_REDLAND_BACKEND)
175 $(cmake-utils_use !java SOPRANO_DISABLE_SESAME2_BACKEND)
176 $(cmake-utils_use !virtuoso SOPRANO_DISABLE_VIRTUOSO_BACKEND)
177 $(cmake-utils_use doc SOPRANO_BUILD_API_DOCS)
178 )
179
180 cmake-utils_src_configure
181 }
182
183 src_compile() {
184 cmake-utils_src_compile
185 }
186
187 src_test() {
188 mycmakeargs+=(-DSOPRANO_BUILD_TESTS=ON)
189 cmake-utils_src_configure
190 cmake-utils_src_compile
191 ctest --extra-verbose || die "Tests failed."
192 }