Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/virtuoso-server: metadata.xml ChangeLog virtuoso-server-6.1.0.ebuild
Date: Mon, 08 Feb 2010 20:33:15
Message-Id: E1NeaID-00073R-BE@stork.gentoo.org
1 alexxy 10/02/08 20:33:13
2
3 Added: metadata.xml ChangeLog virtuoso-server-6.1.0.ebuild
4 Log:
5 [dev-db/virtuoso-server] Initial import. bug #254295
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-db/virtuoso-server/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/virtuoso-server/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/virtuoso-server/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>kde</herd>
20 <maintainer>
21 <email>reavertm@×××××.com</email>
22 <name>Maciej Mrozowski</name>
23 </maintainer>
24 <longdescription>
25 OpenLink Virtuoso Open-Source Edition is a new generation of hybrid data server
26 product called a "Universal Server". It implements a wide range of industry
27 standard APIs and protocols, covering a broad range of functionality realms
28 that include: Object-Relational Data Managemtent, Virtualization of
29 Heterogeneous Data Sources (SQL, XML, RDF), Document Web Server (WebDAV/HTTP),
30 Data Web Server (RDF Linked Data Deployment), Web Services Platform, Discussion
31 Server, and many more.
32 </longdescription>
33 </pkgmetadata>
34
35
36
37 1.1 dev-db/virtuoso-server/ChangeLog
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/virtuoso-server/ChangeLog?rev=1.1&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/virtuoso-server/ChangeLog?rev=1.1&content-type=text/plain
41
42 Index: ChangeLog
43 ===================================================================
44 # ChangeLog for dev-db/virtuoso-server
45 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
46 # $Header: /var/cvsroot/gentoo-x86/dev-db/virtuoso-server/ChangeLog,v 1.1 2010/02/08 20:33:12 alexxy Exp $
47
48 *virtuoso-server-6.1.0 (08 Feb 2010)
49
50 08 Feb 2010; Alexey Shvetsov <alexxy@g.o>
51 +files/6.1.0/6.1.0-common.patch, +virtuoso-server-6.1.0.ebuild,
52 +metadata.xml:
53 Initial import. bug #254295
54
55
56
57
58 1.1 dev-db/virtuoso-server/virtuoso-server-6.1.0.ebuild
59
60 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/virtuoso-server/virtuoso-server-6.1.0.ebuild?rev=1.1&view=markup
61 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/virtuoso-server/virtuoso-server-6.1.0.ebuild?rev=1.1&content-type=text/plain
62
63 Index: virtuoso-server-6.1.0.ebuild
64 ===================================================================
65 # Copyright 1999-2010 Gentoo Foundation
66 # Distributed under the terms of the GNU General Public License v2
67 # $Header: /var/cvsroot/gentoo-x86/dev-db/virtuoso-server/virtuoso-server-6.1.0.ebuild,v 1.1 2010/02/08 20:33:12 alexxy Exp $
68
69 EAPI="2"
70
71 inherit virtuoso
72
73 DESCRIPTION="Server binaries for Virtuoso, high-performance object-relational SQL database"
74
75 KEYWORDS="~amd64 ~x86"
76 IUSE="kerberos ldap readline static-libs"
77
78 # zeroconf support looks like broken - disabling
79 # mono support fetches mono source and compiles it manually - disabling for now
80 # mono? ( dev-lang/mono )
81 COMMON_DEPEND="
82 dev-libs/libxml2:2
83 >=dev-libs/openssl-0.9.7i:0
84 sys-libs/zlib:0
85 kerberos? ( app-crypt/mit-krb5 )
86 ldap? ( net-nds/openldap )
87 readline? ( sys-libs/readline:0 )
88 "
89 DEPEND="${COMMON_DEPEND}
90 >=sys-devel/bison-2.3
91 >=sys-devel/flex-2.5.33
92 "
93 RDEPEND="${COMMON_DEPEND}
94 >=dev-db/virtuoso-odbc-${PV}:${SLOT}
95 "
96
97 VOS_EXTRACT="
98 libsrc/Dk
99 libsrc/Thread
100 libsrc/Tidy
101 libsrc/Wi
102 libsrc/Xml.new
103 libsrc/langfunc
104 libsrc/odbcsdk
105 libsrc/plugin
106 libsrc/util
107 binsrc/virtuoso
108 binsrc/tests
109 "
110
111 pkg_setup() {
112 if has_version '<dev-db/virtuoso-server-6.0.0' && has_version 'kde-base/nepomuk'; then
113 VIRTUOSO_UPGRADE=1
114 fi
115 }
116
117 src_prepare() {
118 if ! use static-libs; then
119 sed -e '/^lib_LTLIBRARIES\s*=.*/s/lib_/noinst_/' -i binsrc/virtuoso/Makefile.am \
120 || die "failed to disable installation of static lib"
121 fi
122
123 virtuoso_src_prepare
124 }
125
126 src_configure() {
127 myconf+="
128 $(use_enable kerberos krb)
129 $(use_enable ldap openldap)
130 $(use_with readline)
131 $(use_enable static-libs static)
132 --disable-rendezvous
133 --disable-hslookup
134 --without-iodbc
135 "
136
137 virtuoso_src_configure
138 }
139
140 src_install() {
141 use prefix || ED="${D}"
142
143 virtuoso_src_install
144
145 # Rename isql executables (conflicts with unixODBC)
146 mv "${ED}/usr/bin/isql" "${ED}/usr/bin/isql-v" || die
147 mv "${ED}/usr/bin/isqlw" "${ED}/usr/bin/isqlw-v" || die
148
149 dodoc AUTHORS ChangeLog CREDITS INSTALL NEWS README || die "dodoc failed"
150
151 keepdir /var/lib/virtuoso/db
152 }
153
154 pkg_postinst() {
155 if [[ -n ${VIRTUOSO_UPGRADE} ]]; then
156 echo
157 ewarn "You're upgrading from Virtuoso V5. Note that your existing Nepomuk Virtuoso databases"
158 ewarn "will not work with Virtuoso V6 release unless you do one of the following:"
159 ewarn "a) Remove existing databases:"
160 ewarn " (as user) $ rm -r \${HOME}/.kde4/share/apps/nepomuk/repository"
161 ewarn "b) Try to convert existing databases to V6 format:"
162 ewarn " (as root) # emerge -1 dev-db/virtuosoconverter"
163 ewarn " (as user) $ virtuosoconverter --auto"
164 ewarn " (as root) # emerge -C virtuosoconverter"
165 echo
166 fi
167 }