summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/tigervnc/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/tigervnc/files')
-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)14
-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
3 files changed, 22 insertions, 22 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 @@
1From 076d0e12a7be6cd2108e4ca0dcde1cb658918fa5 Mon Sep 17 00:00:00 2001 1From e117ccc2b4ebb116ab63a3aa6097104964ee223b Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 19 Apr 2021 23:02:45 -0700 3Date: Mon, 19 Apr 2021 23:02:45 -0700
4Subject: [PATCH] do not build tests sub directory 4Subject: [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
14diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index 7bf99441..bda80598 100644 15index 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--
292.30.2 292.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..101adaa82f 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 @@
1From 6369a5be2af2ed1fa443f40f48deaf318d22713e Mon Sep 17 00:00:00 2001 1From 4c7658b43f903599608c1fea4fbd7e37dc117119 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 20 Jul 2017 05:06:00 -0400 3Date: Thu, 20 Jul 2017 05:06:00 -0400
4Subject: [PATCH 3/4] add missing dynamic library to FLTK_LIBRARIES 4Subject: [PATCH] add missing dynamic library to FLTK_LIBRARIES
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -11,18 +11,18 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11 1 file changed, 2 insertions(+) 11 1 file changed, 2 insertions(+)
12 12
13diff --git a/CMakeLists.txt b/CMakeLists.txt 13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index fb72a00..5732dc8 100644 14index 80c2762c..eb581600 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@@ -315,6 +315,8 @@ if(BUILD_VIEWER)
18 endif() 18 set(CMAKE_REQUIRED_LIBRARIES)
19 endif() 19 endif()
20 20
21+set(FLTK_LIBRARIES ${FLTK_LIBRARIES} -lm -ldl -lpng -ljpeg) 21+set(FLTK_LIBRARIES ${FLTK_LIBRARIES} -lm -ldl -lpng -ljpeg)
22+ 22+
23 # Check for GNUTLS library 23 # Check for GNUTLS library
24 option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication" ON) 24 trioption(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication")
25 if(ENABLE_GNUTLS) 25 if(ENABLE_GNUTLS)
26-- 26--
272.7.4 272.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 @@
1From 7f8acd59bb2e54f9be25a98dd71534700a9e355a Mon Sep 17 00:00:00 2001 1From 36bf37cb638cd87d7f8eb96afaf69c2d95177614 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 19 Apr 2021 23:14:28 -0700 3Date: Mon, 19 Apr 2021 23:14:28 -0700
4Subject: [PATCH] tigervnc: add fPIC option to COMPILE_FLAGS 4Subject: [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
20diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt 20diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt
21index d00ca452..e84e0290 100644 21index 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()
30diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt 30diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt
31index 989ba2f4..20f6489d 100644 31index 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()
40diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt 40diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt
41index fc5a37bf..7f5ce131 100644 41index 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--
512.30.2 512.25.1
52 52