Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, sci-electronics/drawtiming/, sci-electronics/drawtiming/files/
Date: Tue, 24 Aug 2021 12:39:31
Message-Id: 1629808711.1f6e0af1c71c499252898b853de236f0f91559df.soap@gentoo
1 commit: 1f6e0af1c71c499252898b853de236f0f91559df
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Tue Aug 24 12:38:31 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 24 12:38:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6e0af1
7
8 sci-electronics/drawtiming: Remove last-rited package
9
10 Closes: https://bugs.gentoo.org/786915
11 Closes: https://bugs.gentoo.org/725436
12 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 profiles/package.mask | 6 -
16 sci-electronics/drawtiming/Manifest | 1 -
17 .../drawtiming/drawtiming-0.7.1-r2.ebuild | 37 ------
18 .../drawtiming/files/drawtiming-0.7.1-gcc43.patch | 10 --
19 .../files/drawtiming-0.7.1-imagemagick-7.patch | 137 ---------------------
20 .../files/drawtiming-0.7.1-ldflags.patch | 36 ------
21 sci-electronics/drawtiming/metadata.xml | 19 ---
22 7 files changed, 246 deletions(-)
23
24 diff --git a/profiles/package.mask b/profiles/package.mask
25 index 14d0f27c08b..eb4b6f71673 100644
26 --- a/profiles/package.mask
27 +++ b/profiles/package.mask
28 @@ -320,12 +320,6 @@ app-portage/deltup
29 # No revdeps. Removal on 2021-08-26. Bug #752408.
30 app-text/lout
31
32 -# David Seifert <soap@g.o> (2021-07-26)
33 -# Fails to build with GCC 11, terrible codebase, tests fail with
34 -# modern ImageMagick, last release over 12 years ago.
35 -# Bug #725436, #786915, removal in 30 days.
36 -sci-electronics/drawtiming
37 -
38 # Andrew Ammerlaan <andrewammerlaan@g.o> (2021-07-12)
39 # Version 3.3.0 suffers from ridiculously high CPU usage, this version has
40 # therefore been retracted upstream.
41
42 diff --git a/sci-electronics/drawtiming/Manifest b/sci-electronics/drawtiming/Manifest
43 deleted file mode 100644
44 index 07bb57dc401..00000000000
45 --- a/sci-electronics/drawtiming/Manifest
46 +++ /dev/null
47 @@ -1 +0,0 @@
48 -DIST drawtiming-0.7.1.tar.gz 123714 BLAKE2B 60e5f4c741d5a273860d5bddd872d1df01be4c256531b1cbfe3baeab46ce569618bc371f6d65959d77071ac66946f3a934b351841d643ac154ee59ad5fb23052 SHA512 f474ee372967f05abfa49a15d635279ee23715f1472a82aab8890f8144eab3fdb7fc0529510ed7f92b7073097d77ee2266e5a97f55e755292416e126537fcbbd
49
50 diff --git a/sci-electronics/drawtiming/drawtiming-0.7.1-r2.ebuild b/sci-electronics/drawtiming/drawtiming-0.7.1-r2.ebuild
51 deleted file mode 100644
52 index 5982ce19dcd..00000000000
53 --- a/sci-electronics/drawtiming/drawtiming-0.7.1-r2.ebuild
54 +++ /dev/null
55 @@ -1,37 +0,0 @@
56 -# Copyright 1999-2021 Gentoo Authors
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI=5
60 -
61 -inherit autotools epatch
62 -
63 -DESCRIPTION="Command line tool for drawing timing diagrams"
64 -HOMEPAGE="http://drawtiming.sourceforge.net/index.html"
65 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
66 -
67 -LICENSE="GPL-2"
68 -SLOT="0"
69 -KEYWORDS="amd64 x86"
70 -IUSE="examples"
71 -
72 -DEPEND="media-gfx/imagemagick[cxx]"
73 -RDEPEND="${DEPEND}"
74 -
75 -src_prepare() {
76 - mv "${S}"/configure.in "${S}"/configure.ac
77 - epatch "${FILESDIR}"/${P}-gcc43.patch \
78 - "${FILESDIR}"/${P}-ldflags.patch
79 - if has_version ">=media-gfx/imagemagick-7.0.5.7" ;then
80 - epatch "${FILESDIR}"/${P}-imagemagick-7.patch
81 - fi
82 - eautoreconf
83 -}
84 -
85 -src_install() {
86 - emake DESTDIR="${D}" install
87 - dodoc AUTHORS ChangeLog README THANKS
88 - if use examples; then
89 - insinto "/usr/share/doc/${PF}/examples"
90 - doins samples/*.txt
91 - fi
92 -}
93
94 diff --git a/sci-electronics/drawtiming/files/drawtiming-0.7.1-gcc43.patch b/sci-electronics/drawtiming/files/drawtiming-0.7.1-gcc43.patch
95 deleted file mode 100644
96 index 4249c79aa6e..00000000000
97 --- a/sci-electronics/drawtiming/files/drawtiming-0.7.1-gcc43.patch
98 +++ /dev/null
99 @@ -1,10 +0,0 @@
100 ---- src/timing.cc.old 2011-06-01 18:27:42.000000000 +0000
101 -+++ src/timing.cc 2011-06-01 18:28:09.000000000 +0000
102 -@@ -23,6 +23,7 @@
103 - #include "timing.h"
104 - #include <map>
105 - #include <fstream>
106 -+#include <cstring>
107 - using namespace std;
108 - using namespace timing;
109 - using namespace Magick;
110
111 diff --git a/sci-electronics/drawtiming/files/drawtiming-0.7.1-imagemagick-7.patch b/sci-electronics/drawtiming/files/drawtiming-0.7.1-imagemagick-7.patch
112 deleted file mode 100644
113 index 8f075a57200..00000000000
114 --- a/sci-electronics/drawtiming/files/drawtiming-0.7.1-imagemagick-7.patch
115 +++ /dev/null
116 @@ -1,137 +0,0 @@
117 -diff -u drawtiming-0.7.1.old/configure.in drawtiming-0.7.1/configure.in
118 ---- drawtiming-0.7.1.old/configure.ac 2009-04-03 02:59:52.000000000 +0000
119 -+++ drawtiming-0.7.1/configure.ac 2017-06-01 15:20:15.168508458 +0000
120 -@@ -15,7 +15,7 @@
121 - [], [with_magick=check])
122 -
123 - AS_IF([test "x$with_magick" != "xno"],
124 -- [PKG_CHECK_MODULES([MAGICK], [ImageMagick++])],
125 -+ [PKG_CHECK_MODULES([MAGICK], [Magick++])],
126 - [AC_DEFINE([LITE],[1],[Build without ImageMagick])])
127 -
128 - AC_OUTPUT(Makefile drawtiming.spec src/Makefile doc/Makefile samples/Makefile)
129 -diff -u -r drawtiming-0.7.1.old/src/timing.cc drawtiming-0.7.1/src/timing.cc
130 ---- drawtiming-0.7.1.old/src/timing.cc 2017-06-05 15:36:36.603638861 +0000
131 -+++ drawtiming-0.7.1/src/timing.cc 2017-06-02 12:48:03.523309638 +0000
132 -@@ -517,7 +517,7 @@
133 - // ------------------------------------------------------------
134 -
135 - static void draw_dependency (gc &gc, int x0, int y0, int x1, int y1) {
136 -- list<Coordinate> shaft, head;
137 -+ vector<Coordinate> shaft, head;
138 -
139 - gc.push ();
140 - gc.stroke_color ("blue");
141 -@@ -571,7 +571,7 @@
142 -
143 - static void draw_delay (gc &gc, int x0, int y0, int x1, int y1, int y2,
144 - const string &text) {
145 -- list<Coordinate> head;
146 -+ vector<Coordinate> head;
147 -
148 - gc.push ();
149 - gc.stroke_color ("blue");
150 -@@ -688,7 +688,7 @@
151 -
152 - // ------------------------------------------------------------
153 -
154 --void magick_gc::bezier (const std::list<Magick::Coordinate> &points) {
155 -+void magick_gc::bezier (const std::vector<Magick::Coordinate> &points) {
156 - drawables.push_back (DrawableBezier (points));
157 - }
158 -
159 -@@ -724,7 +724,7 @@
160 -
161 - // ------------------------------------------------------------
162 -
163 --void magick_gc::polygon (const std::list<Magick::Coordinate> &points)
164 -+void magick_gc::polygon (const std::vector<Magick::Coordinate> &points)
165 - {
166 - drawables.push_back (DrawablePolygon (points));
167 - }
168 -diff -u -r drawtiming-0.7.1.old/src/timing.h drawtiming-0.7.1/src/timing.h
169 ---- drawtiming-0.7.1.old/src/timing.h 2009-04-03 03:02:40.000000000 +0000
170 -+++ drawtiming-0.7.1/src/timing.h 2017-06-02 12:49:35.780468543 +0000
171 -@@ -129,13 +129,13 @@
172 - gc (void) : width(0), height(0) { }
173 - virtual ~gc() { }
174 -
175 -- virtual void bezier (const std::list<Magick::Coordinate> &points) = 0;
176 -+ virtual void bezier (const std::vector<Magick::Coordinate> &points) = 0;
177 - virtual void fill_color (const std::string &name) = 0;
178 - virtual void fill_opacity (int op) = 0;
179 - virtual void font (const std::string &name) = 0;
180 - virtual void line (int x1, int y1, int x2, int y2) = 0;
181 - virtual void point_size (int size) = 0;
182 -- virtual void polygon (const std::list<Magick::Coordinate> &points) = 0;
183 -+ virtual void polygon (const std::vector<Magick::Coordinate> &points) = 0;
184 - virtual void pop (void) = 0;
185 - virtual void push (void) = 0;
186 - virtual void scaling (double hscale, double vscale) = 0;
187 -@@ -146,18 +146,18 @@
188 -
189 - #ifndef LITE
190 - class magick_gc : public gc {
191 -- std::list<Magick::Drawable> drawables;
192 -+ std::vector<Magick::Drawable> drawables;
193 -
194 - public:
195 - ~magick_gc (void);
196 -
197 -- void bezier (const std::list<Magick::Coordinate> &points);
198 -+ void bezier (const std::vector<Magick::Coordinate> &points);
199 - void fill_color (const std::string &name);
200 - void fill_opacity (int op);
201 - void font (const std::string &name);
202 - void line (int x1, int y1, int x2, int y2);
203 - void point_size (int size);
204 -- void polygon (const std::list<Magick::Coordinate> &points);
205 -+ void polygon (const std::vector<Magick::Coordinate> &points);
206 - void pop (void);
207 - void push (void);
208 - void scaling (double hscale, double vscale);
209 -diff -u -r drawtiming-0.7.1.old/src/timing.cc drawtiming-0.7.1/src/timing.cc
210 ---- drawtiming-0.7.1.old/src/timing.cc 2017-06-05 15:36:36.603638861 +0000
211 -+++ drawtiming-0.7.1/src/timing.cc 2017-06-02 12:48:03.523309638 +0000
212 -@@ -790,8 +790,8 @@
213 -
214 - // ------------------------------------------------------------
215 -
216 --void postscript_gc::bezier (const std::list<Magick::Coordinate> &points) {
217 -- std::list<Magick::Coordinate>::const_iterator i = points.begin();
218 -+void postscript_gc::bezier (const std::vector<Magick::Coordinate> &points) {
219 -+ std::vector<Magick::Coordinate>::const_iterator i = points.begin();
220 -
221 - ps_text << "newpath\n";
222 - ps_text << i->x () << ' ' << (height - i->y ()) << " moveto\n";
223 -@@ -840,9 +840,9 @@
224 -
225 - // ------------------------------------------------------------
226 -
227 --void postscript_gc::polygon (const std::list<Magick::Coordinate> &points) {
228 -+void postscript_gc::polygon (const std::vector<Magick::Coordinate> &points) {
229 - static const char *ops[] = {"stroke", "fill"};
230 -- std::list<Magick::Coordinate>::const_iterator i;
231 -+ std::vector<Magick::Coordinate>::const_iterator i;
232 - int j;
233 -
234 - for (j = 0; j < 2; j++) {
235 -diff -u -r drawtiming-0.7.1.old/src/timing.h drawtiming-0.7.1/src/timing.h
236 ---- drawtiming-0.7.1.old/src/timing.h 2009-04-03 03:02:40.000000000 +0000
237 -+++ drawtiming-0.7.1/src/timing.h 2017-06-02 12:49:35.780468543 +0000
238 -@@ -176,13 +176,13 @@
239 - postscript_gc (void);
240 - ~postscript_gc (void);
241 -
242 -- void bezier (const std::list<Magick::Coordinate> &points);
243 -+ void bezier (const std::vector<Magick::Coordinate> &points);
244 - void fill_color (const std::string &name);
245 - void fill_opacity (int op);
246 - void font (const std::string &name);
247 - void line (int x1, int y1, int x2, int y2);
248 - void point_size (int size);
249 -- void polygon (const std::list<Magick::Coordinate> &points);
250 -+ void polygon (const std::vector<Magick::Coordinate> &points);
251 - void pop (void);
252 - void push (void);
253 - void scaling (double hscale, double vscale);
254
255 diff --git a/sci-electronics/drawtiming/files/drawtiming-0.7.1-ldflags.patch b/sci-electronics/drawtiming/files/drawtiming-0.7.1-ldflags.patch
256 deleted file mode 100644
257 index d50621f7679..00000000000
258 --- a/sci-electronics/drawtiming/files/drawtiming-0.7.1-ldflags.patch
259 +++ /dev/null
260 @@ -1,36 +0,0 @@
261 -Description: Switch LDADD with LDFLAGS
262 - This change is to move the objects before the libs. to fix an FTBFS when
263 - --as-needed is passed to gcc.
264 -Author: …حمودي (Ahmed El-Mahmoudy) <aelmahmoudy@××××××.org>
265 -Forwarded: yes
266 ---- drawtiming-0.7.1.orig/src/Makefile.am
267 -+++ drawtiming-0.7.1/src/Makefile.am
268 -@@ -3,7 +3,7 @@
269 -
270 - bin_PROGRAMS = drawtiming
271 - drawtiming_SOURCES = main.cc globals.h parser.yy scanner.ll timing.cc timing.h
272 --drawtiming_LDFLAGS = @MAGICK_LIBS@
273 -+drawtiming_LDADD = @MAGICK_LIBS@
274 -
275 - EXTRA_DIST = parser.h
276 - BUILT_SOURCES = parser.h
277 ---- drawtiming-0.7.1.orig/src/Makefile.in
278 -+++ drawtiming-0.7.1/src/Makefile.in
279 -@@ -51,7 +51,7 @@
280 - am_drawtiming_OBJECTS = main.$(OBJEXT) parser.$(OBJEXT) \
281 - scanner.$(OBJEXT) timing.$(OBJEXT)
282 - drawtiming_OBJECTS = $(am_drawtiming_OBJECTS)
283 --drawtiming_LDADD = $(LDADD)
284 -+drawtiming_LDADD = @MAGICK_LIBS@ $(LDADD)
285 - DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
286 - depcomp = $(SHELL) $(top_srcdir)/depcomp
287 - am__depfiles_maybe = depfiles
288 -@@ -159,7 +159,7 @@
289 - AM_CXXFLAGS = @MAGICK_CFLAGS@ -DYYDEBUG=1
290 - AM_YFLAGS = -d
291 - drawtiming_SOURCES = main.cc globals.h parser.yy scanner.ll timing.cc timing.h
292 --drawtiming_LDFLAGS = @MAGICK_LIBS@
293 -+drawtiming_LDFLAGS = @LDFLAGS@
294 - EXTRA_DIST = parser.h
295 - BUILT_SOURCES = parser.h
296 - all: $(BUILT_SOURCES)
297
298 diff --git a/sci-electronics/drawtiming/metadata.xml b/sci-electronics/drawtiming/metadata.xml
299 deleted file mode 100644
300 index 74ef293ca5d..00000000000
301 --- a/sci-electronics/drawtiming/metadata.xml
302 +++ /dev/null
303 @@ -1,19 +0,0 @@
304 -<?xml version="1.0" encoding="UTF-8"?>
305 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
306 -<pkgmetadata>
307 - <maintainer type="project">
308 - <email>sci-electronics@g.o</email>
309 - <name>Gentoo Electronics Project</name>
310 - </maintainer>
311 - <longdescription>
312 - This package provides a command line tool for documenting hardware
313 - and software designs through timing diagrams. It reads signal descriptions
314 - from a text file with an intuitive syntax, and outputs a timing diagram to
315 - an image file. Notation typical of timing diagrams found in the Electrical
316 - Engineering discipline is used, including arrows indicating causal
317 - relationships between signal transitions.
318 - </longdescription>
319 - <upstream>
320 - <remote-id type="sourceforge">drawtiming</remote-id>
321 - </upstream>
322 -</pkgmetadata>