diff options
| -rw-r--r-- | meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch | 21 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch | 36 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb (renamed from meta-oe/recipes-graphics/tigervnc/tigervnc_1.10.1.bb) | 13 |
3 files changed, 32 insertions, 38 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/0002-do-not-build-tests-sub-directory.patch index 4e875ba82b..5a42e67d06 100644 --- a/meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch +++ b/meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch | |||
| @@ -1,29 +1,30 @@ | |||
| 1 | From c3460d63f0b6cd50b9a64265f420f0439e12a1d5 Mon Sep 17 00:00:00 2001 | 1 | From 076d0e12a7be6cd2108e4ca0dcde1cb658918fa5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Tue, 25 Apr 2017 01:36:44 -0400 | 3 | Date: Mon, 19 Apr 2021 23:02:45 -0700 |
| 4 | Subject: [PATCH 2/4] do not build tests sub directory | 4 | Subject: [PATCH] do not build tests sub directory |
| 5 | 5 | ||
| 6 | Upstream-Status: Inappropriate [oe specific] | 6 | Upstream-Status: Inappropriate [OE Specific] |
| 7 | 7 | ||
| 8 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 8 | Signed-off-by: Hongxu Jia <Hongxu.Jia@windriver.com> |
| 9 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
| 9 | --- | 10 | --- |
| 10 | CMakeLists.txt | 3 --- | 11 | CMakeLists.txt | 3 --- |
| 11 | 1 file changed, 3 deletions(-) | 12 | 1 file changed, 3 deletions(-) |
| 12 | 13 | ||
| 13 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 14 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 14 | index 94ec2ef..fb72a00 100644 | 15 | index 7bf99441..bda80598 100644 |
| 15 | --- a/CMakeLists.txt | 16 | --- a/CMakeLists.txt |
| 16 | +++ b/CMakeLists.txt | 17 | +++ b/CMakeLists.txt |
| 17 | @@ -300,9 +300,6 @@ if(BUILD_VIEWER) | 18 | @@ -304,9 +304,6 @@ if(BUILD_VIEWER) |
| 18 | add_subdirectory(media) | 19 | add_subdirectory(media) |
| 19 | endif() | 20 | endif() |
| 20 | 21 | ||
| 21 | -add_subdirectory(tests) | 22 | -add_subdirectory(tests) |
| 22 | - | 23 | - |
| 23 | - | 24 | - |
| 24 | include(cmake/BuildPackages.cmake) | 25 | add_subdirectory(release) |
| 25 | 26 | ||
| 26 | # uninstall | 27 | # uninstall |
| 27 | -- | 28 | -- |
| 28 | 2.7.4 | 29 | 2.30.2 |
| 29 | 30 | ||
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/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch index 97b0a388a2..5f14665b8d 100644 --- a/meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch +++ b/meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch | |||
| @@ -1,44 +1,34 @@ | |||
| 1 | From 9563b69640227da2220ee0c39077afb736cc96d1 Mon Sep 17 00:00:00 2001 | 1 | From 7f8acd59bb2e54f9be25a98dd71534700a9e355a Mon Sep 17 00:00:00 2001 |
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Thu, 20 Jul 2017 17:12:17 +0800 | 3 | Date: Mon, 19 Apr 2021 23:14:28 -0700 |
| 4 | Subject: [PATCH 4/4] tigervnc: add fPIC option to COMPILE_FLAGS | 4 | Subject: [PATCH] tigervnc: add fPIC option to COMPILE_FLAGS |
| 5 | 5 | ||
| 6 | The static libraries in Xregion/network/rdr/rfb were linked by shared | 6 | The static libraries in network/rdr/rfb were linked by shared |
| 7 | library libvnc.so, so we should add fPIC option to COMPILE_FLAGS to fix | 7 | library libvnc.so, so we should add fPIC option to COMPILE_FLAGS to fix |
| 8 | relocation issue. | 8 | relocation issue. |
| 9 | 9 | ||
| 10 | Upstream-Status: Pending | 10 | Upstream-Status: Pending |
| 11 | 11 | ||
| 12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 13 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
| 13 | --- | 14 | --- |
| 14 | common/Xregion/CMakeLists.txt | 1 + | ||
| 15 | common/network/CMakeLists.txt | 1 + | 15 | common/network/CMakeLists.txt | 1 + |
| 16 | common/rdr/CMakeLists.txt | 1 + | 16 | common/rdr/CMakeLists.txt | 1 + |
| 17 | common/rfb/CMakeLists.txt | 1 + | 17 | common/rfb/CMakeLists.txt | 1 + |
| 18 | 4 files changed, 4 insertions(+) | 18 | 3 files changed, 3 insertions(+) |
| 19 | 19 | ||
| 20 | diff --git a/common/Xregion/CMakeLists.txt b/common/Xregion/CMakeLists.txt | ||
| 21 | index 40ca97e..9411328 100644 | ||
| 22 | --- a/common/Xregion/CMakeLists.txt | ||
| 23 | +++ b/common/Xregion/CMakeLists.txt | ||
| 24 | @@ -3,4 +3,5 @@ add_library(Xregion STATIC | ||
| 25 | |||
| 26 | if(UNIX) | ||
| 27 | libtool_create_control_file(Xregion) | ||
| 28 | + set_target_properties(Xregion PROPERTIES COMPILE_FLAGS -fPIC) | ||
| 29 | endif() | ||
| 30 | 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 |
| 31 | index b624c8e..6c06ec9 100644 | 21 | index d00ca452..e84e0290 100644 |
| 32 | --- a/common/network/CMakeLists.txt | 22 | --- a/common/network/CMakeLists.txt |
| 33 | +++ b/common/network/CMakeLists.txt | 23 | +++ b/common/network/CMakeLists.txt |
| 34 | @@ -9,4 +9,5 @@ endif() | 24 | @@ -16,4 +16,5 @@ endif() |
| 35 | 25 | ||
| 36 | if(UNIX) | 26 | if(UNIX) |
| 37 | libtool_create_control_file(network) | 27 | libtool_create_control_file(network) |
| 38 | + set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC) | 28 | + set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC) |
| 39 | endif() | 29 | endif() |
| 40 | 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 |
| 41 | index 989ba2f..20f6489 100644 | 31 | index 989ba2f4..20f6489d 100644 |
| 42 | --- a/common/rdr/CMakeLists.txt | 32 | --- a/common/rdr/CMakeLists.txt |
| 43 | +++ b/common/rdr/CMakeLists.txt | 33 | +++ b/common/rdr/CMakeLists.txt |
| 44 | @@ -27,4 +27,5 @@ target_link_libraries(rdr ${RDR_LIBRARIES}) | 34 | @@ -27,4 +27,5 @@ target_link_libraries(rdr ${RDR_LIBRARIES}) |
| @@ -48,15 +38,15 @@ index 989ba2f..20f6489 100644 | |||
| 48 | + set_target_properties(rdr PROPERTIES COMPILE_FLAGS -fPIC) | 38 | + set_target_properties(rdr PROPERTIES COMPILE_FLAGS -fPIC) |
| 49 | endif() | 39 | endif() |
| 50 | 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 |
| 51 | index 5047e5e..88838ab 100644 | 41 | index fc5a37bf..7f5ce131 100644 |
| 52 | --- a/common/rfb/CMakeLists.txt | 42 | --- a/common/rfb/CMakeLists.txt |
| 53 | +++ b/common/rfb/CMakeLists.txt | 43 | +++ b/common/rfb/CMakeLists.txt |
| 54 | @@ -98,4 +98,5 @@ target_link_libraries(rfb ${RFB_LIBRARIES}) | 44 | @@ -99,4 +99,5 @@ target_link_libraries(rfb ${RFB_LIBRARIES}) |
| 55 | 45 | ||
| 56 | if(UNIX) | 46 | if(UNIX) |
| 57 | libtool_create_control_file(rfb) | 47 | libtool_create_control_file(rfb) |
| 58 | + set_target_properties(rfb PROPERTIES COMPILE_FLAGS -fPIC) | 48 | + set_target_properties(rfb PROPERTIES COMPILE_FLAGS -fPIC) |
| 59 | endif() | 49 | endif() |
| 60 | -- | 50 | -- |
| 61 | 2.7.4 | 51 | 2.30.2 |
| 62 | 52 | ||
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.10.1.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb index f97c2b2d6c..ce6c59bc39 100644 --- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.10.1.bb +++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb | |||
| @@ -2,22 +2,22 @@ DESCRIPTION = "TigerVNC remote display system" | |||
| 2 | HOMEPAGE = "http://www.tigervnc.com/" | 2 | HOMEPAGE = "http://www.tigervnc.com/" |
| 3 | LICENSE = "GPLv2+" | 3 | LICENSE = "GPLv2+" |
| 4 | SECTION = "x11/utils" | 4 | SECTION = "x11/utils" |
| 5 | DEPENDS = "xserver-xorg gnutls jpeg libxtst gettext-native fltk" | 5 | DEPENDS = "xserver-xorg gnutls jpeg libxtst gettext-native fltk libpam" |
| 6 | RDEPENDS_${PN} = "coreutils hicolor-icon-theme perl" | 6 | RDEPENDS_${PN} = "coreutils hicolor-icon-theme perl bash" |
| 7 | 7 | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3" | 8 | LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
| 11 | 11 | ||
| 12 | inherit features_check | 12 | inherit features_check |
| 13 | REQUIRED_DISTRO_FEATURES = "x11" | 13 | REQUIRED_DISTRO_FEATURES = "x11 pam" |
| 14 | 14 | ||
| 15 | inherit autotools cmake | 15 | inherit autotools cmake |
| 16 | B = "${S}" | 16 | B = "${S}" |
| 17 | 17 | ||
| 18 | SRCREV = "4739493b635372bd40a34640a719f79fa90e4dba" | 18 | SRCREV = "540bfc3278e396321124d4b18a798ac2bc18b6ca" |
| 19 | 19 | ||
| 20 | SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.10-branch \ | 20 | SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.11-branch \ |
| 21 | file://0002-do-not-build-tests-sub-directory.patch \ | 21 | file://0002-do-not-build-tests-sub-directory.patch \ |
| 22 | file://0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \ | 22 | file://0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \ |
| 23 | file://0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \ | 23 | file://0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \ |
| @@ -83,6 +83,8 @@ EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \ | |||
| 83 | --disable-xwayland \ | 83 | --disable-xwayland \ |
| 84 | " | 84 | " |
| 85 | 85 | ||
| 86 | EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=/lib/systemd/system', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}" | ||
| 87 | |||
| 86 | do_configure_append () { | 88 | do_configure_append () { |
| 87 | olddir=`pwd` | 89 | olddir=`pwd` |
| 88 | cd ${XSERVER_SOURCE_DIR} | 90 | cd ${XSERVER_SOURCE_DIR} |
| @@ -125,6 +127,7 @@ do_install_append() { | |||
| 125 | FILES_${PN} += " \ | 127 | FILES_${PN} += " \ |
| 126 | ${libdir}/xorg/modules/extensions \ | 128 | ${libdir}/xorg/modules/extensions \ |
| 127 | ${datadir}/icons \ | 129 | ${datadir}/icons \ |
| 130 | ${systemd_unitdir} \ | ||
| 128 | " | 131 | " |
| 129 | 132 | ||
| 130 | FILES_${PN}-dbg += "${libdir}/xorg/modules/extensions/.debug" | 133 | FILES_${PN}-dbg += "${libdir}/xorg/modules/extensions/.debug" |
