Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: dev-libs/weston/, dev-libs/weston/files/
Date: Wed, 23 Jan 2019 19:40:04
Message-Id: 1548271720.7f94055adb54e559a3469fd77a408cd9e9cab4b4.blueness@gentoo
1 commit: 7f94055adb54e559a3469fd77a408cd9e9cab4b4
2 Author: stefson <herrtimson <AT> yahoo <DOT> de>
3 AuthorDate: Sat Jan 19 08:55:35 2019 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 23 19:28:40 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=7f94055a
7
8 dev-libs/weston: remove old
9
10 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
11
12 dev-libs/weston/Manifest | 1 -
13 dev-libs/weston/files/1.11.0-musl.patch | 42 ---------
14 dev-libs/weston/weston-1.11.0.ebuild | 159 --------------------------------
15 3 files changed, 202 deletions(-)
16
17 diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest
18 index 10c7bcf..1f806da 100644
19 --- a/dev-libs/weston/Manifest
20 +++ b/dev-libs/weston/Manifest
21 @@ -1,2 +1 @@
22 -DIST weston-1.11.0.tar.xz 1242244 SHA256 05e086e9f186a06843b9f7a5e1abf19347b1a6e4be26d7e74927abc17b6b7125 SHA512 30c43058aeca2d90d8c57ee3beb824aa42474eb2d0fa942622949b49c7771eb5d8d9c452d496a13950baabffef3c343d7386821778ae931939039fab2f782ad5 WHIRLPOOL 5e76484c1413ddc14c426c80845790e6b636bb2d827188563ca9b41f23ca4afd6cf20c8a743c0ff1b6c09d371c3e6988d0e9765333660aeb8723ddf62208b876
23 DIST weston-3.0.0.tar.xz 1300340 SHA256 cde1d55e8dd70c3cbb3d1ec72f60e60000041579caa1d6a262bd9c35e93723a5 SHA512 b824c39f2a884f6d50d607613f447090621f684c96f7d905f25f6e500dabd03ecb2b1cd1030babc193c3417223cb220103abb792437e1a5ead7229a76b5c7a58 WHIRLPOOL 8b46b199f40e51530c17f782a12e0a3a5b65bffebc090db0c9296454b0bdcb053c0dfd6de3d0c5150e2404ea87d49280c11a0475382e2350699ae27deb204383
24
25 diff --git a/dev-libs/weston/files/1.11.0-musl.patch b/dev-libs/weston/files/1.11.0-musl.patch
26 deleted file mode 100644
27 index 05123ad..0000000
28 --- a/dev-libs/weston/files/1.11.0-musl.patch
29 +++ /dev/null
30 @@ -1,42 +0,0 @@
31 -diff -Naur weston-1.11.0.orig/shared/xalloc.h weston-1.11.0/shared/xalloc.h
32 ---- weston-1.11.0.orig/shared/xalloc.h 2017-03-05 16:35:25.816193000 -0800
33 -+++ weston-1.11.0/shared/xalloc.h 2017-03-05 16:38:16.043363715 -0800
34 -@@ -30,6 +30,7 @@
35 - extern "C" {
36 - #endif
37 -
38 -+#include <stdint.h>
39 - #include <stdlib.h>
40 - #include <string.h>
41 -
42 -diff -Naur weston-1.11.0.orig/src/error.h weston-1.11.0/src/error.h
43 ---- weston-1.11.0.orig/src/error.h 1969-12-31 16:00:00.000000000 -0800
44 -+++ weston-1.11.0/src/error.h 2017-03-05 16:37:51.441046969 -0800
45 -@@ -0,0 +1,27 @@
46 -+#ifndef _ERROR_H_
47 -+#define _ERROR_H_
48 -+
49 -+#include <stdarg.h>
50 -+#include <stdio.h>
51 -+#include <stdlib.h>
52 -+#include <string.h>
53 -+#include <errno.h>
54 -+
55 -+static unsigned int error_message_count = 0;
56 -+
57 -+static inline void error(int status, int errnum, const char* format, ...)
58 -+{
59 -+ va_list ap;
60 -+ fprintf(stderr, "%s: ", program_invocation_name);
61 -+ va_start(ap, format);
62 -+ vfprintf(stderr, format, ap);
63 -+ va_end(ap);
64 -+ if (errnum)
65 -+ fprintf(stderr, ": %s", strerror(errnum));
66 -+ fprintf(stderr, "\n");
67 -+ error_message_count++;
68 -+ if (status)
69 -+ exit(status);
70 -+}
71 -+
72 -+#endif /* _ERROR_H_ */
73
74 diff --git a/dev-libs/weston/weston-1.11.0.ebuild b/dev-libs/weston/weston-1.11.0.ebuild
75 deleted file mode 100644
76 index 3f9fd77..0000000
77 --- a/dev-libs/weston/weston-1.11.0.ebuild
78 +++ /dev/null
79 @@ -1,159 +0,0 @@
80 -# Copyright 1999-2017 Gentoo Foundation
81 -# Distributed under the terms of the GNU General Public License v2
82 -
83 -EAPI=5
84 -
85 -if [[ ${PV} = 9999* ]]; then
86 - EGIT_REPO_URI="https://anongit.freedesktop.org/git/wayland/weston.git"
87 - GIT_ECLASS="git-r3"
88 - EXPERIMENTAL="true"
89 -fi
90 -VIRTUALX_REQUIRED="test"
91 -RESTRICT="test"
92 -
93 -inherit autotools readme.gentoo-r1 toolchain-funcs virtualx $GIT_ECLASS
94 -
95 -DESCRIPTION="Wayland reference compositor"
96 -HOMEPAGE="https://wayland.freedesktop.org/"
97 -
98 -if [[ $PV = 9999* ]]; then
99 - SRC_URI="${SRC_PATCHES}"
100 - KEYWORDS="amd64 arm arm64 x86"
101 -else
102 - SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
103 - KEYWORDS="amd64 arm arm64 x86"
104 -fi
105 -
106 -LICENSE="MIT CC-BY-SA-3.0"
107 -SLOT="0"
108 -
109 -IUSE="colord dbus +drm editor examples fbdev +gles2 headless ivi jpeg lcms rdp +resize-optimization rpi +launch screen-sharing static-libs +suid systemd test unwind wayland-compositor webp +X xwayland"
110 -
111 -REQUIRED_USE="
112 - drm? ( gles2 )
113 - screen-sharing? ( rdp )
114 - systemd? ( dbus )
115 - test? ( X )
116 - wayland-compositor? ( gles2 )
117 -"
118 -
119 -RDEPEND="
120 - >=dev-libs/libinput-0.8.0
121 - >=dev-libs/wayland-1.10.0
122 - >=dev-libs/wayland-protocols-1.2
123 - lcms? ( media-libs/lcms:2 )
124 - media-libs/libpng:0=
125 - webp? ( media-libs/libwebp:0= )
126 - jpeg? ( virtual/jpeg:0= )
127 - >=x11-libs/cairo-1.11.3
128 - >=x11-libs/libdrm-2.4.30
129 - x11-libs/libxkbcommon
130 - x11-libs/pixman
131 - x11-misc/xkeyboard-config
132 - fbdev? (
133 - >=sys-libs/mtdev-1.1.0
134 - >=virtual/udev-136
135 - )
136 - colord? ( >=x11-misc/colord-0.1.27 )
137 - dbus? ( sys-apps/dbus )
138 - drm? (
139 - media-libs/mesa[gbm]
140 - >=sys-libs/mtdev-1.1.0
141 - >=virtual/udev-136
142 - )
143 - editor? ( x11-libs/pango )
144 - gles2? (
145 - media-libs/mesa[gles2,wayland]
146 - )
147 - rdp? (
148 - >=net-misc/freerdp-1.1.0_beta1_p20130710
149 - <net-misc/freerdp-2.0.0_pre20161219
150 - )
151 - rpi? (
152 - >=sys-libs/mtdev-1.1.0
153 - >=virtual/udev-136
154 - )
155 - systemd? (
156 - sys-auth/pambase[systemd]
157 - sys-apps/systemd[pam]
158 - )
159 - launch? ( sys-auth/pambase )
160 - unwind? ( sys-libs/libunwind )
161 - X? (
162 - x11-libs/libxcb
163 - x11-libs/libX11
164 - )
165 - xwayland? (
166 - x11-base/xorg-server[wayland]
167 - x11-libs/cairo[xcb]
168 - x11-libs/libxcb
169 - x11-libs/libXcursor
170 - )
171 -"
172 -DEPEND="${RDEPEND}
173 - virtual/pkgconfig
174 -"
175 -
176 -PATCHES=( "${FILESDIR}/${PV}-musl.patch" )
177 -
178 -src_prepare() {
179 - if [[ ${PV} = 9999* ]]; then
180 - eautoreconf
181 - fi
182 - epatch "${PATCHES[@]}"
183 -}
184 -
185 -src_configure() {
186 - local myconf
187 - if use examples || use test; then
188 - myconf="--enable-simple-clients"
189 - else
190 - myconf="--disable-simple-clients"
191 - fi
192 -
193 - myconf+=" --with-cairo=image --disable-simple-egl-clients"
194 -
195 - econf \
196 - $(use_enable examples demo-clients-install) \
197 - $(use_enable fbdev fbdev-compositor) \
198 - $(use_enable dbus) \
199 - $(use_enable drm drm-compositor) \
200 - $(use_enable headless headless-compositor) \
201 - $(use_enable ivi ivi-shell) \
202 - $(use_enable lcms) \
203 - $(use_enable rdp rdp-compositor) \
204 - $(use_enable rpi rpi-compositor) \
205 - $(use_enable wayland-compositor) \
206 - $(use_enable X x11-compositor) \
207 - $(use_enable launch weston-launch) \
208 - $(use_enable colord) \
209 - $(use_enable gles2 egl) \
210 - $(use_enable unwind libunwind) \
211 - $(use_enable resize-optimization) \
212 - $(use_enable screen-sharing) \
213 - $(use_enable suid setuid-install) \
214 - $(use_enable systemd systemd-login) \
215 - $(use_enable systemd systemd-notify) \
216 - $(use_enable xwayland) \
217 - $(use_enable xwayland xwayland-test) \
218 - $(use_with jpeg) \
219 - $(use_with webp) \
220 - --disable-simple-dmabuf-intel-client \
221 - --disable-simple-dmabuf-v4l-client \
222 - ${myconf}
223 -}
224 -
225 -src_test() {
226 - export XDG_RUNTIME_DIR="${T}/runtime-dir"
227 - mkdir "${XDG_RUNTIME_DIR}" || die
228 - chmod 0700 "${XDG_RUNTIME_DIR}" || die
229 -
230 - cd "${BUILD_DIR}" || die
231 - Xemake check
232 -}
233 -
234 -src_install() {
235 - default
236 -
237 - readme.gentoo_create_doc
238 -}