public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcl] f44: Add patch to generate pcl-2d.pc
@ 2026-06-25 5:49 Rich Mattes
0 siblings, 0 replies; only message in thread
From: Rich Mattes @ 2026-06-25 5:49 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pcl
Branch : f44
Commit : c362f4d2a10aea2904ff7dfe1bb2270f67766381
Author : Rich Mattes <richmattes@gmail.com>
Date : 2018-02-23T19:29:09-05:00
Stats : +29/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/pcl/c/c362f4d2a10aea2904ff7dfe1bb2270f67766381?branch=f44
Log:
Add patch to generate pcl-2d.pc
---
diff --git a/pcl-f26bd2.patch b/pcl-f26bd2.patch
new file mode 100644
index 0000000..2199fff
--- /dev/null
+++ b/pcl-f26bd2.patch
@@ -0,0 +1,23 @@
+From f26bd2f898b45cc24854031e3a13397f315c2099 Mon Sep 17 00:00:00 2001
+From: Sergey Alexandrov <alexandrov88@gmail.com>
+Date: Thu, 31 Aug 2017 11:59:19 +0200
+Subject: [PATCH] Generate pkgconfig for 2d module
+
+---
+ 2d/CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/2d/CMakeLists.txt b/2d/CMakeLists.txt
+index afaa998460..5a3db10408 100644
+--- a/2d/CMakeLists.txt
++++ b/2d/CMakeLists.txt
+@@ -35,6 +35,9 @@ if(build)
+
+ include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include" ${VTK_INCLUDE_DIRECTORIES})
+
++ set(LIB_NAME "pcl_${SUBSYS_NAME}")
++ PCL_MAKE_PKGCONFIG_HEADER_ONLY("${LIB_NAME}" "${SUBSYS_NAME}" "${SUBSYS_DESC}" "${SUBSYS_DEPS}" "" "" "" "")
++
+ #Install include files
+ PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}" ${incs})
+ PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}/impl" ${impl_incs})
diff --git a/pcl.spec b/pcl.spec
index 1d4450d..2806a55 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -24,6 +24,8 @@ Patch2: %{name}-1.8.1-fedora.patch
Patch3: %{name}-1.7.2-doxyfix.patch
#
Patch4: %{name}-1.8.1-gcc7.patch
+# Upstream commit to generate pcl-2d.pc
+Patch5: %{name}-f26bd2.patch
# For plain building
BuildRequires: cmake, gcc-c++, boost-devel
@@ -85,6 +87,7 @@ Library.
%patch2 -p0 -b .fedora
%patch3 -p0 -b .doxyfix
%patch4 -p0 -b .gcc7
+%patch5 -p1
# Just to make it obvious we're not using any of these
rm -fr recognition/include/pcl/recognition/3rdparty/metslib
rm -fr surface/src/3rdparty/opennurbs
@@ -188,6 +191,9 @@ ARGS='-V' make -C build test || true
%changelog
* Fri Feb 23 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.8.1-2
+- Add patch to generate pcl-2d.pc
+
+* Fri Feb 23 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.8.1-2
- Rebuild, minor spec cleanup
* Fri Feb 09 2018 Rich Mattes <richmattes@gmail.com> - 1.8.1-1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-25 5:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 5:49 [rpms/pcl] f44: Add patch to generate pcl-2d.pc Rich Mattes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox