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: Change BuildRequires to eigen3-static and add patch for ARM support
Date: Thu, 25 Jun 2026 05:49:11 GMT [thread overview]
Message-ID: <178236655162.1.5783711874426679954.rpms-pcl-461824d23012@fedoraproject.org> (raw)
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
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=178236655162.1.5783711874426679954.rpms-pcl-461824d23012@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