public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcl] f44: Change BuildRequires to eigen3-static and add patch for ARM support
@ 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 : 461824d2301296a46b302f4018f39c3beb5b4ccd
Author : Rich Mattes <richmattes@gmail.com>
Date : 2013-06-29T15:38:45-04:00
Stats : +34/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/pcl/c/461824d2301296a46b302f4018f39c3beb5b4ccd?branch=f44
Log:
Change BuildRequires to eigen3-static and add patch for ARM support
---
diff --git a/pcl-1.6.0-arm.patch b/pcl-1.6.0-arm.patch
new file mode 100644
index 0000000..ca30ff8
--- /dev/null
+++ b/pcl-1.6.0-arm.patch
@@ -0,0 +1,24 @@
+diff -up ./common/include/sensor_msgs/PointCloud2.h.arm ./common/include/sensor_msgs/PointCloud2.h
+--- ./common/include/sensor_msgs/PointCloud2.h.arm 2012-07-17 19:11:32.000000000 -0400
++++ ./common/include/sensor_msgs/PointCloud2.h 2013-03-22 22:01:11.817684640 -0400
+@@ -15,7 +15,7 @@ namespace sensor_msgs
+ # define PCL_BIG_ENDIAN
+ #elif (defined(i386) || defined(__i386__) || defined(__i386) || defined(_M_IX86) || defined(_X86_) || defined(__THW_INTEL__) || defined(__I86__) || defined(__INTEL__)) \
+ || (defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) || defined(_M_X64)) \
+- || (defined(__ANDROID__))
++ || (defined(__ANDROID__) || defined(__arm__) || defined (__aarch64__))
+ # define PCL_LITTLE_ENDIAN
+ #else
+ # error
+diff -up ./io/include/pcl/io/ply/byte_order.h.arm ./io/include/pcl/io/ply/byte_order.h
+--- ./io/include/pcl/io/ply/byte_order.h.arm 2012-07-17 19:11:32.000000000 -0400
++++ ./io/include/pcl/io/ply/byte_order.h 2013-03-22 22:01:11.817684640 -0400
+@@ -59,7 +59,7 @@ namespace pcl
+ #if (defined (__powerpc) || defined (__powerpc__) || defined (__POWERPC__) || defined (__ppc__) || defined (_M_PPC) || defined (__ARCH_PPC))
+ # define PLY_BIG_ENDIAN
+ #elif (defined (i386) || defined (__i386__) || defined (__i386) || defined (_M_IX86) || defined (_X86_) || defined (__THW_INTEL__) || defined (__I86__) || defined (__INTEL__)) \
+- || (defined (__amd64__) || defined (__amd64) || defined (__x86_64__) || defined (__x86_64) || defined (_M_X64) || defined (ANDROID))
++ || (defined (__amd64__) || defined (__amd64) || defined (__x86_64__) || defined (__x86_64) || defined (_M_X64) || defined (ANDROID) || defined (__arm__) || defined (__aarch64__))
+ # define PLY_LITTLE_ENDIAN
+ #else
+ # error
diff --git a/pcl.spec b/pcl.spec
index 3106ac3..e6e796e 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -1,6 +1,6 @@
Name: pcl
Version: 1.6.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Library for point cloud processing
Group: System Environment/Libraries
@@ -9,6 +9,7 @@ URL: http://pointclouds.org/
Source0: http://www.pointclouds.org/assets/files/1.6.0/PCL-1.6.0-Source.tar.bz2
Patch0: PCL-1.4.0-Source-fedora.patch
Patch1: pcl-1.6.0-boost153.patch
+Patch2: pcl-1.6.0-arm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# For plain building
@@ -22,7 +23,7 @@ BuildRequires: tetex-latex
%endif
# mandatory
-BuildRequires: eigen3-devel, flann-devel, cminpack-devel, vtk-devel, gl2ps-devel
+BuildRequires: eigen3-static, flann-devel, cminpack-devel, vtk-devel, gl2ps-devel
# optional
BuildRequires: qhull-devel, libusb1-devel, gtest-devel qtwebkit-devel
%ifarch %{ix86} x86_64
@@ -78,7 +79,7 @@ Library.
%setup -q -n PCL-%{version}-Source
%patch0 -p2 -b .fedora
%patch1 -p0 -b .boost153
-
+%patch2 -p0 -b .arm
# Just to make it obvious we're not using any of these
rm -rf 3rdparty
@@ -97,7 +98,7 @@ pushd build
# Don't use mflags, we're hitting out of memory errors on the koji builders
make
-make -j 2
+make -j 4
#%{?_smp_mflags}
make doc
popd
@@ -193,6 +194,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Jun 29 2013 Rich Mattes <richmattes@gmail.com> - 1.6.0-5
+- Rebuild for new eigen3
+- Change eigen3 BR to -static
+- Add ARM support
+
* Fri Mar 08 2013 Karsten Hopp <karsten@redhat.com> 1.6.0-4
- more fixes for archs without openni
^ 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: Change BuildRequires to eigen3-static and add patch for ARM support Rich Mattes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox