summaryrefslogtreecommitdiff
path: root/sci-chemistry/ghemical
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/ghemical')
-rw-r--r--sci-chemistry/ghemical/Manifest5
-rw-r--r--sci-chemistry/ghemical/files/2.99.2-docs.patch22
-rw-r--r--sci-chemistry/ghemical/files/3.0.0-fix-gcc9.patch37
-rw-r--r--sci-chemistry/ghemical/ghemical-3.0.0.ebuild56
-rw-r--r--sci-chemistry/ghemical/metadata.xml20
5 files changed, 0 insertions, 140 deletions
diff --git a/sci-chemistry/ghemical/Manifest b/sci-chemistry/ghemical/Manifest
deleted file mode 100644
index b551bd472773..000000000000
--- a/sci-chemistry/ghemical/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX 2.99.2-docs.patch 785 BLAKE2B c731e7366ad44dde7c8754dc6e450e26436f69f4dda5547c61e73d4aa2da69be66cf46204481b1726a7ca746712f0a35c3e689f9da99d4376bc62097512958ec SHA512 0d8754b31eeec184a0d3becb75d3c69c2e922abbe00c175c8cb23d7ea96838896db2da90de45653a7612a041975975f062d289d7d362f6f1abae1d916dbc4b89
-AUX 3.0.0-fix-gcc9.patch 2020 BLAKE2B 40cb4ff6b6b245178aca446a37d9be8876b136b3b0473e41997f538c79c1f47be7a6a940ab97d4f945b1ec7126c6c15ea02ec4bbe0565fcb1623ceb589a1a51a SHA512 9b4764bf0704f9db587d07495b59402c2db87a5cfef0e3f1182f6428fa0b6e25081126714cd47b42bebe7243b5e78fa5a33cd0b5989a5235d01bc0f27ac281a6
-DIST ghemical-3.0.0.tar.gz 2196716 BLAKE2B 62008667c58cb058beb8eb3946bb96fb03aceff7cc93f64aecc697a7648946936208063b419aca57f740d5760a90d923d81f8cc8d80fb68bdf924b23cd2061b3 SHA512 d4dd0b063a4dea33fa7430e77a2da253c74079fd8b5f21e8c2b5da1383f3689b93305417e1bf0d4908b87c91afb33c3266dd6bd6fbcd768cc98614a3f730ee94
-EBUILD ghemical-3.0.0.ebuild 1304 BLAKE2B 518deae5395eb251fb9710ea31dd69a25cce77a70b495de50c3d8e1c19ab3451e1b17fc66ec4d3526654d80c1e49a8ea44b1a080bb281fddf1b633481d910fcd SHA512 772abfdf8ee8f0bf5de652157ba54953090a553b67c4dbbc246cbe47ad6182dddf89c20d3f67f544fa7b68e0f5938f4e55049db6a6984dfbcbd6b748f83a35b8
-MISC metadata.xml 851 BLAKE2B 119f8bdb334c7e1391c821aa99b59e9433ea1856a79e5216d1d35fa1349b36dff1288a3fb816af9547d451a95d8266889df7e6a79cf73748094fce7876125074 SHA512 bde362ad42f9648cd8e5f32e1c9b9e10159bf9b850a86e80012f067530d6e5912bfc54eb22c170a8eeb0a8ba705db4ecc3c0559b431eaee8ea474d4f9c82de93
diff --git a/sci-chemistry/ghemical/files/2.99.2-docs.patch b/sci-chemistry/ghemical/files/2.99.2-docs.patch
deleted file mode 100644
index 85f31dfd729f..000000000000
--- a/sci-chemistry/ghemical/files/2.99.2-docs.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/docs/user-docs/Makefile.am b/docs/user-docs/Makefile.am
-index 030f67c..dcb207b 100644
---- a/docs/user-docs/Makefile.am
-+++ b/docs/user-docs/Makefile.am
-@@ -1,6 +1,6 @@
- SUBDIRS = images
-
--helpfilesdir = $(datadir)/ghemical/@APPVERSION@/user-docs
-+helpfilesdir = $(datadir)/doc/ghemical-@APPVERSION@/html
- helpfiles_DATA = *.css *.html
-
- EXTRA_DIST = $(helpfiles_DATA)
-diff --git a/docs/user-docs/images/Makefile.am b/docs/user-docs/images/Makefile.am
-index fae0ffd..a569151 100644
---- a/docs/user-docs/images/Makefile.am
-+++ b/docs/user-docs/images/Makefile.am
-@@ -1,4 +1,4 @@
--helpimagesdir = $(datadir)/ghemical/@APPVERSION@/user-docs/images
-+helpimagesdir = $(datadir)/doc/ghemical-@APPVERSION@/html/images
- helpimages_DATA = *.png
-
- EXTRA_DIST = $(helpimages_DATA)
diff --git a/sci-chemistry/ghemical/files/3.0.0-fix-gcc9.patch b/sci-chemistry/ghemical/files/3.0.0-fix-gcc9.patch
deleted file mode 100644
index d3d80bbd00ba..000000000000
--- a/sci-chemistry/ghemical/files/3.0.0-fix-gcc9.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-https://bugs.gentoo.org/687450
-
-project.h:210:14: error: friend declaration of ‘bool ReadGPR_OLD(project&, std::istream&, bool, bool)’ specifies default arguments and isn’t a definition [-fpermissive]
- 210 | friend bool ReadGPR_OLD(project &, istream &, bool, bool = false); ///< this is for the very old version.
- | ^~~~~~~~~~~
-
---- a/src/project.h
-+++ b/src/project.h
-@@ -122,6 +122,12 @@
- graphical user interface.
- */
-
-+class project;
-+bool ReadGPR_OLD(project &, istream &, bool, bool = false);
-+bool ReadGPR_v100(project &, istream &, bool, bool = false);
-+bool ReadGPR_v110(project &, istream &, bool, bool = false);
-+bool ReadGPR(project &, istream &, bool, bool = false);
-+
- class project :
- public custom_transformer_client,
- public model
-@@ -207,11 +213,11 @@
-
- // methods for file I/O : ReadGPR and WriteGPR are friend functions so that it would be easier to "borrow" them elsewhere...
- // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- friend bool ReadGPR_OLD(project &, istream &, bool, bool = false); ///< this is for the very old version.
-- friend bool ReadGPR_v100(project &, istream &, bool, bool = false); ///< this is for the version 1.00.
-- friend bool ReadGPR_v110(project &, istream &, bool, bool = false); ///< this is for the version 1.10.
-+ friend bool ReadGPR_OLD(project &, istream &, bool, bool); ///< this is for the very old version.
-+ friend bool ReadGPR_v100(project &, istream &, bool, bool); ///< this is for the version 1.00.
-+ friend bool ReadGPR_v110(project &, istream &, bool, bool); ///< this is for the version 1.10.
- /// This is an input function for the v1.11 ghemical file format.
-- friend bool ReadGPR(project &, istream &, bool, bool = false);
-+ friend bool ReadGPR(project &, istream &, bool, bool);
-
- friend void WriteGPR_v100(project &, ostream &); ///< this is for the version 1.00.
- /// This is an output function for the v1.11 ghemical file format.
diff --git a/sci-chemistry/ghemical/ghemical-3.0.0.ebuild b/sci-chemistry/ghemical/ghemical-3.0.0.ebuild
deleted file mode 100644
index 477c41439c28..000000000000
--- a/sci-chemistry/ghemical/ghemical-3.0.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools desktop
-
-DESCRIPTION="Chemical quantum mechanics and molecular mechanics"
-HOMEPAGE="http://bioinformatics.org/ghemical/"
-SRC_URI="http://bioinformatics.org/ghemical/download/current/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="openbabel seamonkey threads"
-
-RDEPEND="
- dev-libs/glib:2
- gnome-base/libglade:2.0
- sci-chemistry/mpqc
- >=sci-libs/libghemical-3.0.0:=
- >=x11-libs/liboglappth-1.0.0:=
- virtual/opengl
- x11-libs/pango:0=
- x11-libs/gtk+:2
- x11-libs/gtkglext:0=
- openbabel? ( sci-chemistry/openbabel )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/2.99.2-docs.patch
- "${FILESDIR}"/3.0.0-fix-gcc9.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- # With amd64, if you want gamess I recommend adding gamess and gtk-gamess to package.provided for now.
-
- # Change the built-in help browser.
- sed -e "s|mozilla|$(usex seamonkey seamonkey firefox)|g" \
- -i src/gtk_app.cpp || die "sed failed for $(usex seamonkey seamonkey firefox)!"
-
- econf \
- $(use_enable openbabel) \
- $(use_enable threads)
-}
-
-src_install() {
- default
- make_desktop_entry ghemical Ghemical /usr/share/ghemical/${PV}/pixmaps/ghemical.png
-}
diff --git a/sci-chemistry/ghemical/metadata.xml b/sci-chemistry/ghemical/metadata.xml
deleted file mode 100644
index 90f25b17693e..000000000000
--- a/sci-chemistry/ghemical/metadata.xml
+++ /dev/null
@@ -1,20 +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>
-Ghemical supports both quantum-mechanics (semi-empirical and ab initio) models
-and molecular mechanics models (there is an experimental Tripos 5.2-like force
-field for organic molecules). Also a tool for reduced protein models is
-included. Geometry optimization, molecular dynamics and a large set of
-visualization tools are currently available.
-</longdescription>
- <use>
- <flag name="openbabel">Use <pkg>sci-chemistry/openbabel</pkg> for file
- conversions</flag>
- <flag name="seamonkey">Add support for the Seamonkey web-browser</flag>
- </use>
-</pkgmetadata>