Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/wayland/files/, dev-libs/wayland/
Date: Sun, 02 Oct 2016 23:41:26
Message-Id: 1475451664.003499661d7cd6d22237b9b42acb554665a007f6.mrueg@gentoo
1 commit: 003499661d7cd6d22237b9b42acb554665a007f6
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 2 23:41:04 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 2 23:41:04 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00349966
7
8 dev-libs/wayland: Remove old
9
10 Package-Manager: portage-2.3.1
11
12 dev-libs/wayland/Manifest | 3 -
13 ...uild-fix-configure-disable-dtd-validation.patch | 247 ---------------------
14 .../1.10.0-scanner-avoid-executable-stack.patch | 45 ----
15 dev-libs/wayland/wayland-1.10.0-r1.ebuild | 66 ------
16 dev-libs/wayland/wayland-1.6.1.ebuild | 57 -----
17 dev-libs/wayland/wayland-1.8.1.ebuild | 62 ------
18 6 files changed, 480 deletions(-)
19
20 diff --git a/dev-libs/wayland/Manifest b/dev-libs/wayland/Manifest
21 index 8de9c34..edc4486 100644
22 --- a/dev-libs/wayland/Manifest
23 +++ b/dev-libs/wayland/Manifest
24 @@ -1,7 +1,4 @@
25 -DIST wayland-1.10.0.tar.xz 368976 SHA256 4bf6e790aa6f50ab3825676282ecd75850ec9c4767af96ecb7127b1f3c3d60dc SHA512 772e89bdfa494bc263b5c6c4692784738e55a6c6196d5a8e6180f269e0c2d7592f159efb0dca1b1489273e14ba8cda16f5522e58fc9824beff8688f11a00f985 WHIRLPOOL 35a6c27deee3b2f1fe272c54f242c77bed84feaed0d47d94d03563bf9738c60ed54f9bd7d26a862ed165de6eb8817decad49b100ed1f10179f00b25a0636b6c9
26 DIST wayland-1.11.0.tar.xz 374468 SHA256 9540925f7928becfdf5e3b84c70757f6589bf1ceef09bea78784d8e4772c0db0 SHA512 c8a0c927b6e095707a58398fe545ed708f4c808a70920c1f82c79d4275e6137cdf9926c0f18227faba511f717f4db4dfee9528075e00ec600ea44b97479471dd WHIRLPOOL 6361bb1b05c5629b56e32d75ef4dd8398bacc31c03174e082b75850aeda2284fad929ccf91548b9d95b65524d3200013c27e02038c63ccb7e7f2f680e47cd3dd
27 DIST wayland-1.12.0.tar.xz 379520 SHA256 d6b4135cba0188abcb7275513c72dede751d6194f6edc5b82183a3ba8b821ab1 SHA512 cde05344e6c9ee40c80651f5b6d6b4a14787a9cf2c8e3099d69b8f78672610e3ccbe4a87446f9ae93ca402cfbb916ef7444294efa7a0fc88ef1a984f94dabd20 WHIRLPOOL 8dc03639759908921c7d5d5df4dc02c6f7e96d9c9a7e8728bd64310a10c54fe50c4042ced3db4954ff4512f073c1bd8993df207b45182d862f6ffeeb0b1283e4
28 -DIST wayland-1.6.1.tar.xz 418628 SHA256 d1aeb95b433cab33a928b56cb80efa551802e0a064adb4a8ea1517249d3c10b0 SHA512 28a0980ece2fb4ba0ca688f3913ffba34c2741167d7686be80cfbc9cb56f995282a68173d69d2849eb5c2986684ebe6d5cfaca04518ab74a4512c8dfb4d8d0c2 WHIRLPOOL be307a292c8f939921700fc85c9ad1675c491fdc3e1a16ffc52512e39d971f6afdbd378c60c57a64781cdccb364ed77271e07b64f5c3b7b96abd45a1595dfc4e
29 DIST wayland-1.7.0.tar.xz 372004 SHA256 bdea47a2db96f7e53f1ce0351559c0af5b7f7aae7e95f0a884a78af9f1057c9c SHA512 2475a5e8c2ef5c4bc97d90f946a89e4155d840a342886a7634df5423e5764973dbf5d721e1a8a941b7bd2305017cdcb74af7a29bee7bb8b58373306e5c03add7 WHIRLPOOL 152be0d1c3ac314cd3dcd765e6a04eaa71b618b1577c423147ccb5b1d82cdeaf09d09c8933746e6bd100b2d59374749084eede36b9075a153328fda179955ea2
30 -DIST wayland-1.8.1.tar.xz 374116 SHA256 f17c938d1c24fd0a10f650a623a2775d329db3168b5732e498b08388ec776fc8 SHA512 392edd22203fc44a37a66d7a099d0534f047f49e91b28614092346f0167c07a39431c5919f2ea1deaf460dc53a77fba8504a7a7f5d03af638267c767bb07ae19 WHIRLPOOL f15ea109324c0c84b848f458acb6786248fb1c7ee8dafd6ef945d4f80f5b87b911dd2d2c0485b1ceeeed95454990e186e7d8b04d366f903954dd8998a1f3999f
31 DIST wayland-1.9.0.tar.xz 351096 SHA256 9c8770720aa0034479735f58a4dc4ca9b172ecfede28f5134312e135b7301efa SHA512 245569f404474ab25e4f771d7652e77674363ac43233d49ecfeff0c52f02d34231064c17d56e61b6822259cb3956fc8c3789d788d9a84716f947915ad62fee6d WHIRLPOOL ce46b5568b6c6b23bec5129030680c7486cb6b6a7e761fbb5041b640d5a14eb45f88f46c4ea6b0a7e9cbda425bed13ae7ff58618ce3d1346f7422f8da4649060
32
33 diff --git a/dev-libs/wayland/files/1.10.0-build-fix-configure-disable-dtd-validation.patch b/dev-libs/wayland/files/1.10.0-build-fix-configure-disable-dtd-validation.patch
34 deleted file mode 100644
35 index 7b55e2f..00000000
36 --- a/dev-libs/wayland/files/1.10.0-build-fix-configure-disable-dtd-validation.patch
37 +++ /dev/null
38 @@ -1,247 +0,0 @@
39 -From: Pekka Paalanen <pekka.paalanen@××××××××××××.uk>
40 -Date: Mon, 29 Feb 2016 14:59:51 +0200
41 -Subject: [PATCH] build: fix ./configure --disable-dtd-validation
42 -
43 -When configured with --disable-dtd-validation:
44 -
45 - CPPAS src/dtddata.o
46 -src/dtddata.S: Assembler messages:
47 -src/dtddata.S:39: Error: file not found: src/wayland.dtd.embed
48 -Makefile:1520: recipe for target 'src/dtddata.o' failed
49 -
50 -This is because the variable name used does not match the implicit
51 -variable name in autoconf.
52 -
53 -Fix the variable name, making both --disable-dtd-validation and
54 ---enable-dtd-validation to what they should.
55 -
56 -Do not try to build dtddata.S if dtd-validation is disabled. It depends
57 -on wayland.dtd.embed which is created by configure only if
58 -dtd-validation is enabled.
59 -
60 -If not building dtddata.S, also make sure the extern definitions in
61 -scanner.c are compiled out.
62 -
63 -Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=575212
64 -Reported-by: leio@g.o
65 -Signed-off-by: Pekka Paalanen <pekka.paalanen@××××××××××××.uk>
66 -Reviewed-by: Quentin Glidic <sardemff7+git@×××××××××.net>
67 -Tested-by: Bryce Harrington <bryce@×××××××××××.com>
68 -[Mart: Added Makefile.in and configure changes to patch file to avoid autoreconf]
69 -Signed-off-by: Mart Raudsepp <leio@g.o>
70 ----
71 - Makefile.am | 5 ++++-
72 - Makefile.in | 20 ++++++++++++--------
73 - configure | 18 ++++++++++++++++--
74 - configure.ac | 5 +++--
75 - src/scanner.c | 6 +++---
76 - 5 files changed, 38 insertions(+), 16 deletions(-)
77 -
78 -diff --git a/Makefile.am b/Makefile.am
79 -index e850abc..49e25a6 100644
80 ---- a/Makefile.am
81 -+++ b/Makefile.am
82 -@@ -23,11 +23,14 @@ pkgconfigdir = $(libdir)/pkgconfig
83 - pkgconfig_DATA =
84 -
85 - bin_PROGRAMS = wayland-scanner
86 --wayland_scanner_SOURCES = src/scanner.c src/dtddata.S
87 -+wayland_scanner_SOURCES = src/scanner.c
88 - wayland_scanner_CFLAGS = $(EXPAT_CFLAGS) $(LIBXML_CFLAGS) $(AM_CFLAGS)
89 - wayland_scanner_LDADD = $(EXPAT_LIBS) $(LIBXML_LIBS) libwayland-util.la
90 - pkgconfig_DATA += src/wayland-scanner.pc
91 -
92 -+if DTD_VALIDATION
93 -+wayland_scanner_SOURCES += src/dtddata.S
94 -+endif
95 - src/dtddata.o: protocol/wayland.dtd
96 -
97 - if USE_HOST_SCANNER
98 -diff --git a/configure.ac b/configure.ac
99 -index f54a8b9..b27f34b 100644
100 ---- a/configure.ac
101 -+++ b/configure.ac
102 -@@ -76,7 +76,7 @@ AC_ARG_ENABLE([dtd-validation],
103 - [AC_HELP_STRING([--disable-dtd-validation],
104 - [Disable DTD validation of the protocol])],
105 - [],
106 -- [enable_dtdvalidation=yes])
107 -+ [enable_dtd_validation=yes])
108 -
109 - AM_CONDITIONAL(USE_HOST_SCANNER, test "x$with_host_scanner" = xyes)
110 -
111 -@@ -112,7 +112,8 @@ PKG_CHECK_MODULES(EXPAT, [expat], [],
112 - AC_SUBST(EXPAT_LIBS)
113 - ])
114 -
115 --if test "x$enable_dtdvalidation" = "xyes"; then
116 -+AM_CONDITIONAL([DTD_VALIDATION], [test "x$enable_dtd_validation" = "xyes"])
117 -+if test "x$enable_dtd_validation" = "xyes"; then
118 - PKG_CHECK_MODULES(LIBXML, [libxml-2.0])
119 - AC_DEFINE(HAVE_LIBXML, 1, [libxml-2.0 is available])
120 - AC_CONFIG_LINKS([src/wayland.dtd.embed:protocol/wayland.dtd])
121 -diff --git a/aclocal.m4 b/aclocal.m4
122 -index 71ca3dc..86eace8 100644
123 ---- a/aclocal.m4
124 -+++ b/aclocal.m4
125 -@@ -1327,6 +1327,7 @@ AC_SUBST([am__tar])
126 - AC_SUBST([am__untar])
127 - ]) # _AM_PROG_TAR
128 -
129 -+#timestamp update to avoid regen
130 - m4_include([m4/libtool.m4])
131 - m4_include([m4/ltoptions.m4])
132 - m4_include([m4/ltsugar.m4])
133 -diff --git a/config.h.in b/config.h.in
134 -index 1400592..33f0e99 100644
135 ---- a/config.h.in
136 -+++ b/config.h.in
137 -@@ -15,6 +15,7 @@
138 - /* Define to 1 if you have the <inttypes.h> header file. */
139 - #undef HAVE_INTTYPES_H
140 -
141 -+/* Timestamp update */
142 - /* libxml-2.0 is available */
143 - #undef HAVE_LIBXML
144 -
145 -diff --git a/Makefile.in b/Makefile.in
146 -index 6d9ffb2..32e6d51 100644
147 ---- a/Makefile.in
148 -+++ b/Makefile.in
149 -@@ -82,8 +82,9 @@ POST_UNINSTALL = :
150 - build_triplet = @build@
151 - host_triplet = @host@
152 - bin_PROGRAMS = wayland-scanner$(EXEEXT)
153 --@ENABLE_LIBRARIES_TRUE@am__append_1 = libwayland-private.la
154 --@ENABLE_LIBRARIES_TRUE@am__append_2 = src/wayland-client.pc \
155 -+@DTD_VALIDATION_TRUE@am__append_1 = src/dtddata.S
156 -+@ENABLE_LIBRARIES_TRUE@am__append_2 = libwayland-private.la
157 -+@ENABLE_LIBRARIES_TRUE@am__append_3 = src/wayland-client.pc \
158 - @ENABLE_LIBRARIES_TRUE@ src/wayland-server.pc \
159 - @ENABLE_LIBRARIES_TRUE@ cursor/wayland-cursor.pc
160 - @ENABLE_LIBRARIES_TRUE@TESTS = array-test$(EXEEXT) \
161 -@@ -101,7 +102,7 @@ bin_PROGRAMS = wayland-scanner$(EXEEXT)
162 - @ENABLE_LIBRARIES_TRUE@ resources-test$(EXEEXT) \
163 - @ENABLE_LIBRARIES_TRUE@ message-test$(EXEEXT) \
164 - @ENABLE_LIBRARIES_TRUE@ headers-test$(EXEEXT) $(am__EXEEXT_1)
165 --@ENABLE_CPP_TEST_TRUE@@ENABLE_LIBRARIES_TRUE@am__append_3 = cpp-compile-test
166 -+@ENABLE_CPP_TEST_TRUE@@ENABLE_LIBRARIES_TRUE@am__append_4 = cpp-compile-test
167 - @ENABLE_LIBRARIES_TRUE@check_PROGRAMS = $(am__EXEEXT_2) \
168 - @ENABLE_LIBRARIES_TRUE@ exec-fd-leak-checker$(EXEEXT)
169 - @ENABLE_LIBRARIES_TRUE@noinst_PROGRAMS = fixed-benchmark$(EXEEXT)
170 -@@ -382,8 +383,10 @@ am__socket_test_SOURCES_DIST = tests/socket-test.c
171 - @ENABLE_LIBRARIES_TRUE@ tests/socket-test.$(OBJEXT)
172 - socket_test_OBJECTS = $(am_socket_test_OBJECTS)
173 - @ENABLE_LIBRARIES_TRUE@socket_test_DEPENDENCIES = libtest-runner.la
174 -+am__wayland_scanner_SOURCES_DIST = src/scanner.c src/dtddata.S
175 -+@DTD_VALIDATION_TRUE@am__objects_1 = src/dtddata.$(OBJEXT)
176 - am_wayland_scanner_OBJECTS = src/wayland_scanner-scanner.$(OBJEXT) \
177 -- src/dtddata.$(OBJEXT)
178 -+ $(am__objects_1)
179 - wayland_scanner_OBJECTS = $(am_wayland_scanner_OBJECTS)
180 - wayland_scanner_DEPENDENCIES = $(am__DEPENDENCIES_1) \
181 - $(am__DEPENDENCIES_1) libwayland-util.la
182 -@@ -491,7 +494,8 @@ DIST_SOURCES = $(am__libtest_runner_la_SOURCES_DIST) \
183 - $(am__resources_test_SOURCES_DIST) \
184 - $(am__sanity_test_SOURCES_DIST) \
185 - $(am__signal_test_SOURCES_DIST) \
186 -- $(am__socket_test_SOURCES_DIST) $(wayland_scanner_SOURCES)
187 -+ $(am__socket_test_SOURCES_DIST) \
188 -+ $(am__wayland_scanner_SOURCES_DIST)
189 - RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
190 - ctags-recursive dvi-recursive html-recursive info-recursive \
191 - install-data-recursive install-dvi-recursive \
192 -@@ -918,8 +922,8 @@ dist_pkgdata_DATA = \
193 - protocol/wayland.dtd
194 -
195 - pkgconfigdir = $(libdir)/pkgconfig
196 --pkgconfig_DATA = src/wayland-scanner.pc $(am__append_2)
197 --wayland_scanner_SOURCES = src/scanner.c src/dtddata.S
198 -+pkgconfig_DATA = src/wayland-scanner.pc $(am__append_3)
199 -+wayland_scanner_SOURCES = src/scanner.c $(am__append_1)
200 - wayland_scanner_CFLAGS = $(EXPAT_CFLAGS) $(LIBXML_CFLAGS) $(AM_CFLAGS)
201 - wayland_scanner_LDADD = $(EXPAT_LIBS) $(LIBXML_LIBS) libwayland-util.la
202 - @USE_HOST_SCANNER_FALSE@wayland_scanner = $(top_builddir)/wayland-scanner
203 -@@ -929,7 +933,7 @@ libwayland_util_la_SOURCES = \
204 - src/wayland-util.c \
205 - src/wayland-util.h
206 -
207 --noinst_LTLIBRARIES = libwayland-util.la $(am__append_1)
208 -+noinst_LTLIBRARIES = libwayland-util.la $(am__append_2)
209 - @ENABLE_LIBRARIES_TRUE@lib_LTLIBRARIES = libwayland-server.la \
210 - @ENABLE_LIBRARIES_TRUE@ libwayland-client.la \
211 - @ENABLE_LIBRARIES_TRUE@ libwayland-cursor.la
212 -diff --git a/configure b/configure
213 -index 83e4971..6340d4f 100755
214 ---- a/configure
215 -+++ b/configure
216 -@@ -711,6 +711,8 @@ HAVE_XSLTPROC_TRUE
217 - XSLTPROC
218 - LIBXML_LIBS
219 - LIBXML_CFLAGS
220 -+DTD_VALIDATION_FALSE
221 -+DTD_VALIDATION_TRUE
222 - EXPAT_LIBS
223 - EXPAT_CFLAGS
224 - FFI_LIBS
225 -@@ -15728,7 +15730,7 @@ fi
226 - if test "${enable_dtd_validation+set}" = set; then :
227 - enableval=$enable_dtd_validation;
228 - else
229 -- enable_dtdvalidation=yes
230 -+ enable_dtd_validation=yes
231 - fi
232 -
233 -
234 -@@ -16114,7 +16116,15 @@ $as_echo "yes" >&6; }
235 -
236 - fi
237 -
238 --if test "x$enable_dtdvalidation" = "xyes"; then
239 -+ if test "x$enable_dtd_validation" = "xyes"; then
240 -+ DTD_VALIDATION_TRUE=
241 -+ DTD_VALIDATION_FALSE='#'
242 -+else
243 -+ DTD_VALIDATION_TRUE='#'
244 -+ DTD_VALIDATION_FALSE=
245 -+fi
246 -+
247 -+if test "x$enable_dtd_validation" = "xyes"; then
248 -
249 - pkg_failed=no
250 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
251 -@@ -16669,6 +16679,10 @@ if test -z "${ENABLE_LIBRARIES_TRUE}" && test -z "${ENABLE_LIBRARIES_FALSE}"; th
252 - as_fn_error $? "conditional \"ENABLE_LIBRARIES\" was never defined.
253 - Usually this means the macro was only invoked conditionally." "$LINENO" 5
254 - fi
255 -+if test -z "${DTD_VALIDATION_TRUE}" && test -z "${DTD_VALIDATION_FALSE}"; then
256 -+ as_fn_error $? "conditional \"DTD_VALIDATION\" was never defined.
257 -+Usually this means the macro was only invoked conditionally." "$LINENO" 5
258 -+fi
259 - if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
260 - as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
261 - Usually this means the macro was only invoked conditionally." "$LINENO" 5
262 -diff --git a/src/scanner.c b/src/scanner.c
263 -index d3e2328..04747e3 100644
264 ---- a/src/scanner.c
265 -+++ b/src/scanner.c
266 -@@ -40,13 +40,13 @@
267 -
268 - #if HAVE_LIBXML
269 - #include <libxml/parser.h>
270 --#endif
271 --
272 --#include "wayland-util.h"
273 -
274 - /* Embedded wayland.dtd file, see dtddata.S */
275 - extern char DTD_DATA_begin;
276 - extern int DTD_DATA_len;
277 -+#endif
278 -+
279 -+#include "wayland-util.h"
280 -
281 - enum side {
282 - CLIENT,
283 ---
284 -2.6.4
285 -
286
287 diff --git a/dev-libs/wayland/files/1.10.0-scanner-avoid-executable-stack.patch b/dev-libs/wayland/files/1.10.0-scanner-avoid-executable-stack.patch
288 deleted file mode 100644
289 index ff4899a..00000000
290 --- a/dev-libs/wayland/files/1.10.0-scanner-avoid-executable-stack.patch
291 +++ /dev/null
292 @@ -1,45 +0,0 @@
293 -From f8f3e54aa7bc15871ca4296cbc16ae065b07de4e Mon Sep 17 00:00:00 2001
294 -From: Pekka Paalanen <pekka.paalanen@××××××××××××.uk>
295 -Date: Wed, 2 Mar 2016 11:00:35 +0200
296 -Subject: [PATCH] scanner: avoid executable stack
297 -
298 -Before this patch:
299 -$ scanelf -lpqe ./wayland-scanner
300 -RWX --- --- ./wayland-scanner
301 -
302 -That indicates the stack is executable, which is a bad thing for
303 -security. Wayland-scanner does not actually need an executable stack, it
304 -is just an oversight from using an .S file in the sources.
305 -
306 -Add a special incantation in dtddata.S to make it not cause the stack to
307 -become executable.
308 -
309 -Reported-by: Mart Raudsepp <leio@g.o>
310 -Signed-off-by: Pekka Paalanen <pekka.paalanen@××××××××××××.uk>
311 -Tested-by: Mart Raudsepp <leio@g.o>
312 ----
313 - src/dtddata.S | 8 ++++++++
314 - 1 file changed, 8 insertions(+)
315 -
316 -diff --git a/src/dtddata.S b/src/dtddata.S
317 -index 68e3435..ce51133 100644
318 ---- a/src/dtddata.S
319 -+++ b/src/dtddata.S
320 -@@ -20,6 +20,14 @@
321 - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
322 - */
323 -
324 -+/*
325 -+ * Avoid executable stack.
326 -+ * from: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart
327 -+ */
328 -+#if defined(__linux__) && defined(__ELF__)
329 -+.section .note.GNU-stack,"",%progbits
330 -+#endif
331 -+
332 - /* from: http://www.linuxjournal.com/content/embedding-file-executable-aka-hello-world-version-5967#comment-348129 */
333 -
334 - .macro binfile name file
335 ---
336 -2.6.4
337 -
338
339 diff --git a/dev-libs/wayland/wayland-1.10.0-r1.ebuild b/dev-libs/wayland/wayland-1.10.0-r1.ebuild
340 deleted file mode 100644
341 index fc3f536..00000000
342 --- a/dev-libs/wayland/wayland-1.10.0-r1.ebuild
343 +++ /dev/null
344 @@ -1,66 +0,0 @@
345 -# Copyright 1999-2016 Gentoo Foundation
346 -# Distributed under the terms of the GNU General Public License v2
347 -# $Id$
348 -
349 -EAPI=5
350 -
351 -if [[ ${PV} = 9999* ]]; then
352 - EGIT_REPO_URI="git://anongit.freedesktop.org/git/${PN}/${PN}"
353 - GIT_ECLASS="git-r3"
354 - EXPERIMENTAL="true"
355 - AUTOTOOLS_AUTORECONF=1
356 -fi
357 -
358 -inherit autotools-multilib toolchain-funcs $GIT_ECLASS
359 -
360 -DESCRIPTION="Wayland protocol libraries"
361 -HOMEPAGE="https://wayland.freedesktop.org/"
362 -
363 -if [[ $PV = 9999* ]]; then
364 - SRC_URI="${SRC_PATCHES}"
365 - KEYWORDS=""
366 -else
367 - SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
368 - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
369 -fi
370 -
371 -LICENSE="MIT"
372 -SLOT="0"
373 -IUSE="doc static-libs"
374 -
375 -RDEPEND=">=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
376 - >=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
377 - dev-libs/libxml2:="
378 -DEPEND="${RDEPEND}
379 - doc? (
380 - >=app-doc/doxygen-1.6[dot]
381 - app-text/xmlto
382 - >=media-gfx/graphviz-2.26.0
383 - sys-apps/grep[pcre]
384 - )
385 - virtual/pkgconfig"
386 -
387 -PATCHES=(
388 - "${FILESDIR}/${PV}-build-fix-configure-disable-dtd-validation.patch"
389 - "${FILESDIR}/${PV}-scanner-avoid-executable-stack.patch"
390 -)
391 -
392 -multilib_src_configure() {
393 - local myeconfargs=(
394 - $(multilib_native_use_enable doc documentation)
395 - $(multilib_native_enable dtd-validation)
396 - )
397 - if tc-is-cross-compiler ; then
398 - myeconfargs+=( --with-host-scanner )
399 - fi
400 -
401 - autotools-utils_src_configure
402 -}
403 -
404 -src_test() {
405 - export XDG_RUNTIME_DIR="${T}/runtime-dir"
406 - mkdir "${XDG_RUNTIME_DIR}" || die
407 - chmod 0700 "${XDG_RUNTIME_DIR}" || die
408 -
409 - autotools-multilib_src_test
410 -}
411
412 diff --git a/dev-libs/wayland/wayland-1.6.1.ebuild b/dev-libs/wayland/wayland-1.6.1.ebuild
413 deleted file mode 100644
414 index c3a34d6..00000000
415 --- a/dev-libs/wayland/wayland-1.6.1.ebuild
416 +++ /dev/null
417 @@ -1,57 +0,0 @@
418 -# Copyright 1999-2015 Gentoo Foundation
419 -# Distributed under the terms of the GNU General Public License v2
420 -# $Id$
421 -
422 -EAPI=5
423 -
424 -if [[ ${PV} = 9999* ]]; then
425 - EGIT_REPO_URI="git://anongit.freedesktop.org/git/${PN}/${PN}"
426 - GIT_ECLASS="git-r3"
427 - EXPERIMENTAL="true"
428 - AUTOTOOLS_AUTORECONF=1
429 -fi
430 -
431 -inherit autotools-multilib toolchain-funcs $GIT_ECLASS
432 -
433 -DESCRIPTION="Wayland protocol libraries"
434 -HOMEPAGE="https://wayland.freedesktop.org/"
435 -
436 -if [[ $PV = 9999* ]]; then
437 - SRC_URI="${SRC_PATCHES}"
438 -else
439 - SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
440 -fi
441 -
442 -LICENSE="MIT"
443 -SLOT="0"
444 -KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
445 -IUSE="doc static-libs"
446 -
447 -RDEPEND=">=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
448 - >=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]"
449 -DEPEND="${RDEPEND}
450 - doc? ( app-doc/doxygen )
451 - virtual/pkgconfig"
452 -
453 -src_configure() {
454 - local myeconfargs=(
455 - $(use_enable static-libs static)
456 - $(use_enable doc documentation)
457 - )
458 - if tc-is-cross-compiler ; then
459 - myeconfargs+=( --disable-scanner )
460 - fi
461 - if ! multilib_is_native_abi; then
462 - myeconfargs+=( --disable-documentation )
463 - fi
464 -
465 - autotools-multilib_src_configure
466 -}
467 -
468 -src_test() {
469 - export XDG_RUNTIME_DIR="${T}/runtime-dir"
470 - mkdir "${XDG_RUNTIME_DIR}" || die
471 - chmod 0700 "${XDG_RUNTIME_DIR}" || die
472 -
473 - autotools-multilib_src_test
474 -}
475
476 diff --git a/dev-libs/wayland/wayland-1.8.1.ebuild b/dev-libs/wayland/wayland-1.8.1.ebuild
477 deleted file mode 100644
478 index a2d62f2..00000000
479 --- a/dev-libs/wayland/wayland-1.8.1.ebuild
480 +++ /dev/null
481 @@ -1,62 +0,0 @@
482 -# Copyright 1999-2015 Gentoo Foundation
483 -# Distributed under the terms of the GNU General Public License v2
484 -# $Id$
485 -
486 -EAPI=5
487 -
488 -if [[ ${PV} == 9999* ]]; then
489 - EGIT_REPO_URI="git://anongit.freedesktop.org/git/${PN}/${PN}"
490 - GIT_ECLASS="git-r3"
491 - EXPERIMENTAL="true"
492 - AUTOTOOLS_AUTORECONF=1
493 -fi
494 -
495 -inherit autotools-multilib toolchain-funcs $GIT_ECLASS
496 -
497 -DESCRIPTION="Wayland protocol libraries"
498 -HOMEPAGE="https://wayland.freedesktop.org/"
499 -
500 -if [[ ${PV} == 9999* ]]; then
501 - SRC_URI="${SRC_PATCHES}"
502 -else
503 - SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
504 -fi
505 -
506 -LICENSE="MIT"
507 -SLOT="0"
508 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
509 -IUSE="doc static-libs"
510 -
511 -RDEPEND=">=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
512 - >=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]"
513 -DEPEND="${RDEPEND}
514 - doc? (
515 - >=app-doc/doxygen-1.6[dot]
516 - app-text/xmlto
517 - >=media-gfx/graphviz-2.26.0
518 - sys-apps/grep[pcre]
519 - )
520 - virtual/pkgconfig"
521 -
522 -src_configure() {
523 - local myeconfargs=(
524 - $(use_enable static-libs static)
525 - $(use_enable doc documentation)
526 - )
527 - if tc-is-cross-compiler ; then
528 - myeconfargs+=( --disable-scanner )
529 - fi
530 - if ! multilib_is_native_abi; then
531 - myeconfargs+=( --disable-documentation )
532 - fi
533 -
534 - autotools-multilib_src_configure
535 -}
536 -
537 -src_test() {
538 - export XDG_RUNTIME_DIR="${T}/runtime-dir"
539 - mkdir "${XDG_RUNTIME_DIR}" || die
540 - chmod 0700 "${XDG_RUNTIME_DIR}" || die
541 -
542 - autotools-multilib_src_test
543 -}