Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/ghemical/files/, sci-chemistry/ghemical/, profiles/
Date: Fri, 21 Feb 2020 20:23:26
Message-Id: 1582316571.cb0539aca3c58e0b84d702bb1862edc6e0ae9c50.mgorny@gentoo
1 commit: cb0539aca3c58e0b84d702bb1862edc6e0ae9c50
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 21 20:22:28 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 21 20:22:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb0539ac
7
8 sci-chemistry/ghemical: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/353119
11 Closes: https://bugs.gentoo.org/435676
12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
13
14 profiles/package.mask | 5 --
15 sci-chemistry/ghemical/Manifest | 1 -
16 sci-chemistry/ghemical/files/2.99.2-docs.patch | 22 ---------
17 sci-chemistry/ghemical/files/3.0.0-fix-gcc9.patch | 37 ---------------
18 sci-chemistry/ghemical/ghemical-3.0.0.ebuild | 56 -----------------------
19 sci-chemistry/ghemical/metadata.xml | 20 --------
20 6 files changed, 141 deletions(-)
21
22 diff --git a/profiles/package.mask b/profiles/package.mask
23 index 819ea3183a2..20aa9512581 100644
24 --- a/profiles/package.mask
25 +++ b/profiles/package.mask
26 @@ -586,11 +586,6 @@ games-strategy/gwp
27 # No revdeps, Removal in 30 days.
28 sci-chemistry/gabedit
29
30 -# David Seifert <soap@g.o> (2020-01-21)
31 -# Last release over 13 years ago, depends on EOL gtkglext, no revdeps.
32 -# Bug #353119, #435676. Removal in 30 days.
33 -sci-chemistry/ghemical
34 -
35 # Michał Górny <mgorny@g.o> (2020-01-16)
36 # The new version loses Python 2 support but does not introduce any real
37 # changes. Let's mask it to reduce the noise, and hopefully try to get
38
39 diff --git a/sci-chemistry/ghemical/Manifest b/sci-chemistry/ghemical/Manifest
40 deleted file mode 100644
41 index d0ef0805921..00000000000
42 --- a/sci-chemistry/ghemical/Manifest
43 +++ /dev/null
44 @@ -1 +0,0 @@
45 -DIST ghemical-3.0.0.tar.gz 2196716 BLAKE2B 62008667c58cb058beb8eb3946bb96fb03aceff7cc93f64aecc697a7648946936208063b419aca57f740d5760a90d923d81f8cc8d80fb68bdf924b23cd2061b3 SHA512 d4dd0b063a4dea33fa7430e77a2da253c74079fd8b5f21e8c2b5da1383f3689b93305417e1bf0d4908b87c91afb33c3266dd6bd6fbcd768cc98614a3f730ee94
46
47 diff --git a/sci-chemistry/ghemical/files/2.99.2-docs.patch b/sci-chemistry/ghemical/files/2.99.2-docs.patch
48 deleted file mode 100644
49 index 85f31dfd729..00000000000
50 --- a/sci-chemistry/ghemical/files/2.99.2-docs.patch
51 +++ /dev/null
52 @@ -1,22 +0,0 @@
53 -diff --git a/docs/user-docs/Makefile.am b/docs/user-docs/Makefile.am
54 -index 030f67c..dcb207b 100644
55 ---- a/docs/user-docs/Makefile.am
56 -+++ b/docs/user-docs/Makefile.am
57 -@@ -1,6 +1,6 @@
58 - SUBDIRS = images
59 -
60 --helpfilesdir = $(datadir)/ghemical/@APPVERSION@/user-docs
61 -+helpfilesdir = $(datadir)/doc/ghemical-@APPVERSION@/html
62 - helpfiles_DATA = *.css *.html
63 -
64 - EXTRA_DIST = $(helpfiles_DATA)
65 -diff --git a/docs/user-docs/images/Makefile.am b/docs/user-docs/images/Makefile.am
66 -index fae0ffd..a569151 100644
67 ---- a/docs/user-docs/images/Makefile.am
68 -+++ b/docs/user-docs/images/Makefile.am
69 -@@ -1,4 +1,4 @@
70 --helpimagesdir = $(datadir)/ghemical/@APPVERSION@/user-docs/images
71 -+helpimagesdir = $(datadir)/doc/ghemical-@APPVERSION@/html/images
72 - helpimages_DATA = *.png
73 -
74 - EXTRA_DIST = $(helpimages_DATA)
75
76 diff --git a/sci-chemistry/ghemical/files/3.0.0-fix-gcc9.patch b/sci-chemistry/ghemical/files/3.0.0-fix-gcc9.patch
77 deleted file mode 100644
78 index d3d80bbd00b..00000000000
79 --- a/sci-chemistry/ghemical/files/3.0.0-fix-gcc9.patch
80 +++ /dev/null
81 @@ -1,37 +0,0 @@
82 -https://bugs.gentoo.org/687450
83 -
84 -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]
85 - 210 | friend bool ReadGPR_OLD(project &, istream &, bool, bool = false); ///< this is for the very old version.
86 - | ^~~~~~~~~~~
87 -
88 ---- a/src/project.h
89 -+++ b/src/project.h
90 -@@ -122,6 +122,12 @@
91 - graphical user interface.
92 - */
93 -
94 -+class project;
95 -+bool ReadGPR_OLD(project &, istream &, bool, bool = false);
96 -+bool ReadGPR_v100(project &, istream &, bool, bool = false);
97 -+bool ReadGPR_v110(project &, istream &, bool, bool = false);
98 -+bool ReadGPR(project &, istream &, bool, bool = false);
99 -+
100 - class project :
101 - public custom_transformer_client,
102 - public model
103 -@@ -207,11 +213,11 @@
104 -
105 - // methods for file I/O : ReadGPR and WriteGPR are friend functions so that it would be easier to "borrow" them elsewhere...
106 - // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
107 -- friend bool ReadGPR_OLD(project &, istream &, bool, bool = false); ///< this is for the very old version.
108 -- friend bool ReadGPR_v100(project &, istream &, bool, bool = false); ///< this is for the version 1.00.
109 -- friend bool ReadGPR_v110(project &, istream &, bool, bool = false); ///< this is for the version 1.10.
110 -+ friend bool ReadGPR_OLD(project &, istream &, bool, bool); ///< this is for the very old version.
111 -+ friend bool ReadGPR_v100(project &, istream &, bool, bool); ///< this is for the version 1.00.
112 -+ friend bool ReadGPR_v110(project &, istream &, bool, bool); ///< this is for the version 1.10.
113 - /// This is an input function for the v1.11 ghemical file format.
114 -- friend bool ReadGPR(project &, istream &, bool, bool = false);
115 -+ friend bool ReadGPR(project &, istream &, bool, bool);
116 -
117 - friend void WriteGPR_v100(project &, ostream &); ///< this is for the version 1.00.
118 - /// This is an output function for the v1.11 ghemical file format.
119
120 diff --git a/sci-chemistry/ghemical/ghemical-3.0.0.ebuild b/sci-chemistry/ghemical/ghemical-3.0.0.ebuild
121 deleted file mode 100644
122 index 477c41439c2..00000000000
123 --- a/sci-chemistry/ghemical/ghemical-3.0.0.ebuild
124 +++ /dev/null
125 @@ -1,56 +0,0 @@
126 -# Copyright 1999-2019 Gentoo Authors
127 -# Distributed under the terms of the GNU General Public License v2
128 -
129 -EAPI=7
130 -
131 -inherit autotools desktop
132 -
133 -DESCRIPTION="Chemical quantum mechanics and molecular mechanics"
134 -HOMEPAGE="http://bioinformatics.org/ghemical/"
135 -SRC_URI="http://bioinformatics.org/ghemical/download/current/${P}.tar.gz"
136 -
137 -LICENSE="GPL-2"
138 -SLOT="0"
139 -KEYWORDS="~amd64 ~x86"
140 -IUSE="openbabel seamonkey threads"
141 -
142 -RDEPEND="
143 - dev-libs/glib:2
144 - gnome-base/libglade:2.0
145 - sci-chemistry/mpqc
146 - >=sci-libs/libghemical-3.0.0:=
147 - >=x11-libs/liboglappth-1.0.0:=
148 - virtual/opengl
149 - x11-libs/pango:0=
150 - x11-libs/gtk+:2
151 - x11-libs/gtkglext:0=
152 - openbabel? ( sci-chemistry/openbabel )"
153 -DEPEND="${RDEPEND}
154 - virtual/pkgconfig"
155 -
156 -PATCHES=(
157 - "${FILESDIR}"/2.99.2-docs.patch
158 - "${FILESDIR}"/3.0.0-fix-gcc9.patch
159 -)
160 -
161 -src_prepare() {
162 - default
163 - eautoreconf
164 -}
165 -
166 -src_configure() {
167 - # With amd64, if you want gamess I recommend adding gamess and gtk-gamess to package.provided for now.
168 -
169 - # Change the built-in help browser.
170 - sed -e "s|mozilla|$(usex seamonkey seamonkey firefox)|g" \
171 - -i src/gtk_app.cpp || die "sed failed for $(usex seamonkey seamonkey firefox)!"
172 -
173 - econf \
174 - $(use_enable openbabel) \
175 - $(use_enable threads)
176 -}
177 -
178 -src_install() {
179 - default
180 - make_desktop_entry ghemical Ghemical /usr/share/ghemical/${PV}/pixmaps/ghemical.png
181 -}
182
183 diff --git a/sci-chemistry/ghemical/metadata.xml b/sci-chemistry/ghemical/metadata.xml
184 deleted file mode 100644
185 index 90f25b17693..00000000000
186 --- a/sci-chemistry/ghemical/metadata.xml
187 +++ /dev/null
188 @@ -1,20 +0,0 @@
189 -<?xml version="1.0" encoding="UTF-8"?>
190 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
191 -<pkgmetadata>
192 - <maintainer type="project">
193 - <email>sci-chemistry@g.o</email>
194 - <name>Gentoo Chemistry Project</name>
195 - </maintainer>
196 - <longdescription>
197 -Ghemical supports both quantum-mechanics (semi-empirical and ab initio) models
198 -and molecular mechanics models (there is an experimental Tripos 5.2-like force
199 -field for organic molecules). Also a tool for reduced protein models is
200 -included. Geometry optimization, molecular dynamics and a large set of
201 -visualization tools are currently available.
202 -</longdescription>
203 - <use>
204 - <flag name="openbabel">Use <pkg>sci-chemistry/openbabel</pkg> for file
205 - conversions</flag>
206 - <flag name="seamonkey">Add support for the Seamonkey web-browser</flag>
207 - </use>
208 -</pkgmetadata>