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: Fix pkgconfig to require libopenni (rhbz#1177244)
Date: Thu, 25 Jun 2026 05:49:24 GMT	[thread overview]
Message-ID: <178236656469.1.18126016240422409498.rpms-pcl-f2cd95173025@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/pcl
Branch : f44
Commit : f2cd9517302586752bcf260552904d00543b4f42
Author : Rich Mattes <richmattes@gmail.com>
Date   : 2014-12-29T19:01:17-05:00
Stats  : +56/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/pcl/c/f2cd9517302586752bcf260552904d00543b4f42?branch=f44

Log:
Fix pkgconfig to require libopenni (rhbz#1177244)

---
diff --git a/pcl-1.7.2-fedora.patch b/pcl-1.7.2-fedora.patch
index c7a265b..9eb4142 100644
--- a/pcl-1.7.2-fedora.patch
+++ b/pcl-1.7.2-fedora.patch
@@ -1,7 +1,43 @@
+diff -up ./cmake/Modules/FindOpenNI.cmake.fedora ./cmake/Modules/FindOpenNI.cmake
+--- ./cmake/Modules/FindOpenNI.cmake.fedora	2014-12-29 18:12:59.205739334 -0500
++++ ./cmake/Modules/FindOpenNI.cmake	2014-12-29 18:16:37.424909703 -0500
+@@ -35,9 +35,9 @@ if(NOT WIN32)
+ endif(NOT WIN32)
+ 
+ if(${CMAKE_VERSION} VERSION_LESS 2.8.2)
+-  pkg_check_modules(PC_OPENNI openni-dev)
++  pkg_check_modules(PC_OPENNI libopenni)
+ else()
+-  pkg_check_modules(PC_OPENNI QUIET openni-dev)
++  pkg_check_modules(PC_OPENNI QUIET libopenni)
+ endif()
+ 
+ set(OPENNI_DEFINITIONS ${PC_OPENNI_CFLAGS_OTHER})
+diff -up ./io/CMakeLists.txt.fedora ./io/CMakeLists.txt
+--- ./io/CMakeLists.txt.fedora	2014-12-29 18:14:25.433288473 -0500
++++ ./io/CMakeLists.txt	2014-12-29 18:15:03.963664909 -0500
+@@ -329,7 +329,7 @@ if(build)
+     set(EXT_DEPS eigen3)
+ 
+     if(OPENNI_FOUND)
+-      list(APPEND EXT_DEPS openni-dev)
++      list(APPEND EXT_DEPS libopenni)
+     endif(OPENNI_FOUND)
+     if(OPENNI2_FOUND)
+       list(APPEND EXT_DEPS openni2-dev)
 diff -up ./PCLConfig.cmake.in.fedora ./PCLConfig.cmake.in
---- ./PCLConfig.cmake.in.fedora	2013-10-07 09:09:35.000000000 -0400
-+++ ./PCLConfig.cmake.in	2014-03-21 16:40:01.057216627 -0400
-@@ -490,8 +490,7 @@ if(WIN32 AND NOT MINGW)
+--- ./PCLConfig.cmake.in.fedora	2014-09-10 17:22:57.000000000 -0400
++++ ./PCLConfig.cmake.in	2014-12-29 18:14:06.106814594 -0500
+@@ -182,7 +182,7 @@ macro(find_openni)
+   endif(NOT OPENNI_ROOT AND ("@HAVE_OPENNI@" STREQUAL "ON"))
+ 
+   if(PKG_CONFIG_FOUND)
+-    pkg_check_modules(PC_OPENNI openni-dev)
++    pkg_check_modules(PC_OPENNI libopenni)
+   endif(PKG_CONFIG_FOUND)
+   find_path(OPENNI_INCLUDE_DIRS XnStatus.h
+     HINTS ${PC_OPENNI_INCLUDEDIR} ${PC_OPENNI_INCLUDE_DIRS} 
+@@ -531,8 +531,7 @@ if(WIN32 AND NOT MINGW)
    get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
  else(WIN32 AND NOT MINGW)
  # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
@@ -11,3 +47,16 @@ diff -up ./PCLConfig.cmake.in.fedora ./PCLConfig.cmake.in
  endif(WIN32 AND NOT MINGW)
  
  # check whether PCLConfig.cmake is found into a PCL installation or in a build tree
+diff -up ./pcl_config.h.in.fedora ./pcl_config.h.in
+diff -up ./visualization/CMakeLists.txt.fedora ./visualization/CMakeLists.txt
+--- ./visualization/CMakeLists.txt.fedora	2014-12-29 18:15:14.229022646 -0500
++++ ./visualization/CMakeLists.txt	2014-12-29 18:15:24.876393695 -0500
+@@ -154,7 +154,7 @@ if(build)
+ 
+     set(EXT_DEPS "")
+     if(OPENNI_FOUND)
+-      list(APPEND EXT_DEPS openni-dev)
++      list(APPEND EXT_DEPS libopenni)
+     endif(OPENNI_FOUND)
+ 	if(OPENNI2_FOUND)
+       list(APPEND EXT_DEPS openni2-dev)

diff --git a/pcl.spec b/pcl.spec
index 1b84f50..cae40f8 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -4,7 +4,7 @@
 
 Name:           pcl
 Version:        1.7.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Library for point cloud processing
 
 Group:          System Environment/Libraries
@@ -185,6 +185,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/%{name}-*/*.cmake $RPM_BUILD_ROOT%{_libdir}/cmake/
 %doc build/doc/advanced/advanced
 
 %changelog
+* Mon Dec 29 2014 Rich Mattes <richmattes@gmail.com> - 1.7.2-2
+- Fix pkgconfig to require libopenni (rhbz#1177244)
+
 * Tue Dec 16 2014 Rich Mattes <richmattes@gmail.com> - 1.7.2-1
 - Update to release 1.7.2
 

                 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=178236656469.1.18126016240422409498.rpms-pcl-f2cd95173025@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