diff options
author | Jean-Francois Dagenais <dagenaisj@sonatest.com> | 2019-02-11 13:52:42 -0500 |
---|---|---|
committer | Jean-Francois Dagenais <jeff.dagenais@gmail.com> | 2019-02-12 11:23:23 -0500 |
commit | a2172fbe46890467e112544372bbb6ef7d92c617 (patch) | |
tree | 68cbb403ec527ae6710b47b2fce516c1e90345b0 /meta-oe | |
parent | 21b499d505e27b3c9ebfa0857f40acb75144a2e1 (diff) | |
download | meta-openembedded-a2172fbe46890467e112544372bbb6ef7d92c617.tar.gz |
x11vnc: patch: don't install Xdummy when configured --without-x
There is just no point in Xdummy if x11 is not in DISTRO_FEATURES.
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-graphics/x11vnc/files/0001-misc-Makefile.am-don-t-install-Xdummy-when-configure.patch | 37 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/x11vnc/files/0001-misc-Makefile.am-don-t-install-Xdummy-when-configure.patch b/meta-oe/recipes-graphics/x11vnc/files/0001-misc-Makefile.am-don-t-install-Xdummy-when-configure.patch new file mode 100644 index 000000000..a15f3fe5b --- /dev/null +++ b/meta-oe/recipes-graphics/x11vnc/files/0001-misc-Makefile.am-don-t-install-Xdummy-when-configure.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From 686491573827b98ba031adaa5da373366079d3d8 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Dagenais?= <jeff.dagenais@gmail.com> | ||
3 | Date: Mon, 11 Feb 2019 11:42:59 -0500 | ||
4 | Subject: [PATCH] misc/Makefile.am: don't install Xdummy when configured | ||
5 | --without-x | ||
6 | |||
7 | Upstream-status: submitted https://github.com/jeff-dagenais/x11vnc/pull/1 | ||
8 | |||
9 | Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> | ||
10 | --- | ||
11 | misc/Makefile.am | 6 +++++- | ||
12 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/misc/Makefile.am b/misc/Makefile.am | ||
15 | index c0b98c8..e4a22c1 100644 | ||
16 | --- a/misc/Makefile.am | ||
17 | +++ b/misc/Makefile.am | ||
18 | @@ -18,7 +18,10 @@ EXTRA_DIST = \ | ||
19 | uinput.pl \ | ||
20 | ultravnc_repeater.pl \ | ||
21 | vcinject.pl \ | ||
22 | - x11vnc_loop \ | ||
23 | + x11vnc_loop | ||
24 | + | ||
25 | +if HAVE_X11 | ||
26 | +EXTRA_DIST += \ | ||
27 | Xdummy.c \ | ||
28 | Xdummy.in | ||
29 | |||
30 | @@ -32,3 +35,4 @@ do_dummy_c_subst = $(SED) \ | ||
31 | Xdummy: $(srcdir)/Xdummy.in $(srcdir)/Xdummy.c | ||
32 | $(do_dummy_c_subst) < $< > $@.tmp | ||
33 | mv -f $@.tmp $@ | ||
34 | +endif | ||
35 | -- | ||
36 | 2.17.1 | ||
37 | |||
diff --git a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb index 5a1594816..1aace0200 100644 --- a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb +++ b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb | |||
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | |||
9 | 9 | ||
10 | SRC_URI = "https://github.com/LibVNC/x11vnc/archive/${PV}.tar.gz;downloadfilename=x11vnc-${PV}.tar.gz\ | 10 | SRC_URI = "https://github.com/LibVNC/x11vnc/archive/${PV}.tar.gz;downloadfilename=x11vnc-${PV}.tar.gz\ |
11 | file://starting-fix.patch \ | 11 | file://starting-fix.patch \ |
12 | file://0001-misc-Makefile.am-don-t-install-Xdummy-when-configure.patch \ | ||
12 | " | 13 | " |
13 | 14 | ||
14 | SRC_URI[md5sum] = "64172e8f896389ec963fff93415f0d93" | 15 | SRC_URI[md5sum] = "64172e8f896389ec963fff93415f0d93" |