Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
Subject: gentoo-x86 commit in dev-libs/soprano: ChangeLog soprano-2.2.ebuild
Date: Tue, 27 Jan 2009 14:52:29 +0000
alexxy      09/01/27 14:52:29

  Modified:             ChangeLog
  Added:                soprano-2.2.ebuild
  Log:
  Bump to new soprano-2.2
  (Portage version: 2.2_rc19/cvs/Linux 2.6.28-gentoo x86_64)

Revision  Changes    Path
1.14                 dev-libs/soprano/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/soprano/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/soprano/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/soprano/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	3 Dec 2008 17:32:08 -0000	1.13
+++ ChangeLog	27 Jan 2009 14:52:29 -0000	1.14
@@ -1,6 +1,11 @@
 # ChangeLog for dev-libs/soprano
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.13 2008/12/03 17:32:08 scarabeus Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/ChangeLog,v 1.14 2009/01/27 14:52:29 alexxy Exp $
+
+*soprano-2.2 (27 Jan 2009)
+
+  27 Jan 2009; Alexey Shvetsov <alexxy@g.o> +soprano-2.2.ebuild:
+  Bump to new soprano-2.2
 
 *soprano-2.1.1 (03 Dec 2008)
 



1.1                  dev-libs/soprano/soprano-2.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/soprano/soprano-2.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/soprano/soprano-2.2.ebuild?rev=1.1&content-type=text/plain

Index: soprano-2.2.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.2.ebuild,v 1.1 2009/01/27 14:52:29 alexxy Exp $

EAPI="2"

JAVA_PKG_OPT_USE=sesame2
inherit cmake-utils eutils flag-o-matic java-pkg-opt-2

DESCRIPTION="Soprano is a library which provides a nice QT interface to RDF storage solutions."
HOMEPAGE="http://sourceforge.net/projects/soprano"
SRC_URI="mirror://sourceforge/soprano/soprano-${PV}.tar.bz2"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+clucene debug doc elibc_FreeBSD redland +sesame2"

COMMON_DEPEND="
	>=media-libs/raptor-1.4.16
	x11-libs/qt-core:4[debug=]
	x11-libs/qt-dbus:4[debug=]
	clucene? ( >=dev-cpp/clucene-0.9.19 )
	redland? ( >=dev-libs/rasqal-0.9.15
		>=dev-libs/redland-1.0.6 )
	sesame2? ( >=virtual/jdk-1.6.0 )
	!redland? (
		!sesame2? (
			>=virtual/jdk-1.6.0
		)
	)
"
DEPEND="${COMMON_DEPEND}
	doc? ( app-doc/doxygen )"
RDEPEND="${COMMON_DEPEND}"

src_configure() {
	# Fix automagic dependencies / linking
	if ! use clucene; then
		sed -e '/find_package(CLucene)/s/^/#DONOTFIND /' \
			-i "${S}/CMakeLists.txt" || die "Sed for CLucene automagic dependency failed."
	fi

	if ! use doc; then
		sed -e '/find_package(Doxygen)/s/^/#DONOTFIND /' \
			-i "${S}/CMakeLists.txt" || die "Sed to disable api-docs failed."
	fi

	if ! use redland; then
		sed -e '/find_package(Redland)/ s:^:#DONOTWANT :' \
			-i "${S}"/CMakeLists.txt || die "Deactivating redland backend failed."
	fi

	if ! use sesame2; then
		sed -e '/find_package(JNI)/ s:^:#DONOTWANT :' \
			-i "${S}"/CMakeLists.txt || die "Deactivating sesame backend failed."
	fi

	if ! use redland && ! use sesame2; then
		sed -e '/find_package(JNI)/ s:^#DONOTWANT ::' \
			-i "${S}"/CMakeLists.txt || die "Deactivating sesame backend failed."
	fi

	sed -e '/add_subdirectory(test)/s/^/#DONOTCOMPILE /' \
		-e '/enable_testing/s/^/#DONOTENABLE /' \
		-i "${S}"/CMakeLists.txt || die "Disabling of ${PN} tests failed."
	einfo "Disabled building of ${PN} tests."

	# Fix for missing pthread.h linking
	# NOTE: temporarely fix until a better cmake files patch will be provided.
	use elibc_FreeBSD && append-ldflags "-lpthread"

	cmake-utils_src_configure
}

src_test() {
	sed -e 's/#NOTESTS//' \
		-i "${S}"/CMakeLists.txt || die "Enabling tests failed."
	cmake-utils_src_compile
	ctest --extra-verbose || die "Tests failed."
}

pkg_postinst() {
	if ! use redland && ! use sesame2; then
		elog "As you haven't chosen any of the available backends:"
		elog "redland, sesame2"
		elog "sesame2 support was silently installed."
		elog "If you prefer another backend, be sure to reinstall soprano"
		elog "and to enable that backend use flag"
	fi
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-dotnet/taglib-sharp: ChangeLog taglib-sharp-2.0.3.1.ebuild
Next by thread:
gentoo-x86 commit in dev-libs/soprano: ChangeLog soprano-2.2.ebuild
Previous by date:
gentoo-x86 commit in dev-dotnet/taglib-sharp: ChangeLog taglib-sharp-2.0.3.1.ebuild
Next by date:
gentoo-x86 commit in kde-base/bomber: - New directory


Updated Apr 23, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.