Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/x11vnc/files/, x11-misc/x11vnc/
Date: Mon, 05 Dec 2016 16:10:53
Message-Id: 1480954243.38dcf9422d04e2f4c1d8301ae39fb80c63fabdf9.pacho@gentoo
1 commit: 38dcf9422d04e2f4c1d8301ae39fb80c63fabdf9
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 5 16:10:31 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 5 16:10:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38dcf942
7
8 x11-misc/x11vnc: Drop old
9
10 Package-Manager: portage-2.3.2
11
12 x11-misc/x11vnc/Manifest | 2 -
13 .../x11vnc-0.9.14-libvncserver-defines-1.patch | 50 ----
14 .../x11vnc-0.9.14-libvncserver-defines-2.patch | 264 ---------------------
15 x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild | 60 -----
16 x11-misc/x11vnc/x11vnc-0.9.13_p20150627.ebuild | 57 -----
17 x11-misc/x11vnc/x11vnc-0.9.14-r1.ebuild | 65 -----
18 x11-misc/x11vnc/x11vnc-0.9.14.ebuild | 64 -----
19 7 files changed, 562 deletions(-)
20
21 diff --git a/x11-misc/x11vnc/Manifest b/x11-misc/x11vnc/Manifest
22 index 663ef67..95936b9 100644
23 --- a/x11-misc/x11vnc/Manifest
24 +++ b/x11-misc/x11vnc/Manifest
25 @@ -1,4 +1,2 @@
26 DIST 82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a.zip 1830730 SHA256 fc6a28df089e47b68931019ce038b6e2fcd78e93de7f6984a22262252d01c16f SHA512 0fa4f7b52442793ec1bd82c74f9d092c69262e4f1fa93584fef17bbe0e5cbde08bc5ad0924631801bb43b41d90c37077a317c61511553f98698096eab05791eb WHIRLPOOL f1a45b549fb6ff9bea2eb4e3719b5dd43a78f6f418c61691cebab313d56761147d928648e103c654309575bec7c716a6f1cd1ef7a9b484c09edee37233cb0ce7
27 -DIST x11vnc-0.9.13_p20150627.tar.gz 1700142 SHA256 14fb77e9b875224b47fee659d5a883c26c2792c5e37d1e32286b03103fdaef07 SHA512 c28cfe47c1a0bb486bb3290511a8a71cf499e55617e3f488d45cb6a1e9050e4f52c5bb6eb9f2f655728f2028d2472a88d8b9178d59e79c1f07464782555abc82 WHIRLPOOL d0342ef8d948b0dda119967f9e59be6f1e4d2639859f8c2a45c37eeb644e970b322937635f151256b3c30a69d37838f380ab4732c5afd44499e9decb8412aa15
28 -DIST x11vnc-0.9.14.tar.gz 1700802 SHA256 45f87c5e4382988c73e8c7891ac2bfb45d8f9ce1196ae06651c84636684ea143 SHA512 5d18e5ff493fbc4f6f1efe952812c1acd3087e855a2a9f2c99f3b2606cfa40a20b83e2d0c736e12b453b47f7ff7746069a1b6718d842d1a8f73b00d5c4c4a93f WHIRLPOOL 3980edaa9327395e55dffdf06fb4a2eab9b94e1aaf8da65cdd1b4c5d765351eedc003b1150b7d4da065385cb7460a556509bf57c58cf1cbe443865c551f6a170
29 DIST x11vnc-0.9.14_p20161013.tar.gz 1702047 SHA256 050f2d9428996a8c3ad420933923b45fe516122f2966aefb5fb8dbf10dcc7917 SHA512 82207e4d721dde633aaa13dbd1e6a18799615f8e3c225c33d4f8b01775fb81fb6b92a817e7d014653ac7b2349b0b31e46be8db25c5fd5e3ecee8fb93ca665b97 WHIRLPOOL 449f729044b98f86850779343105bb4edd71861225b1a0eb64d1a977e21918d0669b0c50fe696fba46bb6d6709f31c3445b775392c46b49a0af9bf53f62f6196
30
31 diff --git a/x11-misc/x11vnc/files/x11vnc-0.9.14-libvncserver-defines-1.patch b/x11-misc/x11vnc/files/x11vnc-0.9.14-libvncserver-defines-1.patch
32 deleted file mode 100644
33 index 9129e3c..00000000
34 --- a/x11-misc/x11vnc/files/x11vnc-0.9.14-libvncserver-defines-1.patch
35 +++ /dev/null
36 @@ -1,50 +0,0 @@
37 -https://bugs.gentoo.org/567612
38 -
39 -From a6852d61dce708bf5185a7e42770475a070433bc Mon Sep 17 00:00:00 2001
40 -From: Christian Beier <dontmind@×××××××××.org>
41 -Date: Fri, 27 Nov 2015 15:57:51 +0100
42 -Subject: [PATCH] Fix the remaining HAVE_WAITPID occurences.
43 -
44 ----
45 - src/sslhelper.c | 4 ++--
46 - src/unixpw.c | 2 +-
47 - 2 files changed, 3 insertions(+), 3 deletions(-)
48 -
49 -diff --git a/src/sslhelper.c b/src/sslhelper.c
50 -index bae897fd22d1..8045d7706ba5 100644
51 ---- a/src/sslhelper.c
52 -+++ b/src/sslhelper.c
53 -@@ -2964,7 +2964,7 @@ void ssl_helper_pid(pid_t pid, int sock) {
54 - }
55 - }
56 -
57 --#if LIBVNCSERVER_HAVE_SYS_WAIT_H && LIBVNCSERVER_HAVE_WAITPID
58 -+#if LIBVNCSERVER_HAVE_SYS_WAIT_H && HAVE_WAITPID
59 - wret = waitpid(helpers[i], &status, WNOHANG);
60 -
61 - if (db) fprintf(stderr, "waitpid(%d)\n", helpers[i]);
62 -@@ -3000,7 +3000,7 @@ if (db) fprintf(stderr, "ssl_helper_pid(%d, %d)\n", pid, sock);
63 - for (i=0; i < HPSIZE; i++) {
64 - if (helpers[i] == pid) {
65 - if (sock == -1) {
66 --#if LIBVNCSERVER_HAVE_SYS_WAIT_H && LIBVNCSERVER_HAVE_WAITPID
67 -+#if LIBVNCSERVER_HAVE_SYS_WAIT_H && HAVE_WAITPID
68 - pid_t wret;
69 - wret = waitpid(helpers[i], &status, WNOHANG);
70 -
71 -diff --git a/src/unixpw.c b/src/unixpw.c
72 -index 4267b5ccf659..3a548808881f 100644
73 ---- a/src/unixpw.c
74 -+++ b/src/unixpw.c
75 -@@ -56,7 +56,7 @@ extern char *crypt(const char*, const char *);
76 - #include "default8x16.h"
77 -
78 - #if LIBVNCSERVER_HAVE_FORK
79 --#if LIBVNCSERVER_HAVE_SYS_WAIT_H && LIBVNCSERVER_HAVE_WAITPID
80 -+#if LIBVNCSERVER_HAVE_SYS_WAIT_H && HAVE_WAITPID
81 - #define UNIXPW_SU
82 - #endif
83 - #endif
84 ---
85 -2.11.0.rc2
86 -
87
88 diff --git a/x11-misc/x11vnc/files/x11vnc-0.9.14-libvncserver-defines-2.patch b/x11-misc/x11vnc/files/x11vnc-0.9.14-libvncserver-defines-2.patch
89 deleted file mode 100644
90 index d010837..00000000
91 --- a/x11-misc/x11vnc/files/x11vnc-0.9.14-libvncserver-defines-2.patch
92 +++ /dev/null
93 @@ -1,264 +0,0 @@
94 -https://bugs.gentoo.org/567612
95 -
96 -From e70123d8f778e3f0c3bf1606f68a70b0d9748c6a Mon Sep 17 00:00:00 2001
97 -From: Christian Beier <dontmind@×××××××××.org>
98 -Date: Tue, 1 Dec 2015 14:14:00 +0100
99 -Subject: [PATCH] Fix the remaining x11vnc-specific defines that are not in
100 - LibVNCServer anymore.
101 -
102 ----
103 - src/macosx.c | 4 ++--
104 - src/macosx_opengl.c | 2 +-
105 - src/screen.c | 2 +-
106 - src/uinput.c | 4 ++--
107 - src/unixpw.c | 30 +++++++++++++++---------------
108 - src/user.c | 6 +++---
109 - src/v4l.c | 2 +-
110 - src/x11vnc.h | 8 ++++----
111 - 8 files changed, 29 insertions(+), 29 deletions(-)
112 -
113 -diff --git a/src/macosx.c b/src/macosx.c
114 -index 6645018968c3..df622db0232d 100644
115 ---- a/src/macosx.c
116 -+++ b/src/macosx.c
117 -@@ -33,7 +33,7 @@ so, delete this exception statement from your version.
118 - /* -- macosx.c -- */
119 -
120 - #include "config.h"
121 --#if (defined(__MACH__) && defined(__APPLE__) && defined(LIBVNCSERVER_HAVE_MACOSX_NATIVE_DISPLAY))
122 -+#if (defined(__MACH__) && defined(__APPLE__) && defined(HAVE_MACOSX_NATIVE_DISPLAY))
123 -
124 - #define DOMAC 1
125 -
126 -@@ -748,5 +748,5 @@ int macosx_check_clipped(int win, int *list, int n) {
127 - }
128 -
129 -
130 --#endif /* LIBVNCSERVER_HAVE_MACOSX_NATIVE_DISPLAY */
131 -+#endif /* HAVE_MACOSX_NATIVE_DISPLAY */
132 -
133 -diff --git a/src/macosx_opengl.c b/src/macosx_opengl.c
134 -index 97882797452e..4efc7be94c2e 100644
135 ---- a/src/macosx_opengl.c
136 -+++ b/src/macosx_opengl.c
137 -@@ -38,7 +38,7 @@ so, delete this exception statement from your version.
138 - #include <ApplicationServices/ApplicationServices.h>
139 -
140 - #include <rfb/rfb.h>
141 --#if LIBVNCSERVER_HAVE_MACOSX_OPENGL_H
142 -+#if HAVE_MACOSX_OPENGL_H
143 - #include <OpenGL/OpenGL.h>
144 - #include <OpenGL/gl.h>
145 - #endif
146 -diff --git a/src/screen.c b/src/screen.c
147 -index 5d37761c9038..bda46903b59a 100644
148 ---- a/src/screen.c
149 -+++ b/src/screen.c
150 -@@ -2119,7 +2119,7 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n");
151 -
152 - if (sscanf(str, "shm:%d", &shmid) == 1) {
153 - /* shm:N */
154 --#if HAVE_XSHM || LIBVNCSERVER_HAVE_SHMAT
155 -+#if HAVE_XSHM || HAVE_SHMAT
156 - raw_fb_addr = (char *) shmat(shmid, 0, SHM_RDONLY);
157 - if (! raw_fb_addr) {
158 - rfbLogEnable(1);
159 -diff --git a/src/uinput.c b/src/uinput.c
160 -index ac0324f1b0f0..d9e2b2656a5f 100644
161 ---- a/src/uinput.c
162 -+++ b/src/uinput.c
163 -@@ -42,8 +42,8 @@ so, delete this exception statement from your version.
164 - #include "allowed_input_t.h"
165 -
166 - #if LIBVNCSERVER_HAVE_SYS_IOCTL_H
167 --#if LIBVNCSERVER_HAVE_LINUX_INPUT_H
168 --#if LIBVNCSERVER_HAVE_LINUX_UINPUT_H
169 -+#if HAVE_LINUX_INPUT_H
170 -+#if HAVE_LINUX_UINPUT_H
171 - #define UINPUT_OK
172 - #endif
173 - #endif
174 -diff --git a/src/unixpw.c b/src/unixpw.c
175 -index 3a548808881f..66b776f1e8a4 100644
176 ---- a/src/unixpw.c
177 -+++ b/src/unixpw.c
178 -@@ -62,14 +62,14 @@ extern char *crypt(const char*, const char *);
179 - #endif
180 -
181 - #ifdef IGNORE_GETSPNAM
182 --#undef LIBVNCSERVER_HAVE_GETSPNAM
183 --#define LIBVNCSERVER_HAVE_GETSPNAM 0
184 -+#undef HAVE_GETSPNAM
185 -+#define HAVE_GETSPNAM 0
186 - #endif
187 -
188 --#if LIBVNCSERVER_HAVE_PWD_H && LIBVNCSERVER_HAVE_GETPWNAM
189 -+#if LIBVNCSERVER_HAVE_PWD_H && HAVE_GETPWNAM
190 - #if LIBVNCSERVER_HAVE_CRYPT || LIBVNCSERVER_HAVE_LIBCRYPT || HAVE_LIBCRYPT
191 - #define UNIXPW_CRYPT
192 --#if LIBVNCSERVER_HAVE_GETSPNAM
193 -+#if HAVE_GETSPNAM
194 - #include <shadow.h>
195 - #endif
196 - #endif
197 -@@ -78,10 +78,10 @@ extern char *crypt(const char*, const char *);
198 - #if LIBVNCSERVER_HAVE_SYS_IOCTL_H
199 - #include <sys/ioctl.h>
200 - #endif
201 --#if LIBVNCSERVER_HAVE_TERMIOS_H
202 -+#if HAVE_TERMIOS_H
203 - #include <termios.h>
204 - #endif
205 --#if LIBVNCSERVER_HAVE_SYS_STROPTS_H
206 -+#if HAVE_SYS_STROPTS_H
207 - #include <sys/stropts.h>
208 - #endif
209 -
210 -@@ -520,7 +520,7 @@ char *get_pty_ptmx(int *fd_p) {
211 -
212 - *fd_p = -1;
213 -
214 --#if LIBVNCSERVER_HAVE_GRANTPT
215 -+#if HAVE_GRANTPT
216 -
217 - for (i=0; i < ndevs; i++) {
218 - #ifdef O_NOCTTY
219 -@@ -628,7 +628,7 @@ char *get_pty(int *fd_p) {
220 - #ifdef IS_BSD
221 - return get_pty_loop(fd_p);
222 - #else
223 --#if LIBVNCSERVER_HAVE_GRANTPT
224 -+#if HAVE_GRANTPT
225 - used_get_pty_ptmx = 1;
226 - return get_pty_ptmx(fd_p);
227 - #else
228 -@@ -644,16 +644,16 @@ void try_to_be_nobody(void) {
229 - pw = getpwnam("nobody");
230 -
231 - if (pw) {
232 --#if LIBVNCSERVER_HAVE_SETUID
233 -+#if HAVE_SETUID
234 - setuid(pw->pw_uid);
235 - #endif
236 --#if LIBVNCSERVER_HAVE_SETEUID
237 -+#if HAVE_SETEUID
238 - seteuid(pw->pw_uid);
239 - #endif
240 --#if LIBVNCSERVER_HAVE_SETGID
241 -+#if HAVE_SETGID
242 - setgid(pw->pw_gid);
243 - #endif
244 --#if LIBVNCSERVER_HAVE_SETEGID
245 -+#if HAVE_SETEGID
246 - setegid(pw->pw_gid);
247 - #endif
248 - }
249 -@@ -788,7 +788,7 @@ int crypt_verify(char *user, char *pass) {
250 -
251 - if (strlen(realpw) < 12) {
252 - /* e.g. "x", try getspnam(), sometimes root for inetd, etc */
253 --#if LIBVNCSERVER_HAVE_GETSPNAM
254 -+#if HAVE_GETSPNAM
255 - struct spwd *sp = getspnam(user);
256 - if (sp != NULL && sp->sp_pwdp != NULL) {
257 - if (db) fprintf(stderr, "using getspnam()\n");
258 -@@ -1086,7 +1086,7 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size, int
259 -
260 - /* streams options fixups, handle cases as they are found: */
261 - #if defined(__hpux)
262 --#if LIBVNCSERVER_HAVE_SYS_STROPTS_H
263 -+#if HAVE_SYS_STROPTS_H
264 - #if LIBVNCSERVER_HAVE_SYS_IOCTL_H && defined(I_PUSH)
265 - if (used_get_pty_ptmx) {
266 - ioctl(sfd, I_PUSH, "ptem");
267 -@@ -1127,7 +1127,7 @@ int su_verify(char *user, char *pass, char *cmd, char *rbuf, int *rbuf_size, int
268 - chdir("/");
269 -
270 - try_to_be_nobody();
271 --#if LIBVNCSERVER_HAVE_GETUID
272 -+#if HAVE_GETUID
273 - if (getuid() == 0 || geteuid() == 0) {
274 - exit(1);
275 - }
276 -diff --git a/src/user.c b/src/user.c
277 -index b759a61ae50a..aa14814de2b7 100644
278 ---- a/src/user.c
279 -+++ b/src/user.c
280 -@@ -140,7 +140,7 @@ void check_switched_user(void) {
281 - /* utilities for switching users */
282 - static char *get_login_list(int with_display) {
283 - char *out;
284 --#if LIBVNCSERVER_HAVE_UTMPX_H
285 -+#if HAVE_UTMPX_H
286 - int i, cnt, max = 200, ut_namesize = 32;
287 - int dpymax = 1000, sawdpy[1000];
288 - struct utmpx *utx;
289 -@@ -761,7 +761,7 @@ static int switch_user_env(uid_t uid, gid_t gid, char *name, char *home, int fb_
290 - int reset_fb = 0;
291 - int grp_ok = 0;
292 -
293 --#if !LIBVNCSERVER_HAVE_SETUID
294 -+#if !HAVE_SETUID
295 - return 0;
296 - #else
297 - /*
298 -@@ -773,7 +773,7 @@ static int switch_user_env(uid_t uid, gid_t gid, char *name, char *home, int fb_
299 - clean_shm(0);
300 - free_tiles();
301 - }
302 --#if LIBVNCSERVER_HAVE_INITGROUPS
303 -+#if HAVE_INITGROUPS
304 - #if LIBVNCSERVER_HAVE_PWD_H
305 - if (getpwuid(uid) != NULL && getenv("X11VNC_SINGLE_GROUP") == NULL) {
306 - struct passwd *p = getpwuid(uid);
307 -diff --git a/src/v4l.c b/src/v4l.c
308 -index 86c33a6b9e75..8a3581362599 100644
309 ---- a/src/v4l.c
310 -+++ b/src/v4l.c
311 -@@ -41,7 +41,7 @@ so, delete this exception statement from your version.
312 - #include "keyboard.h"
313 - #include "allowed_input_t.h"
314 -
315 --#if LIBVNCSERVER_HAVE_LINUX_VIDEODEV_H
316 -+#if HAVE_LINUX_VIDEODEV_H
317 - #if LIBVNCSERVER_HAVE_SYS_IOCTL_H
318 - #include <sys/ioctl.h>
319 - #define CONFIG_VIDEO_V4L1_COMPAT
320 -diff --git a/src/x11vnc.h b/src/x11vnc.h
321 -index 7a84703eabc8..79319a420eec 100644
322 ---- a/src/x11vnc.h
323 -+++ b/src/x11vnc.h
324 -@@ -255,10 +255,10 @@ so, delete this exception statement from your version.
325 - #endif
326 -
327 - #if (SMALL_FOOTPRINT > 2)
328 --#undef LIBVNCSERVER_HAVE_UTMPX_H
329 -+#undef HAVE_UTMPX_H
330 - #undef LIBVNCSERVER_HAVE_PWD_H
331 - #undef REMOTE_CONTROL
332 --#define LIBVNCSERVER_HAVE_UTMPX_H 0
333 -+#define HAVE_UTMPX_H 0
334 - #define LIBVNCSERVER_HAVE_PWD_H 0
335 - #define REMOTE_CONTROL 0
336 - #endif
337 -@@ -308,7 +308,7 @@ so, delete this exception statement from your version.
338 - #include <sys/shm.h>
339 - #include <X11/extensions/XShm.h>
340 - #endif
341 --#if LIBVNCSERVER_HAVE_SHMAT
342 -+#if HAVE_SHMAT
343 - #include <sys/ipc.h>
344 - #include <sys/shm.h>
345 - #endif
346 -@@ -392,7 +392,7 @@ extern int h_errno;
347 - #if LIBVNCSERVER_HAVE_SYS_WAIT_H
348 - #include <sys/wait.h>
349 - #endif
350 --#if LIBVNCSERVER_HAVE_UTMPX_H
351 -+#if HAVE_UTMPX_H
352 - #include <utmpx.h>
353 - #endif
354 -
355 ---
356 -2.11.0.rc2
357 -
358
359 diff --git a/x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild b/x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild
360 deleted file mode 100644
361 index b7ccc06..00000000
362 --- a/x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild
363 +++ /dev/null
364 @@ -1,60 +0,0 @@
365 -# Copyright 1999-2015 Gentoo Foundation
366 -# Distributed under the terms of the GNU General Public License v2
367 -# $Id$
368 -
369 -EAPI=5
370 -
371 -inherit autotools eutils
372 -
373 -DESCRIPTION="A VNC server for real X displays"
374 -HOMEPAGE="http://www.karlrunge.com/x11vnc/"
375 -SRC_URI="https://github.com/LibVNC/x11vnc/archive/82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a.zip"
376 -
377 -LICENSE="GPL-2"
378 -SLOT="0"
379 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
380 -IUSE="avahi crypt fbcon libressl ssl xinerama"
381 -
382 -RDEPEND="
383 - x11-libs/libX11
384 - x11-libs/libXdamage
385 - x11-libs/libXext
386 - x11-libs/libXfixes
387 - x11-libs/libXrandr
388 - >=x11-libs/libXtst-1.1.0
389 - avahi? ( >=net-dns/avahi-0.6.4 )
390 - ssl? (
391 - !libressl? ( dev-libs/openssl:0= )
392 - libressl? ( dev-libs/libressl:= )
393 - )
394 - >=net-libs/libvncserver-0.9.8
395 - xinerama? ( x11-libs/libXinerama )"
396 -DEPEND="${RDEPEND}
397 - x11-libs/libXt
398 - x11-proto/inputproto
399 - x11-proto/trapproto
400 - x11-proto/recordproto
401 - x11-proto/xproto
402 - x11-proto/xextproto
403 - xinerama? ( x11-proto/xineramaproto )"
404 -
405 -S="${WORKDIR}/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a"
406 -
407 -DOCS=(ChangeLog README)
408 -
409 -src_prepare() {
410 - epatch "${FILESDIR}"/${PN}-0.9.13-fix-compiler-detection.patch
411 - eautoreconf
412 -}
413 -
414 -src_configure() {
415 - # --without-v4l because of missing video4linux 2.x support wrt #389079
416 - econf \
417 - $(use_with avahi) \
418 - $(use_with crypt) \
419 - $(use_with fbcon fbdev) \
420 - $(use_with ssl) \
421 - $(use_with ssl crypto) \
422 - --without-v4l \
423 - $(use_with xinerama)
424 -}
425
426 diff --git a/x11-misc/x11vnc/x11vnc-0.9.13_p20150627.ebuild b/x11-misc/x11vnc/x11vnc-0.9.13_p20150627.ebuild
427 deleted file mode 100644
428 index f00bc73..00000000
429 --- a/x11-misc/x11vnc/x11vnc-0.9.13_p20150627.ebuild
430 +++ /dev/null
431 @@ -1,57 +0,0 @@
432 -# Copyright 1999-2015 Gentoo Foundation
433 -# Distributed under the terms of the GNU General Public License v2
434 -# $Id$
435 -
436 -EAPI=5
437 -
438 -inherit autotools eutils vcs-snapshot
439 -
440 -DESCRIPTION="A VNC server for real X displays"
441 -HOMEPAGE="https://libvnc.github.io/"
442 -SRC_URI="https://github.com/LibVNC/x11vnc/archive/7aba1a36d902ec601e4aae1bc32e957749eb25d3.tar.gz -> ${P}.tar.gz"
443 -
444 -LICENSE="GPL-2"
445 -SLOT="0"
446 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
447 -IUSE="avahi crypt fbcon libressl ssl xinerama"
448 -
449 -RDEPEND=">=net-libs/libvncserver-0.9.8
450 - x11-libs/libX11
451 - x11-libs/libXdamage
452 - x11-libs/libXext
453 - x11-libs/libXfixes
454 - x11-libs/libXrandr
455 - >=x11-libs/libXtst-1.1.0
456 - avahi? ( >=net-dns/avahi-0.6.4 )
457 - ssl? (
458 - !libressl? ( dev-libs/openssl:0= )
459 - libressl? ( dev-libs/libressl:= )
460 - )
461 - xinerama? ( x11-libs/libXinerama )"
462 -DEPEND="${RDEPEND}
463 - x11-libs/libXt
464 - x11-proto/inputproto
465 - x11-proto/trapproto
466 - x11-proto/recordproto
467 - x11-proto/xproto
468 - x11-proto/xextproto
469 - xinerama? ( x11-proto/xineramaproto )"
470 -
471 -DOCS=(ChangeLog README)
472 -
473 -src_prepare() {
474 - epatch "${FILESDIR}"/${PN}-0.9.13-fix-compiler-detection.patch
475 - eautoreconf
476 -}
477 -
478 -src_configure() {
479 - # --without-v4l because of missing video4linux 2.x support wrt #389079
480 - econf \
481 - $(use_with avahi) \
482 - $(use_with crypt) \
483 - $(use_with fbcon fbdev) \
484 - $(use_with ssl) \
485 - $(use_with ssl crypto) \
486 - --without-v4l \
487 - $(use_with xinerama)
488 -}
489
490 diff --git a/x11-misc/x11vnc/x11vnc-0.9.14-r1.ebuild b/x11-misc/x11vnc/x11vnc-0.9.14-r1.ebuild
491 deleted file mode 100644
492 index 43e7b13..00000000
493 --- a/x11-misc/x11vnc/x11vnc-0.9.14-r1.ebuild
494 +++ /dev/null
495 @@ -1,65 +0,0 @@
496 -# Copyright 1999-2016 Gentoo Foundation
497 -# Distributed under the terms of the GNU General Public License v2
498 -
499 -EAPI="5"
500 -
501 -inherit autotools eutils vcs-snapshot
502 -
503 -DESCRIPTION="A VNC server for real X displays"
504 -HOMEPAGE="https://libvnc.github.io/"
505 -SRC_URI="https://github.com/LibVNC/x11vnc/archive/0.9.14.tar.gz -> ${P}.tar.gz"
506 -
507 -LICENSE="GPL-2"
508 -SLOT="0"
509 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
510 -IUSE="crypt fbcon libressl ssl xinerama zeroconf"
511 -
512 -RDEPEND=">=net-libs/libvncserver-0.9.8
513 - x11-libs/libX11
514 - x11-libs/libXdamage
515 - x11-libs/libXext
516 - x11-libs/libXfixes
517 - x11-libs/libXrandr
518 - >=x11-libs/libXtst-1.1.0
519 - ssl? (
520 - !libressl? ( dev-libs/openssl:0= )
521 - libressl? ( dev-libs/libressl:= )
522 - )
523 - xinerama? ( x11-libs/libXinerama )
524 - zeroconf? ( >=net-dns/avahi-0.6.4 )
525 -"
526 -DEPEND="${RDEPEND}
527 - x11-libs/libXt
528 - x11-proto/inputproto
529 - x11-proto/trapproto
530 - x11-proto/recordproto
531 - x11-proto/xproto
532 - x11-proto/xextproto
533 - xinerama? ( x11-proto/xineramaproto )"
534 -
535 -DOCS=(ChangeLog README)
536 -
537 -src_prepare() {
538 - epatch "${FILESDIR}"/${PN}-0.9.13-fix-compiler-detection.patch
539 - epatch "${FILESDIR}"/${P}-libvncserver-defines-1.patch #567612
540 - epatch "${FILESDIR}"/${P}-libvncserver-defines-2.patch #567612
541 - eautoreconf
542 -}
543 -
544 -src_configure() {
545 - # --without-v4l because of missing video4linux 2.x support wrt #389079
546 - econf \
547 - $(use_with crypt) \
548 - $(use_with fbcon fbdev) \
549 - $(use_with ssl) \
550 - $(use_with ssl crypto) \
551 - --without-v4l \
552 - $(use_with xinerama) \
553 - $(use_with zeroconf avahi)
554 -}
555 -
556 -src_install() {
557 - default
558 - doinitd "${FILESDIR}/x11vnc.init.d"
559 - doconfd "${FILESDIR}/x11vnc.conf.d"
560 -}
561
562 diff --git a/x11-misc/x11vnc/x11vnc-0.9.14.ebuild b/x11-misc/x11vnc/x11vnc-0.9.14.ebuild
563 deleted file mode 100644
564 index 4e87afb..00000000
565 --- a/x11-misc/x11vnc/x11vnc-0.9.14.ebuild
566 +++ /dev/null
567 @@ -1,64 +0,0 @@
568 -# Copyright 1999-2016 Gentoo Foundation
569 -# Distributed under the terms of the GNU General Public License v2
570 -# $Id$
571 -
572 -EAPI=5
573 -
574 -inherit autotools eutils vcs-snapshot
575 -
576 -DESCRIPTION="A VNC server for real X displays"
577 -HOMEPAGE="https://libvnc.github.io/"
578 -SRC_URI="https://github.com/LibVNC/x11vnc/archive/0.9.14.tar.gz -> ${P}.tar.gz"
579 -
580 -LICENSE="GPL-2"
581 -SLOT="0"
582 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
583 -IUSE="crypt fbcon libressl ssl xinerama zeroconf"
584 -
585 -RDEPEND=">=net-libs/libvncserver-0.9.8
586 - x11-libs/libX11
587 - x11-libs/libXdamage
588 - x11-libs/libXext
589 - x11-libs/libXfixes
590 - x11-libs/libXrandr
591 - >=x11-libs/libXtst-1.1.0
592 - ssl? (
593 - !libressl? ( dev-libs/openssl:0= )
594 - libressl? ( dev-libs/libressl:= )
595 - )
596 - xinerama? ( x11-libs/libXinerama )
597 - zeroconf? ( >=net-dns/avahi-0.6.4 )
598 -"
599 -DEPEND="${RDEPEND}
600 - x11-libs/libXt
601 - x11-proto/inputproto
602 - x11-proto/trapproto
603 - x11-proto/recordproto
604 - x11-proto/xproto
605 - x11-proto/xextproto
606 - xinerama? ( x11-proto/xineramaproto )"
607 -
608 -DOCS=(ChangeLog README)
609 -
610 -src_prepare() {
611 - epatch "${FILESDIR}"/${PN}-0.9.13-fix-compiler-detection.patch
612 - eautoreconf
613 -}
614 -
615 -src_configure() {
616 - # --without-v4l because of missing video4linux 2.x support wrt #389079
617 - econf \
618 - $(use_with crypt) \
619 - $(use_with fbcon fbdev) \
620 - $(use_with ssl) \
621 - $(use_with ssl crypto) \
622 - --without-v4l \
623 - $(use_with xinerama) \
624 - $(use_with zeroconf avahi)
625 -}
626 -
627 -src_install() {
628 - default
629 - doinitd "${FILESDIR}/x11vnc.init.d"
630 - doconfd "${FILESDIR}/x11vnc.conf.d"
631 -}