public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rich Mattes <richmattes@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/pcl] f44: Add patch to generate pcl-2d.pc
Date: Thu, 25 Jun 2026 05:49:42 GMT	[thread overview]
Message-ID: <178236658294.1.13366202918453503061.rpms-pcl-c362f4d2a10a@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-06-25  5:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178236658294.1.13366202918453503061.rpms-pcl-c362f4d2a10a@fedoraproject.org \
    --to=richmattes@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox