Control: tags 1140936 + patch
Control: tags 1140936 + pending

Dear maintainer,

I've prepared an NMU for pcl (versioned as 1.15.1+dfsg-2.1) and uploaded 
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for pcl-1.15.1+dfsg pcl-1.15.1+dfsg

 changelog                                        |    8 ++++++
 control                                          |    1 
 patches/0001-Add-x11-on-linux-when-vtk-9.6.patch |   28 +++++++++++++++++++++++
 patches/series                                   |    1 
 4 files changed, 38 insertions(+)

diff -Nru pcl-1.15.1+dfsg/debian/changelog pcl-1.15.1+dfsg/debian/changelog
--- pcl-1.15.1+dfsg/debian/changelog	2026-03-31 09:38:17.000000000 +0300
+++ pcl-1.15.1+dfsg/debian/changelog	2026-07-17 12:04:54.000000000 +0300
@@ -1,3 +1,11 @@
+pcl (1.15.1+dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with vtk 9.6, thanks to
+    Drew Parsons. (Closes: #1140936)
+
+ -- Adrian Bunk <[email protected]>  Fri, 17 Jul 2026 12:04:54 +0300
+
 pcl (1.15.1+dfsg-2) unstable; urgency=medium
 
   * Compile with gcc on armhf (Closes: #1132128)
diff -Nru pcl-1.15.1+dfsg/debian/control pcl-1.15.1+dfsg/debian/control
--- pcl-1.15.1+dfsg/debian/control	2026-03-31 09:38:17.000000000 +0300
+++ pcl-1.15.1+dfsg/debian/control	2026-07-17 12:04:16.000000000 +0300
@@ -22,6 +22,7 @@
 	       libxi-dev,
 	       libpcap-dev,
 	       libvtk9-qt-dev,
+               libx11-dev,
 	       libglew-dev,
 	       libgtest-dev,
 Build-Depends-Indep: doxygen,
diff -Nru pcl-1.15.1+dfsg/debian/patches/0001-Add-x11-on-linux-when-vtk-9.6.patch pcl-1.15.1+dfsg/debian/patches/0001-Add-x11-on-linux-when-vtk-9.6.patch
--- pcl-1.15.1+dfsg/debian/patches/0001-Add-x11-on-linux-when-vtk-9.6.patch	1970-01-01 02:00:00.000000000 +0200
+++ pcl-1.15.1+dfsg/debian/patches/0001-Add-x11-on-linux-when-vtk-9.6.patch	2026-07-17 12:04:26.000000000 +0300
@@ -0,0 +1,28 @@
+From 899696e2e15ee3d162186b595cb642ea9b8df0ff Mon Sep 17 00:00:00 2001
+From: Daeho Ro <[email protected]>
+Date: Thu, 30 Apr 2026 19:13:45 +0900
+Subject: Add x11 on linux when vtk 9.6+
+
+---
+ visualization/CMakeLists.txt | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/visualization/CMakeLists.txt b/visualization/CMakeLists.txt
+index 6e6ce0c7d..f8a0ded6b 100644
+--- a/visualization/CMakeLists.txt
++++ b/visualization/CMakeLists.txt
+@@ -140,6 +140,11 @@ endif()
+ 
+ target_link_libraries("${LIB_NAME}" pcl_common pcl_io pcl_kdtree pcl_geometry pcl_search ${OPENGL_LIBRARIES})
+ 
++if(${VTK_VERSION} VERSION_GREATER_EQUAL 9.6 AND UNIX AND NOT ANDROID AND NOT APPLE AND NOT APPLE_IOS)
++  find_package(X11 REQUIRED)
++  target_link_libraries("${LIB_NAME}" ${X11_LIBRARIES})
++endif()
++
+ if(${VTK_VERSION} VERSION_GREATER_EQUAL 9.0)
+   #Some libs are referenced through depending on IO
+   target_link_libraries("${LIB_NAME}"
+-- 
+2.47.3
+
diff -Nru pcl-1.15.1+dfsg/debian/patches/series pcl-1.15.1+dfsg/debian/patches/series
--- pcl-1.15.1+dfsg/debian/patches/series	2026-03-31 09:38:17.000000000 +0300
+++ pcl-1.15.1+dfsg/debian/patches/series	2026-07-17 12:04:54.000000000 +0300
@@ -2,3 +2,4 @@
 0003-Use-newly-build-libs-when-testing.patch
 0004-Work-around-test-failing-on-i386.patch
 0004-Boost-1.90-compatibility.patch
+0001-Add-x11-on-linux-when-vtk-9.6.patch

Reply via email to