* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/ball/files/, sci-chemistry/ball/
@ 2016-06-05 15:22 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2016-06-05 15:22 UTC (permalink / raw
To: gentoo-commits
commit: 0947afa365abf88670172058186a1ff22de84a07
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 5 15:18:04 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 5 15:22:05 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0947afa3
sci-chemistry/ball: Fix Swig bug, qualify std::isnan
Gentoo-Bug: 583932
* EAPI=6
* Also fix GCC warning pollution due to
misplaced attributes
* Add subslot operator for dev-libs/boost
* Remove USE=webkit, as webkit is no longer supported
Package-Manager: portage-2.3.0_rc1
.../{ball-1.4.2.ebuild => ball-1.4.2-r1.ebuild} | 28 ++++----
.../files/ball-1.4.2-fix-python-bindings.patch | 22 ++++++
.../files/ball-1.4.2-std-namespace-isnan.patch | 16 +++++
.../files/ball-1.4.2-struct-swap-attribute.patch | 80 ++++++++++++++++++++++
sci-chemistry/ball/metadata.xml | 1 -
5 files changed, 133 insertions(+), 14 deletions(-)
diff --git a/sci-chemistry/ball/ball-1.4.2.ebuild b/sci-chemistry/ball/ball-1.4.2-r1.ebuild
similarity index 78%
rename from sci-chemistry/ball/ball-1.4.2.ebuild
rename to sci-chemistry/ball/ball-1.4.2-r1.ebuild
index bc10052..635e8b4 100644
--- a/sci-chemistry/ball/ball-1.4.2.ebuild
+++ b/sci-chemistry/ball/ball-1.4.2-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
@@ -15,13 +15,13 @@ SRC_URI="http://www.ball-project.org/Downloads/v${PV}/BALL-${PV}.tar.xz"
SLOT="0"
LICENSE="LGPL-2 GPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="cuda mpi +python sql test +threads +webkit"
+IUSE="cuda mpi +python sql test +threads"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
dev-cpp/eigen:3
- dev-libs/boost
+ dev-libs/boost:=
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtopengl:4
@@ -37,8 +37,7 @@ RDEPEND="
cuda? ( dev-util/nvidia-cuda-toolkit )
mpi? ( virtual/mpi )
python? ( ${PYTHON_DEPS} )
- sql? ( dev-qt/qtsql:4 )
- webkit? ( dev-qt/qtwebkit:4 )"
+ sql? ( dev-qt/qtsql:4 )"
DEPEND="${RDEPEND}
dev-python/sip
sys-devel/bison
@@ -54,7 +53,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.4.1-BondOrder.xml.patch
"${FILESDIR}"/${P}-Fix-compilation-of-sipModularWidget.patch
"${FILESDIR}"/${P}-underlinking.patch
- )
+ "${FILESDIR}"/${P}-fix-python-bindings.patch
+ "${FILESDIR}"/${P}-std-namespace-isnan.patch
+ "${FILESDIR}"/${P}-struct-swap-attribute.patch
+)
pkg_setup() {
use python && python-single-r1_pkg_setup
@@ -62,14 +64,14 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_use threads FFTW_THREADS)
- $(cmake-utils_use cuda MT_ENABLE_CUDA)
- $(cmake-utils_use mpi MT_ENABLE_MPI)
- $(cmake-utils_use sql BALL_HAS_QTSQL)
- $(cmake-utils_use_use webkit USE_QTWEBKIT)
- $(cmake-utils_use python BALL_PYTHON_SUPPORT)
+ -DUSE_FFTW_THREADS=$(usex threads)
+ -DMT_ENABLE_CUDA=$(usex cuda)
+ -DMT_ENABLE_MPI=$(usex mpi)
+ -DBALL_HAS_QTSQL=$(usex sql)
+ -DBALL_PYTHON_SUPPORT=$(usex python)
)
cmake-utils_src_configure
+
local i
for i in "${S}"/data/*; do
ln -sf "${i}" "${BUILD_DIR}"/source/TEST/ || die
diff --git a/sci-chemistry/ball/files/ball-1.4.2-fix-python-bindings.patch b/sci-chemistry/ball/files/ball-1.4.2-fix-python-bindings.patch
new file mode 100644
index 0000000..a13ea2f
--- /dev/null
+++ b/sci-chemistry/ball/files/ball-1.4.2-fix-python-bindings.patch
@@ -0,0 +1,22 @@
+From 38a955ad9588817073a330c79d4b4476afcf69d5 Mon Sep 17 00:00:00 2001
+From: Daniel Stoeckel <dstoeckel@bioinf.uni-sb.de>
+Date: Thu, 14 Apr 2016 19:30:04 +0200
+Subject: [PATCH] Fix Python bindings for Box
+
+---
+ source/PYTHON/EXTENSIONS/VIEW/box.sip | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/source/PYTHON/EXTENSIONS/VIEW/box.sip b/source/PYTHON/EXTENSIONS/VIEW/box.sip
+index 341b1a4..592765e 100644
+--- a/source/PYTHON/EXTENSIONS/VIEW/box.sip
++++ b/source/PYTHON/EXTENSIONS/VIEW/box.sip
+@@ -6,7 +6,7 @@
+
+ class Box
+ : GeometricObject,
+- Vertex2
++ Box3
+ {
+ %TypeHeaderCode
+ #include <BALL/VIEW/PRIMITIVES/box.h>
diff --git a/sci-chemistry/ball/files/ball-1.4.2-std-namespace-isnan.patch b/sci-chemistry/ball/files/ball-1.4.2-std-namespace-isnan.patch
new file mode 100644
index 0000000..cea6377
--- /dev/null
+++ b/sci-chemistry/ball/files/ball-1.4.2-std-namespace-isnan.patch
@@ -0,0 +1,16 @@
+Fix C++11 changes to isnan():
+* /var/tmp/portage/sci-chemistry/ball-1.4.2/work/BALL-1.4.2/source/MOLMEC/MINIMIZATION/shiftedLVMM.C:769:46: required from here
+* /var/tmp/portage/sci-chemistry/ball-1.4.2/work/BALL-1.4.2/include/BALL/MATHS/common.h:175:18: error: ‘isnan’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
+* return (isnan(t) != 0);
+
+--- BALL-1.4.2/include/BALL/MATHS/common.h
++++ BALL-1.4.2/include/BALL/MATHS/common.h
+@@ -172,7 +172,7 @@
+ #elif defined(BALL_OS_DARWIN)
+ return ( __inline_isnand(t) != 0);
+ #else
+- return (isnan(t) != 0);
++ return (std::isnan(t) != 0);
+ #endif
+ }
+
diff --git a/sci-chemistry/ball/files/ball-1.4.2-struct-swap-attribute.patch b/sci-chemistry/ball/files/ball-1.4.2-struct-swap-attribute.patch
new file mode 100644
index 0000000..da33491
--- /dev/null
+++ b/sci-chemistry/ball/files/ball-1.4.2-struct-swap-attribute.patch
@@ -0,0 +1,80 @@
+Silence warning pollution due to misplaced attributes:
+* /var/tmp/portage/sci-chemistry/ball-1.4.2/work/BALL-1.4.2/include/BALL/COMMON/logStream.h:165:22: note: attribute for ‘struct BALL::LogStreamBuf::StreamStruct’ must follow the ‘struct’ keyword
+
+--- BALL-1.4.2/include/BALL/COMMON/logStream.h
++++ BALL-1.4.2/include/BALL/COMMON/logStream.h
+@@ -162,7 +162,7 @@
+ virtual int overflow(int c = -1);
+ //@}
+
+- BALL_EXPORT struct StreamStruct
++ struct BALL_EXPORT StreamStruct
+ {
+ std::ostream* stream;
+ string prefix;
+--- BALL-1.4.2/include/BALL/FORMAT/MOL2File.h
++++ BALL-1.4.2/include/BALL/FORMAT/MOL2File.h
+@@ -33,7 +33,7 @@
+ public:
+
+ /// A class used for storing TRIPOS sets
+- BALL_EXPORT struct SetStruct
++ struct BALL_EXPORT SetStruct
+ {
+ String name;
+ bool is_static;
+@@ -136,7 +136,7 @@
+
+ bool containsAtomChilds_(AtomContainerConstIterator& frag_it);
+
+- BALL_EXPORT struct AtomStruct
++ struct BALL_EXPORT AtomStruct
+ {
+ String name;
+ Vector3 position;
+@@ -146,14 +146,14 @@
+ float charge;
+ };
+
+- BALL_EXPORT struct BondStruct
++ struct BALL_EXPORT BondStruct
+ {
+ Position atom1;
+ Position atom2;
+ String type;
+ };
+
+- BALL_EXPORT struct MoleculeStruct
++ struct BALL_EXPORT MoleculeStruct
+ {
+ String name;
+ Size number_of_atoms;
+@@ -166,7 +166,7 @@
+ String comment;
+ };
+
+- BALL_EXPORT struct SubstructureStruct
++ struct BALL_EXPORT SubstructureStruct
+ {
+ String name;
+ Size root_atom;
+@@ -178,7 +178,7 @@
+ String comment;
+ };
+
+- BALL_EXPORT struct CommentStruct
++ struct BALL_EXPORT CommentStruct
+ {
+ String name;
+ String value;
+--- BALL-1.4.2/include/BALL/FORMAT/MOLFile.h
++++ BALL-1.4.2/include/BALL/FORMAT/MOLFile.h
+@@ -41,7 +41,7 @@
+ @see PropertyManager::setProperty
+ @see PropertyManager::getProperty
+ */
+- BALL_EXPORT struct Property
++ struct BALL_EXPORT Property
+ {
+ ///
+ static const String ATOM_MASS_DIFFERENCE;
diff --git a/sci-chemistry/ball/metadata.xml b/sci-chemistry/ball/metadata.xml
index a4d9afb..72d683b 100644
--- a/sci-chemistry/ball/metadata.xml
+++ b/sci-chemistry/ball/metadata.xml
@@ -27,6 +27,5 @@ integrated user-friendly GUI.
<use>
<flag name="sql">Include SQL database support</flag>
<flag name="cuda">Include cuda support</flag>
- <flag name="webkit">Uses <pkg>dev-qt/qtwebkit</pkg> for drawing</flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/ball/files/, sci-chemistry/ball/
@ 2018-04-21 21:33 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2018-04-21 21:33 UTC (permalink / raw
To: gentoo-commits
commit: 09716046e454d0a416a5d424938189d3c8dca296
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 21 16:46:33 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Apr 21 21:33:08 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09716046
sci-chemistry/ball: Add 1.5.0_pre20180419 Qt5-based snapshot
Bug: https://bugs.gentoo.org/639000
Package-Manager: Portage-2.3.31, Repoman-2.3.9
sci-chemistry/ball/Manifest | 1 +
sci-chemistry/ball/ball-1.5.0_pre20180419.ebuild | 100 ++++++
.../ball/files/ball-1.5.0-gnuinstalldirs.patch | 355 +++++++++++++++++++++
sci-chemistry/ball/metadata.xml | 26 +-
4 files changed, 472 insertions(+), 10 deletions(-)
diff --git a/sci-chemistry/ball/Manifest b/sci-chemistry/ball/Manifest
index f5a46e40473..f8232c238a6 100644
--- a/sci-chemistry/ball/Manifest
+++ b/sci-chemistry/ball/Manifest
@@ -1 +1,2 @@
DIST BALL-1.4.2.tar.xz 16080664 BLAKE2B 15faa5f1aed0701ab318ac965ece216be0ff653ab1e57b0a1f2c253cf97b1ac89800ab528c9d044da903b154e16d1dfde936bd1475d6b1903acfa867904a55a7 SHA512 c719af4ef2dc1076818d59b72350b704fbffea06bd44737519fb50d88da113ea509333d407f2330aa59bf1c4e6b81adfd3d28e05459f66d7c9707f8d85db7a87
+DIST ball-1.5.0_pre20180419.tar.gz 37577697 BLAKE2B 44db256dad4703115ca381c4bc7f8393657d9d205b78c9ed55328769129dc38a2898d838bea2beb2e1e5e25184944a5724dd808917928f79c41b8216d98a6677 SHA512 a5cf9680468636c6b3de950f058d1bedb9c2d9ef7b5ba1af60e4b79fab3e6bae9cd814ec3238703075ae66c5a637d1ba8281ce7f11ac842133af91c000c983c3
diff --git a/sci-chemistry/ball/ball-1.5.0_pre20180419.ebuild b/sci-chemistry/ball/ball-1.5.0_pre20180419.ebuild
new file mode 100644
index 00000000000..b4d49d1fb14
--- /dev/null
+++ b/sci-chemistry/ball/ball-1.5.0_pre20180419.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+COMMIT=e80b5e2021a72faa36bf9e35207998d4590f2cf4
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="Biochemical Algorithms Library"
+HOMEPAGE="https://github.com/BALL-Project/ball"
+SRC_URI="https://github.com/BALL-Project/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2 fftw? ( GPL-3 ) openbabel? ( GPL-3 )"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="cuda doc +fftw +gui lpsolve mpi openbabel +python svm test threads webengine"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ threads? ( fftw )
+ webengine? ( gui )
+"
+
+RDEPEND="
+ dev-cpp/eigen:3
+ dev-libs/boost:=
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtxml:5
+ media-libs/glew:0=
+ virtual/opengl
+ x11-libs/libX11
+ cuda? ( dev-util/nvidia-cuda-toolkit )
+ fftw? ( sci-libs/fftw:3.0=[threads?] )
+ gui? (
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qttest:5
+ dev-qt/qtwidgets:5
+ )
+ lpsolve? ( sci-mathematics/lpsolve )
+ mpi? ( virtual/mpi )
+ openbabel? ( sci-chemistry/openbabel:= )
+ python? ( ${PYTHON_DEPS} )
+ svm? ( sci-libs/libsvm:= )
+ webengine? (
+ dev-qt/qtwebchannel:5
+ dev-qt/qtwebengine:5[widgets]
+ )
+"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ virtual/yacc
+ doc? ( app-doc/doxygen[dot] )
+ gui? ( dev-qt/linguist-tools:5 )
+ python? ( dev-python/sip )
+"
+
+S="${WORKDIR}"/${PN}-${COMMIT}
+
+PATCHES=( "${FILESDIR}"/${PN}-1.5.0-gnuinstalldirs.patch )
+
+RESTRICT="test"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUPDATE_TRANSLATIONS=ON
+ -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=ON
+ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+ -DUSE_CUDA=$(usex cuda)
+ -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(usex !doc)
+ -DCMAKE_DISABLE_FIND_PACKAGE_FFTW=$(usex !fftw)
+ -DUSE_LPSOLVE=$(usex lpsolve)
+ -DUSE_MPI=$(usex mpi)
+ -DREQUIRE_MPI=$(usex mpi)
+ -DCMAKE_DISABLE_FIND_PACKAGE_OpenBabel2=$(usex !openbabel)
+ -DBALL_PYTHON_SUPPORT=$(usex python)
+ -DBALL_HAS_VIEW=$(usex gui)
+ -DUSE_LIBSVM=$(usex svm)
+ -DUSE_FFTW_THREADS=$(usex threads)
+ -DUSE_QTWEBENGINE=$(usex webengine)
+ )
+
+ if use fftw || use openbabel; then
+ mycmakeargs+=( -DBALL_LICENSE=GPL )
+ fi
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ use test && cmake-utils_src_make build_tests
+}
diff --git a/sci-chemistry/ball/files/ball-1.5.0-gnuinstalldirs.patch b/sci-chemistry/ball/files/ball-1.5.0-gnuinstalldirs.patch
new file mode 100644
index 00000000000..f9fedc58bb6
--- /dev/null
+++ b/sci-chemistry/ball/files/ball-1.5.0-gnuinstalldirs.patch
@@ -0,0 +1,355 @@
+From a8cade5ed7090c704aed53871fb664a0fe07af54 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sat, 21 Apr 2018 20:07:09 +0200
+Subject: [PATCH 1/3] Use GNUInstallDirs
+
+---
+ CMakeLists.txt | 30 ++++++++++++++++--------------
+ 1 file changed, 16 insertions(+), 14 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index be57fe90c..1a54446fb 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -65,6 +65,8 @@ INCLUDE(BALLCompilerSpecific)
+ # Determine BALL configuration
+ INCLUDE(BALLConfiguration)
+
++INCLUDE(GNUInstallDirs)
++
+ # We do not have a Component-based installer in MacOS
+ IF(NOT APPLE)
+ INCLUDE(BALLComponents)
+@@ -473,20 +475,20 @@ SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin")
+
+ ## These variables are used in all install-targets
+ IF (NOT APPLE)
+- SET(BALL_RUNTIME_INSTALL_DIRECTORY "bin")
+- SET(BALL_LIBRARY_INSTALL_DIRECTORY "lib")
+- SET(BALL_ARCHIVE_INSTALL_DIRECTORY "lib")
+- SET(BALL_HEADER_INSTALL_DIRECTORY ".")
+- SET(BALL_DATA_INSTALL_DIRECTORY "share/BALL")
+- SET(BALL_DOCUMENTATION_INSTALL_DIRECTORY "share/BALL/doc")
+- SET(BALL_TOOLS_INSTALL_DIRECTORY "bin/BALLTools")
++ SET(BALL_RUNTIME_INSTALL_DIRECTORY ${CMAKE_INSTALL_BINDIR})
++ SET(BALL_LIBRARY_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
++ SET(BALL_ARCHIVE_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
++ SET(BALL_HEADER_INSTALL_DIRECTORY ${CMAKE_INSTALL_INCLUDEDIR})
++ SET(BALL_DATA_INSTALL_DIRECTORY ${CMAKE_INSTALL_DATAROOTDIR}/BALL)
++ SET(BALL_DOCUMENTATION_INSTALL_DIRECTORY ${CMAKE_INSTALL_DOCDIR})
++ SET(BALL_TOOLS_INSTALL_DIRECTORY ${CMAKE_INSTALL_BINDIR}/BALLTools)
+
+ IF(WIN32)
+ SET(BALL_PYTHON_INSTALL_DIRECTORY "bin")
+ SET(BALL_PLUGIN_INSTALL_DIRECTORY "bin")
+ ELSE()
+- SET(BALL_PYTHON_INSTALL_DIRECTORY "lib")
+- SET(BALL_PLUGIN_INSTALL_DIRECTORY "lib")
++ SET(BALL_PYTHON_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
++ SET(BALL_PLUGIN_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
+ ENDIF()
+ ENDIF()
+
+@@ -710,21 +712,21 @@ IF(NOT APPLE)
+ ## care of data files and headers
+ IF (NOT "${CMAKE_INSTALL_PREFIX}" STREQUAL ".")
+ ### Install the data directories
+- INSTALL(DIRECTORY data DESTINATION "${BALL_DATA_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL})
++ INSTALL(DIRECTORY data/ DESTINATION "${BALL_DATA_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL})
+
+ ### Install the includes
+- INSTALL(DIRECTORY include DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL_DEV})
++ INSTALL(DIRECTORY include/ DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL_DEV})
+ ENDIF()
+
+ ## The configured files have to be copied in any case
+ INSTALL(FILES ${PROJECT_BINARY_DIR}/include/BALL/CONFIG/config.h
+- DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/include/BALL/CONFIG"
++ DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/BALL/CONFIG"
+ COMPONENT ${COMPONENT_LIBBALL_DEV}
+ )
+
+ INSTALL(FILES
+ ${PROJECT_BINARY_DIR}/include/BALL/PYTHON/BALLPythonConfig.h
+- DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/include/BALL/PYTHON"
++ DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/BALL/PYTHON"
+ COMPONENT ${COMPONENT_LIBBALL_DEV}
+ )
+
+@@ -866,7 +868,7 @@ EXPORT(PACKAGE BALL)
+ # Generate CMake package configuration for BALL installation
+ IF(NOT APPLE)
+ # Installation path for BALL CMake package configuration files
+- SET(BALL_CMAKE_EXPORT_PATH "lib/cmake/BALL" CACHE PATH "Path to the cmake package configuration files")
++ SET(BALL_CMAKE_EXPORT_PATH ${CMAKE_INSTALL_LIBDIR}/cmake/BALL CACHE PATH "Path to the cmake package configuration files")
+
+ LIST(REMOVE_ITEM BALL_INCLUDE_DIRS "${PROJECT_BINARY_DIR}/include")
+ LIST(REMOVE_ITEM BALL_INCLUDE_DIRS "${PROJECT_SOURCE_DIR}/include")
+--
+2.17.0
+
+
+From 17cbef40ad91cf051ca83b1ccf53dd2ccb22fc8d Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sat, 21 Apr 2018 21:20:01 +0200
+Subject: [PATCH 2/3] Drop superfluous cmake variables
+
+---
+ CMakeLists.txt | 34 +++++++------------
+ cmake/BALLDoc.cmake | 6 ++--
+ source/APPLICATIONS/BALLVIEW/CMakeLists.txt | 4 +--
+ source/EXTENSIONS/BALLAXY/CMakeLists.txt | 2 +-
+ source/EXTENSIONS/JUPYTER/CMakeLists.txt | 2 +-
+ source/EXTENSIONS/PRESENTABALL/CMakeLists.txt | 2 +-
+ source/PYTHON/EXTENSIONS/CMakeLists.txt | 12 +++----
+ 7 files changed, 27 insertions(+), 35 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1a54446fb..9b9f3513b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -475,14 +475,6 @@ SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin")
+
+ ## These variables are used in all install-targets
+ IF (NOT APPLE)
+- SET(BALL_RUNTIME_INSTALL_DIRECTORY ${CMAKE_INSTALL_BINDIR})
+- SET(BALL_LIBRARY_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
+- SET(BALL_ARCHIVE_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
+- SET(BALL_HEADER_INSTALL_DIRECTORY ${CMAKE_INSTALL_INCLUDEDIR})
+- SET(BALL_DATA_INSTALL_DIRECTORY ${CMAKE_INSTALL_DATAROOTDIR}/BALL)
+- SET(BALL_DOCUMENTATION_INSTALL_DIRECTORY ${CMAKE_INSTALL_DOCDIR})
+- SET(BALL_TOOLS_INSTALL_DIRECTORY ${CMAKE_INSTALL_BINDIR}/BALLTools)
+-
+ IF(WIN32)
+ SET(BALL_PYTHON_INSTALL_DIRECTORY "bin")
+ SET(BALL_PLUGIN_INSTALL_DIRECTORY "bin")
+@@ -693,18 +685,18 @@ IF(NOT APPLE)
+ INSTALL(TARGETS BALL
+ EXPORT BALLExportGroup
+ COMPONENT "${COMPONENT_LIBBALL}"
+- RUNTIME DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
+- LIBRARY DESTINATION "${BALL_LIBRARY_INSTALL_DIRECTORY}"
+- ARCHIVE DESTINATION "${BALL_ARCHIVE_INSTALL_DIRECTORY}"
++ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
++ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
++ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+ )
+
+ IF(BALL_HAS_VIEW)
+ INSTALL(TARGETS VIEW
+ EXPORT BALLExportGroup
+ COMPONENT "${COMPONENT_LIBVIEW}"
+- RUNTIME DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
+- LIBRARY DESTINATION "${BALL_LIBRARY_INSTALL_DIRECTORY}"
+- ARCHIVE DESTINATION "${BALL_ARCHIVE_INSTALL_DIRECTORY}"
++ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
++ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
++ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+ )
+ ENDIF()
+
+@@ -712,21 +704,21 @@ IF(NOT APPLE)
+ ## care of data files and headers
+ IF (NOT "${CMAKE_INSTALL_PREFIX}" STREQUAL ".")
+ ### Install the data directories
+- INSTALL(DIRECTORY data/ DESTINATION "${BALL_DATA_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL})
++ INSTALL(DIRECTORY data/ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/BALL COMPONENT ${COMPONENT_LIBBALL})
+
+ ### Install the includes
+- INSTALL(DIRECTORY include/ DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL_DEV})
++ INSTALL(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" COMPONENT ${COMPONENT_LIBBALL_DEV})
+ ENDIF()
+
+ ## The configured files have to be copied in any case
+ INSTALL(FILES ${PROJECT_BINARY_DIR}/include/BALL/CONFIG/config.h
+- DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/BALL/CONFIG"
++ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/BALL/CONFIG"
+ COMPONENT ${COMPONENT_LIBBALL_DEV}
+ )
+
+ INSTALL(FILES
+ ${PROJECT_BINARY_DIR}/include/BALL/PYTHON/BALLPythonConfig.h
+- DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/BALL/PYTHON"
++ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/BALL/PYTHON"
+ COMPONENT ${COMPONENT_LIBBALL_DEV}
+ )
+
+@@ -744,14 +736,14 @@ IF(NOT APPLE)
+ FOREACH(LIB ${BALL_DEP_OPT_DLLS})
+ STRING(TOLOWER "${LIB}" LOWER_LIB)
+ INSTALL(FILES "${LIB}"
+- DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
++ DESTINATION "${CMAKE_INSTALL_BINDIR}"
+ COMPONENT ${COMPONENT_LIBBALL})
+ ENDFOREACH()
+
+ IF(QT_DEPLOY_EXECUTABLE)
+ INSTALL(CODE
+- "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/BALL.dll)
+- EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/VIEW.dll)"
++ "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/BALL.dll)
++ EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/VIEW.dll)"
+ COMPONENT "${COMPONENT_LIBBALL}")
+ ENDIF()
+ ENDIF()
+diff --git a/cmake/BALLDoc.cmake b/cmake/BALLDoc.cmake
+index 061b9c95f..2d7c17466 100644
+--- a/cmake/BALLDoc.cmake
++++ b/cmake/BALLDoc.cmake
+@@ -20,7 +20,7 @@ ENDIF()
+
+ IF(NOT APPLE)
+ INSTALL(DIRECTORY "${PROJECT_SOURCE_DIR}/doc/examples/"
+- DESTINATION "${BALL_DOCUMENTATION_INSTALL_DIRECTORY}/EXAMPLES"
++ DESTINATION "${CMAKE_INSTALL_DOCDIR}/EXAMPLES"
+ COMPONENT "${COMPONENT_DOCUMENTATION_EXAMPLES}")
+ ENDIF()
+
+@@ -53,7 +53,7 @@ IF (DOXYGEN_FOUND)
+
+ IF(NOT APPLE)
+ INSTALL(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/"
+- DESTINATION "${BALL_DOCUMENTATION_INSTALL_DIRECTORY}/BALL"
++ DESTINATION "${CMAKE_INSTALL_DOCDIR}/BALL"
+ COMPONENT "${COMPONENT_DOCUMENTATION_HTML}"
+ )
+ ENDIF()
+@@ -107,7 +107,7 @@ IF (LATEX_COMPILER AND DVIPS_CONVERTER)
+
+ IF(NOT APPLE)
+ INSTALL(FILES ${PROJECT_BINARY_DIR}/doc/tutorial.pdf
+- DESTINATION "${BALL_DOCUMENTATION_INSTALL_DIRECTORY}/TUTORIAL"
++ DESTINATION "${CMAKE_INSTALL_DOCDIR}/TUTORIAL"
+ COMPONENT "${COMPONENT_DOCUMENTATION_PDF}"
+ OPTIONAL
+ )
+diff --git a/source/APPLICATIONS/BALLVIEW/CMakeLists.txt b/source/APPLICATIONS/BALLVIEW/CMakeLists.txt
+index b4b96c31c..5fd21ee68 100644
+--- a/source/APPLICATIONS/BALLVIEW/CMakeLists.txt
++++ b/source/APPLICATIONS/BALLVIEW/CMakeLists.txt
+@@ -59,13 +59,13 @@ IF(APPLE)
+ ELSE()
+ INSTALL(TARGETS BALLView
+ COMPONENT "${COMPONENT_BALLVIEW}"
+- RUNTIME DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
++ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
+ BUNDLE DESTINATION "${BALL_BUNDLE_INSTALL_DIRECTORY}"
+ )
+
+ IF(WIN32)
+ IF(QT_DEPLOY_EXECUTABLE)
+- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/BALLView.exe)"
++ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/BALLView.exe)"
+ COMPONENT "${COMPONENT_BALLVIEW}")
+ ENDIF()
+ ENDIF()
+diff --git a/source/EXTENSIONS/BALLAXY/CMakeLists.txt b/source/EXTENSIONS/BALLAXY/CMakeLists.txt
+index 2fdfcbeed..1eed12c37 100644
+--- a/source/EXTENSIONS/BALLAXY/CMakeLists.txt
++++ b/source/EXTENSIONS/BALLAXY/CMakeLists.txt
+@@ -66,7 +66,7 @@ IF(NOT APPLE)
+
+ IF(WIN32)
+ IF(QT_DEPLOY_EXECUTABLE)
+- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/pluginBALLaxy.dll)"
++ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/pluginBALLaxy.dll)"
+ COMPONENT "Unspecified")
+ ENDIF()
+ ENDIF()
+diff --git a/source/EXTENSIONS/JUPYTER/CMakeLists.txt b/source/EXTENSIONS/JUPYTER/CMakeLists.txt
+index bb7e91921..24a459fbf 100644
+--- a/source/EXTENSIONS/JUPYTER/CMakeLists.txt
++++ b/source/EXTENSIONS/JUPYTER/CMakeLists.txt
+@@ -78,7 +78,7 @@ IF(NOT APPLE)
+
+ IF(WIN32)
+ IF(QT_DEPLOY_EXECUTABLE)
+- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/pluginJupyter.dll)"
++ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/pluginJupyter.dll)"
+ COMPONENT "Unspecified")
+ ENDIF()
+ ENDIF()
+diff --git a/source/EXTENSIONS/PRESENTABALL/CMakeLists.txt b/source/EXTENSIONS/PRESENTABALL/CMakeLists.txt
+index 8606f2f26..ad027fd03 100644
+--- a/source/EXTENSIONS/PRESENTABALL/CMakeLists.txt
++++ b/source/EXTENSIONS/PRESENTABALL/CMakeLists.txt
+@@ -66,7 +66,7 @@ IF(NOT APPLE)
+
+ IF(WIN32)
+ IF(QT_DEPLOY_EXECUTABLE)
+- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/pluginPresentaBALL.dll)"
++ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/pluginPresentaBALL.dll)"
+ COMPONENT "Unspecified")
+ ENDIF()
+ ENDIF()
+diff --git a/source/PYTHON/EXTENSIONS/CMakeLists.txt b/source/PYTHON/EXTENSIONS/CMakeLists.txt
+index 590e1de3a..374732519 100644
+--- a/source/PYTHON/EXTENSIONS/CMakeLists.txt
++++ b/source/PYTHON/EXTENSIONS/CMakeLists.txt
+@@ -49,15 +49,15 @@ IF(BALL_PYTHON_SUPPORT)
+ IF(NOT APPLE)
+ INSTALL(TARGETS BALLCoremodule
+ COMPONENT "${COMPONENT_PYTHON_BINDINGS_BALL}"
+- RUNTIME DESTINATION ${BALL_RUNTIME_INSTALL_DIRECTORY}
+- LIBRARY DESTINATION ${BALL_LIBRARY_INSTALL_DIRECTORY}
++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ )
+
+ IF(BALL_HAS_VIEW)
+ INSTALL(TARGETS VIEWmodule
+ COMPONENT "${COMPONENT_PYTHON_BINDINGS_VIEW}"
+- RUNTIME DESTINATION ${BALL_RUNTIME_INSTALL_DIRECTORY}
+- LIBRARY DESTINATION ${BALL_LIBRARY_INSTALL_DIRECTORY}
++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ )
+ ENDIF()
+
+@@ -69,7 +69,7 @@ IF(BALL_PYTHON_SUPPORT)
+ IF (WIN32)
+ # INSTALL(FILES ${PYTHON_EXECUTABLE}
+ # COMPONENT "${COMPONENT_PYTHON_BINDINGS_BALL}"
+- # DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
++ # DESTINATION "${CMAKE_INSTALL_BINDIR}"
+ #)
+
+
+@@ -78,7 +78,7 @@ IF(BALL_PYTHON_SUPPORT)
+
+ INSTALL(DIRECTORY "${PYTHON_SITE_PACKAGES_DIR}"
+ COMPONENT "${COMPONENT_PYTHON_BINDINGS_BALL}"
+- DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
++ DESTINATION "${CMAKE_INSTALL_BINDIR}"
+ )
+ ENDIF ()
+ ENDIF()
+--
+2.17.0
+
+
+From 666ca19b00b14752e69c05600725724fb4f6d488 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sat, 21 Apr 2018 22:02:14 +0200
+Subject: [PATCH 3/3] Install html doc into "html" dir
+
+---
+ cmake/BALLDoc.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/BALLDoc.cmake b/cmake/BALLDoc.cmake
+index 2d7c17466..a070613c8 100644
+--- a/cmake/BALLDoc.cmake
++++ b/cmake/BALLDoc.cmake
+@@ -53,7 +53,7 @@ IF (DOXYGEN_FOUND)
+
+ IF(NOT APPLE)
+ INSTALL(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/"
+- DESTINATION "${CMAKE_INSTALL_DOCDIR}/BALL"
++ DESTINATION "${CMAKE_INSTALL_DOCDIR}/html"
+ COMPONENT "${COMPONENT_DOCUMENTATION_HTML}"
+ )
+ ENDIF()
+--
+2.17.0
+
diff --git a/sci-chemistry/ball/metadata.xml b/sci-chemistry/ball/metadata.xml
index 72d683b1846..37a132c1a1c 100644
--- a/sci-chemistry/ball/metadata.xml
+++ b/sci-chemistry/ball/metadata.xml
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>sci-chemistry@gentoo.org</email>
- <name>Gentoo Chemistry Project</name>
- </maintainer>
- <longdescription>
+ <maintainer type="project">
+ <email>sci-chemistry@gentoo.org</email>
+ <name>Gentoo Chemistry Project</name>
+ </maintainer>
+ <longdescription>
Rapid Software Prototyping can significantly reduce development times in the
field of Computational Molecular Biology and Molecular Modeling.
BALL (Biochemical Algorithms Library) is an application framework in C++ that
@@ -23,9 +23,15 @@ structures and algorithms.
Based on BALL we have developed a stand-alone tool for molecular visualization,
BALLView . BALLView makes the broad functionality available through an
integrated user-friendly GUI.
-</longdescription>
- <use>
- <flag name="sql">Include SQL database support</flag>
- <flag name="cuda">Include cuda support</flag>
- </use>
+ </longdescription>
+ <use>
+ <flag name="cuda">Include cuda support</flag>
+ <flag name="fftw">Build with <pkg>sci-libs/fftw</pkg> (switching BALL to GPL3)</flag>
+ <flag name="gui">Build VIEW library required for visualization and graphical user interfaces</flag>
+ <flag name="lpsolve">Enable support for the Mixed Integer Linear Programming solver</flag>
+ <flag name="sql">Include SQL database support</flag>
+ <flag name="openbabel">Enable support for <pkg>sci-chemistry/openbabel</pkg> (switching BALL to GPL3)</flag>
+ <flag name="svm">Enable support for the Support Vector Machine module</flag>
+ <flag name="webengine">Enable QtWebEngine support with Qt5 (requires gui)</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/ball/files/, sci-chemistry/ball/
@ 2019-05-02 18:47 Mikle Kolyada
0 siblings, 0 replies; 3+ messages in thread
From: Mikle Kolyada @ 2019-05-02 18:47 UTC (permalink / raw
To: gentoo-commits
commit: 90360a7c028f7f1eccfbcf57b10428481a003ac8
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu May 2 18:47:53 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu May 2 18:47:53 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90360a7c
sci-chemistry/ball: remove last rited package
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
sci-chemistry/ball/Manifest | 1 -
sci-chemistry/ball/ball-1.5.0_pre20180419.ebuild | 100 ------
.../ball/files/ball-1.5.0-gnuinstalldirs.patch | 355 ---------------------
sci-chemistry/ball/metadata.xml | 36 ---
4 files changed, 492 deletions(-)
diff --git a/sci-chemistry/ball/Manifest b/sci-chemistry/ball/Manifest
deleted file mode 100644
index 71590f52041..00000000000
--- a/sci-chemistry/ball/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ball-1.5.0_pre20180419.tar.gz 37577697 BLAKE2B 44db256dad4703115ca381c4bc7f8393657d9d205b78c9ed55328769129dc38a2898d838bea2beb2e1e5e25184944a5724dd808917928f79c41b8216d98a6677 SHA512 a5cf9680468636c6b3de950f058d1bedb9c2d9ef7b5ba1af60e4b79fab3e6bae9cd814ec3238703075ae66c5a637d1ba8281ce7f11ac842133af91c000c983c3
diff --git a/sci-chemistry/ball/ball-1.5.0_pre20180419.ebuild b/sci-chemistry/ball/ball-1.5.0_pre20180419.ebuild
deleted file mode 100644
index b4d49d1fb14..00000000000
--- a/sci-chemistry/ball/ball-1.5.0_pre20180419.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-COMMIT=e80b5e2021a72faa36bf9e35207998d4590f2cf4
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="Biochemical Algorithms Library"
-HOMEPAGE="https://github.com/BALL-Project/ball"
-SRC_URI="https://github.com/BALL-Project/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2 fftw? ( GPL-3 ) openbabel? ( GPL-3 )"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="cuda doc +fftw +gui lpsolve mpi openbabel +python svm test threads webengine"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- threads? ( fftw )
- webengine? ( gui )
-"
-
-RDEPEND="
- dev-cpp/eigen:3
- dev-libs/boost:=
- dev-qt/qtcore:5
- dev-qt/qtnetwork:5
- dev-qt/qtxml:5
- media-libs/glew:0=
- virtual/opengl
- x11-libs/libX11
- cuda? ( dev-util/nvidia-cuda-toolkit )
- fftw? ( sci-libs/fftw:3.0=[threads?] )
- gui? (
- dev-qt/qtgui:5
- dev-qt/qtopengl:5
- dev-qt/qtprintsupport:5
- dev-qt/qttest:5
- dev-qt/qtwidgets:5
- )
- lpsolve? ( sci-mathematics/lpsolve )
- mpi? ( virtual/mpi )
- openbabel? ( sci-chemistry/openbabel:= )
- python? ( ${PYTHON_DEPS} )
- svm? ( sci-libs/libsvm:= )
- webengine? (
- dev-qt/qtwebchannel:5
- dev-qt/qtwebengine:5[widgets]
- )
-"
-DEPEND="${RDEPEND}
- sys-devel/bison
- virtual/yacc
- doc? ( app-doc/doxygen[dot] )
- gui? ( dev-qt/linguist-tools:5 )
- python? ( dev-python/sip )
-"
-
-S="${WORKDIR}"/${PN}-${COMMIT}
-
-PATCHES=( "${FILESDIR}"/${PN}-1.5.0-gnuinstalldirs.patch )
-
-RESTRICT="test"
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
- local mycmakeargs=(
- -DUPDATE_TRANSLATIONS=ON
- -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=ON
- -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
- -DUSE_CUDA=$(usex cuda)
- -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(usex !doc)
- -DCMAKE_DISABLE_FIND_PACKAGE_FFTW=$(usex !fftw)
- -DUSE_LPSOLVE=$(usex lpsolve)
- -DUSE_MPI=$(usex mpi)
- -DREQUIRE_MPI=$(usex mpi)
- -DCMAKE_DISABLE_FIND_PACKAGE_OpenBabel2=$(usex !openbabel)
- -DBALL_PYTHON_SUPPORT=$(usex python)
- -DBALL_HAS_VIEW=$(usex gui)
- -DUSE_LIBSVM=$(usex svm)
- -DUSE_FFTW_THREADS=$(usex threads)
- -DUSE_QTWEBENGINE=$(usex webengine)
- )
-
- if use fftw || use openbabel; then
- mycmakeargs+=( -DBALL_LICENSE=GPL )
- fi
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
- use test && cmake-utils_src_make build_tests
-}
diff --git a/sci-chemistry/ball/files/ball-1.5.0-gnuinstalldirs.patch b/sci-chemistry/ball/files/ball-1.5.0-gnuinstalldirs.patch
deleted file mode 100644
index f9fedc58bb6..00000000000
--- a/sci-chemistry/ball/files/ball-1.5.0-gnuinstalldirs.patch
+++ /dev/null
@@ -1,355 +0,0 @@
-From a8cade5ed7090c704aed53871fb664a0fe07af54 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Sat, 21 Apr 2018 20:07:09 +0200
-Subject: [PATCH 1/3] Use GNUInstallDirs
-
----
- CMakeLists.txt | 30 ++++++++++++++++--------------
- 1 file changed, 16 insertions(+), 14 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index be57fe90c..1a54446fb 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -65,6 +65,8 @@ INCLUDE(BALLCompilerSpecific)
- # Determine BALL configuration
- INCLUDE(BALLConfiguration)
-
-+INCLUDE(GNUInstallDirs)
-+
- # We do not have a Component-based installer in MacOS
- IF(NOT APPLE)
- INCLUDE(BALLComponents)
-@@ -473,20 +475,20 @@ SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin")
-
- ## These variables are used in all install-targets
- IF (NOT APPLE)
-- SET(BALL_RUNTIME_INSTALL_DIRECTORY "bin")
-- SET(BALL_LIBRARY_INSTALL_DIRECTORY "lib")
-- SET(BALL_ARCHIVE_INSTALL_DIRECTORY "lib")
-- SET(BALL_HEADER_INSTALL_DIRECTORY ".")
-- SET(BALL_DATA_INSTALL_DIRECTORY "share/BALL")
-- SET(BALL_DOCUMENTATION_INSTALL_DIRECTORY "share/BALL/doc")
-- SET(BALL_TOOLS_INSTALL_DIRECTORY "bin/BALLTools")
-+ SET(BALL_RUNTIME_INSTALL_DIRECTORY ${CMAKE_INSTALL_BINDIR})
-+ SET(BALL_LIBRARY_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
-+ SET(BALL_ARCHIVE_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
-+ SET(BALL_HEADER_INSTALL_DIRECTORY ${CMAKE_INSTALL_INCLUDEDIR})
-+ SET(BALL_DATA_INSTALL_DIRECTORY ${CMAKE_INSTALL_DATAROOTDIR}/BALL)
-+ SET(BALL_DOCUMENTATION_INSTALL_DIRECTORY ${CMAKE_INSTALL_DOCDIR})
-+ SET(BALL_TOOLS_INSTALL_DIRECTORY ${CMAKE_INSTALL_BINDIR}/BALLTools)
-
- IF(WIN32)
- SET(BALL_PYTHON_INSTALL_DIRECTORY "bin")
- SET(BALL_PLUGIN_INSTALL_DIRECTORY "bin")
- ELSE()
-- SET(BALL_PYTHON_INSTALL_DIRECTORY "lib")
-- SET(BALL_PLUGIN_INSTALL_DIRECTORY "lib")
-+ SET(BALL_PYTHON_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
-+ SET(BALL_PLUGIN_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
- ENDIF()
- ENDIF()
-
-@@ -710,21 +712,21 @@ IF(NOT APPLE)
- ## care of data files and headers
- IF (NOT "${CMAKE_INSTALL_PREFIX}" STREQUAL ".")
- ### Install the data directories
-- INSTALL(DIRECTORY data DESTINATION "${BALL_DATA_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL})
-+ INSTALL(DIRECTORY data/ DESTINATION "${BALL_DATA_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL})
-
- ### Install the includes
-- INSTALL(DIRECTORY include DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL_DEV})
-+ INSTALL(DIRECTORY include/ DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL_DEV})
- ENDIF()
-
- ## The configured files have to be copied in any case
- INSTALL(FILES ${PROJECT_BINARY_DIR}/include/BALL/CONFIG/config.h
-- DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/include/BALL/CONFIG"
-+ DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/BALL/CONFIG"
- COMPONENT ${COMPONENT_LIBBALL_DEV}
- )
-
- INSTALL(FILES
- ${PROJECT_BINARY_DIR}/include/BALL/PYTHON/BALLPythonConfig.h
-- DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/include/BALL/PYTHON"
-+ DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/BALL/PYTHON"
- COMPONENT ${COMPONENT_LIBBALL_DEV}
- )
-
-@@ -866,7 +868,7 @@ EXPORT(PACKAGE BALL)
- # Generate CMake package configuration for BALL installation
- IF(NOT APPLE)
- # Installation path for BALL CMake package configuration files
-- SET(BALL_CMAKE_EXPORT_PATH "lib/cmake/BALL" CACHE PATH "Path to the cmake package configuration files")
-+ SET(BALL_CMAKE_EXPORT_PATH ${CMAKE_INSTALL_LIBDIR}/cmake/BALL CACHE PATH "Path to the cmake package configuration files")
-
- LIST(REMOVE_ITEM BALL_INCLUDE_DIRS "${PROJECT_BINARY_DIR}/include")
- LIST(REMOVE_ITEM BALL_INCLUDE_DIRS "${PROJECT_SOURCE_DIR}/include")
---
-2.17.0
-
-
-From 17cbef40ad91cf051ca83b1ccf53dd2ccb22fc8d Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Sat, 21 Apr 2018 21:20:01 +0200
-Subject: [PATCH 2/3] Drop superfluous cmake variables
-
----
- CMakeLists.txt | 34 +++++++------------
- cmake/BALLDoc.cmake | 6 ++--
- source/APPLICATIONS/BALLVIEW/CMakeLists.txt | 4 +--
- source/EXTENSIONS/BALLAXY/CMakeLists.txt | 2 +-
- source/EXTENSIONS/JUPYTER/CMakeLists.txt | 2 +-
- source/EXTENSIONS/PRESENTABALL/CMakeLists.txt | 2 +-
- source/PYTHON/EXTENSIONS/CMakeLists.txt | 12 +++----
- 7 files changed, 27 insertions(+), 35 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1a54446fb..9b9f3513b 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -475,14 +475,6 @@ SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin")
-
- ## These variables are used in all install-targets
- IF (NOT APPLE)
-- SET(BALL_RUNTIME_INSTALL_DIRECTORY ${CMAKE_INSTALL_BINDIR})
-- SET(BALL_LIBRARY_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
-- SET(BALL_ARCHIVE_INSTALL_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
-- SET(BALL_HEADER_INSTALL_DIRECTORY ${CMAKE_INSTALL_INCLUDEDIR})
-- SET(BALL_DATA_INSTALL_DIRECTORY ${CMAKE_INSTALL_DATAROOTDIR}/BALL)
-- SET(BALL_DOCUMENTATION_INSTALL_DIRECTORY ${CMAKE_INSTALL_DOCDIR})
-- SET(BALL_TOOLS_INSTALL_DIRECTORY ${CMAKE_INSTALL_BINDIR}/BALLTools)
--
- IF(WIN32)
- SET(BALL_PYTHON_INSTALL_DIRECTORY "bin")
- SET(BALL_PLUGIN_INSTALL_DIRECTORY "bin")
-@@ -693,18 +685,18 @@ IF(NOT APPLE)
- INSTALL(TARGETS BALL
- EXPORT BALLExportGroup
- COMPONENT "${COMPONENT_LIBBALL}"
-- RUNTIME DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
-- LIBRARY DESTINATION "${BALL_LIBRARY_INSTALL_DIRECTORY}"
-- ARCHIVE DESTINATION "${BALL_ARCHIVE_INSTALL_DIRECTORY}"
-+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
-+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
-+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
- )
-
- IF(BALL_HAS_VIEW)
- INSTALL(TARGETS VIEW
- EXPORT BALLExportGroup
- COMPONENT "${COMPONENT_LIBVIEW}"
-- RUNTIME DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
-- LIBRARY DESTINATION "${BALL_LIBRARY_INSTALL_DIRECTORY}"
-- ARCHIVE DESTINATION "${BALL_ARCHIVE_INSTALL_DIRECTORY}"
-+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
-+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
-+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
- )
- ENDIF()
-
-@@ -712,21 +704,21 @@ IF(NOT APPLE)
- ## care of data files and headers
- IF (NOT "${CMAKE_INSTALL_PREFIX}" STREQUAL ".")
- ### Install the data directories
-- INSTALL(DIRECTORY data/ DESTINATION "${BALL_DATA_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL})
-+ INSTALL(DIRECTORY data/ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/BALL COMPONENT ${COMPONENT_LIBBALL})
-
- ### Install the includes
-- INSTALL(DIRECTORY include/ DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}" COMPONENT ${COMPONENT_LIBBALL_DEV})
-+ INSTALL(DIRECTORY include/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" COMPONENT ${COMPONENT_LIBBALL_DEV})
- ENDIF()
-
- ## The configured files have to be copied in any case
- INSTALL(FILES ${PROJECT_BINARY_DIR}/include/BALL/CONFIG/config.h
-- DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/BALL/CONFIG"
-+ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/BALL/CONFIG"
- COMPONENT ${COMPONENT_LIBBALL_DEV}
- )
-
- INSTALL(FILES
- ${PROJECT_BINARY_DIR}/include/BALL/PYTHON/BALLPythonConfig.h
-- DESTINATION "${BALL_HEADER_INSTALL_DIRECTORY}/BALL/PYTHON"
-+ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/BALL/PYTHON"
- COMPONENT ${COMPONENT_LIBBALL_DEV}
- )
-
-@@ -744,14 +736,14 @@ IF(NOT APPLE)
- FOREACH(LIB ${BALL_DEP_OPT_DLLS})
- STRING(TOLOWER "${LIB}" LOWER_LIB)
- INSTALL(FILES "${LIB}"
-- DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
-+ DESTINATION "${CMAKE_INSTALL_BINDIR}"
- COMPONENT ${COMPONENT_LIBBALL})
- ENDFOREACH()
-
- IF(QT_DEPLOY_EXECUTABLE)
- INSTALL(CODE
-- "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/BALL.dll)
-- EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/VIEW.dll)"
-+ "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/BALL.dll)
-+ EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/VIEW.dll)"
- COMPONENT "${COMPONENT_LIBBALL}")
- ENDIF()
- ENDIF()
-diff --git a/cmake/BALLDoc.cmake b/cmake/BALLDoc.cmake
-index 061b9c95f..2d7c17466 100644
---- a/cmake/BALLDoc.cmake
-+++ b/cmake/BALLDoc.cmake
-@@ -20,7 +20,7 @@ ENDIF()
-
- IF(NOT APPLE)
- INSTALL(DIRECTORY "${PROJECT_SOURCE_DIR}/doc/examples/"
-- DESTINATION "${BALL_DOCUMENTATION_INSTALL_DIRECTORY}/EXAMPLES"
-+ DESTINATION "${CMAKE_INSTALL_DOCDIR}/EXAMPLES"
- COMPONENT "${COMPONENT_DOCUMENTATION_EXAMPLES}")
- ENDIF()
-
-@@ -53,7 +53,7 @@ IF (DOXYGEN_FOUND)
-
- IF(NOT APPLE)
- INSTALL(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/"
-- DESTINATION "${BALL_DOCUMENTATION_INSTALL_DIRECTORY}/BALL"
-+ DESTINATION "${CMAKE_INSTALL_DOCDIR}/BALL"
- COMPONENT "${COMPONENT_DOCUMENTATION_HTML}"
- )
- ENDIF()
-@@ -107,7 +107,7 @@ IF (LATEX_COMPILER AND DVIPS_CONVERTER)
-
- IF(NOT APPLE)
- INSTALL(FILES ${PROJECT_BINARY_DIR}/doc/tutorial.pdf
-- DESTINATION "${BALL_DOCUMENTATION_INSTALL_DIRECTORY}/TUTORIAL"
-+ DESTINATION "${CMAKE_INSTALL_DOCDIR}/TUTORIAL"
- COMPONENT "${COMPONENT_DOCUMENTATION_PDF}"
- OPTIONAL
- )
-diff --git a/source/APPLICATIONS/BALLVIEW/CMakeLists.txt b/source/APPLICATIONS/BALLVIEW/CMakeLists.txt
-index b4b96c31c..5fd21ee68 100644
---- a/source/APPLICATIONS/BALLVIEW/CMakeLists.txt
-+++ b/source/APPLICATIONS/BALLVIEW/CMakeLists.txt
-@@ -59,13 +59,13 @@ IF(APPLE)
- ELSE()
- INSTALL(TARGETS BALLView
- COMPONENT "${COMPONENT_BALLVIEW}"
-- RUNTIME DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
-+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
- BUNDLE DESTINATION "${BALL_BUNDLE_INSTALL_DIRECTORY}"
- )
-
- IF(WIN32)
- IF(QT_DEPLOY_EXECUTABLE)
-- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/BALLView.exe)"
-+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/BALLView.exe)"
- COMPONENT "${COMPONENT_BALLVIEW}")
- ENDIF()
- ENDIF()
-diff --git a/source/EXTENSIONS/BALLAXY/CMakeLists.txt b/source/EXTENSIONS/BALLAXY/CMakeLists.txt
-index 2fdfcbeed..1eed12c37 100644
---- a/source/EXTENSIONS/BALLAXY/CMakeLists.txt
-+++ b/source/EXTENSIONS/BALLAXY/CMakeLists.txt
-@@ -66,7 +66,7 @@ IF(NOT APPLE)
-
- IF(WIN32)
- IF(QT_DEPLOY_EXECUTABLE)
-- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/pluginBALLaxy.dll)"
-+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/pluginBALLaxy.dll)"
- COMPONENT "Unspecified")
- ENDIF()
- ENDIF()
-diff --git a/source/EXTENSIONS/JUPYTER/CMakeLists.txt b/source/EXTENSIONS/JUPYTER/CMakeLists.txt
-index bb7e91921..24a459fbf 100644
---- a/source/EXTENSIONS/JUPYTER/CMakeLists.txt
-+++ b/source/EXTENSIONS/JUPYTER/CMakeLists.txt
-@@ -78,7 +78,7 @@ IF(NOT APPLE)
-
- IF(WIN32)
- IF(QT_DEPLOY_EXECUTABLE)
-- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/pluginJupyter.dll)"
-+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/pluginJupyter.dll)"
- COMPONENT "Unspecified")
- ENDIF()
- ENDIF()
-diff --git a/source/EXTENSIONS/PRESENTABALL/CMakeLists.txt b/source/EXTENSIONS/PRESENTABALL/CMakeLists.txt
-index 8606f2f26..ad027fd03 100644
---- a/source/EXTENSIONS/PRESENTABALL/CMakeLists.txt
-+++ b/source/EXTENSIONS/PRESENTABALL/CMakeLists.txt
-@@ -66,7 +66,7 @@ IF(NOT APPLE)
-
- IF(WIN32)
- IF(QT_DEPLOY_EXECUTABLE)
-- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${BALL_RUNTIME_INSTALL_DIRECTORY}/pluginPresentaBALL.dll)"
-+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${QT_DEPLOY_EXECUTABLE} \$\{CMAKE_INSTALL_PREFIX\}/${CMAKE_INSTALL_BINDIR}/pluginPresentaBALL.dll)"
- COMPONENT "Unspecified")
- ENDIF()
- ENDIF()
-diff --git a/source/PYTHON/EXTENSIONS/CMakeLists.txt b/source/PYTHON/EXTENSIONS/CMakeLists.txt
-index 590e1de3a..374732519 100644
---- a/source/PYTHON/EXTENSIONS/CMakeLists.txt
-+++ b/source/PYTHON/EXTENSIONS/CMakeLists.txt
-@@ -49,15 +49,15 @@ IF(BALL_PYTHON_SUPPORT)
- IF(NOT APPLE)
- INSTALL(TARGETS BALLCoremodule
- COMPONENT "${COMPONENT_PYTHON_BINDINGS_BALL}"
-- RUNTIME DESTINATION ${BALL_RUNTIME_INSTALL_DIRECTORY}
-- LIBRARY DESTINATION ${BALL_LIBRARY_INSTALL_DIRECTORY}
-+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
-+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
- )
-
- IF(BALL_HAS_VIEW)
- INSTALL(TARGETS VIEWmodule
- COMPONENT "${COMPONENT_PYTHON_BINDINGS_VIEW}"
-- RUNTIME DESTINATION ${BALL_RUNTIME_INSTALL_DIRECTORY}
-- LIBRARY DESTINATION ${BALL_LIBRARY_INSTALL_DIRECTORY}
-+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
-+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
- )
- ENDIF()
-
-@@ -69,7 +69,7 @@ IF(BALL_PYTHON_SUPPORT)
- IF (WIN32)
- # INSTALL(FILES ${PYTHON_EXECUTABLE}
- # COMPONENT "${COMPONENT_PYTHON_BINDINGS_BALL}"
-- # DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
-+ # DESTINATION "${CMAKE_INSTALL_BINDIR}"
- #)
-
-
-@@ -78,7 +78,7 @@ IF(BALL_PYTHON_SUPPORT)
-
- INSTALL(DIRECTORY "${PYTHON_SITE_PACKAGES_DIR}"
- COMPONENT "${COMPONENT_PYTHON_BINDINGS_BALL}"
-- DESTINATION "${BALL_RUNTIME_INSTALL_DIRECTORY}"
-+ DESTINATION "${CMAKE_INSTALL_BINDIR}"
- )
- ENDIF ()
- ENDIF()
---
-2.17.0
-
-
-From 666ca19b00b14752e69c05600725724fb4f6d488 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Sat, 21 Apr 2018 22:02:14 +0200
-Subject: [PATCH 3/3] Install html doc into "html" dir
-
----
- cmake/BALLDoc.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cmake/BALLDoc.cmake b/cmake/BALLDoc.cmake
-index 2d7c17466..a070613c8 100644
---- a/cmake/BALLDoc.cmake
-+++ b/cmake/BALLDoc.cmake
-@@ -53,7 +53,7 @@ IF (DOXYGEN_FOUND)
-
- IF(NOT APPLE)
- INSTALL(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/"
-- DESTINATION "${CMAKE_INSTALL_DOCDIR}/BALL"
-+ DESTINATION "${CMAKE_INSTALL_DOCDIR}/html"
- COMPONENT "${COMPONENT_DOCUMENTATION_HTML}"
- )
- ENDIF()
---
-2.17.0
-
diff --git a/sci-chemistry/ball/metadata.xml b/sci-chemistry/ball/metadata.xml
deleted file mode 100644
index 6f18011f2e0..00000000000
--- a/sci-chemistry/ball/metadata.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-chemistry@gentoo.org</email>
- <name>Gentoo Chemistry Project</name>
- </maintainer>
- <longdescription>
-Rapid Software Prototyping can significantly reduce development times in the
-field of Computational Molecular Biology and Molecular Modeling.
-BALL (Biochemical Algorithms Library) is an application framework in C++ that
-has been specifically designed for this purpose. It provides an extensive set
-of data structures as well as classes for Molecular Mechanics, advanced
-solvation methods, comparison and analysis of protein structures, file
-import/export, and visualization .
-
-BALL has been carefully designed to be robust, easy to use, and open to
-extensions. Especially its extensibility which results from an object-oriented
-and generic programming approach distinguishes it from other software packages.
-BALL is well suited to serve as a public repository for reliable data
-structures and algorithms.
-
-Based on BALL we have developed a stand-alone tool for molecular visualization,
-BALLView . BALLView makes the broad functionality available through an
-integrated user-friendly GUI.
- </longdescription>
- <use>
- <flag name="cuda">Include cuda support</flag>
- <flag name="fftw">Build with <pkg>sci-libs/fftw</pkg> (switching BALL to GPL3)</flag>
- <flag name="gui">Build VIEW library required for visualization and graphical user interfaces</flag>
- <flag name="lpsolve">Enable support for the Mixed Integer Linear Programming solver</flag>
- <flag name="openbabel">Enable support for <pkg>sci-chemistry/openbabel</pkg> (switching BALL to GPL3)</flag>
- <flag name="svm">Enable support for the Support Vector Machine module</flag>
- <flag name="webengine">Enable QtWebEngine support with Qt5 (requires gui)</flag>
- </use>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-05-02 18:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-21 21:33 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/ball/files/, sci-chemistry/ball/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2019-05-02 18:47 Mikle Kolyada
2016-06-05 15:22 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox