Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/blackbox/, x11-wm/blackbox/files/
Date: Mon, 28 Dec 2020 18:50:24
Message-Id: 1609181413.b6da5fa30434e4d695aba280ae0b25ed2060b94d.bkohler@gentoo
1 commit: b6da5fa30434e4d695aba280ae0b25ed2060b94d
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 28 18:48:43 2020 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 18:50:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6da5fa3
7
8 x11-wm/blackbox: drop old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 x11-wm/blackbox/Manifest | 2 -
14 x11-wm/blackbox/blackbox-0.70.1-r1.ebuild | 56 -----------
15 x11-wm/blackbox/blackbox-0.75.ebuild | 52 ----------
16 .../blackbox/files/blackbox-0.70.1-asneeded.patch | 49 ----------
17 .../blackbox/files/blackbox-0.70.1-gcc-4.3.patch | 106 ---------------------
18 .../files/blackbox-0.70.1-no-LDFLAGS-pc.patch | 14 ---
19 6 files changed, 279 deletions(-)
20
21 diff --git a/x11-wm/blackbox/Manifest b/x11-wm/blackbox/Manifest
22 index 1c2d7b0dfad..952b6ae64ab 100644
23 --- a/x11-wm/blackbox/Manifest
24 +++ b/x11-wm/blackbox/Manifest
25 @@ -1,3 +1 @@
26 -DIST blackbox-0.70.1.tar.bz2 492399 BLAKE2B d6faed388d2a1fbfbf10baf2b848f78fc5d99bc4e5fb2daf28df7ec9732d9ad5de9dfa87763cea9a954ed72b23207563dda65c92bb37ba2136e8f6e6049e0ab7 SHA512 6e8cf6fd04030a5f97ffd8dbe97aaa0f683f776e7237cdd46f2b93265cd8de665cffce5a352624a2235aa6c42628be13f98d565af765b3f06e95bff404fb0ccb
27 -DIST blackbox-0.75.tar.gz 394605 BLAKE2B 6e1338f946fe1d211d88f060178a17c452ca2b5f700d8ab73c62e2f01fd7bc81a52d06dcb42941c133528b144a6707c6ecc4711cb10630ce2921214d0b699669 SHA512 64d1ec45f9cb143dc5e3688a490acb3e20e303c57f778656dda227215b2fa13ca2db753aebc7b1ea9605a9d66c69ff8cfdf8010dc2f37ddc4609d9d3865ec068
28 DIST blackbox-0.76.tar.gz 394032 BLAKE2B ffefd24277c581ca59216f53c10d5ffacd7231b33c7fd8bfd799a1f93f0b4953ab91f6c8e7061f91ca80036a8a2b8d7b118383e97b8ab58b8f4cd039155760a1 SHA512 bc97ae699820f8291399ce6f2a87ef4486fabcaeda2dc33fbeb31fc6405c01d722a52c85d8dc65ef44bb031e3dda63c326b76aa1bfca3e544bfcab0fac9d1afa
29
30 diff --git a/x11-wm/blackbox/blackbox-0.70.1-r1.ebuild b/x11-wm/blackbox/blackbox-0.70.1-r1.ebuild
31 deleted file mode 100644
32 index 967d5117112..00000000000
33 --- a/x11-wm/blackbox/blackbox-0.70.1-r1.ebuild
34 +++ /dev/null
35 @@ -1,56 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=5
40 -
41 -inherit autotools eutils ltprune
42 -
43 -DESCRIPTION="A small, fast, full-featured window manager for X"
44 -HOMEPAGE="https://github.com/bbidulock/blackboxwm"
45 -SRC_URI="mirror://sourceforge/${PN}wm/${P}.tar.bz2"
46 -
47 -LICENSE="MIT"
48 -SLOT="0"
49 -KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86"
50 -IUSE="nls truetype debug"
51 -
52 -RDEPEND="x11-libs/libXft
53 - x11-libs/libXt
54 - nls? ( sys-devel/gettext )
55 - truetype? ( media-libs/freetype )"
56 -DEPEND="${RDEPEND}
57 - virtual/pkgconfig
58 - x11-base/xorg-proto"
59 -
60 -src_prepare() {
61 - epatch "${FILESDIR}"/${P}-gcc-4.3.patch \
62 - "${FILESDIR}"/${P}-asneeded.patch \
63 - "${FILESDIR}"/${P}-no-LDFLAGS-pc.patch
64 -
65 - sed -i -e "s/_XUTIL_H_/_X11&/" lib/Util.hh || die #348556
66 - sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
67 -
68 - eautoreconf
69 -}
70 -
71 -src_configure() {
72 - econf \
73 - --sysconfdir=/etc/X11/${PN} \
74 - $(use_enable debug) \
75 - $(use_enable nls) \
76 - $(use_enable truetype xft)
77 -}
78 -
79 -src_install() {
80 - dodir /etc/X11/Sessions
81 - echo "/usr/bin/blackbox" > "${D}/etc/X11/Sessions/${PN}"
82 - fperms a+x /etc/X11/Sessions/${PN}
83 -
84 - insinto /usr/share/xsessions
85 - doins "${FILESDIR}/${PN}.desktop"
86 -
87 - emake DESTDIR="${D}" install
88 - dodoc AUTHORS ChangeLog* COMPLIANCE README* TODO
89 -
90 - prune_libtool_files --all
91 -}
92
93 diff --git a/x11-wm/blackbox/blackbox-0.75.ebuild b/x11-wm/blackbox/blackbox-0.75.ebuild
94 deleted file mode 100644
95 index fdc90e086fc..00000000000
96 --- a/x11-wm/blackbox/blackbox-0.75.ebuild
97 +++ /dev/null
98 @@ -1,52 +0,0 @@
99 -# Copyright 1999-2020 Gentoo Authors
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI=7
103 -
104 -inherit autotools
105 -
106 -DESCRIPTION="A small, fast, full-featured window manager for X"
107 -HOMEPAGE="https://github.com/bbidulock/blackboxwm"
108 -SRC_URI="https://github.com/bbidulock/blackboxwm/archive/${PV}.tar.gz -> ${P}.tar.gz"
109 -
110 -LICENSE="MIT"
111 -SLOT="0"
112 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
113 -IUSE="nls truetype debug"
114 -
115 -RDEPEND="x11-libs/libXft
116 - x11-libs/libXt
117 - nls? ( >=sys-devel/gettext-0.20 )
118 - truetype? ( media-libs/freetype )"
119 -DEPEND="${RDEPEND}
120 - x11-base/xorg-proto"
121 -BDEPEND="virtual/pkgconfig"
122 -
123 -S="${WORKDIR}"/blackboxwm-${PV}
124 -
125 -src_prepare() {
126 - default
127 - eautoreconf
128 -}
129 -
130 -src_configure() {
131 - econf \
132 - --sysconfdir=/etc/X11/${PN} \
133 - $(use_enable debug) \
134 - $(use_enable nls) \
135 - $(use_enable truetype xft)
136 -}
137 -
138 -src_install() {
139 - dodir /etc/X11/Sessions
140 - echo "/usr/bin/blackbox" > "${D}/etc/X11/Sessions/${PN}"
141 - fperms a+x /etc/X11/Sessions/${PN}
142 -
143 - insinto /usr/share/xsessions
144 - doins "${FILESDIR}/${PN}.desktop"
145 -
146 - emake DESTDIR="${D}" install
147 - dodoc AUTHORS ChangeLog* COMPLIANCE README* TODO
148 -
149 - find "${D}" -name '*.la' -delete || die
150 -}
151
152 diff --git a/x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch b/x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch
153 deleted file mode 100644
154 index a6b1e22e62b..00000000000
155 --- a/x11-wm/blackbox/files/blackbox-0.70.1-asneeded.patch
156 +++ /dev/null
157 @@ -1,49 +0,0 @@
158 -Fixing build with as-needed. Enabling shared libs.
159 -
160 -http://bugs.gentoo.org/show_bug.cgi?id=248549
161 -
162 ---- src/Makefile.am
163 -+++ src/Makefile.am
164 -@@ -22,7 +22,7 @@
165 -
166 - DEFAULT_MENU = $(pkgdatadir)/menu
167 - DEFAULT_STYLE = $(pkgdatadir)/styles/Gray
168 --CPPFLAGS = @CPPFLAGS@ @SHAPE@ @XFT@ @DEBUG@ @NLS@ \
169 -+AM_CPPFLAGS = @SHAPE@ @XFT@ @DEBUG@ @NLS@ \
170 - -DLOCALEPATH=\"$(pkgdatadir)/nls\" \
171 - -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \
172 - -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \
173 ---- lib/Makefile.am
174 -+++ lib/Makefile.am
175 -@@ -62,7 +62,8 @@
176 - Util.hh \
177 - XDG.hh
178 -
179 --libbt_la_LIBADD = @ICONV@ @LOCALE@
180 -+libbt_la_LIBADD = @ICONV@ @LOCALE@ @xft_LIBS@
181 -+libbt_la_CFLAGS = @xft_CFLAGS@
182 -
183 - pkgconfigdir = $(libdir)/pkgconfig
184 - nodist_pkgconfig_DATA = libbt.pc
185 ---- util/Makefile.am
186 -+++ util/Makefile.am
187 -@@ -21,7 +21,7 @@
188 - # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
189 - # DEALINGS IN THE SOFTWARE.
190 -
191 --CPPFLAGS = @CPPFLAGS@ @DEBUG@ @NLS@ \
192 -+AM_CPPFLAGS = @DEBUG@ @NLS@ \
193 - -I$(top_srcdir)/lib
194 -
195 - bin_SCRIPTS = bsetbg
196 ---- configure.ac
197 -+++ configure.ac
198 -@@ -29,7 +29,7 @@
199 - AC_PROG_INSTALL
200 -
201 - dnl libbt shouldn't be shared by default (yet)
202 --AC_DISABLE_SHARED
203 -+dnl AC_DISABLE_SHARED
204 - AC_PROG_LIBTOOL
205 - AC_SUBST(LIBTOOL_DEPS)
206 -
207
208 diff --git a/x11-wm/blackbox/files/blackbox-0.70.1-gcc-4.3.patch b/x11-wm/blackbox/files/blackbox-0.70.1-gcc-4.3.patch
209 deleted file mode 100644
210 index 1026bd5c80e..00000000000
211 --- a/x11-wm/blackbox/files/blackbox-0.70.1-gcc-4.3.patch
212 +++ /dev/null
213 @@ -1,106 +0,0 @@
214 -diff -Naupr blackbox-0.70.1.orig/lib/Image.cc blackbox-0.70.1/lib/Image.cc
215 ---- blackbox-0.70.1.orig/lib/Image.cc 2005-04-08 17:41:09.000000000 +0200
216 -+++ blackbox-0.70.1/lib/Image.cc 2008-02-24 08:31:28.000000000 +0100
217 -@@ -42,8 +42,9 @@
218 -
219 - #include <assert.h>
220 - #include <math.h>
221 --#include <stdio.h>
222 --#include <stdlib.h>
223 -+#include <cstdio>
224 -+#include <cstdlib>
225 -+#include <cstring>
226 -
227 - // #define COLORTABLE_DEBUG
228 - // #define MITSHM_DEBUG
229 -diff -Naupr blackbox-0.70.1.orig/lib/Resource.cc blackbox-0.70.1/lib/Resource.cc
230 ---- blackbox-0.70.1.orig/lib/Resource.cc 2005-04-06 23:16:50.000000000 +0200
231 -+++ blackbox-0.70.1/lib/Resource.cc 2008-02-24 08:33:11.000000000 +0100
232 -@@ -28,7 +28,8 @@
233 - #include <X11/Xlib.h>
234 - #include <X11/Xresource.h>
235 -
236 --#include <stdio.h>
237 -+#include <cstdio>
238 -+#include <cstring>
239 -
240 -
241 - bt::Resource::Resource(void)
242 -diff -Naupr blackbox-0.70.1.orig/lib/XDG.cc blackbox-0.70.1/lib/XDG.cc
243 ---- blackbox-0.70.1.orig/lib/XDG.cc 2005-04-06 16:04:38.000000000 +0200
244 -+++ blackbox-0.70.1/lib/XDG.cc 2008-02-24 08:34:11.000000000 +0100
245 -@@ -25,7 +25,8 @@
246 - #include "Util.hh"
247 - #include "XDG.hh"
248 -
249 --#include <stdlib.h>
250 -+#include <cstdlib>
251 -+#include <algorithm>
252 -
253 -
254 - // make sure directory names end with a slash
255 -diff -Naupr blackbox-0.70.1.orig/src/BlackboxResource.cc blackbox-0.70.1/src/BlackboxResource.cc
256 ---- blackbox-0.70.1.orig/src/BlackboxResource.cc 2005-10-18 09:34:46.000000000 +0200
257 -+++ blackbox-0.70.1/src/BlackboxResource.cc 2008-02-24 08:34:49.000000000 +0100
258 -@@ -33,6 +33,8 @@
259 - #include <X11/Xutil.h>
260 - #include <X11/cursorfont.h>
261 -
262 -+#include <cstring>
263 -+
264 -
265 - BlackboxResource::BlackboxResource(const std::string& rc): rc_file(rc) {
266 - screen_resources = 0;
267 -diff -Naupr blackbox-0.70.1.orig/src/main.cc blackbox-0.70.1/src/main.cc
268 ---- blackbox-0.70.1.orig/src/main.cc 2005-01-03 10:42:57.000000000 +0100
269 -+++ blackbox-0.70.1/src/main.cc 2008-02-24 08:37:16.000000000 +0100
270 -@@ -34,7 +34,8 @@
271 - #include "blackbox.hh"
272 - #include "../version.h"
273 -
274 --#include <stdio.h>
275 -+#include <cstdio>
276 -+#include <cstring>
277 -
278 -
279 - static void showHelp(int exitval) {
280 -diff -Naupr blackbox-0.70.1.orig/src/Screen.cc blackbox-0.70.1/src/Screen.cc
281 ---- blackbox-0.70.1.orig/src/Screen.cc 2005-10-18 10:07:22.000000000 +0200
282 -+++ blackbox-0.70.1/src/Screen.cc 2008-02-24 08:35:46.000000000 +0100
283 -@@ -45,8 +45,9 @@
284 - #include <sys/types.h>
285 - #include <sys/stat.h>
286 - #include <assert.h>
287 --#include <ctype.h>
288 - #include <dirent.h>
289 -+#include <cctype>
290 -+#include <cstring>
291 -
292 -
293 - static bool running = true;
294 -diff -Naupr blackbox-0.70.1.orig/src/ScreenResource.cc blackbox-0.70.1/src/ScreenResource.cc
295 ---- blackbox-0.70.1.orig/src/ScreenResource.cc 2005-04-13 07:54:08.000000000 +0200
296 -+++ blackbox-0.70.1/src/ScreenResource.cc 2008-02-24 08:36:31.000000000 +0100
297 -@@ -33,6 +33,8 @@
298 -
299 - #include <assert.h>
300 -
301 -+#include <cstring>
302 -+
303 -
304 - static const int iconify_width = 9;
305 - static const int iconify_height = 9;
306 -diff -Naupr blackbox-0.70.1.orig/util/bsetroot.cc blackbox-0.70.1/util/bsetroot.cc
307 ---- blackbox-0.70.1.orig/util/bsetroot.cc 2005-03-15 08:01:37.000000000 +0100
308 -+++ blackbox-0.70.1/util/bsetroot.cc 2008-02-24 08:38:41.000000000 +0100
309 -@@ -30,7 +30,9 @@
310 - #include <cctype>
311 -
312 - #include <X11/Xatom.h>
313 --#include <stdio.h>
314 -+#include <cstdio>
315 -+#include <cstdlib>
316 -+#include <cstring>
317 -
318 -
319 - // ignore all X errors
320
321 diff --git a/x11-wm/blackbox/files/blackbox-0.70.1-no-LDFLAGS-pc.patch b/x11-wm/blackbox/files/blackbox-0.70.1-no-LDFLAGS-pc.patch
322 deleted file mode 100644
323 index e907b588b15..00000000000
324 --- a/x11-wm/blackbox/files/blackbox-0.70.1-no-LDFLAGS-pc.patch
325 +++ /dev/null
326 @@ -1,14 +0,0 @@
327 -Fix LDFGAS leak to .pc file:
328 -> * QA Notice: pkg-config files with wrong LDFLAGS detected:
329 -> * /usr/lib64/pkgconfig/libbt.pc:Libs: -L${libdir} -lbt -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -L/usr/lib -L/usr/local/lib
330 -diff --git a/lib/libbt.pc.in b/lib/libbt.pc.in
331 -index a2a8869..8246cb0 100644
332 ---- a/lib/libbt.pc.in
333 -+++ b/lib/libbt.pc.in
334 -@@ -7,5 +7,5 @@ Name: Blackbox Toolbox
335 - Description: Utility class library for writing small applications
336 - Requires: @XFT_PKGCONFIG@
337 - Version: @VERSION@
338 --Libs: -L${libdir} -lbt @LDFLAGS@ @ICONV@ @LOCALE@
339 -+Libs: -L${libdir} -lbt @ICONV@ @LOCALE@
340 - Cflags: -I${includedir}/bt