You are not logged in.
I just updated from tigervnc-1.15.0-3-x86_64 to tigervnc-1.16.0-1-x86_64 and I'm now missing the binary for vncviewer.
Is this expected?
➜ ~ ls /data/tmp/tigervnc/
tigervnc-1.15.0-4-x86_64.pkg tigervnc-1.15.0-4-x86_64.pkg.tar.zst tigervnc-1.16.0-1-x86_64.pkg tigervnc-1.16.0-1-x86_64.pkg.tar.zst
➜ ~ find /data/tmp/tigervnc/ -name vncviewer
/data/tmp/tigervnc/tigervnc-1.15.0-4-x86_64.pkg/usr/bin/vncviewerI see no mention of removing vncviewer from tigervnc, at least not here: https://github.com/TigerVNC/tigervnc/bl … README.rst
Last edited by trancexpress (2026-01-24 03:22:06)
Offline
It seems to actually be a build problem.
When trying to rebuild the package, I see:
FLTK NOT found. TigerVNC viewer disabled.It's probably a issue with fltk1.3 not being found in /usr/lib/fltk1.3, so it gets automatically disabled and built without.
Edit:
That seems strange:
$ fltk-config1.3 --libs
/usr/lib/libfltk.so
$ readlink -f /usr/lib/libfltk.so
/usr/lib/libfltk.so.1.4.4That seems to be the wrong version (after installing fltk, otherwise the so is not found).
The config script produces the wrong path.
I thougt adding some cmake options would help, but still leads to an error
-D FLTK_CONFIG_SCRIPT=/usr/bin/fltk-config1.3 -D FLTK_INCLUDE_DIR=/usr/lib/fltk1.3so it's an error in fltk1.3, libdir in fltk-config-1.3 needs to be
libdir=${exec_prefix}/lib/fltk1.3Last edited by stu (2026-01-23 21:17:59)
Offline
See https://gitlab.archlinux.org/archlinux/ … 03e6fd1c3a which removes tigervnc-1.15.0-fltk1.3.patch rather than updating it.
Please try:
diff --git a/PKGBUILD b/PKGBUILD
index fea4ead..0b4dc4e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -73,17 +73,22 @@ source=(
Xsession
more-xsessions.patch
remove-selinux.patch
+ $pkgname-1.16.0-fltk1.3.patch
)
sha256sums=('86d13ae2ec6775f7c1e61f93aff8a9036c06aa82529cc5d446d779da34210f93'
'c9276f6ea277cf9654fb2cc3bc9dadbb2e596b5cf8ca867ee906c0080cf7f810'
'df7d5ac0b16781ba50963833f1bdd4603f1cdfcc24b1727f563ae800508c9dc0'
- 'b5da49ee5f10dd40945df9c8563066c5523a24ac0ad934c7efcb41d0847b94ed')
+ 'b5da49ee5f10dd40945df9c8563066c5523a24ac0ad934c7efcb41d0847b94ed'
+ '059b19f088b05e1720f8e5243350ed87dc67db239836e94a219ebd70f5703e30')
prepare() {
cd ${pkgname}
patch -p1 -i ../more-xsessions.patch
patch -p1 -i ../remove-selinux.patch
+ # use fltk1.3, as upstream is not compatible with fltk >= 1.4 yet
+ patch -Np1 -i ../$pkgname-1.16.0-fltk1.3.patch
+
cd unix/xserver
cp -r /usr/src/xorg-server/* .
patch -Np1 -i ../xserver21.patch
@@ -98,6 +103,7 @@ build() {
-D CMAKE_INSTALL_SBINDIR=/usr/bin
-D CMAKE_INSTALL_LIBEXECDIR=/usr/bin
-D BUILD_JAVA=TRUE
+ -D BUILD_VIEWER=TRUE
-S . # out-of-tree build not possible due to xorg-server build below
-W no-dev
)
@@ -124,7 +130,8 @@ build() {
)
cd $pkgname
- CFLAGS+=" -L/usr/lib/fltk1.3"
+ CFLAGS+=' -I/usr/include/fltk1.3' \
+ LDFLAGS+=' -L/usr/lib/fltk1.3' \
cmake "${cmake_options[@]}"
cmake --build . --verbose
diff --git a/tigervnc-1.16.0-fltk1.3.patch b/tigervnc-1.16.0-fltk1.3.patch
new file mode 100644
index 0000000..0a7cb03
--- /dev/null
+++ b/tigervnc-1.16.0-fltk1.3.patch
@@ -0,0 +1,29 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a5981938..7fef86e8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -267,12 +267,12 @@ if(BUILD_VIEWER)
+ set(FLTK_SKIP_OPENGL TRUE)
+ set(FLTK_SKIP_FORMS TRUE)
+ if(BUILD_VIEWER STREQUAL "AUTO")
+- find_package(FLTK)
++ find_package(FLTK1.3)
+ else()
+- find_package(FLTK REQUIRED)
++ find_package(FLTK1.3 REQUIRED)
+ endif()
+
+- if(NOT FLTK_FOUND)
++ if(NOT FLTK1.3_FOUND)
+ message(WARNING "FLTK NOT found. TigerVNC viewer disabled.")
+ set(BUILD_VIEWER 0)
+ endif()
+@@ -299,7 +299,7 @@ if(BUILD_VIEWER)
+ endif()
+ endif()
+
+- if(FLTK_FOUND)
++ if(FLTK1.3_FOUND)
+ set(CMAKE_REQUIRED_FLAGS "-Wno-error")
+ set(CMAKE_REQUIRED_INCLUDES ${FLTK_INCLUDE_DIR})
+ set(CMAKE_REQUIRED_LIBRARIES ${FLTK_LIBRARIES})Offline
+ CFLAGS+=' -I/usr/include/fltk1.3' \
+ LDFLAGS+=' -L/usr/lib/fltk1.3' \is not needed if the config script is used and outputs the right path to the correct .so version, it's a symptom of the script doing the wrong thing.
Otherwise this works:
diff --git a/PKGBUILD b/PKGBUILD
index fea4ead..b7069ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -98,6 +98,8 @@ build() {
-D CMAKE_INSTALL_SBINDIR=/usr/bin
-D CMAKE_INSTALL_LIBEXECDIR=/usr/bin
-D BUILD_JAVA=TRUE
+ -D BUILD_VIEWER=TRUE
+ -D FLTK_CONFIG_SCRIPT=/usr/bin/fltk-config1.3
-S . # out-of-tree build not possible due to xorg-server build below
-W no-dev
)
@@ -124,10 +126,9 @@ build() {
)
cd $pkgname
- CFLAGS+=" -L/usr/lib/fltk1.3"
cmake "${cmake_options[@]}"
cmake --build . --verboseI guess actually something in this patch fails to correctly patch the generation of the config script:
https://gitlab.archlinux.org/archlinux/ … type=heads
`fltk-config1.3 --libs` pointing to `/usr/lib/libfltk.so` is for sure wrong, since it doesn't provide that symlink
Last edited by stu (2026-01-23 22:54:09)
Offline
Please open an issue on Arch's gitlab instance against fltk1.3 if you want the config fixed and as issue against tiger-vnc for the missing viewer.
Offline
should be fixed https://gitlab.archlinux.org/archlinux/ … 0d5ce8a4af
please enter your credit card number and expiration date to continue this conversation
Offline
should be fixed https://gitlab.archlinux.org/archlinux/ … 0d5ce8a4af
I updated again, the vncviewer binary is available now.
Thank you everyone!
Offline