[pcl] disable doxygen latex generation

rmattes rmattes at fedoraproject.org
Tue Dec 30 15:26:20 UTC 2014


commit bfa081c88df51c2849a49a3f634a675ac8a516e5
Author: Rich Mattes <richmattes at gmail.com>
Date:   Tue Dec 30 10:26:22 2014 -0500

    disable doxygen latex generation

 pcl-1.7.2-doxyfix.patch |   13 +++++++++++--
 pcl.spec                |    6 +-----
 2 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/pcl-1.7.2-doxyfix.patch b/pcl-1.7.2-doxyfix.patch
index 91e0e69..7cb3c25 100644
--- a/pcl-1.7.2-doxyfix.patch
+++ b/pcl-1.7.2-doxyfix.patch
@@ -1,6 +1,6 @@
 diff -up ./doc/doxygen/doxyfile.in.doxyfix ./doc/doxygen/doxyfile.in
---- ./doc/doxygen/doxyfile.in.doxyfix	2014-12-19 12:40:58.513635548 -0500
-+++ ./doc/doxygen/doxyfile.in	2014-12-19 12:41:51.087184760 -0500
+--- ./doc/doxygen/doxyfile.in.doxyfix	2014-09-10 17:22:57.000000000 -0400
++++ ./doc/doxygen/doxyfile.in	2014-12-30 09:42:18.781365257 -0500
 @@ -118,6 +118,7 @@ EXCLUDE                = "@PCL_SOURCE_DI
                           "@PCL_SOURCE_DIR@/test" \
                           "@PCL_SOURCE_DIR@/android" \
@@ -9,3 +9,12 @@ diff -up ./doc/doxygen/doxyfile.in.doxyfix ./doc/doxygen/doxyfile.in
                           "@PCL_SOURCE_DIR@/tools" \
                           "@PCL_SOURCE_DIR@/surface/include/pcl/surface/poisson" \
                           "@PCL_SOURCE_DIR@/surface/include/pcl/surface/impl/poisson" \
+@@ -209,7 +210,7 @@ SERVER_BASED_SEARCH    = YES
+ #---------------------------------------------------------------------------
+ # configuration options related to the LaTeX output
+ #---------------------------------------------------------------------------
+-GENERATE_LATEX         = YES
++GENERATE_LATEX         = NO 
+ LATEX_OUTPUT           = latex
+ LATEX_CMD_NAME         = latex
+ MAKEINDEX_CMD_NAME     = makeindex
diff --git a/pcl.spec b/pcl.spec
index cae40f8..0959a76 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -24,11 +24,6 @@ Patch3:         %{name}-1.7.2-doxyfix.patch
 BuildRequires:  cmake, gcc-c++, boost-devel
 # Documentation
 BuildRequires:  doxygen, graphviz, python-sphinx
-%if ! 0%{?rhel} || 0%{?rhel} >= 6
-BuildRequires:  texlive-latex
-%else
-BuildRequires:  tetex-latex
-%endif
 
 # mandatory
 BuildRequires:  eigen3-static, flann-devel, cminpack-devel, vtk-devel, gl2ps-devel, hdf5-devel, python-devel, libxml2-devel, metslib-static, netcdf-cxx-devel, jsoncpp-devel
@@ -187,6 +182,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/%{name}-*/*.cmake $RPM_BUILD_ROOT%{_libdir}/cmake/
 %changelog
 * Mon Dec 29 2014 Rich Mattes <richmattes at gmail.com> - 1.7.2-2
 - Fix pkgconfig to require libopenni (rhbz#1177244)
+- Disable latex doxygen documentation
 
 * Tue Dec 16 2014 Rich Mattes <richmattes at gmail.com> - 1.7.2-1
 - Update to release 1.7.2


More information about the scm-commits mailing list