diff options
Diffstat (limited to 'dev-db/virtuosoconverter')
| -rw-r--r-- | dev-db/virtuosoconverter/Manifest | 5 | ||||
| -rw-r--r-- | dev-db/virtuosoconverter/files/virtuosoconverter-1.0-cmake.patch | 45 | ||||
| -rw-r--r-- | dev-db/virtuosoconverter/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-db/virtuosoconverter/virtuosoconverter-1.0.ebuild | 76 |
4 files changed, 135 insertions, 0 deletions
diff --git a/dev-db/virtuosoconverter/Manifest b/dev-db/virtuosoconverter/Manifest new file mode 100644 index 00000000000..beadd414bca --- /dev/null +++ b/dev-db/virtuosoconverter/Manifest @@ -0,0 +1,5 @@ +AUX virtuosoconverter-1.0-cmake.patch 2062 RMD160 1b8978608c7033adf24dd560da73800eb615bdcd SHA1 efe1d260d8186efbb46ab919ce67a3180e9bb2a4 SHA256 51e57c3f0e5fa84e514e4ac1096830f516e99f948238679e237c0b56ada16209 +DIST 119661-virtuosoconverter-1.0.tar.bz2 11591 RMD160 3cce8386b0d394b0a5781613a70caf6f3727436e SHA1 abc0ab1cdcb1fb17c6fde9d74e99df6086a4c251 SHA256 000750160c7953dd92ed09a5717225c7d1d7ddcd60fb11ac7e9bb133b2815b26 +DIST virtuoso-opensource-5.0.13.tar.gz 63923387 RMD160 1275cccd701f43437082c3c49ff1e02768baddb1 SHA1 dbaa870d654a1637e4f8011e29c9a48336169b25 SHA256 c4afb385e15dc2a8f73549f0ef67a292fe3350090bdf32c424d26b878a80f63f +EBUILD virtuosoconverter-1.0.ebuild 1625 RMD160 ed894c6b740d78e22ceb8975c0e52680b3e7f319 SHA1 0367148614af1600d4bca3d5e3d43cd89b44a4fb SHA256 0fd9d7c4125e3d6274c102217353a76868f0a9e2beb833e61c7d24439b951ddf +MISC metadata.xml 255 RMD160 a560df45a556ec988f15b81b886494bef871605a SHA1 43ab29fe9b9be52d71347179e62a087f5c959907 SHA256 0783ed6e9fe482ef59895af90133639bd3296d33c6b7103e52615910697cdbc1 diff --git a/dev-db/virtuosoconverter/files/virtuosoconverter-1.0-cmake.patch b/dev-db/virtuosoconverter/files/virtuosoconverter-1.0-cmake.patch new file mode 100644 index 00000000000..8609993d101 --- /dev/null +++ b/dev-db/virtuosoconverter/files/virtuosoconverter-1.0-cmake.patch @@ -0,0 +1,45 @@ +diff -ru ../virtuosoconverter-1.0/CMakeLists.txt ./CMakeLists.txt +--- ../virtuosoconverter-1.0/CMakeLists.txt 2010-02-03 14:03:30.000000000 +0100 ++++ ./CMakeLists.txt 2010-02-04 16:06:28.344773799 +0100 +@@ -53,40 +53,7 @@ + # build Virtuoso5 the ugly way + # + +-# Check if the source tree does already contain the v5 sources. If not -> download them +-if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/virtuoso-opensource-5.0.12.tar.gz) +- set(VIRTUOSO_V5_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/virtuoso-opensource-5.0.12.tar.gz) +-else(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/virtuoso-opensource-5.0.12.tar.gz) +- set(VIRTUOSO_V5_SOURCE ${CMAKE_CURRENT_BINARY_DIR}/virtuoso-opensource-5.0.12.tar.gz) +-endif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/virtuoso-opensource-5.0.12.tar.gz) +- +-set(VIRTUOSO_V5_SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/virtuoso-opensource-5.0.12) +- +-add_custom_command( +- OUTPUT ${VIRTUOSO_V5_SOURCE} +- COMMAND wget http://sourceforge.net/projects/virtuoso/files/virtuoso/5.0.12/virtuoso-opensource-5.0.12.tar.gz/download +- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +- COMMENT "Downloading Virtuoso 5 sources...") +- +-add_custom_command( +- OUTPUT ${VIRTUOSO_V5_SOURCE_DIR}/Makefile.am +- COMMAND tar xzf ${VIRTUOSO_V5_SOURCE} +- DEPENDS ${VIRTUOSO_V5_SOURCE} +- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +- COMMENT "Extracting Virtuoso 5 sources...") +- +-add_custom_command( +- OUTPUT ${VIRTUOSO_V5_SOURCE_DIR}/Makefile +- COMMAND ${VIRTUOSO_V5_SOURCE_DIR}/configure --disable-all-vads --disable-wbxml2 --disable-imsg --disable-openldap --disable-imagemagick +- DEPENDS ${VIRTUOSO_V5_SOURCE_DIR}/Makefile.am +- WORKING_DIRECTORY ${VIRTUOSO_V5_SOURCE_DIR} +- COMMENT "Configuring Virtuoso 5 sources...") +- +-add_custom_target(virtuoso-t ALL +- COMMAND make +- DEPENDS ${VIRTUOSO_V5_SOURCE_DIR}/Makefile +- WORKING_DIRECTORY ${VIRTUOSO_V5_SOURCE_DIR} +- COMMENT "Building Virtuoso 5 sources...") ++set(VIRTUOSO_V5_SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/../virtuoso-opensource-5.0.13) + + install( + PROGRAMS ${VIRTUOSO_V5_SOURCE_DIR}/binsrc/virtuoso/virtuoso-t diff --git a/dev-db/virtuosoconverter/metadata.xml b/dev-db/virtuosoconverter/metadata.xml new file mode 100644 index 00000000000..a968ff19bc5 --- /dev/null +++ b/dev-db/virtuosoconverter/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <maintainer> + <email>reavertm@gentoo.org</email> + <name>Maciej Mrozowski</name> + </maintainer> +</pkgmetadata> diff --git a/dev-db/virtuosoconverter/virtuosoconverter-1.0.ebuild b/dev-db/virtuosoconverter/virtuosoconverter-1.0.ebuild new file mode 100644 index 00000000000..9d77ea08df5 --- /dev/null +++ b/dev-db/virtuosoconverter/virtuosoconverter-1.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit kde4-base + +VIRTUOSO_RELEASE='virtuoso-opensource-5.0.13' +DESCRIPTION="Nepomuk database from Virtuoso V5 to V6 converter" +HOMEPAGE="http://kde-apps.org/content/show.php?action=content&content=119661" +SRC_URI=" +http://kde-apps.org/CONTENT/content-files/119661-${P}.tar.bz2 +mirror://sourceforge/virtuoso/${VIRTUOSO_RELEASE}.tar.gz +" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug" + +COMMON_DEPEND=" + dev-libs/libxml2:2 + >=dev-libs/openssl-0.9.7i:0 + >=dev-libs/soprano-2.3.68[dbus,raptor,virtuoso] + >=kde-base/kdelibs-${KDE_MINIMAL}[semantic-desktop] + sys-libs/zlib:0 +" +DEPEND="${COMMON_DEPEND} + >=sys-devel/bison-2.3 + >=sys-devel/flex-2.5.33 +" +RDEPEND="${COMMON_DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-cmake.patch" +) + +src_configure() { + # Configure Virtuoso V5 + pushd "${WORKDIR}/${VIRTUOSO_RELEASE}" > /dev/null || die + econf \ + --disable-all-vads \ + --disable-hslookup \ + --disable-imagemagick \ + --disable-imsg \ + --disable-openldap \ + --disable-pldebug \ + --disable-ruby \ + --disable-static \ + --disable-wbxml2 \ + --without-internal-zlib \ + --with-pthreads \ + --enable-shared + + popd > /dev/null || die + + kde4-base_src_configure +} + +src_compile() { + pushd "${WORKDIR}/${VIRTUOSO_RELEASE}" > /dev/null || die + emake || die 'failed to build Virtuoso V5' + popd /dev/null || die + + kde4-base_src_compile +} + +pkg_postinst() { + kde4-base_pkg_postinst + + echo + elog "To convert your existing Nepomuk database, run for each user:" + elog "$ virtuosoconverter --auto" + echo +} |
