diff options
-rw-r--r-- | meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch (renamed from meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch) | 14 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch (renamed from meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch) | 10 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch (renamed from meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch) | 16 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.0.bb (renamed from meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb) | 31 |
4 files changed, 34 insertions, 37 deletions
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch b/meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch index 5a42e67d06..0d58d2502d 100644 --- a/meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch +++ b/meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 076d0e12a7be6cd2108e4ca0dcde1cb658918fa5 Mon Sep 17 00:00:00 2001 | 1 | From e117ccc2b4ebb116ab63a3aa6097104964ee223b Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Mon, 19 Apr 2021 23:02:45 -0700 | 3 | Date: Mon, 19 Apr 2021 23:02:45 -0700 |
4 | Subject: [PATCH] do not build tests sub directory | 4 | Subject: [PATCH] do not build tests sub directory |
@@ -12,19 +12,19 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
12 | 1 file changed, 3 deletions(-) | 12 | 1 file changed, 3 deletions(-) |
13 | 13 | ||
14 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 14 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
15 | index 7bf99441..bda80598 100644 | 15 | index 468f4b54..c47c9c0e 100644 |
16 | --- a/CMakeLists.txt | 16 | --- a/CMakeLists.txt |
17 | +++ b/CMakeLists.txt | 17 | +++ b/CMakeLists.txt |
18 | @@ -304,9 +304,6 @@ if(BUILD_VIEWER) | 18 | @@ -351,9 +351,6 @@ if(BUILD_VIEWER) |
19 | add_subdirectory(media) | 19 | add_subdirectory(media) |
20 | endif() | 20 | endif() |
21 | 21 | ||
22 | -add_subdirectory(tests) | 22 | -add_subdirectory(tests) |
23 | - | 23 | - |
24 | - | 24 | - |
25 | add_subdirectory(release) | 25 | if(BUILD_VIEWER) |
26 | 26 | add_subdirectory(release) | |
27 | # uninstall | 27 | endif() |
28 | -- | 28 | -- |
29 | 2.30.2 | 29 | 2.25.1 |
30 | 30 | ||
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch b/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch index cfb84ac141..56bed4bbfe 100644 --- a/meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch +++ b/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 6369a5be2af2ed1fa443f40f48deaf318d22713e Mon Sep 17 00:00:00 2001 | 1 | From 7ca0b0a4f8a37f9dbe461e28a731364b9aaa60bb Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Thu, 20 Jul 2017 05:06:00 -0400 | 3 | Date: Thu, 20 Jul 2017 05:06:00 -0400 |
4 | Subject: [PATCH 3/4] add missing dynamic library to FLTK_LIBRARIES | 4 | Subject: [PATCH] add missing dynamic library to FLTK_LIBRARIES |
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | 7 | ||
@@ -11,10 +11,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
11 | 1 file changed, 2 insertions(+) | 11 | 1 file changed, 2 insertions(+) |
12 | 12 | ||
13 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 13 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
14 | index fb72a00..5732dc8 100644 | 14 | index c47c9c0e..f4b576a0 100644 |
15 | --- a/CMakeLists.txt | 15 | --- a/CMakeLists.txt |
16 | +++ b/CMakeLists.txt | 16 | +++ b/CMakeLists.txt |
17 | @@ -246,6 +246,8 @@ if(UNIX AND NOT APPLE) | 17 | @@ -270,6 +270,8 @@ if(BUILD_VIEWER) |
18 | endif() | 18 | endif() |
19 | endif() | 19 | endif() |
20 | 20 | ||
@@ -24,5 +24,5 @@ index fb72a00..5732dc8 100644 | |||
24 | option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication" ON) | 24 | option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication" ON) |
25 | if(ENABLE_GNUTLS) | 25 | if(ENABLE_GNUTLS) |
26 | -- | 26 | -- |
27 | 2.7.4 | 27 | 2.25.1 |
28 | 28 | ||
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch b/meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch index 5f14665b8d..c292df4a52 100644 --- a/meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch +++ b/meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7f8acd59bb2e54f9be25a98dd71534700a9e355a Mon Sep 17 00:00:00 2001 | 1 | From 36bf37cb638cd87d7f8eb96afaf69c2d95177614 Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Mon, 19 Apr 2021 23:14:28 -0700 | 3 | Date: Mon, 19 Apr 2021 23:14:28 -0700 |
4 | Subject: [PATCH] tigervnc: add fPIC option to COMPILE_FLAGS | 4 | Subject: [PATCH] tigervnc: add fPIC option to COMPILE_FLAGS |
@@ -18,35 +18,35 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
18 | 3 files changed, 3 insertions(+) | 18 | 3 files changed, 3 insertions(+) |
19 | 19 | ||
20 | diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt | 20 | diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt |
21 | index d00ca452..e84e0290 100644 | 21 | index f08eaa31..85c05951 100644 |
22 | --- a/common/network/CMakeLists.txt | 22 | --- a/common/network/CMakeLists.txt |
23 | +++ b/common/network/CMakeLists.txt | 23 | +++ b/common/network/CMakeLists.txt |
24 | @@ -16,4 +16,5 @@ endif() | 24 | @@ -15,4 +15,5 @@ endif() |
25 | 25 | ||
26 | if(UNIX) | 26 | if(UNIX) |
27 | libtool_create_control_file(network) | 27 | libtool_create_control_file(network) |
28 | + set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC) | 28 | + set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC) |
29 | endif() | 29 | endif() |
30 | diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt | 30 | diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt |
31 | index 989ba2f4..20f6489d 100644 | 31 | index 30c2403a..94e1ff98 100644 |
32 | --- a/common/rdr/CMakeLists.txt | 32 | --- a/common/rdr/CMakeLists.txt |
33 | +++ b/common/rdr/CMakeLists.txt | 33 | +++ b/common/rdr/CMakeLists.txt |
34 | @@ -27,4 +27,5 @@ target_link_libraries(rdr ${RDR_LIBRARIES}) | 34 | @@ -35,4 +35,5 @@ endif() |
35 | 35 | ||
36 | if(UNIX) | 36 | if(UNIX) |
37 | libtool_create_control_file(rdr) | 37 | libtool_create_control_file(rdr) |
38 | + set_target_properties(rdr PROPERTIES COMPILE_FLAGS -fPIC) | 38 | + set_target_properties(rdr PROPERTIES COMPILE_FLAGS -fPIC) |
39 | endif() | 39 | endif() |
40 | diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt | 40 | diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt |
41 | index fc5a37bf..7f5ce131 100644 | 41 | index 360434a9..28566e90 100644 |
42 | --- a/common/rfb/CMakeLists.txt | 42 | --- a/common/rfb/CMakeLists.txt |
43 | +++ b/common/rfb/CMakeLists.txt | 43 | +++ b/common/rfb/CMakeLists.txt |
44 | @@ -99,4 +99,5 @@ target_link_libraries(rfb ${RFB_LIBRARIES}) | 44 | @@ -116,4 +116,5 @@ endif() |
45 | 45 | ||
46 | if(UNIX) | 46 | if(UNIX) |
47 | libtool_create_control_file(rfb) | 47 | libtool_create_control_file(rfb) |
48 | + set_target_properties(rfb PROPERTIES COMPILE_FLAGS -fPIC) | 48 | + set_target_properties(rfb PROPERTIES COMPILE_FLAGS -fPIC) |
49 | endif() | 49 | endif() |
50 | -- | 50 | -- |
51 | 2.30.2 | 51 | 2.25.1 |
52 | 52 | ||
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.0.bb index 668ca79ddd..c5268fd2b3 100644 --- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb +++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.0.bb | |||
@@ -15,21 +15,20 @@ REQUIRED_DISTRO_FEATURES = "x11 pam" | |||
15 | 15 | ||
16 | B = "${S}" | 16 | B = "${S}" |
17 | 17 | ||
18 | SRCREV = "540bfc3278e396321124d4b18a798ac2bc18b6ca" | 18 | SRCREV = "4a09a96661624dff14662d6e9849e06a6c70ae03" |
19 | 19 | ||
20 | SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.11-branch;protocol=https \ | 20 | SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.14-branch;protocol=https \ |
21 | file://0002-do-not-build-tests-sub-directory.patch \ | 21 | file://0001-do-not-build-tests-sub-directory.patch \ |
22 | file://0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \ | 22 | file://0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \ |
23 | file://0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \ | 23 | file://0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \ |
24 | " | 24 | " |
25 | 25 | ||
26 | # Keep sync with xorg-server in oe-core | 26 | # Keep sync with xorg-server in oe-core |
27 | XORG_PN ?= "xorg-server" | 27 | XORG_PN ?= "xorg-server" |
28 | XORG_PV ?= "1.20.6" | 28 | XORG_PV ?= "21.1.13" |
29 | SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.bz2;name=xorg" | 29 | SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.xz;name=xorg" |
30 | XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}" | 30 | XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}" |
31 | SRC_URI[xorg.md5sum] = "a98170084f2c8fed480d2ff601f8a14b" | 31 | SRC_URI[xorg.sha256sum] = "b45a02d5943f72236a360d3cc97e75134aa4f63039ff88c04686b508a3dc740c" |
32 | SRC_URI[xorg.sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1" | ||
33 | 32 | ||
34 | # It is the directory containing the Xorg source for the | 33 | # It is the directory containing the Xorg source for the |
35 | # machine on which you are building TigerVNC. | 34 | # machine on which you are building TigerVNC. |
@@ -37,16 +36,13 @@ XSERVER_SOURCE_DIR="${S}/unix/xserver" | |||
37 | 36 | ||
38 | do_patch[postfuncs] += "do_patch_xserver" | 37 | do_patch[postfuncs] += "do_patch_xserver" |
39 | do_patch_xserver () { | 38 | do_patch_xserver () { |
40 | for subdir in Xext xkb GL hw/xquartz/bundle hw/xfree86/common; do | 39 | subdirs="Xext xkb GL hw/xquartz/bundle hw/xfree86/common man doc" |
41 | install -d ${XSERVER_SOURCE_DIR}/$subdir | 40 | for i in ${subdirs}; do |
42 | done | 41 | install -d ${XSERVER_SOURCE_DIR}/$i |
43 | |||
44 | for subdir in hw/dmx/doc man doc hw/dmx/doxygen; do | ||
45 | install -d ${XSERVER_SOURCE_DIR}/$subdir | ||
46 | done | 42 | done |
47 | 43 | ||
48 | sources="hw/xquartz/bundle/cpprules.in man/Xserver.man doc/smartsched \ | 44 | sources="hw/xquartz/bundle/cpprules.in man/Xserver.man doc/smartsched \ |
49 | hw/dmx/doxygen/doxygen.conf.in xserver.ent.in xkb/README.compiled \ | 45 | xserver.ent.in xkb/README.compiled \ |
50 | hw/xfree86/xorgconf.cpp hw/xfree86/Xorg.sh.in" | 46 | hw/xfree86/xorgconf.cpp hw/xfree86/Xorg.sh.in" |
51 | for i in ${sources}; do | 47 | for i in ${sources}; do |
52 | install -m 0644 ${XORG_S}/$i ${XSERVER_SOURCE_DIR}/$i; | 48 | install -m 0644 ${XORG_S}/$i ${XSERVER_SOURCE_DIR}/$i; |
@@ -57,7 +53,7 @@ do_patch_xserver () { | |||
57 | xargs tar cf - | (cd ${XSERVER_SOURCE_DIR} && tar xf -) | 53 | xargs tar cf - | (cd ${XSERVER_SOURCE_DIR} && tar xf -) |
58 | 54 | ||
59 | cd ${XSERVER_SOURCE_DIR} | 55 | cd ${XSERVER_SOURCE_DIR} |
60 | xserverpatch="${S}/unix/xserver120.patch" | 56 | xserverpatch="${S}/unix/xserver21.patch" |
61 | echo "Apply $xserverpatch" | 57 | echo "Apply $xserverpatch" |
62 | patch -p1 -b --suffix .vnc < $xserverpatch | 58 | patch -p1 -b --suffix .vnc < $xserverpatch |
63 | } | 59 | } |
@@ -127,6 +123,7 @@ do_install:append() { | |||
127 | FILES:${PN} += " \ | 123 | FILES:${PN} += " \ |
128 | ${libdir}/xorg/modules/extensions \ | 124 | ${libdir}/xorg/modules/extensions \ |
129 | ${datadir}/icons \ | 125 | ${datadir}/icons \ |
126 | ${datadir}/metainfo \ | ||
130 | ${systemd_unitdir} \ | 127 | ${systemd_unitdir} \ |
131 | " | 128 | " |
132 | 129 | ||