Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, net-print/lm1100/files/, net-print/lm1100/
Date: Mon, 22 Nov 2021 13:17:56
Message-Id: 1637587008.3f5c5685cfca700e92ddd07aab784bd03abcce3b.jsmolic@gentoo
1 commit: 3f5c5685cfca700e92ddd07aab784bd03abcce3b
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 22 13:16:48 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 22 13:16:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f5c5685
7
8 net-print/lm1100: treeclean
9
10 Closes: https://bugs.gentoo.org/819264
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 net-print/lm1100/Manifest | 2 -
14 net-print/lm1100/files/lm1100-1.0.2a-class.patch | 24 -------
15 .../files/lm1100-1.0.2a-fix-compile-gcc-3.4.patch | 22 -------
16 .../files/lm1100-1.0.2a-fix-compile-gcc-4.1.patch | 73 ----------------------
17 .../lm1100/files/lm1100-1.0.2a-makefile.patch | 35 -----------
18 net-print/lm1100/files/lm1100maint-firmware.patch | 14 -----
19 net-print/lm1100/lm1100-1.0.2a-r1.ebuild | 43 -------------
20 net-print/lm1100/metadata.xml | 5 --
21 profiles/package.mask | 5 --
22 9 files changed, 223 deletions(-)
23
24 diff --git a/net-print/lm1100/Manifest b/net-print/lm1100/Manifest
25 deleted file mode 100644
26 index ab3330db8889..000000000000
27 --- a/net-print/lm1100/Manifest
28 +++ /dev/null
29 @@ -1,2 +0,0 @@
30 -DIST lm1100.1.0.2a.tar.gz 64316 BLAKE2B b47fef489b16568e2e2b0097bd79f90b1c7acb80b7fd28d00fc74c5072f83b1c2f2d6bb75534e0c678d4ad9312d222e311bd9593206acad8eaa3a5166fbbebcf SHA512 3dda80602af99d93a570e066ca2a121afd93b28b5d28b6f49b52c2c90e288de7b87cefdd5e00bf4edd73439fb6088433fabe884b841befd24183f27a12fcbcb1
31 -DIST lm1100maint.tar.gz 708 BLAKE2B 69b29e477a5491f88bafe92eb94a3742fe8b6074116544cd0689a98273b9bd4eb3ee5e5b74acc4e68cff3eef1d9c177b6d041db64712dad2e6fb189f56e9c1cb SHA512 fe81351705c36dd30e01d402461820ed583d2a8222af8dd81f4dff35c6629592e09fb6dbc0740b9ba0f555de65aeae41c0cb953fbedd0c8620db29b37d797b02
32
33 diff --git a/net-print/lm1100/files/lm1100-1.0.2a-class.patch b/net-print/lm1100/files/lm1100-1.0.2a-class.patch
34 deleted file mode 100644
35 index b771e1bf1449..000000000000
36 --- a/net-print/lm1100/files/lm1100-1.0.2a-class.patch
37 +++ /dev/null
38 @@ -1,24 +0,0 @@
39 -diff -ur lm1100.1.0.2a~/PaintLine300c.h lm1100.1.0.2a/PaintLine300c.h
40 ---- lm1100.1.0.2a~/PaintLine300c.h 2006-06-22 15:14:36.000000000 +0200
41 -+++ lm1100.1.0.2a/PaintLine300c.h 2006-06-22 15:14:55.000000000 +0200
42 -@@ -32,7 +32,7 @@
43 - int size;
44 - int x,y;
45 -
46 -- friend LexmarkProtocol300c;
47 -+ friend class LexmarkProtocol300c;
48 -
49 - public:
50 - void pad(int pad_amount);
51 -diff -ur lm1100.1.0.2a~/PaintLineBW.h lm1100.1.0.2a/PaintLineBW.h
52 ---- lm1100.1.0.2a~/PaintLineBW.h 2006-06-22 15:14:36.000000000 +0200
53 -+++ lm1100.1.0.2a/PaintLineBW.h 2006-06-22 15:14:55.000000000 +0200
54 -@@ -33,7 +33,7 @@
55 - int size;
56 - int x,y;
57 -
58 -- friend LexmarkProtocolBW;
59 -+ friend class LexmarkProtocolBW;
60 -
61 - public:
62 - void pad(int pad_amount);
63
64 diff --git a/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-3.4.patch b/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-3.4.patch
65 deleted file mode 100644
66 index 60e1b5c2e7a3..000000000000
67 --- a/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-3.4.patch
68 +++ /dev/null
69 @@ -1,22 +0,0 @@
70 ---- LexmarkProtocol300c.cc.orig 2000-11-21 09:06:22.000000000 +0100
71 -+++ LexmarkProtocol300c.cc 2004-06-16 13:28:04.397060286 +0200
72 -@@ -69,7 +69,7 @@
73 - Jet **LexmarkProtocol300c::createJets(int *numJets, Map *imageMap)
74 - {
75 - *numJets = 6;
76 -- class Jet **jets = new (Jet *)[6];
77 -+ class Jet **jets = new Jet*[6];
78 - jets[0] = new Jet(0,9,0,imageMap,LEFT_JET,0,8);
79 - jets[1] = new Jet(1,0,0,imageMap,RIGHT_JET,0,8);
80 - jets[2] = new Jet(2,-9,20,imageMap,LEFT_JET,1,8);
81 ---- LexmarkProtocolBW.cc.orig 2000-11-21 09:06:22.000000000 +0100
82 -+++ LexmarkProtocolBW.cc 2004-06-16 13:32:51.291509280 +0200
83 -@@ -68,7 +68,7 @@
84 - Jet **LexmarkProtocolBW::createJets(int *numJets, Map *imageMap)
85 - {
86 - *numJets = 2;
87 -- class Jet **jets = new (Jet *)[2];
88 -+ class Jet **jets = new Jet*[2];
89 - jets[0] = new Jet(0,9,0,imageMap,LEFT_JET,0,28);
90 - jets[1] = new Jet(0,0,0,imageMap,RIGHT_JET,0,28);
91 -
92
93 diff --git a/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-4.1.patch b/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-4.1.patch
94 deleted file mode 100644
95 index bc797a09a44b..000000000000
96 --- a/net-print/lm1100/files/lm1100-1.0.2a-fix-compile-gcc-4.1.patch
97 +++ /dev/null
98 @@ -1,73 +0,0 @@
99 -diff -ru lm1100.1.0.2a~/Jet.h lm1100.1.0.2a/Jet.h
100 ---- lm1100.1.0.2a~/Jet.h 2006-12-02 18:48:16.000000000 +0100
101 -+++ lm1100.1.0.2a/Jet.h 2006-12-02 18:49:54.000000000 +0100
102 -@@ -45,7 +45,7 @@
103 - Coord imageStart; // start of image from edge of paper
104 -
105 - bool insideImage(int x, int y);
106 -- bool Jet::needsPainting(int ix, int iy, int bit);
107 -+ bool needsPainting(int ix, int iy, int bit);
108 -
109 - public:
110 - /* Range of paper jet covers when head is at 0,0 */
111 -@@ -54,7 +54,7 @@
112 - /* Range of paper jet needs to cover to get the entire image */
113 - void getImageRange(Rect *dest);
114 - Coord *getPreferredImageStart(Coord *start);
115 -- int Jet::getPreferredEnd();
116 -+ int getPreferredEnd();
117 - bool finished();
118 - void setImageStart(Coord *imageStart);
119 - void paint(int startX, int endX, int y, class LexmarkProtocol *protocol);
120 -diff -ru lm1100.1.0.2a~/LinkedList.h lm1100.1.0.2a/LinkedList.h
121 ---- lm1100.1.0.2a~/LinkedList.h 2006-12-02 18:48:16.000000000 +0100
122 -+++ lm1100.1.0.2a/LinkedList.h 2006-12-02 18:49:54.000000000 +0100
123 -@@ -26,8 +26,8 @@
124 - void *object;
125 - LinkedList *next;
126 -
127 -- LinkedList::LinkedList();
128 -- LinkedList::LinkedList(void * object);
129 -+ LinkedList();
130 -+ LinkedList(void * object);
131 - };
132 -
133 - #endif
134 -diff -ru lm1100.1.0.2a~/Map.h lm1100.1.0.2a/Map.h
135 ---- lm1100.1.0.2a~/Map.h 2006-12-02 18:48:16.000000000 +0100
136 -+++ lm1100.1.0.2a/Map.h 2006-12-02 18:49:54.000000000 +0100
137 -@@ -41,7 +41,7 @@
138 - int height; /* height of map in cells */
139 -
140 - Map(int width, int height, int cellSize);
141 -- Map::~Map();
142 -+ ~Map();
143 -
144 - void cacheLines(int start, int len);
145 - void addAlgorithm(MapAlgorithm *algorithm);
146 -diff -ru lm1100.1.0.2a~/PPMRaw.h lm1100.1.0.2a/PPMRaw.h
147 ---- lm1100.1.0.2a~/PPMRaw.h 2006-12-02 18:48:16.000000000 +0100
148 -+++ lm1100.1.0.2a/PPMRaw.h 2006-12-02 18:49:54.000000000 +0100
149 -@@ -32,7 +32,7 @@
150 -
151 - public:
152 - PPMRaw(Reader *reader,bool readMagic);
153 -- static void PPMRaw::readHeader(int *width, int *height, int *maxval, Reader *reader, bool readMagic);
154 -+ static void readHeader(int *width, int *height, int *maxval, Reader *reader, bool readMagic);
155 -
156 - virtual void getRGB(RGB *rgb, int x, int y);
157 -
158 -diff -ru lm1100.1.0.2a~/Rect.h lm1100.1.0.2a/Rect.h
159 ---- lm1100.1.0.2a~/Rect.h 2006-12-02 18:48:16.000000000 +0100
160 -+++ lm1100.1.0.2a/Rect.h 2006-12-02 18:49:54.000000000 +0100
161 -@@ -23,8 +23,8 @@
162 - class Rect
163 - {
164 - public:
165 -- Rect::Rect();
166 -- Rect::Rect(int x, int y, int width, int height);
167 -+ Rect();
168 -+ Rect(int x, int y, int width, int height);
169 -
170 - int x,y,width,height;
171 -
172
173 diff --git a/net-print/lm1100/files/lm1100-1.0.2a-makefile.patch b/net-print/lm1100/files/lm1100-1.0.2a-makefile.patch
174 deleted file mode 100644
175 index b1f0a2ac4913..000000000000
176 --- a/net-print/lm1100/files/lm1100-1.0.2a-makefile.patch
177 +++ /dev/null
178 @@ -1,35 +0,0 @@
179 ---- lm1100.1.0.2a~/Makefile 2001-02-26 01:40:16.000000000 +0100
180 -+++ lm1100.1.0.2a/Makefile 2006-10-23 19:01:57.000000000 +0200
181 -@@ -7,17 +7,19 @@
182 - VERSION=lm1100.1.0.2a
183 - TARFILES = $(FILES:%=$(VERSION)/%)
184 -
185 --CC = g++ -O2
186 -+CXX?=g++
187 -+CXXFLAGS?= -O2
188 -+#CC = g++ -O2
189 - #CC = g++ -g
190 -
191 - lm1100: $(OBJS)
192 -- $(CC) -o lm1100 $(OBJS) $(LIBS)
193 -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o lm1100 $(OBJS) $(LIBS)
194 -
195 - bufcat: SpongeWriter.o ThreadSafeCircleBuffer.o bufcat.o
196 -- $(CC) -o bufcat SpongeWriter.o ThreadSafeCircleBuffer.o bufcat.o -lpthread
197 -+ $(CXX) $(CXXFLAGS) -o bufcat SpongeWriter.o ThreadSafeCircleBuffer.o bufcat.o -lpthread
198 -
199 - leak: $(OBJS)
200 -- $(CC) -o lm1100 $(OBJS) $(LIBS) /usr/local/LeakTracer/LeakTracer.o
201 -+ $(CXX) $(CXXFLAGS) -o lm1100 $(OBJS) $(LIBS) /usr/local/LeakTracer/LeakTracer.o
202 -
203 - tarball: $(FILES)
204 - rm $(VERSION);ln -s . $(VERSION);tar -cf - $(TARFILES) | gzip > $(VERSION).tar.gz
205 -@@ -27,7 +29,7 @@
206 - rm *.o
207 -
208 - %.o: %.cc
209 -- $(CC) $(DEFINES) -c $<
210 -+ $(CXX) $(CXXFLAGS) $(DEFINES) -c $<
211 -
212 - TAGS: $(SRCS)
213 - etag $(SRCS)
214
215 diff --git a/net-print/lm1100/files/lm1100maint-firmware.patch b/net-print/lm1100/files/lm1100maint-firmware.patch
216 deleted file mode 100644
217 index 5c3f4c92ea86..000000000000
218 --- a/net-print/lm1100/files/lm1100maint-firmware.patch
219 +++ /dev/null
220 @@ -1,14 +0,0 @@
221 -diff -ur lm1100maint~/lm1100back lm1100maint/lm1100back
222 ---- lm1100maint~/lm1100back 2006-06-26 19:48:51.000000000 +0200
223 -+++ lm1100maint/lm1100back 2006-06-26 19:50:41.000000000 +0200
224 -@@ -1,2 +1,2 @@
225 - #!/bin/sh
226 --dd if=/usr/share/lm1100maint/lexmarkback of=/dev/lp0
227 -+dd if=/usr/share/lm1100/lexmarkback of=/dev/lp0
228 -diff -ur lm1100maint~/lm1100change lm1100maint/lm1100change
229 ---- lm1100maint~/lm1100change 2006-06-26 19:48:51.000000000 +0200
230 -+++ lm1100maint/lm1100change 2006-06-26 19:50:55.000000000 +0200
231 -@@ -1,2 +1,2 @@
232 - #!/bin/sh
233 --dd if=/usr/share/lm1100maint/lexmarkchange of=/dev/lp0
234 -+dd if=/usr/share/lm1100/lexmarkchange of=/dev/lp0
235
236 diff --git a/net-print/lm1100/lm1100-1.0.2a-r1.ebuild b/net-print/lm1100/lm1100-1.0.2a-r1.ebuild
237 deleted file mode 100644
238 index 1521dc21c771..000000000000
239 --- a/net-print/lm1100/lm1100-1.0.2a-r1.ebuild
240 +++ /dev/null
241 @@ -1,43 +0,0 @@
242 -# Copyright 1999-2021 Gentoo Authors
243 -# Distributed under the terms of the GNU General Public License v2
244 -
245 -EAPI=5
246 -
247 -inherit epatch toolchain-funcs
248 -
249 -DESCRIPTION="The Tim Engler's Lexmark 1100 driver"
250 -HOMEPAGE="http://www.linuxprinting.org/show_driver.cgi?driver=lm1100"
251 -MY_P=${P/lm1100-/lm1100.}
252 -SRC_URI="mirror://gentoo/${MY_P}.tar.gz
253 - mirror://gentoo/${PN}maint.tar.gz"
254 -#http://www.linuxprinting.org/download/printing/${PN}/${PN}maint.tar.gz
255 -#http://www.linuxprinting.org/download/printing/${PN}/${MY_P}.tar.gz
256 -S="${WORKDIR}"/${MY_P}
257 -
258 -LICENSE="GPL-2"
259 -SLOT="0"
260 -KEYWORDS="amd64 x86"
261 -
262 -src_prepare() {
263 - epatch "${FILESDIR}/${P}-fix-compile-gcc-3.4.patch"\
264 - "${FILESDIR}/${P}-fix-compile-gcc-4.1.patch"\
265 - "${FILESDIR}/${P}-class.patch"\
266 - "${FILESDIR}/${P}-makefile.patch"
267 - cd "${WORKDIR}/${PN}maint" || die
268 - epatch "${FILESDIR}/${PN}maint-firmware.patch"
269 -}
270 -
271 -src_compile() {
272 - emake CXX="$(tc-getCXX)"
273 -}
274 -
275 -src_install() {
276 - dobin lm1100
277 - dodoc README RELEASE.txt
278 -
279 - cd "${WORKDIR}/${PN}maint" || die
280 - dobin lm1100back lm1100change
281 - insinto "/usr/share/${PN}"
282 - doins lexmarkback lexmarkchange
283 - newdoc README README.maint
284 -}
285
286 diff --git a/net-print/lm1100/metadata.xml b/net-print/lm1100/metadata.xml
287 deleted file mode 100644
288 index 85e4ed814fa2..000000000000
289 --- a/net-print/lm1100/metadata.xml
290 +++ /dev/null
291 @@ -1,5 +0,0 @@
292 -<?xml version="1.0" encoding="UTF-8"?>
293 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
294 -<pkgmetadata>
295 -<!-- maintainer-needed -->
296 -</pkgmetadata>
297
298 diff --git a/profiles/package.mask b/profiles/package.mask
299 index 276163c7a028..87aa4c2534b9 100644
300 --- a/profiles/package.mask
301 +++ b/profiles/package.mask
302 @@ -311,11 +311,6 @@ net-misc/pmsvn
303 # Removal on 2021-11-23. Bug #819294.
304 net-misc/gcap
305
306 -# Jakov Smolić <jsmolic@g.o> (2021-10-24)
307 -# No maintainer, EAPI 5, dead upstream.
308 -# Removal on 2021-11-23. Bug #819264.
309 -net-print/lm1100
310 -
311 # Sam James <sam@g.o> (2021-10-10)
312 # Needs upstream build system fixes (currently in progress).
313 # Python toggles don't work correctly right now.